Skip to content

Commit 8070322

Browse files
1 parent 0b1b5f6 commit 8070322

10 files changed

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

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

Lines changed: 1477 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
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+
* Holds a single instance split entry for the Worker. Allocations can be done to a specific
21+
* Revision name, or pointing to the latest Ready Revision.
22+
*
23+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
24+
* transmitted over HTTP when working with the Cloud Run Admin API. For a detailed explanation see:
25+
* <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>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class GoogleCloudRunV2InstanceSplit extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Specifies percent of the instance split to this Revision. This defaults to zero if unspecified.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.Integer percent;
39+
40+
/**
41+
* Revision to which to assign this portion of instances, if split allocation is by revision.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.String revision;
46+
47+
/**
48+
* The allocation type for this instance split.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private java.lang.String type;
53+
54+
/**
55+
* Specifies percent of the instance split to this Revision. This defaults to zero if unspecified.
56+
* @return value or {@code null} for none
57+
*/
58+
public java.lang.Integer getPercent() {
59+
return percent;
60+
}
61+
62+
/**
63+
* Specifies percent of the instance split to this Revision. This defaults to zero if unspecified.
64+
* @param percent percent or {@code null} for none
65+
*/
66+
public GoogleCloudRunV2InstanceSplit setPercent(java.lang.Integer percent) {
67+
this.percent = percent;
68+
return this;
69+
}
70+
71+
/**
72+
* Revision to which to assign this portion of instances, if split allocation is by revision.
73+
* @return value or {@code null} for none
74+
*/
75+
public java.lang.String getRevision() {
76+
return revision;
77+
}
78+
79+
/**
80+
* Revision to which to assign this portion of instances, if split allocation is by revision.
81+
* @param revision revision or {@code null} for none
82+
*/
83+
public GoogleCloudRunV2InstanceSplit setRevision(java.lang.String revision) {
84+
this.revision = revision;
85+
return this;
86+
}
87+
88+
/**
89+
* The allocation type for this instance split.
90+
* @return value or {@code null} for none
91+
*/
92+
public java.lang.String getType() {
93+
return type;
94+
}
95+
96+
/**
97+
* The allocation type for this instance split.
98+
* @param type type or {@code null} for none
99+
*/
100+
public GoogleCloudRunV2InstanceSplit setType(java.lang.String type) {
101+
this.type = type;
102+
return this;
103+
}
104+
105+
@Override
106+
public GoogleCloudRunV2InstanceSplit set(String fieldName, Object value) {
107+
return (GoogleCloudRunV2InstanceSplit) super.set(fieldName, value);
108+
}
109+
110+
@Override
111+
public GoogleCloudRunV2InstanceSplit clone() {
112+
return (GoogleCloudRunV2InstanceSplit) super.clone();
113+
}
114+
115+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
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+
* Represents the observed state of a single `InstanceSplit` entry.
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 GoogleCloudRunV2InstanceSplitStatus extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Specifies percent of the instance split to this Revision.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.Integer percent;
38+
39+
/**
40+
* Revision to which this instance split is assigned.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.lang.String revision;
45+
46+
/**
47+
* The allocation type for this instance split.
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key
51+
private java.lang.String type;
52+
53+
/**
54+
* Specifies percent of the instance split to this Revision.
55+
* @return value or {@code null} for none
56+
*/
57+
public java.lang.Integer getPercent() {
58+
return percent;
59+
}
60+
61+
/**
62+
* Specifies percent of the instance split to this Revision.
63+
* @param percent percent or {@code null} for none
64+
*/
65+
public GoogleCloudRunV2InstanceSplitStatus setPercent(java.lang.Integer percent) {
66+
this.percent = percent;
67+
return this;
68+
}
69+
70+
/**
71+
* Revision to which this instance split is assigned.
72+
* @return value or {@code null} for none
73+
*/
74+
public java.lang.String getRevision() {
75+
return revision;
76+
}
77+
78+
/**
79+
* Revision to which this instance split is assigned.
80+
* @param revision revision or {@code null} for none
81+
*/
82+
public GoogleCloudRunV2InstanceSplitStatus setRevision(java.lang.String revision) {
83+
this.revision = revision;
84+
return this;
85+
}
86+
87+
/**
88+
* The allocation type for this instance split.
89+
* @return value or {@code null} for none
90+
*/
91+
public java.lang.String getType() {
92+
return type;
93+
}
94+
95+
/**
96+
* The allocation type for this instance split.
97+
* @param type type or {@code null} for none
98+
*/
99+
public GoogleCloudRunV2InstanceSplitStatus setType(java.lang.String type) {
100+
this.type = type;
101+
return this;
102+
}
103+
104+
@Override
105+
public GoogleCloudRunV2InstanceSplitStatus set(String fieldName, Object value) {
106+
return (GoogleCloudRunV2InstanceSplitStatus) super.set(fieldName, value);
107+
}
108+
109+
@Override
110+
public GoogleCloudRunV2InstanceSplitStatus clone() {
111+
return (GoogleCloudRunV2InstanceSplitStatus) super.clone();
112+
}
113+
114+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
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+
* Response message containing a list of WorkerPools.
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 GoogleCloudRunV2ListWorkerPoolsResponse extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* A token indicating there are more items than page_size. Use it in the next ListWorkerPools
34+
* request to continue.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String nextPageToken;
39+
40+
/**
41+
* The resulting list of WorkerPools.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.util.List<GoogleCloudRunV2WorkerPool> workerPools;
46+
47+
/**
48+
* A token indicating there are more items than page_size. Use it in the next ListWorkerPools
49+
* request to continue.
50+
* @return value or {@code null} for none
51+
*/
52+
public java.lang.String getNextPageToken() {
53+
return nextPageToken;
54+
}
55+
56+
/**
57+
* A token indicating there are more items than page_size. Use it in the next ListWorkerPools
58+
* request to continue.
59+
* @param nextPageToken nextPageToken or {@code null} for none
60+
*/
61+
public GoogleCloudRunV2ListWorkerPoolsResponse setNextPageToken(java.lang.String nextPageToken) {
62+
this.nextPageToken = nextPageToken;
63+
return this;
64+
}
65+
66+
/**
67+
* The resulting list of WorkerPools.
68+
* @return value or {@code null} for none
69+
*/
70+
public java.util.List<GoogleCloudRunV2WorkerPool> getWorkerPools() {
71+
return workerPools;
72+
}
73+
74+
/**
75+
* The resulting list of WorkerPools.
76+
* @param workerPools workerPools or {@code null} for none
77+
*/
78+
public GoogleCloudRunV2ListWorkerPoolsResponse setWorkerPools(java.util.List<GoogleCloudRunV2WorkerPool> workerPools) {
79+
this.workerPools = workerPools;
80+
return this;
81+
}
82+
83+
@Override
84+
public GoogleCloudRunV2ListWorkerPoolsResponse set(String fieldName, Object value) {
85+
return (GoogleCloudRunV2ListWorkerPoolsResponse) super.set(fieldName, value);
86+
}
87+
88+
@Override
89+
public GoogleCloudRunV2ListWorkerPoolsResponse clone() {
90+
return (GoogleCloudRunV2ListWorkerPoolsResponse) super.clone();
91+
}
92+
93+
}

0 commit comments

Comments
 (0)