gogol-serviceusage-0.4.0: Google Service Usage SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.ServiceUsage

Contents

Description

Enables services that service consumers want to use on Google Cloud Platform, lists the available or enabled services, or disables services that service consumers no longer use.

See: Service Usage API Reference

Synopsis

Service Configuration

serviceUsageService :: ServiceConfig Source #

Default request referring to version v1 of the Service Usage API. This contains the host and root path used as a starting point for constructing service requests.

OAuth Scopes

cloudPlatformReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform.read-only"] Source #

View your data across Google Cloud Platform services

cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"] Source #

View and manage your data across Google Cloud Platform services

serviceManagementScope :: Proxy '["https://www.googleapis.com/auth/service.management"] Source #

Manage your Google API service configuration

API Declaration

Resources

serviceusage.operations.cancel

serviceusage.operations.delete

serviceusage.operations.get

serviceusage.operations.list

serviceusage.services.batchEnable

serviceusage.services.disable

serviceusage.services.enable

serviceusage.services.get

serviceusage.services.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

ValueTypeUnspecified

VALUE_TYPE_UNSPECIFIED Do not use this default value.

Bool

BOOL The value is a boolean. This value type can be used only if the metric kind is `GAUGE`.

INT64

INT64 The value is a signed 64-bit integer.

Double

DOUBLE The value is a double precision floating point number.

String

STRING The value is a text string. This value type can be used only if the metric kind is `GAUGE`.

Distribution

DISTRIBUTION The value is a `Distribution`.

Money

MONEY The value is money.

Instances
Enum MetricDescriptorValueType Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Eq MetricDescriptorValueType Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Data MetricDescriptorValueType Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MetricDescriptorValueType -> c MetricDescriptorValueType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MetricDescriptorValueType #

toConstr :: MetricDescriptorValueType -> Constr #

dataTypeOf :: MetricDescriptorValueType -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c MetricDescriptorValueType) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MetricDescriptorValueType) #

gmapT :: (forall b. Data b => b -> b) -> MetricDescriptorValueType -> MetricDescriptorValueType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MetricDescriptorValueType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MetricDescriptorValueType -> r #

gmapQ :: (forall d. Data d => d -> u) -> MetricDescriptorValueType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> MetricDescriptorValueType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> MetricDescriptorValueType -> m MetricDescriptorValueType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MetricDescriptorValueType -> m MetricDescriptorValueType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MetricDescriptorValueType -> m MetricDescriptorValueType #

Ord MetricDescriptorValueType Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Read MetricDescriptorValueType Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Show MetricDescriptorValueType Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Generic MetricDescriptorValueType Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Associated Types

type Rep MetricDescriptorValueType :: Type -> Type #

Hashable MetricDescriptorValueType Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

ToJSON MetricDescriptorValueType Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

FromJSON MetricDescriptorValueType Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

FromHttpApiData MetricDescriptorValueType Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

ToHttpApiData MetricDescriptorValueType Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

type Rep MetricDescriptorValueType Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

type Rep MetricDescriptorValueType = D1 (MetaData "MetricDescriptorValueType" "Network.Google.ServiceUsage.Types.Sum" "gogol-serviceusage-0.4.0-KCQGLbx3xOb2db308f4LnZ" False) ((C1 (MetaCons "ValueTypeUnspecified" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Bool" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "INT64" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "Double" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "String" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Distribution" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Money" PrefixI False) (U1 :: Type -> Type))))

SystemParameter

data SystemParameter Source #

Define a parameter's name and location. The parameter may be passed as either an HTTP header or a URL query parameter, and if both are passed the behavior is implementation-dependent.

See: systemParameter smart constructor.

Instances
Eq SystemParameter Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Data SystemParameter Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SystemParameter -> c SystemParameter #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SystemParameter #

toConstr :: SystemParameter -> Constr #

dataTypeOf :: SystemParameter -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SystemParameter) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SystemParameter) #

gmapT :: (forall b. Data b => b -> b) -> SystemParameter -> SystemParameter #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SystemParameter -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SystemParameter -> r #

gmapQ :: (forall d. Data d => d -> u) -> SystemParameter -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SystemParameter -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SystemParameter -> m SystemParameter #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SystemParameter -> m SystemParameter #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SystemParameter -> m SystemParameter #

Show SystemParameter Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic SystemParameter Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep SystemParameter :: Type -> Type #

ToJSON SystemParameter Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON SystemParameter Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep SystemParameter Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep SystemParameter = D1 (MetaData "SystemParameter" "Network.Google.ServiceUsage.Types.Product" "gogol-serviceusage-0.4.0-KCQGLbx3xOb2db308f4LnZ" False) (C1 (MetaCons "SystemParameter'" PrefixI True) (S1 (MetaSel (Just "_spHTTPHeader") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_spURLQueryParameter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_spName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

systemParameter :: SystemParameter Source #

Creates a value of SystemParameter with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

spHTTPHeader :: Lens' SystemParameter (Maybe Text) Source #

Define the HTTP header name to use for the parameter. It is case insensitive.

spURLQueryParameter :: Lens' SystemParameter (Maybe Text) Source #

Define the URL query parameter name to use for the parameter. It is case sensitive.

spName :: Lens' SystemParameter (Maybe Text) Source #

Define the name of the parameter, such as "api_key" . It is case sensitive.

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
Eq MonitoredResourceDescriptor Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Data MonitoredResourceDescriptor Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MonitoredResourceDescriptor -> c MonitoredResourceDescriptor #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MonitoredResourceDescriptor #

toConstr :: MonitoredResourceDescriptor -> Constr #

dataTypeOf :: MonitoredResourceDescriptor -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c MonitoredResourceDescriptor) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MonitoredResourceDescriptor) #

gmapT :: (forall b. Data b => b -> b) -> MonitoredResourceDescriptor -> MonitoredResourceDescriptor #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MonitoredResourceDescriptor -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MonitoredResourceDescriptor -> r #

gmapQ :: (forall d. Data d => d -> u) -> MonitoredResourceDescriptor -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> MonitoredResourceDescriptor -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> MonitoredResourceDescriptor -> m MonitoredResourceDescriptor #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MonitoredResourceDescriptor -> m MonitoredResourceDescriptor #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MonitoredResourceDescriptor -> m MonitoredResourceDescriptor #

Show MonitoredResourceDescriptor Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic MonitoredResourceDescriptor Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep MonitoredResourceDescriptor :: Type -> Type #

ToJSON MonitoredResourceDescriptor Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON MonitoredResourceDescriptor Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep MonitoredResourceDescriptor Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep MonitoredResourceDescriptor = D1 (MetaData "MonitoredResourceDescriptor" "Network.Google.ServiceUsage.Types.Product" "gogol-serviceusage-0.4.0-KCQGLbx3xOb2db308f4LnZ" False) (C1 (MetaCons "MonitoredResourceDescriptor'" PrefixI True) ((S1 (MetaSel (Just "_mrdName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_mrdDisplayName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_mrdLabels") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [LabelDescriptor])) :*: (S1 (MetaSel (Just "_mrdType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_mrdDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

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.

GoogleAPIService

data GoogleAPIService Source #

`Service` is the root object of Google service configuration schema. It describes basic information about a service, such as the name and the title, and delegates other aspects to sub-sections. Each sub-section is either a proto message or a repeated proto message that configures a specific aspect, such as auth. See each proto message definition for details. Example: type: google.api.Service config_version: 3 name: calendar.googleapis.com title: Google Calendar API apis: - name: google.calendar.v3.Calendar authentication: providers: - id: google_calendar_auth jwks_uri: https://www.googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: - selector: "*" requirements: provider_id: google_calendar_auth

See: googleAPIService smart constructor.

Instances
Eq GoogleAPIService Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Data GoogleAPIService Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GoogleAPIService -> c GoogleAPIService #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GoogleAPIService #

toConstr :: GoogleAPIService -> Constr #

dataTypeOf :: GoogleAPIService -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GoogleAPIService) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GoogleAPIService) #

gmapT :: (forall b. Data b => b -> b) -> GoogleAPIService -> GoogleAPIService #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GoogleAPIService -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GoogleAPIService -> r #

gmapQ :: (forall d. Data d => d -> u) -> GoogleAPIService -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GoogleAPIService -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GoogleAPIService -> m GoogleAPIService #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GoogleAPIService -> m GoogleAPIService #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GoogleAPIService -> m GoogleAPIService #

Show GoogleAPIService Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic GoogleAPIService Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep GoogleAPIService :: Type -> Type #

ToJSON GoogleAPIService Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON GoogleAPIService Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep GoogleAPIService Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep GoogleAPIService = D1 (MetaData "GoogleAPIService" "Network.Google.ServiceUsage.Types.Product" "gogol-serviceusage-0.4.0-KCQGLbx3xOb2db308f4LnZ" False) (C1 (MetaCons "GoogleAPIService'" PrefixI True) ((((S1 (MetaSel (Just "_gasControl") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Control)) :*: (S1 (MetaSel (Just "_gasMetrics") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [MetricDescriptor])) :*: S1 (MetaSel (Just "_gasContext") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Context)))) :*: ((S1 (MetaSel (Just "_gasAuthentication") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Authentication)) :*: S1 (MetaSel (Just "_gasAPIs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [API]))) :*: (S1 (MetaSel (Just "_gasTypes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Type])) :*: S1 (MetaSel (Just "_gasSystemTypes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Type]))))) :*: ((S1 (MetaSel (Just "_gasExperimental") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Experimental)) :*: (S1 (MetaSel (Just "_gasMonitoredResources") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [MonitoredResourceDescriptor])) :*: S1 (MetaSel (Just "_gasBackend") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Backend)))) :*: ((S1 (MetaSel (Just "_gasMonitoring") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Monitoring)) :*: S1 (MetaSel (Just "_gasName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_gasSystemParameters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe SystemParameters)) :*: S1 (MetaSel (Just "_gasLogs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [LogDescriptor])))))) :*: (((S1 (MetaSel (Just "_gasDocumentation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Documentation)) :*: (S1 (MetaSel (Just "_gasId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gasUsage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Usage)))) :*: ((S1 (MetaSel (Just "_gasEndpoints") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Endpoint])) :*: S1 (MetaSel (Just "_gasEnums") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Enum']))) :*: (S1 (MetaSel (Just "_gasConfigVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word32))) :*: S1 (MetaSel (Just "_gasHTTP") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe HTTP))))) :*: ((S1 (MetaSel (Just "_gasTitle") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_gasProducerProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gasSourceInfo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe SourceInfo)))) :*: ((S1 (MetaSel (Just "_gasBilling") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Billing)) :*: S1 (MetaSel (Just "_gasCustomError") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe CustomError))) :*: (S1 (MetaSel (Just "_gasLogging") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Logging)) :*: S1 (MetaSel (Just "_gasQuota") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Quota))))))))

