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.

Instances
Eq OptionValue Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Data OptionValue 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) -> OptionValue -> c OptionValue #

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

toConstr :: OptionValue -> Constr #

dataTypeOf :: OptionValue -> DataType #

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

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

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

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

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

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

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

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

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

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

Show OptionValue Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic OptionValue Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep OptionValue :: Type -> Type #

ToJSON OptionValue Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON OptionValue Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep OptionValue Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

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

optionValue Source #

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

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

ovAddtional :: Lens' OptionValue (HashMap Text JSONValue) Source #

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

BatchEnableServicesResponse

data BatchEnableServicesResponse Source #

Response message for the `BatchEnableServices` method. This response message is assigned to the `response` field of the returned Operation when that operation is done.

See: batchEnableServicesResponse smart constructor.

Instances
Eq BatchEnableServicesResponse Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Data BatchEnableServicesResponse 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) -> BatchEnableServicesResponse -> c BatchEnableServicesResponse #

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

toConstr :: BatchEnableServicesResponse -> Constr #

dataTypeOf :: BatchEnableServicesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show BatchEnableServicesResponse Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic BatchEnableServicesResponse Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep BatchEnableServicesResponse :: Type -> Type #

ToJSON BatchEnableServicesResponse Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON BatchEnableServicesResponse Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep BatchEnableServicesResponse Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

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

batchEnableServicesResponse :: BatchEnableServicesResponse Source #

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

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

besrFailures :: Lens' BatchEnableServicesResponse [EnableFailure] Source #

If allow_partial_success is true, and one or more services could not be enabled, this field contains the details about each failure.

besrServices :: Lens' BatchEnableServicesResponse [GoogleAPIServiceusageV1Service] Source #

The new state of the services after enabling.

EnumValue

data EnumValue Source #

Enum value definition.

See: enumValue smart constructor.

Instances
Eq EnumValue Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Data EnumValue 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) -> EnumValue -> c EnumValue #

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

toConstr :: EnumValue -> Constr #

dataTypeOf :: EnumValue -> DataType #

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

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

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

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

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

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

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

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

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

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

Show EnumValue Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic EnumValue Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep EnumValue :: Type -> Type #

ToJSON EnumValue Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON EnumValue Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep EnumValue Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep EnumValue = D1 (MetaData "EnumValue" "Network.Google.ServiceUsage.Types.Product" "gogol-serviceusage-0.4.0-KCQGLbx3xOb2db308f4LnZ" False) (C1 (MetaCons "EnumValue'" PrefixI True) (S1 (MetaSel (Just "_evName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_evOptions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Option])) :*: S1 (MetaSel (Just "_evNumber") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))))))

enumValue :: EnumValue Source #

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

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

evName :: Lens' EnumValue (Maybe Text) Source #

Enum value name.

evOptions :: Lens' EnumValue [Option] Source #

Protocol buffer options.

evNumber :: Lens' EnumValue (Maybe Int32) Source #

Enum value number.

Authentication

data Authentication Source #

`Authentication` defines the authentication configuration for an API. Example for an API targeted for external use: name: calendar.googleapis.com 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: authentication smart constructor.

Instances
Eq Authentication Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Data Authentication 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) -> Authentication -> c Authentication #

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

toConstr :: Authentication -> Constr #

dataTypeOf :: Authentication -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Authentication Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic Authentication Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep Authentication :: Type -> Type #

ToJSON Authentication Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON Authentication Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep Authentication Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

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

authentication :: Authentication Source #

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

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

aRules :: Lens' Authentication [AuthenticationRule] Source #

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

aProviders :: Lens' Authentication [AuthProvider] Source #

Defines a set of authentication providers that a service supports.

MetricDescriptorMetadataLaunchStage

data MetricDescriptorMetadataLaunchStage Source #

The launch stage of the metric definition.

Constructors

LaunchStageUnspecified

LAUNCH_STAGE_UNSPECIFIED Do not use this default value.

EarlyAccess

EARLY_ACCESS Early Access features are limited to a closed group of testers. To use these features, you must sign up in advance and sign a Trusted Tester agreement (which includes confidentiality provisions). These features may be unstable, changed in backward-incompatible ways, and are not guaranteed to be released.

Alpha

ALPHA Alpha is a limited availability test for releases before they are cleared for widespread use. By Alpha, all significant design issues are resolved and we are in the process of verifying functionality. Alpha customers need to apply for access, agree to applicable terms, and have their projects whitelisted. Alpha releases don’t have to be feature complete, no SLAs are provided, and there are no technical support obligations, but they will be far enough along that customers can actually use them in test environments or for limited-use tests -- just like they would in normal production cases.

Beta

BETA Beta is the point at which we are ready to open a release for any customer to use. There are no SLA or technical support obligations in a Beta release. Products will be complete from a feature perspective, but may have some open outstanding issues. Beta releases are suitable for limited production use cases.

GA

GA GA features are open to all developers and are considered stable and fully qualified for production use.

Deprecated

DEPRECATED Deprecated features are scheduled to be shut down and removed. For more information, see the “Deprecation Policy” section of our Terms of Service and the Google Cloud Platform Subject to the Deprecation Policy documentation.

Instances
Enum MetricDescriptorMetadataLaunchStage Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Eq MetricDescriptorMetadataLaunchStage Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Data MetricDescriptorMetadataLaunchStage 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) -> MetricDescriptorMetadataLaunchStage -> c MetricDescriptorMetadataLaunchStage #

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

toConstr :: MetricDescriptorMetadataLaunchStage -> Constr #

dataTypeOf :: MetricDescriptorMetadataLaunchStage -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord MetricDescriptorMetadataLaunchStage Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Read MetricDescriptorMetadataLaunchStage Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Show MetricDescriptorMetadataLaunchStage Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Generic MetricDescriptorMetadataLaunchStage Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Hashable MetricDescriptorMetadataLaunchStage Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

ToJSON MetricDescriptorMetadataLaunchStage Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

FromJSON MetricDescriptorMetadataLaunchStage Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

FromHttpApiData MetricDescriptorMetadataLaunchStage Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

ToHttpApiData MetricDescriptorMetadataLaunchStage Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

type Rep MetricDescriptorMetadataLaunchStage Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

type Rep MetricDescriptorMetadataLaunchStage = D1 (MetaData "MetricDescriptorMetadataLaunchStage" "Network.Google.ServiceUsage.Types.Sum" "gogol-serviceusage-0.4.0-KCQGLbx3xOb2db308f4LnZ" False) ((C1 (MetaCons "LaunchStageUnspecified" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "EarlyAccess" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Alpha" PrefixI False) (U1 :: Type -> Type))) :+: (C1 (MetaCons "Beta" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "GA" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Deprecated" PrefixI False) (U1 :: Type -> Type))))

Mixin

data Mixin Source #

Declares an API Interface to be included in this interface. The including interface must redeclare all the methods from the included interface, but documentation and options are inherited as follows: - If after comment and whitespace stripping, the documentation string of the redeclared method is empty, it will be inherited from the original method. - Each annotation belonging to the service config (http, visibility) which is not set in the redeclared method will be inherited. - If an http annotation is inherited, the path pattern will be modified as follows. Any version prefix will be replaced by the version of the including interface plus the root path if specified. Example of a simple mixin: package google.acl.v1; service AccessControl { // Get the underlying ACL object. rpc GetAcl(GetAclRequest) returns (Acl) { option (google.api.http).get = "/v1/{resource=**}:getAcl"; } } package google.storage.v2; service Storage { // rpc GetAcl(GetAclRequest) returns (Acl); // Get a data record. rpc GetData(GetDataRequest) returns (Data) { option (google.api.http).get = "/v2/{resource=**}"; } } Example of a mixin configuration: apis: - name: google.storage.v2.Storage mixins: - name: google.acl.v1.AccessControl The mixin construct implies that all methods in `AccessControl` are also declared with same name and request/response types in `Storage`. A documentation generator or annotation processor will see the effective `Storage.GetAcl` method after inherting documentation and annotations as follows: service Storage { // Get the underlying ACL object. rpc GetAcl(GetAclRequest) returns (Acl) { option (google.api.http).get = "/v2/{resource=**}:getAcl"; } ... } Note how the version in the path pattern changed from `v1` to `v2`. If the `root` field in the mixin is specified, it should be a relative path under which inherited HTTP paths are placed. Example: apis: - name: google.storage.v2.Storage mixins: - name: google.acl.v1.AccessControl root: acls This implies the following inherited HTTP annotation: service Storage { // Get the underlying ACL object. rpc GetAcl(GetAclRequest) returns (Acl) { option (google.api.http).get = "/v2/acls/{resource=**}:getAcl"; } ... }

See: mixin smart constructor.

Instances
Eq Mixin Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Methods

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

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

Data Mixin 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) -> Mixin -> c Mixin #

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

toConstr :: Mixin -> Constr #

dataTypeOf :: Mixin -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Mixin Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Methods

showsPrec :: Int -> Mixin -> ShowS #

show :: Mixin -> String #

showList :: [Mixin] -> ShowS #

Generic Mixin Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep Mixin :: Type -> Type #

Methods

from :: Mixin -> Rep Mixin x #

to :: Rep Mixin x -> Mixin #

ToJSON Mixin Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON Mixin Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep Mixin Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

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

mixin :: Mixin Source #

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

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

mRoot :: Lens' Mixin (Maybe Text) Source #

If non-empty specifies a path under which inherited HTTP paths are rooted.

mName :: Lens' Mixin (Maybe Text) Source #

The fully qualified name of the interface which is included.

CustomHTTPPattern

data CustomHTTPPattern Source #

A custom pattern is used for defining custom HTTP verb.

See: customHTTPPattern smart constructor.

Instances
Eq CustomHTTPPattern Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Data CustomHTTPPattern 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) -> CustomHTTPPattern -> c CustomHTTPPattern #

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

toConstr :: CustomHTTPPattern -> Constr #

dataTypeOf :: CustomHTTPPattern -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CustomHTTPPattern Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic CustomHTTPPattern Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep CustomHTTPPattern :: Type -> Type #

ToJSON CustomHTTPPattern Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON CustomHTTPPattern Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep CustomHTTPPattern Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

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

customHTTPPattern :: CustomHTTPPattern Source #

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

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

chttppPath :: Lens' CustomHTTPPattern (Maybe Text) Source #

The path matched by this custom verb.

chttppKind :: Lens' CustomHTTPPattern (Maybe Text) Source #

The name of this custom HTTP verb.

UsageRule

data UsageRule Source #

Usage configuration rules for the service. NOTE: Under development. Use this rule to configure unregistered calls for the service. Unregistered calls are calls that do not contain consumer project identity. (Example: calls that do not contain an API key). By default, API methods do not allow unregistered calls, and each method call must be identified by a consumer project identity. Use this rule to allow/disallow unregistered calls. Example of an API that wants to allow unregistered calls for entire service. usage: rules: - selector: "*" allow_unregistered_calls: true Example of a method that wants to allow unregistered calls. usage: rules: - selector: "google.example.library.v1.LibraryService.CreateBook" allow_unregistered_calls: true

See: usageRule smart constructor.

Instances
Eq UsageRule Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Data UsageRule 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) -> UsageRule -> c UsageRule #

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

toConstr :: UsageRule -> Constr #

dataTypeOf :: UsageRule -> DataType #

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

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

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

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

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

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

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

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

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

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

Show UsageRule Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic UsageRule Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep UsageRule :: Type -> Type #

ToJSON UsageRule Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON UsageRule Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep UsageRule Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

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

usageRule :: UsageRule Source #

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

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

urSelector :: Lens' UsageRule (Maybe Text) Source #

