From a7a493b0eb10950e18cf4966aece9fa782083ae7 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Wed, 10 Jun 2026 18:34:56 -0700 Subject: [PATCH] chore: regenerate run client --- .../v1/2.0.0/README.md | 4 +- .../api/services/run/v1/model/Container.java | 24 +++++++ .../services/run/v1/model/RevisionSpec.java | 30 ++++++++ .../google-api-services-run/v1/2.0.0/pom.xml | 4 +- clients/google-api-services-run/v1/README.md | 4 +- .../v2/2.0.0/README.md | 4 +- .../v2/model/GoogleCloudRunV2Container.java | 24 +++++++ .../v2/model/GoogleCloudRunV2Revision.java | 24 +++++++ .../GoogleCloudRunV2RevisionTemplate.java | 24 +++++++ .../GoogleCloudRunV2SandboxConfiguration.java | 72 +++++++++++++++++++ .../google-api-services-run/v2/2.0.0/pom.xml | 4 +- clients/google-api-services-run/v2/README.md | 4 +- 12 files changed, 210 insertions(+), 12 deletions(-) create mode 100644 clients/google-api-services-run/v2/2.0.0/com/google/api/services/run/v2/model/GoogleCloudRunV2SandboxConfiguration.java diff --git a/clients/google-api-services-run/v1/2.0.0/README.md b/clients/google-api-services-run/v1/2.0.0/README.md index ef2819378e3..2fcbcf866c1 100644 --- a/clients/google-api-services-run/v1/2.0.0/README.md +++ b/clients/google-api-services-run/v1/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-run - v1-rev20260529-2.0.0 + v1-rev20260603-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-run:v1-rev20260529-2.0.0' + implementation 'com.google.apis:google-api-services-run:v1-rev20260603-2.0.0' } ``` diff --git a/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/Container.java b/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/Container.java index 4218a3d63dd..1e9d88d671e 100644 --- a/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/Container.java +++ b/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/Container.java @@ -117,6 +117,13 @@ public final class Container extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private ResourceRequirements resources; + /** + * Optional. Indicates that this container can act as a sandbox supervisor and launch sandboxes. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean sandboxLauncher; + /** * Not supported by Cloud Run. * The value may be {@code null}. @@ -376,6 +383,23 @@ public Container setResources(ResourceRequirements resources) { return this; } + /** + * Optional. Indicates that this container can act as a sandbox supervisor and launch sandboxes. + * @return value or {@code null} for none + */ + public java.lang.Boolean getSandboxLauncher() { + return sandboxLauncher; + } + + /** + * Optional. Indicates that this container can act as a sandbox supervisor and launch sandboxes. + * @param sandboxLauncher sandboxLauncher or {@code null} for none + */ + public Container setSandboxLauncher(java.lang.Boolean sandboxLauncher) { + this.sandboxLauncher = sandboxLauncher; + return this; + } + /** * Not supported by Cloud Run. * @return value or {@code null} for none diff --git a/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/RevisionSpec.java b/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/RevisionSpec.java index 2d755e1836e..206fb0f983b 100644 --- a/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/RevisionSpec.java +++ b/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/RevisionSpec.java @@ -85,6 +85,19 @@ public final class RevisionSpec extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private java.lang.String runtimeClassName; + /** + * Optional. Container templates that can be launched through the `sandbox` CLI. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List sandboxes; + + static { + // hack to force ProGuard to consider Container used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(Container.class); + } + /** * Email address of the IAM service account associated with the revision of the service. The * service account represents the identity of the running revision, and determines what @@ -216,6 +229,23 @@ public RevisionSpec setRuntimeClassName(java.lang.String runtimeClassName) { return this; } + /** + * Optional. Container templates that can be launched through the `sandbox` CLI. + * @return value or {@code null} for none + */ + public java.util.List getSandboxes() { + return sandboxes; + } + + /** + * Optional. Container templates that can be launched through the `sandbox` CLI. + * @param sandboxes sandboxes or {@code null} for none + */ + public RevisionSpec setSandboxes(java.util.List sandboxes) { + this.sandboxes = sandboxes; + return this; + } + /** * Email address of the IAM service account associated with the revision of the service. The * service account represents the identity of the running revision, and determines what diff --git a/clients/google-api-services-run/v1/2.0.0/pom.xml b/clients/google-api-services-run/v1/2.0.0/pom.xml index d417d58aed9..91f2141099b 100644 --- a/clients/google-api-services-run/v1/2.0.0/pom.xml +++ b/clients/google-api-services-run/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-run - v1-rev20260529-2.0.0 - Cloud Run Admin API v1-rev20260529-2.0.0 + v1-rev20260603-2.0.0 + Cloud Run Admin API v1-rev20260603-2.0.0 jar 2011 diff --git a/clients/google-api-services-run/v1/README.md b/clients/google-api-services-run/v1/README.md index ef2819378e3..2fcbcf866c1 100644 --- a/clients/google-api-services-run/v1/README.md +++ b/clients/google-api-services-run/v1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-run - v1-rev20260529-2.0.0 + v1-rev20260603-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-run:v1-rev20260529-2.0.0' + implementation 'com.google.apis:google-api-services-run:v1-rev20260603-2.0.0' } ``` diff --git a/clients/google-api-services-run/v2/2.0.0/README.md b/clients/google-api-services-run/v2/2.0.0/README.md index 05b86dfbdab..965e88ebfc1 100644 --- a/clients/google-api-services-run/v2/2.0.0/README.md +++ b/clients/google-api-services-run/v2/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-run - v2-rev20260529-2.0.0 + v2-rev20260603-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-run:v2-rev20260529-2.0.0' + implementation 'com.google.apis:google-api-services-run:v2-rev20260603-2.0.0' } ``` diff --git a/clients/google-api-services-run/v2/2.0.0/com/google/api/services/run/v2/model/GoogleCloudRunV2Container.java b/clients/google-api-services-run/v2/2.0.0/com/google/api/services/run/v2/model/GoogleCloudRunV2Container.java index cbc7b79a307..382b9117e24 100644 --- a/clients/google-api-services-run/v2/2.0.0/com/google/api/services/run/v2/model/GoogleCloudRunV2Container.java +++ b/clients/google-api-services-run/v2/2.0.0/com/google/api/services/run/v2/model/GoogleCloudRunV2Container.java @@ -121,6 +121,13 @@ public final class GoogleCloudRunV2Container extends com.google.api.client.json. @com.google.api.client.util.Key private GoogleCloudRunV2ResourceRequirements resources; + /** + * Optional. Indicates that this container can act as a sandbox supervisor and launch sandboxes. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean sandboxLauncher; + /** * Optional. Location of the source. * The value may be {@code null}. @@ -368,6 +375,23 @@ public GoogleCloudRunV2Container setResources(GoogleCloudRunV2ResourceRequiremen return this; } + /** + * Optional. Indicates that this container can act as a sandbox supervisor and launch sandboxes. + * @return value or {@code null} for none + */ + public java.lang.Boolean getSandboxLauncher() { + return sandboxLauncher; + } + + /** + * Optional. Indicates that this container can act as a sandbox supervisor and launch sandboxes. + * @param sandboxLauncher sandboxLauncher or {@code null} for none + */ + public GoogleCloudRunV2Container setSandboxLauncher(java.lang.Boolean sandboxLauncher) { + this.sandboxLauncher = sandboxLauncher; + return this; + } + /** * Optional. Location of the source. * @return value or {@code null} for none diff --git a/clients/google-api-services-run/v2/2.0.0/com/google/api/services/run/v2/model/GoogleCloudRunV2Revision.java b/clients/google-api-services-run/v2/2.0.0/com/google/api/services/run/v2/model/GoogleCloudRunV2Revision.java index 7eb657481fa..69424d93524 100644 --- a/clients/google-api-services-run/v2/2.0.0/com/google/api/services/run/v2/model/GoogleCloudRunV2Revision.java +++ b/clients/google-api-services-run/v2/2.0.0/com/google/api/services/run/v2/model/GoogleCloudRunV2Revision.java @@ -228,6 +228,13 @@ public final class GoogleCloudRunV2Revision extends com.google.api.client.json.G @com.google.api.client.util.Key private java.lang.Boolean reconciling; + /** + * Output only. Configuration for sandboxes. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudRunV2SandboxConfiguration sandboxes; + /** * Output only. Reserved for future use. * The value may be {@code null}. @@ -760,6 +767,23 @@ public GoogleCloudRunV2Revision setReconciling(java.lang.Boolean reconciling) { return this; } + /** + * Output only. Configuration for sandboxes. + * @return value or {@code null} for none + */ + public GoogleCloudRunV2SandboxConfiguration getSandboxes() { + return sandboxes; + } + + /** + * Output only. Configuration for sandboxes. + * @param sandboxes sandboxes or {@code null} for none + */ + public GoogleCloudRunV2Revision setSandboxes(GoogleCloudRunV2SandboxConfiguration sandboxes) { + this.sandboxes = sandboxes; + return this; + } + /** * Output only. Reserved for future use. * @return value or {@code null} for none diff --git a/clients/google-api-services-run/v2/2.0.0/com/google/api/services/run/v2/model/GoogleCloudRunV2RevisionTemplate.java b/clients/google-api-services-run/v2/2.0.0/com/google/api/services/run/v2/model/GoogleCloudRunV2RevisionTemplate.java index 9adbfa75524..fe94ffa6536 100644 --- a/clients/google-api-services-run/v2/2.0.0/com/google/api/services/run/v2/model/GoogleCloudRunV2RevisionTemplate.java +++ b/clients/google-api-services-run/v2/2.0.0/com/google/api/services/run/v2/model/GoogleCloudRunV2RevisionTemplate.java @@ -150,6 +150,13 @@ public final class GoogleCloudRunV2RevisionTemplate extends com.google.api.clien @com.google.api.client.util.Key private java.lang.String revision; + /** + * Optional. Configuration for sandboxes. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudRunV2SandboxConfiguration sandboxes; + /** * Optional. Scaling settings for this Revision. * The value may be {@code null}. @@ -475,6 +482,23 @@ public GoogleCloudRunV2RevisionTemplate setRevision(java.lang.String revision) { return this; } + /** + * Optional. Configuration for sandboxes. + * @return value or {@code null} for none + */ + public GoogleCloudRunV2SandboxConfiguration getSandboxes() { + return sandboxes; + } + + /** + * Optional. Configuration for sandboxes. + * @param sandboxes sandboxes or {@code null} for none + */ + public GoogleCloudRunV2RevisionTemplate setSandboxes(GoogleCloudRunV2SandboxConfiguration sandboxes) { + this.sandboxes = sandboxes; + return this; + } + /** * Optional. Scaling settings for this Revision. * @return value or {@code null} for none diff --git a/clients/google-api-services-run/v2/2.0.0/com/google/api/services/run/v2/model/GoogleCloudRunV2SandboxConfiguration.java b/clients/google-api-services-run/v2/2.0.0/com/google/api/services/run/v2/model/GoogleCloudRunV2SandboxConfiguration.java new file mode 100644 index 00000000000..cc33981826a --- /dev/null +++ b/clients/google-api-services-run/v2/2.0.0/com/google/api/services/run/v2/model/GoogleCloudRunV2SandboxConfiguration.java @@ -0,0 +1,72 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.run.v2.model; + +/** + * Configuration for sandboxes. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Cloud Run Admin API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudRunV2SandboxConfiguration extends com.google.api.client.json.GenericJson { + + /** + * Required. Container templates that can be launched through the `sandbox` CLI. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List templates; + + static { + // hack to force ProGuard to consider GoogleCloudRunV2Container used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleCloudRunV2Container.class); + } + + /** + * Required. Container templates that can be launched through the `sandbox` CLI. + * @return value or {@code null} for none + */ + public java.util.List getTemplates() { + return templates; + } + + /** + * Required. Container templates that can be launched through the `sandbox` CLI. + * @param templates templates or {@code null} for none + */ + public GoogleCloudRunV2SandboxConfiguration setTemplates(java.util.List templates) { + this.templates = templates; + return this; + } + + @Override + public GoogleCloudRunV2SandboxConfiguration set(String fieldName, Object value) { + return (GoogleCloudRunV2SandboxConfiguration) super.set(fieldName, value); + } + + @Override + public GoogleCloudRunV2SandboxConfiguration clone() { + return (GoogleCloudRunV2SandboxConfiguration) super.clone(); + } + +} diff --git a/clients/google-api-services-run/v2/2.0.0/pom.xml b/clients/google-api-services-run/v2/2.0.0/pom.xml index f063593d0a6..f81fc5ce2d3 100644 --- a/clients/google-api-services-run/v2/2.0.0/pom.xml +++ b/clients/google-api-services-run/v2/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-run - v2-rev20260529-2.0.0 - Cloud Run Admin API v2-rev20260529-2.0.0 + v2-rev20260603-2.0.0 + Cloud Run Admin API v2-rev20260603-2.0.0 jar 2011 diff --git a/clients/google-api-services-run/v2/README.md b/clients/google-api-services-run/v2/README.md index 05b86dfbdab..965e88ebfc1 100644 --- a/clients/google-api-services-run/v2/README.md +++ b/clients/google-api-services-run/v2/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-run - v2-rev20260529-2.0.0 + v2-rev20260603-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-run:v2-rev20260529-2.0.0' + implementation 'com.google.apis:google-api-services-run:v2-rev20260603-2.0.0' } ```