Skip to content

Commit 308208a

Browse files
1 parent aba8c19 commit 308208a

24 files changed

+1206
-18
lines changed

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

clients/google-api-services-containeranalysis/v1/2.0.0/com/google/api/services/containeranalysis/v1/model/ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts.java

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

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

92+
/**
93+
* Optional. A list of Go modules to be uploaded to Artifact Registry upon successful completion
94+
* of all build steps. If any objects fail to be pushed, the build is marked FAILURE.
95+
* @return value or {@code null} for none
96+
*/
97+
public java.util.List<ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule> getGoModules() {
98+
return goModules;
99+
}
100+
101+
/**
102+
* Optional. A list of Go modules to be uploaded to Artifact Registry upon successful completion
103+
* of all build steps. If any objects fail to be pushed, the build is marked FAILURE.
104+
* @param goModules goModules or {@code null} for none
105+
*/
106+
public ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts setGoModules(java.util.List<ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule> goModules) {
107+
this.goModules = goModules;
108+
return this;
109+
}
110+
84111
/**
85112
* A list of images to be pushed upon the successful completion of all build steps. The images
86113
* will be pushed using the builder service account's credentials. The digests of the pushed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,203 @@
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.containeranalysis.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 Container Analysis API. For a detailed explanation
25+
* see:
26+
* <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>
27+
* </p>
28+
*
29+
* @author Google, Inc.
30+
*/
31+
@SuppressWarnings("javadoc")
32+
public final class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule extends com.google.api.client.json.GenericJson {
33+
34+
/**
35+
* Optional. The Go module's "module path". e.g. example.com/foo/v2
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String modulePath;
40+
41+
/**
42+
* Optional. The Go module's semantic version in the form vX.Y.Z. e.g. v0.1.1 Pre-release
43+
* identifiers can also be added by appending a dash and dot separated ASCII alphanumeric
44+
* characters and hyphens. e.g. v0.2.3-alpha.x.12m.5
45+
* The value may be {@code null}.
46+
*/
47+
@com.google.api.client.util.Key
48+
private java.lang.String moduleVersion;
49+
50+
/**
51+
* Optional. Location of the Artifact Registry repository. i.e. us-east1 Defaults to the build’s
52+
* location.
53+
* The value may be {@code null}.
54+
*/
55+
@com.google.api.client.util.Key
56+
private java.lang.String repositoryLocation;
57+
58+
/**
59+
* Optional. Artifact Registry repository name. Specified Go modules will be zipped and uploaded
60+
* to Artifact Registry with this location as a prefix. e.g. my-go-repo
61+
* The value may be {@code null}.
62+
*/
63+
@com.google.api.client.util.Key
64+
private java.lang.String repositoryName;
65+
66+
/**
67+
* Optional. Project ID of the Artifact Registry repository. Defaults to the build project.
68+
* The value may be {@code null}.
69+
*/
70+
@com.google.api.client.util.Key
71+
private java.lang.String repositoryProjectId;
72+
73+
/**
74+
* Optional. Source path of the go.mod file in the build's workspace. If not specified, this will
75+
* default to the current directory. e.g. ~/code/go/mypackage
76+
* The value may be {@code null}.
77+
*/
78+
@com.google.api.client.util.Key
79+
private java.lang.String sourcePath;
80+
81+
/**
82+
* Optional. The Go module's "module path". e.g. example.com/foo/v2
83+
* @return value or {@code null} for none
84+
*/
85+
public java.lang.String getModulePath() {
86+
return modulePath;
87+
}
88+
89+
/**
90+
* Optional. The Go module's "module path". e.g. example.com/foo/v2
91+
* @param modulePath modulePath or {@code null} for none
92+
*/
93+
public ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule setModulePath(java.lang.String modulePath) {
94+
this.modulePath = modulePath;
95+
return this;
96+
}
97+
98+
/**
99+
* Optional. The Go module's semantic version in the form vX.Y.Z. e.g. v0.1.1 Pre-release
100+
* identifiers can also be added by appending a dash and dot separated ASCII alphanumeric
101+
* characters and hyphens. e.g. v0.2.3-alpha.x.12m.5
102+
* @return value or {@code null} for none
103+
*/
104+
public java.lang.String getModuleVersion() {
105+
return moduleVersion;
106+
}
107+
108+
/**
109+
* Optional. The Go module's semantic version in the form vX.Y.Z. e.g. v0.1.1 Pre-release
110+
* identifiers can also be added by appending a dash and dot separated ASCII alphanumeric
111+
* characters and hyphens. e.g. v0.2.3-alpha.x.12m.5
112+
* @param moduleVersion moduleVersion or {@code null} for none
113+
*/
114+
public ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule setModuleVersion(java.lang.String moduleVersion) {
115+
this.moduleVersion = moduleVersion;
116+
return this;
117+
}
118+
119+
/**
120+
* Optional. Location of the Artifact Registry repository. i.e. us-east1 Defaults to the build’s
121+
* location.
122+
* @return value or {@code null} for none
123+
*/
124+
public java.lang.String getRepositoryLocation() {
125+
return repositoryLocation;
126+
}
127+
128+
/**
129+
* Optional. Location of the Artifact Registry repository. i.e. us-east1 Defaults to the build’s
130+
* location.
131+
* @param repositoryLocation repositoryLocation or {@code null} for none
132+
*/
133+
public ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule setRepositoryLocation(java.lang.String repositoryLocation) {
134+
this.repositoryLocation = repositoryLocation;
135+
return this;
136+
}
137+
138+
/**
139+
* Optional. Artifact Registry repository name. Specified Go modules will be zipped and uploaded
140+
* to Artifact Registry with this location as a prefix. e.g. my-go-repo
141+
* @return value or {@code null} for none
142+
*/
143+
public java.lang.String getRepositoryName() {
144+
return repositoryName;
145+
}
146+
147+
/**
148+
* Optional. Artifact Registry repository name. Specified Go modules will be zipped and uploaded
149+
* to Artifact Registry with this location as a prefix. e.g. my-go-repo
150+
* @param repositoryName repositoryName or {@code null} for none
151+
*/
152+
public ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule setRepositoryName(java.lang.String repositoryName) {
153+
this.repositoryName = repositoryName;
154+
return this;
155+
}
156+
157+
/**
158+
* Optional. Project ID of the Artifact Registry repository. Defaults to the build project.
159+
* @return value or {@code null} for none
160+
*/
161+
public java.lang.String getRepositoryProjectId() {
162+
return repositoryProjectId;
163+
}
164+
165+
/**
166+
* Optional. Project ID of the Artifact Registry repository. Defaults to the build project.
167+
* @param repositoryProjectId repositoryProjectId or {@code null} for none
168+
*/
169+
public ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule setRepositoryProjectId(java.lang.String repositoryProjectId) {
170+
this.repositoryProjectId = repositoryProjectId;
171+
return this;
172+
}
173+
174+
/**
175+
* Optional. Source path of the go.mod file in the build's workspace. If not specified, this will
176+
* default to the current directory. e.g. ~/code/go/mypackage
177+
* @return value or {@code null} for none
178+
*/
179+
public java.lang.String getSourcePath() {
180+
return sourcePath;
181+
}
182+
183+
/**
184+
* Optional. Source path of the go.mod file in the build's workspace. If not specified, this will
185+
* default to the current directory. e.g. ~/code/go/mypackage
186+
* @param sourcePath sourcePath or {@code null} for none
187+
*/
188+
public ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule setSourcePath(java.lang.String sourcePath) {
189+
this.sourcePath = sourcePath;
190+
return this;
191+
}
192+
193+
@Override
194+
public ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule set(String fieldName, Object value) {
195+
return (ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule) super.set(fieldName, value);
196+
}
197+
198+
@Override
199+
public ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule clone() {
200+
return (ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule) super.clone();
201+
}
202+
203+
}

