Skip to content

Commit 853ebf3

Browse files
1 parent b9feade commit 853ebf3

File tree

17 files changed

+91
-131
lines changed

17 files changed

+91
-131
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-rev20240923-2.0.0</version>
25+
<version>v1-rev20241001-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-rev20240923-2.0.0'
38+
implementation 'com.google.apis:google-api-services-artifactregistry:v1-rev20241001-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: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2972,7 +2972,7 @@ public class Attachments {
29722972

29732973
/**
29742974
* Creates an attachment. The returned Operation will finish once the attachment has been created.
2975-
* Its response will be the created Attachment.
2975+
* Its response will be the created attachment.
29762976
*
29772977
* Create a request for the method "attachments.create".
29782978
*
@@ -2998,7 +2998,7 @@ public class Create extends ArtifactRegistryRequest<com.google.api.services.arti
29982998

29992999
/**
30003000
* Creates an attachment. The returned Operation will finish once the attachment has been created.
3001-
* Its response will be the created Attachment.
3001+
* Its response will be the created attachment.
30023002
*
30033003
* Create a request for the method "attachments.create".
30043004
*
@@ -3121,7 +3121,7 @@ public Create set(String parameterName, Object value) {
31213121
}
31223122
/**
31233123
* Deletes an attachment. The returned Operation will finish once the attachments has been deleted.
3124-
* It will not have any Operation metadata and will return a google.protobuf.Empty response.
3124+
* It will not have any Operation metadata and will return a `google.protobuf.Empty` response.
31253125
*
31263126
* Create a request for the method "attachments.delete".
31273127
*
@@ -3146,7 +3146,7 @@ public class Delete extends ArtifactRegistryRequest<com.google.api.services.arti
31463146

31473147
/**
31483148
* Deletes an attachment. The returned Operation will finish once the attachments has been
3149-
* deleted. It will not have any Operation metadata and will return a google.protobuf.Empty
3149+
* deleted. It will not have any Operation metadata and will return a `google.protobuf.Empty`
31503150
* response.
31513151
*
31523152
* Create a request for the method "attachments.delete".
@@ -3390,7 +3390,7 @@ public Get set(String parameterName, Object value) {
33903390
}
33913391
}
33923392
/**
3393-
* Lists repositories.
3393+
* Lists attachments.
33943394
*
33953395
* Create a request for the method "attachments.list".
33963396
*
@@ -3414,7 +3414,7 @@ public class List extends ArtifactRegistryRequest<com.google.api.services.artifa
34143414
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
34153415

34163416
/**
3417-
* Lists repositories.
3417+
* Lists attachments.
34183418
*
34193419
* Create a request for the method "attachments.list".
34203420
*
@@ -4842,7 +4842,7 @@ public Patch set(String parameterName, Object value) {
48424842
}
48434843
}
48444844
/**
4845-
* Directly uploads a File to a repository. The returned Operation will complete once the resources
4845+
* Directly uploads a file to a repository. The returned Operation will complete once the resources
48464846
* are uploaded.
48474847
*
48484848
* Create a request for the method "files.upload".
@@ -4861,7 +4861,7 @@ public Upload upload(java.lang.String parent, com.google.api.services.artifactre
48614861
}
48624862

48634863
/**
4864-
* Directly uploads a File to a repository. The returned Operation will complete once the resources
4864+
* Directly uploads a file to a repository. The returned Operation will complete once the resources
48654865
* are uploaded.
48664866
*
48674867
* Create a request for the method "files.upload".
@@ -4893,7 +4893,7 @@ public class Upload extends ArtifactRegistryRequest<com.google.api.services.arti
48934893
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
48944894

48954895
/**
4896-
* Directly uploads a File to a repository. The returned Operation will complete once the
4896+
* Directly uploads a file to a repository. The returned Operation will complete once the
48974897
* resources are uploaded.
48984898
*
48994899
* Create a request for the method "files.upload".
@@ -4919,7 +4919,7 @@ protected Upload(java.lang.String parent, com.google.api.services.artifactregist
49194919
}
49204920

49214921
/**
4922-
* Directly uploads a File to a repository. The returned Operation will complete once the
4922+
* Directly uploads a file to a repository. The returned Operation will complete once the
49234923
* resources are uploaded.
49244924
*
49254925
* Create a request for the method "files.upload".
@@ -9006,8 +9006,8 @@ public List set(String parameterName, Object value) {
90069006
* This request holds the parameters needed by the artifactregistry server. After setting any
90079007
* optional parameters, call the {@link Patch#execute()} method to invoke the remote operation.
90089008
*
9009-
* @param name The name of the version, for example: "projects/p1/locations/us-
9010-
* central1/repositories/repo1/packages/pkg1/versions/art1". If the package or version ID
9009+
* @param name The name of the version, for example: `projects/p1/locations/us-
9010+
* central1/repositories/repo1/packages/pkg1/versions/art1`. If the package or version ID
90119011
* parts contain slashes, the slashes are escaped.
90129012
* @param content the {@link com.google.api.services.artifactregistry.v1.model.Version}
90139013
* @return the request
@@ -9036,8 +9036,8 @@ public class Patch extends ArtifactRegistryRequest<com.google.api.services.artif
90369036
* Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
90379037
* be called to initialize this instance immediately after invoking the constructor. </p>
90389038
*
9039-
* @param name The name of the version, for example: "projects/p1/locations/us-
9040-
* central1/repositories/repo1/packages/pkg1/versions/art1". If the package or version ID
9039+
* @param name The name of the version, for example: `projects/p1/locations/us-
9040+
* central1/repositories/repo1/packages/pkg1/versions/art1`. If the package or version ID
90419041
* parts contain slashes, the slashes are escaped.
90429042
* @param content the {@link com.google.api.services.artifactregistry.v1.model.Version}
90439043
* @since 1.13
@@ -9108,24 +9108,24 @@ public Patch setUploadProtocol(java.lang.String uploadProtocol) {
91089108
}
91099109

91109110
/**
9111-
* The name of the version, for example: "projects/p1/locations/us-
9112-
* central1/repositories/repo1/packages/pkg1/versions/art1". If the package or version
9111+
* The name of the version, for example: `projects/p1/locations/us-
9112+
* central1/repositories/repo1/packages/pkg1/versions/art1`. If the package or version
91139113
* ID parts contain slashes, the slashes are escaped.
91149114
*/
91159115
@com.google.api.client.util.Key
91169116
private java.lang.String name;
91179117