gasControl :: Lens' GoogleAPIService (Maybe Control) Source #

Configuration for the service control plane.

gasMetrics :: Lens' GoogleAPIService [MetricDescriptor] Source #

Defines the metrics used by this service.

gasAPIs :: Lens' GoogleAPIService [API] Source #

A list of API interfaces exported by this service. Only the `name` field of the google.protobuf.Api needs to be provided by the configuration author, as the remaining fields will be derived from the IDL during the normalization process. It is an error to specify an API interface here which cannot be resolved against the associated IDL files.

gasTypes :: Lens' GoogleAPIService [Type] Source #

A list of all proto message types included in this API service. Types referenced directly or indirectly by the `apis` are automatically included. Messages which are not referenced but shall be included, such as types used by the `google.protobuf.Any` type, should be listed here by name. Example: types: - name: google.protobuf.Int32

gasSystemTypes :: Lens' GoogleAPIService [Type] Source #

A list of all proto message types included in this API service. It serves similar purpose as [google.api.Service.types], except that these types are not needed by user-defined APIs. Therefore, they will not show up in the generated discovery doc. This field should only be used to define system APIs in ESF.

gasMonitoredResources :: Lens' GoogleAPIService [MonitoredResourceDescriptor] Source #

Defines the monitored resources used by this service. This is required by the Service.monitoring and Service.logging configurations.

gasBackend :: Lens' GoogleAPIService (Maybe Backend) Source #

API backend configuration.

gasName :: Lens' GoogleAPIService (Maybe Text) Source #

The service name, which is a DNS-like logical identifier for the service, such as `calendar.googleapis.com`. The service name typically goes through DNS verification to make sure the owner of the service also owns the DNS name.

gasLogs :: Lens' GoogleAPIService [LogDescriptor] Source #

Defines the logs used by this service.

gasId :: Lens' GoogleAPIService (Maybe Text) Source #

A unique ID for a specific instance of this message, typically assigned by the client for tracking purpose. If empty, the server may choose to generate one instead. Must be no longer than 60 characters.

gasUsage :: Lens' GoogleAPIService (Maybe Usage) Source #

Configuration controlling usage of this service.

gasEndpoints :: Lens' GoogleAPIService [Endpoint] Source #

Configuration for network endpoints. If this is empty, then an endpoint with the same name as the service is automatically generated to service all defined APIs.

gasEnums :: Lens' GoogleAPIService [Enum'] Source #

A list of all enum types included in this API service. Enums referenced directly or indirectly by the `apis` are automatically included. Enums which are not referenced but shall be included should be listed here by name. Example: enums: - name: google.someapi.v1.SomeEnum

gasConfigVersion :: Lens' GoogleAPIService (Maybe Word32) Source #

The semantic version of the service configuration. The config version affects the interpretation of the service configuration. For example, certain features are enabled by default for certain config versions. The latest config version is `3`.

gasHTTP :: Lens' GoogleAPIService (Maybe HTTP) Source #

HTTP configuration.

gasTitle :: Lens' GoogleAPIService (Maybe Text) Source #