Selects the methods to which this rule applies. Use '*' to indicate all methods in all APIs. Refer to selector for syntax details.

urAllowUnregisteredCalls :: Lens' UsageRule (Maybe Bool) Source #

If true, the selected method allows unregistered calls, e.g. calls that don't identify any user or application.

urSkipServiceControl :: Lens' UsageRule (Maybe Bool) Source #

If true, the selected method should skip service control and the control plane features, such as quota and billing, will not be available. This flag is used by Google Cloud Endpoints to bypass checks for internal methods, such as service health check methods.

StatusDetailsItem

data StatusDetailsItem Source #

Instances
Eq StatusDetailsItem Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Data StatusDetailsItem 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) -> StatusDetailsItem -> c StatusDetailsItem #

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

toConstr :: StatusDetailsItem -> Constr #

dataTypeOf :: StatusDetailsItem -> DataType #

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

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

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

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

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

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

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

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

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

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

Show StatusDetailsItem Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic StatusDetailsItem Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep StatusDetailsItem :: Type -> Type #

ToJSON StatusDetailsItem Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON StatusDetailsItem Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep StatusDetailsItem Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

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

statusDetailsItem Source #

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

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

sdiAddtional :: Lens' StatusDetailsItem (HashMap Text JSONValue) Source #

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

Page

data Page Source #

Represents a documentation page. A page can contain subpages to represent nested documentation set structure.

See: page smart constructor.

Instances
Eq Page Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Methods

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

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

Data Page 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) -> Page -> c Page #

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

toConstr :: Page -> Constr #

dataTypeOf :: Page -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Page Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Methods

showsPrec :: Int -> Page -> ShowS #

show :: Page -> String #

showList :: [Page] -> ShowS #

Generic Page Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep Page :: Type -> Type #

Methods

from :: Page -> Rep Page x #

to :: Rep Page x -> Page #

ToJSON Page Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON Page Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep Page Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

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

page :: Page Source #

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

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

pSubpages :: Lens' Page [Page] Source #

Subpages of this page. The order of subpages specified here will be honored in the generated docset.

pContent :: Lens' Page (Maybe Text) Source #

The Markdown content of the page. You can use '(== include {path} ==)' to include content from a Markdown file.

pName :: Lens' Page (Maybe Text) Source #

The name of the page. It will be used as an identity of the page to generate URI of the page, text of the link to this page in navigation, etc. The full page name (start from the root page name to this page concatenated with `.`) can be used as reference to the page in your documentation. For example:

pages:
- name: Tutorial
  content: (== include tutorial.md ==)
  subpages:
  - name: Java
    content: (== include tutorial_java.md ==)

You can reference `Java` page using Markdown reference link syntax: `Java`.

AuthenticationRule

data AuthenticationRule Source #

Authentication rules for the service. By default, if a method has any authentication requirements, every request must include a valid credential matching one of the requirements. It's an error to include more than one kind of credential in a single request. If a method doesn't have any auth requirements, request credentials will be ignored.

See: authenticationRule smart constructor.

Instances
Eq AuthenticationRule Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Data AuthenticationRule 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) -> AuthenticationRule -> c AuthenticationRule #

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

toConstr :: AuthenticationRule -> Constr #

dataTypeOf :: AuthenticationRule -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AuthenticationRule Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic AuthenticationRule Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep AuthenticationRule :: Type -> Type #

ToJSON AuthenticationRule Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON AuthenticationRule Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep AuthenticationRule Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep AuthenticationRule = D1 (MetaData "AuthenticationRule" "Network.Google.ServiceUsage.Types.Product" "gogol-serviceusage-0.4.0-KCQGLbx3xOb2db308f4LnZ" False) (C1 (MetaCons "AuthenticationRule'" PrefixI True) ((S1 (MetaSel (Just "_arRequirements") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [AuthRequirement])) :*: S1 (MetaSel (Just "_arSelector") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_arAllowWithoutCredential") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_arOAuth") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe OAuthRequirements)))))

authenticationRule :: AuthenticationRule Source #

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

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

arRequirements :: Lens' AuthenticationRule [AuthRequirement] Source #

Requirements for additional authentication providers.

arSelector :: Lens' AuthenticationRule (Maybe Text) Source #

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

arAllowWithoutCredential :: Lens' AuthenticationRule (Maybe Bool) Source #

If true, the service accepts API keys without any other credential.

arOAuth :: Lens' AuthenticationRule (Maybe OAuthRequirements) Source #

The requirements for OAuth credentials.

LabelDescriptorValueType

data LabelDescriptorValueType Source #

The type of data that can be assigned to the label.

Constructors

LDVTString

STRING A variable-length string. This is the default.

LDVTBool

BOOL Boolean; true or false.

LDVTINT64

INT64 A 64-bit signed integer.

Instances
Enum LabelDescriptorValueType Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Eq LabelDescriptorValueType Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Data LabelDescriptorValueType 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) -> LabelDescriptorValueType -> c LabelDescriptorValueType #

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

toConstr :: LabelDescriptorValueType -> Constr #

dataTypeOf :: LabelDescriptorValueType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord LabelDescriptorValueType Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Read LabelDescriptorValueType Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Show LabelDescriptorValueType Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Generic LabelDescriptorValueType Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Associated Types

type Rep LabelDescriptorValueType :: Type -> Type #

Hashable LabelDescriptorValueType Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

ToJSON LabelDescriptorValueType Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

FromJSON LabelDescriptorValueType Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

FromHttpApiData LabelDescriptorValueType Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

ToHttpApiData LabelDescriptorValueType Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

type Rep LabelDescriptorValueType Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

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

MetricRuleMetricCosts

data 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.

See: metricRuleMetricCosts smart constructor.

Instances
Eq MetricRuleMetricCosts Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Data MetricRuleMetricCosts 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) -> MetricRuleMetricCosts -> c MetricRuleMetricCosts #

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

toConstr :: MetricRuleMetricCosts -> Constr #

dataTypeOf :: MetricRuleMetricCosts -> DataType #

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

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

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

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

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

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

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

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

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

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

Show MetricRuleMetricCosts Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic MetricRuleMetricCosts Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep MetricRuleMetricCosts :: Type -> Type #

ToJSON MetricRuleMetricCosts Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON MetricRuleMetricCosts Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep MetricRuleMetricCosts Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

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

metricRuleMetricCosts Source #

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

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

AuthorizationConfig

data AuthorizationConfig Source #

Configuration of authorization. This section determines the authorization provider, if unspecified, then no authorization check will be done. Example: experimental: authorization: provider: firebaserules.googleapis.com

See: authorizationConfig smart constructor.

Instances
Eq AuthorizationConfig Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Data AuthorizationConfig 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) -> AuthorizationConfig -> c AuthorizationConfig #

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

toConstr :: AuthorizationConfig -> Constr #

dataTypeOf :: AuthorizationConfig -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AuthorizationConfig Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic AuthorizationConfig Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep AuthorizationConfig :: Type -> Type #

ToJSON AuthorizationConfig Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON AuthorizationConfig Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep AuthorizationConfig Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

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

authorizationConfig :: AuthorizationConfig Source #

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

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

acProvider :: Lens' AuthorizationConfig (Maybe Text) Source #

The name of the authorization provider, such as firebaserules.googleapis.com.

APISyntax

data APISyntax Source #

The source syntax of the service.

Constructors

ASSyntaxPROTO2

SYNTAX_PROTO2 Syntax `proto2`.

ASSyntaxPROTO3

SYNTAX_PROTO3 Syntax `proto3`.

Instances
Enum APISyntax Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Eq APISyntax Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Data APISyntax 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) -> APISyntax -> c APISyntax #

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

toConstr :: APISyntax -> Constr #

dataTypeOf :: APISyntax -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord APISyntax Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Read APISyntax Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Show APISyntax Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Generic APISyntax Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Associated Types

type Rep APISyntax :: Type -> Type #

Hashable APISyntax Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

ToJSON APISyntax Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

FromJSON APISyntax Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

FromHttpApiData APISyntax Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

ToHttpApiData APISyntax Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

type Rep APISyntax Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

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

TypeSyntax

data TypeSyntax Source #

The source syntax.

Constructors

TSSyntaxPROTO2

SYNTAX_PROTO2 Syntax `proto2`.

TSSyntaxPROTO3

SYNTAX_PROTO3 Syntax `proto3`.

Instances
Enum TypeSyntax Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Eq TypeSyntax Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Data TypeSyntax 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) -> TypeSyntax -> c TypeSyntax #

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

toConstr :: TypeSyntax -> Constr #

dataTypeOf :: TypeSyntax -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord TypeSyntax Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Read TypeSyntax Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Show TypeSyntax Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Generic TypeSyntax Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Associated Types

type Rep TypeSyntax :: Type -> Type #

Hashable TypeSyntax Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

ToJSON TypeSyntax Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

FromJSON TypeSyntax Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

FromHttpApiData TypeSyntax Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

ToHttpApiData TypeSyntax Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

type Rep TypeSyntax Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

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

EnableFailure

data EnableFailure Source #

Provides error messages for the failing services.

See: enableFailure smart constructor.

Instances
Eq EnableFailure Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Data EnableFailure 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) -> EnableFailure -> c EnableFailure #

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

toConstr :: EnableFailure -> Constr #

dataTypeOf :: EnableFailure -> DataType #

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

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

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

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

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

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

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

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

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

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

Show EnableFailure Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic EnableFailure Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep EnableFailure :: Type -> Type #

ToJSON EnableFailure Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON EnableFailure Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep EnableFailure Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

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

enableFailure :: EnableFailure Source #

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

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

efServiceId :: Lens' EnableFailure (Maybe Text) Source #

The service id of a service that could not be enabled.

efErrorMessage :: Lens' EnableFailure (Maybe Text) Source #

An error message describing why the service could not be enabled.

Experimental

data Experimental Source #

Experimental service configuration. These configuration options can only be used by whitelisted users.

See: experimental smart constructor.

Instances
Eq Experimental Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Data Experimental 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) -> Experimental -> c Experimental #

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

toConstr :: Experimental -> Constr #

dataTypeOf :: Experimental -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Experimental Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic Experimental Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep Experimental :: Type -> Type #

ToJSON Experimental Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON Experimental Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep Experimental Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

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

experimental :: Experimental Source #

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

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

Backend

data Backend Source #

`Backend` defines the backend configuration for a service.

See: backend smart constructor.

Instances
Eq Backend Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Methods

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

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

Data Backend 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) -> Backend -> c Backend #

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

toConstr :: Backend -> Constr #

dataTypeOf :: Backend -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Backend Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic Backend Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep Backend :: Type -> Type #

Methods

from :: Backend -> Rep Backend x #

to :: Rep Backend x -> Backend #

ToJSON Backend Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON Backend Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep Backend Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

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

backend :: Backend Source #

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

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

bRules :: Lens' Backend [BackendRule] Source #

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

Monitoring

data Monitoring Source #

Monitoring configuration of the service. The example below shows how to configure monitored resources and metrics for monitoring. In the example, a monitored resource and two metrics are defined. The `library.googleapis.com/book/returned_count` metric is sent to both producer and consumer projects, whereas the `library.googleapis.com/book/overdue_count` metric is only sent to the consumer project. monitored_resources: - type: library.googleapis.com/branch labels: - key: /city description: The city where the library branch is located in. - key: /name description: The name of the branch. metrics: - name: library.googleapis.com/book/returned_count metric_kind: DELTA value_type: INT64 labels: - key: /customer_id - name: library.googleapis.com/book/overdue_count metric_kind: GAUGE value_type: INT64 labels: - key: /customer_id monitoring: producer_destinations: - monitored_resource: library.googleapis.com/branch metrics: - library.googleapis.com/book/returned_count consumer_destinations: - monitored_resource: library.googleapis.com/branch metrics: - library.googleapis.com/book/returned_count - library.googleapis.com/book/overdue_count

