Skip to content

Commit 3f212ee

Browse files
1 parent c51c591 commit 3f212ee

12 files changed

Lines changed: 210 additions & 12 deletions

File tree

clients/google-api-services-run/v1/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-run</artifactId>
25-
<version>v1-rev20260529-2.0.0</version>
25+
<version>v1-rev20260603-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-run:v1-rev20260529-2.0.0'
38+
implementation 'com.google.apis:google-api-services-run:v1-rev20260603-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/Container.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,13 @@ public final class Container extends com.google.api.client.json.GenericJson {
117117
@com.google.api.client.util.Key
118118
private ResourceRequirements resources;
119119

120+
/**
121+
* Optional. Indicates that this container can act as a sandbox supervisor and launch sandboxes.
122+
* The value may be {@code null}.
123+
*/
124+
@com.google.api.client.util.Key
125+
private java.lang.Boolean sandboxLauncher;
126+
120127
/**
121128
* Not supported by Cloud Run.
122129
* The value may be {@code null}.
@@ -376,6 +383,23 @@ public Container setResources(ResourceRequirements resources) {
376383
return this;
377384
}
378385

386+
/**
387+
* Optional. Indicates that this container can act as a sandbox supervisor and launch sandboxes.
388+
* @return value or {@code null} for none
389+
*/
390+
public java.lang.Boolean getSandboxLauncher() {
391+
return sandboxLauncher;
392+
}
393+
394+
/**
395+
* Optional. Indicates that this container can act as a sandbox supervisor and launch sandboxes.
396+
* @param sandboxLauncher sandboxLauncher or {@code null} for none
397+
*/
398+
public Container setSandboxLauncher(java.lang.Boolean sandboxLauncher) {
399+
this.sandboxLauncher = sandboxLauncher;
400+
return this;
401+
}
402+
379403
/**
380404
* Not supported by Cloud Run.
381405
* @return value or {@code null} for none

clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/RevisionSpec.java

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,19 @@ public final class RevisionSpec extends com.google.api.client.json.GenericJson {
8585
@com.google.api.client.util.Key
8686
private java.lang.String runtimeClassName;
8787

88+
/**
89+
* Optional. Container templates that can be launched through the `sandbox` CLI.
90+
* The value may be {@code null}.
91+
*/
92+
@com.google.api.client.util.Key
93+
private java.util.List<Container> sandboxes;
94+
95+
static {
96+
// hack to force ProGuard to consider Container used, since otherwise it would be stripped out
97+
// see https://github.com/google/google-api-java-client/issues/543
98+
com.google.api.client.util.Data.nullOf(Container.class);
99+
}
100+
88101
/**
89102
* Email address of the IAM service account associated with the revision of the service. The
90103
* service account represents the identity of the running revision, and determines what
@@ -216,6 +229,23 @@ public RevisionSpec setRuntimeClassName(java.lang.String runtimeClassName) {
216229
return this;
217230
}
218231

232+
/**
233+
* Optional. Container templates that can be launched through the `sandbox` CLI.
234+
* @return value or {@code null} for none
235+
*/
236+
public java.util.List<Container> getSandboxes() {
237+
return sandboxes;
238+
}
239+
240+
/**
241+
* Optional. Container templates that can be launched through the `sandbox` CLI.
242+
* @param sandboxes sandboxes or {@code null} for none
243+
*/
244+
public RevisionSpec setSandboxes(java.util.List<Container> sandboxes) {
245+
this.sandboxes = sandboxes;
246+
return this;
247+
}
248+
219249
/**
220250
* Email address of the IAM service account associated with the revision of the service. The
221251
* service account represents the identity of the running revision, and determines what

clients/google-api-services-run/v1/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-run</artifactId>
11-
<version>v1-rev20260529-2.0.0</version>
12-
<name>Cloud Run Admin API v1-rev20260529-2.0.0</name>
11+
<version>v1-rev20260603-2.0.0</version>
12+
<name>Cloud Run Admin API v1-rev20260603-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-run/v1/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-run</artifactId>
25-
<version>v1-rev20260529-2.0.0</version>
25+
<version>v1-rev20260603-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-run:v1-rev20260529-2.0.0'
38+
implementation 'com.google.apis:google-api-services-run:v1-rev20260603-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-run/v2/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-run</artifactId>
25-
<version>v2-rev20260529-2.0.0</version>
25+
<version>v2-rev20260603-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-run:v2-rev20260529-2.0.0'
38+
implementation 'com.google.apis:google-api-services-run:v2-rev20260603-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-run/v2/2.0.0/com/google/api/services/run/v2/model/GoogleCloudRunV2Container.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,13 @@ public final class GoogleCloudRunV2Container extends com.google.api.client.json.
121121
@com.google.api.client.util.Key
122122
private GoogleCloudRunV2ResourceRequirements resources;
123123

124+
/**
125+
* Optional. Indicates that this container can act as a sandbox supervisor and launch sandboxes.
126+
* The value may be {@code null}.
127+
*/
128+
@com.google.api.client.util.Key
129+
private java.lang.Boolean sandboxLauncher;
130+
124131
/**
125132
* Optional. Location of the source.
126133
* The value may be {@code null}.
@@ -368,6 +375,23 @@ public GoogleCloudRunV2Container setResources(GoogleCloudRunV2ResourceRequiremen
368375
return this;
369376
}
370377

378+
/**
379+
* Optional. Indicates that this container can act as a sandbox supervisor and launch sandboxes.
380+
* @return value or {@code null} for none
381+
*/
382+
public java.lang.Boolean getSandboxLauncher() {
383+
return sandboxLauncher;
384+
}
385+
386+
/**
387+
* Optional. Indicates that this container can act as a sandbox supervisor and launch sandboxes.
388+
* @param sandboxLauncher sandboxLauncher or {@code null} for none
389+
*/
390+
public GoogleCloudRunV2Container setSandboxLauncher(java.lang.Boolean sandboxLauncher) {
391+
this.sandboxLauncher = sandboxLauncher;
392+
return this;
393+
}
394+
371395
/**
372396
* Optional. Location of the source.
373397
* @return value or {@code null} for none

clients/google-api-services-run/v2/2.0.0/com/google/api/services/run/v2/model/GoogleCloudRunV2Revision.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,13 @@ public final class GoogleCloudRunV2Revision extends com.google.api.client.json.G
228228
@com.google.api.client.util.Key
229229
private java.lang.Boolean reconciling;
230230

231+
/**
232+
* Output only. Configuration for sandboxes.
233+
* The value may be {@code null}.
234+
*/
235+
@com.google.api.client.util.Key
236+
private GoogleCloudRunV2SandboxConfiguration sandboxes;
237+
231238
/**
232239
* Output only. Reserved for future use.
233240
* The value may be {@code null}.
@@ -760,6 +767,23 @@ public GoogleCloudRunV2Revision setReconciling(java.lang.Boolean reconciling) {
760767
return this;
761768
}
762769

770+
/**
771+
* Output only. Configuration for sandboxes.
772+
* @return value or {@code null} for none
773+
*/
774+
public GoogleCloudRunV2SandboxConfiguration getSandboxes() {
775+
return sandboxes;
776+
}
777+
778+
/**
779+
* Output only. Configuration for sandboxes.
780+
* @param sandboxes sandboxes or {@code null} for none
781+
*/
782+
public GoogleCloudRunV2Revision setSandboxes(GoogleCloudRunV2SandboxConfiguration sandboxes) {
783+
this.sandboxes = sandboxes;
784+
return this;
785+
}
786+
763787
/**
764788
* Output only. Reserved for future use.
765789
* @return value or {@code null} for none

clients/google-api-services-run/v2/2.0.0/com/google/api/services/run/v2/model/GoogleCloudRunV2RevisionTemplate.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,13 @@ public final class GoogleCloudRunV2RevisionTemplate extends com.google.api.clien
150150
@com.google.api.client.util.Key
151151
private java.lang.String revision;
152152

153+
/**
154+
* Optional. Configuration for sandboxes.
155+
* The value may be {@code null}.
156+
*/
157+
@com.google.api.client.util.Key
158+
private GoogleCloudRunV2SandboxConfiguration sandboxes;
159+
153160
/**
154161
* Optional. Scaling settings for this Revision.
155162
* The value may be {@code null}.
@@ -475,6 +482,23 @@ public GoogleCloudRunV2RevisionTemplate setRevision(java.lang.String revision) {
475482
return this;
476483
}
477484

485+
/**
486+
* Optional. Configuration for sandboxes.
487+
* @return value or {@code null} for none
488+
*/
489+
public GoogleCloudRunV2SandboxConfiguration getSandboxes() {
490+
return sandboxes;
491+
}
492+
493+
/**
494+
* Optional. Configuration for sandboxes.
495+
* @param sandboxes sandboxes or {@code null} for none
496+
*/
497+
public GoogleCloudRunV2RevisionTemplate setSandboxes(GoogleCloudRunV2SandboxConfiguration sandboxes) {
498+
this.sandboxes = sandboxes;
499+
return this;
500+
}
501+
478502
/**
479503
* Optional. Scaling settings for this Revision.
480504
* @return value or {@code null} for none
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.run.v2.model;
18+
19+
/**
20+
* Configuration for sandboxes.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Cloud Run Admin API. For a detailed explanation see:
24+
* <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>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class GoogleCloudRunV2SandboxConfiguration extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Required. Container templates that can be launched through the `sandbox` CLI.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.util.List<GoogleCloudRunV2Container> templates;
38+
39+
static {
40+
// hack to force ProGuard to consider GoogleCloudRunV2Container used, since otherwise it would be stripped out
41+
// see https://github.com/google/google-api-java-client/issues/543
42+
com.google.api.client.util.Data.nullOf(GoogleCloudRunV2Container.class);
43+
}
44+
45+
/**
46+
* Required. Container templates that can be launched through the `sandbox` CLI.
47+
* @return value or {@code null} for none
48+
*/
49+
public java.util.List<GoogleCloudRunV2Container> getTemplates() {
50+
return templates;
51+
}
52+
53+
/**
54+
* Required. Container templates that can be launched through the `sandbox` CLI.
55+
* @param templates templates or {@code null} for none
56+
*/
57+
public GoogleCloudRunV2SandboxConfiguration setTemplates(java.util.List<GoogleCloudRunV2Container> templates) {
58+
this.templates = templates;
59+
return this;
60+
}
61+
62+
@Override
63+
public GoogleCloudRunV2SandboxConfiguration set(String fieldName, Object value) {
64+
return (GoogleCloudRunV2SandboxConfiguration) super.set(fieldName, value);
65+
}
66+
67+
@Override
68+
public GoogleCloudRunV2SandboxConfiguration clone() {
69+
return (GoogleCloudRunV2SandboxConfiguration) super.clone();
70+
}
71+
72+
}

0 commit comments

Comments
 (0)