Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
- Service Configuration
- OAuth Scopes
- API Declaration
- Resources
- cloudfunctions.operations.get
- cloudfunctions.operations.list
- cloudfunctions.projects.locations.functions.call
- cloudfunctions.projects.locations.functions.create
- cloudfunctions.projects.locations.functions.delete
- cloudfunctions.projects.locations.functions.generateDownloadUrl
- cloudfunctions.projects.locations.functions.generateUploadUrl
- cloudfunctions.projects.locations.functions.get
- cloudfunctions.projects.locations.functions.getIamPolicy
- cloudfunctions.projects.locations.functions.list
- cloudfunctions.projects.locations.functions.patch
- cloudfunctions.projects.locations.functions.setIamPolicy
- cloudfunctions.projects.locations.functions.testIamPermissions
- cloudfunctions.projects.locations.list
- Types
- Status
- AuditConfig
- OperationMetadataV1Type
- OperationMetadataV1Beta2
- Expr
- ListLocationsResponse
- ListOperationsResponse
- GenerateUploadURLRequest
- Location
- Operation
- GenerateDownloadURLRequest
- Retry
- GenerateUploadURLResponse
- FailurePolicy
- CallFunctionResponse
- HTTPSTrigger
- StatusDetailsItem
- CloudFunctionEnvironmentVariables
- OperationMetadataV1Request
- SetIAMPolicyRequest
- EventTrigger
- SourceRepository
- OperationMetadataV1
- CloudFunctionStatus
- OperationMetadataV1Beta2Type
- GenerateDownloadURLResponse
- AuditLogConfigLogType
- Xgafv
- TestIAMPermissionsRequest
- TestIAMPermissionsResponse
- Policy
- LocationLabels
- ListFunctionsResponse
- LocationMetadata
- OperationMetadata
- AuditLogConfig
- CloudFunction
- OperationMetadataV1Beta2Request
- CloudFunctionLabels
- OperationResponse
- CallFunctionRequest
- Binding
Manages lightweight user-provided functions executed in response to events.
Synopsis
- cloudFunctionsService :: ServiceConfig
- cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"]
- type CloudFunctionsAPI = OperationsListResource :<|> (OperationsGetResource :<|> (ProjectsLocationsFunctionsListResource :<|> (ProjectsLocationsFunctionsCallResource :<|> (ProjectsLocationsFunctionsGenerateUploadURLResource :<|> (ProjectsLocationsFunctionsGetIAMPolicyResource :<|> (ProjectsLocationsFunctionsPatchResource :<|> (ProjectsLocationsFunctionsGetResource :<|> (ProjectsLocationsFunctionsCreateResource :<|> (ProjectsLocationsFunctionsGenerateDownloadURLResource :<|> (ProjectsLocationsFunctionsSetIAMPolicyResource :<|> (ProjectsLocationsFunctionsTestIAMPermissionsResource :<|> (ProjectsLocationsFunctionsDeleteResource :<|> ProjectsLocationsListResource))))))))))))
- module Network.Google.Resource.CloudFunctions.Operations.Get
- module Network.Google.Resource.CloudFunctions.Operations.List
- module Network.Google.Resource.CloudFunctions.Projects.Locations.Functions.Call
- module Network.Google.Resource.CloudFunctions.Projects.Locations.Functions.Create
- module Network.Google.Resource.CloudFunctions.Projects.Locations.Functions.Delete
- module Network.Google.Resource.CloudFunctions.Projects.Locations.Functions.GenerateDownloadURL
- module Network.Google.Resource.CloudFunctions.Projects.Locations.Functions.GenerateUploadURL
- module Network.Google.Resource.CloudFunctions.Projects.Locations.Functions.Get
- module Network.Google.Resource.CloudFunctions.Projects.Locations.Functions.GetIAMPolicy
- module Network.Google.Resource.CloudFunctions.Projects.Locations.Functions.List
- module Network.Google.Resource.CloudFunctions.Projects.Locations.Functions.Patch
- module Network.Google.Resource.CloudFunctions.Projects.Locations.Functions.SetIAMPolicy
- module Network.Google.Resource.CloudFunctions.Projects.Locations.Functions.TestIAMPermissions
- module Network.Google.Resource.CloudFunctions.Projects.Locations.List
- data Status
- status :: Status
- sDetails :: Lens' Status [StatusDetailsItem]
- sCode :: Lens' Status (Maybe Int32)
- sMessage :: Lens' Status (Maybe Text)
- data AuditConfig
- auditConfig :: AuditConfig
- acService :: Lens' AuditConfig (Maybe Text)
- acAuditLogConfigs :: Lens' AuditConfig [AuditLogConfig]
- data OperationMetadataV1Type
- data OperationMetadataV1Beta2
- operationMetadataV1Beta2 :: OperationMetadataV1Beta2
- omvbVersionId :: Lens' OperationMetadataV1Beta2 (Maybe Int64)
- omvbUpdateTime :: Lens' OperationMetadataV1Beta2 (Maybe UTCTime)
- omvbType :: Lens' OperationMetadataV1Beta2 (Maybe OperationMetadataV1Beta2Type)
- omvbTarget :: Lens' OperationMetadataV1Beta2 (Maybe Text)
- omvbRequest :: Lens' OperationMetadataV1Beta2 (Maybe OperationMetadataV1Beta2Request)
- data Expr
- expr :: Expr
- eLocation :: Lens' Expr (Maybe Text)
- eExpression :: Lens' Expr (Maybe Text)
- eTitle :: Lens' Expr (Maybe Text)
- eDescription :: Lens' Expr (Maybe Text)
- data ListLocationsResponse
- listLocationsResponse :: ListLocationsResponse
- llrNextPageToken :: Lens' ListLocationsResponse (Maybe Text)
- llrLocations :: Lens' ListLocationsResponse [Location]
- data ListOperationsResponse
- listOperationsResponse :: ListOperationsResponse
- lorNextPageToken :: Lens' ListOperationsResponse (Maybe Text)
- lorOperations :: Lens' ListOperationsResponse [Operation]
- data GenerateUploadURLRequest
- generateUploadURLRequest :: GenerateUploadURLRequest
- data Location
- location :: Location
- lName :: Lens' Location (Maybe Text)
- lMetadata :: Lens' Location (Maybe LocationMetadata)
- lDisplayName :: Lens' Location (Maybe Text)
- lLabels :: Lens' Location (Maybe LocationLabels)
- lLocationId :: Lens' Location (Maybe Text)
- data Operation
- operation :: Operation
- oDone :: Lens' Operation (Maybe Bool)
- oError :: Lens' Operation (Maybe Status)
- oResponse :: Lens' Operation (Maybe OperationResponse)
- oName :: Lens' Operation (Maybe Text)
- oMetadata :: Lens' Operation (Maybe OperationMetadata)
- data GenerateDownloadURLRequest
- generateDownloadURLRequest :: GenerateDownloadURLRequest
- gdurVersionId :: Lens' GenerateDownloadURLRequest (Maybe Word64)
- data Retry
- retry :: Retry
- data GenerateUploadURLResponse
- generateUploadURLResponse :: GenerateUploadURLResponse
- guurUploadURL :: Lens' GenerateUploadURLResponse (Maybe Text)
- data FailurePolicy
- failurePolicy :: FailurePolicy
- fpRetry :: Lens' FailurePolicy (Maybe Retry)
- data CallFunctionResponse
- callFunctionResponse :: CallFunctionResponse
- cfrExecutionId :: Lens' CallFunctionResponse (Maybe Text)
- cfrError :: Lens' CallFunctionResponse (Maybe Text)
- cfrResult :: Lens' CallFunctionResponse (Maybe Text)
- data HTTPSTrigger
- httpsTrigger :: HTTPSTrigger
- htURL :: Lens' HTTPSTrigger (Maybe Text)
- data StatusDetailsItem
- statusDetailsItem :: HashMap Text JSONValue -> StatusDetailsItem
- sdiAddtional :: Lens' StatusDetailsItem (HashMap Text JSONValue)
- data CloudFunctionEnvironmentVariables
- cloudFunctionEnvironmentVariables :: HashMap Text Text -> CloudFunctionEnvironmentVariables
- cfevAddtional :: Lens' CloudFunctionEnvironmentVariables (HashMap Text Text)
- data OperationMetadataV1Request
- operationMetadataV1Request :: HashMap Text JSONValue -> OperationMetadataV1Request
- omvrAddtional :: Lens' OperationMetadataV1Request (HashMap Text JSONValue)
- data SetIAMPolicyRequest
- setIAMPolicyRequest :: SetIAMPolicyRequest
- siprUpdateMask :: Lens' SetIAMPolicyRequest (Maybe GFieldMask)
- siprPolicy :: Lens' SetIAMPolicyRequest (Maybe Policy)
- data EventTrigger
- eventTrigger :: EventTrigger
- etService :: Lens' EventTrigger (Maybe Text)
- etFailurePolicy :: Lens' EventTrigger (Maybe FailurePolicy)
- etEventType :: Lens' EventTrigger (Maybe Text)
- etResource :: Lens' EventTrigger (Maybe Text)
- data SourceRepository
- sourceRepository :: SourceRepository
- srURL :: Lens' SourceRepository (Maybe Text)
- srDeployedURL :: Lens' SourceRepository (Maybe Text)
- data OperationMetadataV1
- operationMetadataV1 :: OperationMetadataV1
- omvVersionId :: Lens' OperationMetadataV1 (Maybe Int64)
- omvUpdateTime :: Lens' OperationMetadataV1 (Maybe UTCTime)
- omvType :: Lens' OperationMetadataV1 (Maybe OperationMetadataV1Type)
- omvTarget :: Lens' OperationMetadataV1 (Maybe Text)
- omvRequest :: Lens' OperationMetadataV1 (Maybe OperationMetadataV1Request)
- data CloudFunctionStatus
- data OperationMetadataV1Beta2Type
- data GenerateDownloadURLResponse
- generateDownloadURLResponse :: GenerateDownloadURLResponse
- gdurDownloadURL :: Lens' GenerateDownloadURLResponse (Maybe Text)
- data AuditLogConfigLogType
- data Xgafv
- data TestIAMPermissionsRequest
- testIAMPermissionsRequest :: TestIAMPermissionsRequest
- tiprPermissions :: Lens' TestIAMPermissionsRequest [Text]
- data TestIAMPermissionsResponse
- testIAMPermissionsResponse :: TestIAMPermissionsResponse
- tiamprPermissions :: Lens' TestIAMPermissionsResponse [Text]
- data Policy
- policy :: Policy
- pAuditConfigs :: Lens' Policy [AuditConfig]
- pEtag :: Lens' Policy (Maybe ByteString)
- pVersion :: Lens' Policy (Maybe Int32)
- pBindings :: Lens' Policy [Binding]
- data LocationLabels
- locationLabels :: HashMap Text Text -> LocationLabels
- llAddtional :: Lens' LocationLabels (HashMap Text Text)
- data ListFunctionsResponse
- listFunctionsResponse :: ListFunctionsResponse
- lfrNextPageToken :: Lens' ListFunctionsResponse (Maybe Text)
- lfrFunctions :: Lens' ListFunctionsResponse [CloudFunction]
- data LocationMetadata
- locationMetadata :: HashMap Text JSONValue -> LocationMetadata
- lmAddtional :: Lens' LocationMetadata (HashMap Text JSONValue)
- data OperationMetadata
- operationMetadata :: HashMap Text JSONValue -> OperationMetadata
- omAddtional :: Lens' OperationMetadata (HashMap Text JSONValue)
- data AuditLogConfig
- auditLogConfig :: AuditLogConfig
- alcLogType :: Lens' AuditLogConfig (Maybe AuditLogConfigLogType)
- alcExemptedMembers :: Lens' AuditLogConfig [Text]
- data CloudFunction
- cloudFunction :: CloudFunction
- cfRuntime :: Lens' CloudFunction (Maybe Text)
- cfStatus :: Lens' CloudFunction (Maybe CloudFunctionStatus)
- cfSourceArchiveURL :: Lens' CloudFunction (Maybe Text)
- cfVersionId :: Lens' CloudFunction (Maybe Int64)
- cfSourceUploadURL :: Lens' CloudFunction (Maybe Text)
- cfEntryPoint :: Lens' CloudFunction (Maybe Text)
- cfHTTPSTrigger :: Lens' CloudFunction (Maybe HTTPSTrigger)
- cfNetwork :: Lens' CloudFunction (Maybe Text)
- cfMaxInstances :: Lens' CloudFunction (Maybe Int32)
- cfEventTrigger :: Lens' CloudFunction (Maybe EventTrigger)
- cfUpdateTime :: Lens' CloudFunction (Maybe UTCTime)
- cfName :: Lens' CloudFunction (Maybe Text)
- cfSourceRepository :: Lens' CloudFunction (Maybe SourceRepository)
- cfAvailableMemoryMb :: Lens' CloudFunction (Maybe Int32)
- cfLabels :: Lens' CloudFunction (Maybe CloudFunctionLabels)
- cfServiceAccountEmail :: Lens' CloudFunction (Maybe Text)
- cfEnvironmentVariables :: Lens' CloudFunction (Maybe CloudFunctionEnvironmentVariables)
- cfTimeout :: Lens' CloudFunction (Maybe Scientific)
- cfVPCConnector :: Lens' CloudFunction (Maybe Text)
- cfDescription :: Lens' CloudFunction (Maybe Text)
- data OperationMetadataV1Beta2Request
- operationMetadataV1Beta2Request :: HashMap Text JSONValue -> OperationMetadataV1Beta2Request
- omvbrAddtional :: Lens' OperationMetadataV1Beta2Request (HashMap Text JSONValue)
- data CloudFunctionLabels
- cloudFunctionLabels :: HashMap Text Text -> CloudFunctionLabels
- cflAddtional :: Lens' CloudFunctionLabels (HashMap Text Text)
- data OperationResponse
- operationResponse :: HashMap Text JSONValue -> OperationResponse
- orAddtional :: Lens' OperationResponse (HashMap Text JSONValue)
- data CallFunctionRequest
- callFunctionRequest :: CallFunctionRequest
- cfrData :: Lens' CallFunctionRequest (Maybe Text)
- data Binding
- binding :: Binding
- bMembers :: Lens' Binding [Text]
- bRole :: Lens' Binding (Maybe Text)
- bCondition :: Lens' Binding (Maybe Expr)
Service Configuration
cloudFunctionsService :: ServiceConfig Source #
Default request referring to version v1
of the Cloud Functions API. This contains the host and root path used as a starting point for constructing service requests.
OAuth Scopes
cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"] Source #
View and manage your data across Google Cloud Platform services
API Declaration
type CloudFunctionsAPI = OperationsListResource :<|> (OperationsGetResource :<|> (ProjectsLocationsFunctionsListResource :<|> (ProjectsLocationsFunctionsCallResource :<|> (ProjectsLocationsFunctionsGenerateUploadURLResource :<|> (ProjectsLocationsFunctionsGetIAMPolicyResource :<|> (ProjectsLocationsFunctionsPatchResource :<|> (ProjectsLocationsFunctionsGetResource :<|> (ProjectsLocationsFunctionsCreateResource :<|> (ProjectsLocationsFunctionsGenerateDownloadURLResource :<|> (ProjectsLocationsFunctionsSetIAMPolicyResource :<|> (ProjectsLocationsFunctionsTestIAMPermissionsResource :<|> (ProjectsLocationsFunctionsDeleteResource :<|> ProjectsLocationsListResource)))))))))))) Source #
Represents the entirety of the methods and resources available for the Cloud Functions API service.
Resources
cloudfunctions.operations.get
cloudfunctions.operations.list
cloudfunctions.projects.locations.functions.call
cloudfunctions.projects.locations.functions.create
cloudfunctions.projects.locations.functions.delete
cloudfunctions.projects.locations.functions.generateDownloadUrl
cloudfunctions.projects.locations.functions.generateUploadUrl
cloudfunctions.projects.locations.functions.get
cloudfunctions.projects.locations.functions.getIamPolicy
cloudfunctions.projects.locations.functions.list
cloudfunctions.projects.locations.functions.patch
cloudfunctions.projects.locations.functions.setIamPolicy
cloudfunctions.projects.locations.functions.testIamPermissions
cloudfunctions.projects.locations.list
Types
Status
The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. The error model is designed to be: - Simple to use and understand for most users - Flexible enough to meet unexpected needs # Overview The `Status` message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of google.rpc.Code, but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers *understand* and *resolve* the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package `google.rpc` that can be used for common error conditions. # Language mapping The `Status` message is the logical representation of the error model, but it is not necessarily the actual wire format. When the `Status` message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C. # Other uses The error model and the `Status` message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments. Example uses of this error model include: - Partial errors. If a service needs to return partial errors to the client, it may embed the `Status` in the normal response to indicate the partial errors. - Workflow errors. A typical workflow has multiple steps. Each step may have a `Status` message for error reporting. - Batch operations. If a client uses batch request and batch response, the `Status` message should be used directly inside batch response, one for each error sub-response. - Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the `Status` message. - Logging. If some API errors are stored in logs, the message `Status` could be used directly after any stripping needed for security/privacy reasons.
See: status
smart constructor.
Instances
Eq Status Source # | |
Data Status Source # | |
Defined in Network.Google.CloudFunctions.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Status -> c Status # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Status # toConstr :: Status -> Constr # dataTypeOf :: Status -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Status) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Status) # gmapT :: (forall b. Data b => b -> b) -> Status -> Status # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Status -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Status -> r # gmapQ :: (forall d. Data d => d -> u) -> Status -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Status -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Status -> m Status # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Status -> m Status # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Status -> m Status # | |
Show Status Source # | |
Generic Status Source # | |
ToJSON Status Source # | |
Defined in Network.Google.CloudFunctions.Types.Product | |
FromJSON Status Source # | |
type Rep Status Source # | |
Defined in Network.Google.CloudFunctions.Types.Product type Rep Status = D1 (MetaData "Status" "Network.Google.CloudFunctions.Types.Product" "gogol-cloudfunctions-0.4.0-6sCZoOCvrpODwDOeEfObaJ" False) (C1 (MetaCons "Status'" PrefixI True) (S1 (MetaSel (Just "_sDetails") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [StatusDetailsItem])) :*: (S1 (MetaSel (Just "_sCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_sMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) |
sDetails :: Lens' Status [StatusDetailsItem] Source #
A list of messages that carry the error details. There is a common set of message types for APIs to use.
sCode :: Lens' Status (Maybe Int32) Source #
The status code, which should be an enum value of google.rpc.Code.
sMessage :: Lens' Status (Maybe Text) Source #
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
AuditConfig
data AuditConfig Source #
Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices" "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:foo'gmail.com" ] }, { "log_type": "DATA_WRITE", }, { "log_type": "ADMIN_READ", } ] }, { "service": "fooservice.googleapis.com" "audit_log_configs": [ { "log_type": "DATA_READ", }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:bar'gmail.com" ] } ] } ] } For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts foo'gmail.com from DATA_READ logging, and bar'gmail.com from DATA_WRITE logging.
See: auditConfig
smart constructor.
Instances
auditConfig :: AuditConfig Source #
Creates a value of AuditConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
acService :: Lens' AuditConfig (Maybe Text) Source #
Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.
acAuditLogConfigs :: Lens' AuditConfig [AuditLogConfig] Source #
The configuration for logging of each type of permission.
OperationMetadataV1Type
data OperationMetadataV1Type Source #
Type of operation.
OperationUnspecified |
|
CreateFunction |
|
UpdateFunction |
|
DeleteFunction |
|
Instances
OperationMetadataV1Beta2
data OperationMetadataV1Beta2 Source #
Metadata describing an Operation
See: operationMetadataV1Beta2
smart constructor.
Instances
operationMetadataV1Beta2 :: OperationMetadataV1Beta2 Source #
Creates a value of OperationMetadataV1Beta2
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
omvbVersionId :: Lens' OperationMetadataV1Beta2 (Maybe Int64) Source #
Version id of the function created or updated by an API call. This field is only populated for Create and Update operations.
omvbUpdateTime :: Lens' OperationMetadataV1Beta2 (Maybe UTCTime) Source #
The last update timestamp of the operation.
omvbType :: Lens' OperationMetadataV1Beta2 (Maybe OperationMetadataV1Beta2Type) Source #
Type of operation.
omvbTarget :: Lens' OperationMetadataV1Beta2 (Maybe Text) Source #
Target of the operation - for example projects/project-1/locations/region-1/functions/function-1
omvbRequest :: Lens' OperationMetadataV1Beta2 (Maybe OperationMetadataV1Beta2Request) Source #
The original request that started the operation.
Expr
Represents an expression text. Example: title: "User account presence" description: "Determines whether the request has a user account" expression: "size(request.user) > 0"
See: expr
smart constructor.
Instances
Eq Expr Source # | |
Data Expr Source # | |
Defined in Network.Google.CloudFunctions.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Expr -> c Expr # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Expr # dataTypeOf :: Expr -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Expr) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Expr) # gmapT :: (forall b. Data b => b -> b) -> Expr -> Expr # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Expr -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Expr -> r # gmapQ :: (forall d. Data d => d -> u) -> Expr -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Expr -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Expr -> m Expr # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Expr -> m Expr # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Expr -> m Expr # | |
Show Expr Source # | |
Generic Expr Source # | |
ToJSON Expr Source # | |
Defined in Network.Google.CloudFunctions.Types.Product | |
FromJSON Expr Source # | |
type Rep Expr Source # | |
Defined in Network.Google.CloudFunctions.Types.Product type Rep Expr = D1 (MetaData "Expr" "Network.Google.CloudFunctions.Types.Product" "gogol-cloudfunctions-0.4.0-6sCZoOCvrpODwDOeEfObaJ" False) (C1 (MetaCons "Expr'" PrefixI True) ((S1 (MetaSel (Just "_eLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_eExpression") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_eTitle") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_eDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) |
Creates a value of Expr
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
eLocation :: Lens' Expr (Maybe Text) Source #
An optional string indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
eExpression :: Lens' Expr (Maybe Text) Source #
Textual representation of an expression in Common Expression Language syntax. The application context of the containing message determines which well-known feature set of CEL is supported.
eTitle :: Lens' Expr (Maybe Text) Source #
An optional title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
eDescription :: Lens' Expr (Maybe Text) Source #
An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
ListLocationsResponse
data ListLocationsResponse Source #
The response message for Locations.ListLocations.
See: listLocationsResponse
smart constructor.
Instances
listLocationsResponse :: ListLocationsResponse Source #
Creates a value of ListLocationsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
llrNextPageToken :: Lens' ListLocationsResponse (Maybe Text) Source #
The standard List next-page token.
llrLocations :: Lens' ListLocationsResponse [Location] Source #
A list of locations that matches the specified filter in the request.
ListOperationsResponse
data ListOperationsResponse Source #
The response message for Operations.ListOperations.
See: listOperationsResponse
smart constructor.
Instances
listOperationsResponse :: ListOperationsResponse Source #
Creates a value of ListOperationsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lorNextPageToken :: Lens' ListOperationsResponse (Maybe Text) Source #
The standard List next-page token.
lorOperations :: Lens' ListOperationsResponse [Operation] Source #
A list of operations that matches the specified filter in the request.
GenerateUploadURLRequest
data GenerateUploadURLRequest Source #
Request of `GenerateSourceUploadUrl` method.
See: generateUploadURLRequest
smart constructor.
Instances
generateUploadURLRequest :: GenerateUploadURLRequest Source #
Creates a value of GenerateUploadURLRequest
with the minimum fields required to make a request.
Location
A resource that represents Google Cloud Platform location.
See: location
smart constructor.
Instances
Creates a value of Location
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lName :: Lens' Location (Maybe Text) Source #
Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"`
lMetadata :: Lens' Location (Maybe LocationMetadata) Source #
Service-specific metadata. For example the available capacity at the given location.
lDisplayName :: Lens' Location (Maybe Text) Source #
The friendly name for this location, typically a nearby city name. For example, "Tokyo".
lLabels :: Lens' Location (Maybe LocationLabels) Source #
Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"}
lLocationId :: Lens' Location (Maybe Text) Source #
The canonical id for this location. For example: `"us-east1"`.
Operation
This resource represents a long-running operation that is the result of a network API call.
See: operation
smart constructor.
Instances
oDone :: Lens' Operation (Maybe Bool) Source #
If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
oError :: Lens' Operation (Maybe Status) Source #
The error result of the operation in case of failure or cancellation.
oResponse :: Lens' Operation (Maybe OperationResponse) Source #
The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
oName :: Lens' Operation (Maybe Text) Source #
The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should have the format of `operations/some/unique/name`.
oMetadata :: Lens' Operation (Maybe OperationMetadata) Source #
Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
GenerateDownloadURLRequest
data GenerateDownloadURLRequest Source #
Request of `GenerateDownloadUrl` method.
See: generateDownloadURLRequest
smart constructor.
Instances
generateDownloadURLRequest :: GenerateDownloadURLRequest Source #
Creates a value of GenerateDownloadURLRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gdurVersionId :: Lens' GenerateDownloadURLRequest (Maybe Word64) Source #
The optional version of function. If not set, default, current version is used.
Retry
Describes the retry policy in case of function's execution failure. A function execution will be retried on any failure. A failed execution will be retried up to 7 days with an exponential backoff (capped at 10 seconds). Retried execution is charged as any other execution.
See: retry
smart constructor.
Instances
Eq Retry Source # | |
Data Retry Source # | |
Defined in Network.Google.CloudFunctions.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Retry -> c Retry # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Retry # dataTypeOf :: Retry -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Retry) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Retry) # gmapT :: (forall b. Data b => b -> b) -> Retry -> Retry # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Retry -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Retry -> r # gmapQ :: (forall d. Data d => d -> u) -> Retry -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Retry -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Retry -> m Retry # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Retry -> m Retry # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Retry -> m Retry # | |
Show Retry Source # | |
Generic Retry Source # | |
ToJSON Retry Source # | |
Defined in Network.Google.CloudFunctions.Types.Product | |
FromJSON Retry Source # | |
type Rep Retry Source # | |
GenerateUploadURLResponse
data GenerateUploadURLResponse Source #
Response of `GenerateSourceUploadUrl` method.
See: generateUploadURLResponse
smart constructor.
Instances
generateUploadURLResponse :: GenerateUploadURLResponse Source #
Creates a value of GenerateUploadURLResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
guurUploadURL :: Lens' GenerateUploadURLResponse (Maybe Text) Source #
The generated Google Cloud Storage signed URL that should be used for a function source code upload. The uploaded file should be a zip archive which contains a function.
FailurePolicy
data FailurePolicy Source #
Describes the policy in case of function's execution failure. If empty, then defaults to ignoring failures (i.e. not retrying them).
See: failurePolicy
smart constructor.
Instances
failurePolicy :: FailurePolicy Source #
Creates a value of FailurePolicy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
fpRetry :: Lens' FailurePolicy (Maybe Retry) Source #
If specified, then the function will be retried in case of a failure.
CallFunctionResponse
data CallFunctionResponse Source #
Response of `CallFunction` method.
See: callFunctionResponse
smart constructor.
Instances
callFunctionResponse :: CallFunctionResponse Source #
Creates a value of CallFunctionResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cfrExecutionId :: Lens' CallFunctionResponse (Maybe Text) Source #
Execution id of function invocation.
cfrError :: Lens' CallFunctionResponse (Maybe Text) Source #
Either system or user-function generated error. Set if execution was not successful.
cfrResult :: Lens' CallFunctionResponse (Maybe Text) Source #
Result populated for successful execution of synchronous function. Will not be populated if function does not return a result through context.
HTTPSTrigger
data HTTPSTrigger Source #
Describes HttpsTrigger, could be used to connect web hooks to function.
See: httpsTrigger
smart constructor.
Instances
httpsTrigger :: HTTPSTrigger Source #
Creates a value of HTTPSTrigger
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
StatusDetailsItem
data StatusDetailsItem Source #
Instances
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.
CloudFunctionEnvironmentVariables
data CloudFunctionEnvironmentVariables Source #
Environment variables that shall be available during function execution.
See: cloudFunctionEnvironmentVariables
smart constructor.
Instances
cloudFunctionEnvironmentVariables Source #
Creates a value of CloudFunctionEnvironmentVariables
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
OperationMetadataV1Request
data OperationMetadataV1Request Source #
The original request that started the operation.
See: operationMetadataV1Request
smart constructor.
Instances
operationMetadataV1Request Source #
Creates a value of OperationMetadataV1Request
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
omvrAddtional :: Lens' OperationMetadataV1Request (HashMap Text JSONValue) Source #
Properties of the object. Contains field 'type with type URL.
SetIAMPolicyRequest
data SetIAMPolicyRequest Source #
Request message for `SetIamPolicy` method.
See: setIAMPolicyRequest
smart constructor.
Instances
setIAMPolicyRequest :: SetIAMPolicyRequest Source #
Creates a value of SetIAMPolicyRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
siprUpdateMask :: Lens' SetIAMPolicyRequest (Maybe GFieldMask) Source #
OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: paths: "bindings, etag" This field is only used by Cloud IAM.
siprPolicy :: Lens' SetIAMPolicyRequest (Maybe Policy) Source #
REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud Platform services (such as Projects) might reject them.
EventTrigger
data EventTrigger Source #
Describes EventTrigger, used to request events be sent from another service.
See: eventTrigger
smart constructor.
Instances
eventTrigger :: EventTrigger Source #
Creates a value of EventTrigger
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
etService :: Lens' EventTrigger (Maybe Text) Source #
The hostname of the service that should be observed. If no string is provided, the default service implementing the API will be used. For example, `storage.googleapis.com` is the default for all event types in the `google.storage` namespace.
etFailurePolicy :: Lens' EventTrigger (Maybe FailurePolicy) Source #
Specifies policy for failed executions.
etEventType :: Lens' EventTrigger (Maybe Text) Source #
Required. The type of event to observe. For example: `providers/cloud.storage/eventTypes/object.change` and `providers/cloud.pubsub/eventTypes/topic.publish`. Event types match pattern `providers/*/eventTypes/*.*`. The pattern contains: 1. namespace: For example, `cloud.storage` and `google.firebase.analytics`. 2. resource type: The type of resource on which event occurs. For example, the Google Cloud Storage API includes the type `object`. 3. action: The action that generates the event. For example, action for a Google Cloud Storage Object is 'change'. These parts are lower case.
etResource :: Lens' EventTrigger (Maybe Text) Source #
Required. The resource(s) from which to observe events, for example, `projects/_/buckets/myBucket`. Not all syntactically correct values are accepted by all services. For example: 1. The authorization model must support it. Google Cloud Functions only allows EventTriggers to be deployed that observe resources in the same project as the `CloudFunction`. 2. The resource type must match the pattern expected for an `event_type`. For example, an `EventTrigger` that has an `event_type` of "google.pubsub.topic.publish" should have a resource that matches Google Cloud Pub/Sub topics. Additionally, some services may support short names when creating an `EventTrigger`. These will always be returned in the normalized "long" format. See each *service's* documentation for supported formats.
SourceRepository
data SourceRepository Source #
Describes SourceRepository, used to represent parameters related to source repository where a function is hosted.
See: sourceRepository
smart constructor.
Instances
sourceRepository :: SourceRepository Source #
Creates a value of SourceRepository
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
srURL :: Lens' SourceRepository (Maybe Text) Source #
The URL pointing to the hosted repository where the function is defined. There are supported Cloud Source Repository URLs in the following formats: To refer to a specific commit: `https://source.developers.google.com/projects/*/repos/*/revisions/*/paths/*` To refer to a moveable alias (branch): `https://source.developers.google.com/projects/*/repos/*/moveable-aliases/*/paths/*` In particular, to refer to HEAD use `master` moveable alias. To refer to a specific fixed alias (tag): `https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/*` You may omit `paths/*` if you want to use the main directory.
srDeployedURL :: Lens' SourceRepository (Maybe Text) Source #
Output only. The URL pointing to the hosted repository where the function were defined at the time of deployment. It always points to a specific commit in the format described above.
OperationMetadataV1
data OperationMetadataV1 Source #
Metadata describing an Operation
See: operationMetadataV1
smart constructor.
Instances
operationMetadataV1 :: OperationMetadataV1 Source #
Creates a value of OperationMetadataV1
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
omvVersionId :: Lens' OperationMetadataV1 (Maybe Int64) Source #
Version id of the function created or updated by an API call. This field is only populated for Create and Update operations.
omvUpdateTime :: Lens' OperationMetadataV1 (Maybe UTCTime) Source #
The last update timestamp of the operation.
omvType :: Lens' OperationMetadataV1 (Maybe OperationMetadataV1Type) Source #
Type of operation.
omvTarget :: Lens' OperationMetadataV1 (Maybe Text) Source #
Target of the operation - for example projects/project-1/locations/region-1/functions/function-1
omvRequest :: Lens' OperationMetadataV1 (Maybe OperationMetadataV1Request) Source #
The original request that started the operation.
CloudFunctionStatus
data CloudFunctionStatus Source #
Output only. Status of the function deployment.
CloudFunctionStatusUnspecified |
|
Active |
|
Offline |
|
DeployInProgress |
|
DeleteInProgress |
|
Unknown |
|
Instances
OperationMetadataV1Beta2Type
data OperationMetadataV1Beta2Type Source #
Type of operation.
OMVBTOperationUnspecified |
|
OMVBTCreateFunction |
|
OMVBTUpdateFunction |
|
OMVBTDeleteFunction |
|
Instances
GenerateDownloadURLResponse
data GenerateDownloadURLResponse Source #
Response of `GenerateDownloadUrl` method.
See: generateDownloadURLResponse
smart constructor.
Instances
generateDownloadURLResponse :: GenerateDownloadURLResponse Source #
Creates a value of GenerateDownloadURLResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gdurDownloadURL :: Lens' GenerateDownloadURLResponse (Maybe Text) Source #
The generated Google Cloud Storage signed URL that should be used for function source code download.
AuditLogConfigLogType
data AuditLogConfigLogType Source #
The log type that this config enables.
LogTypeUnspecified |
|
AdminRead |
|
DataWrite |
|
DataRead |
|
Instances
Xgafv
V1 error format.
Instances
TestIAMPermissionsRequest
data TestIAMPermissionsRequest Source #
Request message for `TestIamPermissions` method.
See: testIAMPermissionsRequest
smart constructor.
Instances
testIAMPermissionsRequest :: TestIAMPermissionsRequest Source #
Creates a value of TestIAMPermissionsRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tiprPermissions :: Lens' TestIAMPermissionsRequest [Text] Source #
The set of permissions to check for the `resource`. Permissions with wildcards (such as '*' or 'storage.*') are not allowed. For more information see IAM Overview.
TestIAMPermissionsResponse
data TestIAMPermissionsResponse Source #
Response message for `TestIamPermissions` method.
See: testIAMPermissionsResponse
smart constructor.
Instances
testIAMPermissionsResponse :: TestIAMPermissionsResponse Source #
Creates a value of TestIAMPermissionsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tiamprPermissions :: Lens' TestIAMPermissionsResponse [Text] Source #
A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
Policy
Defines an Identity and Access Management (IAM) policy. It is used to specify access control policies for Cloud Platform resources. A `Policy` consists of a list of `bindings`. A `binding` binds a list of `members` to a `role`, where the members can be user accounts, Google groups, Google domains, and service accounts. A `role` is a named list of permissions defined by IAM. **JSON Example** { "bindings": [ { "role": "roles/owner", "members": [ "user:mike'example.com", "group:admins'example.com", "domain:google.com", "serviceAccount:my-other-app'appspot.gserviceaccount.com" ] }, { "role": "roles/viewer", "members": ["user:sean'example.com"] } ] } **YAML Example** bindings: - members: - user:mike'example.com - group:admins'example.com - domain:google.com - serviceAccount:my-other-app'appspot.gserviceaccount.com role: roles/owner - members: - user:sean'example.com role: roles/viewer For a description of IAM and its features, see the IAM developer's guide.
See: policy
smart constructor.
Instances
Eq Policy Source # | |
Data Policy Source # | |
Defined in Network.Google.CloudFunctions.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Policy -> c Policy # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Policy # toConstr :: Policy -> Constr # dataTypeOf :: Policy -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Policy) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Policy) # gmapT :: (forall b. Data b => b -> b) -> Policy -> Policy # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Policy -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Policy -> r # gmapQ :: (forall d. Data d => d -> u) -> Policy -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Policy -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Policy -> m Policy # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Policy -> m Policy # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Policy -> m Policy # | |
Show Policy Source # | |
Generic Policy Source # | |
ToJSON Policy Source # | |
Defined in Network.Google.CloudFunctions.Types.Product | |
FromJSON Policy Source # | |
type Rep Policy Source # | |
Defined in Network.Google.CloudFunctions.Types.Product type Rep Policy = D1 (MetaData "Policy" "Network.Google.CloudFunctions.Types.Product" "gogol-cloudfunctions-0.4.0-6sCZoOCvrpODwDOeEfObaJ" False) (C1 (MetaCons "Policy'" PrefixI True) ((S1 (MetaSel (Just "_pAuditConfigs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [AuditConfig])) :*: S1 (MetaSel (Just "_pEtag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bytes))) :*: (S1 (MetaSel (Just "_pVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_pBindings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Binding]))))) |
Creates a value of Policy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pAuditConfigs :: Lens' Policy [AuditConfig] Source #
Specifies cloud audit logging configuration for this policy.
pEtag :: Lens' Policy (Maybe ByteString) Source #
`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. If no `etag` is provided in the call to `setIamPolicy`, then the existing policy is overwritten blindly.
pBindings :: Lens' Policy [Binding] Source #
Associates a list of `members` to a `role`. `bindings` with no members will result in an error.
LocationLabels
data LocationLabels Source #
Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"}
See: locationLabels
smart constructor.
Instances
Creates a value of LocationLabels
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ListFunctionsResponse
data ListFunctionsResponse Source #
Response for the `ListFunctions` method.
See: listFunctionsResponse
smart constructor.
Instances
listFunctionsResponse :: ListFunctionsResponse Source #
Creates a value of ListFunctionsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lfrNextPageToken :: Lens' ListFunctionsResponse (Maybe Text) Source #
If not empty, indicates that there may be more functions that match the request; this value should be passed in a new google.cloud.functions.v1.ListFunctionsRequest to get more functions.
lfrFunctions :: Lens' ListFunctionsResponse [CloudFunction] Source #
The functions that match the request.
LocationMetadata
data LocationMetadata Source #
Service-specific metadata. For example the available capacity at the given location.
See: locationMetadata
smart constructor.
Instances
Creates a value of LocationMetadata
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lmAddtional :: Lens' LocationMetadata (HashMap Text JSONValue) Source #
Properties of the object. Contains field 'type with type URL.
OperationMetadata
data OperationMetadata Source #
Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
See: operationMetadata
smart constructor.
Instances
Creates a value of OperationMetadata
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
omAddtional :: Lens' OperationMetadata (HashMap Text JSONValue) Source #
Properties of the object. Contains field 'type with type URL.
AuditLogConfig
data AuditLogConfig Source #
Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:foo'gmail.com" ] }, { "log_type": "DATA_WRITE", } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting foo'gmail.com from DATA_READ logging.
See: auditLogConfig
smart constructor.
Instances
auditLogConfig :: AuditLogConfig Source #
Creates a value of AuditLogConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
alcLogType :: Lens' AuditLogConfig (Maybe AuditLogConfigLogType) Source #
The log type that this config enables.
alcExemptedMembers :: Lens' AuditLogConfig [Text] Source #
Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.
CloudFunction
data CloudFunction Source #
Describes a Cloud Function that contains user computation executed in response to an event. It encapsulate function and triggers configurations. LINT.IfChange
See: cloudFunction
smart constructor.
Instances
cloudFunction :: CloudFunction Source #
Creates a value of CloudFunction
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cfRuntime :: Lens' CloudFunction (Maybe Text) Source #
The runtime in which the function is going to run. If empty, defaults to Node.js 6.
cfStatus :: Lens' CloudFunction (Maybe CloudFunctionStatus) Source #
Output only. Status of the function deployment.
cfSourceArchiveURL :: Lens' CloudFunction (Maybe Text) Source #
The Google Cloud Storage URL, starting with gs://, pointing to the zip archive which contains the function.
cfVersionId :: Lens' CloudFunction (Maybe Int64) Source #
Output only. The version identifier of the Cloud Function. Each deployment attempt results in a new version of a function being created.
cfSourceUploadURL :: Lens' CloudFunction (Maybe Text) Source #
The Google Cloud Storage signed URL used for source uploading, generated by google.cloud.functions.v1.GenerateUploadUrl
cfEntryPoint :: Lens' CloudFunction (Maybe Text) Source #
The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function". For Node.js this is name of a function exported by the module specified in `source_location`.
cfHTTPSTrigger :: Lens' CloudFunction (Maybe HTTPSTrigger) Source #
An HTTPS endpoint type of source that can be triggered via URL.
cfNetwork :: Lens' CloudFunction (Maybe Text) Source #
The VPC Network that this cloud function can connect to. It can be either the fully-qualified URI, or the short name of the network resource. If the short network name is used, the network must belong to the same project. Otherwise, it must belong to a project within the same organization. The format of this field is either `projects/{project}/global/networks/{network}` or `{network}`, where {project} is a project id where the network is defined, and {network} is the short name of the network. This field is mutually exclusive with `vpc_connector` and will be replaced by it. See the VPC documentation for more information on connecting Cloud projects. This feature is currently in alpha, available only for whitelisted users.
cfMaxInstances :: Lens' CloudFunction (Maybe Int32) Source #
The limit on the maximum number of function instances that may coexist at a given time. This feature is currently in alpha, available only for whitelisted users.
cfEventTrigger :: Lens' CloudFunction (Maybe EventTrigger) Source #
A source that fires events in response to a condition in another service.
cfUpdateTime :: Lens' CloudFunction (Maybe UTCTime) Source #
Output only. The last update timestamp of a Cloud Function.
cfName :: Lens' CloudFunction (Maybe Text) Source #
A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*`
cfSourceRepository :: Lens' CloudFunction (Maybe SourceRepository) Source #
- *Beta Feature** The source repository where a function is hosted.
cfAvailableMemoryMb :: Lens' CloudFunction (Maybe Int32) Source #
The amount of memory in MB available for a function. Defaults to 256MB.
cfLabels :: Lens' CloudFunction (Maybe CloudFunctionLabels) Source #
Labels associated with this Cloud Function.
cfServiceAccountEmail :: Lens' CloudFunction (Maybe Text) Source #
Output only. The email of the function's service account.
cfEnvironmentVariables :: Lens' CloudFunction (Maybe CloudFunctionEnvironmentVariables) Source #
Environment variables that shall be available during function execution.
cfTimeout :: Lens' CloudFunction (Maybe Scientific) Source #
The function execution timeout. Execution is considered failed and can be terminated if the function is not completed at the end of the timeout period. Defaults to 60 seconds.
cfVPCConnector :: Lens' CloudFunction (Maybe Text) Source #
The VPC Network Connector that this cloud function can connect to. It can be either the fully-qualified URI, or the short name of the network connector resource. The format of this field is `projects/*/locations/*/connectors/*` This field is mutually exclusive with `network` field and will eventually replace it. See the VPC documentation for more information on connecting Cloud projects. This feature is currently in alpha, available only for whitelisted users.
cfDescription :: Lens' CloudFunction (Maybe Text) Source #
User-provided description of a function.
OperationMetadataV1Beta2Request
data OperationMetadataV1Beta2Request Source #
The original request that started the operation.
See: operationMetadataV1Beta2Request
smart constructor.
Instances
operationMetadataV1Beta2Request Source #
Creates a value of OperationMetadataV1Beta2Request
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
omvbrAddtional :: Lens' OperationMetadataV1Beta2Request (HashMap Text JSONValue) Source #
Properties of the object. Contains field 'type with type URL.
CloudFunctionLabels
data CloudFunctionLabels Source #
Labels associated with this Cloud Function.
See: cloudFunctionLabels
smart constructor.
Instances
Creates a value of CloudFunctionLabels
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
OperationResponse
data OperationResponse Source #
The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
See: operationResponse
smart constructor.
Instances
Creates a value of OperationResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
orAddtional :: Lens' OperationResponse (HashMap Text JSONValue) Source #
Properties of the object. Contains field 'type with type URL.
CallFunctionRequest
data CallFunctionRequest Source #
Request for the `CallFunction` method.
See: callFunctionRequest
smart constructor.
Instances
callFunctionRequest :: CallFunctionRequest Source #
Creates a value of CallFunctionRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Binding
Associates `members` with a `role`.
See: binding
smart constructor.
Instances
Eq Binding Source # | |
Data Binding Source # | |
Defined in Network.Google.CloudFunctions.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Binding -> c Binding # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Binding # toConstr :: Binding -> Constr # dataTypeOf :: Binding -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Binding) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Binding) # gmapT :: (forall b. Data b => b -> b) -> Binding -> Binding # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Binding -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Binding -> r # gmapQ :: (forall d. Data d => d -> u) -> Binding -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Binding -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Binding -> m Binding # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Binding -> m Binding # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Binding -> m Binding # | |
Show Binding Source # | |
Generic Binding Source # | |
ToJSON Binding Source # | |
Defined in Network.Google.CloudFunctions.Types.Product | |
FromJSON Binding Source # | |
type Rep Binding Source # | |
Defined in Network.Google.CloudFunctions.Types.Product type Rep Binding = D1 (MetaData "Binding" "Network.Google.CloudFunctions.Types.Product" "gogol-cloudfunctions-0.4.0-6sCZoOCvrpODwDOeEfObaJ" False) (C1 (MetaCons "Binding'" PrefixI True) (S1 (MetaSel (Just "_bMembers") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 (MetaSel (Just "_bRole") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_bCondition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Expr))))) |
Creates a value of Binding
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
bMembers :: Lens' Binding [Text] Source #
Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice'gmail.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app'appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins'example.com`. * `domain:{domain}`: A Google Apps domain name that represents all the users of that domain. For example, `google.com` or `example.com`.