Skip to content

Commit 85df890

Browse files
1 parent 166c8cd commit 85df890

File tree

8 files changed

+387
-18
lines changed

8 files changed

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

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

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ public final class ExecutionSpec extends com.google.api.client.json.GenericJson
3131

3232
/**
3333
* Optional. Specifies the maximum desired number of tasks the execution should run at given time.
34-
* Must be <= task_count. When the job is run, if this field is 0 or unset, the maximum possible
35-
* value will be used for that execution. The actual number of tasks running in steady state will
36-
* be less than this number when there are fewer tasks waiting to be completed, i.e. when the work
37-
* left to do is less than max parallelism.
34+
* When the job is run, if this field is 0 or unset, the maximum possible value will be used for
35+
* that execution. The actual number of tasks running in steady state will be less than this
36+
* number when there are fewer tasks waiting to be completed, i.e. when the work left to do is
37+
* less than max parallelism.
3838
* The value may be {@code null}.
3939
*/
4040
@com.google.api.client.util.Key
@@ -58,10 +58,10 @@ public final class ExecutionSpec extends com.google.api.client.json.GenericJson
5858

5959
/**
6060
* Optional. Specifies the maximum desired number of tasks the execution should run at given time.
61-
* Must be <= task_count. When the job is run, if this field is 0 or unset, the maximum possible
62-
* value will be used for that execution. The actual number of tasks running in steady state will
63-
* be less than this number when there are fewer tasks waiting to be completed, i.e. when the work
64-
* left to do is less than max parallelism.
61+
* When the job is run, if this field is 0 or unset, the maximum possible value will be used for
62+
* that execution. The actual number of tasks running in steady state will be less than this
63+
* number when there are fewer tasks waiting to be completed, i.e. when the work left to do is
64+
* less than max parallelism.
6565
* @return value or {@code null} for none
6666
*/
6767
public java.lang.Integer getParallelism() {
@@ -70,10 +70,10 @@ public java.lang.Integer getParallelism() {
7070

7171
/**
7272
* Optional. Specifies the maximum desired number of tasks the execution should run at given time.
73-
* Must be <= task_count. When the job is run, if this field is 0 or unset, the maximum possible
74-
* value will be used for that execution. The actual number of tasks running in steady state will
75-
* be less than this number when there are fewer tasks waiting to be completed, i.e. when the work
76-
* left to do is less than max parallelism.
73+
* When the job is run, if this field is 0 or unset, the maximum possible value will be used for
74+
* that execution. The actual number of tasks running in steady state will be less than this
75+
* number when there are fewer tasks waiting to be completed, i.e. when the work left to do is
76+
* less than max parallelism.
7777
* @param parallelism parallelism or {@code null} for none
7878
*/
7979
public ExecutionSpec setParallelism(java.lang.Integer parallelism) {

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,13 @@ public final class GoogleDevtoolsCloudbuildV1Build extends com.google.api.client
7575
@com.google.api.client.util.Key
7676
private String createTime;
7777

78+
/**
79+
* Optional. Dependencies that the Cloud Build worker will fetch before executing user steps.
80+
* The value may be {@code null}.
81+
*/
82+
@com.google.api.client.util.Key
83+
private java.util.List<GoogleDevtoolsCloudbuildV1Dependency> dependencies;
84+
7885
/**
7986
* Output only. Contains information about the build when status=FAILURE.
8087
* The value may be {@code null}.
@@ -359,6 +366,23 @@ public GoogleDevtoolsCloudbuildV1Build setCreateTime(String createTime) {
359366
return this;
360367
}
361368

369+
/**
370+
* Optional. Dependencies that the Cloud Build worker will fetch before executing user steps.
371+
* @return value or {@code null} for none
372+
*/
373+
public java.util.List<GoogleDevtoolsCloudbuildV1Dependency> getDependencies() {
374+
return dependencies;
375+
}
376+
377+
/**
378+
* Optional. Dependencies that the Cloud Build worker will fetch before executing user steps.
379+
* @param dependencies dependencies or {@code null} for none
380+
*/
381+
public GoogleDevtoolsCloudbuildV1Build setDependencies(java.util.List<GoogleDevtoolsCloudbuildV1Dependency> dependencies) {
382+
this.dependencies = dependencies;
383+
return this;
384+
}
385+
362386
/**
363387
* Output only. Contains information about the build when status=FAILURE.
364388
* @return value or {@code null} for none
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.v1.model;
18+
19+
/**
20+
* A dependency that the Cloud Build worker will fetch before executing user steps.
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 GoogleDevtoolsCloudbuildV1Dependency extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* If set to true disable all dependency fetching (ignoring the default source as well).
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.Boolean empty;
38+
39+
/**
40+
* Represents a git repository as a build dependency.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private GoogleDevtoolsCloudbuildV1GitSourceDependency gitSource;
45+
46+
/**
47+
* If set to true disable all dependency fetching (ignoring the default source as well).
48+
* @return value or {@code null} for none
49+
*/
50+
public java.lang.Boolean getEmpty() {
51+
return empty;
52+
}
53+
54+
/**
55+
* If set to true disable all dependency fetching (ignoring the default source as well).
56+
* @param empty empty or {@code null} for none
57+
*/
58+
public GoogleDevtoolsCloudbuildV1Dependency setEmpty(java.lang.Boolean empty) {
59+
this.empty = empty;
60+
return this;
61+
}
62+
63+
/**
64+
* Represents a git repository as a build dependency.
65+
* @return value or {@code null} for none
66+
*/
67+
public GoogleDevtoolsCloudbuildV1GitSourceDependency getGitSource() {
68+
return gitSource;
69+
}
70+
71+
/**
72+
* Represents a git repository as a build dependency.
73+
* @param gitSource gitSource or {@code null} for none
74+
*/
75+
public GoogleDevtoolsCloudbuildV1Dependency setGitSource(GoogleDevtoolsCloudbuildV1GitSourceDependency gitSource) {
76+
this.gitSource = gitSource;
77+
return this;
78+
}
79+
80+
@Override
81+
public GoogleDevtoolsCloudbuildV1Dependency set(String fieldName, Object value) {
82+
return (GoogleDevtoolsCloudbuildV1Dependency) super.set(fieldName, value);
83+
}
84+
85+
@Override
86+
public GoogleDevtoolsCloudbuildV1Dependency clone() {
87+
return (GoogleDevtoolsCloudbuildV1Dependency) super.clone();
88+
}
89+
90+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,162 @@
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+
* Represents a git repository as a build dependency.
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 GoogleDevtoolsCloudbuildV1GitSourceDependency extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. How much history should be fetched for the build (default 1, -1 for all history).
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
37+
private java.lang.Long depth;
38+
39+
/**
40+
* Required. Where should the files be placed on the worker.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.lang.String destPath;
45+
46+
/**
47+
* Optional. True if submodules should be fetched too (default false).
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key
51+
private java.lang.Boolean recurseSubmodules;
52+
53+
/**
54+
* Required. The kind of repo (url or dev connect).
55+
* The value may be {@code null}.
56+
*/
57+
@com.google.api.client.util.Key
58+
private GoogleDevtoolsCloudbuildV1GitSourceRepository repository;
59+
60+
/**
61+
* Required. The revision that we will fetch the repo at.
62+
* The value may be {@code null}.
63+
*/
64+
@com.google.api.client.util.Key
65+
private java.lang.String revision;
66+
67+
/**
68+
* Optional. How much history should be fetched for the build (default 1, -1 for all history).
69+
* @return value or {@code null} for none
70+
*/
71+
public java.lang.Long getDepth() {
72+
return depth;
73+
}
74+
75+
/**
76+
* Optional. How much history should be fetched for the build (default 1, -1 for all history).
77+
* @param depth depth or {@code null} for none
78+
*/
79+
public GoogleDevtoolsCloudbuildV1GitSourceDependency setDepth(java.lang.Long depth) {
80+
this.depth = depth;
81+
return this;
82+
}
83+
84+
/**
85+
* Required. Where should the files be placed on the worker.
86+
* @return value or {@code null} for none
87+
*/
88+
public java.lang.String getDestPath() {
89+
return destPath;
90+
}
91+
92+
/**
93+
* Required. Where should the files be placed on the worker.
94+
* @param destPath destPath or {@code null} for none
95+
*/
96+
public GoogleDevtoolsCloudbuildV1GitSourceDependency setDestPath(java.lang.String destPath) {
97+
this.destPath = destPath;
98+
return this;
99+
}
100+
101+
/**
102+
* Optional. True if submodules should be fetched too (default false).
103+
* @return value or {@code null} for none
104+
*/
105+
public java.lang.Boolean getRecurseSubmodules() {
106+
return recurseSubmodules;
107+
}
108+
109+
/**
110+
* Optional. True if submodules should be fetched too (default false).
111+
* @param recurseSubmodules recurseSubmodules or {@code null} for none
112+
*/
113+
public GoogleDevtoolsCloudbuildV1GitSourceDependency setRecurseSubmodules(java.lang.Boolean recurseSubmodules) {
114+
this.recurseSubmodules = recurseSubmodules;
115+
return this;
116+
}
117+
118+
/**
119+
* Required. The kind of repo (url or dev connect).
120+
* @return value or {@code null} for none
121+
*/
122+
public GoogleDevtoolsCloudbuildV1GitSourceRepository getRepository() {
123+
return repository;
124+
}
125+
126+
/**
127+
* Required. The kind of repo (url or dev connect).
128+
* @param repository repository or {@code null} for none
129+
*/
130+
public GoogleDevtoolsCloudbuildV1GitSourceDependency setRepository(GoogleDevtoolsCloudbuildV1GitSourceRepository repository) {
131+
this.repository = repository;
132+
return this;
133+
}
134+
135+
/**
136+
* Required. The revision that we will fetch the repo at.
137+
* @return value or {@code null} for none
138+
*/
139+
public java.lang.String getRevision() {
140+
return revision;
141+
}
142+
143+
/**
144+
* Required. The revision that we will fetch the repo at.
145+
* @param revision revision or {@code null} for none
146+
*/
147+
public GoogleDevtoolsCloudbuildV1GitSourceDependency setRevision(java.lang.String revision) {
148+
this.revision = revision;
149+
return this;
150+
}
151+
152+
@Override
153+
public GoogleDevtoolsCloudbuildV1GitSourceDependency set(String fieldName, Object value) {
154+
return (GoogleDevtoolsCloudbuildV1GitSourceDependency) super.set(fieldName, value);
155+
}
156+
157+
@Override
158+
public GoogleDevtoolsCloudbuildV1GitSourceDependency clone() {
159+
return (GoogleDevtoolsCloudbuildV1GitSourceDependency) super.clone();
160+
}
161+
162+
}

0 commit comments

Comments
 (0)