The product title for this service.

gasProducerProjectId :: Lens' GoogleAPIService (Maybe Text) Source #

The Google project that owns this service.

gasSourceInfo :: Lens' GoogleAPIService (Maybe SourceInfo) Source #

Output only. The source information for this configuration if available.

gasQuota :: Lens' GoogleAPIService (Maybe Quota) Source #

Quota configuration.

DocumentationRule

data DocumentationRule Source #

A documentation rule provides information about individual API elements.

See: documentationRule smart constructor.

Instances
Eq DocumentationRule Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Data DocumentationRule Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DocumentationRule -> c DocumentationRule #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DocumentationRule #

toConstr :: DocumentationRule -> Constr #

dataTypeOf :: DocumentationRule -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DocumentationRule) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DocumentationRule) #

gmapT :: (forall b. Data b => b -> b) -> DocumentationRule -> DocumentationRule #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DocumentationRule -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DocumentationRule -> r #

gmapQ :: (forall d. Data d => d -> u) -> DocumentationRule -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DocumentationRule -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DocumentationRule -> m DocumentationRule #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DocumentationRule -> m DocumentationRule #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DocumentationRule -> m DocumentationRule #

Show DocumentationRule Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic DocumentationRule Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep DocumentationRule :: Type -> Type #

ToJSON DocumentationRule Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON DocumentationRule Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep DocumentationRule Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep DocumentationRule = D1 (MetaData "DocumentationRule" "Network.Google.ServiceUsage.Types.Product" "gogol-serviceusage-0.4.0-KCQGLbx3xOb2db308f4LnZ" False) (C1 (MetaCons "DocumentationRule'" PrefixI True) (S1 (MetaSel (Just "_drSelector") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_drDeprecationDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_drDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

documentationRule :: DocumentationRule Source #

Creates a value of DocumentationRule with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

drSelector :: Lens' DocumentationRule (Maybe Text) Source #

The selector is a comma-separated list of patterns. Each pattern is a qualified name of the element which may end in "*", indicating a wildcard. Wildcards are only allowed at the end and for a whole component of the qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". To specify a default for all applicable elements, the whole pattern "*" is used.

drDeprecationDescription :: Lens' DocumentationRule (Maybe Text) Source #

Deprecation description of the selected element(s). It can be provided if an element is marked as `deprecated`.

drDescription :: Lens' DocumentationRule (Maybe Text) Source #

Description of the selected API(s).

Status

data Status Source #

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. The error model is designed to be: - Simple to use and understand for most users - Flexible enough to meet unexpected needs # Overview The `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 mapping The `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 uses The 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 # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Methods

(==) :: Status -> Status -> Bool #

(/=) :: Status -> Status -> Bool #

Data Status Source # 
Instance details

Defined in Network.Google.ServiceUsage.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 # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic Status Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep Status :: Type -> Type #

Methods

from :: Status -> Rep Status x #

to :: Rep Status x -> Status #

ToJSON Status Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON Status Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep Status Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep Status = D1 (MetaData "Status" "Network.Google.ServiceUsage.Types.Product" "gogol-serviceusage-0.4.0-KCQGLbx3xOb2db308f4LnZ" 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)))))

status :: Status Source #

Creates a value of Status with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

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.

OperationSchema

data OperationSchema Source #

Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.

See: operationSchema smart constructor.

Instances
Eq OperationSchema Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Data OperationSchema Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OperationSchema -> c OperationSchema #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OperationSchema #

toConstr :: OperationSchema -> Constr #

dataTypeOf :: OperationSchema -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c OperationSchema) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OperationSchema) #

gmapT :: (forall b. Data b => b -> b) -> OperationSchema -> OperationSchema #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OperationSchema -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OperationSchema -> r #

gmapQ :: (forall d. Data d => d -> u) -> OperationSchema -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> OperationSchema -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> OperationSchema -> m OperationSchema #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OperationSchema -> m OperationSchema #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OperationSchema -> m OperationSchema #

Show OperationSchema Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic OperationSchema Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep OperationSchema :: Type -> Type #

ToJSON OperationSchema Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON OperationSchema Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep OperationSchema Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep OperationSchema = D1 (MetaData "OperationSchema" "Network.Google.ServiceUsage.Types.Product" "gogol-serviceusage-0.4.0-KCQGLbx3xOb2db308f4LnZ" True) (C1 (MetaCons "OperationSchema'" PrefixI True) (S1 (MetaSel (Just "_osAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text JSONValue))))

operationSchema Source #

Creates a value of OperationSchema with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

osAddtional :: Lens' OperationSchema (HashMap Text JSONValue) Source #

Properties of the object. Contains field 'type with type URL.

GoogleAPIServiceusageV1ServiceState

data GoogleAPIServiceusageV1ServiceState Source #

Whether or not the service has been enabled for use by the consumer.

Constructors

StateUnspecified

STATE_UNSPECIFIED The default value, which indicates that the enabled state of the service is unspecified or not meaningful. Currently, all consumers other than projects (such as folders and organizations) are always in this state.

Disabled

DISABLED The service cannot be used by this consumer. It has either been explicitly disabled, or has never been enabled.

Enabled

ENABLED The service has been explicitly enabled for use by this consumer.

Instances
Enum GoogleAPIServiceusageV1ServiceState Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Eq GoogleAPIServiceusageV1ServiceState Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Data GoogleAPIServiceusageV1ServiceState Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GoogleAPIServiceusageV1ServiceState -> c GoogleAPIServiceusageV1ServiceState #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GoogleAPIServiceusageV1ServiceState #

toConstr :: GoogleAPIServiceusageV1ServiceState -> Constr #

dataTypeOf :: GoogleAPIServiceusageV1ServiceState -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GoogleAPIServiceusageV1ServiceState) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GoogleAPIServiceusageV1ServiceState) #

gmapT :: (forall b. Data b => b -> b) -> GoogleAPIServiceusageV1ServiceState -> GoogleAPIServiceusageV1ServiceState #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GoogleAPIServiceusageV1ServiceState -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GoogleAPIServiceusageV1ServiceState -> r #

gmapQ :: (forall d. Data d => d -> u) -> GoogleAPIServiceusageV1ServiceState -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GoogleAPIServiceusageV1ServiceState -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GoogleAPIServiceusageV1ServiceState -> m GoogleAPIServiceusageV1ServiceState #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GoogleAPIServiceusageV1ServiceState -> m GoogleAPIServiceusageV1ServiceState #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GoogleAPIServiceusageV1ServiceState -> m GoogleAPIServiceusageV1ServiceState #

Ord GoogleAPIServiceusageV1ServiceState Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Read GoogleAPIServiceusageV1ServiceState Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Show GoogleAPIServiceusageV1ServiceState Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Generic GoogleAPIServiceusageV1ServiceState Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Hashable GoogleAPIServiceusageV1ServiceState Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

ToJSON GoogleAPIServiceusageV1ServiceState Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

FromJSON GoogleAPIServiceusageV1ServiceState Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

FromHttpApiData GoogleAPIServiceusageV1ServiceState Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

ToHttpApiData GoogleAPIServiceusageV1ServiceState Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

type Rep GoogleAPIServiceusageV1ServiceState Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

type Rep GoogleAPIServiceusageV1ServiceState = D1 (MetaData "GoogleAPIServiceusageV1ServiceState" "Network.Google.ServiceUsage.Types.Sum" "gogol-serviceusage-0.4.0-KCQGLbx3xOb2db308f4LnZ" False) (C1 (MetaCons "StateUnspecified" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Disabled" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Enabled" PrefixI False) (U1 :: Type -> Type)))

BillingDestination

data BillingDestination Source #

Configuration of a specific billing destination (Currently only support bill against consumer project).

See: billingDestination smart constructor.

Instances
Eq BillingDestination Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Data BillingDestination Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BillingDestination -> c BillingDestination #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BillingDestination #

toConstr :: BillingDestination -> Constr #

dataTypeOf :: BillingDestination -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c BillingDestination) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BillingDestination) #

