Skip to content

Commit 02dd6f6

Browse files
1 parent 3db8212 commit 02dd6f6

16 files changed

+410
-32
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-rev20260306-2.0.0</version>
25+
<version>v1-rev20260320-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-rev20260306-2.0.0'
38+
implementation 'com.google.apis:google-api-services-run:v1-rev20260320-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8350,10 +8350,14 @@ public Locations locations() {
83508350
public class Locations {
83518351

83528352
/**
8353-
* Lists information about the supported locations for this service. This method can be called in
8354-
* two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
8355-
* visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
8356-
* public locations as well as private or other locations specifically visible to the project.
8353+
* Lists information about the supported locations for this service. This method lists locations
8354+
* based on the resource scope provided in the [ListLocationsRequest.name] field: * **Global
8355+
* locations**: If `name` is empty, the method lists the public locations available to all projects.
8356+
* * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method
8357+
* lists locations visible to that specific project. This includes public, private, or other
8358+
* project-specific locations enabled for the project. For gRPC and client library implementations,
8359+
* the resource name is passed as the `name` field. For direct service calls, the resource name is
8360+
* incorporated into the request path based on the specific service implementation and version.
83578361
*
83588362
* Create a request for the method "locations.list".
83598363
*
@@ -8377,10 +8381,15 @@ public class List extends CloudRunRequest<com.google.api.services.run.v1.model.L
83778381
java.util.regex.Pattern.compile("^projects/[^/]+$");
83788382

83798383
/**
8380-
* Lists information about the supported locations for this service. This method can be called in
8381-
* two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
8382-
* visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
8383-
* public locations as well as private or other locations specifically visible to the project.
8384+
* Lists information about the supported locations for this service. This method lists locations
8385+
* based on the resource scope provided in the [ListLocationsRequest.name] field: * **Global
8386+
* locations**: If `name` is empty, the method lists the public locations available to all
8387+
* projects. * **Project-specific locations**: If `name` follows the format `projects/{project}`,
8388+
* the method lists locations visible to that specific project. This includes public, private, or
8389+
* other project-specific locations enabled for the project. For gRPC and client library
8390+
* implementations, the resource name is passed as the `name` field. For direct service calls, the
8391+
* resource name is incorporated into the request path based on the specific service
8392+
* implementation and version.
83848393
*
83858394
* Create a request for the method "locations.list".
83868395
*

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

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,16 @@ public final class GoogleDevtoolsCloudbuildV1Artifacts extends com.google.api.cl
7979
@com.google.api.client.util.Key
8080
private GoogleDevtoolsCloudbuildV1ArtifactObjects objects;
8181

82+
/**
83+
* Optional. A list of OCI images to be uploaded to Artifact Registry upon successful completion
84+
* of all build steps. OCI images in the specified paths will be uploaded to the specified
85+
* Artifact Registry repository using the builder service account's credentials. If any images
86+
* fail to be pushed, the build is marked FAILURE.
87+
* The value may be {@code null}.
88+
*/
89+
@com.google.api.client.util.Key
90+
private java.util.List<GoogleDevtoolsCloudbuildV1Oci> oci;
91+
8292
/**
8393
* A list of Python packages to be uploaded to Artifact Registry upon successful completion of all
8494
* build steps. The build service account credentials will be used to perform the upload. If any
@@ -201,6 +211,29 @@ public GoogleDevtoolsCloudbuildV1Artifacts setObjects(GoogleDevtoolsCloudbuildV1
201211
return this;
202212
}
203213

214+
/**
215+
* Optional. A list of OCI images to be uploaded to Artifact Registry upon successful completion
216+
* of all build steps. OCI images in the specified paths will be uploaded to the specified
217+
* Artifact Registry repository using the builder service account's credentials. If any images
218+
* fail to be pushed, the build is marked FAILURE.
219+
* @return value or {@code null} for none
220+
*/
221+
public java.util.List<GoogleDevtoolsCloudbuildV1Oci> getOci() {
222+
return oci;
223+
}
224+
225+
/**
226+
* Optional. A list of OCI images to be uploaded to Artifact Registry upon successful completion
227+
* of all build steps. OCI images in the specified paths will be uploaded to the specified
228+
* Artifact Registry repository using the builder service account's credentials. If any images
229+
* fail to be pushed, the build is marked FAILURE.
230+
* @param oci oci or {@code null} for none
231+
*/
232+
public GoogleDevtoolsCloudbuildV1Artifacts setOci(java.util.List<GoogleDevtoolsCloudbuildV1Oci> oci) {
233+
this.oci = oci;
234+
return this;
235+
}
236+
204237
/**
205238
* A list of Python packages to be uploaded to Artifact Registry upon successful completion of all
206239
* build steps. The build service account credentials will be used to perform the upload. If any

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,14 @@ public final class GoogleDevtoolsCloudbuildV1BuiltImage extends com.google.api.c
5151
@com.google.api.client.util.Key
5252
private java.lang.String name;
5353

54+
/**
55+
* Output only. The OCI media type of the artifact. Non-OCI images, such as Docker images, will
56+
* have an unspecified value.
57+
* The value may be {@code null}.
58+
*/
59+
@com.google.api.client.util.Key
60+
private java.lang.String ociMediaType;
61+
5462
/**
5563
* Output only. Stores timing information for pushing the specified image.
5664
* The value may be {@code null}.
@@ -111,6 +119,25 @@ public GoogleDevtoolsCloudbuildV1BuiltImage setName(java.lang.String name) {
111119
return this;
112120
}
113121

122+
/**
123+
* Output only. The OCI media type of the artifact. Non-OCI images, such as Docker images, will
124+
* have an unspecified value.
125+
* @return value or {@code null} for none
126+
*/
127+
public java.lang.String getOciMediaType() {
128+
return ociMediaType;
129+
}
130+
131+
/**
132+
* Output only. The OCI media type of the artifact. Non-OCI images, such as Docker images, will
133+
* have an unspecified value.
134+
* @param ociMediaType ociMediaType or {@code null} for none
135+
*/
136+
public GoogleDevtoolsCloudbuildV1BuiltImage setOciMediaType(java.lang.String ociMediaType) {
137+
this.ociMediaType = ociMediaType;
138+
return this;
139+
}
140+
114141
/**
115142
* Output only. Stores timing information for pushing the specified image.
116143
* @return value or {@code null} for none
Lines changed: 120 additions & 0 deletions
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+
* OCI image to upload to Artifact Registry upon successful completion of all build 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 GoogleDevtoolsCloudbuildV1Oci extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Required. Path on the local file system where to find the container to upload. e.g.
34+
* /workspace/my-image.tar
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String file;
39+
40+
/**
41+
* Required. Registry path to upload the container to. e.g. us-east1-docker.pkg.dev/my-project/my-
42+
* repo/my-image
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.lang.String registryPath;
47+
48+
/**
49+
* Optional. Tags to apply to the uploaded image. e.g. latest, 1.0.0
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key
53+
private java.util.List<java.lang.String> tags;
54+
55+
/**
56+
* Required. Path on the local file system where to find the container to upload. e.g.
57+
* /workspace/my-image.tar
58+
* @return value or {@code null} for none
59+
*/
60+
public java.lang.String getFile() {
61+
return file;
62+
}
63+
64+
/**
65+
* Required. Path on the local file system where to find the container to upload. e.g.
66+
* /workspace/my-image.tar
67+
* @param file file or {@code null} for none
68+
*/
69+
public GoogleDevtoolsCloudbuildV1Oci setFile(java.lang.String file) {
70+
this.file = file;
71+
return this;
72+
}
73+
74+
/**
75+
* Required. Registry path to upload the container to. e.g. us-east1-docker.pkg.dev/my-project/my-
76+
* repo/my-image
77+
* @return value or {@code null} for none
78+
*/
79+
public java.lang.String getRegistryPath() {
80+
return registryPath;
81+
}
82+
83+
/**
84+
* Required. Registry path to upload the container to. e.g. us-east1-docker.pkg.dev/my-project/my-
85+
* repo/my-image
86+
* @param registryPath registryPath or {@code null} for none
87+
*/
88+
public GoogleDevtoolsCloudbuildV1Oci setRegistryPath(java.lang.String registryPath) {
89+
this.registryPath = registryPath;
90+
return this;
91+
}
92+
93+
/**
94+
* Optional. Tags to apply to the uploaded image. e.g. latest, 1.0.0
95+
* @return value or {@code null} for none
96+
*/
97+
public java.util.List<java.lang.String> getTags() {
98+
return tags;
99+
}
100+
101+
/**
102+
* Optional. Tags to apply to the uploaded image. e.g. latest, 1.0.0
103+
* @param tags tags or {@code null} for none
104+
*/
105+
public GoogleDevtoolsCloudbuildV1Oci setTags(java.util.List<java.lang.String> tags) {
106+
this.tags = tags;
107+
return this;
108+
}
109+
110+
@Override
111+
public GoogleDevtoolsCloudbuildV1Oci set(String fieldName, Object value) {
112+
return (GoogleDevtoolsCloudbuildV1Oci) super.set(fieldName, value);
113+
}
114+
115+
@Override
116+
public GoogleDevtoolsCloudbuildV1Oci clone() {
117+
return (GoogleDevtoolsCloudbuildV1Oci) super.clone();
118+
}
119+
120+
}

