Skip to content

Commit 809f89b

Browse files
1 parent 53dcb41 commit 809f89b

File tree

14 files changed

+513
-12
lines changed

14 files changed

+513
-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-rev20240305-2.0.0</version>
25+
<version>v1-rev20240427-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-rev20240305-2.0.0'
38+
implementation 'com.google.apis:google-api-services-cloudbuild:v1-rev20240427-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
@@ -90,6 +90,13 @@ public final class Build extends com.google.api.client.json.GenericJson {
9090
@com.google.api.client.util.Key
9191
private String finishTime;
9292

93+
/**
94+
* Optional. Configuration for git operations.
95+
* The value may be {@code null}.
96+
*/
97+
@com.google.api.client.util.Key
98+
private GitConfig gitConfig;
99+
93100
/**
94101
* Output only. Unique identifier of the build.
95102
* The value may be {@code null}.
@@ -388,6 +395,23 @@ public Build setFinishTime(String finishTime) {
388395
return this;
389396
}
390397

398+
/**
399+
* Optional. Configuration for git operations.
400+
* @return value or {@code null} for none
401+
*/
402+
public GitConfig getGitConfig() {
403+
return gitConfig;
404+
}
405+
406+
/**
407+
* Optional. Configuration for git operations.
408+
* @param gitConfig gitConfig or {@code null} for none
409+
*/
410+
public Build setGitConfig(GitConfig gitConfig) {
411+
this.gitConfig = gitConfig;
412+
return this;
413+
}
414+
391415
/**
392416
* Output only. Unique identifier of the build.
393417
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
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+
* This config defines the location of a source through Developer Connect.
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 DeveloperConnectConfig extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Required. Directory, relative to the source root, in which to run the build.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String dir;
38+
39+
/**
40+
* Required. The Developer Connect Git repository link, formatted as
41+
* `projects/locations/connections/gitRepositoryLink`.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.String gitRepositoryLink;
46+
47+
/**
48+
* Required. The revision to fetch from the Git repository such as a branch, a tag, a commit SHA,
49+
* or any Git ref.
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key
53+
private java.lang.String revision;
54+
55+
/**
56+
* Required. Directory, relative to the source root, in which to run the build.
57+
* @return value or {@code null} for none
58+
*/
59+
public java.lang.String getDir() {
60+
return dir;
61+
}
62+
63+
/**
64+
* Required. Directory, relative to the source root, in which to run the build.
65+
* @param dir dir or {@code null} for none
66+
*/
67+
public DeveloperConnectConfig setDir(java.lang.String dir) {
68+
this.dir = dir;
69+
return this;
70+
}
71+
72+
/**
73+
* Required. The Developer Connect Git repository link, formatted as
74+
* `projects/locations/connections/gitRepositoryLink`.
75+
* @return value or {@code null} for none
76+
*/
77+
public java.lang.String getGitRepositoryLink() {
78+
return gitRepositoryLink;
79+
}
80+
81+
/**
82+
* Required. The Developer Connect Git repository link, formatted as
83+
* `projects/locations/connections/gitRepositoryLink`.
84+
* @param gitRepositoryLink gitRepositoryLink or {@code null} for none
85+
*/
86+
public DeveloperConnectConfig setGitRepositoryLink(java.lang.String gitRepositoryLink) {
87+
this.gitRepositoryLink = gitRepositoryLink;
88+
return this;
89+
}
90+
91+
/**
92+
* Required. The revision to fetch from the Git repository such as a branch, a tag, a commit SHA,
93+
* or any Git ref.
94+
* @return value or {@code null} for none
95+
*/
96+
public java.lang.String getRevision() {
97+
return revision;
98+
}
99+
100+
/**
101+
* Required. The revision to fetch from the Git repository such as a branch, a tag, a commit SHA,
102+
* or any Git ref.
103+
* @param revision revision or {@code null} for none
104+
*/
105+
public DeveloperConnectConfig setRevision(java.lang.String revision) {
106+
this.revision = revision;
107+
return this;
108+
}
109+
110+
@Override
111+
public DeveloperConnectConfig set(String fieldName, Object value) {
112+
return (DeveloperConnectConfig) super.set(fieldName, value);
113+
}
114+
115+
@Override
116+
public DeveloperConnectConfig clone() {
117+
return (DeveloperConnectConfig) super.clone();
118+
}
119+
120+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
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+
* GitConfig is a configuration for git operations.
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 GitConfig extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Configuration for HTTP related git operations.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private HttpConfig http;
38+
39+
/**
40+
* Configuration for HTTP related git operations.
41+
* @return value or {@code null} for none
42+
*/
43+
public HttpConfig getHttp() {
44+
return http;
45+
}
46+
47+
/**
48+
* Configuration for HTTP related git operations.
49+
* @param http http or {@code null} for none
50+
*/
51+
public GitConfig setHttp(HttpConfig http) {
52+
this.http = http;
53+
return this;
54+
}
55+
56+
@Override
57+
public GitConfig set(String fieldName, Object value) {
58+
return (GitConfig) super.set(fieldName, value);
59+
}
60+
61+
@Override
62+
public GitConfig clone() {
63+
return (GitConfig) super.clone();
64+
}
65+
66+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
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+
* HttpConfig is a configuration for HTTP related git operations.
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 HttpConfig extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* SecretVersion resource of the HTTP proxy URL. The proxy URL should be in format
34+
* protocol://@]proxyhost[:port].
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String proxySecretVersionName;
39+
40+
/**
41+
* SecretVersion resource of the HTTP proxy URL. The proxy URL should be in format
42+
* protocol://@]proxyhost[:port].
43+
* @return value or {@code null} for none
44+
*/
45+
public java.lang.String getProxySecretVersionName() {
46+
return proxySecretVersionName;
47+
}
48+
49+
/**
50+
* SecretVersion resource of the HTTP proxy URL. The proxy URL should be in format
51+
* protocol://@]proxyhost[:port].
52+
* @param proxySecretVersionName proxySecretVersionName or {@code null} for none
53+
*/
54+
public HttpConfig setProxySecretVersionName(java.lang.String proxySecretVersionName) {
55+
this.proxySecretVersionName = proxySecretVersionName;
56+
return this;
57+
}
58+
59+
@Override
60+
public HttpConfig set(String fieldName, Object value) {
61+
return (HttpConfig) super.set(fieldName, value);
62+
}
63+
64+
@Override
65+
public HttpConfig clone() {
66+
return (HttpConfig) super.clone();
67+
}
68+
69+
}

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@ public final class Source extends com.google.api.client.json.GenericJson {
3636
@com.google.api.client.util.Key
3737
private ConnectedRepository connectedRepository;
3838

39+
/**
40+
* If provided, get the source from this Developer Connect config.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private DeveloperConnectConfig developerConnectConfig;
45+
3946
/**
4047
* If provided, get the source from this Git repository.
4148
* The value may be {@code null}.
@@ -83,6 +90,23 @@ public Source setConnectedRepository(ConnectedRepository connectedRepository) {
8390
return this;
8491
}
8592

93+
/**
94+
* If provided, get the source from this Developer Connect config.
95+
* @return value or {@code null} for none
96+
*/
97+
public DeveloperConnectConfig getDeveloperConnectConfig() {
98+
return developerConnectConfig;
99+
}
100+
101+
/**
102+
* If provided, get the source from this Developer Connect config.
103+
* @param developerConnectConfig developerConnectConfig or {@code null} for none
104+
*/
105+
public Source setDeveloperConnectConfig(DeveloperConnectConfig developerConnectConfig) {
106+
this.developerConnectConfig = developerConnectConfig;
107+
return this;
108+
}
109+
86110
/**
87111
* If provided, get the source from this Git repository.
88112
* @return value or {@code null} for none

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-rev20240305-2.0.0</version>
12-
<name>Cloud Build API v1-rev20240305-2.0.0</name>
11+
<version>v1-rev20240427-2.0.0</version>
12+
<name>Cloud Build API v1-rev20240427-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-rev20240305-2.0.0</version>
25+
<version>v1-rev20240427-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-rev20240305-2.0.0'
38+
implementation 'com.google.apis:google-api-services-cloudbuild:v1-rev20240427-2.0.0'
3939
}
4040
```
4141

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

0 commit comments

Comments
 (0)