Skip to content

Commit 1559cbc

Browse files
1 parent e64c464 commit 1559cbc

6 files changed

Lines changed: 69 additions & 9 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-rev20260702-2.0.0</version>
25+
<version>v1-rev20260822-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-rev20260702-2.0.0'
38+
implementation 'com.google.apis:google-api-services-artifactregistry:v1-rev20260822-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,13 @@ public final class UploadFileRequest extends com.google.api.client.json.GenericJ
3838
@com.google.api.client.util.Key
3939
private java.lang.String fileId;
4040

41+
/**
42+
* Optional. The type of the file to upload. Defaulting to ATTACHMENT if not specified.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.lang.String fileType;
47+
4148
/**
4249
* Optional. The ID of the file. If left empty will default to sha256 digest of the content
4350
* uploaded.
@@ -57,6 +64,23 @@ public UploadFileRequest setFileId(java.lang.String fileId) {
5764
return this;
5865
}
5966

67+
/**
68+
* Optional. The type of the file to upload. Defaulting to ATTACHMENT if not specified.
69+
* @return value or {@code null} for none
70+
*/
71+
public java.lang.String getFileType() {
72+
return fileType;
73+
}
74+
75+
/**
76+
* Optional. The type of the file to upload. Defaulting to ATTACHMENT if not specified.
77+
* @param fileType fileType or {@code null} for none
78+
*/
79+
public UploadFileRequest setFileType(java.lang.String fileType) {
80+
this.fileType = fileType;
81+
return this;
82+
}
83+
6084
@Override
6185
public UploadFileRequest set(String fieldName, Object value) {
6286
return (UploadFileRequest) super.set(fieldName, value);

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

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,15 @@ public final class UploadGenericArtifactRequest extends com.google.api.client.js
4949
@com.google.api.client.util.Key
5050
private java.lang.String packageId;
5151

52+
/**
53+
* Optional. Client specified annotations to attach to the version upon creation. This field is
54+
* only applied if the Version is created during this upload. If the Version already exists and
55+
* this field is set, the request will fail.
56+
* The value may be {@code null}.
57+
*/
58+
@com.google.api.client.util.Key
59+
private java.util.Map<String, java.lang.String> versionAnnotations;
60+
5261
/**
5362
* The ID of the version of the generic artifact. If the version does not exist, a new version
5463
* will be created. The version_id must start and end with a letter or number, can only contain
@@ -99,6 +108,27 @@ public UploadGenericArtifactRequest setPackageId(java.lang.String packageId) {
99108
return this;
100109
}
101110

111+
/**
112+
* Optional. Client specified annotations to attach to the version upon creation. This field is
113+
* only applied if the Version is created during this upload. If the Version already exists and
114+
* this field is set, the request will fail.
115+
* @return value or {@code null} for none
116+
*/
117+
public java.util.Map<String, java.lang.String> getVersionAnnotations() {
118+
return versionAnnotations;
119+
}
120+
121+
/**
122+
* Optional. Client specified annotations to attach to the version upon creation. This field is
123+
* only applied if the Version is created during this upload. If the Version already exists and
124+
* this field is set, the request will fail.
125+
* @param versionAnnotations versionAnnotations or {@code null} for none
126+
*/
127+
public UploadGenericArtifactRequest setVersionAnnotations(java.util.Map<String, java.lang.String> versionAnnotations) {
128+
this.versionAnnotations = versionAnnotations;
129+
return this;
130+
}
131+
102132
/**
103133
* The ID of the version of the generic artifact. If the version does not exist, a new version
104134
* will be created. The version_id must start and end with a letter or number, can only contain

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

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@
3232
public final class VulnerabilityScanningConfig extends com.google.api.client.json.GenericJson {
3333

3434
/**
35-
* Optional. Config for whether this repository has vulnerability scanning disabled.
35+
* Optional. Config for whether this repository has vulnerability scanning disabled. When unset
36+
* (ENABLEMENT_CONFIG_UNSPECIFIED), this is treated as INHERITED for Docker repositories and
37+
* DISABLED for non-Docker repositories.
3638
* The value may be {@code null}.
3739
*/
3840
@com.google.api.client.util.Key
@@ -61,15 +63,19 @@ public final class VulnerabilityScanningConfig extends com.google.api.client.jso
6163
private String lastEnableTime;
6264

6365
/**
64-
* Optional. Config for whether this repository has vulnerability scanning disabled.
66+
* Optional. Config for whether this repository has vulnerability scanning disabled. When unset
67+
* (ENABLEMENT_CONFIG_UNSPECIFIED), this is treated as INHERITED for Docker repositories and
68+
* DISABLED for non-Docker repositories.
6569
* @return value or {@code null} for none
6670
*/
6771
public java.lang.String getEnablementConfig() {
6872
return enablementConfig;
6973
}
7074

7175
/**
72-
* Optional. Config for whether this repository has vulnerability scanning disabled.
76+
* Optional. Config for whether this repository has vulnerability scanning disabled. When unset
77+
* (ENABLEMENT_CONFIG_UNSPECIFIED), this is treated as INHERITED for Docker repositories and
78+
* DISABLED for non-Docker repositories.
7379
* @param enablementConfig enablementConfig or {@code null} for none
7480
*/
7581
public VulnerabilityScanningConfig setEnablementConfig(java.lang.String enablementConfig) {

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

0 commit comments

Comments
 (0)