Skip to content

Commit 5394a4b

Browse files
1 parent 0de1fd1 commit 5394a4b

File tree

6 files changed

+294
-8
lines changed

6 files changed

+294
-8
lines changed

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

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1602,7 +1602,7 @@ public Delete set(String parameterName, Object value) {
16021602
}
16031603
}
16041604
/**
1605-
* Exports an artifact.
1605+
* Exports an artifact to a Cloud Storage bucket.
16061606
*
16071607
* Create a request for the method "repositories.exportArtifact".
16081608
*
@@ -1629,7 +1629,7 @@ public class ExportArtifact extends ArtifactRegistryRequest<com.google.api.servi
16291629
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
16301630

16311631
/**
1632-
* Exports an artifact.
1632+
* Exports an artifact to a Cloud Storage bucket.
16331633
*
16341634
* Create a request for the method "repositories.exportArtifact".
16351635
*

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

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,15 @@
3232
@SuppressWarnings("javadoc")
3333
public final class DockerImage extends com.google.api.client.json.GenericJson {
3434

35+
/**
36+
* ArtifactType of this image, e.g. "application/vnd.example+type". If the `subject_digest` is set
37+
* and no `artifact_type` is given, the `media_type` will be considered as the `artifact_type`.
38+
* This field is returned as the `metadata.artifactType` field in the Version resource.
39+
* The value may be {@code null}.
40+
*/
41+
@com.google.api.client.util.Key
42+
private java.lang.String artifactType;
43+
3544
/**
3645
* The time this image was built. This field is returned as the 'metadata.buildTime' field in the
3746
* Version resource. The build time is returned to the client as an RFC 3339 string, which can be
@@ -41,6 +50,14 @@ public final class DockerImage extends com.google.api.client.json.GenericJson {
4150
@com.google.api.client.util.Key
4251
private String buildTime;
4352

53+
/**
54+
* Optional. For multi-arch images (manifest lists), this field contains the list of image
55+
* manifests.
56+
* The value may be {@code null}.
57+
*/
58+
@com.google.api.client.util.Key
59+
private java.util.List<ImageManifest> imageManifests;
60+
4461
/**
4562
* Calculated size of the image. This field is returned as the 'metadata.imageSizeBytes' field in
4663
* the Version resource.
@@ -100,6 +117,27 @@ public final class DockerImage extends com.google.api.client.json.GenericJson {
100117
@com.google.api.client.util.Key
101118
private java.lang.String uri;
102119

120+
/**
121+
* ArtifactType of this image, e.g. "application/vnd.example+type". If the `subject_digest` is set
122+
* and no `artifact_type` is given, the `media_type` will be considered as the `artifact_type`.
123+
* This field is returned as the `metadata.artifactType` field in the Version resource.
124+
* @return value or {@code null} for none
125+
*/
126+
public java.lang.String getArtifactType() {
127+
return artifactType;
128+
}
129+
130+
/**
131+
* ArtifactType of this image, e.g. "application/vnd.example+type". If the `subject_digest` is set
132+
* and no `artifact_type` is given, the `media_type` will be considered as the `artifact_type`.
133+
* This field is returned as the `metadata.artifactType` field in the Version resource.
134+
* @param artifactType artifactType or {@code null} for none
135+
*/
136+
public DockerImage setArtifactType(java.lang.String artifactType) {
137+
this.artifactType = artifactType;
138+
return this;
139+
}
140+
103141
/**
104142
* The time this image was built. This field is returned as the 'metadata.buildTime' field in the
105143
* Version resource. The build time is returned to the client as an RFC 3339 string, which can be
@@ -121,6 +159,25 @@ public DockerImage setBuildTime(String buildTime) {
121159
return this;
122160
}
123161

162+
/**
163+
* Optional. For multi-arch images (manifest lists), this field contains the list of image
164+
* manifests.
165+
* @return value or {@code null} for none
166+
*/
167+
public java.util.List<ImageManifest> getImageManifests() {
168+
return imageManifests;
169+
}
170+
171+
/**
172+
* Optional. For multi-arch images (manifest lists), this field contains the list of image
173+
* manifests.
174+
* @param imageManifests imageManifests or {@code null} for none
175+
*/
176+
public DockerImage setImageManifests(java.util.List<ImageManifest> imageManifests) {
177+
this.imageManifests = imageManifests;
178+
return this;
179+
}
180+
124181
/**
125182
* Calculated size of the image. This field is returned as the 'metadata.imageSizeBytes' field in
126183
* the Version resource.
Lines changed: 229 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,229 @@
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+
* Details of a single image manifest within a multi-arch image.
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 ImageManifest extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Optional. The CPU architecture of the image. Values are provided by the Docker client and are
35+
* not validated by Artifact Registry. Example values include "amd64", "arm64", "ppc64le",
36+
* "s390x", "riscv64", "mips64le", etc.
37+
* The value may be {@code null}.
38+
*/
39+
@com.google.api.client.util.Key
40+
private java.lang.String architecture;
41+
42+
/**
43+
* Optional. The manifest digest, in the format "sha256:".
44+
* The value may be {@code null}.
45+
*/
46+
@com.google.api.client.util.Key
47+
private java.lang.String digest;
48+
49+
/**
50+
* Optional. The media type of the manifest, e.g.,
51+
* "application/vnd.docker.distribution.manifest.v2+json"
52+
* The value may be {@code null}.
53+
*/
54+
@com.google.api.client.util.Key
55+
private java.lang.String mediaType;
56+
57+
/**
58+
* Optional. The operating system of the image. Values are provided by the Docker client and are
59+
* not validated by Artifact Registry. Example values include "linux", "windows", "darwin", "aix",
60+
* etc.
61+
* The value may be {@code null}.
62+
*/
63+
@com.google.api.client.util.Key
64+
private java.lang.String os;
65+
66+
/**
67+
* Optional. The required OS features for the image, for example on Windows `win32k`.
68+
* The value may be {@code null}.
69+
*/
70+
@com.google.api.client.util.Key
71+
private java.util.List<java.lang.String> osFeatures;
72+
73+
/**
74+
* Optional. The OS version of the image, for example on Windows `10.0.14393.1066`.
75+
* The value may be {@code null}.
76+
*/
77+
@com.google.api.client.util.Key
78+
private java.lang.String osVersion;
79+
80+
/**
81+
* Optional. The variant of the CPU in the image, for example `v7` to specify ARMv7 when
82+
* architecture is `arm`.
83+
* The value may be {@code null}.
84+
*/
85+
@com.google.api.client.util.Key
86+
private java.lang.String variant;
87+
88+
/**
89+
* Optional. The CPU architecture of the image. Values are provided by the Docker client and are
90+
* not validated by Artifact Registry. Example values include "amd64", "arm64", "ppc64le",
91+
* "s390x", "riscv64", "mips64le", etc.
92+
* @return value or {@code null} for none
93+
*/
94+
public java.lang.String getArchitecture() {
95+
return architecture;
96+
}
97+
98+
/**
99+
* Optional. The CPU architecture of the image. Values are provided by the Docker client and are
100+
* not validated by Artifact Registry. Example values include "amd64", "arm64", "ppc64le",
101+
* "s390x", "riscv64", "mips64le", etc.
102+
* @param architecture architecture or {@code null} for none
103+
*/
104+
public ImageManifest setArchitecture(java.lang.String architecture) {
105+
this.architecture = architecture;
106+
return this;
107+
}
108+
109+
/**
110+
* Optional. The manifest digest, in the format "sha256:".
111+
* @return value or {@code null} for none
112+
*/
113+
public java.lang.String getDigest() {
114+
return digest;
115+
}
116+
117+
/**
118+
* Optional. The manifest digest, in the format "sha256:".
119+
* @param digest digest or {@code null} for none
120+
*/
121+
public ImageManifest setDigest(java.lang.String digest) {
122+
this.digest = digest;
123+
return this;
124+
}
125+
126+
/**
127+
* Optional. The media type of the manifest, e.g.,
128+
* "application/vnd.docker.distribution.manifest.v2+json"
129+
* @return value or {@code null} for none
130+
*/
131+
public java.lang.String getMediaType() {
132+
return mediaType;
133+
}
134+
135+
/**
136+
* Optional. The media type of the manifest, e.g.,
137+
* "application/vnd.docker.distribution.manifest.v2+json"
138+
* @param mediaType mediaType or {@code null} for none
139+
*/
140+
public ImageManifest setMediaType(java.lang.String mediaType) {
141+
this.mediaType = mediaType;
142+
return this;
143+
}
144+
145+
/**
146+
* Optional. The operating system of the image. Values are provided by the Docker client and are
147+
* not validated by Artifact Registry. Example values include "linux", "windows", "darwin", "aix",
148+
* etc.
149+
* @return value or {@code null} for none
150+
*/
151+
public java.lang.String getOs() {
152+
return os;
153+
}
154+
155+
/**
156+
* Optional. The operating system of the image. Values are provided by the Docker client and are
157+
* not validated by Artifact Registry. Example values include "linux", "windows", "darwin", "aix",
158+
* etc.
159+
* @param os os or {@code null} for none
160+
*/
161+
public ImageManifest setOs(java.lang.String os) {
162+
this.os = os;
163+
return this;
164+
}
165+
166+
/**
167+
* Optional. The required OS features for the image, for example on Windows `win32k`.
168+
* @return value or {@code null} for none
169+
*/
170+
public java.util.List<java.lang.String> getOsFeatures() {
171+
return osFeatures;
172+
}
173+
174+
/**
175+
* Optional. The required OS features for the image, for example on Windows `win32k`.
176+
* @param osFeatures osFeatures or {@code null} for none
177+
*/
178+
public ImageManifest setOsFeatures(java.util.List<java.lang.String> osFeatures) {
179+
this.osFeatures = osFeatures;
180+
return this;
181+
}
182+
183+
/**
184+
* Optional. The OS version of the image, for example on Windows `10.0.14393.1066`.
185+
* @return value or {@code null} for none
186+
*/
187+
public java.lang.String getOsVersion() {
188+
return osVersion;
189+
}
190+
191+
/**
192+
* Optional. The OS version of the image, for example on Windows `10.0.14393.1066`.
193+
* @param osVersion osVersion or {@code null} for none
194+
*/
195+
public ImageManifest setOsVersion(java.lang.String osVersion) {
196+
this.osVersion = osVersion;
197+
return this;
198+
}
199+
200+
/**
201+
* Optional. The variant of the CPU in the image, for example `v7` to specify ARMv7 when
202+
* architecture is `arm`.
203+
* @return value or {@code null} for none
204+
*/
205+
public java.lang.String getVariant() {
206+
return variant;
207+
}
208+
209+
/**
210+
* Optional. The variant of the CPU in the image, for example `v7` to specify ARMv7 when
211+
* architecture is `arm`.
212+
* @param variant variant or {@code null} for none
213+
*/
214+
public ImageManifest setVariant(java.lang.String variant) {
215+
this.variant = variant;
216+
return this;
217+
}
218+
219+
@Override
220+
public ImageManifest set(String fieldName, Object value) {
221+
return (ImageManifest) super.set(fieldName, value);
222+
}
223+
224+
@Override
225+
public ImageManifest clone() {
226+
return (ImageManifest) super.clone();
227+
}
228+
229+
}

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-rev20251029-2.0.0</version>
12-
<name>Artifact Registry API v1-rev20251029-2.0.0</name>
11+
<version>v1-rev20251201-2.0.0</version>
12+
<name>Artifact Registry API v1-rev20251201-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-rev20251029-2.0.0</version>
25+
<version>v1-rev20251201-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-rev20251029-2.0.0'
38+
implementation 'com.google.apis:google-api-services-artifactregistry:v1-rev20251201-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)