Skip to content

Commit fe30a34

Browse files
1 parent 2f9e288 commit fe30a34

File tree

5 files changed

+120
-6
lines changed

5 files changed

+120
-6
lines changed

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-rev20250606-2.0.0</version>
25+
<version>v2-rev20250620-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-rev20250606-2.0.0'
38+
implementation 'com.google.apis:google-api-services-run:v2-rev20250620-2.0.0'
3939
}
4040
```
4141

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
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+
* Settings for multi-region deployment.
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 GoogleCloudRunV2MultiRegionSettings extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. System-generated unique id for the multi-region Service.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String multiRegionId;
38+
39+
/**
40+
* Required. List of regions to deploy to, including primary region.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.util.List<java.lang.String> regions;
45+
46+
/**
47+
* Optional. System-generated unique id for the multi-region Service.
48+
* @return value or {@code null} for none
49+
*/
50+
public java.lang.String getMultiRegionId() {
51+
return multiRegionId;
52+
}
53+
54+
/**
55+
* Optional. System-generated unique id for the multi-region Service.
56+
* @param multiRegionId multiRegionId or {@code null} for none
57+
*/
58+
public GoogleCloudRunV2MultiRegionSettings setMultiRegionId(java.lang.String multiRegionId) {
59+
this.multiRegionId = multiRegionId;
60+
return this;
61+
}
62+
63+
/**
64+
* Required. List of regions to deploy to, including primary region.
65+
* @return value or {@code null} for none
66+
*/
67+
public java.util.List<java.lang.String> getRegions() {
68+
return regions;
69+
}
70+
71+
/**
72+
* Required. List of regions to deploy to, including primary region.
73+
* @param regions regions or {@code null} for none
74+
*/
75+
public GoogleCloudRunV2MultiRegionSettings setRegions(java.util.List<java.lang.String> regions) {
76+
this.regions = regions;
77+
return this;
78+
}
79+
80+
@Override
81+
public GoogleCloudRunV2MultiRegionSettings set(String fieldName, Object value) {
82+
return (GoogleCloudRunV2MultiRegionSettings) super.set(fieldName, value);
83+
}
84+
85+
@Override
86+
public GoogleCloudRunV2MultiRegionSettings clone() {
87+
return (GoogleCloudRunV2MultiRegionSettings) super.clone();
88+
}
89+
90+
}

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,13 @@ public final class GoogleCloudRunV2Service extends com.google.api.client.json.Ge
229229
@com.google.api.client.util.Key
230230
private java.lang.String launchStage;
231231

232+
/**
233+
* Optional. Settings for multi-region deployment.
234+
* The value may be {@code null}.
235+
*/
236+
@com.google.api.client.util.Key
237+
private GoogleCloudRunV2MultiRegionSettings multiRegionSettings;
238+
232239
/**
233240
* The fully qualified name of this Service. In CreateServiceRequest, this field is ignored, and
234241
* instead composed from CreateServiceRequest.parent and CreateServiceRequest.service_id. Format:
@@ -803,6 +810,23 @@ public GoogleCloudRunV2Service setLaunchStage(java.lang.String launchStage) {
803810
return this;
804811
}
805812

813+
/**
814+
* Optional. Settings for multi-region deployment.
815+
* @return value or {@code null} for none
816+
*/
817+
public GoogleCloudRunV2MultiRegionSettings getMultiRegionSettings() {
818+
return multiRegionSettings;
819+
}
820+
821+
/**
822+
* Optional. Settings for multi-region deployment.
823+
* @param multiRegionSettings multiRegionSettings or {@code null} for none
824+
*/
825+
public GoogleCloudRunV2Service setMultiRegionSettings(GoogleCloudRunV2MultiRegionSettings multiRegionSettings) {
826+
this.multiRegionSettings = multiRegionSettings;
827+
return this;
828+
}
829+
806830
/**
807831
* The fully qualified name of this Service. In CreateServiceRequest, this field is ignored, and
808832
* instead composed from CreateServiceRequest.parent and CreateServiceRequest.service_id. Format:

clients/google-api-services-run/v2/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>v2-rev20250606-2.0.0</version>
12-
<name>Cloud Run Admin API v2-rev20250606-2.0.0</name>
11+
<version>v2-rev20250620-2.0.0</version>
12+
<name>Cloud Run Admin API v2-rev20250620-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-run/v2/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-rev20250606-2.0.0</version>
25+
<version>v2-rev20250620-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-rev20250606-2.0.0'
38+
implementation 'com.google.apis:google-api-services-run:v2-rev20250620-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)