Skip to content

Commit 3fe0855

Browse files
1 parent c1f1211 commit 3fe0855

10 files changed

+423
-30
lines changed

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

clients/google-api-services-run/v2/2.0.0/com/google/api/services/run/v2/model/GoogleCloudRunV2BuildConfig.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,9 @@ public final class GoogleCloudRunV2BuildConfig extends com.google.api.client.jso
9191
/**
9292
* Optional. Name of the Cloud Build Custom Worker Pool that should be used to build the Cloud Run
9393
* function. The format of this field is
94-
* `projects/{project}/locations/{region}/workerPools/{workerPool}` where {project} and {region}
95-
* are the project id and region respectively where the worker pool is defined and {workerPool} is
96-
* the short name of the worker pool.
94+
* `projects/{project}/locations/{region}/workerPools/{workerPool}` where `{project}` and
95+
* `{region}` are the project id and region respectively where the worker pool is defined and
96+
* `{workerPool}` is the short name of the worker pool.
9797
* The value may be {@code null}.
9898
*/
9999
@com.google.api.client.util.Key
@@ -244,9 +244,9 @@ public GoogleCloudRunV2BuildConfig setSourceLocation(java.lang.String sourceLoca
244244
/**
245245
* Optional. Name of the Cloud Build Custom Worker Pool that should be used to build the Cloud Run
246246
* function. The format of this field is
247-
* `projects/{project}/locations/{region}/workerPools/{workerPool}` where {project} and {region}
248-
* are the project id and region respectively where the worker pool is defined and {workerPool} is
249-
* the short name of the worker pool.
247+
* `projects/{project}/locations/{region}/workerPools/{workerPool}` where `{project}` and
248+
* `{region}` are the project id and region respectively where the worker pool is defined and
249+
* `{workerPool}` is the short name of the worker pool.
250250
* @return value or {@code null} for none
251251
*/
252252
public java.lang.String getWorkerPool() {
@@ -256,9 +256,9 @@ public java.lang.String getWorkerPool() {
256256
/**
257257
* Optional. Name of the Cloud Build Custom Worker Pool that should be used to build the Cloud Run
258258
* function. The format of this field is
259-
* `projects/{project}/locations/{region}/workerPools/{workerPool}` where {project} and {region}
260-
* are the project id and region respectively where the worker pool is defined and {workerPool} is
261-
* the short name of the worker pool.
259+
* `projects/{project}/locations/{region}/workerPools/{workerPool}` where `{project}` and
260+
* `{region}` are the project id and region respectively where the worker pool is defined and
261+
* `{workerPool}` is the short name of the worker pool.
262262
* @param workerPool workerPool or {@code null} for none
263263
*/
264264
public GoogleCloudRunV2BuildConfig setWorkerPool(java.lang.String workerPool) {

clients/google-api-services-run/v2/2.0.0/com/google/api/services/run/v2/model/GoogleCloudRunV2ExecutionTemplate.java

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,11 @@ public final class GoogleCloudRunV2ExecutionTemplate extends com.google.api.clie
5656
private java.util.Map<String, java.lang.String> labels;
5757

5858
/**
59-
* Specifies the maximum desired number of tasks the execution should run at given time. Must be
60-
* <= task_count. When the job is run, if this field is 0 or unset, the maximum possible value
61-
* will be used for that execution. The actual number of tasks running in steady state will be
62-
* less than this number when there are fewer tasks waiting to be completed remaining, i.e. when
63-
* the work left to do is less than max parallelism.
59+
* Optional. Specifies the maximum desired number of tasks the execution should run at given time.
60+
* When the job is run, if this field is 0 or unset, the maximum possible value will be used for
61+
* that execution. The actual number of tasks running in steady state will be less than this
62+
* number when there are fewer tasks waiting to be completed remaining, i.e. when the work left to
63+
* do is less than max parallelism.
6464
* The value may be {@code null}.
6565
*/
6666
@com.google.api.client.util.Key
@@ -141,23 +141,23 @@ public GoogleCloudRunV2ExecutionTemplate setLabels(java.util.Map<String, java.la
141141
}
142142

143143
/**
144-
* Specifies the maximum desired number of tasks the execution should run at given time. Must be
145-
* <= task_count. When the job is run, if this field is 0 or unset, the maximum possible value
146-
* will be used for that execution. The actual number of tasks running in steady state will be
147-
* less than this number when there are fewer tasks waiting to be completed remaining, i.e. when
148-
* the work left to do is less than max parallelism.
144+
* Optional. Specifies the maximum desired number of tasks the execution should run at given time.
145+
* When the job is run, if this field is 0 or unset, the maximum possible value will be used for
146+
* that execution. The actual number of tasks running in steady state will be less than this
147+
* number when there are fewer tasks waiting to be completed remaining, i.e. when the work left to
148+
* do is less than max parallelism.
149149
* @return value or {@code null} for none
150150
*/
151151
public java.lang.Integer getParallelism() {
152152
return parallelism;
153153
}
154154

155155
/**
156-
* Specifies the maximum desired number of tasks the execution should run at given time. Must be
157-
* <= task_count. When the job is run, if this field is 0 or unset, the maximum possible value
158-
* will be used for that execution. The actual number of tasks running in steady state will be
159-
* less than this number when there are fewer tasks waiting to be completed remaining, i.e. when
160-
* the work left to do is less than max parallelism.
156+
* Optional. Specifies the maximum desired number of tasks the execution should run at given time.
157+
* When the job is run, if this field is 0 or unset, the maximum possible value will be used for
158+
* that execution. The actual number of tasks running in steady state will be less than this
159+
* number when there are fewer tasks waiting to be completed remaining, i.e. when the work left to
160+
* do is less than max parallelism.
161161
* @param parallelism parallelism or {@code null} for none
162162
*/
163163
public GoogleCloudRunV2ExecutionTemplate setParallelism(java.lang.Integer parallelism) {

clients/google-api-services-run/v2/2.0.0/com/google/api/services/run/v2/model/GoogleCloudRunV2Revision.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,13 @@ public final class GoogleCloudRunV2Revision extends com.google.api.client.json.G
7272
@com.google.api.client.util.Key
7373
private String createTime;
7474

75+
/**
76+
* Output only. Email address of the authenticated creator.
77+
* The value may be {@code null}.
78+
*/
79+
@com.google.api.client.util.Key
80+
private java.lang.String creator;
81+
7582
/**
7683
* Output only. For a deleted resource, the deletion time. It is only populated as a response to a
7784
* Delete request.
@@ -360,6 +367,23 @@ public GoogleCloudRunV2Revision setCreateTime(String createTime) {
360367
return this;
361368
}
362369

370+
/**
371+
* Output only. Email address of the authenticated creator.
372+
* @return value or {@code null} for none
373+
*/
374+
public java.lang.String getCreator() {
375+
return creator;
376+
}
377+
378+
/**
379+
* Output only. Email address of the authenticated creator.
380+
* @param creator creator or {@code null} for none
381+
*/
382+
public GoogleCloudRunV2Revision setCreator(java.lang.String creator) {
383+
this.creator = creator;
384+
return this;
385+
}
386+
363387
/**
364388
* Output only. For a deleted resource, the deletion time. It is only populated as a response to a
365389
* Delete request.

clients/google-api-services-run/v2/2.0.0/com/google/api/services/run/v2/model/GoogleDevtoolsCloudbuildV1Build.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,13 @@ public final class GoogleDevtoolsCloudbuildV1Build extends com.google.api.client
7575
@com.google.api.client.util.Key
7676
private String createTime;
7777

78+
/**
79+
* Optional. Dependencies that the Cloud Build worker will fetch before executing user steps.
80+
* The value may be {@code null}.
81+
*/
82+
@com.google.api.client.util.Key
83+
private java.util.List<GoogleDevtoolsCloudbuildV1Dependency> dependencies;
84+
7885
/**
7986
* Output only. Contains information about the build when status=FAILURE.
8087
* The value may be {@code null}.
@@ -359,6 +366,23 @@ public GoogleDevtoolsCloudbuildV1Build setCreateTime(String createTime) {
359366
return this;
360367
}
361368

369+
/**
370+
* Optional. Dependencies that the Cloud Build worker will fetch before executing user steps.
371+
* @return value or {@code null} for none
372+
*/
373+
public java.util.List<GoogleDevtoolsCloudbuildV1Dependency> getDependencies() {
374+
return dependencies;
375+
}
376+
377+
/**
378+
* Optional. Dependencies that the Cloud Build worker will fetch before executing user steps.
379+
* @param dependencies dependencies or {@code null} for none
380+
*/
381+
public GoogleDevtoolsCloudbuildV1Build setDependencies(java.util.List<GoogleDevtoolsCloudbuildV1Dependency> dependencies) {
382+
this.dependencies = dependencies;
383+
return this;
384+
}
385+
362386
/**
363387
* Output only. Contains information about the build when status=FAILURE.
364388
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
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.v2.model;
18+
19+
/**
20+
* A dependency that the Cloud Build worker will fetch before executing user steps.
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 GoogleDevtoolsCloudbuildV1Dependency extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* If set to true disable all dependency fetching (ignoring the default source as well).
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.Boolean empty;
38+
39+
/**
40+
* Represents a git repository as a build dependency.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private GoogleDevtoolsCloudbuildV1GitSourceDependency gitSource;
45+
46+
/**
47+
* If set to true disable all dependency fetching (ignoring the default source as well).
48+
* @return value or {@code null} for none
49+
*/
50+
public java.lang.Boolean getEmpty() {
51+
return empty;
52+
}
53+
54+
/**
55+
* If set to true disable all dependency fetching (ignoring the default source as well).
56+
* @param empty empty or {@code null} for none
57+
*/
58+
public GoogleDevtoolsCloudbuildV1Dependency setEmpty(java.lang.Boolean empty) {
59+
this.empty = empty;
60+
return this;
61+
}
62+
63+
/**
64+
* Represents a git repository as a build dependency.
65+
* @return value or {@code null} for none
66+
*/
67+
public GoogleDevtoolsCloudbuildV1GitSourceDependency getGitSource() {
68+
return gitSource;
69+
}
70+
71+
/**
72+
* Represents a git repository as a build dependency.
73+
* @param gitSource gitSource or {@code null} for none
74+
*/
75+
public GoogleDevtoolsCloudbuildV1Dependency setGitSource(GoogleDevtoolsCloudbuildV1GitSourceDependency gitSource) {
76+
this.gitSource = gitSource;
77+
return this;
78+
}
79+
80+
@Override
81+
public GoogleDevtoolsCloudbuildV1Dependency set(String fieldName, Object value) {
82+
return (GoogleDevtoolsCloudbuildV1Dependency) super.set(fieldName, value);
83+
}
84+
85+
@Override
86+
public GoogleDevtoolsCloudbuildV1Dependency clone() {
87+
return (GoogleDevtoolsCloudbuildV1Dependency) super.clone();
88+
}
89+
90+
}

0 commit comments

Comments
 (0)