gmapT :: (forall b. Data b => b -> b) -> BillingDestination -> BillingDestination #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BillingDestination -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BillingDestination -> r #

gmapQ :: (forall d. Data d => d -> u) -> BillingDestination -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> BillingDestination -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> BillingDestination -> m BillingDestination #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BillingDestination -> m BillingDestination #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BillingDestination -> m BillingDestination #

Show BillingDestination Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic BillingDestination Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep BillingDestination :: Type -> Type #

ToJSON BillingDestination Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON BillingDestination Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep BillingDestination Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep BillingDestination = D1 (MetaData "BillingDestination" "Network.Google.ServiceUsage.Types.Product" "gogol-serviceusage-0.4.0-KCQGLbx3xOb2db308f4LnZ" False) (C1 (MetaCons "BillingDestination'" PrefixI True) (S1 (MetaSel (Just "_bdMetrics") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_bdMonitoredResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

billingDestination :: BillingDestination Source #

Creates a value of BillingDestination with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

bdMetrics :: Lens' BillingDestination [Text] Source #

Names of the metrics to report to this billing destination. Each name must be defined in Service.metrics section.

bdMonitoredResource :: Lens' BillingDestination (Maybe Text) Source #

The monitored resource type. The type must be defined in Service.monitored_resources section.

Control

data Control Source #

Selects and configures the service controller used by the service. The service controller handles features like abuse, quota, billing, logging, monitoring, etc.

See: control smart constructor.

Instances
Eq Control Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Methods

(==) :: Control -> Control -> Bool #

(/=) :: Control -> Control -> Bool #

Data Control Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Control -> c Control #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Control #

toConstr :: Control -> Constr #

dataTypeOf :: Control -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Control) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Control) #

gmapT :: (forall b. Data b => b -> b) -> Control -> Control #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Control -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Control -> r #

gmapQ :: (forall d. Data d => d -> u) -> Control -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Control -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Control -> m Control #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Control -> m Control #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Control -> m Control #

Show Control Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic Control Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep Control :: Type -> Type #

Methods

from :: Control -> Rep Control x #

to :: Rep Control x -> Control #

ToJSON Control Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON Control Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep Control Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep Control = D1 (MetaData "Control" "Network.Google.ServiceUsage.Types.Product" "gogol-serviceusage-0.4.0-KCQGLbx3xOb2db308f4LnZ" True) (C1 (MetaCons "Control'" PrefixI True) (S1 (MetaSel (Just "_cEnvironment") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))

control :: Control Source #

Creates a value of Control with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

cEnvironment :: Lens' Control (Maybe Text) Source #

The service control environment to use. If empty, no control plane feature (like quota and billing) will be enabled.

AuthRequirement

data AuthRequirement Source #

User-defined authentication requirements, including support for JSON Web Token (JWT).

See: authRequirement smart constructor.

Instances
Eq AuthRequirement Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Data AuthRequirement Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AuthRequirement -> c AuthRequirement #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AuthRequirement #

toConstr :: AuthRequirement -> Constr #

dataTypeOf :: AuthRequirement -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c AuthRequirement) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AuthRequirement) #

gmapT :: (forall b. Data b => b -> b) -> AuthRequirement -> AuthRequirement #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AuthRequirement -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AuthRequirement -> r #

gmapQ :: (forall d. Data d => d -> u) -> AuthRequirement -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AuthRequirement -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AuthRequirement -> m AuthRequirement #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AuthRequirement -> m AuthRequirement #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AuthRequirement -> m AuthRequirement #

Show AuthRequirement Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic AuthRequirement Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep AuthRequirement :: Type -> Type #

ToJSON AuthRequirement Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON AuthRequirement Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep AuthRequirement Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep AuthRequirement = D1 (MetaData "AuthRequirement" "Network.Google.ServiceUsage.Types.Product" "gogol-serviceusage-0.4.0-KCQGLbx3xOb2db308f4LnZ" False) (C1 (MetaCons "AuthRequirement'" PrefixI True) (S1 (MetaSel (Just "_arProviderId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_arAudiences") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

authRequirement :: AuthRequirement Source #

Creates a value of AuthRequirement with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

arProviderId :: Lens' AuthRequirement (Maybe Text) Source #

id from authentication provider. Example: provider_id: bookstore_auth

arAudiences :: Lens' AuthRequirement (Maybe Text) Source #

NOTE: This will be deprecated soon, once AuthProvider.audiences is implemented and accepted in all the runtime components. The list of JWT audiences. that are allowed to access. A JWT containing any of these audiences will be accepted. When this setting is absent, only JWTs with audience "https://Service_name/API_name" will be accepted. For example, if no audiences are in the setting, LibraryService API will only accept JWTs with the following audience "https://library-example.googleapis.com/google.example.library.v1.LibraryService". Example: audiences: bookstore_android.apps.googleusercontent.com, bookstore_web.apps.googleusercontent.com

ListServicesResponse

data ListServicesResponse Source #

Response message for the `ListServices` method.

See: listServicesResponse smart constructor.

Instances
Eq ListServicesResponse Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Data ListServicesResponse Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListServicesResponse -> c ListServicesResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListServicesResponse #

toConstr :: ListServicesResponse -> Constr #

dataTypeOf :: ListServicesResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListServicesResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListServicesResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListServicesResponse -> ListServicesResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListServicesResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListServicesResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListServicesResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListServicesResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListServicesResponse -> m ListServicesResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListServicesResponse -> m ListServicesResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListServicesResponse -> m ListServicesResponse #

Show ListServicesResponse Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic ListServicesResponse Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep ListServicesResponse :: Type -> Type #

ToJSON ListServicesResponse Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON ListServicesResponse Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep ListServicesResponse Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep ListServicesResponse = D1 (MetaData "ListServicesResponse" "Network.Google.ServiceUsage.Types.Product" "gogol-serviceusage-0.4.0-KCQGLbx3xOb2db308f4LnZ" False) (C1 (MetaCons "ListServicesResponse'" PrefixI True) (S1 (MetaSel (Just "_lsrNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lsrServices") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [GoogleAPIServiceusageV1Service]))))

listServicesResponse :: ListServicesResponse Source #

Creates a value of ListServicesResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

lsrNextPageToken :: Lens' ListServicesResponse (Maybe Text) Source #

Token that can be passed to `ListServices` to resume a paginated query.

lsrServices :: Lens' ListServicesResponse [GoogleAPIServiceusageV1Service] Source #

The available services for the requested project.

Context

data Context Source #

`Context` defines which contexts an API requests. Example: context: rules: - selector: "*" requested: - google.rpc.context.ProjectContext - google.rpc.context.OriginContext The above specifies that all methods in the API request `google.rpc.context.ProjectContext` and `google.rpc.context.OriginContext`. Available context types are defined in package `google.rpc.context`. This also provides mechanism to whitelist any protobuf message extension that can be sent in grpc metadata using “x-goog-ext--bin” and “x-goog-ext--jspb” format. For example, list any service specific protobuf types that can appear in grpc metadata as follows in your yaml file: Example: context: rules: - selector: "google.example.library.v1.LibraryService.CreateBook" allowed_request_extensions: - google.foo.v1.NewExtension allowed_response_extensions: - google.foo.v1.NewExtension You can also specify extension ID instead of fully qualified extension name here.

See: context smart constructor.

Instances
Eq Context Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Methods

(==) :: Context -> Context -> Bool #

(/=) :: Context -> Context -> Bool #

Data Context Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Context -> c Context #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Context #

toConstr :: Context -> Constr #

dataTypeOf :: Context -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Context) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Context) #