See: monitoring smart constructor.

Instances
Eq Monitoring Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Data Monitoring 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) -> Monitoring -> c Monitoring #

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

toConstr :: Monitoring -> Constr #

dataTypeOf :: Monitoring -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Monitoring Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic Monitoring Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep Monitoring :: Type -> Type #

ToJSON Monitoring Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON Monitoring Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep Monitoring Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

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

monitoring :: Monitoring Source #

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

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

mProducerDestinations :: Lens' Monitoring [MonitoringDestination] Source #

Monitoring configurations for sending metrics to the producer project. There can be multiple producer destinations. A monitored resouce type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration.

mConsumerDestinations :: Lens' Monitoring [MonitoringDestination] Source #

Monitoring configurations for sending metrics to the consumer project. There can be multiple consumer destinations. A monitored resouce type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration.

LogDescriptor

data LogDescriptor Source #

A description of a log type. Example in YAML format: - name: library.googleapis.com/activity_history description: The history of borrowing and returning library items. display_name: Activity labels: - key: /customer_id description: Identifier of a library customer

See: logDescriptor smart constructor.

Instances
Eq LogDescriptor Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Data LogDescriptor 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) -> LogDescriptor -> c LogDescriptor #

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

toConstr :: LogDescriptor -> Constr #

dataTypeOf :: LogDescriptor -> DataType #

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

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

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

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

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

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

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

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

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

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

Show LogDescriptor Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic LogDescriptor Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep LogDescriptor :: Type -> Type #

ToJSON LogDescriptor Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON LogDescriptor Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep LogDescriptor Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

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

logDescriptor :: LogDescriptor Source #

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

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

ldName :: Lens' LogDescriptor (Maybe Text) Source #

The name of the log. It must be less than 512 characters long and can include the following characters: upper- and lower-case alphanumeric characters [A-Za-z0-9], and punctuation characters including slash, underscore, hyphen, period [/_-.].

ldDisplayName :: Lens' LogDescriptor (Maybe Text) Source #

The human-readable name for this log. This information appears on the user interface and should be concise.

ldLabels :: Lens' LogDescriptor [LabelDescriptor] Source #

The set of labels that are available to describe a specific log entry. Runtime requests that contain labels not specified here are considered invalid.

ldDescription :: Lens' LogDescriptor (Maybe Text) Source #

A human-readable description of this log. This information appears in the documentation and can contain details.

Method

data Method Source #

Method represents a method of an API interface.

See: method smart constructor.

Instances
Eq Method Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Methods

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

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

Data Method 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) -> Method -> c Method #

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

toConstr :: Method -> Constr #

dataTypeOf :: Method -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Method Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic Method Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep Method :: Type -> Type #

Methods

from :: Method -> Rep Method x #

to :: Rep Method x -> Method #

ToJSON Method Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON Method Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep Method Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep Method = D1 (MetaData "Method" "Network.Google.ServiceUsage.Types.Product" "gogol-serviceusage-0.4.0-KCQGLbx3xOb2db308f4LnZ" False) (C1 (MetaCons "Method'" PrefixI True) ((S1 (MetaSel (Just "_metRequestStreaming") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_metResponseTypeURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_metName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_metResponseStreaming") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_metRequestTypeURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_metOptions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Option])) :*: S1 (MetaSel (Just "_metSyntax") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe MethodSyntax))))))

method :: Method Source #

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

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

metRequestStreaming :: Lens' Method (Maybe Bool) Source #

If true, the request is streamed.

metResponseTypeURL :: Lens' Method (Maybe Text) Source #

The URL of the output message type.

metName :: Lens' Method (Maybe Text) Source #

The simple name of this method.

metResponseStreaming :: Lens' Method (Maybe Bool) Source #

If true, the response is streamed.

metRequestTypeURL :: Lens' Method (Maybe Text) Source #

A URL of the input message type.

metOptions :: Lens' Method [Option] Source #

Any metadata attached to the method.

metSyntax :: Lens' Method (Maybe MethodSyntax) Source #

The source syntax of this method.

SystemParameters

data SystemParameters Source #

### System parameter configuration A system parameter is a special kind of parameter defined by the API system, not by an individual API. It is typically mapped to an HTTP header and/or a URL query parameter. This configuration specifies which methods change the names of the system parameters.

See: systemParameters smart constructor.

Instances
Eq SystemParameters Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Data SystemParameters 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) -> SystemParameters -> c SystemParameters #

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

toConstr :: SystemParameters -> Constr #

dataTypeOf :: SystemParameters -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SystemParameters Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic SystemParameters Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep SystemParameters :: Type -> Type #

ToJSON SystemParameters Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON SystemParameters Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep SystemParameters Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

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

systemParameters :: SystemParameters Source #

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

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

spRules :: Lens' SystemParameters [SystemParameterRule] Source #

Define system parameters. The parameters defined here will override the default parameters implemented by the system. If this field is missing from the service config, default system parameters will be used. Default system parameters and names is implementation-dependent. Example: define api key for all methods system_parameters rules: - selector: "*" parameters: - name: api_key url_query_parameter: api_key Example: define 2 api key names for a specific method. system_parameters rules: - selector: "/ListShelves" parameters: - name: api_key http_header: Api-Key1 - name: api_key http_header: Api-Key2 **NOTE:** All service configuration rules follow "last one wins" order.

EnableServiceResponse

data EnableServiceResponse Source #

Response message for the `EnableService` method. This response message is assigned to the `response` field of the returned Operation when that operation is done.

See: enableServiceResponse smart constructor.

Instances
Eq EnableServiceResponse Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Data EnableServiceResponse 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) -> EnableServiceResponse -> c EnableServiceResponse #

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

toConstr :: EnableServiceResponse -> Constr #

dataTypeOf :: EnableServiceResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show EnableServiceResponse Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic EnableServiceResponse Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep EnableServiceResponse :: Type -> Type #

ToJSON EnableServiceResponse Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON EnableServiceResponse Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep EnableServiceResponse Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

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

enableServiceResponse :: EnableServiceResponse Source #

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

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

esrService :: Lens' EnableServiceResponse (Maybe GoogleAPIServiceusageV1Service) Source #

The new state of the service after enabling.

Documentation

data Documentation Source #

`Documentation` provides the information for describing a service. Example:

documentation:
  summary: >
    The Google Calendar API gives access
    to most calendar features.
  pages:
  - name: Overview
    content: (== include google/foo/overview.md ==)
  - name: Tutorial
    content: (== include google/foo/tutorial.md ==)
    subpages;
    - name: Java
      content: (== include google/foo/tutorial_java.md ==)
  rules:
  - selector: google.calendar.Calendar.Get
    description: >
      ...
  - selector: google.calendar.Calendar.Put
    description: >
      ...

Documentation is provided in markdown syntax. In addition to standard markdown features, definition lists, tables and fenced code blocks are supported. Section headers can be provided and are interpreted relative to the section nesting of the context where a documentation fragment is embedded. Documentation from the IDL is merged with documentation defined via the config at normalization time, where documentation provided by config rules overrides IDL provided. A number of constructs specific to the API platform are supported in documentation text. In order to reference a proto element, the following notation can be used:

[fully.qualified.proto.name][]

To override the display text used for the link, this can be used:

[display text][fully.qualified.proto.name]

Text can be excluded from doc using the following notation:

(-- internal comment --)

A few directives are available in documentation. Note that directives must appear on a single line to be properly identified. The `include` directive includes a markdown file from an external source:

(== include path/to/file ==)

The `resource_for` directive marks a message to be the resource of a collection in REST view. If it is not specified, tools attempt to infer the resource from the operations in a collection:

(== resource_for v1.shelves.books ==)

The directive `suppress_warning` does not directly affect documentation and is documented together with service config validation.

See: documentation smart constructor.

Instances
Eq Documentation Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Data Documentation 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) -> Documentation -> c Documentation #

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

toConstr :: Documentation -> Constr #

dataTypeOf :: Documentation -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Documentation Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic Documentation Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep Documentation :: Type -> Type #

ToJSON Documentation Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON Documentation Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep Documentation Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep Documentation = D1 (MetaData "Documentation" "Network.Google.ServiceUsage.Types.Product" "gogol-serviceusage-0.4.0-KCQGLbx3xOb2db308f4LnZ" False) (C1 (MetaCons "Documentation'" PrefixI True) ((S1 (MetaSel (Just "_dSummary") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dDocumentationRootURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_dRules") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [DocumentationRule])) :*: (S1 (MetaSel (Just "_dPages") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Page])) :*: S1 (MetaSel (Just "_dOverview") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

documentation :: Documentation Source #

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

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

dSummary :: Lens' Documentation (Maybe Text) Source #

A short summary of what the service does. Can only be provided by plain text.

dDocumentationRootURL :: Lens' Documentation (Maybe Text) Source #

The URL to the root of documentation.

dRules :: Lens' Documentation [DocumentationRule] Source #

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

dPages :: Lens' Documentation [Page] Source #

The top level pages for the documentation set.

dOverview :: Lens' Documentation (Maybe Text) Source #

Declares a single overview page. For example:

documentation:
  summary: ...
  overview: (== include overview.md ==)

This is a shortcut for the following declaration (using pages style):

documentation:
  summary: ...
  pages:
  - name: Overview
    content: (== include overview.md ==)

Note: you cannot specify both `overview` field and `pages` field.

Xgafv

data Xgafv Source #

V1 error format.

Constructors

X1

1 v1 error format

X2

2 v2 error format

Instances
Enum Xgafv Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Eq Xgafv Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Methods

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

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

Data Xgafv 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) -> Xgafv -> c Xgafv #

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

toConstr :: Xgafv -> Constr #

dataTypeOf :: Xgafv -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord Xgafv Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Methods

compare :: Xgafv -> Xgafv -> Ordering #

(<) :: Xgafv -> Xgafv -> Bool #

(<=) :: Xgafv -> Xgafv -> Bool #

(>) :: Xgafv -> Xgafv -> Bool #

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

max :: Xgafv -> Xgafv -> Xgafv #

min :: Xgafv -> Xgafv -> Xgafv #

Read Xgafv Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Show Xgafv Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Methods

showsPrec :: Int -> Xgafv -> ShowS #

show :: Xgafv -> String #

showList :: [Xgafv] -> ShowS #

Generic Xgafv Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Associated Types

type Rep Xgafv :: Type -> Type #

Methods

from :: Xgafv -> Rep Xgafv x #

to :: Rep Xgafv x -> Xgafv #

Hashable Xgafv Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Methods

hashWithSalt :: Int -> Xgafv -> Int #

hash :: Xgafv -> Int #

ToJSON Xgafv Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

FromJSON Xgafv Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

FromHttpApiData Xgafv Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

ToHttpApiData Xgafv Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

type Rep Xgafv Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

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

DisableServiceResponse

data DisableServiceResponse Source #

Response message for the `DisableService` method. This response message is assigned to the `response` field of the returned Operation when that operation is done.

See: disableServiceResponse smart constructor.

Instances
Eq DisableServiceResponse Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Data DisableServiceResponse 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) -> DisableServiceResponse -> c DisableServiceResponse #

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

toConstr :: DisableServiceResponse -> Constr #

dataTypeOf :: DisableServiceResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DisableServiceResponse Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic DisableServiceResponse Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep DisableServiceResponse :: Type -> Type #

ToJSON DisableServiceResponse Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON DisableServiceResponse Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep DisableServiceResponse Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

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

disableServiceResponse :: DisableServiceResponse Source #

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

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

dsrService :: Lens' DisableServiceResponse (Maybe GoogleAPIServiceusageV1Service) Source #

The new state of the service after disabling.

MetricDescriptorMetadata

data MetricDescriptorMetadata Source #

Additional annotations that can be used to guide the usage of a metric.

See: metricDescriptorMetadata smart constructor.

Instances
Eq MetricDescriptorMetadata Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Data MetricDescriptorMetadata 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) -> MetricDescriptorMetadata -> c MetricDescriptorMetadata #

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

toConstr :: MetricDescriptorMetadata -> Constr #

dataTypeOf :: MetricDescriptorMetadata -> DataType #

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

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

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

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

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

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

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

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

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

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

Show MetricDescriptorMetadata Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic MetricDescriptorMetadata Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep MetricDescriptorMetadata :: Type -> Type #

ToJSON MetricDescriptorMetadata Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON MetricDescriptorMetadata Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep MetricDescriptorMetadata Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep MetricDescriptorMetadata = D1 (MetaData "MetricDescriptorMetadata" "Network.Google.ServiceUsage.Types.Product" "gogol-serviceusage-0.4.0-KCQGLbx3xOb2db308f4LnZ" False) (C1 (MetaCons "MetricDescriptorMetadata'" PrefixI True) (S1 (MetaSel (Just "_mdmSamplePeriod") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GDuration)) :*: (S1 (MetaSel (Just "_mdmIngestDelay") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GDuration)) :*: S1 (MetaSel (Just "_mdmLaunchStage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe MetricDescriptorMetadataLaunchStage)))))

metricDescriptorMetadata :: MetricDescriptorMetadata Source #

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

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

mdmSamplePeriod :: Lens' MetricDescriptorMetadata (Maybe Scientific) Source #

The sampling period of metric data points. For metrics which are written periodically, consecutive data points are stored at this time interval, excluding data loss due to errors. Metrics with a higher granularity have a smaller sampling period.

mdmIngestDelay :: Lens' MetricDescriptorMetadata (Maybe Scientific) Source #

The delay of data points caused by ingestion. Data points older than this age are guaranteed to be ingested and available to be read, excluding data loss due to errors.

SystemParameterRule

data SystemParameterRule Source #

Define a system parameter rule mapping system parameter definitions to methods.

See: systemParameterRule smart constructor.

Instances
Eq SystemParameterRule Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Data SystemParameterRule 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) -> SystemParameterRule -> c SystemParameterRule #

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

toConstr :: SystemParameterRule -> Constr #

dataTypeOf :: SystemParameterRule -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SystemParameterRule Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic SystemParameterRule Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep SystemParameterRule :: Type -> Type #

ToJSON SystemParameterRule Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON SystemParameterRule Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep SystemParameterRule Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

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

systemParameterRule :: SystemParameterRule Source #

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

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

sprSelector :: Lens' SystemParameterRule (Maybe Text) Source #

Selects the methods to which this rule applies. Use '*' to indicate all methods in all APIs. Refer to selector for syntax details.

sprParameters :: Lens' SystemParameterRule [SystemParameter] Source #

Define parameters. Multiple names may be defined for a parameter. For a given method call, only one of them should be used. If multiple names are used the behavior is implementation-dependent. If none of the specified names are present the behavior is parameter-dependent.

LabelDescriptor

data LabelDescriptor Source #

A description of a label.

See: labelDescriptor smart constructor.

Instances
Eq LabelDescriptor Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Data LabelDescriptor 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) -> LabelDescriptor -> c LabelDescriptor #

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

toConstr :: LabelDescriptor -> Constr #

dataTypeOf :: LabelDescriptor -> DataType #

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

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

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

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

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

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

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

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

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

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

Show LabelDescriptor Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic LabelDescriptor Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep LabelDescriptor :: Type -> Type #

ToJSON LabelDescriptor Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON LabelDescriptor Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep LabelDescriptor Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

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

labelDescriptor :: LabelDescriptor Source #

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

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

lValueType :: Lens' LabelDescriptor (Maybe LabelDescriptorValueType) Source #

The type of data that can be assigned to the label.

lDescription :: Lens' LabelDescriptor (Maybe Text) Source #

A human-readable description for the label.

Usage

data Usage Source #

Configuration controlling usage of a service.

See: usage smart constructor.

Instances
Eq Usage Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Methods

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

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

Data Usage 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) -> Usage -> c Usage #

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

toConstr :: Usage -> Constr #

dataTypeOf :: Usage -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Usage Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Methods

showsPrec :: Int -> Usage -> ShowS #

show :: Usage -> String #

showList :: [Usage] -> ShowS #

Generic Usage Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep Usage :: Type -> Type #

Methods

from :: Usage -> Rep Usage x #

to :: Rep Usage x -> Usage #

ToJSON Usage Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON Usage Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep Usage Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

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

usage :: Usage Source #

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

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

uRequirements :: Lens' Usage [Text] Source #

Requirements that must be satisfied before a consumer project can use the service. Each requirement is of the form /; for example 'serviceusage.googleapis.com/billing-enabled'.

uRules :: Lens' Usage [UsageRule] Source #

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

uProducerNotificationChannel :: Lens' Usage (Maybe Text) Source #

The full resource name of a channel used for sending notifications to the service producer. Google Service Management currently only supports Google Cloud Pub/Sub as a notification channel. To use Google Cloud Pub/Sub as the channel, this must be the name of a Cloud Pub/Sub topic that uses the Cloud Pub/Sub topic name format documented in https://cloud.google.com/pubsub/docs/overview.

FieldCardinality

data FieldCardinality Source #

The field cardinality.

Constructors

CardinalityUnknown

CARDINALITY_UNKNOWN For fields with unknown cardinality.

CardinalityOptional

CARDINALITY_OPTIONAL For optional fields.

CardinalityRequired

CARDINALITY_REQUIRED For required fields. Proto2 syntax only.

CardinalityRepeated

CARDINALITY_REPEATED For repeated fields.

Instances
Enum FieldCardinality Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Eq FieldCardinality Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Data FieldCardinality 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) -> FieldCardinality -> c FieldCardinality #

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

toConstr :: FieldCardinality -> Constr #

dataTypeOf :: FieldCardinality -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord FieldCardinality Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Read FieldCardinality Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Show FieldCardinality Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Generic FieldCardinality Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Associated Types

type Rep FieldCardinality :: Type -> Type #

Hashable FieldCardinality Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

ToJSON FieldCardinality Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

FromJSON FieldCardinality Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

FromHttpApiData FieldCardinality Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

ToHttpApiData FieldCardinality Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

type Rep FieldCardinality Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

type Rep FieldCardinality = D1 (MetaData "FieldCardinality" "Network.Google.ServiceUsage.Types.Sum" "gogol-serviceusage-0.4.0-KCQGLbx3xOb2db308f4LnZ" False) ((C1 (MetaCons "CardinalityUnknown" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "CardinalityOptional" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "CardinalityRequired" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "CardinalityRepeated" PrefixI False) (U1 :: Type -> Type)))

HTTP

data HTTP Source #

Defines the HTTP configuration for an API service. It contains a list of HttpRule, each specifying the mapping of an RPC method to one or more HTTP REST API methods.

See: hTTP smart constructor.

Instances
Eq HTTP Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Methods

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

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

Data HTTP 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) -> HTTP -> c HTTP #

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

