gogol-servicenetworking-0.5.0: Google Service Networking 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.ServiceNetworking

Contents

Description

Provides automatic management of network configurations necessary for certain services.

See: Service Networking API Reference

Synopsis

Service Configuration

serviceNetworkingService :: ServiceConfig Source #

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

OAuth Scopes

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

servicenetworking.operations.cancel

servicenetworking.operations.delete

servicenetworking.operations.get

servicenetworking.operations.list

servicenetworking.services.addSubnetwork

servicenetworking.services.connections.create

servicenetworking.services.connections.list

servicenetworking.services.connections.patch

servicenetworking.services.searchRange

Types

GoogleCloudServicenetworkingV1betaSubnetwork

data GoogleCloudServicenetworkingV1betaSubnetwork Source #

Represents a subnet that was created or discovered by a private access management service.

See: googleCloudServicenetworkingV1betaSubnetwork smart constructor.

Instances
Eq GoogleCloudServicenetworkingV1betaSubnetwork Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

Data GoogleCloudServicenetworkingV1betaSubnetwork Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

Methods

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

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

toConstr :: GoogleCloudServicenetworkingV1betaSubnetwork -> Constr #

dataTypeOf :: GoogleCloudServicenetworkingV1betaSubnetwork -> DataType #

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

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

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

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

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

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

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

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

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

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

Show GoogleCloudServicenetworkingV1betaSubnetwork Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

Generic GoogleCloudServicenetworkingV1betaSubnetwork Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

ToJSON GoogleCloudServicenetworkingV1betaSubnetwork Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

FromJSON GoogleCloudServicenetworkingV1betaSubnetwork Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

type Rep GoogleCloudServicenetworkingV1betaSubnetwork Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