gmapT :: (forall b. Data b => b -> b) -> Context -> Context #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Context -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Context -> r #

gmapQ :: (forall d. Data d => d -> u) -> Context -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Context -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Context -> m Context #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Context -> m Context #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Context -> m Context #

Show Context Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic Context Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep Context :: Type -> Type #

Methods

from :: Context -> Rep Context x #

to :: Rep Context x -> Context #

ToJSON Context Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON Context Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep Context Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep Context = D1 (MetaData "Context" "Network.Google.ServiceUsage.Types.Product" "gogol-serviceusage-0.4.0-KCQGLbx3xOb2db308f4LnZ" True) (C1 (MetaCons "Context'" PrefixI True) (S1 (MetaSel (Just "_cRules") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [ContextRule]))))

context :: Context Source #

Creates a value of Context with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

cRules :: Lens' Context [ContextRule] Source #

A list of RPC context rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order.

LoggingDestination

data LoggingDestination Source #

Configuration of a specific logging destination (the producer project or the consumer project).

See: loggingDestination smart constructor.

Instances
Eq LoggingDestination Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Data LoggingDestination Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> LoggingDestination -> c LoggingDestination #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c LoggingDestination #

toConstr :: LoggingDestination -> Constr #

dataTypeOf :: LoggingDestination -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c LoggingDestination) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c LoggingDestination) #

gmapT :: (forall b. Data b => b -> b) -> LoggingDestination -> LoggingDestination #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> LoggingDestination -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> LoggingDestination -> r #

gmapQ :: (forall d. Data d => d -> u) -> LoggingDestination -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> LoggingDestination -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> LoggingDestination -> m LoggingDestination #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> LoggingDestination -> m LoggingDestination #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> LoggingDestination -> m LoggingDestination #

Show LoggingDestination Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic LoggingDestination Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep LoggingDestination :: Type -> Type #

ToJSON LoggingDestination Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON LoggingDestination Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep LoggingDestination Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep LoggingDestination = D1 (MetaData "LoggingDestination" "Network.Google.ServiceUsage.Types.Product" "gogol-serviceusage-0.4.0-KCQGLbx3xOb2db308f4LnZ" False) (C1 (MetaCons "LoggingDestination'" PrefixI True) (S1 (MetaSel (Just "_ldMonitoredResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ldLogs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))))

loggingDestination :: LoggingDestination Source #

Creates a value of LoggingDestination with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ldMonitoredResource :: Lens' LoggingDestination (Maybe Text) Source #

The monitored resource type. The type must be defined in the Service.monitored_resources section.

ldLogs :: Lens' LoggingDestination [Text] Source #

Names of the logs to be sent to this destination. Each name must be defined in the Service.logs section. If the log name is not a domain scoped name, it will be automatically prefixed with the service name followed by "/".

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
Eq MetricDescriptor Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Data MetricDescriptor Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MetricDescriptor -> c MetricDescriptor #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MetricDescriptor #

toConstr :: MetricDescriptor -> Constr #

dataTypeOf :: MetricDescriptor -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c MetricDescriptor) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MetricDescriptor) #

gmapT :: (forall b. Data b => b -> b) -> MetricDescriptor -> MetricDescriptor #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MetricDescriptor -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MetricDescriptor -> r #

gmapQ :: (forall d. Data d => d -> u) -> MetricDescriptor -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> MetricDescriptor -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> MetricDescriptor -> m MetricDescriptor #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MetricDescriptor -> m MetricDescriptor #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MetricDescriptor -> m MetricDescriptor #

Show MetricDescriptor Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic MetricDescriptor Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep MetricDescriptor :: Type -> Type #

ToJSON MetricDescriptor Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON MetricDescriptor Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep MetricDescriptor Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

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.

mdName :: Lens' MetricDescriptor (Maybe Text) Source #

The resource name of the metric descriptor.

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 standard: **Basic units (UNIT)** * `bit` bit * `By` byte * `s` second * `min` minute * `h` hour * `d` day **Prefixes (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) **Grammar** The 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.

ListOperationsResponse

data ListOperationsResponse Source #

The response message for Operations.ListOperations.

See: listOperationsResponse smart constructor.

Instances
Eq ListOperationsResponse Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Data ListOperationsResponse Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListOperationsResponse -> c ListOperationsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListOperationsResponse #

toConstr :: ListOperationsResponse -> Constr #

dataTypeOf :: ListOperationsResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListOperationsResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListOperationsResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListOperationsResponse -> ListOperationsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListOperationsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListOperationsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListOperationsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListOperationsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListOperationsResponse -> m ListOperationsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListOperationsResponse -> m ListOperationsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListOperationsResponse -> m ListOperationsResponse #

Show ListOperationsResponse Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic ListOperationsResponse Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep ListOperationsResponse :: Type -> Type #

ToJSON ListOperationsResponse Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON ListOperationsResponse Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep ListOperationsResponse Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep ListOperationsResponse = D1 (MetaData "ListOperationsResponse" "Network.Google.ServiceUsage.Types.Product" "gogol-serviceusage-0.4.0-KCQGLbx3xOb2db308f4LnZ" False) (C1 (MetaCons "ListOperationsResponse'" PrefixI True) (S1 (MetaSel (Just "_lorNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lorOperations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Operation]))))

listOperationsResponse :: ListOperationsResponse Source #

Creates a value of ListOperationsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

lorNextPageToken :: Lens' ListOperationsResponse (Maybe Text) Source #

The standard List next-page token.

lorOperations :: Lens' ListOperationsResponse [Operation] Source #

A list of operations that matches the specified filter in the request.

CancelOperationRequest

data CancelOperationRequest Source #

The request message for Operations.CancelOperation.

See: cancelOperationRequest smart constructor.

Instances
Eq CancelOperationRequest Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Data CancelOperationRequest Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CancelOperationRequest -> c CancelOperationRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CancelOperationRequest #

toConstr :: CancelOperationRequest -> Constr #

dataTypeOf :: CancelOperationRequest -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CancelOperationRequest) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CancelOperationRequest) #

gmapT :: (forall b. Data b => b -> b) -> CancelOperationRequest -> CancelOperationRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CancelOperationRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CancelOperationRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> CancelOperationRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CancelOperationRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CancelOperationRequest -> m CancelOperationRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CancelOperationRequest -> m CancelOperationRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CancelOperationRequest -> m CancelOperationRequest #

Show CancelOperationRequest Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic CancelOperationRequest Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep CancelOperationRequest :: Type -> Type #

ToJSON CancelOperationRequest Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON CancelOperationRequest Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep CancelOperationRequest Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep CancelOperationRequest = D1 (MetaData "CancelOperationRequest" "Network.Google.ServiceUsage.Types.Product" "gogol-serviceusage-0.4.0-KCQGLbx3xOb2db308f4LnZ" False) (C1 (MetaCons "CancelOperationRequest'" PrefixI False) (U1 :: Type -> Type))

cancelOperationRequest :: CancelOperationRequest Source #

Creates a value of CancelOperationRequest with the minimum fields required to make a request.

BackendRule

data BackendRule Source #

A backend rule provides configuration for an individual API element.

See: backendRule smart constructor.

Instances
Eq BackendRule Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Data BackendRule Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BackendRule -> c BackendRule #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BackendRule #

toConstr :: BackendRule -> Constr #

dataTypeOf :: BackendRule -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c BackendRule) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BackendRule) #

gmapT :: (forall b. Data b => b -> b) -> BackendRule -> BackendRule #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BackendRule -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BackendRule -> r #

gmapQ :: (forall d. Data d => d -> u) -> BackendRule -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> BackendRule -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> BackendRule -> m BackendRule #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BackendRule -> m BackendRule #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BackendRule -> m BackendRule #

Show BackendRule Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic BackendRule Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep BackendRule :: Type -> Type #

ToJSON BackendRule Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON BackendRule Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep BackendRule Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep BackendRule = D1 (MetaData "BackendRule" "Network.Google.ServiceUsage.Types.Product" "gogol-serviceusage-0.4.0-KCQGLbx3xOb2db308f4LnZ" False) (C1 (MetaCons "BackendRule'" PrefixI True) ((S1 (MetaSel (Just "_brSelector") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_brMinDeadline") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double)))) :*: (S1 (MetaSel (Just "_brAddress") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_brOperationDeadline") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double))) :*: S1 (MetaSel (Just "_brDeadline") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double)))))))

