Class SubmitBuildRequest (0.10.12)

SubmitBuildRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for submitting a Build.

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

Attributes

Name Description
parent str
Required. The project and location to build in. Location must be a region, e.g., 'us-central1' or 'global' if the global builder is to be used. Format: projects/{project}/locations/{location}
storage_source google.cloud.run_v2.types.StorageSource
Required. Source for the build. This field is a member of oneof_ source.
image_uri str
Required. Artifact Registry URI to store the built image.
buildpack_build google.cloud.run_v2.types.SubmitBuildRequest.BuildpacksBuild
Build the source using Buildpacks. This field is a member of oneof_ build_type.
docker_build google.cloud.run_v2.types.SubmitBuildRequest.DockerBuild
Build the source using Docker. This means the source has a Dockerfile. This field is a member of oneof_ build_type.
service_account str
Optional. The service account to use for the build. If not set, the default Cloud Build service account for the project will be used.
worker_pool str
Optional. Name of the Cloud Build Custom Worker Pool that should be used to build the function. The format of this field is projects/{project}/locations/{region}/workerPools/{workerPool} where {project} and {region} are the project id and region respectively where the worker pool is defined and {workerPool} is the short name of the worker pool.
tags MutableSequence[str]
Optional. Additional tags to annotate the build.

Classes

BuildpacksBuild

BuildpacksBuild(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Build the source using Buildpacks.

DockerBuild

DockerBuild(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Build the source using Docker. This means the source has a Dockerfile.