Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
- Service Configuration
- OAuth Scopes
- API Declaration
- Resources
- monitoring.projects.alertPolicies.create
- monitoring.projects.alertPolicies.delete
- monitoring.projects.alertPolicies.get
- monitoring.projects.alertPolicies.list
- monitoring.projects.alertPolicies.patch
- monitoring.projects.collectdTimeSeries.create
- monitoring.projects.groups.create
- monitoring.projects.groups.delete
- monitoring.projects.groups.get
- monitoring.projects.groups.list
- monitoring.projects.groups.members.list
- monitoring.projects.groups.update
- monitoring.projects.metricDescriptors.create
- monitoring.projects.metricDescriptors.delete
- monitoring.projects.metricDescriptors.get
- monitoring.projects.metricDescriptors.list
- monitoring.projects.monitoredResourceDescriptors.get
- monitoring.projects.monitoredResourceDescriptors.list
- monitoring.projects.notificationChannelDescriptors.get
- monitoring.projects.notificationChannelDescriptors.list
- monitoring.projects.notificationChannels.create
- monitoring.projects.notificationChannels.delete
- monitoring.projects.notificationChannels.get
- monitoring.projects.notificationChannels.getVerificationCode
- monitoring.projects.notificationChannels.list
- monitoring.projects.notificationChannels.patch
- monitoring.projects.notificationChannels.sendVerificationCode
- monitoring.projects.notificationChannels.verify
- monitoring.projects.timeSeries.create
- monitoring.projects.timeSeries.list
- monitoring.projects.uptimeCheckConfigs.create
- monitoring.projects.uptimeCheckConfigs.delete
- monitoring.projects.uptimeCheckConfigs.get
- monitoring.projects.uptimeCheckConfigs.list
- monitoring.projects.uptimeCheckConfigs.patch
- monitoring.uptimeCheckIps.list
- Types
- MetricDescriptorValueType
- MonitoredResourceDescriptor
- CollectdValueDataSourceType
- Status
- ListNotificationChannelsResponse
- ListTimeSeriesResponse
- GetNotificationChannelVerificationCodeResponse
- ListNotificationChannelDescriptorsResponse
- UptimeCheckIPRegion
- MetricDescriptor
- Group
- TypedValue
- MonitoredResourceLabels
- MonitoredResourceMetadata
- NotificationChannelUserLabels
- SourceContext
- BasicAuthentication
- Distribution
- MetricThresholdComparison
- AggregationPerSeriesAligner
- Field
- FieldKind
- ExemplarAttachmentsItem
- NotificationChannelDescriptor
- Empty
- ListGroupsResponse
- ListMetricDescriptorsResponse
- VerifyNotificationChannelRequest
- OptionValue
- AggregationCrossSeriesReducer
- NotificationChannelLabels
- MetricDescriptorMetadataLaunchStage
- CreateTimeSeriesRequest
- DroppedLabelsLabel
- MetricThreshold
- SpanContext
- StatusDetailsItem
- NotificationChannelVerificationStatus
- MonitoredResourceMetadataUserLabels
- InternalChecker
- NotificationChannel
- ListMonitoredResourceDescriptorsResponse
- LabelDescriptorValueType
- Explicit
- MetricLabels
- CollectdPayloadMetadata
- CollectdValue
- CreateCollectdTimeSeriesRequest
- TypeSyntax
- Aggregation
- UptimeCheckConfig
- Point
- CollectdPayload
- MutationRecord
- Metric
- CollectdPayloadError
- SendNotificationChannelVerificationCodeRequest
- Exponential
- ResourceGroupResourceType
- Range
- MonitoredResource
- UptimeCheckIP
- AlertPolicyUserLabels
- Documentation
- Xgafv
- Exemplar
- MetricDescriptorMetadata
- TimeInterval
- HTTPCheckHeaders
- TimeSeriesMetricKind
- MonitoredResourceMetadataSystemLabels
- ContentMatcher
- ListGroupMembersResponse
- LabelDescriptor
- TimeSeriesValueType
- Linear
- AlertPolicyCombiner
- ListUptimeCheckIPsResponse
- GetNotificationChannelVerificationCodeRequest
- ResourceGroup
- DroppedLabels
- FieldCardinality
- Trigger
- Type
- MetricDescriptorMetricKind
- CreateCollectdTimeSeriesResponse
- Option
- Condition
- BucketOptions
- ListUptimeCheckConfigsResponse
- HTTPCheck
- TimeSeries
- AlertPolicy
- ListAlertPoliciesResponse
- TCPCheck
- InternalCheckerState
- MetricAbsence
- CollectdValueError
Manages your Stackdriver Monitoring data and configurations. Most projects must be associated with a Stackdriver account, with a few exceptions as noted on the individual method pages.
Synopsis
- monitoringService :: ServiceConfig
- monitoringReadScope :: Proxy '["https://www.googleapis.com/auth/monitoring.read"]
- cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"]
- monitoringScope :: Proxy '["https://www.googleapis.com/auth/monitoring"]
- monitoringWriteScope :: Proxy '["https://www.googleapis.com/auth/monitoring.write"]
- type MonitoringAPI = UptimeCheckIPsListResource :<|> (ProjectsMetricDescriptorsListResource :<|> (ProjectsMetricDescriptorsGetResource :<|> (ProjectsMetricDescriptorsCreateResource :<|> (ProjectsMetricDescriptorsDeleteResource :<|> (ProjectsGroupsMembersListResource :<|> (ProjectsGroupsListResource :<|> (ProjectsGroupsGetResource :<|> (ProjectsGroupsCreateResource :<|> (ProjectsGroupsDeleteResource :<|> (ProjectsGroupsUpdateResource :<|> (ProjectsCollectdTimeSeriesCreateResource :<|> (ProjectsUptimeCheckConfigsListResource :<|> (ProjectsUptimeCheckConfigsPatchResource :<|> (ProjectsUptimeCheckConfigsGetResource :<|> (ProjectsUptimeCheckConfigsCreateResource :<|> (ProjectsUptimeCheckConfigsDeleteResource :<|> (ProjectsNotificationChannelsVerifyResource :<|> (ProjectsNotificationChannelsListResource :<|> (ProjectsNotificationChannelsPatchResource :<|> (ProjectsNotificationChannelsGetResource :<|> (ProjectsNotificationChannelsCreateResource :<|> (ProjectsNotificationChannelsGetVerificationCodeResource :<|> (ProjectsNotificationChannelsSendVerificationCodeResource :<|> (ProjectsNotificationChannelsDeleteResource :<|> (ProjectsMonitoredResourceDescriptorsListResource :<|> (ProjectsMonitoredResourceDescriptorsGetResource :<|> (ProjectsAlertPoliciesListResource :<|> (ProjectsAlertPoliciesPatchResource :<|> (ProjectsAlertPoliciesGetResource :<|> (ProjectsAlertPoliciesCreateResource :<|> (ProjectsAlertPoliciesDeleteResource :<|> (ProjectsNotificationChannelDescriptorsListResource :<|> (ProjectsNotificationChannelDescriptorsGetResource :<|> (ProjectsTimeSeriesListResource :<|> ProjectsTimeSeriesCreateResource))))))))))))))))))))))))))))))))))
- module Network.Google.Resource.Monitoring.Projects.AlertPolicies.Create
- module Network.Google.Resource.Monitoring.Projects.AlertPolicies.Delete
- module Network.Google.Resource.Monitoring.Projects.AlertPolicies.Get
- module Network.Google.Resource.Monitoring.Projects.AlertPolicies.List
- module Network.Google.Resource.Monitoring.Projects.AlertPolicies.Patch
- module Network.Google.Resource.Monitoring.Projects.CollectdTimeSeries.Create
- module Network.Google.Resource.Monitoring.Projects.Groups.Create
- module Network.Google.Resource.Monitoring.Projects.Groups.Delete
- module Network.Google.Resource.Monitoring.Projects.Groups.Get
- module Network.Google.Resource.Monitoring.Projects.Groups.List
- module Network.Google.Resource.Monitoring.Projects.Groups.Members.List
- module Network.Google.Resource.Monitoring.Projects.Groups.Update
- module Network.Google.Resource.Monitoring.Projects.MetricDescriptors.Create
- module Network.Google.Resource.Monitoring.Projects.MetricDescriptors.Delete
- module Network.Google.Resource.Monitoring.Projects.MetricDescriptors.Get
- module Network.Google.Resource.Monitoring.Projects.MetricDescriptors.List
- module Network.Google.Resource.Monitoring.Projects.MonitoredResourceDescriptors.Get
- module Network.Google.Resource.Monitoring.Projects.MonitoredResourceDescriptors.List
- module Network.Google.Resource.Monitoring.Projects.NotificationChannelDescriptors.Get
- module Network.Google.Resource.Monitoring.Projects.NotificationChannelDescriptors.List
- module Network.Google.Resource.Monitoring.Projects.NotificationChannels.Create
- module Network.Google.Resource.Monitoring.Projects.NotificationChannels.Delete
- module Network.Google.Resource.Monitoring.Projects.NotificationChannels.Get
- module Network.Google.Resource.Monitoring.Projects.NotificationChannels.GetVerificationCode
- module Network.Google.Resource.Monitoring.Projects.NotificationChannels.List
- module Network.Google.Resource.Monitoring.Projects.NotificationChannels.Patch
- module Network.Google.Resource.Monitoring.Projects.NotificationChannels.SendVerificationCode
- module Network.Google.Resource.Monitoring.Projects.NotificationChannels.Verify
- module Network.Google.Resource.Monitoring.Projects.TimeSeries.Create
- module Network.Google.Resource.Monitoring.Projects.TimeSeries.List
- module Network.Google.Resource.Monitoring.Projects.UptimeCheckConfigs.Create
- module Network.Google.Resource.Monitoring.Projects.UptimeCheckConfigs.Delete
- module Network.Google.Resource.Monitoring.Projects.UptimeCheckConfigs.Get
- module Network.Google.Resource.Monitoring.Projects.UptimeCheckConfigs.List
- module Network.Google.Resource.Monitoring.Projects.UptimeCheckConfigs.Patch
- module Network.Google.Resource.Monitoring.UptimeCheckIPs.List
- data MetricDescriptorValueType
- data MonitoredResourceDescriptor
- monitoredResourceDescriptor :: MonitoredResourceDescriptor
- mrdName :: Lens' MonitoredResourceDescriptor (Maybe Text)
- mrdDisplayName :: Lens' MonitoredResourceDescriptor (Maybe Text)
- mrdLabels :: Lens' MonitoredResourceDescriptor [LabelDescriptor]
- mrdType :: Lens' MonitoredResourceDescriptor (Maybe Text)
- mrdDescription :: Lens' MonitoredResourceDescriptor (Maybe Text)
- data CollectdValueDataSourceType
- data Status
- status :: Status
- sDetails :: Lens' Status [StatusDetailsItem]
- sCode :: Lens' Status (Maybe Int32)
- sMessage :: Lens' Status (Maybe Text)
- data ListNotificationChannelsResponse
- listNotificationChannelsResponse :: ListNotificationChannelsResponse
- lncrNextPageToken :: Lens' ListNotificationChannelsResponse (Maybe Text)
- lncrNotificationChannels :: Lens' ListNotificationChannelsResponse [NotificationChannel]
- data ListTimeSeriesResponse
- listTimeSeriesResponse :: ListTimeSeriesResponse
- ltsrNextPageToken :: Lens' ListTimeSeriesResponse (Maybe Text)
- ltsrExecutionErrors :: Lens' ListTimeSeriesResponse [Status]
- ltsrTimeSeries :: Lens' ListTimeSeriesResponse [TimeSeries]
- data GetNotificationChannelVerificationCodeResponse
- getNotificationChannelVerificationCodeResponse :: GetNotificationChannelVerificationCodeResponse
- gncvcrCode :: Lens' GetNotificationChannelVerificationCodeResponse (Maybe Text)
- gncvcrExpireTime :: Lens' GetNotificationChannelVerificationCodeResponse (Maybe UTCTime)
- data ListNotificationChannelDescriptorsResponse
- listNotificationChannelDescriptorsResponse :: ListNotificationChannelDescriptorsResponse
- lncdrNextPageToken :: Lens' ListNotificationChannelDescriptorsResponse (Maybe Text)
- lncdrChannelDescriptors :: Lens' ListNotificationChannelDescriptorsResponse [NotificationChannelDescriptor]
- data UptimeCheckIPRegion
- data MetricDescriptor
- metricDescriptor :: MetricDescriptor
- mdMetricKind :: Lens' MetricDescriptor (Maybe MetricDescriptorMetricKind)
- mdName :: Lens' MetricDescriptor (Maybe Text)
- mdMetadata :: Lens' MetricDescriptor (Maybe MetricDescriptorMetadata)
- mdDisplayName :: Lens' MetricDescriptor (Maybe Text)
- mdLabels :: Lens' MetricDescriptor [LabelDescriptor]
- mdType :: Lens' MetricDescriptor (Maybe Text)
- mdValueType :: Lens' MetricDescriptor (Maybe MetricDescriptorValueType)
- mdDescription :: Lens' MetricDescriptor (Maybe Text)
- mdUnit :: Lens' MetricDescriptor (Maybe Text)
- data Group
- group' :: Group
- gName :: Lens' Group (Maybe Text)
- gDisplayName :: Lens' Group (Maybe Text)
- gFilter :: Lens' Group (Maybe Text)
- gIsCluster :: Lens' Group (Maybe Bool)
- gParentName :: Lens' Group (Maybe Text)
- data TypedValue
- typedValue :: TypedValue
- tvBoolValue :: Lens' TypedValue (Maybe Bool)
- tvDoubleValue :: Lens' TypedValue (Maybe Double)
- tvStringValue :: Lens' TypedValue (Maybe Text)
- tvDistributionValue :: Lens' TypedValue (Maybe Distribution)
- tvInt64Value :: Lens' TypedValue (Maybe Int64)
- data MonitoredResourceLabels
- monitoredResourceLabels :: HashMap Text Text -> MonitoredResourceLabels
- mrlAddtional :: Lens' MonitoredResourceLabels (HashMap Text Text)
- data MonitoredResourceMetadata
- monitoredResourceMetadata :: MonitoredResourceMetadata
- mrmUserLabels :: Lens' MonitoredResourceMetadata (Maybe MonitoredResourceMetadataUserLabels)
- mrmSystemLabels :: Lens' MonitoredResourceMetadata (Maybe MonitoredResourceMetadataSystemLabels)
- data NotificationChannelUserLabels
- notificationChannelUserLabels :: HashMap Text Text -> NotificationChannelUserLabels
- nculAddtional :: Lens' NotificationChannelUserLabels (HashMap Text Text)
- data SourceContext
- sourceContext :: SourceContext
- scFileName :: Lens' SourceContext (Maybe Text)
- data BasicAuthentication
- basicAuthentication :: BasicAuthentication
- baUsername :: Lens' BasicAuthentication (Maybe Text)
- baPassword :: Lens' BasicAuthentication (Maybe Text)
- data Distribution
- distribution :: Distribution
- dSumOfSquaredDeviation :: Lens' Distribution (Maybe Double)
- dMean :: Lens' Distribution (Maybe Double)
- dCount :: Lens' Distribution (Maybe Int64)
- dBucketCounts :: Lens' Distribution [Int64]
- dExemplars :: Lens' Distribution [Exemplar]
- dRange :: Lens' Distribution (Maybe Range)
- dBucketOptions :: Lens' Distribution (Maybe BucketOptions)
- data MetricThresholdComparison
- data AggregationPerSeriesAligner
- data Field
- field :: Field
- fKind :: Lens' Field (Maybe FieldKind)
- fOneofIndex :: Lens' Field (Maybe Int32)
- fName :: Lens' Field (Maybe Text)
- fJSONName :: Lens' Field (Maybe Text)
- fCardinality :: Lens' Field (Maybe FieldCardinality)
- fOptions :: Lens' Field [Option]
- fPacked :: Lens' Field (Maybe Bool)
- fDefaultValue :: Lens' Field (Maybe Text)
- fNumber :: Lens' Field (Maybe Int32)
- fTypeURL :: Lens' Field (Maybe Text)
- data FieldKind
- data ExemplarAttachmentsItem
- exemplarAttachmentsItem :: HashMap Text JSONValue -> ExemplarAttachmentsItem
- eaiAddtional :: Lens' ExemplarAttachmentsItem (HashMap Text JSONValue)
- data NotificationChannelDescriptor
- notificationChannelDescriptor :: NotificationChannelDescriptor
- ncdName :: Lens' NotificationChannelDescriptor (Maybe Text)
- ncdSupportedTiers :: Lens' NotificationChannelDescriptor [Text]
- ncdDisplayName :: Lens' NotificationChannelDescriptor (Maybe Text)
- ncdLabels :: Lens' NotificationChannelDescriptor [LabelDescriptor]
- ncdType :: Lens' NotificationChannelDescriptor (Maybe Text)
- ncdDescription :: Lens' NotificationChannelDescriptor (Maybe Text)
- data Empty
- empty :: Empty
- data ListGroupsResponse
- listGroupsResponse :: ListGroupsResponse
- lgrNextPageToken :: Lens' ListGroupsResponse (Maybe Text)
- lgrGroup :: Lens' ListGroupsResponse [Group]
- data ListMetricDescriptorsResponse
- listMetricDescriptorsResponse :: ListMetricDescriptorsResponse
- lmdrMetricDescriptors :: Lens' ListMetricDescriptorsResponse [MetricDescriptor]
- lmdrNextPageToken :: Lens' ListMetricDescriptorsResponse (Maybe Text)
- data VerifyNotificationChannelRequest
- verifyNotificationChannelRequest :: VerifyNotificationChannelRequest
- vncrCode :: Lens' VerifyNotificationChannelRequest (Maybe Text)
- data OptionValue
- optionValue :: HashMap Text JSONValue -> OptionValue
- ovAddtional :: Lens' OptionValue (HashMap Text JSONValue)
- data AggregationCrossSeriesReducer
- data NotificationChannelLabels
- notificationChannelLabels :: HashMap Text Text -> NotificationChannelLabels
- nclAddtional :: Lens' NotificationChannelLabels (HashMap Text Text)
- data MetricDescriptorMetadataLaunchStage
- data CreateTimeSeriesRequest
- createTimeSeriesRequest :: CreateTimeSeriesRequest
- ctsrTimeSeries :: Lens' CreateTimeSeriesRequest [TimeSeries]
- data DroppedLabelsLabel
- droppedLabelsLabel :: HashMap Text Text -> DroppedLabelsLabel
- dllAddtional :: Lens' DroppedLabelsLabel (HashMap Text Text)
- data MetricThreshold
- metricThreshold :: MetricThreshold
- mtThresholdValue :: Lens' MetricThreshold (Maybe Double)
- mtAggregations :: Lens' MetricThreshold [Aggregation]
- mtDenominatorAggregations :: Lens' MetricThreshold [Aggregation]
- mtComparison :: Lens' MetricThreshold (Maybe MetricThresholdComparison)
- mtDenominatorFilter :: Lens' MetricThreshold (Maybe Text)
- mtFilter :: Lens' MetricThreshold (Maybe Text)
- mtTrigger :: Lens' MetricThreshold (Maybe Trigger)
- mtDuration :: Lens' MetricThreshold (Maybe Scientific)
- data SpanContext
- spanContext :: SpanContext
- scSpanName :: Lens' SpanContext (Maybe Text)
- data StatusDetailsItem
- statusDetailsItem :: HashMap Text JSONValue -> StatusDetailsItem
- sdiAddtional :: Lens' StatusDetailsItem (HashMap Text JSONValue)
- data NotificationChannelVerificationStatus
- data MonitoredResourceMetadataUserLabels
- monitoredResourceMetadataUserLabels :: HashMap Text Text -> MonitoredResourceMetadataUserLabels
- mrmulAddtional :: Lens' MonitoredResourceMetadataUserLabels (HashMap Text Text)
- data InternalChecker
- internalChecker :: InternalChecker
- icState :: Lens' InternalChecker (Maybe InternalCheckerState)
- icNetwork :: Lens' InternalChecker (Maybe Text)
- icName :: Lens' InternalChecker (Maybe Text)
- icPeerProjectId :: Lens' InternalChecker (Maybe Text)
- icGcpZone :: Lens' InternalChecker (Maybe Text)
- icDisplayName :: Lens' InternalChecker (Maybe Text)
- data NotificationChannel
- notificationChannel :: NotificationChannel
- ncEnabled :: Lens' NotificationChannel (Maybe Bool)
- ncUserLabels :: Lens' NotificationChannel (Maybe NotificationChannelUserLabels)
- ncName :: Lens' NotificationChannel (Maybe Text)
- ncDisplayName :: Lens' NotificationChannel (Maybe Text)
- ncVerificationStatus :: Lens' NotificationChannel (Maybe NotificationChannelVerificationStatus)
- ncLabels :: Lens' NotificationChannel (Maybe NotificationChannelLabels)
- ncType :: Lens' NotificationChannel (Maybe Text)
- ncDescription :: Lens' NotificationChannel (Maybe Text)
- data ListMonitoredResourceDescriptorsResponse
- listMonitoredResourceDescriptorsResponse :: ListMonitoredResourceDescriptorsResponse
- lmrdrNextPageToken :: Lens' ListMonitoredResourceDescriptorsResponse (Maybe Text)
- lmrdrResourceDescriptors :: Lens' ListMonitoredResourceDescriptorsResponse [MonitoredResourceDescriptor]
- data LabelDescriptorValueType
- data Explicit
- explicit :: Explicit
- eBounds :: Lens' Explicit [Double]
- data MetricLabels
- metricLabels :: HashMap Text Text -> MetricLabels
- mlAddtional :: Lens' MetricLabels (HashMap Text Text)
- data CollectdPayloadMetadata
- collectdPayloadMetadata :: HashMap Text TypedValue -> CollectdPayloadMetadata
- cpmAddtional :: Lens' CollectdPayloadMetadata (HashMap Text TypedValue)
- data CollectdValue
- collectdValue :: CollectdValue
- cvDataSourceName :: Lens' CollectdValue (Maybe Text)
- cvDataSourceType :: Lens' CollectdValue (Maybe CollectdValueDataSourceType)
- cvValue :: Lens' CollectdValue (Maybe TypedValue)
- data CreateCollectdTimeSeriesRequest
- createCollectdTimeSeriesRequest :: CreateCollectdTimeSeriesRequest
- cctsrCollectdPayloads :: Lens' CreateCollectdTimeSeriesRequest [CollectdPayload]
- cctsrResource :: Lens' CreateCollectdTimeSeriesRequest (Maybe MonitoredResource)
- cctsrCollectdVersion :: Lens' CreateCollectdTimeSeriesRequest (Maybe Text)
- data TypeSyntax
- data Aggregation
- aggregation :: Aggregation
- aPerSeriesAligner :: Lens' Aggregation (Maybe AggregationPerSeriesAligner)
- aCrossSeriesReducer :: Lens' Aggregation (Maybe AggregationCrossSeriesReducer)
- aAlignmentPeriod :: Lens' Aggregation (Maybe Scientific)
- aGroupByFields :: Lens' Aggregation [Text]
- data UptimeCheckConfig
- uptimeCheckConfig :: UptimeCheckConfig
- uccInternalCheckers :: Lens' UptimeCheckConfig [InternalChecker]
- uccPeriod :: Lens' UptimeCheckConfig (Maybe Scientific)
- uccContentMatchers :: Lens' UptimeCheckConfig [ContentMatcher]
- uccName :: Lens' UptimeCheckConfig (Maybe Text)
- uccMonitoredResource :: Lens' UptimeCheckConfig (Maybe MonitoredResource)
- uccSelectedRegions :: Lens' UptimeCheckConfig [Text]
- uccIsInternal :: Lens' UptimeCheckConfig (Maybe Bool)
- uccDisplayName :: Lens' UptimeCheckConfig (Maybe Text)
- uccResourceGroup :: Lens' UptimeCheckConfig (Maybe ResourceGroup)
- uccTimeout :: Lens' UptimeCheckConfig (Maybe Scientific)
- uccHTTPCheck :: Lens' UptimeCheckConfig (Maybe HTTPCheck)
- uccTCPCheck :: Lens' UptimeCheckConfig (Maybe TCPCheck)
- data Point
- point :: Point
- pValue :: Lens' Point (Maybe TypedValue)
- pInterval :: Lens' Point (Maybe TimeInterval)
- data CollectdPayload
- collectdPayload :: CollectdPayload
- cpStartTime :: Lens' CollectdPayload (Maybe UTCTime)
- cpPluginInstance :: Lens' CollectdPayload (Maybe Text)
- cpValues :: Lens' CollectdPayload [CollectdValue]
- cpTypeInstance :: Lens' CollectdPayload (Maybe Text)
- cpEndTime :: Lens' CollectdPayload (Maybe UTCTime)
- cpMetadata :: Lens' CollectdPayload (Maybe CollectdPayloadMetadata)
- cpType :: Lens' CollectdPayload (Maybe Text)
- cpPlugin :: Lens' CollectdPayload (Maybe Text)
- data MutationRecord
- mutationRecord :: MutationRecord
- mrMutatedBy :: Lens' MutationRecord (Maybe Text)
- mrMutateTime :: Lens' MutationRecord (Maybe UTCTime)
- data Metric
- metric :: Metric
- mLabels :: Lens' Metric (Maybe MetricLabels)
- mType :: Lens' Metric (Maybe Text)
- data CollectdPayloadError
- collectdPayloadError :: CollectdPayloadError
- cpeError :: Lens' CollectdPayloadError (Maybe Status)
- cpeValueErrors :: Lens' CollectdPayloadError [CollectdValueError]
- cpeIndex :: Lens' CollectdPayloadError (Maybe Int32)
- data SendNotificationChannelVerificationCodeRequest
- sendNotificationChannelVerificationCodeRequest :: SendNotificationChannelVerificationCodeRequest
- data Exponential
- exponential :: Exponential
- eGrowthFactor :: Lens' Exponential (Maybe Double)
- eScale :: Lens' Exponential (Maybe Double)
- eNumFiniteBuckets :: Lens' Exponential (Maybe Int32)
- data ResourceGroupResourceType
- data Range
- range :: Range
- rMax :: Lens' Range (Maybe Double)
- rMin :: Lens' Range (Maybe Double)
- data MonitoredResource
- monitoredResource :: MonitoredResource
- mrLabels :: Lens' MonitoredResource (Maybe MonitoredResourceLabels)
- mrType :: Lens' MonitoredResource (Maybe Text)
- data UptimeCheckIP
- uptimeCheckIP :: UptimeCheckIP
- uciIPAddress :: Lens' UptimeCheckIP (Maybe Text)
- uciLocation :: Lens' UptimeCheckIP (Maybe Text)
- uciRegion :: Lens' UptimeCheckIP (Maybe UptimeCheckIPRegion)
- data AlertPolicyUserLabels
- alertPolicyUserLabels :: HashMap Text Text -> AlertPolicyUserLabels
- apulAddtional :: Lens' AlertPolicyUserLabels (HashMap Text Text)
- data Documentation
- documentation :: Documentation
- dContent :: Lens' Documentation (Maybe Text)
- dMimeType :: Lens' Documentation (Maybe Text)
- data Xgafv
- data Exemplar
- exemplar :: Exemplar
- eAttachments :: Lens' Exemplar [ExemplarAttachmentsItem]
- eValue :: Lens' Exemplar (Maybe Double)
- eTimestamp :: Lens' Exemplar (Maybe UTCTime)
- data MetricDescriptorMetadata
- metricDescriptorMetadata :: MetricDescriptorMetadata
- mdmSamplePeriod :: Lens' MetricDescriptorMetadata (Maybe Scientific)
- mdmIngestDelay :: Lens' MetricDescriptorMetadata (Maybe Scientific)
- mdmLaunchStage :: Lens' MetricDescriptorMetadata (Maybe MetricDescriptorMetadataLaunchStage)
- data TimeInterval
- timeInterval :: TimeInterval
- tiStartTime :: Lens' TimeInterval (Maybe UTCTime)
- tiEndTime :: Lens' TimeInterval (Maybe UTCTime)
- data HTTPCheckHeaders
- hTTPCheckHeaders :: HashMap Text Text -> HTTPCheckHeaders
- httpchAddtional :: Lens' HTTPCheckHeaders (HashMap Text Text)
- data TimeSeriesMetricKind
- data MonitoredResourceMetadataSystemLabels
- monitoredResourceMetadataSystemLabels :: HashMap Text JSONValue -> MonitoredResourceMetadataSystemLabels
- mrmslAddtional :: Lens' MonitoredResourceMetadataSystemLabels (HashMap Text JSONValue)
- data ContentMatcher
- contentMatcher :: ContentMatcher
- cmContent :: Lens' ContentMatcher (Maybe Text)
- data ListGroupMembersResponse
- listGroupMembersResponse :: ListGroupMembersResponse
- lgmrNextPageToken :: Lens' ListGroupMembersResponse (Maybe Text)
- lgmrMembers :: Lens' ListGroupMembersResponse [MonitoredResource]
- lgmrTotalSize :: Lens' ListGroupMembersResponse (Maybe Int32)
- data LabelDescriptor
- labelDescriptor :: LabelDescriptor
- ldKey :: Lens' LabelDescriptor (Maybe Text)
- ldValueType :: Lens' LabelDescriptor (Maybe LabelDescriptorValueType)
- ldDescription :: Lens' LabelDescriptor (Maybe Text)
- data TimeSeriesValueType
- data Linear
- linear :: Linear
- lOffSet :: Lens' Linear (Maybe Double)
- lWidth :: Lens' Linear (Maybe Double)
- lNumFiniteBuckets :: Lens' Linear (Maybe Int32)
- data AlertPolicyCombiner
- data ListUptimeCheckIPsResponse
- listUptimeCheckIPsResponse :: ListUptimeCheckIPsResponse
- lucirNextPageToken :: Lens' ListUptimeCheckIPsResponse (Maybe Text)
- lucirUptimeCheckIPs :: Lens' ListUptimeCheckIPsResponse [UptimeCheckIP]
- data GetNotificationChannelVerificationCodeRequest
- getNotificationChannelVerificationCodeRequest :: GetNotificationChannelVerificationCodeRequest
- gExpireTime :: Lens' GetNotificationChannelVerificationCodeRequest (Maybe UTCTime)
- data ResourceGroup
- resourceGroup :: ResourceGroup
- rgResourceType :: Lens' ResourceGroup (Maybe ResourceGroupResourceType)
- rgGroupId :: Lens' ResourceGroup (Maybe Text)
- data DroppedLabels
- droppedLabels :: DroppedLabels
- dlLabel :: Lens' DroppedLabels (Maybe DroppedLabelsLabel)
- data FieldCardinality
- data Trigger
- trigger :: Trigger
- tPercent :: Lens' Trigger (Maybe Double)
- tCount :: Lens' Trigger (Maybe Int32)
- data Type
- type' :: Type
- tSourceContext :: Lens' Type (Maybe SourceContext)
- tOneofs :: Lens' Type [Text]
- tName :: Lens' Type (Maybe Text)
- tOptions :: Lens' Type [Option]
- tFields :: Lens' Type [Field]
- tSyntax :: Lens' Type (Maybe TypeSyntax)
- data MetricDescriptorMetricKind
- data CreateCollectdTimeSeriesResponse
- createCollectdTimeSeriesResponse :: CreateCollectdTimeSeriesResponse
- cctsrPayloadErrors :: Lens' CreateCollectdTimeSeriesResponse [CollectdPayloadError]
- data Option
- option :: Option
- oValue :: Lens' Option (Maybe OptionValue)
- oName :: Lens' Option (Maybe Text)
- data Condition
- condition :: Condition
- cConditionAbsent :: Lens' Condition (Maybe MetricAbsence)
- cConditionThreshold :: Lens' Condition (Maybe MetricThreshold)
- cName :: Lens' Condition (Maybe Text)
- cDisplayName :: Lens' Condition (Maybe Text)
- data BucketOptions
- bucketOptions :: BucketOptions
- boExponentialBuckets :: Lens' BucketOptions (Maybe Exponential)
- boLinearBuckets :: Lens' BucketOptions (Maybe Linear)
- boExplicitBuckets :: Lens' BucketOptions (Maybe Explicit)
- data ListUptimeCheckConfigsResponse
- listUptimeCheckConfigsResponse :: ListUptimeCheckConfigsResponse
- luccrUptimeCheckConfigs :: Lens' ListUptimeCheckConfigsResponse [UptimeCheckConfig]
- luccrNextPageToken :: Lens' ListUptimeCheckConfigsResponse (Maybe Text)
- luccrTotalSize :: Lens' ListUptimeCheckConfigsResponse (Maybe Int32)
- data HTTPCheck
- hTTPCheck :: HTTPCheck
- httpcUseSSL :: Lens' HTTPCheck (Maybe Bool)
- httpcPath :: Lens' HTTPCheck (Maybe Text)
- httpcMaskHeaders :: Lens' HTTPCheck (Maybe Bool)
- httpcHeaders :: Lens' HTTPCheck (Maybe HTTPCheckHeaders)
- httpcAuthInfo :: Lens' HTTPCheck (Maybe BasicAuthentication)
- httpcPort :: Lens' HTTPCheck (Maybe Int32)
- data TimeSeries
- timeSeries :: TimeSeries
- tsPoints :: Lens' TimeSeries [Point]
- tsMetricKind :: Lens' TimeSeries (Maybe TimeSeriesMetricKind)
- tsMetric :: Lens' TimeSeries (Maybe Metric)
- tsResource :: Lens' TimeSeries (Maybe MonitoredResource)
- tsMetadata :: Lens' TimeSeries (Maybe MonitoredResourceMetadata)
- tsValueType :: Lens' TimeSeries (Maybe TimeSeriesValueType)
- data AlertPolicy
- alertPolicy :: AlertPolicy
- apEnabled :: Lens' AlertPolicy (Maybe Bool)
- apNotificationChannels :: Lens' AlertPolicy [Text]
- apMutationRecord :: Lens' AlertPolicy (Maybe MutationRecord)
- apCreationRecord :: Lens' AlertPolicy (Maybe MutationRecord)
- apUserLabels :: Lens' AlertPolicy (Maybe AlertPolicyUserLabels)
- apName :: Lens' AlertPolicy (Maybe Text)
- apDocumentation :: Lens' AlertPolicy (Maybe Documentation)
- apDisplayName :: Lens' AlertPolicy (Maybe Text)
- apConditions :: Lens' AlertPolicy [Condition]
- apCombiner :: Lens' AlertPolicy (Maybe AlertPolicyCombiner)
- data ListAlertPoliciesResponse
- listAlertPoliciesResponse :: ListAlertPoliciesResponse
- laprNextPageToken :: Lens' ListAlertPoliciesResponse (Maybe Text)
- laprAlertPolicies :: Lens' ListAlertPoliciesResponse [AlertPolicy]
- data TCPCheck
- tcpCheck :: TCPCheck
- tcPort :: Lens' TCPCheck (Maybe Int32)
- data InternalCheckerState
- data MetricAbsence
- metricAbsence :: MetricAbsence
- maAggregations :: Lens' MetricAbsence [Aggregation]
- maFilter :: Lens' MetricAbsence (Maybe Text)
- maTrigger :: Lens' MetricAbsence (Maybe Trigger)
- maDuration :: Lens' MetricAbsence (Maybe Scientific)
- data CollectdValueError
- collectdValueError :: CollectdValueError
- cveError :: Lens' CollectdValueError (Maybe Status)
- cveIndex :: Lens' CollectdValueError (Maybe Int32)
Service Configuration
monitoringService :: ServiceConfig Source #
Default request referring to version v3
of the Stackdriver Monitoring API. This contains the host and root path used as a starting point for constructing service requests.
OAuth Scopes
monitoringReadScope :: Proxy '["https://www.googleapis.com/auth/monitoring.read"] Source #
View monitoring data for all of your Google Cloud and third-party projects
cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"] Source #
View and manage your data across Google Cloud Platform services
monitoringScope :: Proxy '["https://www.googleapis.com/auth/monitoring"] Source #
View and write monitoring data for all of your Google and third-party Cloud and API projects
monitoringWriteScope :: Proxy '["https://www.googleapis.com/auth/monitoring.write"] Source #
Publish metric data to your Google Cloud projects
API Declaration
type MonitoringAPI = UptimeCheckIPsListResource :<|> (ProjectsMetricDescriptorsListResource :<|> (ProjectsMetricDescriptorsGetResource :<|> (ProjectsMetricDescriptorsCreateResource :<|> (ProjectsMetricDescriptorsDeleteResource :<|> (ProjectsGroupsMembersListResource :<|> (ProjectsGroupsListResource :<|> (ProjectsGroupsGetResource :<|> (ProjectsGroupsCreateResource :<|> (ProjectsGroupsDeleteResource :<|> (ProjectsGroupsUpdateResource :<|> (ProjectsCollectdTimeSeriesCreateResource :<|> (ProjectsUptimeCheckConfigsListResource :<|> (ProjectsUptimeCheckConfigsPatchResource :<|> (ProjectsUptimeCheckConfigsGetResource :<|> (ProjectsUptimeCheckConfigsCreateResource :<|> (ProjectsUptimeCheckConfigsDeleteResource :<|> (ProjectsNotificationChannelsVerifyResource :<|> (ProjectsNotificationChannelsListResource :<|> (ProjectsNotificationChannelsPatchResource :<|> (ProjectsNotificationChannelsGetResource :<|> (ProjectsNotificationChannelsCreateResource :<|> (ProjectsNotificationChannelsGetVerificationCodeResource :<|> (ProjectsNotificationChannelsSendVerificationCodeResource :<|> (ProjectsNotificationChannelsDeleteResource :<|> (ProjectsMonitoredResourceDescriptorsListResource :<|> (ProjectsMonitoredResourceDescriptorsGetResource :<|> (ProjectsAlertPoliciesListResource :<|> (ProjectsAlertPoliciesPatchResource :<|> (ProjectsAlertPoliciesGetResource :<|> (ProjectsAlertPoliciesCreateResource :<|> (ProjectsAlertPoliciesDeleteResource :<|> (ProjectsNotificationChannelDescriptorsListResource :<|> (ProjectsNotificationChannelDescriptorsGetResource :<|> (ProjectsTimeSeriesListResource :<|> ProjectsTimeSeriesCreateResource)))))))))))))))))))))))))))))))))) Source #
Represents the entirety of the methods and resources available for the Stackdriver Monitoring API service.
Resources
monitoring.projects.alertPolicies.create
monitoring.projects.alertPolicies.delete
monitoring.projects.alertPolicies.get
monitoring.projects.alertPolicies.list
monitoring.projects.alertPolicies.patch
monitoring.projects.collectdTimeSeries.create
monitoring.projects.groups.create
monitoring.projects.groups.delete
monitoring.projects.groups.get
monitoring.projects.groups.list
monitoring.projects.groups.members.list
monitoring.projects.groups.update
monitoring.projects.metricDescriptors.create
monitoring.projects.metricDescriptors.delete
monitoring.projects.metricDescriptors.get
monitoring.projects.metricDescriptors.list
monitoring.projects.monitoredResourceDescriptors.get
monitoring.projects.monitoredResourceDescriptors.list
monitoring.projects.notificationChannelDescriptors.get
monitoring.projects.notificationChannelDescriptors.list
monitoring.projects.notificationChannels.create
monitoring.projects.notificationChannels.delete
monitoring.projects.notificationChannels.get
monitoring.projects.notificationChannels.getVerificationCode
monitoring.projects.notificationChannels.list
monitoring.projects.notificationChannels.patch
monitoring.projects.notificationChannels.sendVerificationCode
monitoring.projects.notificationChannels.verify
monitoring.projects.timeSeries.create
monitoring.projects.timeSeries.list
monitoring.projects.uptimeCheckConfigs.create
monitoring.projects.uptimeCheckConfigs.delete
monitoring.projects.uptimeCheckConfigs.get
monitoring.projects.uptimeCheckConfigs.list
monitoring.projects.uptimeCheckConfigs.patch
monitoring.uptimeCheckIps.list
Types
MetricDescriptorValueType
data MetricDescriptorValueType Source #
Whether the measurement is an integer, a floating-point number, etc. Some combinations of metric_kind and value_type might not be supported.
MDVTValueTypeUnspecified |
|
MDVTBool |
|
MDVTINT64 |
|
MDVTDouble |
|
MDVTString |
|
MDVTDistribution |
|
MDVTMoney |
|
Instances
MonitoredResourceDescriptor
data MonitoredResourceDescriptor Source #
An object that describes the schema of a MonitoredResource object using a type name and a set of labels. For example, the monitored resource descriptor for Google Compute Engine VM instances has a type of "gce_instance" and specifies the use of the labels "instance_id" and "zone" to identify particular VM instances.Different APIs can support different monitored resource types. APIs generally provide a list method that returns the monitored resource descriptors used by the API.
See: monitoredResourceDescriptor
smart constructor.
Instances
monitoredResourceDescriptor :: MonitoredResourceDescriptor Source #
Creates a value of MonitoredResourceDescriptor
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
mrdName :: Lens' MonitoredResourceDescriptor (Maybe Text) Source #
Optional. The resource name of the monitored resource descriptor: "projects/{project_id}/monitoredResourceDescriptors/{type}" where {type} is the value of the type field in this object and {project_id} is a project ID that provides API-specific context for accessing the type. APIs that do not use project information can use the resource name format "monitoredResourceDescriptors/{type}".
mrdDisplayName :: Lens' MonitoredResourceDescriptor (Maybe Text) Source #
Optional. A concise name for the monitored resource type that might be displayed in user interfaces. It should be a Title Cased Noun Phrase, without any article or other determiners. For example, "Google Cloud SQL Database".
mrdLabels :: Lens' MonitoredResourceDescriptor [LabelDescriptor] Source #
Required. A set of labels used to describe instances of this monitored resource type. For example, an individual Google Cloud SQL database is identified by values for the labels "database_id" and "zone".
mrdType :: Lens' MonitoredResourceDescriptor (Maybe Text) Source #
Required. The monitored resource type. For example, the type "cloudsql_database" represents databases in Google Cloud SQL. The maximum length of this value is 256 characters.
mrdDescription :: Lens' MonitoredResourceDescriptor (Maybe Text) Source #
Optional. A detailed description of the monitored resource type that might be used in documentation.
CollectdValueDataSourceType
data CollectdValueDataSourceType Source #
The type of measurement.
UnspecifiedDataSourceType |
|
Gauge |
|
Counter |
|
Derive |
|
Absolute |
|
Instances
Status
The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). The error model is designed to be: Simple to use and understand for most users Flexible enough to meet unexpected needsOverviewThe Status message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of google.rpc.Code, but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers understand and resolve the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package google.rpc that can be used for common error conditions.Language mappingThe Status message is the logical representation of the error model, but it is not necessarily the actual wire format. When the Status message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C.Other usesThe error model and the Status message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments.Example uses of this error model include: Partial errors. If a service needs to return partial errors to the client, it may embed the Status in the normal response to indicate the partial errors. Workflow errors. A typical workflow has multiple steps. Each step may have a Status message for error reporting. Batch operations. If a client uses batch request and batch response, the Status message should be used directly inside batch response, one for each error sub-response. Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the Status message. Logging. If some API errors are stored in logs, the message Status could be used directly after any stripping needed for security/privacy reasons.
See: status
smart constructor.
Instances
Eq Status Source # | |
Data Status Source # | |
Defined in Network.Google.Monitoring.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Status -> c Status # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Status # toConstr :: Status -> Constr # dataTypeOf :: Status -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Status) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Status) # gmapT :: (forall b. Data b => b -> b) -> Status -> Status # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Status -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Status -> r # gmapQ :: (forall d. Data d => d -> u) -> Status -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Status -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Status -> m Status # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Status -> m Status # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Status -> m Status # | |
Show Status Source # | |
Generic Status Source # | |
ToJSON Status Source # | |
Defined in Network.Google.Monitoring.Types.Product | |
FromJSON Status Source # | |
type Rep Status Source # | |
Defined in Network.Google.Monitoring.Types.Product type Rep Status = D1 (MetaData "Status" "Network.Google.Monitoring.Types.Product" "gogol-monitoring-0.4.0-2c26UZAXxP5IDqve62RFQh" False) (C1 (MetaCons "Status'" PrefixI True) (S1 (MetaSel (Just "_sDetails") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [StatusDetailsItem])) :*: (S1 (MetaSel (Just "_sCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_sMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) |
sDetails :: Lens' Status [StatusDetailsItem] Source #
A list of messages that carry the error details. There is a common set of message types for APIs to use.
sCode :: Lens' Status (Maybe Int32) Source #
The status code, which should be an enum value of google.rpc.Code.
sMessage :: Lens' Status (Maybe Text) Source #
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
ListNotificationChannelsResponse
data ListNotificationChannelsResponse Source #
The ListNotificationChannels response.
See: listNotificationChannelsResponse
smart constructor.
Instances
listNotificationChannelsResponse :: ListNotificationChannelsResponse Source #
Creates a value of ListNotificationChannelsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lncrNextPageToken :: Lens' ListNotificationChannelsResponse (Maybe Text) Source #
If not empty, indicates that there may be more results that match the request. Use the value in the page_token field in a subsequent request to fetch the next set of results. If empty, all results have been returned.
lncrNotificationChannels :: Lens' ListNotificationChannelsResponse [NotificationChannel] Source #
The notification channels defined for the specified project.
ListTimeSeriesResponse
data ListTimeSeriesResponse Source #
The ListTimeSeries response.
See: listTimeSeriesResponse
smart constructor.
Instances
listTimeSeriesResponse :: ListTimeSeriesResponse Source #
Creates a value of ListTimeSeriesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ltsrNextPageToken :: Lens' ListTimeSeriesResponse (Maybe Text) Source #
If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as pageToken in the next call to this method.
ltsrExecutionErrors :: Lens' ListTimeSeriesResponse [Status] Source #
Query execution errors that may have caused the time series data returned to be incomplete.
ltsrTimeSeries :: Lens' ListTimeSeriesResponse [TimeSeries] Source #
One or more time series that match the filter included in the request.
GetNotificationChannelVerificationCodeResponse
data GetNotificationChannelVerificationCodeResponse Source #
The GetNotificationChannelVerificationCode request.
See: getNotificationChannelVerificationCodeResponse
smart constructor.
Instances
getNotificationChannelVerificationCodeResponse :: GetNotificationChannelVerificationCodeResponse Source #
Creates a value of GetNotificationChannelVerificationCodeResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gncvcrCode :: Lens' GetNotificationChannelVerificationCodeResponse (Maybe Text) Source #
The verification code, which may be used to verify other channels that have an equivalent identity (i.e. other channels of the same type with the same fingerprint such as other email channels with the same email address or other sms channels with the same number).
gncvcrExpireTime :: Lens' GetNotificationChannelVerificationCodeResponse (Maybe UTCTime) Source #
The expiration time associated with the code that was returned. If an expiration was provided in the request, this is the minimum of the requested expiration in the request and the max permitted expiration.
ListNotificationChannelDescriptorsResponse
data ListNotificationChannelDescriptorsResponse Source #
The ListNotificationChannelDescriptors response.
See: listNotificationChannelDescriptorsResponse
smart constructor.
Instances
listNotificationChannelDescriptorsResponse :: ListNotificationChannelDescriptorsResponse Source #
Creates a value of ListNotificationChannelDescriptorsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lncdrNextPageToken :: Lens' ListNotificationChannelDescriptorsResponse (Maybe Text) Source #
If not empty, indicates that there may be more results that match the request. Use the value in the page_token field in a subsequent request to fetch the next set of results. If empty, all results have been returned.
lncdrChannelDescriptors :: Lens' ListNotificationChannelDescriptorsResponse [NotificationChannelDescriptor] Source #
The monitored resource descriptors supported for the specified project, optionally filtered.
UptimeCheckIPRegion
data UptimeCheckIPRegion Source #
A broad region category in which the IP address is located.
RegionUnspecified |
|
Usa |
|
Europe |
|
SouthAmerica |
|
AsiaPacific |
|
Instances
MetricDescriptor
data MetricDescriptor Source #
Defines a metric type and its schema. Once a metric descriptor is created, deleting or altering it stops data collection and makes the metric type's existing data unusable.
See: metricDescriptor
smart constructor.
Instances
metricDescriptor :: MetricDescriptor Source #
Creates a value of MetricDescriptor
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
mdMetricKind :: Lens' MetricDescriptor (Maybe MetricDescriptorMetricKind) Source #
Whether the metric records instantaneous values, changes to a value, etc. Some combinations of metric_kind and value_type might not be supported.
mdMetadata :: Lens' MetricDescriptor (Maybe MetricDescriptorMetadata) Source #
Optional. Metadata which can be used to guide usage of the metric.
mdDisplayName :: Lens' MetricDescriptor (Maybe Text) Source #
A concise name for the metric, which can be displayed in user interfaces. Use sentence case without an ending period, for example "Request count". This field is optional but it is recommended to be set for any metrics associated with user-visible concepts, such as Quota.
mdLabels :: Lens' MetricDescriptor [LabelDescriptor] Source #
The set of labels that can be used to describe a specific instance of this metric type. For example, the appengine.googleapis.com/http/server/response_latencies metric type has a label for the HTTP response code, response_code, so you can look at latencies for successful responses or just for responses that failed.
mdType :: Lens' MetricDescriptor (Maybe Text) Source #
The metric type, including its DNS name prefix. The type is not URL-encoded. All user-defined metric types have the DNS name custom.googleapis.com or external.googleapis.com. Metric types should use a natural hierarchical grouping. For example: "custom.googleapis.com/invoice/paid/amount" "external.googleapis.com/prometheus/up" "appengine.googleapis.com/http/server/response_latencies"
mdValueType :: Lens' MetricDescriptor (Maybe MetricDescriptorValueType) Source #
Whether the measurement is an integer, a floating-point number, etc. Some combinations of metric_kind and value_type might not be supported.
mdDescription :: Lens' MetricDescriptor (Maybe Text) Source #
A detailed description of the metric, which can be used in documentation.
mdUnit :: Lens' MetricDescriptor (Maybe Text) Source #
The unit in which the metric value is reported. It is only applicable if the value_type is INT64, DOUBLE, or DISTRIBUTION. The supported units are a subset of The Unified Code for Units of Measure (http://unitsofmeasure.org/ucum.html) standard:Basic units (UNIT) bit bit By byte s second min minute h hour d dayPrefixes (PREFIX) k kilo (10**3) M mega (10**6) G giga (10**9) T tera (10**12) P peta (10**15) E exa (10**18) Z zetta (10**21) Y yotta (10**24) m milli (10**-3) u micro (10**-6) n nano (10**-9) p pico (10**-12) f femto (10**-15) a atto (10**-18) z zepto (10**-21) y yocto (10**-24) Ki kibi (2**10) Mi mebi (2**20) Gi gibi (2**30) Ti tebi (2**40)GrammarThe grammar also includes these connectors: / division (as an infix operator, e.g. 1/s). . multiplication (as an infix operator, e.g. GBy.d)The grammar for a unit is as follows: Expression = Component { "." Component } { "/" Component } ; Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ] | Annotation | "1" ; Annotation = "{" NAME "}" ; Notes: Annotation is just a comment if it follows a UNIT and is equivalent to 1 if it is used alone. For examples, {requests}/s == 1/s, By{transmitted}/s == By/s. NAME is a sequence of non-blank printable ASCII characters not containing '{' or '}'. 1 represents dimensionless value 1, such as in 1/s. % represents dimensionless value 1/100, and annotates values giving a percentage.
Group
The description of a dynamic collection of monitored resources. Each group has a filter that is matched against monitored resources and their associated metadata. If a group's filter matches an available monitored resource, then that resource is a member of that group. Groups can contain any number of monitored resources, and each monitored resource can be a member of any number of groups.Groups can be nested in parent-child hierarchies. The parentName field identifies an optional parent for each group. If a group has a parent, then the only monitored resources available to be matched by the group's filter are the resources contained in the parent group. In other words, a group contains the monitored resources that match its filter and the filters of all the group's ancestors. A group without a parent can contain any monitored resource.For example, consider an infrastructure running a set of instances with two user-defined tags: "environment" and "role". A parent group has a filter, environment="production". A child of that parent group has a filter, role="transcoder". The parent group contains all instances in the production environment, regardless of their roles. The child group contains instances that have the transcoder role and are in the production environment.The monitored resources contained in a group can change at any moment, depending on what resources exist and what filters are associated with the group and its ancestors.
See: group'
smart constructor.
Instances
Eq Group Source # | |
Data Group Source # | |
Defined in Network.Google.Monitoring.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Group -> c Group # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Group # dataTypeOf :: Group -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Group) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Group) # gmapT :: (forall b. Data b => b -> b) -> Group -> Group # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Group -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Group -> r # gmapQ :: (forall d. Data d => d -> u) -> Group -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Group -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Group -> m Group # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Group -> m Group # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Group -> m Group # | |
Show Group Source # | |
Generic Group Source # | |
ToJSON Group Source # | |
Defined in Network.Google.Monitoring.Types.Product | |
FromJSON Group Source # | |
type Rep Group Source # | |
Defined in Network.Google.Monitoring.Types.Product type Rep Group = D1 (MetaData "Group" "Network.Google.Monitoring.Types.Product" "gogol-monitoring-0.4.0-2c26UZAXxP5IDqve62RFQh" False) (C1 (MetaCons "Group'" PrefixI True) ((S1 (MetaSel (Just "_gName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gDisplayName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_gFilter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_gIsCluster") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_gParentName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))) |
Creates a value of Group
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gName :: Lens' Group (Maybe Text) Source #
Output only. The name of this group. The format is "projects/{project_id_or_number}/groups/{group_id}". When creating a group, this field is ignored and a new name is created consisting of the project specified in the call to CreateGroup and a unique {group_id} that is generated automatically.
gDisplayName :: Lens' Group (Maybe Text) Source #
A user-assigned name for this group, used only for display purposes.
gFilter :: Lens' Group (Maybe Text) Source #
The filter used to determine which monitored resources belong to this group.
gIsCluster :: Lens' Group (Maybe Bool) Source #
If true, the members of this group are considered to be a cluster. The system can perform additional analysis on groups that are clusters.
gParentName :: Lens' Group (Maybe Text) Source #
The name of the group's parent, if it has one. The format is "projects/{project_id_or_number}/groups/{group_id}". For groups with no parent, parentName is the empty string, "".
TypedValue
data TypedValue Source #
A single strongly-typed value.
See: typedValue
smart constructor.
Instances
typedValue :: TypedValue Source #
Creates a value of TypedValue
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tvBoolValue :: Lens' TypedValue (Maybe Bool) Source #
A Boolean value: true or false.
tvDoubleValue :: Lens' TypedValue (Maybe Double) Source #
A 64-bit double-precision floating-point number. Its magnitude is approximately ±10±300 and it has 16 significant digits of precision.
tvStringValue :: Lens' TypedValue (Maybe Text) Source #
A variable-length string value.
tvDistributionValue :: Lens' TypedValue (Maybe Distribution) Source #
A distribution value.
tvInt64Value :: Lens' TypedValue (Maybe Int64) Source #
A 64-bit integer. Its range is approximately ±9.2x1018.
MonitoredResourceLabels
data MonitoredResourceLabels Source #
Required. Values for all of the labels listed in the associated monitored resource descriptor. For example, Compute Engine VM instances use the labels "project_id", "instance_id", and "zone".
See: monitoredResourceLabels
smart constructor.
Instances
monitoredResourceLabels Source #
Creates a value of MonitoredResourceLabels
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
MonitoredResourceMetadata
data MonitoredResourceMetadata Source #
Auxiliary metadata for a MonitoredResource object. MonitoredResource objects contain the minimum set of information to uniquely identify a monitored resource instance. There is some other useful auxiliary metadata. Monitoring and Logging use an ingestion pipeline to extract metadata for cloud resources of all types, and store the metadata in this message.
See: monitoredResourceMetadata
smart constructor.
Instances
monitoredResourceMetadata :: MonitoredResourceMetadata Source #
Creates a value of MonitoredResourceMetadata
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
mrmUserLabels :: Lens' MonitoredResourceMetadata (Maybe MonitoredResourceMetadataUserLabels) Source #
Output only. A map of user-defined metadata labels.
mrmSystemLabels :: Lens' MonitoredResourceMetadata (Maybe MonitoredResourceMetadataSystemLabels) Source #
Output only. Values for predefined system metadata labels. System labels are a kind of metadata extracted by Google, including "machine_image", "vpc", "subnet_id", "security_group", "name", etc. System label values can be only strings, Boolean values, or a list of strings. For example: { "name": "my-test-instance", "security_group": ["a", "b", "c"], "spot_instance": false }
NotificationChannelUserLabels
data NotificationChannelUserLabels Source #
User-supplied key/value data that does not need to conform to the corresponding NotificationChannelDescriptor's schema, unlike the labels field. This field is intended to be used for organizing and identifying the NotificationChannel objects.The field can contain up to 64 entries. Each key and value is limited to 63 Unicode characters or 128 bytes, whichever is smaller. Labels and values can contain only lowercase letters, numerals, underscores, and dashes. Keys must begin with a letter.
See: notificationChannelUserLabels
smart constructor.
Instances
notificationChannelUserLabels Source #
Creates a value of NotificationChannelUserLabels
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
SourceContext
data SourceContext Source #
SourceContext represents information about the source of a protobuf element, like the file in which it is defined.
See: sourceContext
smart constructor.
Instances
sourceContext :: SourceContext Source #
Creates a value of SourceContext
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
scFileName :: Lens' SourceContext (Maybe Text) Source #
The path-qualified name of the .proto file that contained the associated protobuf element. For example: "google/protobuf/source_context.proto".
BasicAuthentication
data BasicAuthentication Source #
A type of authentication to perform against the specified resource or URL that uses username and password. Currently, only Basic authentication is supported in Uptime Monitoring.
See: basicAuthentication
smart constructor.
Instances
basicAuthentication :: BasicAuthentication Source #
Creates a value of BasicAuthentication
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
baUsername :: Lens' BasicAuthentication (Maybe Text) Source #
The username to authenticate.
baPassword :: Lens' BasicAuthentication (Maybe Text) Source #
The password to authenticate.
Distribution
data Distribution Source #
Distribution contains summary statistics for a population of values. It optionally contains a histogram representing the distribution of those values across a set of buckets.The summary statistics are the count, mean, sum of the squared deviation from the mean, the minimum, and the maximum of the set of population of values. The histogram is based on a sequence of buckets and gives a count of values that fall into each bucket. The boundaries of the buckets are given either explicitly or by formulas for buckets of fixed or exponentially increasing widths.Although it is not forbidden, it is generally a bad idea to include non-finite values (infinities or NaNs) in the population of values, as this will render the mean and sum_of_squared_deviation fields meaningless.
See: distribution
smart constructor.
Instances
distribution :: Distribution Source #
Creates a value of Distribution
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dSumOfSquaredDeviation :: Lens' Distribution (Maybe Double) Source #
The sum of squared deviations from the mean of the values in the population. For values x_i this is: Sum[i=1..n]((x_i - mean)^2) Knuth, "The Art of Computer Programming", Vol. 2, page 323, 3rd edition describes Welford's method for accumulating this sum in one pass.If count is zero then this field must be zero.
dMean :: Lens' Distribution (Maybe Double) Source #
The arithmetic mean of the values in the population. If count is zero then this field must be zero.
dCount :: Lens' Distribution (Maybe Int64) Source #
The number of values in the population. Must be non-negative. This value must equal the sum of the values in bucket_counts if a histogram is provided.
dBucketCounts :: Lens' Distribution [Int64] Source #
Required in the Stackdriver Monitoring API v3. The values for each bucket specified in bucket_options. The sum of the values in bucketCounts must equal the value in the count field of the Distribution object. The order of the bucket counts follows the numbering schemes described for the three bucket types. The underflow bucket has number 0; the finite buckets, if any, have numbers 1 through N-2; and the overflow bucket has number N-1. The size of bucket_counts must not be greater than N. If the size is less than N, then the remaining buckets are assigned values of zero.
dExemplars :: Lens' Distribution [Exemplar] Source #
Must be in increasing order of value field.
dRange :: Lens' Distribution (Maybe Range) Source #
If specified, contains the range of the population values. The field must not be present if the count is zero. This field is presently ignored by the Stackdriver Monitoring API v3.
dBucketOptions :: Lens' Distribution (Maybe BucketOptions) Source #
Required in the Stackdriver Monitoring API v3. Defines the histogram bucket boundaries.
MetricThresholdComparison
data MetricThresholdComparison Source #
The comparison to apply between the time series (indicated by filter and aggregation) and the threshold (indicated by threshold_value). The comparison is applied on each time series, with the time series on the left-hand side and the threshold on the right-hand side.Only COMPARISON_LT and COMPARISON_GT are supported currently.
ComparisonUnspecified |
|
ComparisonGT |
|
ComparisonGe |
|
ComparisonLT |
|
ComparisonLe |
|
ComparisonEQ |
|
ComparisonNe |
|
Instances
AggregationPerSeriesAligner
data AggregationPerSeriesAligner Source #
The approach to be used to align individual time series. Not all alignment functions may be applied to all time series, depending on the metric type and value type of the original time series. Alignment may change the metric type or the value type of the time series.Time series data must be aligned in order to perform cross-time series reduction. If crossSeriesReducer is specified, then perSeriesAligner must be specified and not equal ALIGN_NONE and alignmentPeriod must be specified; otherwise, an error is returned.
AlignNone |
|
AlignDelta |
|
AlignRate |
|
AlignInterpolate |
|
AlignNextOlder |
|
AlignMin |
|
AlignMax |
|
AlignMean |
|
AlignCount |
|
AlignSum |
|
AlignStddev |
|
AlignCountTrue |
|
AlignCountFalse |
|
AlignFractionTrue |
|
AlignPercentile99 |
|
AlignPercentile95 |
|
AlignPercentile50 |
|
AlignPercentile05 |
|
AlignPercentChange |
|
Instances
Field
A single field of a message type.
See: field
smart constructor.
Instances
Creates a value of Field
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
fOneofIndex :: Lens' Field (Maybe Int32) Source #
The index of the field type in Type.oneofs, for message or enumeration types. The first type has index 1; zero means the type is not in the list.
fCardinality :: Lens' Field (Maybe FieldCardinality) Source #
The field cardinality.
fDefaultValue :: Lens' Field (Maybe Text) Source #
The string value of the default value of this field. Proto2 syntax only.
fTypeURL :: Lens' Field (Maybe Text) Source #
The field type URL, without the scheme, for message or enumeration types. Example: "type.googleapis.com/google.protobuf.Timestamp".
FieldKind
The field type.
TypeUnknown |
|
TypeDouble |
|
TypeFloat |
|
TypeINT64 |
|
TypeUINT64 |
|
TypeINT32 |
|
TypeFIXED64 |
|
TypeFIXED32 |
|
TypeBool |
|
TypeString |
|
TypeGroup |
|
TypeMessage |
|
TypeBytes |
|
TypeUINT32 |
|
TypeEnum |
|
TypeSFIXED32 |
|
TypeSFIXED64 |
|
TypeSINT32 |
|
TypeSINT64 |
|
Instances
ExemplarAttachmentsItem
data ExemplarAttachmentsItem Source #
Instances
exemplarAttachmentsItem Source #
Creates a value of ExemplarAttachmentsItem
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
eaiAddtional :: Lens' ExemplarAttachmentsItem (HashMap Text JSONValue) Source #
Properties of the object. Contains field 'type with type URL.
NotificationChannelDescriptor
data NotificationChannelDescriptor Source #
A description of a notification channel. The descriptor includes the properties of the channel and the set of labels or fields that must be specified to configure channels of a given type.
See: notificationChannelDescriptor
smart constructor.
Instances
notificationChannelDescriptor :: NotificationChannelDescriptor Source #
Creates a value of NotificationChannelDescriptor
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ncdName :: Lens' NotificationChannelDescriptor (Maybe Text) Source #
The full REST resource name for this descriptor. The syntax is: projects/[PROJECT_ID]/notificationChannelDescriptors/[TYPE] In the above, [TYPE] is the value of the type field.
ncdSupportedTiers :: Lens' NotificationChannelDescriptor [Text] Source #
The tiers that support this notification channel; the project service tier must be one of the supported_tiers.
ncdDisplayName :: Lens' NotificationChannelDescriptor (Maybe Text) Source #
A human-readable name for the notification channel type. This form of the name is suitable for a user interface.
ncdLabels :: Lens' NotificationChannelDescriptor [LabelDescriptor] Source #
The set of labels that must be defined to identify a particular channel of the corresponding type. Each label includes a description for how that field should be populated.
ncdType :: Lens' NotificationChannelDescriptor (Maybe Text) Source #
The type of notification channel, such as "email", "sms", etc. Notification channel types are globally unique.
ncdDescription :: Lens' NotificationChannelDescriptor (Maybe Text) Source #
A human-readable description of the notification channel type. The description may include a description of the properties of the channel and pointers to external documentation.
Empty
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for Empty is empty JSON object {}.
See: empty
smart constructor.
Instances
Eq Empty Source # | |
Data Empty Source # | |
Defined in Network.Google.Monitoring.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Empty -> c Empty # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Empty # dataTypeOf :: Empty -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Empty) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Empty) # gmapT :: (forall b. Data b => b -> b) -> Empty -> Empty # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Empty -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Empty -> r # gmapQ :: (forall d. Data d => d -> u) -> Empty -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Empty -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Empty -> m Empty # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Empty -> m Empty # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Empty -> m Empty # | |
Show Empty Source # | |
Generic Empty Source # | |
ToJSON Empty Source # | |
Defined in Network.Google.Monitoring.Types.Product | |
FromJSON Empty Source # | |
type Rep Empty Source # | |
ListGroupsResponse
data ListGroupsResponse Source #
The ListGroups response.
See: listGroupsResponse
smart constructor.
Instances
listGroupsResponse :: ListGroupsResponse Source #
Creates a value of ListGroupsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lgrNextPageToken :: Lens' ListGroupsResponse (Maybe Text) Source #
If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as pageToken in the next call to this method.
ListMetricDescriptorsResponse
data ListMetricDescriptorsResponse Source #
The ListMetricDescriptors response.
See: listMetricDescriptorsResponse
smart constructor.
Instances
listMetricDescriptorsResponse :: ListMetricDescriptorsResponse Source #
Creates a value of ListMetricDescriptorsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lmdrMetricDescriptors :: Lens' ListMetricDescriptorsResponse [MetricDescriptor] Source #
The metric descriptors that are available to the project and that match the value of filter, if present.
lmdrNextPageToken :: Lens' ListMetricDescriptorsResponse (Maybe Text) Source #
If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as pageToken in the next call to this method.
VerifyNotificationChannelRequest
data VerifyNotificationChannelRequest Source #
The VerifyNotificationChannel request.
See: verifyNotificationChannelRequest
smart constructor.
Instances
verifyNotificationChannelRequest :: VerifyNotificationChannelRequest Source #
Creates a value of VerifyNotificationChannelRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
vncrCode :: Lens' VerifyNotificationChannelRequest (Maybe Text) Source #
The verification code that was delivered to the channel as a result of invoking the SendNotificationChannelVerificationCode API method or that was retrieved from a verified channel via GetNotificationChannelVerificationCode. For example, one might have "G-123456" or "TKNZGhhd2EyN3I1MnRnMjRv" (in general, one is only guaranteed that the code is valid UTF-8; one should not make any assumptions regarding the structure or format of the code).
OptionValue
data OptionValue Source #
The option's value packed in an Any message. If the value is a primitive, the corresponding wrapper type defined in google/protobuf/wrappers.proto should be used. If the value is an enum, it should be stored as an int32 value using the google.protobuf.Int32Value type.
See: optionValue
smart constructor.
Instances
Creates a value of OptionValue
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ovAddtional :: Lens' OptionValue (HashMap Text JSONValue) Source #
Properties of the object. Contains field 'type with type URL.
AggregationCrossSeriesReducer
data AggregationCrossSeriesReducer Source #
The approach to be used to combine time series. Not all reducer functions may be applied to all time series, depending on the metric type and the value type of the original time series. Reduction may change the metric type of value type of the time series.Time series data must be aligned in order to perform cross-time series reduction. If crossSeriesReducer is specified, then perSeriesAligner must be specified and not equal ALIGN_NONE and alignmentPeriod must be specified; otherwise, an error is returned.
ReduceNone |
|
ReduceMean |
|
ReduceMin |
|
ReduceMax |
|
ReduceSum |
|
ReduceStddev |
|
ReduceCount |
|
ReduceCountTrue |
|
ReduceCountFalse |
|
ReduceFractionTrue |
|
ReducePercentile99 |
|
ReducePercentile95 |
|
ReducePercentile50 |
|
ReducePercentile05 |
|
Instances
NotificationChannelLabels
data NotificationChannelLabels Source #
Configuration fields that define the channel and its behavior. The permissible and required labels are specified in the NotificationChannelDescriptor.labels of the NotificationChannelDescriptor corresponding to the type field.
See: notificationChannelLabels
smart constructor.
Instances
notificationChannelLabels Source #
Creates a value of NotificationChannelLabels
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
MetricDescriptorMetadataLaunchStage
data MetricDescriptorMetadataLaunchStage Source #
The launch stage of the metric definition.
LaunchStageUnspecified |
|
EarlyAccess |
|
Alpha |
|
Beta |
|
GA |
|
Deprecated |
|
Instances
CreateTimeSeriesRequest
data CreateTimeSeriesRequest Source #
The CreateTimeSeries request.
See: createTimeSeriesRequest
smart constructor.
Instances
createTimeSeriesRequest :: CreateTimeSeriesRequest Source #
Creates a value of CreateTimeSeriesRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ctsrTimeSeries :: Lens' CreateTimeSeriesRequest [TimeSeries] Source #
The new data to be added to a list of time series. Adds at most one data point to each of several time series. The new data point must be more recent than any other point in its time series. Each TimeSeries value must fully specify a unique time series by supplying all label values for the metric and the monitored resource.The maximum number of TimeSeries objects per Create request is 200.
DroppedLabelsLabel
data DroppedLabelsLabel Source #
Map from label to its value, for all labels dropped in any aggregation.
See: droppedLabelsLabel
smart constructor.
Instances
Creates a value of DroppedLabelsLabel
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
MetricThreshold
data MetricThreshold Source #
A condition type that compares a collection of time series against a threshold.
See: metricThreshold
smart constructor.
Instances
metricThreshold :: MetricThreshold Source #
Creates a value of MetricThreshold
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
mtThresholdValue :: Lens' MetricThreshold (Maybe Double) Source #
A value against which to compare the time series.
mtAggregations :: Lens' MetricThreshold [Aggregation] Source #
Specifies the alignment of data points in individual time series as well as how to combine the retrieved time series together (such as when aggregating multiple streams on each resource to a single stream for each resource or when aggregating streams across all members of a group of resrouces). Multiple aggregations are applied in the order specified.This field is similar to the one in the MetricService.ListTimeSeries request. It is advisable to use the ListTimeSeries method when debugging this field.
mtDenominatorAggregations :: Lens' MetricThreshold [Aggregation] Source #
Specifies the alignment of data points in individual time series selected by denominatorFilter as well as how to combine the retrieved time series together (such as when aggregating multiple streams on each resource to a single stream for each resource or when aggregating streams across all members of a group of resources).When computing ratios, the aggregations and denominator_aggregations fields must use the same alignment period and produce time series that have the same periodicity and labels.This field is similar to the one in the MetricService.ListTimeSeries request. It is advisable to use the ListTimeSeries method when debugging this field.
mtComparison :: Lens' MetricThreshold (Maybe MetricThresholdComparison) Source #
The comparison to apply between the time series (indicated by filter and aggregation) and the threshold (indicated by threshold_value). The comparison is applied on each time series, with the time series on the left-hand side and the threshold on the right-hand side.Only COMPARISON_LT and COMPARISON_GT are supported currently.
mtDenominatorFilter :: Lens' MetricThreshold (Maybe Text) Source #
A filter that identifies a time series that should be used as the denominator of a ratio that will be compared with the threshold. If a denominator_filter is specified, the time series specified by the filter field will be used as the numerator.The filter is similar to the one that is specified in the MetricService.ListTimeSeries request (that call is useful to verify the time series that will be retrieved / processed) and must specify the metric type and optionally may contain restrictions on resource type, resource labels, and metric labels. This field may not exceed 2048 Unicode characters in length.
mtFilter :: Lens' MetricThreshold (Maybe Text) Source #
A filter that identifies which time series should be compared with the threshold.The filter is similar to the one that is specified in the MetricService.ListTimeSeries request (that call is useful to verify the time series that will be retrieved / processed) and must specify the metric type and optionally may contain restrictions on resource type, resource labels, and metric labels. This field may not exceed 2048 Unicode characters in length.
mtTrigger :: Lens' MetricThreshold (Maybe Trigger) Source #
The number/percent of time series for which the comparison must hold in order for the condition to trigger. If unspecified, then the condition will trigger if the comparison is true for any of the time series that have been identified by filter and aggregations, or by the ratio, if denominator_filter and denominator_aggregations are specified.
mtDuration :: Lens' MetricThreshold (Maybe Scientific) Source #
The amount of time that a time series must violate the threshold to be considered failing. Currently, only values that are a multiple of a minute--e.g., 0, 60, 120, or 300 seconds--are supported. If an invalid value is given, an error will be returned. When choosing a duration, it is useful to keep in mind the frequency of the underlying time series data (which may also be affected by any alignments specified in the aggregations field); a good duration is long enough so that a single outlier does not generate spurious alerts, but short enough that unhealthy states are detected and alerted on quickly.
SpanContext
data SpanContext Source #
The context of a span, attached to google.api.Distribution.Exemplars in google.api.Distribution values during aggregation.It contains the name of a span with format: projects/PROJECT_ID/traces/TRACE_ID/spans/SPAN_ID
See: spanContext
smart constructor.
Instances
spanContext :: SpanContext Source #
Creates a value of SpanContext
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
scSpanName :: Lens' SpanContext (Maybe Text) Source #
The resource name of the span in the following format: projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/[SPAN_ID] TRACE_ID is a unique identifier for a trace within a project; it is a 32-character hexadecimal encoding of a 16-byte array.SPAN_ID is a unique identifier for a span within a trace; it is a 16-character hexadecimal encoding of an 8-byte array.
StatusDetailsItem
data StatusDetailsItem Source #
Instances
Creates a value of StatusDetailsItem
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sdiAddtional :: Lens' StatusDetailsItem (HashMap Text JSONValue) Source #
Properties of the object. Contains field 'type with type URL.
NotificationChannelVerificationStatus
data NotificationChannelVerificationStatus Source #
Indicates whether this channel has been verified or not. On a ListNotificationChannels or GetNotificationChannel operation, this field is expected to be populated.If the value is UNVERIFIED, then it indicates that the channel is non-functioning (it both requires verification and lacks verification); otherwise, it is assumed that the channel works.If the channel is neither VERIFIED nor UNVERIFIED, it implies that the channel is of a type that does not require verification or that this specific channel has been exempted from verification because it was created prior to verification being required for channels of this type.This field cannot be modified using a standard UpdateNotificationChannel operation. To change the value of this field, you must call VerifyNotificationChannel.
VerificationStatusUnspecified |
|
Unverified |
|
Verified |
|
Instances
MonitoredResourceMetadataUserLabels
data MonitoredResourceMetadataUserLabels Source #
Output only. A map of user-defined metadata labels.
See: monitoredResourceMetadataUserLabels
smart constructor.
Instances
monitoredResourceMetadataUserLabels Source #
Creates a value of MonitoredResourceMetadataUserLabels
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
InternalChecker
data InternalChecker Source #
An internal checker allows uptime checks to run on private/internal GCP resources.
See: internalChecker
smart constructor.
Instances
internalChecker :: InternalChecker Source #
Creates a value of InternalChecker
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
icState :: Lens' InternalChecker (Maybe InternalCheckerState) Source #
The current operational state of the internal checker.
icNetwork :: Lens' InternalChecker (Maybe Text) Source #
The GCP VPC network (https://cloud.google.com/vpc/docs/vpc) where the internal resource lives (ex: "default").
icName :: Lens' InternalChecker (Maybe Text) Source #
A unique resource name for this InternalChecker. The format is:projects/[PROJECT_ID]/internalCheckers/[INTERNAL_CHECKER_ID].PROJECT_ID is the stackdriver workspace project for the uptime check config associated with the internal checker.
icPeerProjectId :: Lens' InternalChecker (Maybe Text) Source #
The GCP project_id where the internal checker lives. Not necessary the same as the workspace project.
icGcpZone :: Lens' InternalChecker (Maybe Text) Source #
The GCP zone the uptime check should egress from. Only respected for internal uptime checks, where internal_network is specified.
icDisplayName :: Lens' InternalChecker (Maybe Text) Source #
The checker's human-readable name. The display name should be unique within a Stackdriver Workspace in order to make it easier to identify; however, uniqueness is not enforced.
NotificationChannel
data NotificationChannel Source #
A NotificationChannel is a medium through which an alert is delivered when a policy violation is detected. Examples of channels include email, SMS, and third-party messaging applications. Fields containing sensitive information like authentication tokens or contact info are only partially populated on retrieval.
See: notificationChannel
smart constructor.
Instances
notificationChannel :: NotificationChannel Source #
Creates a value of NotificationChannel
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ncEnabled :: Lens' NotificationChannel (Maybe Bool) Source #
Whether notifications are forwarded to the described channel. This makes it possible to disable delivery of notifications to a particular channel without removing the channel from all alerting policies that reference the channel. This is a more convenient approach when the change is temporary and you want to receive notifications from the same set of alerting policies on the channel at some point in the future.
ncUserLabels :: Lens' NotificationChannel (Maybe NotificationChannelUserLabels) Source #
User-supplied key/value data that does not need to conform to the corresponding NotificationChannelDescriptor's schema, unlike the labels field. This field is intended to be used for organizing and identifying the NotificationChannel objects.The field can contain up to 64 entries. Each key and value is limited to 63 Unicode characters or 128 bytes, whichever is smaller. Labels and values can contain only lowercase letters, numerals, underscores, and dashes. Keys must begin with a letter.
ncName :: Lens' NotificationChannel (Maybe Text) Source #
The full REST resource name for this channel. The syntax is: projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID] The [CHANNEL_ID] is automatically assigned by the server on creation.
ncDisplayName :: Lens' NotificationChannel (Maybe Text) Source #
An optional human-readable name for this notification channel. It is recommended that you specify a non-empty and unique name in order to make it easier to identify the channels in your project, though this is not enforced. The display name is limited to 512 Unicode characters.
ncVerificationStatus :: Lens' NotificationChannel (Maybe NotificationChannelVerificationStatus) Source #
Indicates whether this channel has been verified or not. On a ListNotificationChannels or GetNotificationChannel operation, this field is expected to be populated.If the value is UNVERIFIED, then it indicates that the channel is non-functioning (it both requires verification and lacks verification); otherwise, it is assumed that the channel works.If the channel is neither VERIFIED nor UNVERIFIED, it implies that the channel is of a type that does not require verification or that this specific channel has been exempted from verification because it was created prior to verification being required for channels of this type.This field cannot be modified using a standard UpdateNotificationChannel operation. To change the value of this field, you must call VerifyNotificationChannel.
ncLabels :: Lens' NotificationChannel (Maybe NotificationChannelLabels) Source #
Configuration fields that define the channel and its behavior. The permissible and required labels are specified in the NotificationChannelDescriptor.labels of the NotificationChannelDescriptor corresponding to the type field.
ncType :: Lens' NotificationChannel (Maybe Text) Source #
The type of the notification channel. This field matches the value of the NotificationChannelDescriptor.type field.
ncDescription :: Lens' NotificationChannel (Maybe Text) Source #
An optional human-readable description of this notification channel. This description may provide additional details, beyond the display name, for the channel. This may not exceeed 1024 Unicode characters.
ListMonitoredResourceDescriptorsResponse
data ListMonitoredResourceDescriptorsResponse Source #
The ListMonitoredResourceDescriptors response.
See: listMonitoredResourceDescriptorsResponse
smart constructor.
Instances
listMonitoredResourceDescriptorsResponse :: ListMonitoredResourceDescriptorsResponse Source #
Creates a value of ListMonitoredResourceDescriptorsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lmrdrNextPageToken :: Lens' ListMonitoredResourceDescriptorsResponse (Maybe Text) Source #
If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as pageToken in the next call to this method.
lmrdrResourceDescriptors :: Lens' ListMonitoredResourceDescriptorsResponse [MonitoredResourceDescriptor] Source #
The monitored resource descriptors that are available to this project and that match filter, if present.
LabelDescriptorValueType
data LabelDescriptorValueType Source #
The type of data that can be assigned to the label.
String |
|
Bool |
|
INT64 |
|
Instances
Explicit
Specifies a set of buckets with arbitrary widths.There are size(bounds) + 1 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-1): boundsi Lower bound (1 <= i < N); boundsi - 1The bounds field must contain at least one element. If bounds has only one element, then there are no finite buckets, and that single element is the common boundary of the overflow and underflow buckets.
See: explicit
smart constructor.
Instances
Eq Explicit Source # | |
Data Explicit Source # | |
Defined in Network.Google.Monitoring.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Explicit -> c Explicit # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Explicit # toConstr :: Explicit -> Constr # dataTypeOf :: Explicit -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Explicit) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Explicit) # gmapT :: (forall b. Data b => b -> b) -> Explicit -> Explicit # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Explicit -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Explicit -> r # gmapQ :: (forall d. Data d => d -> u) -> Explicit -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Explicit -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Explicit -> m Explicit # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Explicit -> m Explicit # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Explicit -> m Explicit # | |
Show Explicit Source # | |
Generic Explicit Source # | |
ToJSON Explicit Source # | |
Defined in Network.Google.Monitoring.Types.Product | |
FromJSON Explicit Source # | |
type Rep Explicit Source # | |
Defined in Network.Google.Monitoring.Types.Product |
MetricLabels
data MetricLabels Source #
The set of label values that uniquely identify this metric. All labels listed in the MetricDescriptor must be assigned values.
See: metricLabels
smart constructor.
Instances
Creates a value of MetricLabels
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
CollectdPayloadMetadata
data CollectdPayloadMetadata Source #
The measurement metadata. Example: "process_id" -> 12345
See: collectdPayloadMetadata
smart constructor.
Instances
collectdPayloadMetadata Source #
Creates a value of CollectdPayloadMetadata
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
CollectdValue
data CollectdValue Source #
A single data point from a collectd-based plugin.
See: collectdValue
smart constructor.
Instances
collectdValue :: CollectdValue Source #
Creates a value of CollectdValue
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cvDataSourceName :: Lens' CollectdValue (Maybe Text) Source #
The data source for the collectd value. For example there are two data sources for network measurements: "rx" and "tx".
cvDataSourceType :: Lens' CollectdValue (Maybe CollectdValueDataSourceType) Source #
The type of measurement.
cvValue :: Lens' CollectdValue (Maybe TypedValue) Source #
The measurement value.
CreateCollectdTimeSeriesRequest
data CreateCollectdTimeSeriesRequest Source #
The CreateCollectdTimeSeries request.
See: createCollectdTimeSeriesRequest
smart constructor.
Instances
createCollectdTimeSeriesRequest :: CreateCollectdTimeSeriesRequest Source #
Creates a value of CreateCollectdTimeSeriesRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cctsrCollectdPayloads :: Lens' CreateCollectdTimeSeriesRequest [CollectdPayload] Source #
The collectd payloads representing the time series data. You must not include more than a single point for each time series, so no two payloads can have the same values for all of the fields plugin, plugin_instance, type, and type_instance.
cctsrResource :: Lens' CreateCollectdTimeSeriesRequest (Maybe MonitoredResource) Source #
The monitored resource associated with the time series.
cctsrCollectdVersion :: Lens' CreateCollectdTimeSeriesRequest (Maybe Text) Source #
The version of collectd that collected the data. Example: "5.3.0-192.el6".
TypeSyntax
data TypeSyntax Source #
The source syntax.
SyntaxPROTO2 |
|
SyntaxPROTO3 |
|
Instances
Aggregation
data Aggregation Source #
Describes how to combine multiple time series to provide different views of the data. Aggregation consists of an alignment step on individual time series (alignment_period and per_series_aligner) followed by an optional reduction step of the data across the aligned time series (cross_series_reducer and group_by_fields). For more details, see Aggregation.
See: aggregation
smart constructor.
Instances
aggregation :: Aggregation Source #
Creates a value of Aggregation
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
aPerSeriesAligner :: Lens' Aggregation (Maybe AggregationPerSeriesAligner) Source #
The approach to be used to align individual time series. Not all alignment functions may be applied to all time series, depending on the metric type and value type of the original time series. Alignment may change the metric type or the value type of the time series.Time series data must be aligned in order to perform cross-time series reduction. If crossSeriesReducer is specified, then perSeriesAligner must be specified and not equal ALIGN_NONE and alignmentPeriod must be specified; otherwise, an error is returned.
aCrossSeriesReducer :: Lens' Aggregation (Maybe AggregationCrossSeriesReducer) Source #
The approach to be used to combine time series. Not all reducer functions may be applied to all time series, depending on the metric type and the value type of the original time series. Reduction may change the metric type of value type of the time series.Time series data must be aligned in order to perform cross-time series reduction. If crossSeriesReducer is specified, then perSeriesAligner must be specified and not equal ALIGN_NONE and alignmentPeriod must be specified; otherwise, an error is returned.
aAlignmentPeriod :: Lens' Aggregation (Maybe Scientific) Source #
The alignment period for per-time series alignment. If present, alignmentPeriod must be at least 60 seconds. After per-time series alignment, each time series will contain data points only on the period boundaries. If perSeriesAligner is not specified or equals ALIGN_NONE, then this field is ignored. If perSeriesAligner is specified and does not equal ALIGN_NONE, then this field must be defined; otherwise an error is returned.
aGroupByFields :: Lens' Aggregation [Text] Source #
The set of fields to preserve when crossSeriesReducer is specified. The groupByFields determine how the time series are partitioned into subsets prior to applying the aggregation function. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The crossSeriesReducer is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains resource.type. Fields not specified in groupByFields are aggregated away. If groupByFields is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If crossSeriesReducer is not defined, this field is ignored.
UptimeCheckConfig
data UptimeCheckConfig Source #
This message configures which resources and services to monitor for availability.
See: uptimeCheckConfig
smart constructor.
Instances
uptimeCheckConfig :: UptimeCheckConfig Source #
Creates a value of UptimeCheckConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uccInternalCheckers :: Lens' UptimeCheckConfig [InternalChecker] Source #
The internal checkers that this check will egress from. If is_internal is true and this list is empty, the check will egress from all the InternalCheckers configured for the project that owns this CheckConfig.
uccPeriod :: Lens' UptimeCheckConfig (Maybe Scientific) Source #
How often, in seconds, the uptime check is performed. Currently, the only supported values are 60s (1 minute), 300s (5 minutes), 600s (10 minutes), and 900s (15 minutes). Optional, defaults to 300s.
uccContentMatchers :: Lens' UptimeCheckConfig [ContentMatcher] Source #
The expected content on the page the check is run against. Currently, only the first entry in the list is supported, and other entries will be ignored. The server will look for an exact match of the string in the page response's content. This field is optional and should only be specified if a content match is required.
uccName :: Lens' UptimeCheckConfig (Maybe Text) Source #
A unique resource name for this UptimeCheckConfig. The format is:projects/[PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID].This field should be omitted when creating the uptime check configuration; on create, the resource name is assigned by the server and included in the response.
uccMonitoredResource :: Lens' UptimeCheckConfig (Maybe MonitoredResource) Source #
The monitored resource (https://cloud.google.com/monitoring/api/resources) associated with the configuration. The following monitored resource types are supported for uptime checks: uptime_url gce_instance gae_app aws_ec2_instance aws_elb_load_balancer
uccSelectedRegions :: Lens' UptimeCheckConfig [Text] Source #
The list of regions from which the check will be run. Some regions contain one location, and others contain more than one. If this field is specified, enough regions to include a minimum of 3 locations must be provided, or an error message is returned. Not specifying this field will result in uptime checks running from all regions.
uccIsInternal :: Lens' UptimeCheckConfig (Maybe Bool) Source #
If this is true, then checks are made only from the 'internal_checkers'. If it is false, then checks are made only from the 'selected_regions'. It is an error to provide 'selected_regions' when is_internal is true, or to provide 'internal_checkers' when is_internal is false.
uccDisplayName :: Lens' UptimeCheckConfig (Maybe Text) Source #
A human-friendly name for the uptime check configuration. The display name should be unique within a Stackdriver Workspace in order to make it easier to identify; however, uniqueness is not enforced. Required.
uccResourceGroup :: Lens' UptimeCheckConfig (Maybe ResourceGroup) Source #
The group resource associated with the configuration.
uccTimeout :: Lens' UptimeCheckConfig (Maybe Scientific) Source #
The maximum amount of time to wait for the request to complete (must be between 1 and 60 seconds). Required.
uccHTTPCheck :: Lens' UptimeCheckConfig (Maybe HTTPCheck) Source #
Contains information needed to make an HTTP or HTTPS check.
uccTCPCheck :: Lens' UptimeCheckConfig (Maybe TCPCheck) Source #
Contains information needed to make a TCP check.
Point
A single data point in a time series.
See: point
smart constructor.
Instances
Eq Point Source # | |
Data Point Source # | |
Defined in Network.Google.Monitoring.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Point -> c Point # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Point # dataTypeOf :: Point -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Point) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Point) # gmapT :: (forall b. Data b => b -> b) -> Point -> Point # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Point -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Point -> r # gmapQ :: (forall d. Data d => d -> u) -> Point -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Point -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Point -> m Point # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Point -> m Point # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Point -> m Point # | |
Show Point Source # | |
Generic Point Source # | |
ToJSON Point Source # | |
Defined in Network.Google.Monitoring.Types.Product | |
FromJSON Point Source # | |
type Rep Point Source # | |
Defined in Network.Google.Monitoring.Types.Product type Rep Point = D1 (MetaData "Point" "Network.Google.Monitoring.Types.Product" "gogol-monitoring-0.4.0-2c26UZAXxP5IDqve62RFQh" False) (C1 (MetaCons "Point'" PrefixI True) (S1 (MetaSel (Just "_pValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TypedValue)) :*: S1 (MetaSel (Just "_pInterval") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TimeInterval)))) |
pInterval :: Lens' Point (Maybe TimeInterval) Source #
The time interval to which the data point applies. For GAUGE metrics, only the end time of the interval is used. For DELTA metrics, the start and end time should specify a non-zero interval, with subsequent points specifying contiguous and non-overlapping intervals. For CUMULATIVE metrics, the start and end time should specify a non-zero interval, with subsequent points specifying the same start time and increasing end times, until an event resets the cumulative value to zero and sets a new start time for the following points.
CollectdPayload
data CollectdPayload Source #
A collection of data points sent from a collectd-based plugin. See the collectd documentation for more information.
See: collectdPayload
smart constructor.
Instances
collectdPayload :: CollectdPayload Source #
Creates a value of CollectdPayload
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cpStartTime :: Lens' CollectdPayload (Maybe UTCTime) Source #
The start time of the interval.
cpPluginInstance :: Lens' CollectdPayload (Maybe Text) Source #
The instance name of the plugin Example: "hdcl".
cpValues :: Lens' CollectdPayload [CollectdValue] Source #
The measured values during this time interval. Each value must have a different dataSourceName.
cpTypeInstance :: Lens' CollectdPayload (Maybe Text) Source #
The measurement type instance. Example: "used".
cpMetadata :: Lens' CollectdPayload (Maybe CollectdPayloadMetadata) Source #
The measurement metadata. Example: "process_id" -> 12345
MutationRecord
data MutationRecord Source #
Describes a change made to a configuration.
See: mutationRecord
smart constructor.
Instances
mutationRecord :: MutationRecord Source #
Creates a value of MutationRecord
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
mrMutatedBy :: Lens' MutationRecord (Maybe Text) Source #
The email address of the user making the change.
mrMutateTime :: Lens' MutationRecord (Maybe UTCTime) Source #
When the change occurred.
Metric
A specific metric, identified by specifying values for all of the labels of a MetricDescriptor.
See: metric
smart constructor.
Instances
Eq Metric Source # | |
Data Metric Source # | |
Defined in Network.Google.Monitoring.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Metric -> c Metric # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Metric # toConstr :: Metric -> Constr # dataTypeOf :: Metric -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Metric) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Metric) # gmapT :: (forall b. Data b => b -> b) -> Metric -> Metric # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Metric -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Metric -> r # gmapQ :: (forall d. Data d => d -> u) -> Metric -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Metric -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Metric -> m Metric # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Metric -> m Metric # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Metric -> m Metric # | |
Show Metric Source # | |
Generic Metric Source # | |
ToJSON Metric Source # | |
Defined in Network.Google.Monitoring.Types.Product | |
FromJSON Metric Source # | |
type Rep Metric Source # | |
Defined in Network.Google.Monitoring.Types.Product type Rep Metric = D1 (MetaData "Metric" "Network.Google.Monitoring.Types.Product" "gogol-monitoring-0.4.0-2c26UZAXxP5IDqve62RFQh" False) (C1 (MetaCons "Metric'" PrefixI True) (S1 (MetaSel (Just "_mLabels") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe MetricLabels)) :*: S1 (MetaSel (Just "_mType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) |
mLabels :: Lens' Metric (Maybe MetricLabels) Source #
The set of label values that uniquely identify this metric. All labels listed in the MetricDescriptor must be assigned values.
mType :: Lens' Metric (Maybe Text) Source #
An existing metric type, see google.api.MetricDescriptor. For example, custom.googleapis.com/invoice/paid/amount.
CollectdPayloadError
data CollectdPayloadError Source #
Describes the error status for payloads that were not written.
See: collectdPayloadError
smart constructor.
Instances
collectdPayloadError :: CollectdPayloadError Source #
Creates a value of CollectdPayloadError
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cpeError :: Lens' CollectdPayloadError (Maybe Status) Source #
Records the error status for the payload. If this field is present, the partial errors for nested values won't be populated.
cpeValueErrors :: Lens' CollectdPayloadError [CollectdValueError] Source #
Records the error status for values that were not written due to an error.Failed payloads for which nothing is written will not include partial value errors.
cpeIndex :: Lens' CollectdPayloadError (Maybe Int32) Source #
The zero-based index in CreateCollectdTimeSeriesRequest.collectd_payloads.
SendNotificationChannelVerificationCodeRequest
data SendNotificationChannelVerificationCodeRequest Source #
The SendNotificationChannelVerificationCode request.
See: sendNotificationChannelVerificationCodeRequest
smart constructor.
Instances
sendNotificationChannelVerificationCodeRequest :: SendNotificationChannelVerificationCodeRequest Source #
Creates a value of SendNotificationChannelVerificationCodeRequest
with the minimum fields required to make a request.
Exponential
data Exponential Source #
Specifies an exponential sequence of buckets that have a width that is proportional to the value of the lower bound. Each bucket represents a constant relative uncertainty on a specific value in the bucket.There are num_finite_buckets + 2 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-1): scale * (growth_factor ^ i). Lower bound (1 <= i < N): scale * (growth_factor ^ (i - 1)).
See: exponential
smart constructor.
Instances
exponential :: Exponential Source #
Creates a value of Exponential
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
eGrowthFactor :: Lens' Exponential (Maybe Double) Source #
Must be greater than 1.
eNumFiniteBuckets :: Lens' Exponential (Maybe Int32) Source #
Must be greater than 0.
ResourceGroupResourceType
data ResourceGroupResourceType Source #
The resource type of the group members.
ResourceTypeUnspecified |
|
Instance |
|
AwsElbLoadBalancer |
|
Instances
Range
The range of the population values.
See: range
smart constructor.
Instances
Eq Range Source # | |
Data Range Source # | |
Defined in Network.Google.Monitoring.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Range -> c Range # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Range # dataTypeOf :: Range -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Range) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Range) # gmapT :: (forall b. Data b => b -> b) -> Range -> Range # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Range -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Range -> r # gmapQ :: (forall d. Data d => d -> u) -> Range -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Range -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Range -> m Range # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Range -> m Range # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Range -> m Range # | |
Show Range Source # | |
Generic Range Source # | |
ToJSON Range Source # | |
Defined in Network.Google.Monitoring.Types.Product | |
FromJSON Range Source # | |
type Rep Range Source # | |
Defined in Network.Google.Monitoring.Types.Product type Rep Range = D1 (MetaData "Range" "Network.Google.Monitoring.Types.Product" "gogol-monitoring-0.4.0-2c26UZAXxP5IDqve62RFQh" False) (C1 (MetaCons "Range'" PrefixI True) (S1 (MetaSel (Just "_rMax") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double))) :*: S1 (MetaSel (Just "_rMin") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double))))) |
MonitoredResource
data MonitoredResource Source #
An object representing a resource that can be used for monitoring, logging, billing, or other purposes. Examples include virtual machine instances, databases, and storage devices such as disks. The type field identifies a MonitoredResourceDescriptor object that describes the resource's schema. Information in the labels field identifies the actual resource and its attributes according to the schema. For example, a particular Compute Engine VM instance could be represented by the following object, because the MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and "zone": { "type": "gce_instance", "labels": { "instance_id": "12345678901234", "zone": "us-central1-a" }}
See: monitoredResource
smart constructor.
Instances
monitoredResource :: MonitoredResource Source #
Creates a value of MonitoredResource
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
mrLabels :: Lens' MonitoredResource (Maybe MonitoredResourceLabels) Source #
Required. Values for all of the labels listed in the associated monitored resource descriptor. For example, Compute Engine VM instances use the labels "project_id", "instance_id", and "zone".
mrType :: Lens' MonitoredResource (Maybe Text) Source #
Required. The monitored resource type. This field must match the type field of a MonitoredResourceDescriptor object. For example, the type of a Compute Engine VM instance is gce_instance. For a list of types, see Monitoring resource types and Logging resource types.
UptimeCheckIP
data UptimeCheckIP Source #
Contains the region, location, and list of IP addresses where checkers in the location run from.
See: uptimeCheckIP
smart constructor.
Instances
uptimeCheckIP :: UptimeCheckIP Source #
Creates a value of UptimeCheckIP
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uciIPAddress :: Lens' UptimeCheckIP (Maybe Text) Source #
The IP address from which the uptime check originates. This is a full IP address (not an IP address range). Most IP addresses, as of this publication, are in IPv4 format; however, one should not rely on the IP addresses being in IPv4 format indefinitely and should support interpreting this field in either IPv4 or IPv6 format.
uciLocation :: Lens' UptimeCheckIP (Maybe Text) Source #
A more specific location within the region that typically encodes a particular city/town/metro (and its containing state/province or country) within the broader umbrella region category.
uciRegion :: Lens' UptimeCheckIP (Maybe UptimeCheckIPRegion) Source #
A broad region category in which the IP address is located.
AlertPolicyUserLabels
data AlertPolicyUserLabels Source #
User-supplied key/value data to be used for organizing and identifying the AlertPolicy objects.The field can contain up to 64 entries. Each key and value is limited to 63 Unicode characters or 128 bytes, whichever is smaller. Labels and values can contain only lowercase letters, numerals, underscores, and dashes. Keys must begin with a letter.
See: alertPolicyUserLabels
smart constructor.
Instances
alertPolicyUserLabels Source #
Creates a value of AlertPolicyUserLabels
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Documentation
data Documentation Source #
A content string and a MIME type that describes the content string's format.
See: documentation
smart constructor.
Instances
documentation :: Documentation Source #
Creates a value of Documentation
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dContent :: Lens' Documentation (Maybe Text) Source #
The text of the documentation, interpreted according to mime_type. The content may not exceed 8,192 Unicode characters and may not exceed more than 10,240 bytes when encoded in UTF-8 format, whichever is smaller.
dMimeType :: Lens' Documentation (Maybe Text) Source #
The format of the content field. Presently, only the value "text/markdown" is supported. See Markdown (https://en.wikipedia.org/wiki/Markdown) for more information.
Xgafv
V1 error format.
Instances
Exemplar
Exemplars are example points that may be used to annotate aggregated distribution values. They are metadata that gives information about a particular value added to a Distribution bucket, such as a trace ID that was active when a value was added. They may contain further information, such as a example values and timestamps, origin, etc.
See: exemplar
smart constructor.
Instances
Eq Exemplar Source # | |
Data Exemplar Source # | |
Defined in Network.Google.Monitoring.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Exemplar -> c Exemplar # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Exemplar # toConstr :: Exemplar -> Constr # dataTypeOf :: Exemplar -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Exemplar) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Exemplar) # gmapT :: (forall b. Data b => b -> b) -> Exemplar -> Exemplar # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Exemplar -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Exemplar -> r # gmapQ :: (forall d. Data d => d -> u) -> Exemplar -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Exemplar -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Exemplar -> m Exemplar # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Exemplar -> m Exemplar # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Exemplar -> m Exemplar # | |
Show Exemplar Source # | |
Generic Exemplar Source # | |
ToJSON Exemplar Source # | |
Defined in Network.Google.Monitoring.Types.Product | |
FromJSON Exemplar Source # | |
type Rep Exemplar Source # | |
Defined in Network.Google.Monitoring.Types.Product type Rep Exemplar = D1 (MetaData "Exemplar" "Network.Google.Monitoring.Types.Product" "gogol-monitoring-0.4.0-2c26UZAXxP5IDqve62RFQh" False) (C1 (MetaCons "Exemplar'" PrefixI True) (S1 (MetaSel (Just "_eAttachments") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ExemplarAttachmentsItem])) :*: (S1 (MetaSel (Just "_eValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double))) :*: S1 (MetaSel (Just "_eTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime'))))) |
Creates a value of Exemplar
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
eAttachments :: Lens' Exemplar [ExemplarAttachmentsItem] Source #
Contextual information about the example value. Examples are:Trace ID: type.googleapis.com/google.devtools.cloudtrace.v1.TraceLiteral string: type.googleapis.com/google.protobuf.StringValueLabels dropped during aggregation: type.googleapis.com/google.monitoring.v3.DroppedLabelsThere may be only a single attachment of any given message type in a single exemplar, and this is enforced by the system.
eValue :: Lens' Exemplar (Maybe Double) Source #
Value of the exemplar point. This value determines to which bucket the exemplar belongs.
eTimestamp :: Lens' Exemplar (Maybe UTCTime) Source #
The observation (sampling) time of the above value.
MetricDescriptorMetadata
data MetricDescriptorMetadata Source #
Additional annotations that can be used to guide the usage of a metric.
See: metricDescriptorMetadata
smart constructor.
Instances
metricDescriptorMetadata :: MetricDescriptorMetadata Source #
Creates a value of MetricDescriptorMetadata
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
mdmSamplePeriod :: Lens' MetricDescriptorMetadata (Maybe Scientific) Source #
The sampling period of metric data points. For metrics which are written periodically, consecutive data points are stored at this time interval, excluding data loss due to errors. Metrics with a higher granularity have a smaller sampling period.
mdmIngestDelay :: Lens' MetricDescriptorMetadata (Maybe Scientific) Source #
The delay of data points caused by ingestion. Data points older than this age are guaranteed to be ingested and available to be read, excluding data loss due to errors.
mdmLaunchStage :: Lens' MetricDescriptorMetadata (Maybe MetricDescriptorMetadataLaunchStage) Source #
The launch stage of the metric definition.
TimeInterval
data TimeInterval Source #
A time interval extending just after a start time through an end time. The start time must not be later than the end time. The default start time is the end time, making the startTime value technically optional. Whether this is useful depends on the MetricKind. If the start and end times are the same, the interval represents a point in time. This is appropriate for GAUGE metrics, but not for DELTA and CUMULATIVE metrics, which cover a span of time.
See: timeInterval
smart constructor.
Instances
timeInterval :: TimeInterval Source #
Creates a value of TimeInterval
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tiStartTime :: Lens' TimeInterval (Maybe UTCTime) Source #
Optional. The beginning of the time interval. The default value for the start time is the end time. The start time must not be later than the end time.
HTTPCheckHeaders
data HTTPCheckHeaders Source #
The list of headers to send as part of the uptime check request. If two headers have the same key and different values, they should be entered as a single header, with the value being a comma-separated list of all the desired values as described at https://www.w3.org/Protocols/rfc2616/rfc2616.txt (page 31). Entering two separate headers with the same key in a Create call will cause the first to be overwritten by the second. The maximum number of headers allowed is 100.
See: hTTPCheckHeaders
smart constructor.
Instances
Creates a value of HTTPCheckHeaders
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
TimeSeriesMetricKind
data TimeSeriesMetricKind Source #
The metric kind of the time series. When listing time series, this metric kind might be different from the metric kind of the associated metric if this time series is an alignment or reduction of other time series.When creating a time series, this field is optional. If present, it must be the same as the metric kind of the associated metric. If the associated metric's descriptor must be auto-created, then this field specifies the metric kind of the new descriptor and must be either GAUGE (the default) or CUMULATIVE.
TSMKMetricKindUnspecified |
|
TSMKGauge |
|
TSMKDelta |
|
TSMKCumulative |
|
Instances
MonitoredResourceMetadataSystemLabels
data MonitoredResourceMetadataSystemLabels Source #
Output only. Values for predefined system metadata labels. System labels are a kind of metadata extracted by Google, including "machine_image", "vpc", "subnet_id", "security_group", "name", etc. System label values can be only strings, Boolean values, or a list of strings. For example: { "name": "my-test-instance", "security_group": ["a", "b", "c"], "spot_instance": false }
See: monitoredResourceMetadataSystemLabels
smart constructor.
Instances
monitoredResourceMetadataSystemLabels Source #
Creates a value of MonitoredResourceMetadataSystemLabels
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
mrmslAddtional :: Lens' MonitoredResourceMetadataSystemLabels (HashMap Text JSONValue) Source #
Properties of the object.
ContentMatcher
data ContentMatcher Source #
Used to perform string matching. It allows substring and regular expressions, together with their negations.
See: contentMatcher
smart constructor.
Instances
contentMatcher :: ContentMatcher Source #
Creates a value of ContentMatcher
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cmContent :: Lens' ContentMatcher (Maybe Text) Source #
String or regex content to match (max 1024 bytes)
ListGroupMembersResponse
data ListGroupMembersResponse Source #
The ListGroupMembers response.
See: listGroupMembersResponse
smart constructor.
Instances
listGroupMembersResponse :: ListGroupMembersResponse Source #
Creates a value of ListGroupMembersResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lgmrNextPageToken :: Lens' ListGroupMembersResponse (Maybe Text) Source #
If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as pageToken in the next call to this method.
lgmrMembers :: Lens' ListGroupMembersResponse [MonitoredResource] Source #
A set of monitored resources in the group.
lgmrTotalSize :: Lens' ListGroupMembersResponse (Maybe Int32) Source #
The total number of elements matching this request.
LabelDescriptor
data LabelDescriptor Source #
A description of a label.
See: labelDescriptor
smart constructor.
Instances
labelDescriptor :: LabelDescriptor Source #
Creates a value of LabelDescriptor
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ldValueType :: Lens' LabelDescriptor (Maybe LabelDescriptorValueType) Source #
The type of data that can be assigned to the label.
ldDescription :: Lens' LabelDescriptor (Maybe Text) Source #
A human-readable description for the label.
TimeSeriesValueType
data TimeSeriesValueType Source #
The value type of the time series. When listing time series, this value type might be different from the value type of the associated metric if this time series is an alignment or reduction of other time series.When creating a time series, this field is optional. If present, it must be the same as the type of the data in the points field.
TSVTValueTypeUnspecified |
|
TSVTBool |
|
TSVTINT64 |
|
TSVTDouble |
|
TSVTString |
|
TSVTDistribution |
|
TSVTMoney |
|
Instances
Linear
Specifies a linear sequence of buckets that all have the same width (except overflow and underflow). Each bucket represents a constant absolute uncertainty on the specific value in the bucket.There are num_finite_buckets + 2 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-1): offset + (width * i). Lower bound (1 <= i < N): offset + (width * (i - 1)).
See: linear
smart constructor.
Instances
Eq Linear Source # | |
Data Linear Source # | |
Defined in Network.Google.Monitoring.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Linear -> c Linear # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Linear # toConstr :: Linear -> Constr # dataTypeOf :: Linear -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Linear) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Linear) # gmapT :: (forall b. Data b => b -> b) -> Linear -> Linear # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Linear -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Linear -> r # gmapQ :: (forall d. Data d => d -> u) -> Linear -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Linear -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Linear -> m Linear # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Linear -> m Linear # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Linear -> m Linear # | |
Show Linear Source # | |
Generic Linear Source # | |
ToJSON Linear Source # | |
Defined in Network.Google.Monitoring.Types.Product | |
FromJSON Linear Source # | |
type Rep Linear Source # | |
Defined in Network.Google.Monitoring.Types.Product type Rep Linear = D1 (MetaData "Linear" "Network.Google.Monitoring.Types.Product" "gogol-monitoring-0.4.0-2c26UZAXxP5IDqve62RFQh" False) (C1 (MetaCons "Linear'" PrefixI True) (S1 (MetaSel (Just "_lOffSet") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double))) :*: (S1 (MetaSel (Just "_lWidth") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double))) :*: S1 (MetaSel (Just "_lNumFiniteBuckets") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))))) |
Creates a value of Linear
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
AlertPolicyCombiner
data AlertPolicyCombiner Source #
How to combine the results of multiple conditions to determine if an incident should be opened.
CombineUnspecified |
|
And |
|
OR |
|
AndWithMatchingResource |
|
Instances
ListUptimeCheckIPsResponse
data ListUptimeCheckIPsResponse Source #
The protocol for the ListUptimeCheckIps response.
See: listUptimeCheckIPsResponse
smart constructor.
Instances
listUptimeCheckIPsResponse :: ListUptimeCheckIPsResponse Source #
Creates a value of ListUptimeCheckIPsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lucirNextPageToken :: Lens' ListUptimeCheckIPsResponse (Maybe Text) Source #
This field represents the pagination token to retrieve the next page of results. If the value is empty, it means no further results for the request. To retrieve the next page of results, the value of the next_page_token is passed to the subsequent List method call (in the request message's page_token field). NOTE: this field is not yet implemented
lucirUptimeCheckIPs :: Lens' ListUptimeCheckIPsResponse [UptimeCheckIP] Source #
The returned list of IP addresses (including region and location) that the checkers run from.
GetNotificationChannelVerificationCodeRequest
data GetNotificationChannelVerificationCodeRequest Source #
The GetNotificationChannelVerificationCode request.
See: getNotificationChannelVerificationCodeRequest
smart constructor.
Instances
getNotificationChannelVerificationCodeRequest :: GetNotificationChannelVerificationCodeRequest Source #
Creates a value of GetNotificationChannelVerificationCodeRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gExpireTime :: Lens' GetNotificationChannelVerificationCodeRequest (Maybe UTCTime) Source #
The desired expiration time. If specified, the API will guarantee that the returned code will not be valid after the specified timestamp; however, the API cannot guarantee that the returned code will be valid for at least as long as the requested time (the API puts an upper bound on the amount of time for which a code may be valid). If omitted, a default expiration will be used, which may be less than the max permissible expiration (so specifying an expiration may extend the code's lifetime over omitting an expiration, even though the API does impose an upper limit on the maximum expiration that is permitted).
ResourceGroup
data ResourceGroup Source #
The resource submessage for group checks. It can be used instead of a monitored resource, when multiple resources are being monitored.
See: resourceGroup
smart constructor.
Instances
resourceGroup :: ResourceGroup Source #
Creates a value of ResourceGroup
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rgResourceType :: Lens' ResourceGroup (Maybe ResourceGroupResourceType) Source #
The resource type of the group members.
rgGroupId :: Lens' ResourceGroup (Maybe Text) Source #
The group of resources being monitored. Should be only the group_id, not projects//groups/.
DroppedLabels
data DroppedLabels Source #
A set of (label, value) pairs which were dropped during aggregation, attached to google.api.Distribution.Exemplars in google.api.Distribution values during aggregation.These values are used in combination with the label values that remain on the aggregated Distribution timeseries to construct the full label set for the exemplar values. The resulting full label set may be used to identify the specific task/job/instance (for example) which may be contributing to a long-tail, while allowing the storage savings of only storing aggregated distribution values for a large group.Note that there are no guarantees on ordering of the labels from exemplar-to-exemplar and from distribution-to-distribution in the same stream, and there may be duplicates. It is up to clients to resolve any ambiguities.
See: droppedLabels
smart constructor.
Instances
droppedLabels :: DroppedLabels Source #
Creates a value of DroppedLabels
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dlLabel :: Lens' DroppedLabels (Maybe DroppedLabelsLabel) Source #
Map from label to its value, for all labels dropped in any aggregation.
FieldCardinality
data FieldCardinality Source #
The field cardinality.
CardinalityUnknown |
|
CardinalityOptional |
|
CardinalityRequired |
|
CardinalityRepeated |
|
Instances
Trigger
Specifies how many time series must fail a predicate to trigger a condition. If not specified, then a {count: 1} trigger is used.
See: trigger
smart constructor.
Instances
Eq Trigger Source # | |
Data Trigger Source # | |
Defined in Network.Google.Monitoring.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Trigger -> c Trigger # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Trigger # toConstr :: Trigger -> Constr # dataTypeOf :: Trigger -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Trigger) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Trigger) # gmapT :: (forall b. Data b => b -> b) -> Trigger -> Trigger # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Trigger -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Trigger -> r # gmapQ :: (forall d. Data d => d -> u) -> Trigger -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Trigger -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Trigger -> m Trigger # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Trigger -> m Trigger # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Trigger -> m Trigger # | |
Show Trigger Source # | |
Generic Trigger Source # | |
ToJSON Trigger Source # | |
Defined in Network.Google.Monitoring.Types.Product | |
FromJSON Trigger Source # | |
type Rep Trigger Source # | |
Defined in Network.Google.Monitoring.Types.Product type Rep Trigger = D1 (MetaData "Trigger" "Network.Google.Monitoring.Types.Product" "gogol-monitoring-0.4.0-2c26UZAXxP5IDqve62RFQh" False) (C1 (MetaCons "Trigger'" PrefixI True) (S1 (MetaSel (Just "_tPercent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double))) :*: S1 (MetaSel (Just "_tCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))))) |
tPercent :: Lens' Trigger (Maybe Double) Source #
The percentage of time series that must fail the predicate for the condition to be triggered.
tCount :: Lens' Trigger (Maybe Int32) Source #
The absolute number of time series that must fail the predicate for the condition to be triggered.
Type
A protocol buffer message type.
See: type'
smart constructor.
Instances
Eq Type Source # | |
Data Type Source # | |
Defined in Network.Google.Monitoring.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Type -> c Type # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Type # dataTypeOf :: Type -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Type) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Type) # gmapT :: (forall b. Data b => b -> b) -> Type -> Type # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Type -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Type -> r # gmapQ :: (forall d. Data d => d -> u) -> Type -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Type -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Type -> m Type # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Type -> m Type # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Type -> m Type # | |
Show Type Source # | |
Generic Type Source # | |
ToJSON Type Source # | |
Defined in Network.Google.Monitoring.Types.Product | |
FromJSON Type Source # | |
type Rep Type Source # | |
Defined in Network.Google.Monitoring.Types.Product type Rep Type = D1 (MetaData "Type" "Network.Google.Monitoring.Types.Product" "gogol-monitoring-0.4.0-2c26UZAXxP5IDqve62RFQh" False) (C1 (MetaCons "Type'" PrefixI True) ((S1 (MetaSel (Just "_tSourceContext") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe SourceContext)) :*: (S1 (MetaSel (Just "_tOneofs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_tName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_tOptions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Option])) :*: (S1 (MetaSel (Just "_tFields") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Field])) :*: S1 (MetaSel (Just "_tSyntax") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TypeSyntax)))))) |
tSourceContext :: Lens' Type (Maybe SourceContext) Source #
The source context.
MetricDescriptorMetricKind
data MetricDescriptorMetricKind Source #
Whether the metric records instantaneous values, changes to a value, etc. Some combinations of metric_kind and value_type might not be supported.
MDMKMetricKindUnspecified |
|
MDMKGauge |
|
MDMKDelta |
|
MDMKCumulative |
|
Instances
CreateCollectdTimeSeriesResponse
data CreateCollectdTimeSeriesResponse Source #
The CreateCollectdTimeSeries response.
See: createCollectdTimeSeriesResponse
smart constructor.
Instances
createCollectdTimeSeriesResponse :: CreateCollectdTimeSeriesResponse Source #
Creates a value of CreateCollectdTimeSeriesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cctsrPayloadErrors :: Lens' CreateCollectdTimeSeriesResponse [CollectdPayloadError] Source #
Records the error status for points that were not written due to an error.Failed requests for which nothing is written will return an error response instead.
Option
A protocol buffer option, which can be attached to a message, field, enumeration, etc.
See: option
smart constructor.
Instances
Eq Option Source # | |
Data Option Source # | |
Defined in Network.Google.Monitoring.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Option -> c Option # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Option # toConstr :: Option -> Constr # dataTypeOf :: Option -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Option) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Option) # gmapT :: (forall b. Data b => b -> b) -> Option -> Option # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Option -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Option -> r # gmapQ :: (forall d. Data d => d -> u) -> Option -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Option -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Option -> m Option # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Option -> m Option # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Option -> m Option # | |
Show Option Source # | |
Generic Option Source # | |
ToJSON Option Source # | |
Defined in Network.Google.Monitoring.Types.Product | |
FromJSON Option Source # | |
type Rep Option Source # | |
Defined in Network.Google.Monitoring.Types.Product type Rep Option = D1 (MetaData "Option" "Network.Google.Monitoring.Types.Product" "gogol-monitoring-0.4.0-2c26UZAXxP5IDqve62RFQh" False) (C1 (MetaCons "Option'" PrefixI True) (S1 (MetaSel (Just "_oValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe OptionValue)) :*: S1 (MetaSel (Just "_oName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) |
oValue :: Lens' Option (Maybe OptionValue) Source #
The option's value packed in an Any message. If the value is a primitive, the corresponding wrapper type defined in google/protobuf/wrappers.proto should be used. If the value is an enum, it should be stored as an int32 value using the google.protobuf.Int32Value type.
oName :: Lens' Option (Maybe Text) Source #
The option's name. For protobuf built-in options (options defined in descriptor.proto), this is the short name. For example, "map_entry". For custom options, it should be the fully-qualified name. For example, "google.api.http".
Condition
A condition is a true/false test that determines when an alerting policy should open an incident. If a condition evaluates to true, it signifies that something is wrong.
See: condition
smart constructor.
Instances
condition :: Condition Source #
Creates a value of Condition
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cConditionAbsent :: Lens' Condition (Maybe MetricAbsence) Source #
A condition that checks that a time series continues to receive new data points.
cConditionThreshold :: Lens' Condition (Maybe MetricThreshold) Source #
A condition that compares a time series against a threshold.
cName :: Lens' Condition (Maybe Text) Source #
Required if the condition exists. The unique resource name for this condition. Its syntax is: projects/[PROJECT_ID]/alertPolicies/[POLICY_ID]/conditions/[CONDITION_ID] [CONDITION_ID] is assigned by Stackdriver Monitoring when the condition is created as part of a new or updated alerting policy.When calling the alertPolicies.create method, do not include the name field in the conditions of the requested alerting policy. Stackdriver Monitoring creates the condition identifiers and includes them in the new policy.When calling the alertPolicies.update method to update a policy, including a condition name causes the existing condition to be updated. Conditions without names are added to the updated policy. Existing conditions are deleted if they are not updated.Best practice is to preserve [CONDITION_ID] if you make only small changes, such as those to condition thresholds, durations, or trigger values. Otherwise, treat the change as a new condition and let the existing condition be deleted.
cDisplayName :: Lens' Condition (Maybe Text) Source #
A short name or phrase used to identify the condition in dashboards, notifications, and incidents. To avoid confusion, don't use the same display name for multiple conditions in the same policy.
BucketOptions
data BucketOptions Source #
BucketOptions describes the bucket boundaries used to create a histogram for the distribution. The buckets can be in a linear sequence, an exponential sequence, or each bucket can be specified explicitly. BucketOptions does not include the number of values in each bucket.A bucket has an inclusive lower bound and exclusive upper bound for the values that are counted for that bucket. The upper bound of a bucket must be strictly greater than the lower bound. The sequence of N buckets for a distribution consists of an underflow bucket (number 0), zero or more finite buckets (number 1 through N - 2) and an overflow bucket (number N - 1). The buckets are contiguous: the lower bound of bucket i (i > 0) is the same as the upper bound of bucket i - 1. The buckets span the whole range of finite values: lower bound of the underflow bucket is -infinity and the upper bound of the overflow bucket is +infinity. The finite buckets are so-called because both bounds are finite.
See: bucketOptions
smart constructor.
Instances
bucketOptions :: BucketOptions Source #
Creates a value of BucketOptions
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
boExponentialBuckets :: Lens' BucketOptions (Maybe Exponential) Source #
The exponential buckets.
boLinearBuckets :: Lens' BucketOptions (Maybe Linear) Source #
The linear bucket.
boExplicitBuckets :: Lens' BucketOptions (Maybe Explicit) Source #
The explicit buckets.
ListUptimeCheckConfigsResponse
data ListUptimeCheckConfigsResponse Source #
The protocol for the ListUptimeCheckConfigs response.
See: listUptimeCheckConfigsResponse
smart constructor.
Instances
listUptimeCheckConfigsResponse :: ListUptimeCheckConfigsResponse Source #
Creates a value of ListUptimeCheckConfigsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
luccrUptimeCheckConfigs :: Lens' ListUptimeCheckConfigsResponse [UptimeCheckConfig] Source #
The returned uptime check configurations.
luccrNextPageToken :: Lens' ListUptimeCheckConfigsResponse (Maybe Text) Source #
This field represents the pagination token to retrieve the next page of results. If the value is empty, it means no further results for the request. To retrieve the next page of results, the value of the next_page_token is passed to the subsequent List method call (in the request message's page_token field).
luccrTotalSize :: Lens' ListUptimeCheckConfigsResponse (Maybe Int32) Source #
The total number of uptime check configurations for the project, irrespective of any pagination.
HTTPCheck
Information involved in an HTTP/HTTPS uptime check request.
See: hTTPCheck
smart constructor.
Instances
hTTPCheck :: HTTPCheck Source #
Creates a value of HTTPCheck
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
httpcUseSSL :: Lens' HTTPCheck (Maybe Bool) Source #
If true, use HTTPS instead of HTTP to run the check.
httpcPath :: Lens' HTTPCheck (Maybe Text) Source #
The path to the page to run the check against. Will be combined with the host (specified within the MonitoredResource) and port to construct the full URL. Optional (defaults to "/").
httpcMaskHeaders :: Lens' HTTPCheck (Maybe Bool) Source #
Boolean specifiying whether to encrypt the header information. Encryption should be specified for any headers related to authentication that you do not wish to be seen when retrieving the configuration. The server will be responsible for encrypting the headers. On Get/List calls, if mask_headers is set to True then the headers will be obscured with ******.
httpcHeaders :: Lens' HTTPCheck (Maybe HTTPCheckHeaders) Source #
The list of headers to send as part of the uptime check request. If two headers have the same key and different values, they should be entered as a single header, with the value being a comma-separated list of all the desired values as described at https://www.w3.org/Protocols/rfc2616/rfc2616.txt (page 31). Entering two separate headers with the same key in a Create call will cause the first to be overwritten by the second. The maximum number of headers allowed is 100.
httpcAuthInfo :: Lens' HTTPCheck (Maybe BasicAuthentication) Source #
The authentication information. Optional when creating an HTTP check; defaults to empty.
httpcPort :: Lens' HTTPCheck (Maybe Int32) Source #
The port to the page to run the check against. Will be combined with host (specified within the MonitoredResource) and path to construct the full URL. Optional (defaults to 80 without SSL, or 443 with SSL).
TimeSeries
data TimeSeries Source #
A collection of data points that describes the time-varying values of a metric. A time series is identified by a combination of a fully-specified monitored resource and a fully-specified metric. This type is used for both listing and creating time series.
See: timeSeries
smart constructor.
Instances
timeSeries :: TimeSeries Source #
Creates a value of TimeSeries
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tsPoints :: Lens' TimeSeries [Point] Source #
The data points of this time series. When listing time series, points are returned in reverse time order.When creating a time series, this field must contain exactly one point and the point's type must be the same as the value type of the associated metric. If the associated metric's descriptor must be auto-created, then the value type of the descriptor is determined by the point's type, which must be BOOL, INT64, DOUBLE, or DISTRIBUTION.
tsMetricKind :: Lens' TimeSeries (Maybe TimeSeriesMetricKind) Source #
The metric kind of the time series. When listing time series, this metric kind might be different from the metric kind of the associated metric if this time series is an alignment or reduction of other time series.When creating a time series, this field is optional. If present, it must be the same as the metric kind of the associated metric. If the associated metric's descriptor must be auto-created, then this field specifies the metric kind of the new descriptor and must be either GAUGE (the default) or CUMULATIVE.
tsMetric :: Lens' TimeSeries (Maybe Metric) Source #
The associated metric. A fully-specified metric used to identify the time series.
tsResource :: Lens' TimeSeries (Maybe MonitoredResource) Source #
The associated monitored resource. Custom metrics can use only certain monitored resource types in their time series data.
tsMetadata :: Lens' TimeSeries (Maybe MonitoredResourceMetadata) Source #
Output only. The associated monitored resource metadata. When reading a a timeseries, this field will include metadata labels that are explicitly named in the reduction. When creating a timeseries, this field is ignored.
tsValueType :: Lens' TimeSeries (Maybe TimeSeriesValueType) Source #
The value type of the time series. When listing time series, this value type might be different from the value type of the associated metric if this time series is an alignment or reduction of other time series.When creating a time series, this field is optional. If present, it must be the same as the type of the data in the points field.
AlertPolicy
data AlertPolicy Source #
A description of the conditions under which some aspect of your system is considered to be "unhealthy" and the ways to notify people or services about this state. For an overview of alert policies, see Introduction to Alerting.
See: alertPolicy
smart constructor.
Instances
alertPolicy :: AlertPolicy Source #
Creates a value of AlertPolicy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
apEnabled :: Lens' AlertPolicy (Maybe Bool) Source #
Whether or not the policy is enabled. On write, the default interpretation if unset is that the policy is enabled. On read, clients should not make any assumption about the state if it has not been populated. The field should always be populated on List and Get operations, unless a field projection has been specified that strips it out.
apNotificationChannels :: Lens' AlertPolicy [Text] Source #
Identifies the notification channels to which notifications should be sent when incidents are opened or closed or when new violations occur on an already opened incident. Each element of this array corresponds to the name field in each of the NotificationChannel objects that are returned from the ListNotificationChannels method. The syntax of the entries in this field is: projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID]
apMutationRecord :: Lens' AlertPolicy (Maybe MutationRecord) Source #
A read-only record of the most recent change to the alerting policy. If provided in a call to create or update, this field will be ignored.
apCreationRecord :: Lens' AlertPolicy (Maybe MutationRecord) Source #
A read-only record of the creation of the alerting policy. If provided in a call to create or update, this field will be ignored.
apUserLabels :: Lens' AlertPolicy (Maybe AlertPolicyUserLabels) Source #
User-supplied key/value data to be used for organizing and identifying the AlertPolicy objects.The field can contain up to 64 entries. Each key and value is limited to 63 Unicode characters or 128 bytes, whichever is smaller. Labels and values can contain only lowercase letters, numerals, underscores, and dashes. Keys must begin with a letter.
apName :: Lens' AlertPolicy (Maybe Text) Source #
Required if the policy exists. The resource name for this policy. The syntax is: projects/[PROJECT_ID]/alertPolicies/[ALERT_POLICY_ID] [ALERT_POLICY_ID] is assigned by Stackdriver Monitoring when the policy is created. When calling the alertPolicies.create method, do not include the name field in the alerting policy passed as part of the request.
apDocumentation :: Lens' AlertPolicy (Maybe Documentation) Source #
Documentation that is included with notifications and incidents related to this policy. Best practice is for the documentation to include information to help responders understand, mitigate, escalate, and correct the underlying problems detected by the alerting policy. Notification channels that have limited capacity might not show this documentation.
apDisplayName :: Lens' AlertPolicy (Maybe Text) Source #
A short name or phrase used to identify the policy in dashboards, notifications, and incidents. To avoid confusion, don't use the same display name for multiple policies in the same project. The name is limited to 512 Unicode characters.
apConditions :: Lens' AlertPolicy [Condition] Source #
A list of conditions for the policy. The conditions are combined by AND or OR according to the combiner field. If the combined conditions evaluate to true, then an incident is created. A policy can have from one to six conditions.
apCombiner :: Lens' AlertPolicy (Maybe AlertPolicyCombiner) Source #
How to combine the results of multiple conditions to determine if an incident should be opened.
ListAlertPoliciesResponse
data ListAlertPoliciesResponse Source #
The protocol for the ListAlertPolicies response.
See: listAlertPoliciesResponse
smart constructor.
Instances
listAlertPoliciesResponse :: ListAlertPoliciesResponse Source #
Creates a value of ListAlertPoliciesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
laprNextPageToken :: Lens' ListAlertPoliciesResponse (Maybe Text) Source #
If there might be more results than were returned, then this field is set to a non-empty value. To see the additional results, use that value as pageToken in the next call to this method.
laprAlertPolicies :: Lens' ListAlertPoliciesResponse [AlertPolicy] Source #
The returned alert policies.
TCPCheck
Information required for a TCP uptime check request.
See: tcpCheck
smart constructor.
Instances
Eq TCPCheck Source # | |
Data TCPCheck Source # | |
Defined in Network.Google.Monitoring.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TCPCheck -> c TCPCheck # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TCPCheck # toConstr :: TCPCheck -> Constr # dataTypeOf :: TCPCheck -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TCPCheck) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TCPCheck) # gmapT :: (forall b. Data b => b -> b) -> TCPCheck -> TCPCheck # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TCPCheck -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TCPCheck -> r # gmapQ :: (forall d. Data d => d -> u) -> TCPCheck -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> TCPCheck -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> TCPCheck -> m TCPCheck # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TCPCheck -> m TCPCheck # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TCPCheck -> m TCPCheck # | |
Show TCPCheck Source # | |
Generic TCPCheck Source # | |
ToJSON TCPCheck Source # | |
Defined in Network.Google.Monitoring.Types.Product | |
FromJSON TCPCheck Source # | |
type Rep TCPCheck Source # | |
Defined in Network.Google.Monitoring.Types.Product |
tcPort :: Lens' TCPCheck (Maybe Int32) Source #
The port to the page to run the check against. Will be combined with host (specified within the MonitoredResource) to construct the full URL. Required.
InternalCheckerState
data InternalCheckerState Source #
The current operational state of the internal checker.
Unspecified |
|
Creating |
|
Running |
|
Instances
MetricAbsence
data MetricAbsence Source #
A condition type that checks that monitored resources are reporting data. The configuration defines a metric and a set of monitored resources. The predicate is considered in violation when a time series for the specified metric of a monitored resource does not include any data in the specified duration.
See: metricAbsence
smart constructor.
Instances
metricAbsence :: MetricAbsence Source #
Creates a value of MetricAbsence
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
maAggregations :: Lens' MetricAbsence [Aggregation] Source #
Specifies the alignment of data points in individual time series as well as how to combine the retrieved time series together (such as when aggregating multiple streams on each resource to a single stream for each resource or when aggregating streams across all members of a group of resrouces). Multiple aggregations are applied in the order specified.This field is similar to the one in the MetricService.ListTimeSeries request. It is advisable to use the ListTimeSeries method when debugging this field.
maFilter :: Lens' MetricAbsence (Maybe Text) Source #
A filter that identifies which time series should be compared with the threshold.The filter is similar to the one that is specified in the MetricService.ListTimeSeries request (that call is useful to verify the time series that will be retrieved / processed) and must specify the metric type and optionally may contain restrictions on resource type, resource labels, and metric labels. This field may not exceed 2048 Unicode characters in length.
maTrigger :: Lens' MetricAbsence (Maybe Trigger) Source #
The number/percent of time series for which the comparison must hold in order for the condition to trigger. If unspecified, then the condition will trigger if the comparison is true for any of the time series that have been identified by filter and aggregations.
maDuration :: Lens' MetricAbsence (Maybe Scientific) Source #
The amount of time that a time series must fail to report new data to be considered failing. Currently, only values that are a multiple of a minute--e.g. 60, 120, or 300 seconds--are supported. If an invalid value is given, an error will be returned. The Duration.nanos field is ignored.
CollectdValueError
data CollectdValueError Source #
Describes the error status for values that were not written.
See: collectdValueError
smart constructor.
Instances
collectdValueError :: CollectdValueError Source #
Creates a value of CollectdValueError
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired: