cloudfunctions/v1 library

Cloud Functions API - v1

Manages lightweight user-provided functions executed in response to events.

For more information, see cloud.google.com/functions

Create an instance of CloudFunctionsApi to access these resources:

Classes

AuditConfig
Specifies the audit configuration for a service.
Binding
Associates members, or principals, with a role.
CallFunctionRequest
Request for the CallFunction method.
CallFunctionResponse
Response of CallFunction method.
CloudFunction
Describes a Cloud Function that contains user computation executed in response to an event.
CloudFunctionsApi
Manages lightweight user-provided functions executed in response to events.
EventTrigger
Describes EventTrigger, used to request events be sent from another service.
FailurePolicy
Describes the policy in case of function's execution failure.
GenerateDownloadUrlRequest
Request of GenerateDownloadUrl method.
GenerateUploadUrlRequest
Request of GenerateSourceUploadUrl method.
GenerateUploadUrlResponse
Response of GenerateSourceUploadUrl method.
HttpsTrigger
Describes HttpsTrigger, could be used to connect web hooks to function.
ListFunctionsResponse
Response for the ListFunctions method.
ListLocationsResponse
The response message for Locations.ListLocations.
ListOperationsResponse
The response message for Operations.ListOperations.
Operation
This resource represents a long-running operation that is the result of a network API call.
OperationsResource
Policy
An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources.
ProjectsLocationsFunctionsResource
ProjectsLocationsResource
ProjectsResource
SecretEnvVar
Configuration for a secret environment variable.
SecretVersion
Configuration for a single version.
SecretVolume
Configuration for a secret volume.
SetIamPolicyRequest
Request message for SetIamPolicy method.
SourceRepository
Describes SourceRepository, used to represent parameters related to source repository where a function is hosted.

Typedefs

AuditLogConfig = $AuditLogConfig
Provides the configuration for logging a type of permissions.
AutomaticUpdatePolicy = $Empty
Security patches are applied automatically to the runtime without requiring the function to be redeployed.
Expr = $Expr
Represents a textual expression in the Common Expression Language (CEL) syntax.
GenerateDownloadUrlResponse = $GenerateDownloadUrlResponse
Response of GenerateDownloadUrl method.
Location = $Location00
A resource that represents a Google Cloud location.
OnDeployUpdatePolicy = $OnDeployUpdatePolicy
Security patches are only applied when a function is redeployed.
Retry = $Empty
Describes the retry policy in case of function's execution failure.
Status = $Status
The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs.
TestIamPermissionsRequest = $TestIamPermissionsRequest00
Request message for TestIamPermissions method.
TestIamPermissionsResponse = $PermissionsResponse
Response message for TestIamPermissions method.

Exceptions / Errors

ApiRequestError
Represents a general error reported by the API endpoint.
DetailedApiRequestError
Represents a specific error reported by the API endpoint.