Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions clients/google-api-services-run/v1/2.0.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-run</artifactId>
<version>v1-rev20260529-2.0.0</version>
<version>v1-rev20260603-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -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'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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}.
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<Container> 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
Expand Down Expand Up @@ -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<Container> 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<Container> 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
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-run/v1/2.0.0/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<groupId>com.google.apis</groupId>
<artifactId>google-api-services-run</artifactId>
<version>v1-rev20260529-2.0.0</version>
<name>Cloud Run Admin API v1-rev20260529-2.0.0</name>
<version>v1-rev20260603-2.0.0</version>
<name>Cloud Run Admin API v1-rev20260603-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-run/v1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-run</artifactId>
<version>v1-rev20260529-2.0.0</version>
<version>v1-rev20260603-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -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'
}
```

Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-run/v2/2.0.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-run</artifactId>
<version>v2-rev20260529-2.0.0</version>
<version>v2-rev20260603-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -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'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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}.
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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}.
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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}.
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
*
* <p> 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:
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
* </p>
*
* @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<GoogleCloudRunV2Container> 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<GoogleCloudRunV2Container> 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<GoogleCloudRunV2Container> 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();
}

}
4 changes: 2 additions & 2 deletions clients/google-api-services-run/v2/2.0.0/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<groupId>com.google.apis</groupId>
<artifactId>google-api-services-run</artifactId>
<version>v2-rev20260529-2.0.0</version>
<name>Cloud Run Admin API v2-rev20260529-2.0.0</name>
<version>v2-rev20260603-2.0.0</version>
<name>Cloud Run Admin API v2-rev20260603-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-run/v2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-run</artifactId>
<version>v2-rev20260529-2.0.0</version>
<version>v2-rev20260603-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -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'
}
```

Expand Down