toConstr :: HTTP -> Constr #

dataTypeOf :: HTTP -> DataType #

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

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

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

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

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

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

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

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

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

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

Show HTTP Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Methods

showsPrec :: Int -> HTTP -> ShowS #

show :: HTTP -> String #

showList :: [HTTP] -> ShowS #

Generic HTTP Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep HTTP :: Type -> Type #

Methods

from :: HTTP -> Rep HTTP x #

to :: Rep HTTP x -> HTTP #

ToJSON HTTP Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON HTTP Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep HTTP Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

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

hTTP :: HTTP Source #

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

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

hRules :: Lens' HTTP [HTTPRule] Source #

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

hFullyDecodeReservedExpansion :: Lens' HTTP (Maybe Bool) Source #

When set to true, URL path parmeters will be fully URI-decoded except in cases of single segment matches in reserved expansion, where "%2F" will be left encoded. The default behavior is to not decode RFC 6570 reserved characters in multi segment matches.

DisableServiceRequest

data DisableServiceRequest Source #

Request message for the `DisableService` method.

See: disableServiceRequest smart constructor.

Instances
Eq DisableServiceRequest Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Data DisableServiceRequest 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) -> DisableServiceRequest -> c DisableServiceRequest #

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

toConstr :: DisableServiceRequest -> Constr #

dataTypeOf :: DisableServiceRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DisableServiceRequest Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic DisableServiceRequest Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep DisableServiceRequest :: Type -> Type #

ToJSON DisableServiceRequest Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON DisableServiceRequest Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep DisableServiceRequest Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

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

disableServiceRequest :: DisableServiceRequest Source #

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

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

dsrDisableDependentServices :: Lens' DisableServiceRequest (Maybe Bool) Source #

Indicates if services that are enabled and which depend on this service should also be disabled. If not set, an error will be generated if any enabled services depend on the service to be disabled. When set, the service, and any enabled services that depend on it, will be disabled together.

Type

data Type Source #

A protocol buffer message type.

See: type' smart constructor.

Instances
Eq Type Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Methods

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

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

Data Type 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) -> Type -> c Type #

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

toConstr :: Type -> Constr #

dataTypeOf :: Type -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Type Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Methods

showsPrec :: Int -> Type -> ShowS #

show :: Type -> String #

showList :: [Type] -> ShowS #

Generic Type Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep Type :: Type -> Type #

Methods

from :: Type -> Rep Type x #

to :: Rep Type x -> Type #

ToJSON Type Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON Type Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep Type Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type' :: Type Source #

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

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

tOneofs :: Lens' Type [Text] Source #

The list of types appearing in `oneof` definitions in this type.

tName :: Lens' Type (Maybe Text) Source #

The fully qualified message name.

tOptions :: Lens' Type [Option] Source #

The protocol buffer options.

tFields :: Lens' Type [Field] Source #

The list of fields.

tSyntax :: Lens' Type (Maybe TypeSyntax) Source #

The source syntax.

API

data API Source #

Api is a light-weight descriptor for an API Interface. Interfaces are also described as "protocol buffer services" in some contexts, such as by the "service" keyword in a .proto file, but they are different from API Services, which represent a concrete implementation of an interface as opposed to simply a description of methods and bindings. They are also sometimes simply referred to as "APIs" in other contexts, such as the name of this message itself. See https://cloud.google.com/apis/design/glossary for detailed terminology.

See: api smart constructor.

Instances
Eq API Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Methods

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

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

Data API 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) -> API -> c API #

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

toConstr :: API -> Constr #

dataTypeOf :: API -> DataType #

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

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

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

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

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

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

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

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

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

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

Show API Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Methods

showsPrec :: Int -> API -> ShowS #

show :: API -> String #

showList :: [API] -> ShowS #

Generic API Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep API :: Type -> Type #

Methods

from :: API -> Rep API x #

to :: Rep API x -> API #

ToJSON API Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON API Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep API Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

api :: API Source #

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

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

aSourceContext :: Lens' API (Maybe SourceContext) Source #

Source context for the protocol buffer service represented by this message.

aMixins :: Lens' API [Mixin] Source #

Included interfaces. See Mixin.

aMethods :: Lens' API [Method] Source #

The methods of this interface, in unspecified order.

aName :: Lens' API (Maybe Text) Source #