backendRule :: BackendRule Source #

Creates a value of BackendRule with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

brSelector :: Lens' BackendRule (Maybe Text) Source #

Selects the methods to which this rule applies. Refer to selector for syntax details.

brMinDeadline :: Lens' BackendRule (Maybe Double) Source #

Minimum deadline in seconds needed for this method. Calls having deadline value lower than this will be rejected.

brAddress :: Lens' BackendRule (Maybe Text) Source #

The address of the API backend.

brOperationDeadline :: Lens' BackendRule (Maybe Double) Source #

The number of seconds to wait for the completion of a long running operation. The default is no deadline.

brDeadline :: Lens' BackendRule (Maybe Double) Source #

The number of seconds to wait for a response from a request. The default deadline for gRPC is infinite (no deadline) and HTTP requests is 5 seconds.

BatchEnableServicesRequest

data BatchEnableServicesRequest Source #

Request message for the `BatchEnableServices` method.

See: batchEnableServicesRequest smart constructor.

Instances
Eq BatchEnableServicesRequest Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Data BatchEnableServicesRequest Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BatchEnableServicesRequest -> c BatchEnableServicesRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BatchEnableServicesRequest #

toConstr :: BatchEnableServicesRequest -> Constr #

dataTypeOf :: BatchEnableServicesRequest -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c BatchEnableServicesRequest) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BatchEnableServicesRequest) #

gmapT :: (forall b. Data b => b -> b) -> BatchEnableServicesRequest -> BatchEnableServicesRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BatchEnableServicesRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BatchEnableServicesRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> BatchEnableServicesRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> BatchEnableServicesRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> BatchEnableServicesRequest -> m BatchEnableServicesRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BatchEnableServicesRequest -> m BatchEnableServicesRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BatchEnableServicesRequest -> m BatchEnableServicesRequest #

Show BatchEnableServicesRequest Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic BatchEnableServicesRequest Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep BatchEnableServicesRequest :: Type -> Type #

ToJSON BatchEnableServicesRequest Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON BatchEnableServicesRequest Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep BatchEnableServicesRequest Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep BatchEnableServicesRequest = D1 (MetaData "BatchEnableServicesRequest" "Network.Google.ServiceUsage.Types.Product" "gogol-serviceusage-0.4.0-KCQGLbx3xOb2db308f4LnZ" True) (C1 (MetaCons "BatchEnableServicesRequest'" PrefixI True) (S1 (MetaSel (Just "_besrServiceIds") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Text]))))

batchEnableServicesRequest :: BatchEnableServicesRequest Source #

Creates a value of BatchEnableServicesRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

besrServiceIds :: Lens' BatchEnableServicesRequest [Text] Source #

The identifiers of the services to enable on the project. A valid identifier would be: serviceusage.googleapis.com Enabling services requires that each service is public or is shared with the user enabling the service. Two or more services must be specified. To enable a single service, use the `EnableService` method instead. A single request can enable a maximum of 20 services at a time. If more than 20 services are specified, the request will fail, and no state changes will occur.

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
Eq SourceContext Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Data SourceContext Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SourceContext -> c SourceContext #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SourceContext #

toConstr :: SourceContext -> Constr #

dataTypeOf :: SourceContext -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SourceContext) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SourceContext) #

gmapT :: (forall b. Data b => b -> b) -> SourceContext -> SourceContext #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SourceContext -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SourceContext -> r #

gmapQ :: (forall d. Data d => d -> u) -> SourceContext -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SourceContext -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SourceContext -> m SourceContext #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SourceContext -> m SourceContext #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SourceContext -> m SourceContext #

Show SourceContext Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic SourceContext Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep SourceContext :: Type -> Type #

