Package types (0.14.0) Stay organized with collections Save and categorize content based on your preferences.
API documentation forrun_v2.types package.
Classes
BinaryAuthorization
Settings for Binary Authorization feature.
This message hasoneof_ 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 othermembers.
.. _oneof:https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
BuildConfig
Describes the Build step of the function that builds acontainer from the given source.
BuildInfo
Build information of the image.
CancelExecutionRequest
Request message for deleting an Execution.
CloudSqlInstance
Represents a set of Cloud SQL instances. Each one will be availableunder /cloudsql/[instance]. Visithttps://cloud.google.com/sql/docs/mysql/connect-run for moreinformation on how to connect Cloud SQL and Cloud Run.
Condition
Defines a status condition for a resource.
This message hasoneof_ 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 othermembers.
.. _oneof:https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Container
A single application container.This specifies both the container to run, the command to run inthe container and the arguments to supply to it.Note that additional arguments can be supplied by the system tothe container at runtime.
ContainerPort
ContainerPort represents a network port in a singlecontainer.
CreateJobRequest
Request message for creating a Job.
CreateServiceRequest
Request message for creating a Service.
CreateWorkerPoolRequest
Request message for creating a WorkerPool.
DeleteExecutionRequest
Request message for deleting an Execution.
DeleteJobRequest
Request message to delete a Job by its full name.
DeleteRevisionRequest
Request message for deleting a retired Revision.Revision lifecycle is usually managed by making changes to theparent Service. Only retired revisions can be deleted with thisAPI.
DeleteServiceRequest
Request message to delete a Service by its full name.
DeleteWorkerPoolRequest
Request message to delete a WorkerPool by its full name.
EmptyDirVolumeSource
In memory (tmpfs) ephemeral storage.It is ephemeral in the sense that when the sandbox is takendown, the data is destroyed with it (it does not persist acrosssandbox runs).
EncryptionKeyRevocationAction
Specifies behavior if an encryption key used by a resource isrevoked.
EnvVar
EnvVar represents an environment variable present in aContainer.
This message hasoneof_ 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 othermembers.
.. _oneof:https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
EnvVarSource
EnvVarSource represents a source for the value of an EnvVar.
Execution
Execution represents the configuration of a single execution.A execution an immutable resource that references a containerimage which is run to completion.
ExecutionEnvironment
Alternatives for execution environments.
ExecutionReference
Reference to an Execution. Use /Executions.GetExecution withthe given name to get full execution including the lateststatus.
ExecutionTemplate
ExecutionTemplate describes the data an execution should havewhen created from a template.
GCSVolumeSource
Represents a volume backed by a Cloud Storage bucket usingCloud Storage FUSE.
GRPCAction
GRPCAction describes an action involving a GRPC port.
GetExecutionRequest
Request message for obtaining a Execution by its full name.
GetJobRequest
Request message for obtaining a Job by its full name.
GetRevisionRequest
Request message for obtaining a Revision by its full name.
GetServiceRequest
Request message for obtaining a Service by its full name.
GetTaskRequest
Request message for obtaining a Task by its full name.
GetWorkerPoolRequest
Request message for obtaining a WorkerPool by its full name.
HTTPGetAction
HTTPGetAction describes an action based on HTTP Get requests.
HTTPHeader
HTTPHeader describes a custom header to be used in HTTPprobes
IngressTraffic
Allowed ingress traffic for the Container.
InstanceSplit
Holds a single instance split entry for the Worker.Allocations can be done to a specific Revision name, or pointingto the latest Ready Revision.
InstanceSplitAllocationType
The type of instance split allocation.
InstanceSplitStatus
Represents the observed state of a singleInstanceSplit entry.
Job
Job represents the configuration of a single job, whichreferences a container image that is run to completion.
This message hasoneof_ 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 othermembers.
.. _oneof:https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
ListExecutionsRequest
Request message for retrieving a list of Executions.
ListExecutionsResponse
Response message containing a list of Executions.
ListJobsRequest
Request message for retrieving a list of Jobs.
ListJobsResponse
Response message containing a list of Jobs.
ListRevisionsRequest
Request message for retrieving a list of Revisions.
ListRevisionsResponse
Response message containing a list of Revisions.
ListServicesRequest
Request message for retrieving a list of Services.
ListServicesResponse
Response message containing a list of Services.
ListTasksRequest
Request message for retrieving a list of Tasks.
ListTasksResponse
Response message containing a list of Tasks.
ListWorkerPoolsRequest
Request message for retrieving a list of WorkerPools.
ListWorkerPoolsResponse
Response message containing a list of WorkerPools.
NFSVolumeSource
Represents an NFS mount.
NodeSelector
Hardware constraints configuration.
Probe
Probe describes a health check to be performed against acontainer to determine whether it is alive or ready to receivetraffic.
This message hasoneof_ 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 othermembers.
.. _oneof:https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
ResourceRequirements
ResourceRequirements describes the compute resourcerequirements.
Revision
A Revision is an immutable snapshot of code andconfiguration. A Revision references a container image.Revisions are only created by updates to its parent Service.
.. _oneof:https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
RevisionScaling
Settings for revision-level scaling settings.
RevisionScalingStatus
Effective settings for the current revision
RevisionTemplate
RevisionTemplate describes the data a revision should havewhen created from a template.
.. _oneof:https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
RunJobRequest
Request message to create a new Execution of a Job.
SecretKeySelector
SecretEnvVarSource represents a source for the value of anEnvVar.
SecretVolumeSource
The secret's value will be presented as the content of a filewhose name is defined in the item path. If no items are defined,the name of the file is the secret.
Service
Service acts as a top-level container that manages a set ofconfigurations and revision templates which implement a networkservice. Service exists to provide a singular abstraction whichcan be access controlled, reasoned about, and which encapsulatessoftware lifecycle decisions such as rollout policy and teamresource ownership.
ServiceMesh
Settings for Cloud Service Mesh. For more information seehttps://cloud.google.com/service-mesh/docs/overview.
ServiceScaling
Scaling settings applied at the service level rather thanat the revision level.
.. _oneof:https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
SourceCode
Source type for the container.
.. _oneof:https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
StorageSource
Location of the source in an archive file in Google CloudStorage.
SubmitBuildRequest
Request message for submitting a Build.
This message hasoneof_ 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 othermembers.
.. _oneof:https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
SubmitBuildResponse
Response message for submitting a Build.
TCPSocketAction
TCPSocketAction describes an action based on opening a socket
Task
Task represents a single run of a container to completion.
.. _oneof:https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
TaskAttemptResult
Result of a task attempt.
TaskTemplate
TaskTemplate describes the data a task should have whencreated from a template.
.. _oneof:https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
TrafficTarget
Holds a single traffic routing entry for the Service.Allocations can be done to a specific Revision name, or pointingto the latest Ready Revision.
TrafficTargetAllocationType
The type of instance allocation.
TrafficTargetStatus
Represents the observed state of a singleTrafficTarget entry.
UpdateJobRequest
Request message for updating a Job.
UpdateServiceRequest
Request message for updating a service.
UpdateWorkerPoolRequest
Request message for updating a worker pool.
VersionToPath
VersionToPath maps a specific version of a secret to a relative fileto mount to, relative to VolumeMount's mount_path.
Volume
Volume represents a named volume in a container.
This message hasoneof_ 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 othermembers.
.. _oneof:https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
VolumeMount
VolumeMount describes a mounting of a Volume within acontainer.
VpcAccess
VPC Access settings. For more information on sending trafficto a VPC network, visithttps://cloud.google.com/run/docs/configuring/connecting-vpc.
WorkerPool
WorkerPool acts as a top-level container that manages a setof configurations and revision templates which implement apull-based workload. WorkerPool exists to provide a singularabstraction which can be access controlled, reasoned about, andwhich encapsulates software lifecycle decisions such as rolloutpolicy and team resource ownership.
WorkerPoolRevisionTemplate
WorkerPoolRevisionTemplate describes the data a worker poolrevision should have when created from a template.
.. _oneof:https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
WorkerPoolScaling
Worker pool scaling settings.
.. _oneof:https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-01-22 UTC.