The fully qualified name of this interface, including package name followed by the interface's simple name.

aVersion :: Lens' API (Maybe Text) Source #

A version string for this interface. If specified, must have the form `major-version.minor-version`, as in `1.10`. If the minor version is omitted, it defaults to zero. If the entire version field is empty, the major version is derived from the package name, as outlined below. If the field is not empty, the version in the package name will be verified to be consistent with what is provided here. The versioning schema uses semantic versioning where the major version number indicates a breaking change and the minor version an additive, non-breaking change. Both version numbers are signals to users what to expect from different versions, and should be carefully chosen based on the product plan. The major version is also reflected in the package name of the interface, which must end in `v`, as in `google.feature.v1`. For major versions 0 and 1, the suffix can be omitted. Zero major versions must only be used for experimental, non-GA interfaces.

aOptions :: Lens' API [Option] Source #

Any metadata attached to the interface.

aSyntax :: Lens' API (Maybe APISyntax) Source #

The source syntax of the service.

MonitoringDestination

data MonitoringDestination Source #

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

See: monitoringDestination smart constructor.

Instances
Eq MonitoringDestination Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Data MonitoringDestination 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) -> MonitoringDestination -> c MonitoringDestination #

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

toConstr :: MonitoringDestination -> Constr #

dataTypeOf :: MonitoringDestination -> DataType #

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

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

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

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

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

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

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

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

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

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

Show MonitoringDestination Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic MonitoringDestination Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep MonitoringDestination :: Type -> Type #

ToJSON MonitoringDestination Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON MonitoringDestination Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep MonitoringDestination Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

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

monitoringDestination :: MonitoringDestination Source #

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

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

mdMetrics :: Lens' MonitoringDestination [Text] Source #

Types of the metrics to report to this monitoring destination. Each type must be defined in Service.metrics section.

mdMonitoredResource :: Lens' MonitoringDestination (Maybe Text) Source #

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

OperationMetadata

data OperationMetadata Source #

The operation metadata returned for the batchend services operation.

See: operationMetadata smart constructor.

Instances
Eq OperationMetadata Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Data OperationMetadata 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) -> OperationMetadata -> c OperationMetadata #

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

toConstr :: OperationMetadata -> Constr #

dataTypeOf :: OperationMetadata -> DataType #

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

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

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

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

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

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

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

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

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

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

Show OperationMetadata Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic OperationMetadata Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep OperationMetadata :: Type -> Type #

ToJSON OperationMetadata Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON OperationMetadata Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep OperationMetadata Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

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

operationMetadata :: OperationMetadata Source #

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

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

omResourceNames :: Lens' OperationMetadata [Text] Source #

The full name of the resources that this operation is directly associated with.

Endpoint

data Endpoint Source #

`Endpoint` describes a network endpoint that serves a set of APIs. A service may expose any number of endpoints, and all endpoints share the same service configuration, such as quota configuration and monitoring configuration. Example service configuration: name: library-example.googleapis.com endpoints: # Below entry makes 'google.example.library.v1.Library' # API be served from endpoint address library-example.googleapis.com. # It also allows HTTP OPTIONS calls to be passed to the backend, for # it to decide whether the subsequent cross-origin request is # allowed to proceed. - name: library-example.googleapis.com allow_cors: true

See: endpoint smart constructor.

Instances
Eq Endpoint Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Data Endpoint 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) -> Endpoint -> c Endpoint #

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

toConstr :: Endpoint -> Constr #

dataTypeOf :: Endpoint -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Endpoint Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic Endpoint Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep Endpoint :: Type -> Type #

Methods

from :: Endpoint -> Rep Endpoint x #

to :: Rep Endpoint x -> Endpoint #

ToJSON Endpoint Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON Endpoint Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep Endpoint Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep Endpoint = D1 (MetaData "Endpoint" "Network.Google.ServiceUsage.Types.Product" "gogol-serviceusage-0.4.0-KCQGLbx3xOb2db308f4LnZ" False) (C1 (MetaCons "Endpoint'" PrefixI True) ((S1 (MetaSel (Just "_eAliases") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_eAllowCORS") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "_eName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_eFeatures") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_eTarget") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

endpoint :: Endpoint Source #

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

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

eAliases :: Lens' Endpoint [Text] Source #

DEPRECATED: This field is no longer supported. Instead of using aliases, please specify multiple google.api.Endpoint for each of the intended aliases. Additional names that this endpoint will be hosted on.

eAllowCORS :: Lens' Endpoint (Maybe Bool) Source #

Allowing CORS, aka cross-domain traffic, would allow the backends served from this endpoint to receive and respond to HTTP OPTIONS requests. The response will be used by the browser to determine whether the subsequent cross-origin request is allowed to proceed.

eName :: Lens' Endpoint (Maybe Text) Source #

The canonical name of this endpoint.

eFeatures :: Lens' Endpoint [Text] Source #

The list of features enabled on this endpoint.

eTarget :: Lens' Endpoint (Maybe Text) Source #

The specification of an Internet routable address of API frontend that will handle requests to this API Endpoint. It should be either a valid IPv4 address or a fully-qualified domain name. For example, "8.8.8.8" or "myservice.appspot.com".

OAuthRequirements

data OAuthRequirements Source #

OAuth scopes are a way to define data and permissions on data. For example, there are scopes defined for "Read-only access to Google Calendar" and "Access to Cloud Platform". Users can consent to a scope for an application, giving it permission to access that data on their behalf. OAuth scope specifications should be fairly coarse grained; a user will need to see and understand the text description of what your scope means. In most cases: use one or at most two OAuth scopes for an entire family of products. If your product has multiple APIs, you should probably be sharing the OAuth scope across all of those APIs. When you need finer grained OAuth consent screens: talk with your product management about how developers will use them in practice. Please note that even though each of the canonical scopes is enough for a request to be accepted and passed to the backend, a request can still fail due to the backend requiring additional scopes or permissions.

See: oAuthRequirements smart constructor.

Instances
Eq OAuthRequirements Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Data OAuthRequirements 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) -> OAuthRequirements -> c OAuthRequirements #

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

toConstr :: OAuthRequirements -> Constr #

dataTypeOf :: OAuthRequirements -> DataType #

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

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

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

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

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

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

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

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

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

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

Show OAuthRequirements Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic OAuthRequirements Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep OAuthRequirements :: Type -> Type #

ToJSON OAuthRequirements Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON OAuthRequirements Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep OAuthRequirements Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

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

oAuthRequirements :: OAuthRequirements Source #

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

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

oarCanonicalScopes :: Lens' OAuthRequirements (Maybe Text) Source #

The list of publicly documented OAuth scopes that are allowed access. An OAuth token containing any of these scopes will be accepted. Example: canonical_scopes: https://www.googleapis.com/auth/calendar, https://www.googleapis.com/auth/calendar.read

MetricDescriptorMetricKind

data MetricDescriptorMetricKind Source #

Whether the metric records instantaneous values, changes to a value, etc. Some combinations of `metric_kind` and `value_type` might not be supported.

Constructors

MetricKindUnspecified

METRIC_KIND_UNSPECIFIED Do not use this default value.

Gauge

GAUGE An instantaneous measurement of a value.

Delta

DELTA The change in a value during a time interval.

Cumulative

CUMULATIVE A value accumulated over a time interval. Cumulative measurements in a time series should have the same start time and increasing end times, until an event resets the cumulative value to zero and sets a new start time for the following points.

Instances
Enum MetricDescriptorMetricKind Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Eq MetricDescriptorMetricKind Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Data MetricDescriptorMetricKind 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) -> MetricDescriptorMetricKind -> c MetricDescriptorMetricKind #

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

toConstr :: MetricDescriptorMetricKind -> Constr #

dataTypeOf :: MetricDescriptorMetricKind -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord MetricDescriptorMetricKind Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Read MetricDescriptorMetricKind Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Show MetricDescriptorMetricKind Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Generic MetricDescriptorMetricKind Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Associated Types

type Rep MetricDescriptorMetricKind :: Type -> Type #

Hashable MetricDescriptorMetricKind Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

ToJSON MetricDescriptorMetricKind Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

FromJSON MetricDescriptorMetricKind Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

FromHttpApiData MetricDescriptorMetricKind Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

ToHttpApiData MetricDescriptorMetricKind Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

type Rep MetricDescriptorMetricKind Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

type Rep MetricDescriptorMetricKind = D1 (MetaData "MetricDescriptorMetricKind" "Network.Google.ServiceUsage.Types.Sum" "gogol-serviceusage-0.4.0-KCQGLbx3xOb2db308f4LnZ" False) ((C1 (MetaCons "MetricKindUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Gauge" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Delta" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Cumulative" PrefixI False) (U1 :: Type -> Type)))

CustomError

data CustomError Source #

Customize service error responses. For example, list any service specific protobuf types that can appear in error detail lists of error responses. Example: custom_error: types: - google.foo.v1.CustomError - google.foo.v1.AnotherError

See: customError smart constructor.

Instances
Eq CustomError Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Data CustomError 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) -> CustomError -> c CustomError #

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

toConstr :: CustomError -> Constr #

dataTypeOf :: CustomError -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CustomError Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic CustomError Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep CustomError :: Type -> Type #

ToJSON CustomError Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON CustomError Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep CustomError Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

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

customError :: CustomError Source #

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

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

ceRules :: Lens' CustomError [CustomErrorRule] Source #

The list of custom error rules that apply to individual API messages. **NOTE:** All service configuration rules follow "last one wins" order.

ceTypes :: Lens' CustomError [Text] Source #

The list of custom error detail types, e.g. 'google.foo.v1.CustomError'.

QuotaLimit

data QuotaLimit Source #

`QuotaLimit` defines a specific limit that applies over a specified duration for a limit type. There can be at most one limit for a duration and limit type combination defined within a `QuotaGroup`.

See: quotaLimit smart constructor.

Instances
Eq QuotaLimit Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Data QuotaLimit 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) -> QuotaLimit -> c QuotaLimit #

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

toConstr :: QuotaLimit -> Constr #

dataTypeOf :: QuotaLimit -> DataType #

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

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

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

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

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

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

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

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

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

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

Show QuotaLimit Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic QuotaLimit Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep QuotaLimit :: Type -> Type #

ToJSON QuotaLimit Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON QuotaLimit Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep QuotaLimit Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

quotaLimit :: QuotaLimit Source #

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

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

qlValues :: Lens' QuotaLimit (Maybe QuotaLimitValues) Source #

Tiered limit values. You must specify this as a key:value pair, with an integer value that is the maximum number of requests allowed for the specified unit. Currently only STANDARD is supported.

qlFreeTier :: Lens' QuotaLimit (Maybe Int64) Source #

Free tier value displayed in the Developers Console for this limit. The free tier is the number of tokens that will be subtracted from the billed amount when billing is enabled. This field can only be set on a limit with duration "1d", in a billable group; it is invalid on any other limit. If this field is not set, it defaults to 0, indicating that there is no free tier for this service. Used by group-based quotas only.

qlMetric :: Lens' QuotaLimit (Maybe Text) Source #

The name of the metric this quota limit applies to. The quota limits with the same metric will be checked together during runtime. The metric must be defined within the service config.

qlName :: Lens' QuotaLimit (Maybe Text) Source #

Name of the quota limit. The name must be provided, and it must be unique within the service. The name can only include alphanumeric characters as well as '-'. The maximum length of the limit name is 64 characters.

qlDisplayName :: Lens' QuotaLimit (Maybe Text) Source #

User-visible display name for this limit. Optional. If not set, the UI will provide a default display name based on the quota configuration. This field can be used to override the default display name generated from the configuration.

