Skip to content

Commit d9f633f

Browse files
1 parent 9a83cb7 commit d9f633f

File tree

8 files changed

+400
-6
lines changed

8 files changed

+400
-6
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-rev20241004-2.0.0</version>
25+
<version>v1-rev20250117-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-rev20241004-2.0.0'
38+
implementation 'com.google.apis:google-api-services-run:v1-rev20250117-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,14 @@
3030
@SuppressWarnings("javadoc")
3131
public final class GoogleDevtoolsCloudbuildV1Artifacts extends com.google.api.client.json.GenericJson {
3232

33+
/**
34+
* Optional. A list of Go modules to be uploaded to Artifact Registry upon successful completion
35+
* of all build steps. If any objects fail to be pushed, the build is marked FAILURE.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.util.List<GoogleDevtoolsCloudbuildV1GoModule> goModules;
40+
3341
/**
3442
* A list of images to be pushed upon the successful completion of all build steps. The images
3543
* will be pushed using the builder service account's credentials. The digests of the pushed
@@ -80,6 +88,25 @@ public final class GoogleDevtoolsCloudbuildV1Artifacts extends com.google.api.cl
8088
@com.google.api.client.util.Key
8189
private java.util.List<GoogleDevtoolsCloudbuildV1PythonPackage> pythonPackages;
8290

91+
/**
92+
* Optional. A list of Go modules to be uploaded to Artifact Registry upon successful completion
93+
* of all build steps. If any objects fail to be pushed, the build is marked FAILURE.
94+
* @return value or {@code null} for none
95+
*/
96+
public java.util.List<GoogleDevtoolsCloudbuildV1GoModule> getGoModules() {
97+
return goModules;
98+
}
99+
100+
/**
101+
* Optional. A list of Go modules to be uploaded to Artifact Registry upon successful completion
102+
* of all build steps. If any objects fail to be pushed, the build is marked FAILURE.
103+
* @param goModules goModules or {@code null} for none
104+
*/
105+
public GoogleDevtoolsCloudbuildV1Artifacts setGoModules(java.util.List<GoogleDevtoolsCloudbuildV1GoModule> goModules) {
106+
this.goModules = goModules;
107+
return this;
108+
}
109+
83110
/**
84111
* A list of images to be pushed upon the successful completion of all build steps. The images
85112
* will be pushed using the builder service account's credentials. The digests of the pushed

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,14 @@ public final class GoogleDevtoolsCloudbuildV1BuildOptions extends com.google.api
6363
@com.google.api.client.util.Key
6464
private java.lang.Boolean dynamicSubstitutions;
6565

66+
/**
67+
* Optional. Option to specify whether structured logging is enabled. If true, JSON-formatted logs
68+
* are parsed as structured logs.
69+
* The value may be {@code null}.
70+
*/
71+
@com.google.api.client.util.Key
72+
private java.lang.Boolean enableStructuredLogging;
73+
6674
/**
6775
* A list of global environment variable definitions that will exist for all build steps in this
6876
* build. If a variable is defined in both globally and in a build step, the variable will use the
@@ -233,6 +241,25 @@ public GoogleDevtoolsCloudbuildV1BuildOptions setDynamicSubstitutions(java.lang.
233241
return this;
234242
}
235243

244+
/**
245+
* Optional. Option to specify whether structured logging is enabled. If true, JSON-formatted logs
246+
* are parsed as structured logs.
247+
* @return value or {@code null} for none
248+
*/
249+
public java.lang.Boolean getEnableStructuredLogging() {
250+
return enableStructuredLogging;
251+
}
252+
253+
/**
254+
* Optional. Option to specify whether structured logging is enabled. If true, JSON-formatted logs
255+
* are parsed as structured logs.
256+
* @param enableStructuredLogging enableStructuredLogging or {@code null} for none
257+
*/
258+
public GoogleDevtoolsCloudbuildV1BuildOptions setEnableStructuredLogging(java.lang.Boolean enableStructuredLogging) {
259+
this.enableStructuredLogging = enableStructuredLogging;
260+
return this;
261+
}
262+
236263
/**
237264
* A list of global environment variable definitions that will exist for all build steps in this
238265
* build. If a variable is defined in both globally and in a build step, the variable will use the
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,202 @@
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+
* Go module to upload to Artifact Registry upon successful completion of all build steps. A module
21+
* refers to all dependencies in a go.mod file.
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 Run Admin 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 GoogleDevtoolsCloudbuildV1GoModule extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Optional. The Go module's "module path". e.g. example.com/foo/v2
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String modulePath;
39+
40+
/**
41+
* Optional. The Go module's semantic version in the form vX.Y.Z. e.g. v0.1.1 Pre-release
42+
* identifiers can also be added by appending a dash and dot separated ASCII alphanumeric
43+
* characters and hyphens. e.g. v0.2.3-alpha.x.12m.5
44+
* The value may be {@code null}.
45+
*/
46+
@com.google.api.client.util.Key
47+
private java.lang.String moduleVersion;
48+
49+
/**
50+
* Optional. Location of the Artifact Registry repository. i.e. us-east1 Defaults to the build’s
51+
* location.
52+
* The value may be {@code null}.
53+
*/
54+
@com.google.api.client.util.Key
55+
private java.lang.String repositoryLocation;
56+
57+
/**
58+
* Optional. Artifact Registry repository name. Specified Go modules will be zipped and uploaded
59+
* to Artifact Registry with this location as a prefix. e.g. my-go-repo
60+
* The value may be {@code null}.
61+
*/
62+
@com.google.api.client.util.Key
63+
private java.lang.String repositoryName;
64+
65+
/**
66+
* Optional. Project ID of the Artifact Registry repository. Defaults to the build project.
67+
* The value may be {@code null}.
68+
*/
69+
@com.google.api.client.util.Key
70+
private java.lang.String repositoryProjectId;
71+
72+
/**
73+
* Optional. Source path of the go.mod file in the build's workspace. If not specified, this will
74+
* default to the current directory. e.g. ~/code/go/mypackage
75+
* The value may be {@code null}.
76+
*/
77+
@com.google.api.client.util.Key
78+
private java.lang.String sourcePath;
79+
80+
/**
81+
* Optional. The Go module's "module path". e.g. example.com/foo/v2
82+
* @return value or {@code null} for none
83+
*/
84+
public java.lang.String getModulePath() {
85+
return modulePath;
86+
}
87+
88+
/**
89+
* Optional. The Go module's "module path". e.g. example.com/foo/v2
90+
* @param modulePath modulePath or {@code null} for none
91+
*/
92+
public GoogleDevtoolsCloudbuildV1GoModule setModulePath(java.lang.String modulePath) {
93+
this.modulePath = modulePath;
94+
return this;
95+
}
96+
97+
/**
98+
* Optional. The Go module's semantic version in the form vX.Y.Z. e.g. v0.1.1 Pre-release
99+
* identifiers can also be added by appending a dash and dot separated ASCII alphanumeric
100+
* characters and hyphens. e.g. v0.2.3-alpha.x.12m.5
101+
* @return value or {@code null} for none
102+
*/
103+
public java.lang.String getModuleVersion() {
104+
return moduleVersion;
105+
}
106+
107+
/**
108+
* Optional. The Go module's semantic version in the form vX.Y.Z. e.g. v0.1.1 Pre-release
109+
* identifiers can also be added by appending a dash and dot separated ASCII alphanumeric
110+
* characters and hyphens. e.g. v0.2.3-alpha.x.12m.5
111+
* @param moduleVersion moduleVersion or {@code null} for none
112+
*/
113+
public GoogleDevtoolsCloudbuildV1GoModule setModuleVersion(java.lang.String moduleVersion) {
114+
this.moduleVersion = moduleVersion;
115+
return this;
116+
}
117+
118+
/**
119+
* Optional. Location of the Artifact Registry repository. i.e. us-east1 Defaults to the build’s
120+
* location.
121+
* @return value or {@code null} for none
122+
*/
123+
public java.lang.String getRepositoryLocation() {
124+
return repositoryLocation;
125+
}
126+
127+
/**
128+
* Optional. Location of the Artifact Registry repository. i.e. us-east1 Defaults to the build’s
129+
* location.
130+
* @param repositoryLocation repositoryLocation or {@code null} for none
131+
*/
132+
public GoogleDevtoolsCloudbuildV1GoModule setRepositoryLocation(java.lang.String repositoryLocation) {
133+
this.repositoryLocation = repositoryLocation;
134+
return this;
135+
}
136+
137+
/**
138+
* Optional. Artifact Registry repository name. Specified Go modules will be zipped and uploaded
139+
* to Artifact Registry with this location as a prefix. e.g. my-go-repo
140+
* @return value or {@code null} for none
141+
*/
142+
public java.lang.String getRepositoryName() {
143+
return repositoryName;
144+
}
145+
146+
/**
147+
* Optional. Artifact Registry repository name. Specified Go modules will be zipped and uploaded
148+
* to Artifact Registry with this location as a prefix. e.g. my-go-repo
149+
* @param repositoryName repositoryName or {@code null} for none
150+
*/
151+
public GoogleDevtoolsCloudbuildV1GoModule setRepositoryName(java.lang.String repositoryName) {
152+
this.repositoryName = repositoryName;
153+
return this;
154+
}
155+
156+
/**
157+
* Optional. Project ID of the Artifact Registry repository. Defaults to the build project.
158+
* @return value or {@code null} for none
159+
*/
160+
public java.lang.String getRepositoryProjectId() {
161+
return repositoryProjectId;
162+
}
163+
164+
/**
165+
* Optional. Project ID of the Artifact Registry repository. Defaults to the build project.
166+
* @param repositoryProjectId repositoryProjectId or {@code null} for none
167+
*/
168+
public GoogleDevtoolsCloudbuildV1GoModule setRepositoryProjectId(java.lang.String repositoryProjectId) {
169+
this.repositoryProjectId = repositoryProjectId;
170+
return this;
171+
}
172+
173+
/**
174+
* Optional. Source path of the go.mod file in the build's workspace. If not specified, this will
175+
* default to the current directory. e.g. ~/code/go/mypackage
176+
* @return value or {@code null} for none
177+
*/
178+
public java.lang.String getSourcePath() {
179+
return sourcePath;
180+
}
181+
182+
/**
183+
* Optional. Source path of the go.mod file in the build's workspace. If not specified, this will
184+
* default to the current directory. e.g. ~/code/go/mypackage
185+
* @param sourcePath sourcePath or {@code null} for none
186+
*/
187+
public GoogleDevtoolsCloudbuildV1GoModule setSourcePath(java.lang.String sourcePath) {
188+
this.sourcePath = sourcePath;
189+
return this;
190+
}
191+
192+
@Override
193+
public GoogleDevtoolsCloudbuildV1GoModule set(String fieldName, Object value) {
194+
return (GoogleDevtoolsCloudbuildV1GoModule) super.set(fieldName, value);
195+
}
196+
197+
@Override
198+
public GoogleDevtoolsCloudbuildV1GoModule clone() {
199+
return (GoogleDevtoolsCloudbuildV1GoModule) super.clone();
200+
}
201+
202+
}

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,13 @@ public final class GoogleDevtoolsCloudbuildV1Results extends com.google.api.clie
6161
@com.google.api.client.util.Key
6262
private java.util.List<java.lang.String> buildStepOutputs;
6363

