Package types (0.8.1) 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.
.. _oneof:https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
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 may 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.
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.
EncryptionKeyRevocationAction
Specifies behavior if an encryption key used by a resource isrevoked.
Values: ENCRYPTION_KEY_REVOCATION_ACTION_UNSPECIFIED (0): Unspecified PREVENT_NEW (1): Prevents the creation of new instances. SHUTDOWN (2): Shuts down existing instances, and prevents creation of new ones.
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.
Values: EXECUTION_ENVIRONMENT_UNSPECIFIED (0): Unspecified EXECUTION_ENVIRONMENT_GEN1 (1): Uses the First Generation environment. EXECUTION_ENVIRONMENT_GEN2 (2): Uses Second Generation environment.
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.
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.
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.
Values: INGRESS_TRAFFIC_UNSPECIFIED (0): Unspecified INGRESS_TRAFFIC_ALL (1): All inbound traffic is allowed. INGRESS_TRAFFIC_INTERNAL_ONLY (2): Only internal traffic is allowed. INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER (3): Both internal and Google Cloud Load Balancer traffic is allowed.
Job
Job represents the configuration of a single job, whichreferences a container image that is run to completion.
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.
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.
RevisionScaling
Settings for revision-level scaling settings.
RevisionTemplate
RevisionTemplate describes the data a revision should havewhen created from a template.
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.
TCPSocketAction
TCPSocketAction describes an action based on opening a socket
Task
Task represents a single run of a container to completion.
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.
Values: TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIED (0): Unspecified instance allocation type. TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST (1): Allocates instances to the Service's latest ready Revision. TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION (2): Allocates instances to a Revision by name.
TrafficTargetStatus
Represents the observed state of a singleTrafficTarget entry.
UpdateJobRequest
Request message for updating a Job.
UpdateServiceRequest
Request message for updating a service.
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 creating a VPCConnector, visithttps://cloud.google.com/vpc/docs/configure-serverless-vpc-accessFor information on how to configure Cloud Run with an existingVPC Connector, visithttps://cloud.google.com/run/docs/configuring/connecting-vpc
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.