Skip to content

Commit 441fe4c

Browse files
1 parent 7d5d050 commit 441fe4c

20 files changed

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

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
@@ -90,6 +90,13 @@ public final class GoogleDevtoolsCloudbuildV1Build extends com.google.api.client
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 GoogleDevtoolsCloudbuildV1GitConfig gitConfig;
99+
93100
/**
94101
* Output only. Unique identifier of the build.
95102
* The value may be {@code null}.
@@ -388,6 +395,23 @@ public GoogleDevtoolsCloudbuildV1Build 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 GoogleDevtoolsCloudbuildV1GitConfig 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 GoogleDevtoolsCloudbuildV1Build setGitConfig(GoogleDevtoolsCloudbuildV1GitConfig 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.run.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 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 GoogleDevtoolsCloudbuildV1DeveloperConnectConfig 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 GoogleDevtoolsCloudbuildV1DeveloperConnectConfig 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 GoogleDevtoolsCloudbuildV1DeveloperConnectConfig 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 GoogleDevtoolsCloudbuildV1DeveloperConnectConfig setRevision(java.lang.String revision) {
106+
this.revision = revision;
107+
return this;
108+
}
109+
110+
@Override
111+
public GoogleDevtoolsCloudbuildV1DeveloperConnectConfig set(String fieldName, Object value) {
112+
return (GoogleDevtoolsCloudbuildV1DeveloperConnectConfig) super.set(fieldName, value);
113+
}
114+
115+
@Override
116+
public GoogleDevtoolsCloudbuildV1DeveloperConnectConfig clone() {
117+
return (GoogleDevtoolsCloudbuildV1DeveloperConnectConfig) 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.run.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 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 GoogleDevtoolsCloudbuildV1GitConfig 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 GoogleDevtoolsCloudbuildV1HttpConfig http;
38+
39+
/**
40+
* Configuration for HTTP related git operations.
41+
* @return value or {@code null} for none
42+
*/
43+
public GoogleDevtoolsCloudbuildV1HttpConfig 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 GoogleDevtoolsCloudbuildV1GitConfig setHttp(GoogleDevtoolsCloudbuildV1HttpConfig http) {
52+
this.http = http;
53+
return this;
54+
}
55+
56+
@Override
57+
public GoogleDevtoolsCloudbuildV1GitConfig set(String fieldName, Object value) {
58+
return (GoogleDevtoolsCloudbuildV1GitConfig) super.set(fieldName, value);
59+
}
60+
61+
@Override
62+
public GoogleDevtoolsCloudbuildV1GitConfig clone() {
63+
return (GoogleDevtoolsCloudbuildV1GitConfig) 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.run.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 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 GoogleDevtoolsCloudbuildV1HttpConfig 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 GoogleDevtoolsCloudbuildV1HttpConfig setProxySecretVersionName(java.lang.String proxySecretVersionName) {
55+
this.proxySecretVersionName = proxySecretVersionName;
56+
return this;
57+
}
58+
59+
@Override
60+
public GoogleDevtoolsCloudbuildV1HttpConfig set(String fieldName, Object value) {
61+
return (GoogleDevtoolsCloudbuildV1HttpConfig) super.set(fieldName, value);
62+
}
63+
64+
@Override
65+
public GoogleDevtoolsCloudbuildV1HttpConfig clone() {
66+
return (GoogleDevtoolsCloudbuildV1HttpConfig) super.clone();
67+
}
68+
69+
}

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@ public final class GoogleDevtoolsCloudbuildV1Source extends com.google.api.clien
3636
@com.google.api.client.util.Key
3737
private GoogleDevtoolsCloudbuildV1ConnectedRepository 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 GoogleDevtoolsCloudbuildV1DeveloperConnectConfig 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 GoogleDevtoolsCloudbuildV1Source setConnectedRepository(GoogleDevtoolsClo
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 GoogleDevtoolsCloudbuildV1DeveloperConnectConfig 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 GoogleDevtoolsCloudbuildV1Source setDeveloperConnectConfig(GoogleDevtoolsCloudbuildV1DeveloperConnectConfig 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-run/v1/2.0.0/com/google/api/services/run/v1/model/RevisionSpec.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,13 @@ public final class RevisionSpec extends com.google.api.client.json.GenericJson {
7272
com.google.api.client.util.Data.nullOf(LocalObjectReference.class);
7373
}
7474

75+
/**
76+
* Optional. The Node Selector configuration. Map of selector key to a value which matches a node.
77+
* The value may be {@code null}.
78+
*/
79+
@com.google.api.client.util.Key
80+
private java.util.Map<String, java.lang.String> nodeSelector;
81+
7582
/**
7683
* Email address of the IAM service account associated with the revision of the service. The
7784
* service account represents the identity of the running revision, and determines what
@@ -170,6 +177,23 @@ public RevisionSpec setImagePullSecrets(java.util.List<LocalObjectReference> ima
170177
return this;
171178
}
172179

180+
/**
181+
* Optional. The Node Selector configuration. Map of selector key to a value which matches a node.
182+
* @return value or {@code null} for none
183+
*/
184+
public java.util.Map<String, java.lang.String> getNodeSelector() {
185+
return nodeSelector;
186+
}
187+
188+
/**
189+
* Optional. The Node Selector configuration. Map of selector key to a value which matches a node.
190+
* @param nodeSelector nodeSelector or {@code null} for none
191+
*/
192+
public RevisionSpec setNodeSelector(java.util.Map<String, java.lang.String> nodeSelector) {
193+
this.nodeSelector = nodeSelector;
194+
return this;
195+
}
196+
173197
/**
174198
* Email address of the IAM service account associated with the revision of the service. The
175199
* service account represents the identity of the running revision, and determines what

0 commit comments

Comments
 (0)