clients/google-api-services-containeranalysis/v1/2.0.0/com/google/api/services/containeranalysis/v1/model/ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions.java

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

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

245+
/**
246+
* Optional. Option to specify whether structured logging is enabled. If true, JSON-formatted logs
247+
* are parsed as structured logs.
248+
* @return value or {@code null} for none
249+
*/
250+
public java.lang.Boolean getEnableStructuredLogging() {
251+
return enableStructuredLogging;
252+
}
253+
254+
/**
255+
* Optional. Option to specify whether structured logging is enabled. If true, JSON-formatted logs
256+
* are parsed as structured logs.
257+
* @param enableStructuredLogging enableStructuredLogging or {@code null} for none
258+
*/
259+
public ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions setEnableStructuredLogging(java.lang.Boolean enableStructuredLogging) {
260+
this.enableStructuredLogging = enableStructuredLogging;
261+
return this;
262+
}
263+
237264
/**
238265
* A list of global environment variable definitions that will exist for all build steps in this
239266
* build. If a variable is defined in both globally and in a build step, the variable will use the

clients/google-api-services-containeranalysis/v1/2.0.0/com/google/api/services/containeranalysis/v1/model/ContaineranalysisGoogleDevtoolsCloudbuildV1Results.java

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

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

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

0 commit comments

Comments
 (0)