gogol-servicecontrol-0.2.0: Google Service Control 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.ServiceControl

Contents

Description

Google Service Control provides control plane functionality to managed services, such as logging, monitoring, and status checks.

See: Google Service Control API Reference

Synopsis

Service Configuration

serviceControlService :: ServiceConfig Source #

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

OAuth Scopes

serviceControlScope :: Proxy '["https://www.googleapis.com/auth/servicecontrol"] Source #

Manage your Google Service Control data

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

View and manage your data across Google Cloud Platform services

API Declaration

type ServiceControlAPI = ServicesReportResource :<|> ServicesCheckResource Source #

Represents the entirety of the methods and resources available for the Google Service Control API service.

Resources

servicecontrol.services.check

servicecontrol.services.report

Types

AuditLogServiceData

data AuditLogServiceData Source #

Other service-specific data about the request, response, and other activities.

See: auditLogServiceData smart constructor.

Instances

Eq AuditLogServiceData Source # 
Data AuditLogServiceData Source # 

Methods

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

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

toConstr :: AuditLogServiceData -> Constr #

dataTypeOf :: AuditLogServiceData -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AuditLogServiceData Source # 
Generic AuditLogServiceData Source # 
ToJSON AuditLogServiceData Source # 
FromJSON AuditLogServiceData Source # 
type Rep AuditLogServiceData Source # 
type Rep AuditLogServiceData = D1 (MetaData "AuditLogServiceData" "Network.Google.ServiceControl.Types.Product" "gogol-servicecontrol-0.2.0-4GcnhH9w9PILezs7rEuw3Y" True) (C1 (MetaCons "AuditLogServiceData'" PrefixI True) (S1 (MetaSel (Just Symbol "_alsdAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text JSONValue))))

auditLogServiceData Source #

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

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

alsdAddtional :: Lens' AuditLogServiceData (HashMap Text JSONValue) Source #

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

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` which 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 purpose. - 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 # 

Methods

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

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

Data Status Source # 

Methods

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

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

toConstr :: Status -> Constr #

dataTypeOf :: Status -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Status Source # 
Generic Status Source # 

Associated Types

type Rep Status :: * -> * #

Methods

from :: Status -> Rep Status x #

to :: Rep Status x -> Status #

ToJSON Status Source # 
FromJSON Status Source # 
type Rep Status Source # 
type Rep Status = D1 (MetaData "Status" "Network.Google.ServiceControl.Types.Product" "gogol-servicecontrol-0.2.0-4GcnhH9w9PILezs7rEuw3Y" False) (C1 (MetaCons "Status'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_sDetails") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [StatusDetailsItem]))) ((:*:) (S1 (MetaSel (Just Symbol "_sCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))) (S1 (MetaSel (Just Symbol "_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 will be 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.

RequestMetadata

data RequestMetadata Source #

Metadata about the request.

See: requestMetadata smart constructor.

Instances

Eq RequestMetadata Source # 
Data RequestMetadata Source # 

Methods

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

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

toConstr :: RequestMetadata -> Constr #

dataTypeOf :: RequestMetadata -> DataType #

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

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

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

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

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

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

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

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

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

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

Show RequestMetadata Source # 
Generic RequestMetadata Source # 
ToJSON RequestMetadata Source # 
FromJSON RequestMetadata Source # 
type Rep RequestMetadata Source # 
type Rep RequestMetadata = D1 (MetaData "RequestMetadata" "Network.Google.ServiceControl.Types.Product" "gogol-servicecontrol-0.2.0-4GcnhH9w9PILezs7rEuw3Y" False) (C1 (MetaCons "RequestMetadata'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_rmCallerSuppliedUserAgent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_rmCallerIP") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

requestMetadata :: RequestMetadata Source #

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

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

rmCallerSuppliedUserAgent :: Lens' RequestMetadata (Maybe Text) Source #

The user agent of the caller. This information is not authenticated and should be treated accordingly. For example: + `google-api-python-client/1.4.0`: The request was made by the Google API client for Python. + `Cloud SDK Command Line Tool apitools-client/1.0 gcloud/0.9.62`: The request was made by the Google Cloud SDK CLI (gcloud). + `AppEngine-Google; (+http://code.google.com/appengine; appid: s~my-project`: The request was made from the `my-project` App Engine app.

rmCallerIP :: Lens' RequestMetadata (Maybe Text) Source #

The IP address of the caller.

ReportRequest

data ReportRequest Source #

Request message for the Report method.

See: reportRequest smart constructor.

Instances

Eq ReportRequest Source # 
Data ReportRequest Source # 

Methods

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

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

toConstr :: ReportRequest -> Constr #

dataTypeOf :: ReportRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ReportRequest Source # 
Generic ReportRequest Source # 

Associated Types

type Rep ReportRequest :: * -> * #

ToJSON ReportRequest Source # 
FromJSON ReportRequest Source # 
type Rep ReportRequest Source # 
type Rep ReportRequest = D1 (MetaData "ReportRequest" "Network.Google.ServiceControl.Types.Product" "gogol-servicecontrol-0.2.0-4GcnhH9w9PILezs7rEuw3Y" False) (C1 (MetaCons "ReportRequest'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_rrServiceConfigId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_rrOperations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Operation])))))

reportRequest :: ReportRequest Source #

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

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

rrServiceConfigId :: Lens' ReportRequest (Maybe Text) Source #

Specifies which version of service config should be used to process the request. If unspecified or no matching version can be found, the latest one will be used.

rrOperations :: Lens' ReportRequest [Operation] Source #

Operations to be reported. Typically the service should report one operation per request. Putting multiple operations into a single request is allowed, but should be used only when multiple operations are natually available at the time of the report. If multiple operations are in a single request, the total request size should be no larger than 1MB. See ReportResponse.report_errors for partial failure behavior.

CheckRequest

data CheckRequest Source #

Request message for the Check method.

See: checkRequest smart constructor.

Instances

Eq CheckRequest Source # 
Data CheckRequest Source # 

Methods

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

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

toConstr :: CheckRequest -> Constr #

dataTypeOf :: CheckRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CheckRequest Source # 
Generic CheckRequest Source # 

Associated Types

type Rep CheckRequest :: * -> * #

ToJSON CheckRequest Source # 
FromJSON CheckRequest Source # 
type Rep CheckRequest Source # 
type Rep CheckRequest = D1 (MetaData "CheckRequest" "Network.Google.ServiceControl.Types.Product" "gogol-servicecontrol-0.2.0-4GcnhH9w9PILezs7rEuw3Y" False) (C1 (MetaCons "CheckRequest'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_crOperation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Operation))) (S1 (MetaSel (Just Symbol "_crServiceConfigId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

checkRequest :: CheckRequest Source #

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

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

crOperation :: Lens' CheckRequest (Maybe Operation) Source #

The operation to be checked.

crServiceConfigId :: Lens' CheckRequest (Maybe Text) Source #

Specifies which version of service configuration should be used to process the request. If unspecified or no matching version can be found, the latest one will be used.

MetricValueLabels

data MetricValueLabels Source #

The labels describing the metric value. See comments on google.api.servicecontrol.v1.Operation.labels for the overriding relationship.

See: metricValueLabels smart constructor.

Instances

Eq MetricValueLabels Source # 
Data MetricValueLabels Source # 

Methods

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

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

toConstr :: MetricValueLabels -> Constr #

dataTypeOf :: MetricValueLabels -> DataType #

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

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

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

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

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

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

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

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

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

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

Show MetricValueLabels Source # 
Generic MetricValueLabels Source # 
ToJSON MetricValueLabels Source # 
FromJSON MetricValueLabels Source # 
type Rep MetricValueLabels Source # 
type Rep MetricValueLabels = D1 (MetaData "MetricValueLabels" "Network.Google.ServiceControl.Types.Product" "gogol-servicecontrol-0.2.0-4GcnhH9w9PILezs7rEuw3Y" True) (C1 (MetaCons "MetricValueLabels'" PrefixI True) (S1 (MetaSel (Just Symbol "_mvlAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text Text))))

metricValueLabels Source #

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

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

Distribution

data Distribution Source #

Distribution represents a frequency distribution of double-valued sample points. It contains the size of the population of sample points plus additional optional information: - the arithmetic mean of the samples - the minimum and maximum of the samples - the sum-squared-deviation of the samples, used to compute variance - a histogram of the values of the sample points

See: distribution smart constructor.

Instances

Eq Distribution Source # 
Data Distribution Source # 

Methods

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

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

toConstr :: Distribution -> Constr #

dataTypeOf :: Distribution -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Distribution Source # 
Generic Distribution Source # 

Associated Types

type Rep Distribution :: * -> * #

ToJSON Distribution Source # 
FromJSON Distribution Source # 
type Rep Distribution Source # 

distribution :: Distribution Source #

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

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

dSumOfSquaredDeviation :: Lens' Distribution (Maybe Double) Source #

The sum of squared deviations from the mean: Sum[i=1..count]((x_i - mean)^2) where each x_i is a sample values. If `count` is zero then this field must be zero, otherwise validation of the request fails.

dMean :: Lens' Distribution (Maybe Double) Source #

The arithmetic mean of the samples in the distribution. If `count` is zero then this field must be zero.

dExponentialBuckets :: Lens' Distribution (Maybe ExponentialBuckets) Source #

Buckets with exponentially growing width.

dMaximum :: Lens' Distribution (Maybe Double) Source #

The maximum of the population of values. Ignored if `count` is zero.

dLinearBuckets :: Lens' Distribution (Maybe LinearBuckets) Source #

Buckets with constant width.

dCount :: Lens' Distribution (Maybe Int64) Source #

The total number of samples in the distribution. Must be >= 0.

dMinimum :: Lens' Distribution (Maybe Double) Source #

The minimum of the population of values. Ignored if `count` is zero.

dBucketCounts :: Lens' Distribution [Int64] Source #

The number of samples in each histogram bucket. `bucket_counts` are optional. If present, they must sum to the `count` value. The buckets are defined below in `bucket_option`. There are N buckets. `bucket_counts[0]` is the number of samples in the underflow bucket. `bucket_counts[1]` to `bucket_counts[N-1]` are the numbers of samples in each of the finite buckets. And `bucket_counts[N] is the number of samples in the overflow bucket. See the comments of `bucket_option` below for more details. Any suffix of trailing zeros may be omitted.

dExplicitBuckets :: Lens' Distribution (Maybe ExplicitBuckets) Source #

Buckets with arbitrary user-provided width.

ExponentialBuckets

data ExponentialBuckets Source #

Describing buckets with exponentially growing width.

See: exponentialBuckets smart constructor.

Instances

Eq ExponentialBuckets Source # 
Data ExponentialBuckets Source # 

Methods

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

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

toConstr :: ExponentialBuckets -> Constr #

dataTypeOf :: ExponentialBuckets -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ExponentialBuckets Source # 
Generic ExponentialBuckets Source # 
ToJSON ExponentialBuckets Source # 
FromJSON ExponentialBuckets Source # 
type Rep ExponentialBuckets Source # 
type Rep ExponentialBuckets = D1 (MetaData "ExponentialBuckets" "Network.Google.ServiceControl.Types.Product" "gogol-servicecontrol-0.2.0-4GcnhH9w9PILezs7rEuw3Y" False) (C1 (MetaCons "ExponentialBuckets'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ebGrowthFactor") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double)))) ((:*:) (S1 (MetaSel (Just Symbol "_ebScale") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double)))) (S1 (MetaSel (Just Symbol "_ebNumFiniteBuckets") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))))))

exponentialBuckets :: ExponentialBuckets Source #

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

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

ebGrowthFactor :: Lens' ExponentialBuckets (Maybe Double) Source #

The i'th exponential bucket covers the interval [scale * growth_factor^(i-1), scale * growth_factor^i) where i ranges from 1 to num_finite_buckets inclusive. Must be larger than 1.0.

ebScale :: Lens' ExponentialBuckets (Maybe Double) Source #

The i'th exponential bucket covers the interval [scale * growth_factor^(i-1), scale * growth_factor^i) where i ranges from 1 to num_finite_buckets inclusive. Must be > 0.

ebNumFiniteBuckets :: Lens' ExponentialBuckets (Maybe Int32) Source #

The number of finite buckets. With the underflow and overflow buckets, the total number of buckets is `num_finite_buckets` + 2. See comments on `bucket_options` for details.

AuthorizationInfo

data AuthorizationInfo Source #

Authorization information for the operation.

See: authorizationInfo smart constructor.

Instances

Eq AuthorizationInfo Source # 
Data AuthorizationInfo Source # 

Methods

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

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

toConstr :: AuthorizationInfo -> Constr #

dataTypeOf :: AuthorizationInfo -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AuthorizationInfo Source # 
Generic AuthorizationInfo Source # 
ToJSON AuthorizationInfo Source # 
FromJSON AuthorizationInfo Source # 
type Rep AuthorizationInfo Source # 
type Rep AuthorizationInfo = D1 (MetaData "AuthorizationInfo" "Network.Google.ServiceControl.Types.Product" "gogol-servicecontrol-0.2.0-4GcnhH9w9PILezs7rEuw3Y" False) (C1 (MetaCons "AuthorizationInfo'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_aiGranted") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) ((:*:) (S1 (MetaSel (Just Symbol "_aiResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_aiPermission") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

authorizationInfo :: AuthorizationInfo Source #

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

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

aiGranted :: Lens' AuthorizationInfo (Maybe Bool) Source #

Whether or not authorization for `resource` and `permission` was granted.

aiResource :: Lens' AuthorizationInfo (Maybe Text) Source #

The resource being accessed, as a REST-style string. For example: bigquery.googlapis.com/projects/PROJECTID/datasets/DATASETID

aiPermission :: Lens' AuthorizationInfo (Maybe Text) Source #

The required IAM permission.

Operation

data Operation Source #

Represents information regarding an operation.

See: operation smart constructor.

Instances

Eq Operation Source # 
Data Operation Source # 

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 # 
Generic Operation Source # 

Associated Types

type Rep Operation :: * -> * #

ToJSON Operation Source # 
FromJSON Operation Source # 
type Rep Operation Source # 

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:

oImportance :: Lens' Operation (Maybe OperationImportance) Source #

DO NOT USE. This is an experimental field.

oStartTime :: Lens' Operation (Maybe UTCTime) Source #

Required. Start time of the operation.

oEndTime :: Lens' Operation (Maybe UTCTime) Source #

End time of the operation. Required when the operation is used in ServiceController.Report, but optional when the operation is used in ServiceController.Check.

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

Fully qualified name of the operation. Reserved for future use.

oLabels :: Lens' Operation (Maybe OperationLabels) Source #

Labels describing the operation. Only the following labels are allowed: - Labels describing monitored resources as defined in the service configuration. - Default labels of metric values. When specified, labels defined in the metric value override these default. - The following labels defined by Google Cloud Platform: - `cloud.googleapis.com/location` describing the location where the operation happened, - `servicecontrol.googleapis.com/user_agent` describing the user agent of the API request, - `servicecontrol.googleapis.com/service_agent` describing the service used to handle the API request (e.g. ESP), - `servicecontrol.googleapis.com/platform` describing the platform where the API is served (e.g. GAE, GCE, GKE).

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

Identity of the operation. This must be unique within the scope of the service that generated the operation. If the service calls Check() and Report() on the same operation, the two calls should carry the same id. UUID version 4 is recommended, though not required. In scenarios where an operation is computed from existing information and an idempotent id is desirable for deduplication purpose, UUID version 5 is recommended. See RFC 4122 for details.

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

Identity of the consumer who is using the service. This field should be filled in for the operations initiated by a consumer, but not for service-initiated operations that are not related to a specific consumer. This can be in one of the following formats: project:, project_number:, api_key:.

oMetricValueSets :: Lens' Operation [MetricValueSet] Source #

Represents information about this operation. Each MetricValueSet corresponds to a metric defined in the service configuration. The data type used in the MetricValueSet must agree with the data type specified in the metric definition. Within a single operation, it is not allowed to have more than one MetricValue instances that have the same metric names and identical label value combinations. If a request has such duplicated MetricValue instances, the entire request is rejected with an invalid argument error.

oLogEntries :: Lens' Operation [LogEntry] Source #

Represents information to be logged.

MetricValueSet

data MetricValueSet Source #

Represents a set of metric values in the same metric. Each metric value in the set should have a unique combination of start time, end time, and label values.

See: metricValueSet smart constructor.

Instances

Eq MetricValueSet Source # 
Data MetricValueSet Source # 

Methods

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

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

toConstr :: MetricValueSet -> Constr #

dataTypeOf :: MetricValueSet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show MetricValueSet Source # 
Generic MetricValueSet Source # 

Associated Types

type Rep MetricValueSet :: * -> * #

ToJSON MetricValueSet Source # 
FromJSON MetricValueSet Source # 
type Rep MetricValueSet Source # 
type Rep MetricValueSet = D1 (MetaData "MetricValueSet" "Network.Google.ServiceControl.Types.Product" "gogol-servicecontrol-0.2.0-4GcnhH9w9PILezs7rEuw3Y" False) (C1 (MetaCons "MetricValueSet'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_mvsMetricName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_mvsMetricValues") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [MetricValue])))))

metricValueSet :: MetricValueSet Source #

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

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

mvsMetricName :: Lens' MetricValueSet (Maybe Text) Source #

The metric name defined in the service configuration.

mvsMetricValues :: Lens' MetricValueSet [MetricValue] Source #

The values in this metric.

LogEntryLabels

data LogEntryLabels Source #

A set of user-defined (key, value) data that provides additional information about the log entry.

See: logEntryLabels smart constructor.

Instances

Eq LogEntryLabels Source # 
Data LogEntryLabels Source # 

Methods

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

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

toConstr :: LogEntryLabels -> Constr #

dataTypeOf :: LogEntryLabels -> DataType #

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

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

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

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

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

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

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

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

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

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

Show LogEntryLabels Source # 
Generic LogEntryLabels Source # 

Associated Types

type Rep LogEntryLabels :: * -> * #

ToJSON LogEntryLabels Source # 
FromJSON LogEntryLabels Source # 
type Rep LogEntryLabels Source # 
type Rep LogEntryLabels = D1 (MetaData "LogEntryLabels" "Network.Google.ServiceControl.Types.Product" "gogol-servicecontrol-0.2.0-4GcnhH9w9PILezs7rEuw3Y" True) (C1 (MetaCons "LogEntryLabels'" PrefixI True) (S1 (MetaSel (Just Symbol "_lelAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text Text))))

logEntryLabels Source #

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

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

LogEntryProtoPayload

data LogEntryProtoPayload Source #

The log entry payload, represented as a protocol buffer that is expressed as a JSON object. You can only pass `protoPayload` values that belong to a set of approved types.

See: logEntryProtoPayload smart constructor.

Instances

Eq LogEntryProtoPayload Source # 
Data LogEntryProtoPayload Source # 

Methods

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

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

toConstr :: LogEntryProtoPayload -> Constr #

dataTypeOf :: LogEntryProtoPayload -> DataType #

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

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

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

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

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

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

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

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

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

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

Show LogEntryProtoPayload Source # 
Generic LogEntryProtoPayload Source # 
ToJSON LogEntryProtoPayload Source # 
FromJSON LogEntryProtoPayload Source # 
type Rep LogEntryProtoPayload Source # 
type Rep LogEntryProtoPayload = D1 (MetaData "LogEntryProtoPayload" "Network.Google.ServiceControl.Types.Product" "gogol-servicecontrol-0.2.0-4GcnhH9w9PILezs7rEuw3Y" True) (C1 (MetaCons "LogEntryProtoPayload'" PrefixI True) (S1 (MetaSel (Just Symbol "_leppAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text JSONValue))))

logEntryProtoPayload Source #

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

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

leppAddtional :: Lens' LogEntryProtoPayload (HashMap Text JSONValue) Source #

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

LinearBuckets

data LinearBuckets Source #

Describing buckets with constant width.

See: linearBuckets smart constructor.

Instances

Eq LinearBuckets Source # 
Data LinearBuckets Source # 

Methods

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

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

toConstr :: LinearBuckets -> Constr #

dataTypeOf :: LinearBuckets -> DataType #

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

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

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

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

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

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

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

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

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

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

Show LinearBuckets Source # 
Generic LinearBuckets Source # 

Associated Types

type Rep LinearBuckets :: * -> * #

ToJSON LinearBuckets Source # 
FromJSON LinearBuckets Source # 
type Rep LinearBuckets Source # 
type Rep LinearBuckets = D1 (MetaData "LinearBuckets" "Network.Google.ServiceControl.Types.Product" "gogol-servicecontrol-0.2.0-4GcnhH9w9PILezs7rEuw3Y" False) (C1 (MetaCons "LinearBuckets'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lbOffSet") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double)))) ((:*:) (S1 (MetaSel (Just Symbol "_lbWidth") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double)))) (S1 (MetaSel (Just Symbol "_lbNumFiniteBuckets") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))))))

linearBuckets :: LinearBuckets Source #

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

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

lbOffSet :: Lens' LinearBuckets (Maybe Double) Source #

The i'th linear bucket covers the interval [offset + (i-1) * width, offset + i * width) where i ranges from 1 to num_finite_buckets, inclusive.

lbWidth :: Lens' LinearBuckets (Maybe Double) Source #

The i'th linear bucket covers the interval [offset + (i-1) * width, offset + i * width) where i ranges from 1 to num_finite_buckets, inclusive. Must be strictly positive.

lbNumFiniteBuckets :: Lens' LinearBuckets (Maybe Int32) Source #

The number of finite buckets. With the underflow and overflow buckets, the total number of buckets is `num_finite_buckets` + 2. See comments on `bucket_options` for details.

CheckErrorCode

data CheckErrorCode Source #

The error code.

Constructors

ErrorCodeUnspecified

ERROR_CODE_UNSPECIFIED This is never used in `CheckResponse`.

NotFound

NOT_FOUND The consumer's project id was not found. Same as google.rpc.Code.NOT_FOUND.

PermissionDenied

PERMISSION_DENIED The consumer doesn't have access to the specified resource. Same as google.rpc.Code.PERMISSION_DENIED.

ResourceExhausted

RESOURCE_EXHAUSTED Quota check failed. Same as google.rpc.Code.RESOURCE_EXHAUSTED.

ServiceNotActivated

SERVICE_NOT_ACTIVATED The consumer hasn't activated the service.

BillingDisabled

BILLING_DISABLED The consumer cannot access the service because billing is disabled.

ProjectDeleted

PROJECT_DELETED The consumer's project has been marked as deleted (soft deletion).

ProjectInvalid

PROJECT_INVALID The consumer's project number or id does not represent a valid project.

IPAddressBlocked

IP_ADDRESS_BLOCKED The IP address of the consumer is invalid for the specific consumer project.

RefererBlocked

REFERER_BLOCKED The referer address of the consumer request is invalid for the specific consumer project.

ClientAppBlocked

CLIENT_APP_BLOCKED The client application of the consumer request is invalid for the specific consumer project.

APITargetBlocked

API_TARGET_BLOCKED The API targeted by this request is invalid for the specified consumer project.

APIKeyInvalid

API_KEY_INVALID The consumer's API key is invalid.

APIKeyExpired

API_KEY_EXPIRED The consumer's API Key has expired.

APIKeyNotFound

API_KEY_NOT_FOUND The consumer's API Key was not found in config record.

NamespaceLookupUnavailable

NAMESPACE_LOOKUP_UNAVAILABLE The backend server for looking up project id/number is unavailable.

ServiceStatusUnavailable

SERVICE_STATUS_UNAVAILABLE The backend server for checking service status is unavailable.

BillingStatusUnavailable

BILLING_STATUS_UNAVAILABLE The backend server for checking billing status is unavailable.

Instances

Enum CheckErrorCode Source # 
Eq CheckErrorCode Source # 
Data CheckErrorCode Source # 

Methods

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

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

toConstr :: CheckErrorCode -> Constr #

dataTypeOf :: CheckErrorCode -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord CheckErrorCode Source # 
Read CheckErrorCode Source # 
Show CheckErrorCode Source # 
Generic CheckErrorCode Source # 

Associated Types

type Rep CheckErrorCode :: * -> * #

Hashable CheckErrorCode Source # 
ToJSON CheckErrorCode Source # 
FromJSON CheckErrorCode Source # 
FromHttpApiData CheckErrorCode Source # 
ToHttpApiData CheckErrorCode Source # 
type Rep CheckErrorCode Source # 
type Rep CheckErrorCode = D1 (MetaData "CheckErrorCode" "Network.Google.ServiceControl.Types.Sum" "gogol-servicecontrol-0.2.0-4GcnhH9w9PILezs7rEuw3Y" False) ((:+:) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "ErrorCodeUnspecified" PrefixI False) U1) (C1 (MetaCons "NotFound" PrefixI False) U1)) ((:+:) (C1 (MetaCons "PermissionDenied" PrefixI False) U1) (C1 (MetaCons "ResourceExhausted" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "ServiceNotActivated" PrefixI False) U1) (C1 (MetaCons "BillingDisabled" PrefixI False) U1)) ((:+:) (C1 (MetaCons "ProjectDeleted" PrefixI False) U1) ((:+:) (C1 (MetaCons "ProjectInvalid" PrefixI False) U1) (C1 (MetaCons "IPAddressBlocked" PrefixI False) U1))))) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "RefererBlocked" PrefixI False) U1) (C1 (MetaCons "ClientAppBlocked" PrefixI False) U1)) ((:+:) (C1 (MetaCons "APITargetBlocked" PrefixI False) U1) (C1 (MetaCons "APIKeyInvalid" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "APIKeyExpired" PrefixI False) U1) (C1 (MetaCons "APIKeyNotFound" PrefixI False) U1)) ((:+:) (C1 (MetaCons "NamespaceLookupUnavailable" PrefixI False) U1) ((:+:) (C1 (MetaCons "ServiceStatusUnavailable" PrefixI False) U1) (C1 (MetaCons "BillingStatusUnavailable" PrefixI False) U1))))))

StatusDetailsItem

data StatusDetailsItem Source #

Instances

Eq StatusDetailsItem Source # 
Data StatusDetailsItem Source # 

Methods

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

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

toConstr :: StatusDetailsItem -> Constr #

dataTypeOf :: StatusDetailsItem -> DataType #

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

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

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

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

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

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

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

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

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

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

Show StatusDetailsItem Source # 
Generic StatusDetailsItem Source # 
ToJSON StatusDetailsItem Source # 
FromJSON StatusDetailsItem Source # 
type Rep StatusDetailsItem Source # 
type Rep StatusDetailsItem = D1 (MetaData "StatusDetailsItem" "Network.Google.ServiceControl.Types.Product" "gogol-servicecontrol-0.2.0-4GcnhH9w9PILezs7rEuw3Y" True) (C1 (MetaCons "StatusDetailsItem'" PrefixI True) (S1 (MetaSel (Just Symbol "_sdiAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text JSONValue))))

statusDetailsItem Source #

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

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

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

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

CheckError

data CheckError Source #

Defines the errors to be returned in google.api.servicecontrol.v1.CheckResponse.check_errors.

See: checkError smart constructor.

Instances

Eq CheckError Source # 
Data CheckError Source # 

Methods

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

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

toConstr :: CheckError -> Constr #

dataTypeOf :: CheckError -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CheckError Source # 
Generic CheckError Source # 

Associated Types

type Rep CheckError :: * -> * #

ToJSON CheckError Source # 
FromJSON CheckError Source # 
type Rep CheckError Source # 
type Rep CheckError = D1 (MetaData "CheckError" "Network.Google.ServiceControl.Types.Product" "gogol-servicecontrol-0.2.0-4GcnhH9w9PILezs7rEuw3Y" False) (C1 (MetaCons "CheckError'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ceCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe CheckErrorCode))) (S1 (MetaSel (Just Symbol "_ceDetail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

checkError :: CheckError Source #

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

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

ceDetail :: Lens' CheckError (Maybe Text) Source #

Free-form text providing details on the error cause of the error.

ReportError

data ReportError Source #

Represents the processing error of one `Operation` in the request.

See: reportError smart constructor.

Instances

Eq ReportError Source # 
Data ReportError Source # 

Methods

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

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

toConstr :: ReportError -> Constr #

dataTypeOf :: ReportError -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ReportError Source # 
Generic ReportError Source # 

Associated Types

type Rep ReportError :: * -> * #

ToJSON ReportError Source # 
FromJSON ReportError Source # 
type Rep ReportError Source # 
type Rep ReportError = D1 (MetaData "ReportError" "Network.Google.ServiceControl.Types.Product" "gogol-servicecontrol-0.2.0-4GcnhH9w9PILezs7rEuw3Y" False) (C1 (MetaCons "ReportError'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_reStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Status))) (S1 (MetaSel (Just Symbol "_reOperationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

reportError :: ReportError Source #

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

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

reStatus :: Lens' ReportError (Maybe Status) Source #

Details of the error when processing the `Operation`.

reOperationId :: Lens' ReportError (Maybe Text) Source #

The Operation.operation_id value from the request.

OperationImportance

data OperationImportance Source #

DO NOT USE. This is an experimental field.

Constructors

Low

LOW The API implementation may cache and aggregate the data. The data may be lost when rare and unexpected system failures occur.

High

HIGH The API implementation doesn't cache and aggregate the data. If the method returns successfully, it's guaranteed that the data has been persisted in durable storage.

Instances

Enum OperationImportance Source # 
Eq OperationImportance Source # 
Data OperationImportance Source # 

Methods

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

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

toConstr :: OperationImportance -> Constr #

dataTypeOf :: OperationImportance -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord OperationImportance Source # 
Read OperationImportance Source # 
Show OperationImportance Source # 
Generic OperationImportance Source # 
Hashable OperationImportance Source # 
ToJSON OperationImportance Source # 
FromJSON OperationImportance Source # 
FromHttpApiData OperationImportance Source # 
ToHttpApiData OperationImportance Source # 
type Rep OperationImportance Source # 
type Rep OperationImportance = D1 (MetaData "OperationImportance" "Network.Google.ServiceControl.Types.Sum" "gogol-servicecontrol-0.2.0-4GcnhH9w9PILezs7rEuw3Y" False) ((:+:) (C1 (MetaCons "Low" PrefixI False) U1) (C1 (MetaCons "High" PrefixI False) U1))

MetricValue

data MetricValue Source #

Represents a single metric value.

See: metricValue smart constructor.

Instances

Eq MetricValue Source # 
Data MetricValue Source # 

Methods

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

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

toConstr :: MetricValue -> Constr #

dataTypeOf :: MetricValue -> DataType #

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

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

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

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

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

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

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

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

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

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

Show MetricValue Source # 
Generic MetricValue Source # 

Associated Types

type Rep MetricValue :: * -> * #

ToJSON MetricValue Source # 
FromJSON MetricValue Source # 
type Rep MetricValue Source # 

metricValue :: MetricValue Source #

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

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

mvStartTime :: Lens' MetricValue (Maybe UTCTime) Source #

The start of the time period over which this metric value's measurement applies. The time period has different semantics for different metric types (cumulative, delta, and gauge). See the metric definition documentation in the service configuration for details.

mvDoubleValue :: Lens' MetricValue (Maybe Double) Source #

A double precision floating point value.

mvStringValue :: Lens' MetricValue (Maybe Text) Source #

A text string value.

mvEndTime :: Lens' MetricValue (Maybe UTCTime) Source #

The end of the time period over which this metric value's measurement applies.

mvInt64Value :: Lens' MetricValue (Maybe Int64) Source #

A signed 64-bit integer value.

mvLabels :: Lens' MetricValue (Maybe MetricValueLabels) Source #

The labels describing the metric value. See comments on google.api.servicecontrol.v1.Operation.labels for the overriding relationship.

Xgafv

data Xgafv Source #

V1 error format.

Constructors

X1

1 v1 error format

X2

2 v2 error format

Instances

Enum Xgafv Source # 
Eq Xgafv Source # 

Methods

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

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

Data Xgafv Source # 

Methods

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

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

toConstr :: Xgafv -> Constr #

dataTypeOf :: Xgafv -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord Xgafv Source # 

Methods

compare :: Xgafv -> Xgafv -> Ordering #

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

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

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

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

max :: Xgafv -> Xgafv -> Xgafv #

min :: Xgafv -> Xgafv -> Xgafv #

Read Xgafv Source # 
Show Xgafv Source # 

Methods

showsPrec :: Int -> Xgafv -> ShowS #

show :: Xgafv -> String #

showList :: [Xgafv] -> ShowS #

Generic Xgafv Source # 

Associated Types

type Rep Xgafv :: * -> * #

Methods

from :: Xgafv -> Rep Xgafv x #

to :: Rep Xgafv x -> Xgafv #

Hashable Xgafv Source # 

Methods

hashWithSalt :: Int -> Xgafv -> Int #

hash :: Xgafv -> Int #

ToJSON Xgafv Source # 
FromJSON Xgafv Source # 
FromHttpApiData Xgafv Source # 
ToHttpApiData Xgafv Source # 
type Rep Xgafv Source # 
type Rep Xgafv = D1 (MetaData "Xgafv" "Network.Google.ServiceControl.Types.Sum" "gogol-servicecontrol-0.2.0-4GcnhH9w9PILezs7rEuw3Y" False) ((:+:) (C1 (MetaCons "X1" PrefixI False) U1) (C1 (MetaCons "X2" PrefixI False) U1))

AuditLogResponse

data AuditLogResponse Source #

The operation response. This may not include all response elements, such as those that are too large, privacy-sensitive, or duplicated elsewhere in the log record. It should never include user-generated data, such as file contents. When the JSON object represented here has a proto equivalent, the proto name will be indicated in the `'type` property.

See: auditLogResponse smart constructor.

Instances

Eq AuditLogResponse Source # 
Data AuditLogResponse Source # 

Methods

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

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

toConstr :: AuditLogResponse -> Constr #

dataTypeOf :: AuditLogResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AuditLogResponse Source # 
Generic AuditLogResponse Source # 
ToJSON AuditLogResponse Source # 
FromJSON AuditLogResponse Source # 
type Rep AuditLogResponse Source # 
type Rep AuditLogResponse = D1 (MetaData "AuditLogResponse" "Network.Google.ServiceControl.Types.Product" "gogol-servicecontrol-0.2.0-4GcnhH9w9PILezs7rEuw3Y" True) (C1 (MetaCons "AuditLogResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_alrAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text JSONValue))))

auditLogResponse Source #

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

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

CheckResponse

data CheckResponse Source #

Response message for the Check method.

See: checkResponse smart constructor.

Instances

Eq CheckResponse Source # 
Data CheckResponse Source # 

Methods

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

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

toConstr :: CheckResponse -> Constr #

dataTypeOf :: CheckResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CheckResponse Source # 
Generic CheckResponse Source # 

Associated Types

type Rep CheckResponse :: * -> * #

ToJSON CheckResponse Source # 
FromJSON CheckResponse Source # 
type Rep CheckResponse Source # 
type Rep CheckResponse = D1 (MetaData "CheckResponse" "Network.Google.ServiceControl.Types.Product" "gogol-servicecontrol-0.2.0-4GcnhH9w9PILezs7rEuw3Y" False) (C1 (MetaCons "CheckResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_cCheckErrors") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [CheckError]))) ((:*:) (S1 (MetaSel (Just Symbol "_cServiceConfigId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_cOperationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

checkResponse :: CheckResponse Source #

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

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

cCheckErrors :: Lens' CheckResponse [CheckError] Source #

Indicate the decision of the check. If no check errors are present, the service should process the operation. Otherwise the service should use the list of errors to determine the appropriate action.

cServiceConfigId :: Lens' CheckResponse (Maybe Text) Source #

The actual config id used to process the request.

cOperationId :: Lens' CheckResponse (Maybe Text) Source #

The same operation_id value used in the CheckRequest. Used for logging and diagnostics purposes.

ReportResponse

data ReportResponse Source #

Response message for the Report method.

See: reportResponse smart constructor.

Instances

Eq ReportResponse Source # 
Data ReportResponse Source # 

Methods

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

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

toConstr :: ReportResponse -> Constr #

dataTypeOf :: ReportResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ReportResponse Source # 
Generic ReportResponse Source # 

Associated Types

type Rep ReportResponse :: * -> * #

ToJSON ReportResponse Source # 
FromJSON ReportResponse Source # 
type Rep ReportResponse Source # 
type Rep ReportResponse = D1 (MetaData "ReportResponse" "Network.Google.ServiceControl.Types.Product" "gogol-servicecontrol-0.2.0-4GcnhH9w9PILezs7rEuw3Y" False) (C1 (MetaCons "ReportResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_rReportErrors") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ReportError]))) (S1 (MetaSel (Just Symbol "_rServiceConfigId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

reportResponse :: ReportResponse Source #

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

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

rReportErrors :: Lens' ReportResponse [ReportError] Source #

Partial failures, one for each `Operation` in the request that failed processing. There are three possible combinations of the RPC status: 1. The combination of a successful RPC status and an empty `report_errors` list indicates a complete success where all `Operations` in the request are processed successfully. 2. The combination of a successful RPC status and a non-empty `report_errors` list indicates a partial success where some `Operations` in the request succeeded. Each `Operation` that failed processing has a corresponding item in this list. 3. A failed RPC status indicates a general non-deterministic failure. When this happens, it's impossible to know which of the 'Operations' in the request succeeded or failed.

rServiceConfigId :: Lens' ReportResponse (Maybe Text) Source #

The actual config id used to process the request.

LogEntry

data LogEntry Source #

An individual log entry.

See: logEntry smart constructor.

Instances

Eq LogEntry Source # 
Data LogEntry Source # 

Methods

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

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

toConstr :: LogEntry -> Constr #

dataTypeOf :: LogEntry -> DataType #

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

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

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

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

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

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

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

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

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

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

Show LogEntry Source # 
Generic LogEntry Source # 

Associated Types

type Rep LogEntry :: * -> * #

Methods

from :: LogEntry -> Rep LogEntry x #

to :: Rep LogEntry x -> LogEntry #

ToJSON LogEntry Source # 
FromJSON LogEntry Source # 
type Rep LogEntry Source # 

logEntry :: LogEntry Source #

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

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

leSeverity :: Lens' LogEntry (Maybe LogEntrySeverity) Source #

The severity of the log entry. The default value is `LogSeverity.DEFAULT`.

leTextPayload :: Lens' LogEntry (Maybe Text) Source #

The log entry payload, represented as a Unicode string (UTF-8).

leStructPayload :: Lens' LogEntry (Maybe LogEntryStructPayload) Source #

The log entry payload, represented as a structure that is expressed as a JSON object.

leName :: Lens' LogEntry (Maybe Text) Source #

Required. The log to which this log entry belongs. Examples: `"syslog"`, `"book_log"`.

leInsertId :: Lens' LogEntry (Maybe Text) Source #

A unique ID for the log entry used for deduplication. If omitted, the implementation will generate one based on operation_id.

leLabels :: Lens' LogEntry (Maybe LogEntryLabels) Source #

A set of user-defined (key, value) data that provides additional information about the log entry.

leProtoPayload :: Lens' LogEntry (Maybe LogEntryProtoPayload) Source #

The log entry payload, represented as a protocol buffer that is expressed as a JSON object. You can only pass `protoPayload` values that belong to a set of approved types.

leTimestamp :: Lens' LogEntry (Maybe UTCTime) Source #

The time the event described by the log entry occurred. If omitted, defaults to operation start time.

AuditLogRequest

data AuditLogRequest Source #

The operation request. This may not include all request parameters, such as those that are too large, privacy-sensitive, or duplicated elsewhere in the log record. It should never include user-generated data, such as file contents. When the JSON object represented here has a proto equivalent, the proto name will be indicated in the `'type` property.

See: auditLogRequest smart constructor.

Instances

Eq AuditLogRequest Source # 
Data AuditLogRequest Source # 

Methods

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

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

toConstr :: AuditLogRequest -> Constr #

dataTypeOf :: AuditLogRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AuditLogRequest Source # 
Generic AuditLogRequest Source # 
ToJSON AuditLogRequest Source # 
FromJSON AuditLogRequest Source # 
type Rep AuditLogRequest Source # 
type Rep AuditLogRequest = D1 (MetaData "AuditLogRequest" "Network.Google.ServiceControl.Types.Product" "gogol-servicecontrol-0.2.0-4GcnhH9w9PILezs7rEuw3Y" True) (C1 (MetaCons "AuditLogRequest'" PrefixI True) (S1 (MetaSel (Just Symbol "_aAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text JSONValue))))

auditLogRequest Source #

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

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

OperationLabels

data OperationLabels Source #

Labels describing the operation. Only the following labels are allowed: - Labels describing monitored resources as defined in the service configuration. - Default labels of metric values. When specified, labels defined in the metric value override these default. - The following labels defined by Google Cloud Platform: - `cloud.googleapis.com/location` describing the location where the operation happened, - `servicecontrol.googleapis.com/user_agent` describing the user agent of the API request, - `servicecontrol.googleapis.com/service_agent` describing the service used to handle the API request (e.g. ESP), - `servicecontrol.googleapis.com/platform` describing the platform where the API is served (e.g. GAE, GCE, GKE).

See: operationLabels smart constructor.

Instances

Eq OperationLabels Source # 
Data OperationLabels Source # 

Methods

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

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

toConstr :: OperationLabels -> Constr #

dataTypeOf :: OperationLabels -> DataType #

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

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

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

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

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

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

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

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

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

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

Show OperationLabels Source # 
Generic OperationLabels Source # 
ToJSON OperationLabels Source # 
FromJSON OperationLabels Source # 
type Rep OperationLabels Source # 
type Rep OperationLabels = D1 (MetaData "OperationLabels" "Network.Google.ServiceControl.Types.Product" "gogol-servicecontrol-0.2.0-4GcnhH9w9PILezs7rEuw3Y" True) (C1 (MetaCons "OperationLabels'" PrefixI True) (S1 (MetaSel (Just Symbol "_olAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text Text))))

operationLabels Source #

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

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

LogEntrySeverity

data LogEntrySeverity Source #

The severity of the log entry. The default value is `LogSeverity.DEFAULT`.

Constructors

Default

DEFAULT (0) The log entry has no assigned severity level.

Debug

DEBUG (100) Debug or trace information.

Info

INFO (200) Routine information, such as ongoing status or performance.

Notice

NOTICE (300) Normal but significant events, such as start up, shut down, or a configuration change.

Warning

WARNING (400) Warning events might cause problems.

Error'

ERROR (500) Error events are likely to cause problems.

Critical

CRITICAL (600) Critical events cause more severe problems or outages.

Alert

ALERT (700) A person must take an action immediately.

Emergency

EMERGENCY (800) One or more systems are unusable.

Instances

Enum LogEntrySeverity Source # 
Eq LogEntrySeverity Source # 
Data LogEntrySeverity Source # 

Methods

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

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

toConstr :: LogEntrySeverity -> Constr #

dataTypeOf :: LogEntrySeverity -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord LogEntrySeverity Source # 
Read LogEntrySeverity Source # 
Show LogEntrySeverity Source # 
Generic LogEntrySeverity Source # 
Hashable LogEntrySeverity Source # 
ToJSON LogEntrySeverity Source # 
FromJSON LogEntrySeverity Source # 
FromHttpApiData LogEntrySeverity Source # 
ToHttpApiData LogEntrySeverity Source # 
type Rep LogEntrySeverity Source # 
type Rep LogEntrySeverity = D1 (MetaData "LogEntrySeverity" "Network.Google.ServiceControl.Types.Sum" "gogol-servicecontrol-0.2.0-4GcnhH9w9PILezs7rEuw3Y" False) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "Default" PrefixI False) U1) (C1 (MetaCons "Debug" PrefixI False) U1)) ((:+:) (C1 (MetaCons "Info" PrefixI False) U1) (C1 (MetaCons "Notice" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "Warning" PrefixI False) U1) (C1 (MetaCons "Error'" PrefixI False) U1)) ((:+:) (C1 (MetaCons "Critical" PrefixI False) U1) ((:+:) (C1 (MetaCons "Alert" PrefixI False) U1) (C1 (MetaCons "Emergency" PrefixI False) U1)))))

ExplicitBuckets

data ExplicitBuckets Source #

Describing buckets with arbitrary user-provided width.

See: explicitBuckets smart constructor.

Instances

Eq ExplicitBuckets Source # 
Data ExplicitBuckets Source # 

Methods

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

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

toConstr :: ExplicitBuckets -> Constr #

dataTypeOf :: ExplicitBuckets -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ExplicitBuckets Source # 
Generic ExplicitBuckets Source # 
ToJSON ExplicitBuckets Source # 
FromJSON ExplicitBuckets Source # 
type Rep ExplicitBuckets Source # 
type Rep ExplicitBuckets = D1 (MetaData "ExplicitBuckets" "Network.Google.ServiceControl.Types.Product" "gogol-servicecontrol-0.2.0-4GcnhH9w9PILezs7rEuw3Y" True) (C1 (MetaCons "ExplicitBuckets'" PrefixI True) (S1 (MetaSel (Just Symbol "_ebBounds") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Textual Double]))))

explicitBuckets :: ExplicitBuckets Source #

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

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

ebBounds :: Lens' ExplicitBuckets [Double] Source #

'bound' is a list of strictly increasing boundaries between buckets. Note that a list of length N-1 defines N buckets because of fenceposting. See comments on `bucket_options` for details. The i'th finite bucket covers the interval [bound[i-1], bound[i]) where i ranges from 1 to bound_size() - 1. Note that there are no finite buckets at all if 'bound' only contains a single element; in that special case the single bound defines the boundary between the underflow and overflow buckets. bucket number lower bound upper bound i == 0 (underflow) -inf bound[i] 0 < i < bound_size() bound[i-1] bound[i] i == bound_size() (overflow) bound[i-1] +inf

AuthenticationInfo

data AuthenticationInfo Source #

Authentication information for the operation.

See: authenticationInfo smart constructor.

Instances

Eq AuthenticationInfo Source # 
Data AuthenticationInfo Source # 

Methods

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

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

toConstr :: AuthenticationInfo -> Constr #

dataTypeOf :: AuthenticationInfo -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AuthenticationInfo Source # 
Generic AuthenticationInfo Source # 
ToJSON AuthenticationInfo Source # 
FromJSON AuthenticationInfo Source # 
type Rep AuthenticationInfo Source # 
type Rep AuthenticationInfo = D1 (MetaData "AuthenticationInfo" "Network.Google.ServiceControl.Types.Product" "gogol-servicecontrol-0.2.0-4GcnhH9w9PILezs7rEuw3Y" False) (C1 (MetaCons "AuthenticationInfo'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_aiPrincipalEmail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_aiAuthoritySelector") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

authenticationInfo :: AuthenticationInfo Source #

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

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

aiPrincipalEmail :: Lens' AuthenticationInfo (Maybe Text) Source #

The email address of the authenticated user making the request.

aiAuthoritySelector :: Lens' AuthenticationInfo (Maybe Text) Source #

The authority selector specified by the requestor, if any. It is not guaranteed that the principal was allowed to use this authority.

AuditLog

data AuditLog Source #

Common audit log format for Google Cloud Platform API operations.

See: auditLog smart constructor.

Instances

Eq AuditLog Source # 
Data AuditLog Source # 

Methods

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

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

toConstr :: AuditLog -> Constr #

dataTypeOf :: AuditLog -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AuditLog Source # 
Generic AuditLog Source # 

Associated Types

type Rep AuditLog :: * -> * #

Methods

from :: AuditLog -> Rep AuditLog x #

to :: Rep AuditLog x -> AuditLog #

ToJSON AuditLog Source # 
FromJSON AuditLog Source # 
type Rep AuditLog Source # 
type Rep AuditLog = D1 (MetaData "AuditLog" "Network.Google.ServiceControl.Types.Product" "gogol-servicecontrol-0.2.0-4GcnhH9w9PILezs7rEuw3Y" False) (C1 (MetaCons "AuditLog'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_alRequestMetadata") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe RequestMetadata))) (S1 (MetaSel (Just Symbol "_alStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Status)))) ((:*:) (S1 (MetaSel (Just Symbol "_alResourceName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_alAuthorizationInfo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [AuthorizationInfo]))) (S1 (MetaSel (Just Symbol "_alServiceData") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AuditLogServiceData)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_alMethodName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_alResponse") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AuditLogResponse))) (S1 (MetaSel (Just Symbol "_alServiceName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_alNumResponseItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))) ((:*:) (S1 (MetaSel (Just Symbol "_alAuthenticationInfo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AuthenticationInfo))) (S1 (MetaSel (Just Symbol "_alRequest") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AuditLogRequest))))))))

auditLog :: AuditLog Source #

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

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

alRequestMetadata :: Lens' AuditLog (Maybe RequestMetadata) Source #

Metadata about the operation.

alStatus :: Lens' AuditLog (Maybe Status) Source #

The status of the overall operation.

alResourceName :: Lens' AuditLog (Maybe Text) Source #

The resource or collection that is the target of the operation. The name is a scheme-less URI, not including the API service name. For example: "shelves/SHELF_ID/books" "shelves/SHELF_ID/books/BOOK_ID"

alAuthorizationInfo :: Lens' AuditLog [AuthorizationInfo] Source #

Authorization information. If there are multiple resources or permissions involved, then there is one AuthorizationInfo element for each {resource, permission} tuple.

alServiceData :: Lens' AuditLog (Maybe AuditLogServiceData) Source #

Other service-specific data about the request, response, and other activities.

alMethodName :: Lens' AuditLog (Maybe Text) Source #

The name of the service method or operation. For API calls, this should be the name of the API method. For example, "google.datastore.v1.Datastore.RunQuery" "google.logging.v1.LoggingService.DeleteLog"

alResponse :: Lens' AuditLog (Maybe AuditLogResponse) Source #

The operation response. This may not include all response elements, such as those that are too large, privacy-sensitive, or duplicated elsewhere in the log record. It should never include user-generated data, such as file contents. When the JSON object represented here has a proto equivalent, the proto name will be indicated in the `'type` property.

alServiceName :: Lens' AuditLog (Maybe Text) Source #

The name of the API service performing the operation. For example, `"datastore.googleapis.com"`.

alNumResponseItems :: Lens' AuditLog (Maybe Int64) Source #

The number of items returned from a List or Query API method, if applicable.

alRequest :: Lens' AuditLog (Maybe AuditLogRequest) Source #

The operation request. This may not include all request parameters, such as those that are too large, privacy-sensitive, or duplicated elsewhere in the log record. It should never include user-generated data, such as file contents. When the JSON object represented here has a proto equivalent, the proto name will be indicated in the `'type` property.

LogEntryStructPayload

data LogEntryStructPayload Source #

The log entry payload, represented as a structure that is expressed as a JSON object.

See: logEntryStructPayload smart constructor.

Instances

Eq LogEntryStructPayload Source # 
Data LogEntryStructPayload Source # 

Methods

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

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

toConstr :: LogEntryStructPayload -> Constr #

dataTypeOf :: LogEntryStructPayload -> DataType #

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

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

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

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

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

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

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

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

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

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

Show LogEntryStructPayload Source # 
Generic LogEntryStructPayload Source # 
ToJSON LogEntryStructPayload Source # 
FromJSON LogEntryStructPayload Source # 
type Rep LogEntryStructPayload Source # 
type Rep LogEntryStructPayload = D1 (MetaData "LogEntryStructPayload" "Network.Google.ServiceControl.Types.Product" "gogol-servicecontrol-0.2.0-4GcnhH9w9PILezs7rEuw3Y" True) (C1 (MetaCons "LogEntryStructPayload'" PrefixI True) (S1 (MetaSel (Just Symbol "_lespAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text JSONValue))))

logEntryStructPayload Source #

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

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