Skip to content

Commit e97a53b

Browse files
1 parent 8fa982f commit e97a53b

File tree

7 files changed

+187
-18
lines changed

7 files changed

+187
-18
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-rev20250418-2.0.0</version>
25+
<version>v1-rev20250514-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-rev20250418-2.0.0'
38+
implementation 'com.google.apis:google-api-services-cloudbuild:v1-rev20250514-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,14 @@ public final class BuildTrigger extends com.google.api.client.json.GenericJson {
7474
@com.google.api.client.util.Key
7575
private java.lang.String description;
7676

77+
/**
78+
* Optional. The configuration of a trigger that creates a build whenever an event from the
79+
* DeveloperConnect API is received.
80+
* The value may be {@code null}.
81+
*/
82+
@com.google.api.client.util.Key
83+
private DeveloperConnectEventConfig developerConnectEventConfig;
84+
7785
/**
7886
* If true, the trigger will never automatically execute a build.
7987
* The value may be {@code null}.
@@ -359,6 +367,25 @@ public BuildTrigger setDescription(java.lang.String description) {
359367
return this;
360368
}
361369

370+
/**
371+
* Optional. The configuration of a trigger that creates a build whenever an event from the
372+
* DeveloperConnect API is received.
373+
* @return value or {@code null} for none
374+
*/
375+
public DeveloperConnectEventConfig getDeveloperConnectEventConfig() {
376+
return developerConnectEventConfig;
377+
}
378+
379+
/**
380+
* Optional. The configuration of a trigger that creates a build whenever an event from the
381+
* DeveloperConnect API is received.
382+
* @param developerConnectEventConfig developerConnectEventConfig or {@code null} for none
383+
*/
384+
public BuildTrigger setDeveloperConnectEventConfig(DeveloperConnectEventConfig developerConnectEventConfig) {
385+
this.developerConnectEventConfig = developerConnectEventConfig;
386+
return this;
387+
}
388+
362389
/**
363390
* If true, the trigger will never automatically execute a build.
364391
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,142 @@
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+
* The configuration of a trigger that creates a build whenever an event from the DeveloperConnect
21+
* API is received.
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 Build 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 DeveloperConnectEventConfig extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Required. The Developer Connect Git repository link, formatted as
35+
* `projects/locations/connections/gitRepositoryLink`.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String gitRepositoryLink;
40+
41+
/**
42+
* Output only. The type of DeveloperConnect GitRepositoryLink.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.lang.String gitRepositoryLinkType;
47+
48+
/**
49+
* Filter to match changes in pull requests.
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key
53+
private PullRequestFilter pullRequest;
54+
55+
/**
56+
* Filter to match changes in refs like branches and tags.
57+
* The value may be {@code null}.
58+
*/
59+
@com.google.api.client.util.Key
60+
private PushFilter push;
61+
62+
/**
63+
* Required. The Developer Connect Git repository link, formatted as
64+
* `projects/locations/connections/gitRepositoryLink`.
65+
* @return value or {@code null} for none
66+
*/
67+
public java.lang.String getGitRepositoryLink() {
68+
return gitRepositoryLink;
69+
}
70+
71+
/**
72+
* Required. The Developer Connect Git repository link, formatted as
73+
* `projects/locations/connections/gitRepositoryLink`.
74+
* @param gitRepositoryLink gitRepositoryLink or {@code null} for none
75+
*/
76+
public DeveloperConnectEventConfig setGitRepositoryLink(java.lang.String gitRepositoryLink) {
77+
this.gitRepositoryLink = gitRepositoryLink;
78+
return this;
79+
}
80+
81+
/**
82+
* Output only. The type of DeveloperConnect GitRepositoryLink.
83+
* @return value or {@code null} for none
84+
*/
85+
public java.lang.String getGitRepositoryLinkType() {
86+
return gitRepositoryLinkType;
87+
}
88+
89+
/**
90+
* Output only. The type of DeveloperConnect GitRepositoryLink.
91+
* @param gitRepositoryLinkType gitRepositoryLinkType or {@code null} for none
92+
*/
93+
public DeveloperConnectEventConfig setGitRepositoryLinkType(java.lang.String gitRepositoryLinkType) {
94+
this.gitRepositoryLinkType = gitRepositoryLinkType;
95+
return this;
96+
}
97+
98+
/**
99+
* Filter to match changes in pull requests.
100+
* @return value or {@code null} for none
101+
*/
102+
public PullRequestFilter getPullRequest() {
103+
return pullRequest;
104+
}
105+
106+
/**
107+
* Filter to match changes in pull requests.
108+
* @param pullRequest pullRequest or {@code null} for none
109+
*/
110+
public DeveloperConnectEventConfig setPullRequest(PullRequestFilter pullRequest) {
111+
this.pullRequest = pullRequest;
112+
return this;
113+
}
114+
115+
/**
116+
* Filter to match changes in refs like branches and tags.
117+
* @return value or {@code null} for none
118+
*/
119+
public PushFilter getPush() {
120+
return push;
121+
}
122+
123+
/**
124+
* Filter to match changes in refs like branches and tags.
125+
* @param push push or {@code null} for none
126+
*/
127+
public DeveloperConnectEventConfig setPush(PushFilter push) {
128+
this.push = push;
129+
return this;
130+
}
131+
132+
@Override
133+
public DeveloperConnectEventConfig set(String fieldName, Object value) {
134+
return (DeveloperConnectEventConfig) super.set(fieldName, value);
135+
}
136+
137+
@Override
138+
public DeveloperConnectEventConfig clone() {
139+
return (DeveloperConnectEventConfig) super.clone();
140+
}
141+
142+
}

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ public final class MavenArtifact extends com.google.api.client.json.GenericJson
4444
private java.lang.String groupId;
4545