clients/google-api-services-run/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-run</artifactId>
11-
<version>v1-rev20260306-2.0.0</version>
12-
<name>Cloud Run Admin API v1-rev20260306-2.0.0</name>
11+
<version>v1-rev20260320-2.0.0</version>
12+
<name>Cloud Run Admin API v1-rev20260320-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

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

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

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public final class GoogleCloudRunV2RevisionScaling extends com.google.api.client
3232
/**
3333
* Optional. Determines a threshold for concurrency utilization before scaling begins. Accepted
3434
* values are between `0.1` and `0.95` (inclusive) or `0.0` to disable concurrency utilization as
35-
* threshold for scaling.
35+
* threshold for scaling. CPU and concurrency scaling cannot both be disabled.
3636
* The value may be {@code null}.
3737
*/
3838
@com.google.api.client.util.Key
@@ -41,7 +41,7 @@ public final class GoogleCloudRunV2RevisionScaling extends com.google.api.client
4141
/**
4242
* Optional. Determines a threshold for CPU utilization before scaling begins. Accepted values are
4343
* between `0.1` and `0.95` (inclusive) or `0.0` to disable CPU utilization as threshold for
44-
* scaling.
44+
* scaling. CPU and concurrency scaling cannot both be disabled.
4545
* The value may be {@code null}.
4646
*/
4747
@com.google.api.client.util.Key
@@ -66,7 +66,7 @@ public final class GoogleCloudRunV2RevisionScaling extends com.google.api.client
6666
/**
6767
* Optional. Determines a threshold for concurrency utilization before scaling begins. Accepted
6868
* values are between `0.1` and `0.95` (inclusive) or `0.0` to disable concurrency utilization as
69-
* threshold for scaling.
69+
* threshold for scaling. CPU and concurrency scaling cannot both be disabled.
7070
* @return value or {@code null} for none
7171
*/
7272
public java.lang.Float getConcurrencyUtilization() {
@@ -76,7 +76,7 @@ public java.lang.Float getConcurrencyUtilization() {
7676
/**
7777
* Optional. Determines a threshold for concurrency utilization before scaling begins. Accepted
7878
* values are between `0.1` and `0.95` (inclusive) or `0.0` to disable concurrency utilization as
79-
* threshold for scaling.
79+
* threshold for scaling. CPU and concurrency scaling cannot both be disabled.
8080
* @param concurrencyUtilization concurrencyUtilization or {@code null} for none
8181
*/
8282
public GoogleCloudRunV2RevisionScaling setConcurrencyUtilization(java.lang.Float concurrencyUtilization) {
@@ -87,7 +87,7 @@ public GoogleCloudRunV2RevisionScaling setConcurrencyUtilization(java.lang.Float
8787
/**
8888
* Optional. Determines a threshold for CPU utilization before scaling begins. Accepted values are
8989
* between `0.1` and `0.95` (inclusive) or `0.0` to disable CPU utilization as threshold for
90-
* scaling.
90+
* scaling. CPU and concurrency scaling cannot both be disabled.
9191
* @return value or {@code null} for none
9292
*/
9393
public java.lang.Float getCpuUtilization() {
@@ -97,7 +97,7 @@ public java.lang.Float getCpuUtilization() {
9797
/**
9898
* Optional. Determines a threshold for CPU utilization before scaling begins. Accepted values are
9999
* between `0.1` and `0.95` (inclusive) or `0.0` to disable CPU utilization as threshold for
100-
* scaling.
100+
* scaling. CPU and concurrency scaling cannot both be disabled.
101101
* @param cpuUtilization cpuUtilization or {@code null} for none
102102
*/
103103
public GoogleCloudRunV2RevisionScaling setCpuUtilization(java.lang.Float cpuUtilization) {

0 commit comments

Comments
 (0)