9118-
/** The name of the version, for example: "projects/p1/locations/us-
9119-
central1/repositories/repo1/packages/pkg1/versions/art1". If the package or version ID parts
9118+
/** The name of the version, for example: `projects/p1/locations/us-
9119+
central1/repositories/repo1/packages/pkg1/versions/art1`. If the package or version ID parts
91209120
contain slashes, the slashes are escaped.
91219121
*/
91229122
public java.lang.String getName() {
91239123
return name;
91249124
}
91259125

91269126
/**
9127-
* The name of the version, for example: "projects/p1/locations/us-
9128-
* central1/repositories/repo1/packages/pkg1/versions/art1". If the package or version
9127+
* The name of the version, for example: `projects/p1/locations/us-
9128+
* central1/repositories/repo1/packages/pkg1/versions/art1`. If the package or version
91299129
* ID parts contain slashes, the slashes are escaped.
91309130
*/
91319131
public Patch setName(java.lang.String name) {

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

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

1919
/**
20-
* An Attachment refers to additional metadata that can be attached to artifacts in
21-
* ArtifactRegistry. An attachment consists of one or more files.
20+
* An Attachment refers to additional metadata that can be attached to artifacts in Artifact
21+
* Registry. An attachment consists of one or more files.
2222
*
2323
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2424
* transmitted over HTTP when working with the Artifact Registry API. For a detailed explanation
@@ -34,15 +34,15 @@ public final class Attachment extends com.google.api.client.json.GenericJson {
3434
/**
3535
* Optional. User annotations. These attributes can only be set and used by the user, and not by
3636
* Artifact Registry. See https://google.aip.dev/128#annotations for more details such as format
37-
* and size limitations. Client specified annotations.
37+
* and size limitations.
3838
* The value may be {@code null}.
3939
*/
4040
@com.google.api.client.util.Key
4141
private java.util.Map<String, java.lang.String> annotations;
4242

4343
/**
4444
* The namespace this attachment belongs to. E.g. If an Attachment is created by artifact
45-
* analysis, namespace is set to artifactanalysis.googleapis.com.
45+
* analysis, namespace is set to `artifactanalysis.googleapis.com`.
4646
* The value may be {@code null}.
4747
*/
4848
@com.google.api.client.util.Key
@@ -56,8 +56,8 @@ public final class Attachment extends com.google.api.client.json.GenericJson {
5656
private String createTime;
5757

5858
/**
59-
* Required. The files that blong to this Attachment. If the file ID part contains slashes, they
60-
* are escaped. E.g. "projects/p1/locations/us-central1/repositories/repo1/files/sha:".
59+
* Required. The files that belong to this attachment. If the file ID part contains slashes, they
60+
* are escaped. E.g. `projects/p1/locations/us-central1/repositories/repo1/files/sha:`.
6161
* The value may be {@code null}.
6262
*/
6363
@com.google.api.client.util.Key
@@ -72,8 +72,8 @@ public final class Attachment extends com.google.api.client.json.GenericJson {
7272

7373
/**
7474
* Output only. The name of the OCI version that this attachment created. Only populated for
75-
* Docker attachments. E.g. "projects/p1/locations/us-
76-
* central1/repositories/repo1/packages/p1/versions/v1".
75+
* Docker attachments. E.g. `projects/p1/locations/us-
76+
* central1/repositories/repo1/packages/p1/versions/v1`.
7777
* The value may be {@code null}.
7878
*/
7979
@com.google.api.client.util.Key
@@ -88,7 +88,7 @@ public final class Attachment extends com.google.api.client.json.GenericJson {
8888
private java.lang.String target;
8989

9090
/**
91-
* Type of Attachment. E.g. application/vnd.spdx+jsonn
91+
* Type of Attachment. E.g. `application/vnd.spdx+json`
9292
* The value may be {@code null}.
9393
*/
9494
@com.google.api.client.util.Key
@@ -104,7 +104,7 @@ public final class Attachment extends com.google.api.client.json.GenericJson {
104104
/**
105105
* Optional. User annotations. These attributes can only be set and used by the user, and not by
106106
* Artifact Registry. See https://google.aip.dev/128#annotations for more details such as format
107-
* and size limitations. Client specified annotations.
107+
* and size limitations.
108108
* @return value or {@code null} for none
109109
*/
110110
public java.util.Map<String, java.lang.String> getAnnotations() {
@@ -114,7 +114,7 @@ public java.util.Map<String, java.lang.String> getAnnotations() {
114114
/**
115115
* Optional. User annotations. These attributes can only be set and used by the user, and not by
116116
* Artifact Registry. See https://google.aip.dev/128#annotations for more details such as format
117-
* and size limitations. Client specified annotations.
117+
* and size limitations.
118118
* @param annotations annotations or {@code null} for none
119119
*/
120120
public Attachment setAnnotations(java.util.Map<String, java.lang.String> annotations) {
@@ -124,7 +124,7 @@ public Attachment setAnnotations(java.util.Map<String, java.lang.String> annotat
124124

125125
/**
126126
* The namespace this attachment belongs to. E.g. If an Attachment is created by artifact
127-
* analysis, namespace is set to artifactanalysis.googleapis.com.
127+
* analysis, namespace is set to `artifactanalysis.googleapis.com`.
128128
* @return value or {@code null} for none
129129
*/
130130
public java.lang.String getAttachmentNamespace() {
@@ -133,7 +133,7 @@ public java.lang.String getAttachmentNamespace() {
133133

134134
/**
135135
* The namespace this attachment belongs to. E.g. If an Attachment is created by artifact
136-
* analysis, namespace is set to artifactanalysis.googleapis.com.
136+
* analysis, namespace is set to `artifactanalysis.googleapis.com`.
137137
* @param attachmentNamespace attachmentNamespace or {@code null} for none
138138
*/
139139
public Attachment setAttachmentNamespace(java.lang.String attachmentNamespace) {
@@ -159,17 +159,17 @@ public Attachment setCreateTime(String createTime) {
159159
}
160160

161161
/**
162-
* Required. The files that blong to this Attachment. If the file ID part contains slashes, they
163-
* are escaped. E.g. "projects/p1/locations/us-central1/repositories/repo1/files/sha:".
162+
* Required. The files that belong to this attachment. If the file ID part contains slashes, they
163+
* are escaped. E.g. `projects/p1/locations/us-central1/repositories/repo1/files/sha:`.
164164
* @return value or {@code null} for none
165165
*/
166166
public java.util.List<java.lang.String> getFiles() {
167167
return files;
168168
}
169169

170170
/**
171-
* Required. The files that blong to this Attachment. If the file ID part contains slashes, they
172-
* are escaped. E.g. "projects/p1/locations/us-central1/repositories/repo1/files/sha:".
171+
* Required. The files that belong to this attachment. If the file ID part contains slashes, they
172+
* are escaped. E.g. `projects/p1/locations/us-central1/repositories/repo1/files/sha:`.
173173
* @param files files or {@code null} for none
174174
*/
175175
public Attachment setFiles(java.util.List<java.lang.String> files) {
@@ -196,8 +196,8 @@ public Attachment setName(java.lang.String name) {
196196

197197
/**
198198
* Output only. The name of the OCI version that this attachment created. Only populated for
199-
* Docker attachments. E.g. "projects/p1/locations/us-
200-
* central1/repositories/repo1/packages/p1/versions/v1".
199+
* Docker attachments. E.g. `projects/p1/locations/us-
200+
* central1/repositories/repo1/packages/p1/versions/v1`.
201201
* @return value or {@code null} for none
202202
*/
203203
public java.lang.String getOciVersionName() {
@@ -206,8 +206,8 @@ public java.lang.String getOciVersionName() {
206206

207207
/**
208208
* Output only. The name of the OCI version that this attachment created. Only populated for
209-
* Docker attachments. E.g. "projects/p1/locations/us-
210-
* central1/repositories/repo1/packages/p1/versions/v1".
209+
* Docker attachments. E.g. `projects/p1/locations/us-
210+
* central1/repositories/repo1/packages/p1/versions/v1`.
211211
* @param ociVersionName ociVersionName or {@code null} for none
212212
*/
213213
public Attachment setOciVersionName(java.lang.String ociVersionName) {
@@ -235,15 +235,15 @@ public Attachment setTarget(java.lang.String target) {
235235
}
236236

237237
/**
238-
* Type of Attachment. E.g. application/vnd.spdx+jsonn
238+
* Type of Attachment. E.g. `application/vnd.spdx+json`
239239
* @return value or {@code null} for none
240240
*/
241241
public java.lang.String getType() {
242242
return type;
243243
}
244244

245245
/**
246-
* Type of Attachment. E.g. application/vnd.spdx+jsonn
246+
* Type of Attachment. E.g. `application/vnd.spdx+json`
247247
* @param type type or {@code null} for none
248248
*/
249249
public Attachment setType(java.lang.String type) {

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,22 +31,22 @@
3131
public final class CommonRemoteRepository extends com.google.api.client.json.GenericJson {
3232

3333
/**
34-
* Required. A common public repository base for Remote Repository.
34+
* Required. A common public repository base for remote repository.
3535
* The value may be {@code null}.
3636
*/
3737
@com.google.api.client.util.Key
3838
private java.lang.String uri;
3939

4040
/**
41-
* Required. A common public repository base for Remote Repository.
41+
* Required. A common public repository base for remote repository.
4242
* @return value or {@code null} for none
4343
*/
4444
public java.lang.String getUri() {
4545
return uri;
4646
}
4747

4848
/**
49-
* Required. A common public repository base for Remote Repository.
49+
* Required. A common public repository base for remote repository.
5050
* @param uri uri or {@code null} for none
5151
*/
5252
public CommonRemoteRepository setUri(java.lang.String uri) {

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

Lines changed: 0 additions & 43 deletions
This file was deleted.

0 commit comments

Comments
 (0)