Skip to content

Commit bcfa554

Browse files
1 parent f021ae2 commit bcfa554

File tree

14 files changed

+1736
-13
lines changed

14 files changed

+1736
-13
lines changed

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

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

Lines changed: 938 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
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.v1.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 InstanceSplit extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Uses the "status.latestReadyRevisionName" to determine the traffic target. When it changes,
35+
* traffic will automatically migrate from the prior "latest ready" revision to the new one.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.Boolean latestRevision;
40+
41+
/**
42+
* Specifies percent of the instance split to this Revision. This defaults to zero if unspecified.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.lang.Integer percent;
47+
48+
/**
49+
* Revision to which to assign this portion of instances.
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key
53+
private java.lang.String revisionName;
54+
55+
/**
56+
* Uses the "status.latestReadyRevisionName" to determine the traffic target. When it changes,
57+
* traffic will automatically migrate from the prior "latest ready" revision to the new one.
58+
* @return value or {@code null} for none
59+
*/
60+
public java.lang.Boolean getLatestRevision() {
61+
return latestRevision;
62+
}
63+
64+
/**
65+
* Uses the "status.latestReadyRevisionName" to determine the traffic target. When it changes,
66+
* traffic will automatically migrate from the prior "latest ready" revision to the new one.
67+
* @param latestRevision latestRevision or {@code null} for none
68+
*/
69+
public InstanceSplit setLatestRevision(java.lang.Boolean latestRevision) {
70+
this.latestRevision = latestRevision;
71+
return this;
72+
}
73+
74+
/**
75+
* Specifies percent of the instance split to this Revision. This defaults to zero if unspecified.
76+
* @return value or {@code null} for none
77+
*/
78+
public java.lang.Integer getPercent() {
79+
return percent;
80+
}
81+
82+
/**
83+
* Specifies percent of the instance split to this Revision. This defaults to zero if unspecified.
84+
* @param percent percent or {@code null} for none
85+
*/
86+
public InstanceSplit setPercent(java.lang.Integer percent) {
87+
this.percent = percent;
88+
return this;
89+
}
90+
91+
/**
92+
* Revision to which to assign this portion of instances.
93+
* @return value or {@code null} for none
94+
*/
95+
public java.lang.String getRevisionName() {
96+
return revisionName;
97+
}
98+
99+
/**
100+
* Revision to which to assign this portion of instances.
101+
* @param revisionName revisionName or {@code null} for none
102+
*/
103+
public InstanceSplit setRevisionName(java.lang.String revisionName) {
104+
this.revisionName = revisionName;
105+
return this;
106+
}
107+
108+
@Override
109+
public InstanceSplit set(String fieldName, Object value) {
110+
return (InstanceSplit) super.set(fieldName, value);
111+
}
112+
113+
@Override
114+
public InstanceSplit clone() {
115+
return (InstanceSplit) super.clone();
116+
}
117+
118+
}
Lines changed: 165 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,165 @@
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.v1.model;
18+
19+
/**
20+
* A list of WorkerPool resources.
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 ListWorkerPoolsResponse extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* The API version for this call; returns "run.googleapis.com/v1".
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String apiVersion;
38+
39+
/**
40+
* List of WorkerPools.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.util.List<WorkerPool> items;
45+
46+
/**
47+
* The kind of this resource; returns "WorkerPoolList".
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key
51+
private java.lang.String kind;
52+
53+
/**
54+
* Metadata associated with this WorkerPool list.
55+
* The value may be {@code null}.
56+
*/
57+
@com.google.api.client.util.Key
58+
private ListMeta metadata;
59+
60+
/**
61+
* For calls against the global endpoint, returns the list of Cloud locations that could not be
62+
* reached. For regional calls, this field is not used.
63+
* The value may be {@code null}.
64+
*/
65+
@com.google.api.client.util.Key
66+
private java.util.List<java.lang.String> unreachable;
67+
68+
/**
69+
* The API version for this call; returns "run.googleapis.com/v1".
70+
* @return value or {@code null} for none
71+
*/
72+
public java.lang.String getApiVersion() {
73+
return apiVersion;
74+
}
75+
76+
/**
77+
* The API version for this call; returns "run.googleapis.com/v1".
78+
* @param apiVersion apiVersion or {@code null} for none
79+
*/
80+
public ListWorkerPoolsResponse setApiVersion(java.lang.String apiVersion) {
81+
this.apiVersion = apiVersion;
82+
return this;
83+
}
84+
85+
/**
86+
* List of WorkerPools.
87+
* @return value or {@code null} for none
88+
*/
89+
public java.util.List<WorkerPool> getItems() {
90+
return items;
91+
}
92+
93+
/**
94+
* List of WorkerPools.
95+
* @param items items or {@code null} for none
96+
*/
97+
public ListWorkerPoolsResponse setItems(java.util.List<WorkerPool> items) {
98+
this.items = items;
99+
return this;
100+
}
101+
102+
/**
103+
* The kind of this resource; returns "WorkerPoolList".
104+
* @return value or {@code null} for none
105+
*/
106+
public java.lang.String getKind() {
107+
return kind;
108+
}
109+
110+
/**
111+
* The kind of this resource; returns "WorkerPoolList".
112+
* @param kind kind or {@code null} for none
113+
*/
114+
public ListWorkerPoolsResponse setKind(java.lang.String kind) {
115+
this.kind = kind;
116+
return this;
117+
}
118+
119+
/**
120+
* Metadata associated with this WorkerPool list.
121+
* @return value or {@code null} for none
122+
*/
123+
public ListMeta getMetadata() {
124+
return metadata;
125+
}
126+
127+
/**
128+
* Metadata associated with this WorkerPool list.
129+
* @param metadata metadata or {@code null} for none
130+
*/
131+
public ListWorkerPoolsResponse setMetadata(ListMeta metadata) {
132+
this.metadata = metadata;
133+
return this;
134+
}
135+
136+
/**
137+
* For calls against the global endpoint, returns the list of Cloud locations that could not be
138+
* reached. For regional calls, this field is not used.
139+
* @return value or {@code null} for none
140+
*/
141+
public java.util.List<java.lang.String> getUnreachable() {
142+
return unreachable;
143+
}
144+
145+
/**
146+
* For calls against the global endpoint, returns the list of Cloud locations that could not be
147+
* reached. For regional calls, this field is not used.
148+
* @param unreachable unreachable or {@code null} for none
149+
*/
150+
public ListWorkerPoolsResponse setUnreachable(java.util.List<java.lang.String> unreachable) {
151+
this.unreachable = unreachable;
152+
return this;
153+
}
154+
155+
@Override
156+
public ListWorkerPoolsResponse set(String fieldName, Object value) {
157+
return (ListWorkerPoolsResponse) super.set(fieldName, value);
158+
}
159+
160+
@Override
161+
public ListWorkerPoolsResponse clone() {
162+
return (ListWorkerPoolsResponse) super.clone();
163+
}
164+
165+
}

0 commit comments

Comments
 (0)