qlDuration :: Lens' QuotaLimit (Maybe Text) Source #

Duration of this limit in textual notation. Example: "100s", "24h", "1d". For duration longer than a day, only multiple of days is supported. We support only "100s" and "1d" for now. Additional support will be added in the future. "0" indicates indefinite duration. Used by group-based quotas only.

qlDefaultLimit :: Lens' QuotaLimit (Maybe Int64) Source #

Default number of tokens that can be consumed during the specified duration. This is the number of tokens assigned when a client application developer activates the service for his/her project. Specifying a value of 0 will block all requests. This can be used if you are provisioning quota to selected consumers and blocking others. Similarly, a value of -1 will indicate an unlimited quota. No other negative values are allowed. Used by group-based quotas only.

qlDescription :: Lens' QuotaLimit (Maybe Text) Source #

Optional. User-visible, extended description for this quota limit. Should be used only when more context is needed to understand this limit than provided by the limit's display name (see: `display_name`).

qlUnit :: Lens' QuotaLimit (Maybe Text) Source #

Specify the unit of the quota limit. It uses the same syntax as Metric.unit. The supported unit kinds are determined by the quota backend system. Here are some examples: * "1/min/{project}" for quota per minute per project. Note: the order of unit components is insignificant. The "1" at the beginning is required to follow the metric unit syntax.

qlMaxLimit :: Lens' QuotaLimit (Maybe Int64) Source #

Maximum number of tokens that can be consumed during the specified duration. Client application developers can override the default limit up to this maximum. If specified, this value cannot be set to a value less than the default limit. If not specified, it is set to the default limit. To allow clients to apply overrides with no upper bound, set this to -1, indicating unlimited maximum quota. Used by group-based quotas only.

Option

data Option Source #

A protocol buffer option, which can be attached to a message, field, enumeration, etc.

See: option smart constructor.

Instances
Eq Option Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Methods

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

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

Data Option 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) -> Option -> c Option #

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

toConstr :: Option -> Constr #

dataTypeOf :: Option -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Option Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic Option Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep Option :: Type -> Type #

Methods

from :: Option -> Rep Option x #

to :: Rep Option x -> Option #

ToJSON Option Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON Option Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep Option Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

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

option :: Option Source #

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

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

optValue :: Lens' Option (Maybe OptionValue) Source #

The option's value packed in an Any message. If the value is a primitive, the corresponding wrapper type defined in google/protobuf/wrappers.proto should be used. If the value is an enum, it should be stored as an int32 value using the google.protobuf.Int32Value type.

optName :: Lens' Option (Maybe Text) Source #

The option's name. For protobuf built-in options (options defined in descriptor.proto), this is the short name. For example, `"map_entry"`. For custom options, it should be the fully-qualified name. For example, `"google.api.http"`.

Billing

data Billing Source #

Billing related configuration of the service. The following example shows how to configure monitored resources and metrics for billing: monitored_resources: - type: library.googleapis.com/branch labels: - key: /city description: The city where the library branch is located in. - key: /name description: The name of the branch. metrics: - name: library.googleapis.com/book/borrowed_count metric_kind: DELTA value_type: INT64 billing: consumer_destinations: - monitored_resource: library.googleapis.com/branch metrics: - library.googleapis.com/book/borrowed_count

See: billing smart constructor.

Instances
Eq Billing Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Methods

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

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

Data Billing 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) -> Billing -> c Billing #

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

toConstr :: Billing -> Constr #

dataTypeOf :: Billing -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Billing Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic Billing Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep Billing :: Type -> Type #

Methods

from :: Billing -> Rep Billing x #

to :: Rep Billing x -> Billing #

ToJSON Billing Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON Billing Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep Billing Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

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

billing :: Billing Source #

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

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

bConsumerDestinations :: Lens' Billing [BillingDestination] Source #

Billing configurations for sending metrics to the consumer project. There can be multiple consumer destinations per service, each one must have a different monitored resource type. A metric can be used in at most one consumer destination.

SourceInfo

data SourceInfo Source #

Source information used to create a Service Config

See: sourceInfo smart constructor.

Instances
Eq SourceInfo Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Data SourceInfo 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) -> SourceInfo -> c SourceInfo #

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

toConstr :: SourceInfo -> Constr #

dataTypeOf :: SourceInfo -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SourceInfo Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic SourceInfo Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep SourceInfo :: Type -> Type #

ToJSON SourceInfo Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON SourceInfo Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep SourceInfo Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

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

sourceInfo :: SourceInfo Source #

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

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

siSourceFiles :: Lens' SourceInfo [SourceInfoSourceFilesItem] Source #

All files used during config generation.

QuotaLimitValues

data QuotaLimitValues Source #

Tiered limit values. You must specify this as a key:value pair, with an integer value that is the maximum number of requests allowed for the specified unit. Currently only STANDARD is supported.

See: quotaLimitValues smart constructor.

Instances
Eq QuotaLimitValues Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Data QuotaLimitValues 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) -> QuotaLimitValues -> c QuotaLimitValues #

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

toConstr :: QuotaLimitValues -> Constr #

dataTypeOf :: QuotaLimitValues -> DataType #

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

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

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

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

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

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

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

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

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

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

Show QuotaLimitValues Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic QuotaLimitValues Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep QuotaLimitValues :: Type -> Type #

ToJSON QuotaLimitValues Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON QuotaLimitValues Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep QuotaLimitValues Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

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

quotaLimitValues Source #

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

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

GoogleAPIServiceusageV1Service

data GoogleAPIServiceusageV1Service Source #

A service that is available for use by the consumer.

See: googleAPIServiceusageV1Service smart constructor.

Instances
Eq GoogleAPIServiceusageV1Service Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Data GoogleAPIServiceusageV1Service 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) -> GoogleAPIServiceusageV1Service -> c GoogleAPIServiceusageV1Service #

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

toConstr :: GoogleAPIServiceusageV1Service -> Constr #

dataTypeOf :: GoogleAPIServiceusageV1Service -> DataType #

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

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

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

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

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

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

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

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

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

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

Show GoogleAPIServiceusageV1Service Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic GoogleAPIServiceusageV1Service Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep GoogleAPIServiceusageV1Service :: Type -> Type #

ToJSON GoogleAPIServiceusageV1Service Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON GoogleAPIServiceusageV1Service Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep GoogleAPIServiceusageV1Service Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep GoogleAPIServiceusageV1Service = D1 (MetaData "GoogleAPIServiceusageV1Service" "Network.Google.ServiceUsage.Types.Product" "gogol-serviceusage-0.4.0-KCQGLbx3xOb2db308f4LnZ" False) (C1 (MetaCons "GoogleAPIServiceusageV1Service'" PrefixI True) ((S1 (MetaSel (Just "_gasvsParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gasvsState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GoogleAPIServiceusageV1ServiceState))) :*: (S1 (MetaSel (Just "_gasvsConfig") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GoogleAPIServiceusageV1ServiceConfig)) :*: S1 (MetaSel (Just "_gasvsName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

googleAPIServiceusageV1Service :: GoogleAPIServiceusageV1Service Source #

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

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

gasvsParent :: Lens' GoogleAPIServiceusageV1Service (Maybe Text) Source #

The resource name of the consumer. A valid name would be: - projects/123

gasvsState :: Lens' GoogleAPIServiceusageV1Service (Maybe GoogleAPIServiceusageV1ServiceState) Source #

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

gasvsConfig :: Lens' GoogleAPIServiceusageV1Service (Maybe GoogleAPIServiceusageV1ServiceConfig) Source #

The service configuration of the available service. Some fields may be filtered out of the configuration in responses to the `ListServices` method. These fields are present only in responses to the `GetService` method.

gasvsName :: Lens' GoogleAPIServiceusageV1Service (Maybe Text) Source #

The resource name of the consumer and service. A valid name would be: - projects/123/services/serviceusage.googleapis.com

Enum'

data Enum' Source #

Enum type definition.

See: enum smart constructor.

Instances
Eq Enum' Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Methods

(==) :: Enum' -> Enum' -> Bool #

(/=) :: Enum' -> Enum' -> Bool #

Data Enum' 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) -> Enum' -> c Enum' #

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

toConstr :: Enum' -> Constr #

dataTypeOf :: Enum' -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Enum' Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Methods

showsPrec :: Int -> Enum' -> ShowS #

show :: Enum' -> String #

showList :: [Enum'] -> ShowS #

Generic Enum' Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep Enum' :: Type -> Type #

Methods

from :: Enum' -> Rep Enum' x #

to :: Rep Enum' x -> Enum' #

ToJSON Enum' Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON Enum' Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep Enum' Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep Enum' = D1 (MetaData "Enum'" "Network.Google.ServiceUsage.Types.Product" "gogol-serviceusage-0.4.0-KCQGLbx3xOb2db308f4LnZ" False) (C1 (MetaCons "Enum''" PrefixI True) ((S1 (MetaSel (Just "_enuSourceContext") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe SourceContext)) :*: S1 (MetaSel (Just "_enuEnumvalue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [EnumValue]))) :*: (S1 (MetaSel (Just "_enuName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_enuOptions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Option])) :*: S1 (MetaSel (Just "_enuSyntax") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe EnumSyntax))))))

enum :: Enum' Source #

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

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

enuEnumvalue :: Lens' Enum' [EnumValue] Source #

Enum value definitions.

enuName :: Lens' Enum' (Maybe Text) Source #

Enum type name.

enuOptions :: Lens' Enum' [Option] Source #

Protocol buffer options.

enuSyntax :: Lens' Enum' (Maybe EnumSyntax) Source #

The source syntax.

Logging

data Logging Source #

Logging configuration of the service. The following example shows how to configure logs to be sent to the producer and consumer projects. In the example, the `activity_history` log is sent to both the producer and consumer projects, whereas the `purchase_history` log is only sent to the producer project. monitored_resources: - type: library.googleapis.com/branch labels: - key: /city description: The city where the library branch is located in. - key: /name description: The name of the branch. logs: - name: activity_history labels: - key: /customer_id - name: purchase_history logging: producer_destinations: - monitored_resource: library.googleapis.com/branch logs: - activity_history - purchase_history consumer_destinations: - monitored_resource: library.googleapis.com/branch logs: - activity_history

See: logging smart constructor.

Instances
Eq Logging Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Methods

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

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

Data Logging 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) -> Logging -> c Logging #

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

toConstr :: Logging -> Constr #

dataTypeOf :: Logging -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Logging Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic Logging Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep Logging :: Type -> Type #

Methods

from :: Logging -> Rep Logging x #

to :: Rep Logging x -> Logging #

ToJSON Logging Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON Logging Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep Logging Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

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

logging :: Logging Source #

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

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

lProducerDestinations :: Lens' Logging [LoggingDestination] Source #

Logging configurations for sending logs to the producer project. There can be multiple producer destinations, each one must have a different monitored resource type. A log can be used in at most one producer destination.

lConsumerDestinations :: Lens' Logging [LoggingDestination] Source #

Logging configurations for sending logs to the consumer project. There can be multiple consumer destinations, each one must have a different monitored resource type. A log can be used in at most one consumer destination.

MethodSyntax

data MethodSyntax Source #

The source syntax of this method.

Constructors

MSSyntaxPROTO2

SYNTAX_PROTO2 Syntax `proto2`.

MSSyntaxPROTO3

SYNTAX_PROTO3 Syntax `proto3`.

Instances
Enum MethodSyntax Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Eq MethodSyntax Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Data MethodSyntax 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) -> MethodSyntax -> c MethodSyntax #

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

toConstr :: MethodSyntax -> Constr #

