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 arole
. - 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. - GenerateDownloadUrlResponse
-
Response 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.
- Expr = $Expr
- Represents a textual expression in the Common Expression Language (CEL) syntax.
- Location = $Location
- A resource that represents a Google Cloud location.
- 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 = $TestIamPermissionsRequest
-
Request message for
TestIamPermissions
method. - TestIamPermissionsResponse = $TestIamPermissionsResponse
-
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.