4646
/**
47-
* Path to an artifact in the build's workspace to be uploaded to Artifact Registry. This can be
48-
* either an absolute path, e.g. /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a relative
49-
* path from /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar.
47+
* Optional. Path to an artifact in the build's workspace to be uploaded to Artifact Registry.
48+
* This can be either an absolute path, e.g. /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a
49+
* relative path from /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar.
5050
* The value may be {@code null}.
5151
*/
5252
@com.google.api.client.util.Key
@@ -103,19 +103,19 @@ public MavenArtifact setGroupId(java.lang.String groupId) {
103103
}
104104

105105
/**
106-
* Path to an artifact in the build's workspace to be uploaded to Artifact Registry. This can be
107-
* either an absolute path, e.g. /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a relative
108-
* path from /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar.
106+
* Optional. Path to an artifact in the build's workspace to be uploaded to Artifact Registry.
107+
* This can be either an absolute path, e.g. /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a
108+
* relative path from /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar.
109109
* @return value or {@code null} for none
110110
*/
111111
public java.lang.String getPath() {
112112
return path;
113113
}
114114

115115
/**
116-
* Path to an artifact in the build's workspace to be uploaded to Artifact Registry. This can be
117-
* either an absolute path, e.g. /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a relative
118-
* path from /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar.
116+
* Optional. Path to an artifact in the build's workspace to be uploaded to Artifact Registry.
117+
* This can be either an absolute path, e.g. /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a
118+
* relative path from /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar.
119119
* @param path path or {@code null} for none
120120
*/
121121
public MavenArtifact setPath(java.lang.String path) {

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public final class WorkerPool extends com.google.api.client.json.GenericJson {
8484
private java.lang.String name;
8585

8686
/**
87-
* Legacy Private Pool configuration.
87+
* Private Pool configuration.
8888
* The value may be {@code null}.
8989
*/
9090
@com.google.api.client.util.Key
@@ -226,15 +226,15 @@ public WorkerPool setName(java.lang.String name) {
226226
}
227227

228228
/**
229-
* Legacy Private Pool configuration.
229+
* Private Pool configuration.
230230
* @return value or {@code null} for none
231231
*/
232232
public PrivatePoolV1Config getPrivatePoolV1Config() {
233233
return privatePoolV1Config;
234234
}
235235

236236
/**
237-
* Legacy Private Pool configuration.
237+
* Private Pool configuration.
238238
* @param privatePoolV1Config privatePoolV1Config or {@code null} for none
239239
*/
240240
public WorkerPool setPrivatePoolV1Config(PrivatePoolV1Config privatePoolV1Config) {

clients/google-api-services-cloudbuild/v1/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-cloudbuild</artifactId>
11-
<version>v1-rev20250418-2.0.0</version>
12-
<name>Cloud Build API v1-rev20250418-2.0.0</name>
11+
<version>v1-rev20250514-2.0.0</version>
12+
<name>Cloud Build API v1-rev20250514-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

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

0 commit comments

Comments
 (0)