dataTypeOf :: MethodSyntax -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord MethodSyntax Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Read MethodSyntax Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Show MethodSyntax Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Generic MethodSyntax Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

Associated Types

type Rep MethodSyntax :: Type -> Type #

Hashable MethodSyntax Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

ToJSON MethodSyntax Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

FromJSON MethodSyntax Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

FromHttpApiData MethodSyntax Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

ToHttpApiData MethodSyntax Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

type Rep MethodSyntax Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Sum

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

SourceInfoSourceFilesItem

data SourceInfoSourceFilesItem Source #

Instances
Eq SourceInfoSourceFilesItem Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Data SourceInfoSourceFilesItem 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) -> SourceInfoSourceFilesItem -> c SourceInfoSourceFilesItem #

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

toConstr :: SourceInfoSourceFilesItem -> Constr #

dataTypeOf :: SourceInfoSourceFilesItem -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SourceInfoSourceFilesItem Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic SourceInfoSourceFilesItem Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep SourceInfoSourceFilesItem :: Type -> Type #

ToJSON SourceInfoSourceFilesItem Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON SourceInfoSourceFilesItem Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep SourceInfoSourceFilesItem Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

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

sourceInfoSourceFilesItem Source #

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

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

sisfiAddtional :: Lens' SourceInfoSourceFilesItem (HashMap Text JSONValue) Source #

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

Quota

data Quota Source #

Quota configuration helps to achieve fairness and budgeting in service usage. The quota configuration works this way: - The service configuration defines a set of metrics. - For API calls, the quota.metric_rules maps methods to metrics with corresponding costs. - The quota.limits defines limits on the metrics, which will be used for quota checks at runtime. An example quota configuration in yaml format: quota: limits: - name: apiWriteQpsPerProject metric: library.googleapis.com/write_calls unit: "1/min/{project}" # rate limit for consumer projects values: STANDARD: 10000 # The metric rules bind all methods to the read_calls metric, # except for the UpdateBook and DeleteBook methods. These two methods # are mapped to the write_calls metric, with the UpdateBook method # consuming at twice rate as the DeleteBook method. metric_rules: - selector: "*" metric_costs: library.googleapis.com/read_calls: 1 - selector: google.example.library.v1.LibraryService.UpdateBook metric_costs: library.googleapis.com/write_calls: 2 - selector: google.example.library.v1.LibraryService.DeleteBook metric_costs: library.googleapis.com/write_calls: 1 Corresponding Metric definition: metrics: - name: library.googleapis.com/read_calls display_name: Read requests metric_kind: DELTA value_type: INT64 - name: library.googleapis.com/write_calls display_name: Write requests metric_kind: DELTA value_type: INT64

See: quota smart constructor.

Instances
Eq Quota Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Methods

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

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

Data Quota 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) -> Quota -> c Quota #

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

toConstr :: Quota -> Constr #

dataTypeOf :: Quota -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Quota Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Methods

showsPrec :: Int -> Quota -> ShowS #

show :: Quota -> String #

showList :: [Quota] -> ShowS #

Generic Quota Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep Quota :: Type -> Type #

Methods

from :: Quota -> Rep Quota x #

to :: Rep Quota x -> Quota #

ToJSON Quota Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON Quota Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep Quota Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

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

quota :: Quota Source #

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

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

qLimits :: Lens' Quota [QuotaLimit] Source #

List of `QuotaLimit` definitions for the service.

qMetricRules :: Lens' Quota [MetricRule] Source #

List of `MetricRule` definitions, each one mapping a selected method to one or more metrics.

HTTPRule

data HTTPRule Source #

# gRPC Transcoding gRPC Transcoding is a feature for mapping between a gRPC method and one or more HTTP REST endpoints. It allows developers to build a single API service that supports both gRPC APIs and REST APIs. Many systems, including Google APIs, Cloud Endpoints, gRPC Gateway, and Envoy proxy support this feature and use it for large scale production services. `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies how different portions of the gRPC request message are mapped to the URL path, URL query parameters, and HTTP request body. It also controls how the gRPC response message is mapped to the HTTP response body. `HttpRule` is typically specified as an `google.api.http` annotation on the gRPC method. Each mapping specifies a URL path template and an HTTP method. The path template may refer to one or more fields in the gRPC request message, as long as each field is a non-repeated field with a primitive (non-message) type. The path template controls how fields of the request message are mapped to the URL path. Example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get: "/v1/{name=messages/*}" }; } } message GetMessageRequest { string name = 1; // Mapped to URL path. } message Message { string text = 1; // The resource content. } This enables an HTTP REST to gRPC mapping as below: HTTP | gRPC -----|----- `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` Any fields in the request message which are not bound by the path template automatically become HTTP query parameters if there is no HTTP request body. For example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get:"/v1/messages/{message_id}" }; } } message GetMessageRequest { message SubMessage { string subfield = 1; } string message_id = 1; // Mapped to URL path. int64 revision = 2; // Mapped to URL query parameter `revision`. SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. } This enables a HTTP JSON to RPC mapping as below: HTTP | gRPC -----|----- `GET /v1/messages/123456?revision=2&sub.subfield=foo` | `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: "foo"))` Note that fields which are mapped to URL query parameters must have a primitive type or a repeated primitive type or a non-repeated message type. In the case of a repeated type, the parameter can be repeated in the URL as `...?param=A&param=B`. In the case of a message type, each field of the message is mapped to a separate parameter, such as `...?foo.a=A&foo.b=B&foo.c=C`. For HTTP methods that allow a request body, the `body` field specifies the mapping. Consider a REST update method on the message resource collection: service Messaging { rpc UpdateMessage(UpdateMessageRequest) returns (Message) { option (google.api.http) = { patch: "/v1/messages/{message_id}" body: "message" }; } } message UpdateMessageRequest { string message_id = 1; // mapped to the URL Message message = 2; // mapped to the body } The following HTTP JSON to RPC mapping is enabled, where the representation of the JSON in the request body is determined by protos JSON encoding: HTTP | gRPC -----|----- `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: "123456" message { text: "Hi!" })` The special name `*` can be used in the body mapping to define that every field not bound by the path template should be mapped to the request body. This enables the following alternative definition of the update method: service Messaging { rpc UpdateMessage(Message) returns (Message) { option (google.api.http) = { patch: "/v1/messages/{message_id}" body: "*" }; } } message Message { string message_id = 1; string text = 2; } The following HTTP JSON to RPC mapping is enabled: HTTP | gRPC -----|----- `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: "123456" text: "Hi!")` Note that when using `*` in the body mapping, it is not possible to have HTTP parameters, as all fields not bound by the path end in the body. This makes this option more rarely used in practice when defining REST APIs. The common usage of `*` is in custom methods which don't use the URL at all for transferring data. It is possible to define multiple HTTP methods for one RPC by using the `additional_bindings` option. Example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get: "/v1/messages/{message_id}" additional_bindings { get: "/v1/users/{user_id}/messages/{message_id}" } }; } } message GetMessageRequest { string message_id = 1; string user_id = 2; } This enables the following two alternative HTTP JSON to RPC mappings: HTTP | gRPC -----|----- `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: "123456")` ## Rules for HTTP mapping 1. Leaf request fields (recursive expansion nested messages in the request message) are classified into three categories: - Fields referred by the path template. They are passed via the URL path. - Fields referred by the HttpRule.body. They are passed via the HTTP request body. - All other fields are passed via the URL query parameters, and the parameter name is the field path in the request message. A repeated field can be represented as multiple query parameters under the same name. 2. If HttpRule.body is "*", there is no URL query parameter, all fields are passed via URL path and HTTP request body. 3. If HttpRule.body is omitted, there is no HTTP request body, all fields are passed via URL path and URL query parameters. ### Path template syntax Template = "/" Segments [ Verb ] ; Segments = Segment { "/" Segment } ; Segment = "*" | "**" | LITERAL | Variable ; Variable = "{" FieldPath [ "=" Segments ] "}" ; FieldPath = IDENT { "." IDENT } ; Verb = ":" LITERAL ; The syntax `*` matches a single URL path segment. The syntax `**` matches zero or more URL path segments, which must be the last part of the URL path except the `Verb`. The syntax `Variable` matches part of the URL path as specified by its template. A variable template must not contain other variables. If a variable matches a single path segment, its template may be omitted, e.g. `{var}` is equivalent to `{var=*}`. The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` contains any reserved character, such characters should be percent-encoded before the matching. If a variable contains exactly one path segment, such as `"{var}"` or `"{var=*}"`, when such a variable is expanded into a URL path on the client side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The server side does the reverse decoding. Such variables show up in the Discovery Document as `{var}`. If a variable contains multiple path segments, such as `"{var=foo/*}"` or `"{var=**}"`, when such a variable is expanded into a URL path on the client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. The server side does the reverse decoding, except "%2F" and "%2f" are left unchanged. Such variables show up in the Discovery Document as `{+var}`. ## Using gRPC API Service Configuration gRPC API Service Configuration (service config) is a configuration language for configuring a gRPC service to become a user-facing product. The service config is simply the YAML representation of the `google.api.Service` proto message. As an alternative to annotating your proto file, you can configure gRPC transcoding in your service config YAML files. You do this by specifying a `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same effect as the proto annotation. This can be particularly useful if you have a proto that is reused in multiple services. Note that any transcoding specified in the service config will override any matching transcoding configuration in the proto. Example: http: rules: # Selects a gRPC method and applies HttpRule to it. - selector: example.v1.Messaging.GetMessage get: /v1/messages/{message_id}/{sub.subfield} ## Special notes When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the proto to JSON conversion must follow the proto3 specification. While the single segment variable follows the semantics of RFC 6570 Section 3.2.2 Simple String Expansion, the multi segment variable **does not** follow RFC 6570 Section 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion does not expand special characters like `?` and `#`, which would lead to invalid URLs. As the result, gRPC Transcoding uses a custom encoding for multi segment variables. The path variables **must not** refer to any repeated or mapped field, because client libraries are not capable of handling such variable expansion. The path variables **must not** capture the leading "/" character. The reason is that the most common use case "{var}" does not capture the leading "/" character. For consistency, all path variables must share the same behavior. Repeated message fields must not be mapped to URL query parameters, because no client library can support such complicated mapping. If an API needs to use a JSON array for request or response body, it can map the request or response body to a repeated field. However, some gRPC Transcoding implementations may not support this feature.

See: hTTPRule smart constructor.

Instances
Eq HTTPRule Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Data HTTPRule 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) -> HTTPRule -> c HTTPRule #

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

toConstr :: HTTPRule -> Constr #

dataTypeOf :: HTTPRule -> DataType #

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

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

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

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

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

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

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

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

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

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

Show HTTPRule Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic HTTPRule Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep HTTPRule :: Type -> Type #

Methods

from :: HTTPRule -> Rep HTTPRule x #

to :: Rep HTTPRule x -> HTTPRule #

ToJSON HTTPRule Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON HTTPRule Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep HTTPRule Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

hTTPRule :: HTTPRule Source #

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

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

httprSelector :: Lens' HTTPRule (Maybe Text) Source #

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

httprPost :: Lens' HTTPRule (Maybe Text) Source #

Maps to HTTP POST. Used for creating a resource or performing an action.

httprBody :: Lens' HTTPRule (Maybe Text) Source #

The name of the request field whose value is mapped to the HTTP request body, or `*` for mapping all request fields not captured by the path pattern to the HTTP body, or omitted for not having any HTTP request body. NOTE: the referred field must be present at the top-level of the request message type.

httprCustom :: Lens' HTTPRule (Maybe CustomHTTPPattern) Source #

