run.v2 library Null safety
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.
- GoogleCloudRunV2CloudSqlInstance
- Represents a specific Cloud SQL instance.
- GoogleCloudRunV2Condition
- Defines a status condition for a resource.
- GoogleCloudRunV2Container
- A single application container.
- GoogleCloudRunV2ContainerPort
- ContainerPort represents a network port in a single container.
- 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.
- GoogleCloudRunV2Job
- Job represents the configuration of a single job.
- 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.
- 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.
- 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.
- 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.
- 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 arole
. - 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
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. - 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.
Exceptions / Errors
- ApiRequestError
- Represents a general error reported by the API endpoint.
- DetailedApiRequestError
- Represents a specific error reported by the API endpoint.