Skip to content

Commit 1f53603

Browse files
1 parent 9f7b096 commit 1f53603

File tree

14 files changed

+501
-12
lines changed

14 files changed

+501
-12
lines changed

clients/google-api-services-cloudbuild/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-cloudbuild</artifactId>
25-
<version>v1-rev20250114-2.0.0</version>
25+
<version>v1-rev20250211-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-cloudbuild:v1-rev20250114-2.0.0'
38+
implementation 'com.google.apis:google-api-services-cloudbuild:v1-rev20250211-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/Build.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,13 @@ public final class Build extends com.google.api.client.json.GenericJson {
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<Dependency> 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 Build 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<Dependency> 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 Build setDependencies(java.util.List<Dependency> 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

clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/BuildOptions.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,13 @@ public final class BuildOptions extends com.google.api.client.json.GenericJson {
111111
@com.google.api.client.util.Key
112112
private PoolOption pool;
113113

114+
/**
115+
* Optional. Option to specify the Pub/Sub topic to receive build status updates.
116+
* The value may be {@code null}.
117+
*/
118+
@com.google.api.client.util.Key
119+
private java.lang.String pubsubTopic;
120+
114121
/**
115122
* Requested verifiability options.
116123
* The value may be {@code null}.
@@ -355,6 +362,23 @@ public BuildOptions setPool(PoolOption pool) {
355362
return this;
356363
}
357364

365+
/**
366+
* Optional. Option to specify the Pub/Sub topic to receive build status updates.
367+
* @return value or {@code null} for none
368+
*/
369+
public java.lang.String getPubsubTopic() {
370+
return pubsubTopic;
371+
}
372+
373+
/**
374+
* Optional. Option to specify the Pub/Sub topic to receive build status updates.
375+
* @param pubsubTopic pubsubTopic or {@code null} for none
376+
*/
377+
public BuildOptions setPubsubTopic(java.lang.String pubsubTopic) {
378+
this.pubsubTopic = pubsubTopic;
379+
return this;
380+
}
381+
358382
/**
359383
* Requested verifiability options.
360384
* @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.cloudbuild.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 Build 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 Dependency 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 GitSourceDependency 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 Dependency 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 GitSourceDependency 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 Dependency setGitSource(GitSourceDependency gitSource) {
76+
this.gitSource = gitSource;
77+
return this;
78+
}
79+
80+
@Override
81+
public Dependency set(String fieldName, Object value) {
82+
return (Dependency) super.set(fieldName, value);
83+
}
84+
85+
@Override
86+
public Dependency clone() {
87+
return (Dependency) 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.cloudbuild.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 Build 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 GitSourceDependency 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 GitSourceRepository 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 GitSourceDependency 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 GitSourceDependency 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 GitSourceDependency 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 GitSourceRepository 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 GitSourceDependency setRepository(GitSourceRepository 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 GitSourceDependency setRevision(java.lang.String revision) {
148+
this.revision = revision;
149+
return this;
150+
}
151+
152+
@Override
153+
public GitSourceDependency set(String fieldName, Object value) {
154+
return (GitSourceDependency) super.set(fieldName, value);
155+
}
156+
157+
@Override
158+
public GitSourceDependency clone() {
159+
return (GitSourceDependency) super.clone();
160+
}
161+
162+
}

0 commit comments

Comments
 (0)