ToJSON SourceContext Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON SourceContext Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep SourceContext Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep SourceContext = D1 (MetaData "SourceContext" "Network.Google.ServiceUsage.Types.Product" "gogol-serviceusage-0.4.0-KCQGLbx3xOb2db308f4LnZ" True) (C1 (MetaCons "SourceContext'" PrefixI True) (S1 (MetaSel (Just "_scFileName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))

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"`.

Field

data Field Source #

A single field of a message type.

See: field smart constructor.

Instances
Eq Field Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Methods

(==) :: Field -> Field -> Bool #

(/=) :: Field -> Field -> Bool #

Data Field Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Field -> c Field #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Field #

toConstr :: Field -> Constr #

dataTypeOf :: Field -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Field) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Field) #

gmapT :: (forall b. Data b => b -> b) -> Field -> Field #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Field -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Field -> r #

gmapQ :: (forall d. Data d => d -> u) -> Field -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Field -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Field -> m Field #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Field -> m Field #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Field -> m Field #

Show Field Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Methods

showsPrec :: Int -> Field -> ShowS #

show :: Field -> String #

showList :: [Field] -> ShowS #

Generic Field Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep Field :: Type -> Type #

Methods

from :: Field -> Rep Field x #

to :: Rep Field x -> Field #

ToJSON Field Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON Field Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep Field Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

field :: Field Source #

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:

fKind :: Lens' Field (Maybe FieldKind) Source #

The field type.

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.

fName :: Lens' Field (Maybe Text) Source #

The field name.

fJSONName :: Lens' Field (Maybe Text) Source #

The field JSON name.

fOptions :: Lens' Field [Option] Source #

The protocol buffer options.

fPacked :: Lens' Field (Maybe Bool) Source #

Whether to use alternative packed wire representation.

fDefaultValue :: Lens' Field (Maybe Text) Source #

The string value of the default value of this field. Proto2 syntax only.

fNumber :: Lens' Field (Maybe Int32) Source #

The field number.

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"`.

MetricRule

data MetricRule Source #

Bind API methods to metrics. Binding a method to a metric causes that metric's configured quota behaviors to apply to the method call.

See: metricRule smart constructor.

Instances
Eq MetricRule Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Data MetricRule Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MetricRule -> c MetricRule #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MetricRule #

toConstr :: MetricRule -> Constr #

dataTypeOf :: MetricRule -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c MetricRule) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MetricRule) #

gmapT :: (forall b. Data b => b -> b) -> MetricRule -> MetricRule #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MetricRule -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MetricRule -> r #

gmapQ :: (forall d. Data d => d -> u) -> MetricRule -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> MetricRule -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> MetricRule -> m MetricRule #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MetricRule -> m MetricRule #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MetricRule -> m MetricRule #

Show MetricRule Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic MetricRule Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep MetricRule :: Type -> Type #

ToJSON MetricRule Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON MetricRule Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep MetricRule Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep MetricRule = D1 (MetaData "MetricRule" "Network.Google.ServiceUsage.Types.Product" "gogol-serviceusage-0.4.0-KCQGLbx3xOb2db308f4LnZ" False) (C1 (MetaCons "MetricRule'" PrefixI True) (S1 (MetaSel (Just "_mrSelector") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_mrMetricCosts") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe MetricRuleMetricCosts))))

metricRule :: MetricRule Source #

Creates a value of MetricRule with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

mrSelector :: Lens' MetricRule (Maybe Text) Source #

Selects the methods to which this rule applies. Refer to selector for syntax details.

mrMetricCosts :: Lens' MetricRule (Maybe MetricRuleMetricCosts) Source #

Metrics to update when the selected methods are called, and the associated cost applied to each metric. The key of the map is the metric name, and the values are the amount increased for the metric against which the quota limits are defined. The value must not be negative.

FieldKind

data FieldKind Source #

The field type.

Constructors

TypeUnknown

TYPE_UNKNOWN Field type unknown.

TypeDouble

TYPE_DOUBLE Field type double.

TypeFloat

TYPE_FLOAT Field type float.

TypeINT64

TYPE_INT64 Field type int64.

TypeUINT64

TYPE_UINT64 Field type uint64.

TypeINT32

TYPE_INT32 Field type int32.

TypeFIXED64

TYPE_FIXED64 Field type fixed64.

TypeFIXED32

TYPE_FIXED32 Field type fixed32.

TypeBool

TYPE_BOOL Field type bool.

TypeString

TYPE_STRING Field type string.

TypeGroup

TYPE_GROUP Field type group. Proto2 syntax only, and deprecated.

TypeMessage

TYPE_MESSAGE Field type message.

TypeBytes

TYPE_BYTES Field type bytes.

TypeUINT32

TYPE_UINT32 Field type uint32.

TypeEnum

TYPE_ENUM Field type enum.

TypeSFIXED32

TYPE_SFIXED32 Field type sfixed32.

TypeSFIXED64

TYPE_SFIXED64 Field type sfixed64.

TypeSINT32

TYPE_SINT32 Field type sint32.

TypeSINT64

TYPE_SINT64 Field type sint64.

Instances
Enum FieldKind Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Eq FieldKind Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Data FieldKind Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> FieldKind -> c FieldKind #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c FieldKind #

toConstr :: FieldKind -> Constr #

dataTypeOf :: FieldKind -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c FieldKind) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c FieldKind) #

gmapT :: (forall b. Data b => b -> b) -> FieldKind -> FieldKind #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> FieldKind -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> FieldKind -> r #

gmapQ :: (forall d. Data d => d -> u) -> FieldKind -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> FieldKind -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> FieldKind -> m FieldKind #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> FieldKind -> m FieldKind #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> FieldKind -> m FieldKind #

Ord FieldKind Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Read FieldKind Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Show FieldKind Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Generic FieldKind Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Associated Types

type Rep FieldKind :: Type -> Type #

Hashable FieldKind Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

ToJSON FieldKind Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

FromJSON FieldKind Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

FromHttpApiData FieldKind Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

ToHttpApiData FieldKind Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

type Rep FieldKind Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

type Rep FieldKind = D1 (MetaData "FieldKind" "Network.Google.ServiceUsage.Types.Sum" "gogol-serviceusage-0.4.0-KCQGLbx3xOb2db308f4LnZ" False) ((((C1 (MetaCons "TypeUnknown" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "TypeDouble" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "TypeFloat" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "TypeINT64" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "TypeUINT64" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "TypeINT32" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "TypeFIXED64" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "TypeFIXED32" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "TypeBool" PrefixI False) (U1 :: Type -> Type))))) :+: (((C1 (MetaCons "TypeString" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "TypeGroup" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "TypeMessage" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "TypeBytes" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "TypeUINT32" PrefixI False) (U1 :: Type -> Type)))) :+: ((C1 (MetaCons "TypeEnum" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "TypeSFIXED32" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "TypeSFIXED64" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "TypeSINT32" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "TypeSINT64" PrefixI False) (U1 :: Type -> Type))))))

EnumSyntax

data EnumSyntax Source #

The source syntax.

Constructors

SyntaxPROTO2

SYNTAX_PROTO2 Syntax `proto2`.

SyntaxPROTO3

SYNTAX_PROTO3 Syntax `proto3`.

