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 |
Network.Google.Monitoring
Contents
- 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
Description
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.
Constructors
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.
Constructors
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 Methods 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.
Constructors
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 Methods 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 #
Arguments
:: HashMap Text Text | |
-> MonitoredResourceLabels |
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 #
Arguments
:: HashMap Text Text | |
-> NotificationChannelUserLabels |
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.
Constructors
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.
Constructors
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.
Constructors
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 #
Arguments
:: HashMap Text JSONValue | |
-> ExemplarAttachmentsItem |
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.