run/v2 library

Cloud Run Admin API - v2

Deploy and manage user provided container images that scale automatically based on incoming requests. The Cloud Run Admin API v1 follows the Knative Serving API specification, while v2 is aligned with Google Cloud AIP-based API standards, as described in https://google.aip.dev/.

For more information, see cloud.google.com/run/

Create an instance of CloudRunApi to access these resources:

Classes

CloudRunApi
Deploy and manage user provided container images that scale automatically based on incoming requests.
GoogleCloudRunV2BinaryAuthorization
Settings for Binary Authorization feature.
GoogleCloudRunV2CancelExecutionRequest
Request message for deleting an Execution.
GoogleCloudRunV2CloudSqlInstance
Represents a set of Cloud SQL instances.
GoogleCloudRunV2Condition
Defines a status condition for a resource.
GoogleCloudRunV2Container
A single application container.
GoogleCloudRunV2ContainerOverride
Per-container override specification.
GoogleCloudRunV2ContainerPort
ContainerPort represents a network port in a single container.
GoogleCloudRunV2EmptyDirVolumeSource
In memory (tmpfs) ephemeral storage.
GoogleCloudRunV2EnvVar
EnvVar represents an environment variable present in a Container.
GoogleCloudRunV2EnvVarSource
EnvVarSource represents a source for the value of an EnvVar.
GoogleCloudRunV2Execution
Execution represents the configuration of a single execution.
GoogleCloudRunV2ExecutionReference
Reference to an Execution.
GoogleCloudRunV2ExecutionTemplate
ExecutionTemplate describes the data an execution should have when created from a template.
GoogleCloudRunV2ExportImageRequest
Request message for exporting Cloud Run image.
GoogleCloudRunV2ExportImageResponse
ExportImageResponse contains an operation Id to track the image export operation.
GoogleCloudRunV2ExportStatusResponse
ExportStatusResponse contains the status of image export operation, with the status of each image export job.
GoogleCloudRunV2GCSVolumeSource
Represents a volume backed by a Cloud Storage bucket using Cloud Storage FUSE.
GoogleCloudRunV2GRPCAction
GRPCAction describes an action involving a GRPC port.
GoogleCloudRunV2HTTPGetAction
HTTPGetAction describes an action based on HTTP Get requests.
GoogleCloudRunV2HTTPHeader
HTTPHeader describes a custom header to be used in HTTP probes
GoogleCloudRunV2ImageExportStatus
The status of an image export job.
GoogleCloudRunV2Job
Job represents the configuration of a single job, which references a container image that is run to completion.
GoogleCloudRunV2ListExecutionsResponse
Response message containing a list of Executions.
GoogleCloudRunV2ListJobsResponse
Response message containing a list of Jobs.
GoogleCloudRunV2ListRevisionsResponse
Response message containing a list of Revisions.
GoogleCloudRunV2ListServicesResponse
Response message containing a list of Services.
GoogleCloudRunV2ListTasksResponse
Response message containing a list of Tasks.
GoogleCloudRunV2Metadata
Metadata represents the JSON encoded generated customer metadata.
GoogleCloudRunV2NetworkInterface
Direct VPC egress settings.
GoogleCloudRunV2NFSVolumeSource
Represents an NFS mount.
GoogleCloudRunV2NodeSelector
Hardware constraints configuration.
GoogleCloudRunV2Overrides
RunJob Overrides that contains Execution fields to be overridden.
GoogleCloudRunV2Probe
Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.
GoogleCloudRunV2ResourceRequirements
ResourceRequirements describes the compute resource requirements.
GoogleCloudRunV2Revision
A Revision is an immutable snapshot of code and configuration.
GoogleCloudRunV2RevisionScaling
Settings for revision-level scaling settings.
GoogleCloudRunV2RevisionScalingStatus
Effective settings for the current revision
GoogleCloudRunV2RevisionTemplate
RevisionTemplate describes the data a revision should have when created from a template.
GoogleCloudRunV2RunJobRequest
Request message to create a new Execution of a Job.
GoogleCloudRunV2SecretKeySelector
SecretEnvVarSource represents a source for the value of an EnvVar.
GoogleCloudRunV2SecretVolumeSource
The secret's value will be presented as the content of a file whose name is defined in the item path.
GoogleCloudRunV2Service
Service acts as a top-level container that manages a set of configurations and revision templates which implement a network service.
GoogleCloudRunV2ServiceScaling
Scaling settings applied at the service level rather than at the revision level.
GoogleCloudRunV2Task
Task represents a single run of a container to completion.
GoogleCloudRunV2TaskAttemptResult
Result of a task attempt.
GoogleCloudRunV2TaskTemplate
TaskTemplate describes the data a task should have when created from a template.
GoogleCloudRunV2TCPSocketAction
TCPSocketAction describes an action based on opening a socket
GoogleCloudRunV2TrafficTarget
Holds a single traffic routing entry for the Service.
GoogleCloudRunV2TrafficTargetStatus
Represents the observed state of a single TrafficTarget entry.
GoogleCloudRunV2VersionToPath
VersionToPath maps a specific version of a secret to a relative file to mount to, relative to VolumeMount's mount_path.
GoogleCloudRunV2Volume
Volume represents a named volume in a container.
GoogleCloudRunV2VolumeMount
VolumeMount describes a mounting of a Volume within a container.
GoogleCloudRunV2VpcAccess
VPC Access settings.
GoogleIamV1AuditConfig
Specifies the audit configuration for a service.
GoogleIamV1Binding
Associates members, or principals, with a role.
GoogleIamV1Policy
An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources.
GoogleIamV1SetIamPolicyRequest
Request message for SetIamPolicy method.
GoogleLongrunningListOperationsResponse
The response message for Operations.ListOperations.
GoogleLongrunningOperation
This resource represents a long-running operation that is the result of a network API call.
ProjectsLocationsJobsExecutionsResource
ProjectsLocationsJobsExecutionsTasksResource
ProjectsLocationsJobsResource
ProjectsLocationsOperationsResource
ProjectsLocationsResource
ProjectsLocationsServicesResource
ProjectsLocationsServicesRevisionsResource
ProjectsResource
UtilStatusProto
Wire-format for a Status object

Typedefs

GoogleIamV1AuditLogConfig = $AuditLogConfig
Provides the configuration for logging a type of permissions.
GoogleIamV1TestIamPermissionsRequest = $TestIamPermissionsRequest00
Request message for TestIamPermissions method.
GoogleIamV1TestIamPermissionsResponse = $PermissionsResponse
Response message for TestIamPermissions method.
GoogleLongrunningWaitOperationRequest = $WaitOperationRequest
The request message for Operations.WaitOperation.
GoogleProtobufEmpty = $Empty
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs.
GoogleRpcStatus = $Status
The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs.
GoogleTypeExpr = $Expr
Represents a textual expression in the Common Expression Language (CEL) syntax.
Proto2BridgeMessageSet = $Empty
This is proto2's version of MessageSet.

Exceptions / Errors

ApiRequestError
Represents a general error reported by the API endpoint.
DetailedApiRequestError
Represents a specific error reported by the API endpoint.