Instances
Enum EnumSyntax Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Eq EnumSyntax Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Data EnumSyntax Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> EnumSyntax -> c EnumSyntax #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c EnumSyntax #

toConstr :: EnumSyntax -> Constr #

dataTypeOf :: EnumSyntax -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c EnumSyntax) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c EnumSyntax) #

gmapT :: (forall b. Data b => b -> b) -> EnumSyntax -> EnumSyntax #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> EnumSyntax -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> EnumSyntax -> r #

gmapQ :: (forall d. Data d => d -> u) -> EnumSyntax -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> EnumSyntax -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> EnumSyntax -> m EnumSyntax #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> EnumSyntax -> m EnumSyntax #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> EnumSyntax -> m EnumSyntax #

Ord EnumSyntax Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Read EnumSyntax Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Show EnumSyntax Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Generic EnumSyntax Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Associated Types

type Rep EnumSyntax :: Type -> Type #

Hashable EnumSyntax Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

ToJSON EnumSyntax Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

FromJSON EnumSyntax Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

FromHttpApiData EnumSyntax Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

ToHttpApiData EnumSyntax Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

type Rep EnumSyntax Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

type Rep EnumSyntax = D1 (MetaData "EnumSyntax" "Network.Google.ServiceUsage.Types.Sum" "gogol-serviceusage-0.4.0-KCQGLbx3xOb2db308f4LnZ" False) (C1 (MetaCons "SyntaxPROTO2" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "SyntaxPROTO3" PrefixI False) (U1 :: Type -> Type))

Operation

data Operation Source #

This resource represents a long-running operation that is the result of a network API call.

See: operation smart constructor.

Instances
Eq Operation Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Data Operation Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Operation -> c Operation #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Operation #

toConstr :: Operation -> Constr #

dataTypeOf :: Operation -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Operation) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Operation) #

gmapT :: (forall b. Data b => b -> b) -> Operation -> Operation #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Operation -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Operation -> r #

gmapQ :: (forall d. Data d => d -> u) -> Operation -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Operation -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Operation -> m Operation #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Operation -> m Operation #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Operation -> m Operation #

Show Operation Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic Operation Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep Operation :: Type -> Type #

ToJSON Operation Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON Operation Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep Operation Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

operation :: Operation Source #

Creates a value of Operation with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

oDone :: Lens' Operation (Maybe Bool) Source #

If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.

oError :: Lens' Operation (Maybe Status) Source #

The error result of the operation in case of failure or cancellation.

oResponse :: Lens' Operation (Maybe OperationResponse) Source #

The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.

oName :: Lens' Operation (Maybe Text) Source #

The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should have the format of `operations/some/unique/name`.

oMetadata :: Lens' Operation (Maybe OperationSchema) Source #

Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.

Empty

data Empty Source #

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 # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Methods

(==) :: Empty -> Empty -> Bool #

(/=) :: Empty -> Empty -> Bool #

Data Empty Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Methods

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 #

toConstr :: Empty -> Constr #

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 # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Methods

showsPrec :: Int -> Empty -> ShowS #

show :: Empty -> String #

showList :: [Empty] -> ShowS #

Generic Empty Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep Empty :: Type -> Type #

Methods

from :: Empty -> Rep Empty x #

to :: Rep Empty x -> Empty #

ToJSON Empty Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON Empty Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep Empty Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep Empty = D1 (MetaData "Empty" "Network.Google.ServiceUsage.Types.Product" "gogol-serviceusage-0.4.0-KCQGLbx3xOb2db308f4LnZ" False) (C1 (MetaCons "Empty'" PrefixI False) (U1 :: Type -> Type))

empty :: Empty Source #

Creates a value of Empty with the minimum fields required to make a request.

EnableServiceRequest

data EnableServiceRequest Source #

Request message for the `EnableService` method.

See: enableServiceRequest smart constructor.

Instances
Eq EnableServiceRequest Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Data EnableServiceRequest Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> EnableServiceRequest -> c EnableServiceRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c EnableServiceRequest #

toConstr :: EnableServiceRequest -> Constr #

dataTypeOf :: EnableServiceRequest -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c EnableServiceRequest) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c EnableServiceRequest) #

gmapT :: (forall b. Data b => b -> b) -> EnableServiceRequest -> EnableServiceRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> EnableServiceRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> EnableServiceRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> EnableServiceRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> EnableServiceRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> EnableServiceRequest -> m EnableServiceRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> EnableServiceRequest -> m EnableServiceRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> EnableServiceRequest -> m EnableServiceRequest #

Show EnableServiceRequest Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic EnableServiceRequest Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep EnableServiceRequest :: Type -> Type #

ToJSON EnableServiceRequest Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON EnableServiceRequest Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep EnableServiceRequest Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep EnableServiceRequest = D1 (MetaData "EnableServiceRequest" "Network.Google.ServiceUsage.Types.Product" "gogol-serviceusage-0.4.0-KCQGLbx3xOb2db308f4LnZ" False) (C1 (MetaCons "EnableServiceRequest'" PrefixI False) (U1 :: Type -> Type))

enableServiceRequest :: EnableServiceRequest Source #

Creates a value of EnableServiceRequest with the minimum fields required to make a request.

CustomErrorRule

data CustomErrorRule Source #

A custom error rule.

See: customErrorRule smart constructor.

Instances
Eq CustomErrorRule Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Data CustomErrorRule Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CustomErrorRule -> c CustomErrorRule #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CustomErrorRule #

toConstr :: CustomErrorRule -> Constr #

dataTypeOf :: CustomErrorRule -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CustomErrorRule) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CustomErrorRule) #

gmapT :: (forall b. Data b => b -> b) -> CustomErrorRule -> CustomErrorRule #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CustomErrorRule -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CustomErrorRule -> r #

gmapQ :: (forall d. Data d => d -> u) -> CustomErrorRule -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CustomErrorRule -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CustomErrorRule -> m CustomErrorRule #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CustomErrorRule -> m CustomErrorRule #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CustomErrorRule -> m CustomErrorRule #

Show CustomErrorRule Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic CustomErrorRule Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep CustomErrorRule :: Type -> Type #

ToJSON CustomErrorRule Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON CustomErrorRule Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep CustomErrorRule Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep CustomErrorRule = D1 (MetaData "CustomErrorRule" "Network.Google.ServiceUsage.Types.Product" "gogol-serviceusage-0.4.0-KCQGLbx3xOb2db308f4LnZ" False) (C1 (MetaCons "CustomErrorRule'" PrefixI True) (S1 (MetaSel (Just "_cerIsErrorType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_cerSelector") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

customErrorRule :: CustomErrorRule Source #

Creates a value of CustomErrorRule with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

cerIsErrorType :: Lens' CustomErrorRule (Maybe Bool) Source #

Mark this message as possible payload in error response. Otherwise, objects of this type will be filtered when they appear in error payload.

cerSelector :: Lens' CustomErrorRule (Maybe Text) Source #

Selects messages to which this rule applies. Refer to selector for syntax details.

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.