Package types (1.15.0)

API documentation for functions_v2.types package.

Classes

BuildConfig

Describes the Build step of the function that builds a container from the given source.

CreateFunctionRequest

Request for the CreateFunction method.

DeleteFunctionRequest

Request for the DeleteFunction method.

Environment

The environment the function is hosted on.

Values: ENVIRONMENT_UNSPECIFIED (0): Unspecified GEN_1 (1): Gen 1 GEN_2 (2): Gen 2

EventFilter

Filters events based on exact matches on the CloudEvents attributes.

EventTrigger

Describes EventTrigger, used to request events to be sent from another service.

Function

Describes a Cloud Function that contains user computation executed in response to an event. It encapsulates function and trigger configurations.

GenerateDownloadUrlRequest

Request of GenerateDownloadUrl method.

GenerateDownloadUrlResponse

Response of GenerateDownloadUrl method.

GenerateUploadUrlRequest

Request of GenerateSourceUploadUrl method.

GenerateUploadUrlResponse

Response of GenerateSourceUploadUrl method.

GetFunctionRequest

Request for the GetFunction method.

ListFunctionsRequest

Request for the ListFunctions method.

ListFunctionsResponse

Response for the ListFunctions method.

ListRuntimesRequest

Request for the ListRuntimes method.

ListRuntimesResponse

Response for the ListRuntimes method.

LocationMetadata

Extra GCF specific location information.

OperationMetadata

Represents the metadata of the long-running operation.

RepoSource

Location of the source in a Google Cloud Source Repository.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

SecretEnvVar

Configuration for a secret environment variable. It has the information necessary to fetch the secret value from secret manager and expose it as an environment variable.

SecretVolume

Configuration for a secret volume. It has the information necessary to fetch the secret value from secret manager and make it available as files mounted at the requested paths within the application container.

ServiceConfig

Describes the Service being deployed. Currently Supported : Cloud Run (fully managed).

Source

The location of the function source code.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

SourceProvenance

Provenance of the source. Ways to find the original source, or verify that some source was used for this build.

Stage

Each Stage of the deployment process

StateMessage

Informational messages about the state of the Cloud Function or Operation.

StorageSource

Location of the source in an archive file in Google Cloud Storage.

UpdateFunctionRequest

Request for the UpdateFunction method.