Repository navigation
Found new managed modules references - #1338
Merged
Merged
Conversation
| }, | ||
| { | ||
| "name": "bf54c1031efddde9cdfee0f89254315d0116a5f9", | ||
| "digest": "b80dad4c5e0398395a7cf8ca4e4a8f12d77a15116c56d61447fed79bb09d441881f2e7b45ec9876408d2980b6a4630a7d82a6b1770f432e5c8a5e5950131a047" |
There was a problem hiding this comment.
[Posted at 2026-11-09T13:08:53Z]
Intermediate transition
$ casdiff dbc4f61f7660eaaa387f9ae1a8221778ff8ebadc \
bf54c1031efddde9cdfee0f89254315d0116a5f9 \
--format=markdown15 files changed: 0 removed, 0 renamed, 1 added, 14 changed content.
15 files changed: 0 removed, 0 renamed, 1 added, 14 changed content.
Files added:
+ shake256:086e3c453769797173f38eb86222d345ade99b810d93835a4c0038569e68100f4e93e86b1b8550cd8f18848b3d7a91425e8d81c6481e8fbd6d762aa90b6ef479 google/cloud/run/v2/sandbox.protoFiles changed content:
google/cloud/run/v2/build.proto:
--- shake256:5469b6fd50234517d596f6f55db82504f59bd93e112fa0c83ce1fd82497722493439c60e05ef86b9198824c65a1c9c927250363e6dbfba253f532ca0fdeed5fc google/cloud/run/v2/build.proto
+++ shake256:34059f7475f01183c45cf163f5f8297685b0ac0e2801050524391a5c054af3363be613e4be74acba0015401ae45fa976f257998872246ab68758cea916fb0726 google/cloud/run/v2/build.proto
@@ -36,7 +36,8 @@
service Builds {
option (google.api.default_host) = "run.googleapis.com";
option (google.api.oauth_scopes) =
- "https://www.googleapis.com/auth/cloud-platform";
+ "https://www.googleapis.com/auth/cloud-platform,"
+ "https://www.googleapis.com/auth/run";
// Submits a build in a given project.
rpc SubmitBuild(SubmitBuildRequest) returns (SubmitBuildResponse) {
@@ -114,8 +115,8 @@
// Cloud Build service account for the project will be used.
string service_account = 6 [(google.api.field_behavior) = OPTIONAL];
- // Optional. Name of the Cloud Build Custom Worker Pool that should be used to
- // build the function. The format of this field is
+ // Optional. Name of the Cloud Build private 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
google/cloud/run/v2/condition.proto:
--- shake256:d18dbcf0b7c6801dc656d65ada52488241fe6d6d80117bccbc8f3e94cbd83246d89ab6a3e94ce3a0a691e4825638dc8730565f0839f7b5828675e5b7a9032a4e google/cloud/run/v2/condition.proto
+++ shake256:fc38d2e7121293372ccddb1aa6e0583b68ca2f4f3f5c710f59fbb0f1076d51145d01ac9408cedee5eb2146ddd4a2935e2e4df5f8eee86e3a190de4864ac718df google/cloud/run/v2/condition.proto
@@ -182,6 +182,27 @@
// A delayed execution is waiting for a start time.
DELAYED_START_PENDING = 6;
+
+ // A delayed execution exceeded the maximum runtime duration.
+ DELAYED_EXECUTION_EXCEEDING_DURATION_LIMIT = 7;
+ }
+
+ // Reasons specific to Instance resource.
+ enum InstanceReason {
+ // Default value.
+ INSTANCE_REASON_UNSPECIFIED = 0;
+
+ // Instance deleted.
+ INSTANCE_DELETED = 1;
+
+ // Instance stopped.
+ INSTANCE_STOPPED = 2;
+
+ // Instance stopping.
+ INSTANCE_STOPPING = 3;
+
+ // Instance exited with a non-zero exit code.
+ INSTANCE_NON_ZERO_EXIT_CODE = 4;
}
// type is used to communicate the status of the reconciliation process.
@@ -217,5 +238,9 @@
// Output only. A reason for the execution condition.
ExecutionReason execution_reason = 11
[(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. A reason for the instance condition.
+ InstanceReason instance_reason = 12
+ [(google.api.field_behavior) = OUTPUT_ONLY];
}
}
google/cloud/run/v2/execution.proto:
--- shake256:3a8a0446396862dea52a4fde02e7cb0d5df3bc6dda1e5d655d91b767f2b0539d31a16f6cae031fae9c95c01c34ac6f70a655a55151d1fec9b2933c0a08ba331b google/cloud/run/v2/execution.proto
+++ shake256:b6f59cabee372d172efa92f8e735c92ffa98ef6fb23f7190ee5a4efd4c87d240986cad52191483051c012a41b256500d39f8dd1dec17509c2055d7abb6661a3b google/cloud/run/v2/execution.proto
@@ -35,7 +35,9 @@
service Executions {
option (google.api.default_host) = "run.googleapis.com";
option (google.api.oauth_scopes) =
- "https://www.googleapis.com/auth/cloud-platform";
+ "https://www.googleapis.com/auth/cloud-platform,"
+ "https://www.googleapis.com/auth/run,"
+ "https://www.googleapis.com/auth/run.readonly";
// Gets information about an Execution.
rpc GetExecution(GetExecutionRequest) returns (Execution) {
@@ -247,7 +249,7 @@
//
// Note that this value might not be what was used
// as input. For example, if ALPHA was provided as input in the parent
- // resource, but only BETA and GA-level features are were, this field will be
+ // resource, but only BETA and GA-level features are used, this field will be
// BETA.
google.api.LaunchStage launch_stage = 11;
@@ -310,6 +312,12 @@
// Output only. Reserved for future use.
bool satisfies_pzs = 27 [(google.api.field_behavior) = OUTPUT_ONLY];
+ // Output only. Arbitrary identifier for the API client.
+ string client = 33 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Arbitrary version identifier for the API client.
+ string client_version = 34 [(google.api.field_behavior) = OUTPUT_ONLY];
+
// Output only. A system-generated fingerprint for this version of the
// resource. May be used to detect modification conflict during updates.
string etag = 99 [(google.api.field_behavior) = OUTPUT_ONLY];
google/cloud/run/v2/execution_template.proto:
--- shake256:e923558649480c7df33e07f892572c9379200288c60f37f55d9abb760f5a3989b060c20eff50eff0023d23f3957691bfd70f0da1b51a91bcb2dcd8eefefb6945 google/cloud/run/v2/execution_template.proto
+++ shake256:b44ffa7d32e62481a6a288c43a390b1d6143392b3ccf99c8b2b0c6913ba9758ece8de3808d560be40e7e015a0e88eded30c5240fb2b074035aefe69698f6c00a google/cloud/run/v2/execution_template.proto
@@ -70,4 +70,14 @@
// Required. Describes the task(s) that will be created when executing an
// execution.
TaskTemplate template = 5 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. If true, the system will start the execution within the next 12
+ // hours depending on available capacity.
+ optional bool delay_execution = 8 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Arbitrary identifier for the API client.
+ string client = 9 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Arbitrary version identifier for the API client.
+ string client_version = 10 [(google.api.field_behavior) = OPTIONAL];
}
google/cloud/run/v2/job.proto:
--- shake256:7327e9ff86aad5d7863aea40aece589fb446912bab85d6daba2a0df41e5c1b12bebf758432114ee9b42bda72ea3848720b5ca2b28507e1fb891c197788404752 google/cloud/run/v2/job.proto
+++ shake256:c764bd65c872bd2469bd4f5ac628c57dd85ebfed088705e21449deb7df154dd3af7b14cc580a35a53957453673c6586c49b020152d445acba10beb97643602a0 google/cloud/run/v2/job.proto
@@ -42,7 +42,9 @@
service Jobs {
option (google.api.default_host) = "run.googleapis.com";
option (google.api.oauth_scopes) =
- "https://www.googleapis.com/auth/cloud-platform";
+ "https://www.googleapis.com/auth/cloud-platform,"
+ "https://www.googleapis.com/auth/run,"
+ "https://www.googleapis.com/auth/run.readonly";
// Creates a Job.
rpc CreateJob(CreateJobRequest) returns (google.longrunning.Operation) {
@@ -191,9 +193,10 @@
// Required. The Job instance to create.
Job job = 2 [(google.api.field_behavior) = REQUIRED];
- // Required. The unique identifier for the Job. The name of the job becomes
+ // Optional. The unique identifier for the Job. The name of the job becomes
// {parent}/jobs/{job_id}.
- string job_id = 3 [(google.api.field_behavior) = REQUIRED];
+ // If not provided, the server will generate a unique `job_id`.
+ string job_id = 3 [(google.api.field_behavior) = OPTIONAL];
// Indicates that the request should be validated and default values
// populated, without persisting the request or creating any resources.
@@ -308,6 +311,10 @@
// actively try to mark it failed and kill associated containers. Will
// replace existing timeout_seconds value.
google.protobuf.Duration timeout = 4;
+
+ // Optional. If true, the system will start the execution within the next 12
+ // hours depending on available capacity.
+ optional bool delay_execution = 6 [(google.api.field_behavior) = OPTIONAL];
}
// Required. The full name of the Job.
@@ -491,6 +498,9 @@
string run_execution_token = 27;
}
+ // Optional. The functional type of the Job.
+ FunctionalType functional_type = 31 [(google.api.field_behavior) = OPTIONAL];
+
// Optional. A system-generated fingerprint for this version of the
// resource. May be used to detect modification conflict during updates.
string etag = 99 [(google.api.field_behavior) = OPTIONAL];
google/cloud/run/v2/k8s.min.proto:
--- shake256:f76a4664ef8dbc9e9a7785f987548372d686c4cbdea9a2fcbb9fe75f6d693d46a040114d276e9bc19330a1d94e6b829f65d49a808fc46aa5b732363a7050c804 google/cloud/run/v2/k8s.min.proto
+++ shake256:b75b8d50d9695528a86fbd1e48361f15491f13c25882aa2276ef2a526dfd1e1859d71d42ec0a73f60dfe37df81c544c68b26ece8ebed899dc4d847d4cd00f112 google/cloud/run/v2/k8s.min.proto
@@ -54,7 +54,8 @@
// Dockerhub is assumed.
string image = 2 [(google.api.field_behavior) = REQUIRED];
- // Optional. Location of the source.
+ // Optional. Location of the source. This field is only supported in Cloud Run
+ // Service.
SourceCode source_code = 17 [(google.api.field_behavior) = OPTIONAL];
// Entrypoint array. Not executed within a shell.
@@ -109,6 +110,10 @@
// Output only. The build info of the container image.
BuildInfo build_info = 15 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Optional. Indicates that this container can act as a sandbox supervisor and
+ // launch sandboxes.
+ optional bool sandbox_launcher = 22 [(google.api.field_behavior) = OPTIONAL];
}
// ResourceRequirements describes the compute resource requirements.
@@ -204,6 +209,8 @@
// Optional. Path within the volume from which the container's volume should
// be mounted. Defaults to "" (volume's root).
+ //
+ // This field is currently rejected in Secret volume mounts.
string sub_path = 4 [(google.api.field_behavior) = OPTIONAL];
}
@@ -302,11 +309,23 @@
// https://cloud.google.com/sql/docs/mysql/connect-run for more information on
// how to connect Cloud SQL and Cloud Run.
message CloudSqlInstance {
- // The Cloud SQL instance connection names, as can be found in
- // https://console.cloud.google.com/sql/instances. Visit
- // https://cloud.google.com/sql/docs/mysql/connect-run for more information on
- // how to connect Cloud SQL and Cloud Run. Format:
- // {project}:{location}:{instance}
+ // A list of Cloud SQL instance connection names. Cloud Run uses these
+ // to establish connections to the specified Cloud SQL instances.
+ // While the SQL instance name itself is unique within a project,
+ // the full connection name requires the location for proper routing.
+ // Format: `{project}:{location}:{instance}`
+ // Example: `my-project:us-central1:my-instance`
+ //
+ // You can find this value on the instance's **Overview** page in the
+ // Google Cloud console or by using the following `gcloud` command:
+ //
+ // ```sh
+ // gcloud sql instances describe INSTANCE_NAME \
+ // --format='value(connectionName)'
+ // ```
+ //
+ // Visit https://cloud.google.com/sql/docs/mysql/connect-run for more
+ // information on how to connect Cloud SQL and Cloud Run.
repeated string instances = 1;
}
@@ -357,8 +376,8 @@
bool read_only = 3;
}
-// Represents a volume backed by a Cloud Storage bucket using Cloud Storage
-// FUSE.
+// Represents a volume backed by a Cloud Storage bucket (mounted via Cloud
+// Storage FUSE or as a block device disk).
message GCSVolumeSource {
// Cloud Storage Bucket name.
string bucket = 1;
@@ -479,9 +498,50 @@
int64 generation = 3 [(google.api.field_behavior) = OPTIONAL];
}
+ // Source file.
+ message SourceFile {
+ // Required. Input only. The file name for the source code. e.g.,
+ // `"index.js"` or
+ // `"node_modules/dependency.js"`. The filename must be less than 255
+ // characters and cannot contain `..`, `./`, `//`, or end with a `/`.
+ // Cloud Run will place the files in the container subdirectories, please
+ // use relative path to access the file.
+ string filename = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.field_behavior) = INPUT_ONLY
+ ];
+
+ // Required. Input only. Represents the exact, literal, and complete source
+ // code of the file. Placeholders like `...` or comments such as `# [rest of
+ // code]` should NEVER be used as omission. Every character in this field
+ // will be built into the final container. Any omission will result in a
+ // broken application.
+ string content = 2 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.field_behavior) = INPUT_ONLY
+ ];
+ }
+
+ // Inlined source.
+ message InlinedSource {
+ // Required. Input only. The source code.
+ repeated SourceFile sources = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.field_behavior) = INPUT_ONLY
+ ];
+ }
+
// The source type.
oneof source_type {
// The source is a Cloud Storage bucket.
CloudStorageSource cloud_storage_source = 1;
+
+ // Optional. Input only. Source code inlined in the request. Cloud Run will
+ // store the inlined_source to Cloud Storage and replace the field with
+ // cloud_storage_source. This field is only supported in Cloud Run Service.
+ InlinedSource inlined_source = 2 [
+ (google.api.field_behavior) = OPTIONAL,
+ (google.api.field_behavior) = INPUT_ONLY
+ ];
}
}
google/cloud/run/v2/revision.proto:
--- shake256:436849f222d2525a20f19adfda842b05fcbca1b9d15c02304d351fe2ad2c50cbf6a5c3c8dc70ce1592be40b1458935dfe129eb745f2ee7cd17bc21ea90e2ad18 google/cloud/run/v2/revision.proto
+++ shake256:a28343e93300342b4124c1d44114bc504c693c827ab05b180b0a881d07e593e663034541116d85349636af1bb1344a76ff17a4d8890349a770a2bb2c19cb7973 google/cloud/run/v2/revision.proto
@@ -24,6 +24,7 @@
import "google/api/routing.proto";
import "google/cloud/run/v2/condition.proto";
import "google/cloud/run/v2/k8s.min.proto";
+import "google/cloud/run/v2/sandbox.proto";
import "google/cloud/run/v2/status.proto";
import "google/cloud/run/v2/vendor_settings.proto";
import "google/longrunning/operations.proto";
@@ -39,7 +40,9 @@
service Revisions {
option (google.api.default_host) = "run.googleapis.com";
option (google.api.oauth_scopes) =
- "https://www.googleapis.com/auth/cloud-platform";
+ "https://www.googleapis.com/auth/cloud-platform,"
+ "https://www.googleapis.com/auth/run,"
+ "https://www.googleapis.com/auth/run.readonly";
// Gets information about a Revision.
rpc GetRevision(GetRevisionRequest) returns (Revision) {
@@ -228,7 +231,7 @@
//
// Note that this value might not be what was used
// as input. For example, if ALPHA was provided as input in the parent
- // resource, but only BETA and GA-level features are were, this field will be
+ // resource, but only BETA and GA-level features are used, this field will be
// BETA.
google.api.LaunchStage launch_stage = 10;
@@ -256,10 +259,14 @@
// revision, and determines what permissions the revision has.
string service_account = 16;
- // Holds the single container that defines the unit of execution for this
+ // Holds the list which define the units of execution for this
// Revision.
repeated Container containers = 17;
+ // Output only. Configuration for sandboxes.
+ SandboxConfiguration sandboxes = 56
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
// A list of Volumes to make available to containers.
repeated Volume volumes = 18;
@@ -315,6 +322,10 @@
// The node selector for the revision.
NodeSelector node_selector = 40;
+ // Optional. The Revision's workload identity settings.
+ WorkloadIdentityConfig workload_identity_config = 52
+ [(google.api.field_behavior) = OPTIONAL];
+
// Optional. Output only. True if GPU zonal redundancy is disabled on this
// revision.
optional bool gpu_zonal_redundancy_disabled = 48 [
@@ -325,6 +336,16 @@
// Output only. Email address of the authenticated creator.
string creator = 49 [(google.api.field_behavior) = OUTPUT_ONLY];
+ // Output only. Arbitrary identifier for the API client.
+ string client = 53 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Arbitrary version identifier for the API client.
+ string client_version = 54 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The ambient networking configuration for this revision.
+ AmbientNetworking ambient_networking = 59
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
// Output only. A system-generated fingerprint for this version of the
// resource. May be used to detect modification conflict during updates.
string etag = 99 [(google.api.field_behavior) = OUTPUT_ONLY];
google/cloud/run/v2/revision_template.proto:
--- shake256:c500b168394c7a62fe334332e2ea4c157c5a17b70617921c96a1948f3e61fcb005280d9c7274e785a30bf3503d3750eecd4eb23d5853e447d76c5cc3a81dd66d google/cloud/run/v2/revision_template.proto
+++ shake256:50f2143eb5ad4c14e6843770bff5e7018badc8c150de23a2b4059f75eacc860c02cb01d8a986ef0c9a7d3110d8d6d4d2c598f891123d909a892cf53f7b2e87ba google/cloud/run/v2/revision_template.proto
@@ -19,6 +19,7 @@
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "google/cloud/run/v2/k8s.min.proto";
+import "google/cloud/run/v2/sandbox.proto";
import "google/cloud/run/v2/vendor_settings.proto";
import "google/protobuf/duration.proto";
@@ -80,10 +81,13 @@
// provided, the revision will use the project's default service account.
string service_account = 9 [(google.api.field_behavior) = OPTIONAL];
- // Holds the single container that defines the unit of execution for this
+ // Holds the list which define the units of execution for this
// Revision.
repeated Container containers = 10;
+ // Optional. Configuration for sandboxes.
+ SandboxConfiguration sandboxes = 31 [(google.api.field_behavior) = OPTIONAL];
+
// Optional. A list of Volumes to make available to containers.
repeated Volume volumes = 11 [(google.api.field_behavior) = OPTIONAL];
@@ -125,7 +129,21 @@
// Optional. The node selector for the revision template.
NodeSelector node_selector = 21 [(google.api.field_behavior) = OPTIONAL];
+ // Optional. The Revision's workload identity settings.
+ WorkloadIdentityConfig workload_identity_config = 27
+ [(google.api.field_behavior) = OPTIONAL];
+
// Optional. True if GPU zonal redundancy is disabled on this revision.
optional bool gpu_zonal_redundancy_disabled = 24
[(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Arbitrary identifier for the API client.
+ string client = 28 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Arbitrary version identifier for the API client.
+ string client_version = 29 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The ambient networking configuration for this revision.
+ AmbientNetworking ambient_networking = 33
+ [(google.api.field_behavior) = OPTIONAL];
}
google/cloud/run/v2/service.proto:
--- shake256:6edf04d22640b1da829bb743975c153617be324924b54259235abff05a22f5a58bf8698a22ec9157a0b455facf9343223986b7fcb21738f98eaa01276b2c50fc google/cloud/run/v2/service.proto
+++ shake256:76ff019594d3fde7f0c8dadc4fd651cdc8ede45b49f539d0c90cdc01472871a1c5fbfbed60dfdc8236ee01b3f2936606f9433b96a3e6dc6730f2acafd140492a google/cloud/run/v2/service.proto
@@ -41,7 +41,9 @@
service Services {
option (google.api.default_host) = "run.googleapis.com";
option (google.api.oauth_scopes) =
- "https://www.googleapis.com/auth/cloud-platform";
+ "https://www.googleapis.com/auth/cloud-platform,"
+ "https://www.googleapis.com/auth/run,"
+ "https://www.googleapis.com/auth/run.readonly";
// Creates a new Service in a given project and location.
rpc CreateService(CreateServiceRequest)
@@ -179,10 +181,11 @@
// Required. The Service instance to create.
Service service = 2 [(google.api.field_behavior) = REQUIRED];
- // Required. The unique identifier for the Service. It must begin with letter,
+ // Optional. The unique identifier for the Service. It must begin with letter,
// and cannot end with hyphen; must contain fewer than 50 characters.
// The name of the service becomes {parent}/services/{service_id}.
- string service_id = 3 [(google.api.field_behavior) = REQUIRED];
+ // If not provided, the server will generate a unique `service_id`.
+ string service_id = 3 [(google.api.field_behavior) = OPTIONAL];
// Indicates that the request should be validated and default values
// populated, without persisting the request or creating any resources.
@@ -206,6 +209,16 @@
// a new one. The caller must have 'run.services.create' permissions if this
// is set to true and the Service does not exist.
bool allow_missing = 4 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. If set to true, a new revision will be created from the template
+ // even if the system doesn't detect any changes from the previously deployed
+ // revision.
+ //
+ // This may be useful for cases where the underlying resources need to be
+ // recreated or reinitialized. For example if the image is specified by label,
+ // but the underlying image digest has changed) or if the container performs
+ // deployment initialization work that needs to be performed again.
+ bool force_new_revision = 5 [(google.api.field_behavior) = OPTIONAL];
}
// Request message for retrieving a list of Services.
@@ -423,6 +436,9 @@
// Optional. IAP settings on the Service.
bool iap_enabled = 25 [(google.api.field_behavior) = OPTIONAL];
+ // Optional. Enables SSH access to the Service.
+ optional bool ssh_enabled = 29 [(google.api.field_behavior) = OPTIONAL];
+
// Optional. Settings for multi-region deployment.
MultiRegionSettings multi_region_settings = 26
[(google.api.field_behavior) = OPTIONAL];
@@ -490,6 +506,9 @@
// Optional. Configuration for building a Cloud Run function.
BuildConfig build_config = 41 [(google.api.field_behavior) = OPTIONAL];
+ // Optional. The functional type of the Service.
+ FunctionalType functional_type = 42 [(google.api.field_behavior) = OPTIONAL];
+
// Output only. Returns true if the Service is currently being acted upon by
// the system to bring it into the desired state.
//
google/cloud/run/v2/task.proto:
--- shake256:2c99fb9fb3e80566edd70647e049168f23a746903ebd8b862425fcfbe8fe98d05aad8245e3d2ca0f0f416f7272b9813ec8b22a1d4ab4009c6447fc8804d6ffba google/cloud/run/v2/task.proto
+++ shake256:62ca1462a69e79198d0771045c254f69a76406302eec0c6a654823e542793e11ff7e4d3f81cdd596f9019076bc340534c03c2196a3e0b2da090dc5bf9d9dcdbc google/cloud/run/v2/task.proto
@@ -22,6 +22,7 @@
import "google/api/resource.proto";
import "google/cloud/run/v2/condition.proto";
import "google/cloud/run/v2/k8s.min.proto";
+import "google/cloud/run/v2/sandbox.proto";
import "google/cloud/run/v2/vendor_settings.proto";
import "google/protobuf/duration.proto";
import "google/protobuf/timestamp.proto";
@@ -36,7 +37,9 @@
service Tasks {
option (google.api.default_host) = "run.googleapis.com";
option (google.api.oauth_scopes) =
- "https://www.googleapis.com/auth/cloud-platform";
+ "https://www.googleapis.com/auth/cloud-platform,"
+ "https://www.googleapis.com/auth/run,"
+ "https://www.googleapis.com/auth/run.readonly";
// Gets information about a Task.
rpc GetTask(GetTaskRequest) returns (Task) {
@@ -187,6 +190,9 @@
// task.
repeated Container containers = 14;
+ // Configuration for sandboxes.
+ SandboxConfiguration sandboxes = 40;
+
// A list of Volumes to make available to containers.
repeated Volume volumes = 15;
@@ -264,6 +270,10 @@
(google.api.field_behavior) = OUTPUT_ONLY
];
+ // Optional. The Task's workload identity settings.
+ WorkloadIdentityConfig workload_identity_config = 38
+ [(google.api.field_behavior) = OPTIONAL];
+
// Output only. A system-generated fingerprint for this version of the
// resource. May be used to detect modification conflict during updates.
string etag = 99 [(google.api.field_behavior) = OUTPUT_ONLY];
google/cloud/run/v2/task_template.proto:
--- shake256:c1ebc9a6966177298919c9260efc05d8092c6660079a257b68113aef2d0252b224c989dd7a6eb3ccd4a9efcbe04059795c8962042d510ee3a5f015ba8fcb7928 google/cloud/run/v2/task_template.proto
+++ shake256:aa755fd6b0a1038e5244f82a8cbcd3cbd692606fd593c5c235657f2df9810ac7aa1df030300a37b05be95425ebd94f76e4d90c05abed5dd049cbf65169ebe807 google/cloud/run/v2/task_template.proto
@@ -19,6 +19,7 @@
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "google/cloud/run/v2/k8s.min.proto";
+import "google/cloud/run/v2/sandbox.proto";
import "google/cloud/run/v2/vendor_settings.proto";
import "google/protobuf/duration.proto";
@@ -34,6 +35,9 @@
// task.
repeated Container containers = 1;
+ // Optional. Configuration for sandboxes.
+ SandboxConfiguration sandboxes = 15 [(google.api.field_behavior) = OPTIONAL];
+
// Optional. A list of Volumes to make available to containers.
repeated Volume volumes = 2 [(google.api.field_behavior) = OPTIONAL];
@@ -77,4 +81,8 @@
// Optional. True if GPU zonal redundancy is disabled on this task template.
optional bool gpu_zonal_redundancy_disabled = 12
[(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The Task's workload identity settings.
+ WorkloadIdentityConfig workload_identity_config = 13
+ [(google.api.field_behavior) = OPTIONAL];
}
google/cloud/run/v2/vendor_settings.proto:
--- shake256:dff36fde6a4fd3eb737920e7bd241d5dfb7381613b8c5888f1163cd06b8591e2d9e4938699403915f08ed4b4940d5b2dd64b12a9f40e4afd61b437a87bdc9d61 google/cloud/run/v2/vendor_settings.proto
+++ shake256:2b7c594ce50442a72719c1d5c2ba8475b7679f116b2b038eef8a3b11c07e0fc39f694a7daf6a2935ed9006403c730704a1211c48f91aabb142998d125283dbd4 google/cloud/run/v2/vendor_settings.proto
@@ -126,6 +126,19 @@
// 100. For more information see
// https://cloud.google.com/run/docs/configuring/max-instances
int32 max_instance_count = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Determines a threshold for CPU utilization before scaling begins.
+ // Accepted values are between `0.1` and `0.90` (inclusive) or `0.0` to
+ // disable CPU utilization as threshold for scaling. CPU and concurrency
+ // scaling cannot both be disabled.
+ optional float cpu_utilization = 4 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Determines a threshold for concurrency utilization before scaling
+ // begins. Accepted values are between `0.1` and `0.95` (inclusive) or `0.0`
+ // to disable concurrency utilization as threshold for scaling. CPU and
+ // concurrency scaling cannot both be disabled.
+ optional float concurrency_utilization = 5
+ [(google.api.field_behavior) = OPTIONAL];
}
// Settings for Cloud Service Mesh. For more information see
@@ -139,6 +152,27 @@
}];
}
+// The ambient networking scopes of the instance.
+enum AmbientScope {
+ // Unspecified.
+ AMBIENT_SCOPE_UNSPECIFIED = 0;
+
+ // Regional ambient networking.
+ AMBIENT_SCOPE_REGIONAL = 1;
+
+ // Global ambient networking.
+ AMBIENT_SCOPE_GLOBAL = 2;
+}
+
+// Configuration for Ambient Networking.
+message AmbientNetworking {
+ // Optional. Whether ambient networking is enabled.
+ optional bool enabled = 1 [(google.api.field_behavior) = OPTIONAL];
+
+ // The ambient networking scope of the instance.
+ AmbientScope ambient_scope = 2;
+}
+
// Scaling settings applied at the service level rather than
// at the revision level.
message ServiceScaling {
@@ -219,8 +253,8 @@
// updates.
bool enable_automatic_updates = 6 [(google.api.field_behavior) = OPTIONAL];
- // Optional. Name of the Cloud Build Custom Worker Pool that should be used to
- // build the Cloud Run function. The format of this field is
+ // Optional. Name of the Cloud Build private pool that should be used to build
+ // the Cloud Run 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
@@ -283,3 +317,43 @@
// Shuts down existing instances, and prevents creation of new ones.
SHUTDOWN = 2;
}
+
+// Identity type.
+enum IdentityType {
+ // Unspecified
+ IDENTITY_TYPE_UNSPECIFIED = 0;
+
+ // Service account identity.
+ IDENTITY_TYPE_SERVICE_ACCOUNT = 1;
+
+ // Agent identity.
+ IDENTITY_TYPE_AGENT_IDENTITY = 3;
+}
+
+// Workload identity settings.
+message WorkloadIdentityConfig {
+ // Optional. The Revision's SPIFFE workload identity. Enables provisioning of
+ // SPIFFE workload certificates.
+ string identity = 1 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The type of identity to use.
+ IdentityType identity_type = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Controls whether an instance receives a MWLID certificate.
+ // Corresponds to the intention of the original --[no-]identity-certificate
+ // flag.
+ optional bool identity_certificate_enabled = 3
+ [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Represents the functional type.
+enum FunctionalType {
+ // Specifies that the functional type is unspecified.
+ FUNCTIONAL_TYPE_UNSPECIFIED = 0;
+
+ // Represents an AGENT functional type.
+ FUNCTIONAL_TYPE_AGENT = 1;
+
+ // Represents an MCP_SERVER functional type.
+ FUNCTIONAL_TYPE_MCP_SERVER = 2;
+}
google/cloud/run/v2/worker_pool.proto:
--- shake256:4d3810a00d1e92e7b0fcc7232b22332d5f01f69439ac1449642a4cbb453e6c15fd47a4c8d57f786588b2d89d9ce0e569682202055bf231594cbdc2ca122f8bba google/cloud/run/v2/worker_pool.proto
+++ shake256:b47695b37ba25c156eb31151eb5783557f5aba7079d5bd29cce834854ec770474b32bd68b82800c486f00fbff78a6f60b8f766cdbc3d79b3fdf90052950bad3a google/cloud/run/v2/worker_pool.proto
@@ -41,7 +41,9 @@
service WorkerPools {
option (google.api.default_host) = "run.googleapis.com";
option (google.api.oauth_scopes) =
- "https://www.googleapis.com/auth/cloud-platform";
+ "https://www.googleapis.com/auth/cloud-platform,"
+ "https://www.googleapis.com/auth/run,"
+ "https://www.googleapis.com/auth/run.readonly";
// Creates a new WorkerPool in a given project and location.
rpc CreateWorkerPool(CreateWorkerPoolRequest)
@@ -179,11 +181,12 @@
// Required. The WorkerPool instance to create.
WorkerPool worker_pool = 2 [(google.api.field_behavior) = REQUIRED];
- // Required. The unique identifier for the WorkerPool. It must begin with
+ // Optional. The unique identifier for the WorkerPool. It must begin with
// letter, and cannot end with hyphen; must contain fewer than 50 characters.
// The name of the worker pool becomes
// `{parent}/workerPools/{worker_pool_id}`.
- string worker_pool_id = 3 [(google.api.field_behavior) = REQUIRED];
+ // If not provided, the server will generate a unique `worker_pool_id`.
+ string worker_pool_id = 3 [(google.api.field_behavior) = OPTIONAL];
// Optional. Indicates that the request should be validated and default values
// populated, without persisting the request or creating any resources.
google/cloud/run/v2/worker_pool_revision_template.proto:
--- shake256:2ac38acde5825307c714b872b02815fb4f9c19f50562cf7a8a4a9b4c50cf44be6dc5472902474b36693f4cb031fa7ad572b8f305cda5162cbff139283ba49bc2 google/cloud/run/v2/worker_pool_revision_template.proto
+++ shake256:a0fd7f673f245b16042556fa97f53df3cc03fea5b79ea7be50b297538a7011469494cdc74725d8f35c3f52c419544e7370e8967f2019971482777e8cc94df3b2 google/cloud/run/v2/worker_pool_revision_template.proto
@@ -19,6 +19,7 @@
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "google/cloud/run/v2/k8s.min.proto";
+import "google/cloud/run/v2/sandbox.proto";
import "google/cloud/run/v2/vendor_settings.proto";
import "google/protobuf/duration.proto";
@@ -78,6 +79,9 @@
// Revision.
repeated Container containers = 6;
+ // Optional. Configuration for sandboxes.
+ SandboxConfiguration sandboxes = 19 [(google.api.field_behavior) = OPTIONAL];
+
// Optional. A list of Volumes to make available to containers.
repeated Volume volumes = 7 [(google.api.field_behavior) = OPTIONAL];
@@ -106,4 +110,10 @@
// Optional. True if GPU zonal redundancy is disabled on this worker pool.
optional bool gpu_zonal_redundancy_disabled = 16
[(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Arbitrary identifier for the API client.
+ string client = 17 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Arbitrary version identifier for the API client.
+ string client_version = 18 [(google.api.field_behavior) = OPTIONAL];
}
| { | ||
| "module_name": "googleapis/cloud-run", | ||
| "latest_reference": "dbc4f61f7660eaaa387f9ae1a8221778ff8ebadc" | ||
| "latest_reference": "bf54c1031efddde9cdfee0f89254315d0116a5f9" |
There was a problem hiding this comment.
[Posted at 2026-11-09T13:08:54Z]
Overall transition
$ casdiff dbc4f61f7660eaaa387f9ae1a8221778ff8ebadc \
bf54c1031efddde9cdfee0f89254315d0116a5f9 \
--format=markdown15 files changed: 0 removed, 0 renamed, 1 added, 14 changed content.
Files added:
+ shake256:086e3c453769797173f38eb86222d345ade99b810d93835a4c0038569e68100f4e93e86b1b8550cd8f18848b3d7a91425e8d81c6481e8fbd6d762aa90b6ef479 google/cloud/run/v2/sandbox.protoFiles changed content:
google/cloud/run/v2/build.proto:
--- shake256:5469b6fd50234517d596f6f55db82504f59bd93e112fa0c83ce1fd82497722493439c60e05ef86b9198824c65a1c9c927250363e6dbfba253f532ca0fdeed5fc google/cloud/run/v2/build.proto
+++ shake256:34059f7475f01183c45cf163f5f8297685b0ac0e2801050524391a5c054af3363be613e4be74acba0015401ae45fa976f257998872246ab68758cea916fb0726 google/cloud/run/v2/build.proto
@@ -36,7 +36,8 @@
service Builds {
option (google.api.default_host) = "run.googleapis.com";
option (google.api.oauth_scopes) =
- "https://www.googleapis.com/auth/cloud-platform";
+ "https://www.googleapis.com/auth/cloud-platform,"
+ "https://www.googleapis.com/auth/run";
// Submits a build in a given project.
rpc SubmitBuild(SubmitBuildRequest) returns (SubmitBuildResponse) {
@@ -114,8 +115,8 @@
// Cloud Build service account for the project will be used.
string service_account = 6 [(google.api.field_behavior) = OPTIONAL];
- // Optional. Name of the Cloud Build Custom Worker Pool that should be used to
- // build the function. The format of this field is
+ // Optional. Name of the Cloud Build private 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
google/cloud/run/v2/condition.proto:
--- shake256:d18dbcf0b7c6801dc656d65ada52488241fe6d6d80117bccbc8f3e94cbd83246d89ab6a3e94ce3a0a691e4825638dc8730565f0839f7b5828675e5b7a9032a4e google/cloud/run/v2/condition.proto
+++ shake256:fc38d2e7121293372ccddb1aa6e0583b68ca2f4f3f5c710f59fbb0f1076d51145d01ac9408cedee5eb2146ddd4a2935e2e4df5f8eee86e3a190de4864ac718df google/cloud/run/v2/condition.proto
@@ -182,6 +182,27 @@
// A delayed execution is waiting for a start time.
DELAYED_START_PENDING = 6;
+
+ // A delayed execution exceeded the maximum runtime duration.
+ DELAYED_EXECUTION_EXCEEDING_DURATION_LIMIT = 7;
+ }
+
+ // Reasons specific to Instance resource.
+ enum InstanceReason {
+ // Default value.
+ INSTANCE_REASON_UNSPECIFIED = 0;
+
+ // Instance deleted.
+ INSTANCE_DELETED = 1;
+
+ // Instance stopped.
+ INSTANCE_STOPPED = 2;
+
+ // Instance stopping.
+ INSTANCE_STOPPING = 3;
+
+ // Instance exited with a non-zero exit code.
+ INSTANCE_NON_ZERO_EXIT_CODE = 4;
}
// type is used to communicate the status of the reconciliation process.
@@ -217,5 +238,9 @@
// Output only. A reason for the execution condition.
ExecutionReason execution_reason = 11
[(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. A reason for the instance condition.
+ InstanceReason instance_reason = 12
+ [(google.api.field_behavior) = OUTPUT_ONLY];
}
}
google/cloud/run/v2/execution.proto:
--- shake256:3a8a0446396862dea52a4fde02e7cb0d5df3bc6dda1e5d655d91b767f2b0539d31a16f6cae031fae9c95c01c34ac6f70a655a55151d1fec9b2933c0a08ba331b google/cloud/run/v2/execution.proto
+++ shake256:b6f59cabee372d172efa92f8e735c92ffa98ef6fb23f7190ee5a4efd4c87d240986cad52191483051c012a41b256500d39f8dd1dec17509c2055d7abb6661a3b google/cloud/run/v2/execution.proto
@@ -35,7 +35,9 @@
service Executions {
option (google.api.default_host) = "run.googleapis.com";
option (google.api.oauth_scopes) =
- "https://www.googleapis.com/auth/cloud-platform";
+ "https://www.googleapis.com/auth/cloud-platform,"
+ "https://www.googleapis.com/auth/run,"
+ "https://www.googleapis.com/auth/run.readonly";
// Gets information about an Execution.
rpc GetExecution(GetExecutionRequest) returns (Execution) {
@@ -247,7 +249,7 @@
//
// Note that this value might not be what was used
// as input. For example, if ALPHA was provided as input in the parent
- // resource, but only BETA and GA-level features are were, this field will be
+ // resource, but only BETA and GA-level features are used, this field will be
// BETA.
google.api.LaunchStage launch_stage = 11;
@@ -310,6 +312,12 @@
// Output only. Reserved for future use.
bool satisfies_pzs = 27 [(google.api.field_behavior) = OUTPUT_ONLY];
+ // Output only. Arbitrary identifier for the API client.
+ string client = 33 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Arbitrary version identifier for the API client.
+ string client_version = 34 [(google.api.field_behavior) = OUTPUT_ONLY];
+
// Output only. A system-generated fingerprint for this version of the
// resource. May be used to detect modification conflict during updates.
string etag = 99 [(google.api.field_behavior) = OUTPUT_ONLY];
google/cloud/run/v2/execution_template.proto:
--- shake256:e923558649480c7df33e07f892572c9379200288c60f37f55d9abb760f5a3989b060c20eff50eff0023d23f3957691bfd70f0da1b51a91bcb2dcd8eefefb6945 google/cloud/run/v2/execution_template.proto
+++ shake256:b44ffa7d32e62481a6a288c43a390b1d6143392b3ccf99c8b2b0c6913ba9758ece8de3808d560be40e7e015a0e88eded30c5240fb2b074035aefe69698f6c00a google/cloud/run/v2/execution_template.proto
@@ -70,4 +70,14 @@
// Required. Describes the task(s) that will be created when executing an
// execution.
TaskTemplate template = 5 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. If true, the system will start the execution within the next 12
+ // hours depending on available capacity.
+ optional bool delay_execution = 8 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Arbitrary identifier for the API client.
+ string client = 9 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Arbitrary version identifier for the API client.
+ string client_version = 10 [(google.api.field_behavior) = OPTIONAL];
}
google/cloud/run/v2/job.proto:
--- shake256:7327e9ff86aad5d7863aea40aece589fb446912bab85d6daba2a0df41e5c1b12bebf758432114ee9b42bda72ea3848720b5ca2b28507e1fb891c197788404752 google/cloud/run/v2/job.proto
+++ shake256:c764bd65c872bd2469bd4f5ac628c57dd85ebfed088705e21449deb7df154dd3af7b14cc580a35a53957453673c6586c49b020152d445acba10beb97643602a0 google/cloud/run/v2/job.proto
@@ -42,7 +42,9 @@
service Jobs {
option (google.api.default_host) = "run.googleapis.com";
option (google.api.oauth_scopes) =
- "https://www.googleapis.com/auth/cloud-platform";
+ "https://www.googleapis.com/auth/cloud-platform,"
+ "https://www.googleapis.com/auth/run,"
+ "https://www.googleapis.com/auth/run.readonly";
// Creates a Job.
rpc CreateJob(CreateJobRequest) returns (google.longrunning.Operation) {
@@ -191,9 +193,10 @@
// Required. The Job instance to create.
Job job = 2 [(google.api.field_behavior) = REQUIRED];
- // Required. The unique identifier for the Job. The name of the job becomes
+ // Optional. The unique identifier for the Job. The name of the job becomes
// {parent}/jobs/{job_id}.
- string job_id = 3 [(google.api.field_behavior) = REQUIRED];
+ // If not provided, the server will generate a unique `job_id`.
+ string job_id = 3 [(google.api.field_behavior) = OPTIONAL];
// Indicates that the request should be validated and default values
// populated, without persisting the request or creating any resources.
@@ -308,6 +311,10 @@
// actively try to mark it failed and kill associated containers. Will
// replace existing timeout_seconds value.
google.protobuf.Duration timeout = 4;
+
+ // Optional. If true, the system will start the execution within the next 12
+ // hours depending on available capacity.
+ optional bool delay_execution = 6 [(google.api.field_behavior) = OPTIONAL];
}
// Required. The full name of the Job.
@@ -491,6 +498,9 @@
string run_execution_token = 27;
}
+ // Optional. The functional type of the Job.
+ FunctionalType functional_type = 31 [(google.api.field_behavior) = OPTIONAL];
+
// Optional. A system-generated fingerprint for this version of the
// resource. May be used to detect modification conflict during updates.
string etag = 99 [(google.api.field_behavior) = OPTIONAL];
google/cloud/run/v2/k8s.min.proto:
--- shake256:f76a4664ef8dbc9e9a7785f987548372d686c4cbdea9a2fcbb9fe75f6d693d46a040114d276e9bc19330a1d94e6b829f65d49a808fc46aa5b732363a7050c804 google/cloud/run/v2/k8s.min.proto
+++ shake256:b75b8d50d9695528a86fbd1e48361f15491f13c25882aa2276ef2a526dfd1e1859d71d42ec0a73f60dfe37df81c544c68b26ece8ebed899dc4d847d4cd00f112 google/cloud/run/v2/k8s.min.proto
@@ -54,7 +54,8 @@
// Dockerhub is assumed.
string image = 2 [(google.api.field_behavior) = REQUIRED];
- // Optional. Location of the source.
+ // Optional. Location of the source. This field is only supported in Cloud Run
+ // Service.
SourceCode source_code = 17 [(google.api.field_behavior) = OPTIONAL];
// Entrypoint array. Not executed within a shell.
@@ -109,6 +110,10 @@
// Output only. The build info of the container image.
BuildInfo build_info = 15 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Optional. Indicates that this container can act as a sandbox supervisor and
+ // launch sandboxes.
+ optional bool sandbox_launcher = 22 [(google.api.field_behavior) = OPTIONAL];
}
// ResourceRequirements describes the compute resource requirements.
@@ -204,6 +209,8 @@
// Optional. Path within the volume from which the container's volume should
// be mounted. Defaults to "" (volume's root).
+ //
+ // This field is currently rejected in Secret volume mounts.
string sub_path = 4 [(google.api.field_behavior) = OPTIONAL];
}
@@ -302,11 +309,23 @@
// https://cloud.google.com/sql/docs/mysql/connect-run for more information on
// how to connect Cloud SQL and Cloud Run.
message CloudSqlInstance {
- // The Cloud SQL instance connection names, as can be found in
- // https://console.cloud.google.com/sql/instances. Visit
- // https://cloud.google.com/sql/docs/mysql/connect-run for more information on
- // how to connect Cloud SQL and Cloud Run. Format:
- // {project}:{location}:{instance}
+ // A list of Cloud SQL instance connection names. Cloud Run uses these
+ // to establish connections to the specified Cloud SQL instances.
+ // While the SQL instance name itself is unique within a project,
+ // the full connection name requires the location for proper routing.
+ // Format: `{project}:{location}:{instance}`
+ // Example: `my-project:us-central1:my-instance`
+ //
+ // You can find this value on the instance's **Overview** page in the
+ // Google Cloud console or by using the following `gcloud` command:
+ //
+ // ```sh
+ // gcloud sql instances describe INSTANCE_NAME \
+ // --format='value(connectionName)'
+ // ```
+ //
+ // Visit https://cloud.google.com/sql/docs/mysql/connect-run for more
+ // information on how to connect Cloud SQL and Cloud Run.
repeated string instances = 1;
}
@@ -357,8 +376,8 @@
bool read_only = 3;
}
-// Represents a volume backed by a Cloud Storage bucket using Cloud Storage
-// FUSE.
+// Represents a volume backed by a Cloud Storage bucket (mounted via Cloud
+// Storage FUSE or as a block device disk).
message GCSVolumeSource {
// Cloud Storage Bucket name.
string bucket = 1;
@@ -479,9 +498,50 @@
int64 generation = 3 [(google.api.field_behavior) = OPTIONAL];
}
+ // Source file.
+ message SourceFile {
+ // Required. Input only. The file name for the source code. e.g.,
+ // `"index.js"` or
+ // `"node_modules/dependency.js"`. The filename must be less than 255
+ // characters and cannot contain `..`, `./`, `//`, or end with a `/`.
+ // Cloud Run will place the files in the container subdirectories, please
+ // use relative path to access the file.
+ string filename = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.field_behavior) = INPUT_ONLY
+ ];
+
+ // Required. Input only. Represents the exact, literal, and complete source
+ // code of the file. Placeholders like `...` or comments such as `# [rest of
+ // code]` should NEVER be used as omission. Every character in this field
+ // will be built into the final container. Any omission will result in a
+ // broken application.
+ string content = 2 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.field_behavior) = INPUT_ONLY
+ ];
+ }
+
+ // Inlined source.
+ message InlinedSource {
+ // Required. Input only. The source code.
+ repeated SourceFile sources = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.field_behavior) = INPUT_ONLY
+ ];
+ }
+
// The source type.
oneof source_type {
// The source is a Cloud Storage bucket.
CloudStorageSource cloud_storage_source = 1;
+
+ // Optional. Input only. Source code inlined in the request. Cloud Run will
+ // store the inlined_source to Cloud Storage and replace the field with
+ // cloud_storage_source. This field is only supported in Cloud Run Service.
+ InlinedSource inlined_source = 2 [
+ (google.api.field_behavior) = OPTIONAL,
+ (google.api.field_behavior) = INPUT_ONLY
+ ];
}
}
google/cloud/run/v2/revision.proto:
--- shake256:436849f222d2525a20f19adfda842b05fcbca1b9d15c02304d351fe2ad2c50cbf6a5c3c8dc70ce1592be40b1458935dfe129eb745f2ee7cd17bc21ea90e2ad18 google/cloud/run/v2/revision.proto
+++ shake256:a28343e93300342b4124c1d44114bc504c693c827ab05b180b0a881d07e593e663034541116d85349636af1bb1344a76ff17a4d8890349a770a2bb2c19cb7973 google/cloud/run/v2/revision.proto
@@ -24,6 +24,7 @@
import "google/api/routing.proto";
import "google/cloud/run/v2/condition.proto";
import "google/cloud/run/v2/k8s.min.proto";
+import "google/cloud/run/v2/sandbox.proto";
import "google/cloud/run/v2/status.proto";
import "google/cloud/run/v2/vendor_settings.proto";
import "google/longrunning/operations.proto";
@@ -39,7 +40,9 @@
service Revisions {
option (google.api.default_host) = "run.googleapis.com";
option (google.api.oauth_scopes) =
- "https://www.googleapis.com/auth/cloud-platform";
+ "https://www.googleapis.com/auth/cloud-platform,"
+ "https://www.googleapis.com/auth/run,"
+ "https://www.googleapis.com/auth/run.readonly";
// Gets information about a Revision.
rpc GetRevision(GetRevisionRequest) returns (Revision) {
@@ -228,7 +231,7 @@
//
// Note that this value might not be what was used
// as input. For example, if ALPHA was provided as input in the parent
- // resource, but only BETA and GA-level features are were, this field will be
+ // resource, but only BETA and GA-level features are used, this field will be
// BETA.
google.api.LaunchStage launch_stage = 10;
@@ -256,10 +259,14 @@
// revision, and determines what permissions the revision has.
string service_account = 16;
- // Holds the single container that defines the unit of execution for this
+ // Holds the list which define the units of execution for this
// Revision.
repeated Container containers = 17;
+ // Output only. Configuration for sandboxes.
+ SandboxConfiguration sandboxes = 56
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
// A list of Volumes to make available to containers.
repeated Volume volumes = 18;
@@ -315,6 +322,10 @@
// The node selector for the revision.
NodeSelector node_selector = 40;
+ // Optional. The Revision's workload identity settings.
+ WorkloadIdentityConfig workload_identity_config = 52
+ [(google.api.field_behavior) = OPTIONAL];
+
// Optional. Output only. True if GPU zonal redundancy is disabled on this
// revision.
optional bool gpu_zonal_redundancy_disabled = 48 [
@@ -325,6 +336,16 @@
// Output only. Email address of the authenticated creator.
string creator = 49 [(google.api.field_behavior) = OUTPUT_ONLY];
+ // Output only. Arbitrary identifier for the API client.
+ string client = 53 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Arbitrary version identifier for the API client.
+ string client_version = 54 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The ambient networking configuration for this revision.
+ AmbientNetworking ambient_networking = 59
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
// Output only. A system-generated fingerprint for this version of the
// resource. May be used to detect modification conflict during updates.
string etag = 99 [(google.api.field_behavior) = OUTPUT_ONLY];
google/cloud/run/v2/revision_template.proto:
--- shake256:c500b168394c7a62fe334332e2ea4c157c5a17b70617921c96a1948f3e61fcb005280d9c7274e785a30bf3503d3750eecd4eb23d5853e447d76c5cc3a81dd66d google/cloud/run/v2/revision_template.proto
+++ shake256:50f2143eb5ad4c14e6843770bff5e7018badc8c150de23a2b4059f75eacc860c02cb01d8a986ef0c9a7d3110d8d6d4d2c598f891123d909a892cf53f7b2e87ba google/cloud/run/v2/revision_template.proto
@@ -19,6 +19,7 @@
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "google/cloud/run/v2/k8s.min.proto";
+import "google/cloud/run/v2/sandbox.proto";
import "google/cloud/run/v2/vendor_settings.proto";
import "google/protobuf/duration.proto";
@@ -80,10 +81,13 @@
// provided, the revision will use the project's default service account.
string service_account = 9 [(google.api.field_behavior) = OPTIONAL];
- // Holds the single container that defines the unit of execution for this
+ // Holds the list which define the units of execution for this
// Revision.
repeated Container containers = 10;
+ // Optional. Configuration for sandboxes.
+ SandboxConfiguration sandboxes = 31 [(google.api.field_behavior) = OPTIONAL];
+
// Optional. A list of Volumes to make available to containers.
repeated Volume volumes = 11 [(google.api.field_behavior) = OPTIONAL];
@@ -125,7 +129,21 @@
// Optional. The node selector for the revision template.
NodeSelector node_selector = 21 [(google.api.field_behavior) = OPTIONAL];
+ // Optional. The Revision's workload identity settings.
+ WorkloadIdentityConfig workload_identity_config = 27
+ [(google.api.field_behavior) = OPTIONAL];
+
// Optional. True if GPU zonal redundancy is disabled on this revision.
optional bool gpu_zonal_redundancy_disabled = 24
[(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Arbitrary identifier for the API client.
+ string client = 28 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Arbitrary version identifier for the API client.
+ string client_version = 29 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The ambient networking configuration for this revision.
+ AmbientNetworking ambient_networking = 33
+ [(google.api.field_behavior) = OPTIONAL];
}
google/cloud/run/v2/service.proto:
--- shake256:6edf04d22640b1da829bb743975c153617be324924b54259235abff05a22f5a58bf8698a22ec9157a0b455facf9343223986b7fcb21738f98eaa01276b2c50fc google/cloud/run/v2/service.proto
+++ shake256:76ff019594d3fde7f0c8dadc4fd651cdc8ede45b49f539d0c90cdc01472871a1c5fbfbed60dfdc8236ee01b3f2936606f9433b96a3e6dc6730f2acafd140492a google/cloud/run/v2/service.proto
@@ -41,7 +41,9 @@
service Services {
option (google.api.default_host) = "run.googleapis.com";
option (google.api.oauth_scopes) =
- "https://www.googleapis.com/auth/cloud-platform";
+ "https://www.googleapis.com/auth/cloud-platform,"
+ "https://www.googleapis.com/auth/run,"
+ "https://www.googleapis.com/auth/run.readonly";
// Creates a new Service in a given project and location.
rpc CreateService(CreateServiceRequest)
@@ -179,10 +181,11 @@
// Required. The Service instance to create.
Service service = 2 [(google.api.field_behavior) = REQUIRED];
- // Required. The unique identifier for the Service. It must begin with letter,
+ // Optional. The unique identifier for the Service. It must begin with letter,
// and cannot end with hyphen; must contain fewer than 50 characters.
// The name of the service becomes {parent}/services/{service_id}.
- string service_id = 3 [(google.api.field_behavior) = REQUIRED];
+ // If not provided, the server will generate a unique `service_id`.
+ string service_id = 3 [(google.api.field_behavior) = OPTIONAL];
// Indicates that the request should be validated and default values
// populated, without persisting the request or creating any resources.
@@ -206,6 +209,16 @@
// a new one. The caller must have 'run.services.create' permissions if this
// is set to true and the Service does not exist.
bool allow_missing = 4 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. If set to true, a new revision will be created from the template
+ // even if the system doesn't detect any changes from the previously deployed
+ // revision.
+ //
+ // This may be useful for cases where the underlying resources need to be
+ // recreated or reinitialized. For example if the image is specified by label,
+ // but the underlying image digest has changed) or if the container performs
+ // deployment initialization work that needs to be performed again.
+ bool force_new_revision = 5 [(google.api.field_behavior) = OPTIONAL];
}
// Request message for retrieving a list of Services.
@@ -423,6 +436,9 @@
// Optional. IAP settings on the Service.
bool iap_enabled = 25 [(google.api.field_behavior) = OPTIONAL];
+ // Optional. Enables SSH access to the Service.
+ optional bool ssh_enabled = 29 [(google.api.field_behavior) = OPTIONAL];
+
// Optional. Settings for multi-region deployment.
MultiRegionSettings multi_region_settings = 26
[(google.api.field_behavior) = OPTIONAL];
@@ -490,6 +506,9 @@
// Optional. Configuration for building a Cloud Run function.
BuildConfig build_config = 41 [(google.api.field_behavior) = OPTIONAL];
+ // Optional. The functional type of the Service.
+ FunctionalType functional_type = 42 [(google.api.field_behavior) = OPTIONAL];
+
// Output only. Returns true if the Service is currently being acted upon by
// the system to bring it into the desired state.
//
google/cloud/run/v2/task.proto:
--- shake256:2c99fb9fb3e80566edd70647e049168f23a746903ebd8b862425fcfbe8fe98d05aad8245e3d2ca0f0f416f7272b9813ec8b22a1d4ab4009c6447fc8804d6ffba google/cloud/run/v2/task.proto
+++ shake256:62ca1462a69e79198d0771045c254f69a76406302eec0c6a654823e542793e11ff7e4d3f81cdd596f9019076bc340534c03c2196a3e0b2da090dc5bf9d9dcdbc google/cloud/run/v2/task.proto
@@ -22,6 +22,7 @@
import "google/api/resource.proto";
import "google/cloud/run/v2/condition.proto";
import "google/cloud/run/v2/k8s.min.proto";
+import "google/cloud/run/v2/sandbox.proto";
import "google/cloud/run/v2/vendor_settings.proto";
import "google/protobuf/duration.proto";
import "google/protobuf/timestamp.proto";
@@ -36,7 +37,9 @@
service Tasks {
option (google.api.default_host) = "run.googleapis.com";
option (google.api.oauth_scopes) =
- "https://www.googleapis.com/auth/cloud-platform";
+ "https://www.googleapis.com/auth/cloud-platform,"
+ "https://www.googleapis.com/auth/run,"
+ "https://www.googleapis.com/auth/run.readonly";
// Gets information about a Task.
rpc GetTask(GetTaskRequest) returns (Task) {
@@ -187,6 +190,9 @@
// task.
repeated Container containers = 14;
+ // Configuration for sandboxes.
+ SandboxConfiguration sandboxes = 40;
+
// A list of Volumes to make available to containers.
repeated Volume volumes = 15;
@@ -264,6 +270,10 @@
(google.api.field_behavior) = OUTPUT_ONLY
];
+ // Optional. The Task's workload identity settings.
+ WorkloadIdentityConfig workload_identity_config = 38
+ [(google.api.field_behavior) = OPTIONAL];
+
// Output only. A system-generated fingerprint for this version of the
// resource. May be used to detect modification conflict during updates.
string etag = 99 [(google.api.field_behavior) = OUTPUT_ONLY];
google/cloud/run/v2/task_template.proto:
--- shake256:c1ebc9a6966177298919c9260efc05d8092c6660079a257b68113aef2d0252b224c989dd7a6eb3ccd4a9efcbe04059795c8962042d510ee3a5f015ba8fcb7928 google/cloud/run/v2/task_template.proto
+++ shake256:aa755fd6b0a1038e5244f82a8cbcd3cbd692606fd593c5c235657f2df9810ac7aa1df030300a37b05be95425ebd94f76e4d90c05abed5dd049cbf65169ebe807 google/cloud/run/v2/task_template.proto
@@ -19,6 +19,7 @@
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "google/cloud/run/v2/k8s.min.proto";
+import "google/cloud/run/v2/sandbox.proto";
import "google/cloud/run/v2/vendor_settings.proto";
import "google/protobuf/duration.proto";
@@ -34,6 +35,9 @@
// task.
repeated Container containers = 1;
+ // Optional. Configuration for sandboxes.
+ SandboxConfiguration sandboxes = 15 [(google.api.field_behavior) = OPTIONAL];
+
// Optional. A list of Volumes to make available to containers.
repeated Volume volumes = 2 [(google.api.field_behavior) = OPTIONAL];
@@ -77,4 +81,8 @@
// Optional. True if GPU zonal redundancy is disabled on this task template.
optional bool gpu_zonal_redundancy_disabled = 12
[(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The Task's workload identity settings.
+ WorkloadIdentityConfig workload_identity_config = 13
+ [(google.api.field_behavior) = OPTIONAL];
}
google/cloud/run/v2/vendor_settings.proto:
--- shake256:dff36fde6a4fd3eb737920e7bd241d5dfb7381613b8c5888f1163cd06b8591e2d9e4938699403915f08ed4b4940d5b2dd64b12a9f40e4afd61b437a87bdc9d61 google/cloud/run/v2/vendor_settings.proto
+++ shake256:2b7c594ce50442a72719c1d5c2ba8475b7679f116b2b038eef8a3b11c07e0fc39f694a7daf6a2935ed9006403c730704a1211c48f91aabb142998d125283dbd4 google/cloud/run/v2/vendor_settings.proto
@@ -126,6 +126,19 @@
// 100. For more information see
// https://cloud.google.com/run/docs/configuring/max-instances
int32 max_instance_count = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Determines a threshold for CPU utilization before scaling begins.
+ // Accepted values are between `0.1` and `0.90` (inclusive) or `0.0` to
+ // disable CPU utilization as threshold for scaling. CPU and concurrency
+ // scaling cannot both be disabled.
+ optional float cpu_utilization = 4 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Determines a threshold for concurrency utilization before scaling
+ // begins. Accepted values are between `0.1` and `0.95` (inclusive) or `0.0`
+ // to disable concurrency utilization as threshold for scaling. CPU and
+ // concurrency scaling cannot both be disabled.
+ optional float concurrency_utilization = 5
+ [(google.api.field_behavior) = OPTIONAL];
}
// Settings for Cloud Service Mesh. For more information see
@@ -139,6 +152,27 @@
}];
}
+// The ambient networking scopes of the instance.
+enum AmbientScope {
+ // Unspecified.
+ AMBIENT_SCOPE_UNSPECIFIED = 0;
+
+ // Regional ambient networking.
+ AMBIENT_SCOPE_REGIONAL = 1;
+
+ // Global ambient networking.
+ AMBIENT_SCOPE_GLOBAL = 2;
+}
+
+// Configuration for Ambient Networking.
+message AmbientNetworking {
+ // Optional. Whether ambient networking is enabled.
+ optional bool enabled = 1 [(google.api.field_behavior) = OPTIONAL];
+
+ // The ambient networking scope of the instance.
+ AmbientScope ambient_scope = 2;
+}
+
// Scaling settings applied at the service level rather than
// at the revision level.
message ServiceScaling {
@@ -219,8 +253,8 @@
// updates.
bool enable_automatic_updates = 6 [(google.api.field_behavior) = OPTIONAL];
- // Optional. Name of the Cloud Build Custom Worker Pool that should be used to
- // build the Cloud Run function. The format of this field is
+ // Optional. Name of the Cloud Build private pool that should be used to build
+ // the Cloud Run 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
@@ -283,3 +317,43 @@
// Shuts down existing instances, and prevents creation of new ones.
SHUTDOWN = 2;
}
+
+// Identity type.
+enum IdentityType {
+ // Unspecified
+ IDENTITY_TYPE_UNSPECIFIED = 0;
+
+ // Service account identity.
+ IDENTITY_TYPE_SERVICE_ACCOUNT = 1;
+
+ // Agent identity.
+ IDENTITY_TYPE_AGENT_IDENTITY = 3;
+}
+
+// Workload identity settings.
+message WorkloadIdentityConfig {
+ // Optional. The Revision's SPIFFE workload identity. Enables provisioning of
+ // SPIFFE workload certificates.
+ string identity = 1 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The type of identity to use.
+ IdentityType identity_type = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Controls whether an instance receives a MWLID certificate.
+ // Corresponds to the intention of the original --[no-]identity-certificate
+ // flag.
+ optional bool identity_certificate_enabled = 3
+ [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Represents the functional type.
+enum FunctionalType {
+ // Specifies that the functional type is unspecified.
+ FUNCTIONAL_TYPE_UNSPECIFIED = 0;
+
+ // Represents an AGENT functional type.
+ FUNCTIONAL_TYPE_AGENT = 1;
+
+ // Represents an MCP_SERVER functional type.
+ FUNCTIONAL_TYPE_MCP_SERVER = 2;
+}
google/cloud/run/v2/worker_pool.proto:
--- shake256:4d3810a00d1e92e7b0fcc7232b22332d5f01f69439ac1449642a4cbb453e6c15fd47a4c8d57f786588b2d89d9ce0e569682202055bf231594cbdc2ca122f8bba google/cloud/run/v2/worker_pool.proto
+++ shake256:b47695b37ba25c156eb31151eb5783557f5aba7079d5bd29cce834854ec770474b32bd68b82800c486f00fbff78a6f60b8f766cdbc3d79b3fdf90052950bad3a google/cloud/run/v2/worker_pool.proto
@@ -41,7 +41,9 @@
service WorkerPools {
option (google.api.default_host) = "run.googleapis.com";
option (google.api.oauth_scopes) =
- "https://www.googleapis.com/auth/cloud-platform";
+ "https://www.googleapis.com/auth/cloud-platform,"
+ "https://www.googleapis.com/auth/run,"
+ "https://www.googleapis.com/auth/run.readonly";
// Creates a new WorkerPool in a given project and location.
rpc CreateWorkerPool(CreateWorkerPoolRequest)
@@ -179,11 +181,12 @@
// Required. The WorkerPool instance to create.
WorkerPool worker_pool = 2 [(google.api.field_behavior) = REQUIRED];
- // Required. The unique identifier for the WorkerPool. It must begin with
+ // Optional. The unique identifier for the WorkerPool. It must begin with
// letter, and cannot end with hyphen; must contain fewer than 50 characters.
// The name of the worker pool becomes
// `{parent}/workerPools/{worker_pool_id}`.
- string worker_pool_id = 3 [(google.api.field_behavior) = REQUIRED];
+ // If not provided, the server will generate a unique `worker_pool_id`.
+ string worker_pool_id = 3 [(google.api.field_behavior) = OPTIONAL];
// Optional. Indicates that the request should be validated and default values
// populated, without persisting the request or creating any resources.
google/cloud/run/v2/worker_pool_revision_template.proto:
--- shake256:2ac38acde5825307c714b872b02815fb4f9c19f50562cf7a8a4a9b4c50cf44be6dc5472902474b36693f4cb031fa7ad572b8f305cda5162cbff139283ba49bc2 google/cloud/run/v2/worker_pool_revision_template.proto
+++ shake256:a0fd7f673f245b16042556fa97f53df3cc03fea5b79ea7be50b297538a7011469494cdc74725d8f35c3f52c419544e7370e8967f2019971482777e8cc94df3b2 google/cloud/run/v2/worker_pool_revision_template.proto
@@ -19,6 +19,7 @@
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "google/cloud/run/v2/k8s.min.proto";
+import "google/cloud/run/v2/sandbox.proto";
import "google/cloud/run/v2/vendor_settings.proto";
import "google/protobuf/duration.proto";
@@ -78,6 +79,9 @@
// Revision.
repeated Container containers = 6;
+ // Optional. Configuration for sandboxes.
+ SandboxConfiguration sandboxes = 19 [(google.api.field_behavior) = OPTIONAL];
+
// Optional. A list of Volumes to make available to containers.
repeated Volume volumes = 7 [(google.api.field_behavior) = OPTIONAL];
@@ -106,4 +110,10 @@
// Optional. True if GPU zonal redundancy is disabled on this worker pool.
optional bool gpu_zonal_redundancy_disabled = 16
[(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Arbitrary identifier for the API client.
+ string client = 17 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Arbitrary version identifier for the API client.
+ string client_version = 18 [(google.api.field_behavior) = OPTIONAL];
}
pkwarren
approved these changes
Nov 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.