Skip to content

Commit 87fcca4

Browse files
1 parent 3f212ee commit 87fcca4

6 files changed

Lines changed: 123 additions & 7 deletions

File tree

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

clients/google-api-services-artifactregistry/v1/2.0.0/com/google/api/services/artifactregistry/v1/model/PrewarmArtifactRequest.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@ public final class PrewarmArtifactRequest extends com.google.api.client.json.Gen
3737
@com.google.api.client.util.Key
3838
private java.lang.Boolean force;
3939

40+
/**
41+
* Optional. The platform (architecture and OS) of the image or tag.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private PrewarmPlatform platform;
46+
4047
/**
4148
* Optional. The retention days of the prewarmed artifact. If not specified, the artifact will be
4249
* cached for 3 days.
@@ -86,6 +93,23 @@ public PrewarmArtifactRequest setForce(java.lang.Boolean force) {
8693
return this;
8794
}
8895

96+
/**
97+
* Optional. The platform (architecture and OS) of the image or tag.
98+
* @return value or {@code null} for none
99+
*/
100+
public PrewarmPlatform getPlatform() {
101+
return platform;
102+
}
103+
104+
/**
105+
* Optional. The platform (architecture and OS) of the image or tag.
106+
* @param platform platform or {@code null} for none
107+
*/
108+
public PrewarmArtifactRequest setPlatform(PrewarmPlatform platform) {
109+
this.platform = platform;
110+
return this;
111+
}
112+
89113
/**
90114
* Optional. The retention days of the prewarmed artifact. If not specified, the artifact will be
91115
* cached for 3 days.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
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.artifactregistry.v1.model;
18+
19+
/**
20+
* The platform (architecture and OS) of the image. This is a sub-message.
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 Artifact Registry API. For a detailed explanation
24+
* 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 PrewarmPlatform extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Optional. The architecture of the image or tag. For example, "arm64" or "amd64".
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String architecture;
39+
40+
/**
41+
* Optional. The OS of the image or tag. For example, "linux" or "windows".
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.String os;
46+
47+
/**
48+
* Optional. The architecture of the image or tag. For example, "arm64" or "amd64".
49+
* @return value or {@code null} for none
50+
*/
51+
public java.lang.String getArchitecture() {
52+
return architecture;
53+
}
54+
55+
/**
56+
* Optional. The architecture of the image or tag. For example, "arm64" or "amd64".
57+
* @param architecture architecture or {@code null} for none
58+
*/
59+
public PrewarmPlatform setArchitecture(java.lang.String architecture) {
60+
this.architecture = architecture;
61+
return this;
62+
}
63+
64+
/**
65+
* Optional. The OS of the image or tag. For example, "linux" or "windows".
66+
* @return value or {@code null} for none
67+
*/
68+
public java.lang.String getOs() {
69+
return os;
70+
}
71+
72+
/**
73+
* Optional. The OS of the image or tag. For example, "linux" or "windows".
74+
* @param os os or {@code null} for none
75+
*/
76+
public PrewarmPlatform setOs(java.lang.String os) {
77+
this.os = os;
78+
return this;
79+
}
80+
81+
@Override
82+
public PrewarmPlatform set(String fieldName, Object value) {
83+
return (PrewarmPlatform) super.set(fieldName, value);
84+
}
85+
86+
@Override
87+
public PrewarmPlatform clone() {
88+
return (PrewarmPlatform) super.clone();
89+
}
90+
91+
}

clients/google-api-services-artifactregistry/v1/2.0.0/com/google/api/services/artifactregistry/v1/model/PrewarmedArtifact.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
package com.google.api.services.artifactregistry.v1.model;
1818

1919
/**
20-
* PrewarmedArtifact represents a streamed artifact.
20+
* PrewarmedArtifact represents a streamed artifact. This is not a request message, so
21+
* field_behavior annotations are not required.
2122
*
2223
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2324
* transmitted over HTTP when working with the Artifact Registry API. For a detailed explanation

clients/google-api-services-artifactregistry/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-artifactregistry</artifactId>
11-
<version>v1-rev20260522-2.0.0</version>
12-
<name>Artifact Registry API v1-rev20260522-2.0.0</name>
11+
<version>v1-rev20260603-2.0.0</version>
12+
<name>Artifact Registry API v1-rev20260603-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

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

0 commit comments

Comments
 (0)