The custom pattern is used for specifying an HTTP method that is not included in the `pattern` field, such as HEAD, or "*" to leave the HTTP method unspecified for this rule. The wild-card rule is useful for services that provide content to Web (HTML) clients.

httprResponseBody :: Lens' HTTPRule (Maybe Text) Source #

Optional. The name of the response field whose value is mapped to the HTTP response body. When omitted, the entire response message will be used as the HTTP response body. NOTE: The referred field must be present at the top-level of the response message type.

httprPatch :: Lens' HTTPRule (Maybe Text) Source #

Maps to HTTP PATCH. Used for updating a resource.

httprGet :: Lens' HTTPRule (Maybe Text) Source #

Maps to HTTP GET. Used for listing and getting information about resources.

httprAdditionalBindings :: Lens' HTTPRule [HTTPRule] Source #

Additional HTTP bindings for the selector. Nested bindings must not contain an `additional_bindings` field themselves (that is, the nesting may only be one level deep).

httprDelete :: Lens' HTTPRule (Maybe Text) Source #

Maps to HTTP DELETE. Used for deleting a resource.

httprPut :: Lens' HTTPRule (Maybe Text) Source #

Maps to HTTP PUT. Used for replacing a resource.

OperationResponse

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

See: operationResponse smart constructor.

Instances
Eq OperationResponse Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Data OperationResponse 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) -> OperationResponse -> c OperationResponse #

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

toConstr :: OperationResponse -> Constr #

dataTypeOf :: OperationResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show OperationResponse Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic OperationResponse Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep OperationResponse :: Type -> Type #

ToJSON OperationResponse Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON OperationResponse Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep OperationResponse Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

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

operationResponse Source #

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

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

orAddtional :: Lens' OperationResponse (HashMap Text JSONValue) Source #

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

GoogleAPIServiceusageV1OperationMetadata

data GoogleAPIServiceusageV1OperationMetadata Source #

The operation metadata returned for the batchend services operation.

See: googleAPIServiceusageV1OperationMetadata smart constructor.

Instances
Eq GoogleAPIServiceusageV1OperationMetadata Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Data GoogleAPIServiceusageV1OperationMetadata 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) -> GoogleAPIServiceusageV1OperationMetadata -> c GoogleAPIServiceusageV1OperationMetadata #

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

toConstr :: GoogleAPIServiceusageV1OperationMetadata -> Constr #

dataTypeOf :: GoogleAPIServiceusageV1OperationMetadata -> DataType #

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

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

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

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

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

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

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

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

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

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

Show GoogleAPIServiceusageV1OperationMetadata Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic GoogleAPIServiceusageV1OperationMetadata Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

ToJSON GoogleAPIServiceusageV1OperationMetadata Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON GoogleAPIServiceusageV1OperationMetadata Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep GoogleAPIServiceusageV1OperationMetadata Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

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

googleAPIServiceusageV1OperationMetadata :: GoogleAPIServiceusageV1OperationMetadata Source #

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

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

gasvomResourceNames :: Lens' GoogleAPIServiceusageV1OperationMetadata [Text] Source #

The full name of the resources that this operation is directly associated with.

AuthProvider

data AuthProvider Source #

Configuration for an anthentication provider, including support for JSON Web Token (JWT).

See: authProvider smart constructor.

Instances
Eq AuthProvider Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Data AuthProvider 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) -> AuthProvider -> c AuthProvider #

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

toConstr :: AuthProvider -> Constr #

dataTypeOf :: AuthProvider -> DataType #

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

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

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

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

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AuthProvider -> r #

gmapQ :: (forall d. Data d => d -> u) -> AuthProvider -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AuthProvider -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AuthProvider -> m AuthProvider #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AuthProvider -> m AuthProvider #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AuthProvider -> m AuthProvider #

Show AuthProvider Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic AuthProvider Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep AuthProvider :: Type -> Type #

ToJSON AuthProvider Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON AuthProvider Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep AuthProvider Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep AuthProvider = D1 (MetaData "AuthProvider" "Network.Google.ServiceUsage.Types.Product" "gogol-serviceusage-0.4.0-KCQGLbx3xOb2db308f4LnZ" False) (C1 (MetaCons "AuthProvider'" PrefixI True) ((S1 (MetaSel (Just "_apJWKsURI") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_apAudiences") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_apId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_apAuthorizationURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_apIssuer") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

authProvider :: AuthProvider Source #

Creates a value of AuthProvider with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

apJWKsURI :: Lens' AuthProvider (Maybe Text) Source #

URL of the provider's public key set to validate signature of the JWT. See OpenID Discovery. Optional if the key set document: - can be retrieved from [OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html of the issuer. - can be inferred from the email domain of the issuer (e.g. a Google service account). Example: https://www.googleapis.com/oauth2/v1/certs

apAudiences :: Lens' AuthProvider (Maybe Text) Source #

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

apId :: Lens' AuthProvider (Maybe Text) Source #

The unique identifier of the auth provider. It will be referred to by `AuthRequirement.provider_id`. Example: "bookstore_auth".

apAuthorizationURL :: Lens' AuthProvider (Maybe Text) Source #

Redirect URL if JWT token is required but not present or is expired. Implement authorizationUrl of securityDefinitions in OpenAPI spec.

apIssuer :: Lens' AuthProvider (Maybe Text) Source #

Identifies the principal that issued the JWT. See https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1 Usually a URL or an email address. Example: https://securetoken.google.com Example: 1234567-compute'developer.gserviceaccount.com

ContextRule

data ContextRule Source #

A context rule provides information about the context for an individual API element.

See: contextRule smart constructor.

Instances
Eq ContextRule Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Data ContextRule 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) -> ContextRule -> c ContextRule #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ContextRule #

toConstr :: ContextRule -> Constr #

dataTypeOf :: ContextRule -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ContextRule) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ContextRule) #

gmapT :: (forall b. Data b => b -> b) -> ContextRule -> ContextRule #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ContextRule -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ContextRule -> r #

gmapQ :: (forall d. Data d => d -> u) -> ContextRule -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ContextRule -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ContextRule -> m ContextRule #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ContextRule -> m ContextRule #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ContextRule -> m ContextRule #

Show ContextRule Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic ContextRule Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Associated Types

type Rep ContextRule :: Type -> Type #

ToJSON ContextRule Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON ContextRule Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep ContextRule Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep ContextRule = D1 (MetaData "ContextRule" "Network.Google.ServiceUsage.Types.Product" "gogol-serviceusage-0.4.0-KCQGLbx3xOb2db308f4LnZ" False) (C1 (MetaCons "ContextRule'" PrefixI True) ((S1 (MetaSel (Just "_crSelector") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_crRequested") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 (MetaSel (Just "_crAllowedRequestExtensions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 (MetaSel (Just "_crProvided") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_crAllowedResponseExtensions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))))))

contextRule :: ContextRule Source #

Creates a value of ContextRule with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

crSelector :: Lens' ContextRule (Maybe Text) Source #

Selects the methods to which this rule applies. Refer to selector for syntax details.

crRequested :: Lens' ContextRule [Text] Source #

A list of full type names of requested contexts.

crAllowedRequestExtensions :: Lens' ContextRule [Text] Source #

A list of full type names or extension IDs of extensions allowed in grpc side channel from client to backend.

crProvided :: Lens' ContextRule [Text] Source #

A list of full type names of provided contexts.

crAllowedResponseExtensions :: Lens' ContextRule [Text] Source #

A list of full type names or extension IDs of extensions allowed in grpc side channel from backend to client.

GoogleAPIServiceusageV1ServiceConfig

data GoogleAPIServiceusageV1ServiceConfig Source #

The configuration of the service.

See: googleAPIServiceusageV1ServiceConfig smart constructor.

Instances
Eq GoogleAPIServiceusageV1ServiceConfig Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Data GoogleAPIServiceusageV1ServiceConfig 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) -> GoogleAPIServiceusageV1ServiceConfig -> c GoogleAPIServiceusageV1ServiceConfig #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GoogleAPIServiceusageV1ServiceConfig #

toConstr :: GoogleAPIServiceusageV1ServiceConfig -> Constr #

dataTypeOf :: GoogleAPIServiceusageV1ServiceConfig -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GoogleAPIServiceusageV1ServiceConfig) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GoogleAPIServiceusageV1ServiceConfig) #

gmapT :: (forall b. Data b => b -> b) -> GoogleAPIServiceusageV1ServiceConfig -> GoogleAPIServiceusageV1ServiceConfig #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GoogleAPIServiceusageV1ServiceConfig -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GoogleAPIServiceusageV1ServiceConfig -> r #

gmapQ :: (forall d. Data d => d -> u) -> GoogleAPIServiceusageV1ServiceConfig -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GoogleAPIServiceusageV1ServiceConfig -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GoogleAPIServiceusageV1ServiceConfig -> m GoogleAPIServiceusageV1ServiceConfig #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GoogleAPIServiceusageV1ServiceConfig -> m GoogleAPIServiceusageV1ServiceConfig #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GoogleAPIServiceusageV1ServiceConfig -> m GoogleAPIServiceusageV1ServiceConfig #

Show GoogleAPIServiceusageV1ServiceConfig Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

Generic GoogleAPIServiceusageV1ServiceConfig Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

ToJSON GoogleAPIServiceusageV1ServiceConfig Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

FromJSON GoogleAPIServiceusageV1ServiceConfig Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep GoogleAPIServiceusageV1ServiceConfig Source # 
Instance details

Defined in Network.Google.ServiceUsage.Types.Product

type Rep GoogleAPIServiceusageV1ServiceConfig = D1 (MetaData "GoogleAPIServiceusageV1ServiceConfig" "Network.Google.ServiceUsage.Types.Product" "gogol-serviceusage-0.4.0-KCQGLbx3xOb2db308f4LnZ" False) (C1 (MetaCons "GoogleAPIServiceusageV1ServiceConfig'" PrefixI True) (((S1 (MetaSel (Just "_gasvscAuthentication") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Authentication)) :*: S1 (MetaSel (Just "_gasvscAPIs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [API]))) :*: (S1 (MetaSel (Just "_gasvscName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gasvscDocumentation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Documentation)))) :*: ((S1 (MetaSel (Just "_gasvscUsage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Usage)) :*: S1 (MetaSel (Just "_gasvscEndpoints") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Endpoint]))) :*: (S1 (MetaSel (Just "_gasvscTitle") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gasvscQuota") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Quota))))))

gasvscAuthentication :: Lens' GoogleAPIServiceusageV1ServiceConfig (Maybe Authentication) Source #

Auth configuration. Contains only the OAuth rules.

gasvscAPIs :: Lens' GoogleAPIServiceusageV1ServiceConfig [API] Source #

A list of API interfaces exported by this service. Contains only the names, versions, and method names of the interfaces.

gasvscName :: Lens' GoogleAPIServiceusageV1ServiceConfig (Maybe Text) Source #

The DNS address at which this service is available. An example DNS address would be: `calendar.googleapis.com`.

gasvscDocumentation :: Lens' GoogleAPIServiceusageV1ServiceConfig (Maybe Documentation) Source #

Additional API documentation. Contains only the summary and the documentation URL.

gasvscUsage :: Lens' GoogleAPIServiceusageV1ServiceConfig (Maybe Usage) Source #

Configuration controlling usage of this service.

gasvscEndpoints :: Lens' GoogleAPIServiceusageV1ServiceConfig [Endpoint] Source #

Configuration for network endpoints. Contains only the names and aliases of the endpoints.

gasvscTitle :: Lens' GoogleAPIServiceusageV1ServiceConfig (Maybe Text) Source #

The product title for this service.