type Rep GoogleCloudServicenetworkingV1betaSubnetwork = D1 (MetaData "GoogleCloudServicenetworkingV1betaSubnetwork" "Network.Google.ServiceNetworking.Types.Product" "gogol-servicenetworking-0.5.0-8ZYyNJVUNnRE5WvJBnqzZ8" False) (C1 (MetaCons "GoogleCloudServicenetworkingV1betaSubnetwork'" PrefixI True) ((S1 (MetaSel (Just "_gcsvsOutsideAllocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_gcsvsNetwork") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_gcsvsName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gcsvsIPCIdRRange") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

googleCloudServicenetworkingV1betaSubnetwork :: GoogleCloudServicenetworkingV1betaSubnetwork Source #

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

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

gcsvsOutsideAllocation :: Lens' GoogleCloudServicenetworkingV1betaSubnetwork (Maybe Bool) Source #

This is a discovered subnet that is not within the current consumer allocated ranges.

gcsvsNetwork :: Lens' GoogleCloudServicenetworkingV1betaSubnetwork (Maybe Text) Source #

In the Shared VPC host project, the VPC network that's peered with the consumer network. For example: `projects/1234321/global/networks/host-network`

gcsvsName :: Lens' GoogleCloudServicenetworkingV1betaSubnetwork (Maybe Text) Source #

Subnetwork name. See https://cloud.google.com/compute/docs/vpc/

gcsvsIPCIdRRange :: Lens' GoogleCloudServicenetworkingV1betaSubnetwork (Maybe Text) Source #

Subnetwork CIDR range in `10.x.x.x/y` format.

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.ServiceNetworking.Types.Sum

Eq MetricDescriptorValueType Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Sum

Data MetricDescriptorValueType Source # 
Instance details

Defined in Network.Google.ServiceNetworking.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.ServiceNetworking.Types.Sum

Read MetricDescriptorValueType Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Sum

Show MetricDescriptorValueType Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Sum

Generic MetricDescriptorValueType Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Sum

Associated Types

type Rep MetricDescriptorValueType :: Type -> Type #

Hashable MetricDescriptorValueType Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Sum

ToJSON MetricDescriptorValueType Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Sum

FromJSON MetricDescriptorValueType Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Sum

FromHttpApiData MetricDescriptorValueType Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Sum

ToHttpApiData MetricDescriptorValueType Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Sum

type Rep MetricDescriptorValueType Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Sum

type Rep MetricDescriptorValueType = D1 (MetaData "MetricDescriptorValueType" "Network.Google.ServiceNetworking.Types.Sum" "gogol-servicenetworking-0.5.0-8ZYyNJVUNnRE5WvJBnqzZ8" 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.ServiceNetworking.Types.Product

Data SystemParameter Source # 
Instance details

Defined in Network.Google.ServiceNetworking.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.ServiceNetworking.Types.Product

Generic SystemParameter Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

Associated Types

type Rep SystemParameter :: Type -> Type #

ToJSON SystemParameter Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

FromJSON SystemParameter Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

type Rep SystemParameter Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

type Rep SystemParameter = D1 (MetaData "SystemParameter" "Network.Google.ServiceNetworking.Types.Product" "gogol-servicenetworking-0.5.0-8ZYyNJVUNnRE5WvJBnqzZ8" 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.ServiceNetworking.Types.Product

Data MonitoredResourceDescriptor Source # 
Instance details

Defined in Network.Google.ServiceNetworking.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.ServiceNetworking.Types.Product

Generic MonitoredResourceDescriptor Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

Associated Types

type Rep MonitoredResourceDescriptor :: Type -> Type #

ToJSON MonitoredResourceDescriptor Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

FromJSON MonitoredResourceDescriptor Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

type Rep MonitoredResourceDescriptor Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

type Rep MonitoredResourceDescriptor = D1 (MetaData "MonitoredResourceDescriptor" "Network.Google.ServiceNetworking.Types.Product" "gogol-servicenetworking-0.5.0-8ZYyNJVUNnRE5WvJBnqzZ8" 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.

BackendRulePathTranslation

data BackendRulePathTranslation Source #

Constructors

PathTranslationUnspecified
PATH_TRANSLATION_UNSPECIFIED
ConstantAddress

CONSTANT_ADDRESS Use the backend address as-is, with no modification to the path. If the URL pattern contains variables, the variable names and values will be appended to the query string. If a query string parameter and a URL pattern variable have the same name, this may result in duplicate keys in the query string. # Examples Given the following operation config: Method path: /api/company/{cid}/user/{uid} Backend address: https://example.cloudfunctions.net/getUser Requests to the following request paths will call the backend at the translated path: Request path: /api/company/widgetworks/user/johndoe Translated: https://example.cloudfunctions.net/getUser?cid=widgetworks&uid=johndoe Request path: /api/company/widgetworks/user/johndoe?timezone=EST Translated: https://example.cloudfunctions.net/getUser?timezone=EST&cid=widgetworks&uid=johndoe

AppendPathToAddress

APPEND_PATH_TO_ADDRESS The request path will be appended to the backend address. # Examples Given the following operation config: Method path: /api/company/{cid}/user/{uid} Backend address: https://example.appspot.com Requests to the following request paths will call the backend at the translated path: Request path: /api/company/widgetworks/user/johndoe Translated: https://example.appspot.com/api/company/widgetworks/user/johndoe Request path: /api/company/widgetworks/user/johndoe?timezone=EST Translated: https://example.appspot.com/api/company/widgetworks/user/johndoe?timezone=EST

Instances
Enum BackendRulePathTranslation Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Sum

Eq BackendRulePathTranslation Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Sum

Data BackendRulePathTranslation Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Sum

Methods

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

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

toConstr :: BackendRulePathTranslation -> Constr #

dataTypeOf :: BackendRulePathTranslation -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord BackendRulePathTranslation Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Sum

Read BackendRulePathTranslation Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Sum

Show BackendRulePathTranslation Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Sum

Generic BackendRulePathTranslation Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Sum

Associated Types

type Rep BackendRulePathTranslation :: Type -> Type #

Hashable BackendRulePathTranslation Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Sum

ToJSON BackendRulePathTranslation Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Sum

FromJSON BackendRulePathTranslation Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Sum

FromHttpApiData BackendRulePathTranslation Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Sum

ToHttpApiData BackendRulePathTranslation Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Sum

type Rep BackendRulePathTranslation Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Sum

type Rep BackendRulePathTranslation = D1 (MetaData "BackendRulePathTranslation" "Network.Google.ServiceNetworking.Types.Sum" "gogol-servicenetworking-0.5.0-8ZYyNJVUNnRE5WvJBnqzZ8" False) (C1 (MetaCons "PathTranslationUnspecified" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "ConstantAddress" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "AppendPathToAddress" PrefixI False) (U1 :: Type -> Type)))

ListConnectionsResponse

data ListConnectionsResponse Source #

ListConnectionsResponse is the response to list peering states for the given service and consumer project.

See: listConnectionsResponse smart constructor.

Instances
Eq ListConnectionsResponse Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

Data ListConnectionsResponse Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

Methods

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

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

toConstr :: ListConnectionsResponse -> Constr #

dataTypeOf :: ListConnectionsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ListConnectionsResponse Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

Generic ListConnectionsResponse Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

Associated Types

type Rep ListConnectionsResponse :: Type -> Type #

ToJSON ListConnectionsResponse Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

FromJSON ListConnectionsResponse Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

type Rep ListConnectionsResponse Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

type Rep ListConnectionsResponse = D1 (MetaData "ListConnectionsResponse" "Network.Google.ServiceNetworking.Types.Product" "gogol-servicenetworking-0.5.0-8ZYyNJVUNnRE5WvJBnqzZ8" True) (C1 (MetaCons "ListConnectionsResponse'" PrefixI True) (S1 (MetaSel (Just "_lcrConnections") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Connection]))))

listConnectionsResponse :: ListConnectionsResponse Source #

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

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

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.ServiceNetworking.Types.Product

Data DocumentationRule Source # 
Instance details

Defined in Network.Google.ServiceNetworking.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.ServiceNetworking.Types.Product

Generic DocumentationRule Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

Associated Types

type Rep DocumentationRule :: Type -> Type #

ToJSON DocumentationRule Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

FromJSON DocumentationRule Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

type Rep DocumentationRule Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

type Rep DocumentationRule = D1 (MetaData "DocumentationRule" "Network.Google.ServiceNetworking.Types.Product" "gogol-servicenetworking-0.5.0-8ZYyNJVUNnRE5WvJBnqzZ8" 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". A wildcard will match one or more components. 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.ServiceNetworking.Types.Product

Methods

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

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

Data Status Source # 
Instance details

Defined in Network.Google.ServiceNetworking.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.ServiceNetworking.Types.Product

Generic Status Source # 
Instance details

Defined in Network.Google.ServiceNetworking.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.ServiceNetworking.Types.Product

FromJSON Status Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

type Rep Status Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

type Rep Status = D1 (MetaData "Status" "Network.Google.ServiceNetworking.Types.Product" "gogol-servicenetworking-0.5.0-8ZYyNJVUNnRE5WvJBnqzZ8" 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.

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.ServiceNetworking.Types.Product

Data BillingDestination Source # 
Instance details

Defined in Network.Google.ServiceNetworking.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.ServiceNetworking.Types.Product

Generic BillingDestination Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

Associated Types

type Rep BillingDestination :: Type -> Type #

ToJSON BillingDestination Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

FromJSON BillingDestination Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

type Rep BillingDestination Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

type Rep BillingDestination = D1 (MetaData "BillingDestination" "Network.Google.ServiceNetworking.Types.Product" "gogol-servicenetworking-0.5.0-8ZYyNJVUNnRE5WvJBnqzZ8" 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.ServiceNetworking.Types.Product

Methods

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

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

Data Control Source # 
Instance details

Defined in Network.Google.ServiceNetworking.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.ServiceNetworking.Types.Product

Generic Control Source # 
Instance details

Defined in Network.Google.ServiceNetworking.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.ServiceNetworking.Types.Product

FromJSON Control Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

type Rep Control Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

type Rep Control = D1 (MetaData "Control" "Network.Google.ServiceNetworking.Types.Product" "gogol-servicenetworking-0.5.0-8ZYyNJVUNnRE5WvJBnqzZ8" 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.ServiceNetworking.Types.Product

Data AuthRequirement Source # 
Instance details

Defined in Network.Google.ServiceNetworking.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.ServiceNetworking.Types.Product

Generic AuthRequirement Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

Associated Types

type Rep AuthRequirement :: Type -> Type #

ToJSON AuthRequirement Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

FromJSON AuthRequirement Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

type Rep AuthRequirement Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

type Rep AuthRequirement = D1 (MetaData "AuthRequirement" "Network.Google.ServiceNetworking.Types.Product" "gogol-servicenetworking-0.5.0-8ZYyNJVUNnRE5WvJBnqzZ8" 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

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.ServiceNetworking.Types.Product

Methods

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

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

Data Context Source # 
Instance details

Defined in Network.Google.ServiceNetworking.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.ServiceNetworking.Types.Product

Generic Context Source # 
Instance details

Defined in Network.Google.ServiceNetworking.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.ServiceNetworking.Types.Product

FromJSON Context Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

type Rep Context Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

type Rep Context = D1 (MetaData "Context" "Network.Google.ServiceNetworking.Types.Product" "gogol-servicenetworking-0.5.0-8ZYyNJVUNnRE5WvJBnqzZ8" 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.ServiceNetworking.Types.Product

Data LoggingDestination Source # 
Instance details

Defined in Network.Google.ServiceNetworking.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.ServiceNetworking.Types.Product

Generic LoggingDestination Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

Associated Types

type Rep LoggingDestination :: Type -> Type #

ToJSON LoggingDestination Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

FromJSON LoggingDestination Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

type Rep LoggingDestination Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

type Rep LoggingDestination = D1 (MetaData "LoggingDestination" "Network.Google.ServiceNetworking.Types.Product" "gogol-servicenetworking-0.5.0-8ZYyNJVUNnRE5WvJBnqzZ8" 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.ServiceNetworking.Types.Product

Data MetricDescriptor Source # 
Instance details

Defined in Network.Google.ServiceNetworking.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.ServiceNetworking.Types.Product

Generic MetricDescriptor Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

Associated Types

type Rep MetricDescriptor :: Type -> Type #

ToJSON MetricDescriptor Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

FromJSON MetricDescriptor Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

type Rep MetricDescriptor Source # 
Instance details

Defined in Network.Google.ServiceNetworking.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.ServiceNetworking.Types.Product

Data ListOperationsResponse Source # 
Instance details

Defined in Network.Google.ServiceNetworking.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.ServiceNetworking.Types.Product

Generic ListOperationsResponse Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

Associated Types

type Rep ListOperationsResponse :: Type -> Type #

ToJSON ListOperationsResponse Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

FromJSON ListOperationsResponse Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

type Rep ListOperationsResponse Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

type Rep ListOperationsResponse = D1 (MetaData "ListOperationsResponse" "Network.Google.ServiceNetworking.Types.Product" "gogol-servicenetworking-0.5.0-8ZYyNJVUNnRE5WvJBnqzZ8" 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.ServiceNetworking.Types.Product

Data CancelOperationRequest Source # 
Instance details

Defined in Network.Google.ServiceNetworking.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.ServiceNetworking.Types.Product

Generic CancelOperationRequest Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

Associated Types

type Rep CancelOperationRequest :: Type -> Type #

ToJSON CancelOperationRequest Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

FromJSON CancelOperationRequest Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

type Rep CancelOperationRequest Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

type Rep CancelOperationRequest = D1 (MetaData "CancelOperationRequest" "Network.Google.ServiceNetworking.Types.Product" "gogol-servicenetworking-0.5.0-8ZYyNJVUNnRE5WvJBnqzZ8" 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.ServiceNetworking.Types.Product

Data BackendRule Source # 
Instance details

Defined in Network.Google.ServiceNetworking.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.ServiceNetworking.Types.Product

Generic BackendRule Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

Associated Types

type Rep BackendRule :: Type -> Type #

ToJSON BackendRule Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

FromJSON BackendRule Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

type Rep BackendRule Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

type Rep BackendRule = D1 (MetaData "BackendRule" "Network.Google.ServiceNetworking.Types.Product" "gogol-servicenetworking-0.5.0-8ZYyNJVUNnRE5WvJBnqzZ8" False) (C1 (MetaCons "BackendRule'" PrefixI True) ((S1 (MetaSel (Just "_brJwtAudience") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (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))) :*: S1 (MetaSel (Just "_brPathTranslation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe BackendRulePathTranslation))))))

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:

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

The JWT audience is used when generating a JWT id token for the backend.

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.

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.ServiceNetworking.Types.Product

Data SourceContext Source # 
Instance details

Defined in Network.Google.ServiceNetworking.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.ServiceNetworking.Types.Product

Generic SourceContext Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

Associated Types

type Rep SourceContext :: Type -> Type #

ToJSON SourceContext Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

FromJSON SourceContext Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

type Rep SourceContext Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

type Rep SourceContext = D1 (MetaData "SourceContext" "Network.Google.ServiceNetworking.Types.Product" "gogol-servicenetworking-0.5.0-8ZYyNJVUNnRE5WvJBnqzZ8" 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.ServiceNetworking.Types.Product

Methods

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

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

Data Field Source # 
Instance details

Defined in Network.Google.ServiceNetworking.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.ServiceNetworking.Types.Product

Methods

showsPrec :: Int -> Field -> ShowS #

show :: Field -> String #

showList :: [Field] -> ShowS #

Generic Field Source # 
Instance details

Defined in Network.Google.ServiceNetworking.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.ServiceNetworking.Types.Product

FromJSON Field Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

type Rep Field Source # 
Instance details

Defined in Network.Google.ServiceNetworking.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.ServiceNetworking.Types.Product

Data MetricRule Source # 
Instance details

Defined in Network.Google.ServiceNetworking.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.ServiceNetworking.Types.Product

Generic MetricRule Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

Associated Types

type Rep MetricRule :: Type -> Type #

ToJSON MetricRule Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

FromJSON MetricRule Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

type Rep MetricRule Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

type Rep MetricRule = D1 (MetaData "MetricRule" "Network.Google.ServiceNetworking.Types.Product" "gogol-servicenetworking-0.5.0-8ZYyNJVUNnRE5WvJBnqzZ8" 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.ServiceNetworking.Types.Sum

Eq FieldKind Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Sum

Data FieldKind Source # 
Instance details

Defined in Network.Google.ServiceNetworking.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.ServiceNetworking.Types.Sum

Read FieldKind Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Sum

Show FieldKind Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Sum

Generic FieldKind Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Sum

Associated Types

type Rep FieldKind :: Type -> Type #

Hashable FieldKind Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Sum

ToJSON FieldKind Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Sum

FromJSON FieldKind Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Sum

FromHttpApiData FieldKind Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Sum

ToHttpApiData FieldKind Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Sum

type Rep FieldKind Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Sum

type Rep FieldKind = D1 (MetaData "FieldKind" "Network.Google.ServiceNetworking.Types.Sum" "gogol-servicenetworking-0.5.0-8ZYyNJVUNnRE5WvJBnqzZ8" 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.ServiceNetworking.Types.Sum

Eq EnumSyntax Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Sum

Data EnumSyntax Source # 
Instance details

Defined in Network.Google.ServiceNetworking.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.ServiceNetworking.Types.Sum

Read EnumSyntax Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Sum

Show EnumSyntax Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Sum

Generic EnumSyntax Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Sum

Associated Types

type Rep EnumSyntax :: Type -> Type #

Hashable EnumSyntax Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Sum

ToJSON EnumSyntax Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Sum

FromJSON EnumSyntax Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Sum

FromHttpApiData EnumSyntax Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Sum

ToHttpApiData EnumSyntax Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Sum

type Rep EnumSyntax Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Sum

type Rep EnumSyntax = D1 (MetaData "EnumSyntax" "Network.Google.ServiceNetworking.Types.Sum" "gogol-servicenetworking-0.5.0-8ZYyNJVUNnRE5WvJBnqzZ8" False) (C1 (MetaCons "SyntaxPROTO2" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "SyntaxPROTO3" PrefixI False) (U1 :: Type -> Type))

Service

data Service 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: service smart constructor.

Instances
Eq Service Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

Methods

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

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

Data Service Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

Methods

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

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

toConstr :: Service -> Constr #

dataTypeOf :: Service -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Service Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

Generic Service Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

Associated Types

type Rep Service :: Type -> Type #

Methods

from :: Service -> Rep Service x #

to :: Rep Service x -> Service #

ToJSON Service Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

FromJSON Service Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

type Rep Service Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

type Rep Service = D1 (MetaData "Service" "Network.Google.ServiceNetworking.Types.Product" "gogol-servicenetworking-0.5.0-8ZYyNJVUNnRE5WvJBnqzZ8" False) (C1 (MetaCons "Service'" PrefixI True) ((((S1 (MetaSel (Just "_sControl") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Control)) :*: (S1 (MetaSel (Just "_sMetrics") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [MetricDescriptor])) :*: S1 (MetaSel (Just "_sContext") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Context)))) :*: ((S1 (MetaSel (Just "_sAuthentication") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Authentication)) :*: S1 (MetaSel (Just "_sAPIs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [API]))) :*: (S1 (MetaSel (Just "_sTypes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Type])) :*: S1 (MetaSel (Just "_sSystemTypes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Type]))))) :*: ((S1 (MetaSel (Just "_sExperimental") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Experimental)) :*: (S1 (MetaSel (Just "_sMonitoredResources") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [MonitoredResourceDescriptor])) :*: S1 (MetaSel (Just "_sBackend") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Backend)))) :*: ((S1 (MetaSel (Just "_sMonitoring") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Monitoring)) :*: S1 (MetaSel (Just "_sName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_sSystemParameters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe SystemParameters)) :*: S1 (MetaSel (Just "_sLogs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [LogDescriptor])))))) :*: (((S1 (MetaSel (Just "_sDocumentation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Documentation)) :*: (S1 (MetaSel (Just "_sId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sUsage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Usage)))) :*: ((S1 (MetaSel (Just "_sEndpoints") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Endpoint])) :*: S1 (MetaSel (Just "_sEnums") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Enum']))) :*: (S1 (MetaSel (Just "_sConfigVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word32))) :*: S1 (MetaSel (Just "_sHTTP") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe HTTP))))) :*: ((S1 (MetaSel (Just "_sTitle") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_sProducerProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sSourceInfo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe SourceInfo)))) :*: ((S1 (MetaSel (Just "_sBilling") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Billing)) :*: S1 (MetaSel (Just "_sCustomError") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe CustomError))) :*: (S1 (MetaSel (Just "_sLogging") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Logging)) :*: S1 (MetaSel (Just "_sQuota") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Quota))))))))

sControl :: Lens' Service (Maybe Control) Source #

Configuration for the service control plane.

sMetrics :: Lens' Service [MetricDescriptor] Source #

Defines the metrics used by this service.

sContext :: Lens' Service (Maybe Context) Source #

Context configuration.

sAPIs :: Lens' Service [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.

sTypes :: Lens' Service [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

sSystemTypes :: Lens' Service [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.

sExperimental :: Lens' Service (Maybe Experimental) Source #

Experimental configuration.

sMonitoredResources :: Lens' Service [MonitoredResourceDescriptor] Source #

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

sBackend :: Lens' Service (Maybe Backend) Source #

API backend configuration.

sMonitoring :: Lens' Service (Maybe Monitoring) Source #

Monitoring configuration.

sName :: Lens' Service (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.

sSystemParameters :: Lens' Service (Maybe SystemParameters) Source #

System parameter configuration.

sLogs :: Lens' Service [LogDescriptor] Source #

Defines the logs used by this service.

sDocumentation :: Lens' Service (Maybe Documentation) Source #

Additional API documentation.

sId :: Lens' Service (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.

sUsage :: Lens' Service (Maybe Usage) Source #

Configuration controlling usage of this service.

sEndpoints :: Lens' Service [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.

sEnums :: Lens' Service [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

sConfigVersion :: Lens' Service (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`.

sHTTP :: Lens' Service (Maybe HTTP) Source #

HTTP configuration.

sTitle :: Lens' Service (Maybe Text) Source #

The product title for this service.

sProducerProjectId :: Lens' Service (Maybe Text) Source #

The Google project that owns this service.

sSourceInfo :: Lens' Service (Maybe SourceInfo) Source #

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

sBilling :: Lens' Service (Maybe Billing) Source #

Billing configuration.

sCustomError :: Lens' Service (Maybe CustomError) Source #

Custom error configuration.

sLogging :: Lens' Service (Maybe Logging) Source #

Logging configuration.

sQuota :: Lens' Service (Maybe Quota) Source #

Quota configuration.

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.ServiceNetworking.Types.Product

Data Operation Source # 
Instance details

Defined in Network.Google.ServiceNetworking.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.ServiceNetworking.Types.Product

Generic Operation Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

Associated Types

type Rep Operation :: Type -> Type #

ToJSON Operation Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

FromJSON Operation Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

type Rep Operation Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

type Rep Operation = D1 (MetaData "Operation" "Network.Google.ServiceNetworking.Types.Product" "gogol-servicenetworking-0.5.0-8ZYyNJVUNnRE5WvJBnqzZ8" False) (C1 (MetaCons "Operation'" PrefixI True) ((S1 (MetaSel (Just "_oDone") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_oError") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Status))) :*: (S1 (MetaSel (Just "_oResponse") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe OperationResponse)) :*: (S1 (MetaSel (Just "_oName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_oMetadata") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe OperationMetadata))))))

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 OperationMetadata) 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.ServiceNetworking.Types.Product

Methods

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

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

Data Empty Source # 
Instance details

Defined in Network.Google.ServiceNetworking.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.ServiceNetworking.Types.Product

Methods

showsPrec :: Int -> Empty -> ShowS #

show :: Empty -> String #

showList :: [Empty] -> ShowS #

Generic Empty Source # 
Instance details

Defined in Network.Google.ServiceNetworking.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.ServiceNetworking.Types.Product

FromJSON Empty Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

type Rep Empty Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

type Rep Empty = D1 (MetaData "Empty" "Network.Google.ServiceNetworking.Types.Product" "gogol-servicenetworking-0.5.0-8ZYyNJVUNnRE5WvJBnqzZ8" 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.

CustomErrorRule

data CustomErrorRule Source #

A custom error rule.

See: customErrorRule smart constructor.

Instances
Eq CustomErrorRule Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

Data CustomErrorRule Source # 
Instance details

Defined in Network.Google.ServiceNetworking.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.ServiceNetworking.Types.Product

Generic CustomErrorRule Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

Associated Types

type Rep CustomErrorRule :: Type -> Type #

ToJSON CustomErrorRule Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

FromJSON CustomErrorRule Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

type Rep CustomErrorRule Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

type Rep CustomErrorRule = D1 (MetaData "CustomErrorRule" "Network.Google.ServiceNetworking.Types.Product" "gogol-servicenetworking-0.5.0-8ZYyNJVUNnRE5WvJBnqzZ8" 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.ServiceNetworking.Types.Product

Data OptionValue Source # 
Instance details

Defined in Network.Google.ServiceNetworking.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.ServiceNetworking.Types.Product

Generic OptionValue Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

Associated Types

type Rep OptionValue :: Type -> Type #

ToJSON OptionValue Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product

FromJSON OptionValue Source # 
Instance details

Defined in Network.Google.ServiceNetworking.Types.Product