64+
/**
65+
* Optional. Go module artifacts uploaded to Artifact Registry at the end of the build.
66+
* The value may be {@code null}.
67+
*/
68+
@com.google.api.client.util.Key
69+
private java.util.List<GoogleDevtoolsCloudbuildV1UploadedGoModule> goModules;
70+
6471
/**
6572
* Container images that were built as a part of the build.
6673
* The value may be {@code null}.
@@ -179,6 +186,23 @@ public GoogleDevtoolsCloudbuildV1Results setBuildStepOutputs(java.util.List<java
179186
return this;
180187
}
181188

189+
/**
190+
* Optional. Go module artifacts uploaded to Artifact Registry at the end of the build.
191+
* @return value or {@code null} for none
192+
*/
193+
public java.util.List<GoogleDevtoolsCloudbuildV1UploadedGoModule> getGoModules() {
194+
return goModules;
195+
}
196+
197+
/**
198+
* Optional. Go module artifacts uploaded to Artifact Registry at the end of the build.
199+
* @param goModules goModules or {@code null} for none
200+
*/
201+
public GoogleDevtoolsCloudbuildV1Results setGoModules(java.util.List<GoogleDevtoolsCloudbuildV1UploadedGoModule> goModules) {
202+
this.goModules = goModules;
203+
return this;
204+
}
205+
182206
/**
183207
* Container images that were built as a part of the build.
184208
* @return value or {@code null} for none

0 commit comments

Comments
 (0)