Skip to content

Commit 0f65c13

Browse files
feat(artifactregistry): update the api
#### artifactregistry:v1beta2 The following keys were added: - schemas.MavenRepositoryConfig (Total Keys: 4) - schemas.Repository.properties.mavenConfig.$ref (Total Keys: 1)
1 parent d6c65b0 commit 0f65c13

5 files changed

+54
-5
lines changed

docs/dyn/artifactregistry_v1.projects.locations.repositories.dockerImages.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ <h3>Method Details</h3>
108108
{ # The response from listing docker images.
109109
&quot;dockerImages&quot;: [ # The docker images returned.
110110
{ # DockerImage represents a docker artifact. The following fields are returned as untyped metadata in the Version resource, using camelcase keys (i.e. metadata.imageSizeBytes): - imageSizeBytes - mediaType - buildTime
111-
&quot;buildTime&quot;: &quot;A String&quot;, # The time this image was built. This field is returned as the &#x27;metadata.buildTime&#x27; field in the Version resource. The build time is returned to the client as an RFC 3339 string, which can be easily used with the JavaScript Date constructor and keeps the Version timestamps returned via OnePlatform consistent, as JSON marshals google.protobuf.Timestamp into an RFC 3339 string.
111+
&quot;buildTime&quot;: &quot;A String&quot;, # The time this image was built. This field is returned as the &#x27;metadata.buildTime&#x27; field in the Version resource. The build time is returned to the client as an RFC 3339 string, which can be easily used with the JavaScript Date constructor.
112112
&quot;imageSizeBytes&quot;: &quot;A String&quot;, # Calculated size of the image. This field is returned as the &#x27;metadata.imageSizeBytes&#x27; field in the Version resource.
113113
&quot;mediaType&quot;: &quot;A String&quot;, # Media type of this image, e.g. &quot;application/vnd.docker.distribution.manifest.v2+json&quot;. This field is returned as the &#x27;metadata.mediaType&#x27; field in the Version resource.
114114
&quot;name&quot;: &quot;A String&quot;, # Required. registry_location, project_id, repository_name and image id forms a unique image name:`projects//locations//repository//dockerImages/`. For example, &quot;projects/test-project/locations/us-west4/repositories/test-repo/dockerImages/ nginx@sha256:e9954c1fc875017be1c3e36eca16be2d9e9bccc4bf072163515467d6a823c7cf&quot;, where &quot;us-west4&quot; is the registry_location, &quot;test-project&quot; is the project_id, &quot;test-repo&quot; is the repository_name and &quot;nginx@sha256:e9954c1fc875017be1c3e36eca16be2d9e9bccc4bf072163515467d6a823c7cf&quot; is the image&#x27;s digest.

docs/dyn/artifactregistry_v1beta2.projects.locations.repositories.html

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,10 @@ <h3>Method Details</h3>
157157
&quot;labels&quot;: { # Labels with user-defined metadata. This field may contain up to 64 entries. Label keys and values may be no longer than 63 characters. Label keys must begin with a lowercase letter and may only contain lowercase letters, numeric characters, underscores, and dashes.
158158
&quot;a_key&quot;: &quot;A String&quot;,
159159
},
160+
&quot;mavenConfig&quot;: { # MavenRepositoryConfig is maven related repository details. Provides additional configuration details for repositories of the maven format type. # Maven repository config contains repository level configuration for the repositories of maven type.
161+
&quot;allowSnapshotOverwrites&quot;: True or False, # The repository with this flag will allow publishing the same snapshot versions.
162+
&quot;versionPolicy&quot;: &quot;A String&quot;, # Version policy defines the versions that the registry will accept.
163+
},
160164
&quot;name&quot;: &quot;A String&quot;, # The name of the repository, for example: &quot;projects/p1/locations/us-central1/repositories/repo1&quot;.
161165
&quot;updateTime&quot;: &quot;A String&quot;, # The time when the repository was last updated.
162166
}
@@ -248,6 +252,10 @@ <h3>Method Details</h3>
248252
&quot;labels&quot;: { # Labels with user-defined metadata. This field may contain up to 64 entries. Label keys and values may be no longer than 63 characters. Label keys must begin with a lowercase letter and may only contain lowercase letters, numeric characters, underscores, and dashes.
249253
&quot;a_key&quot;: &quot;A String&quot;,
250254
},
255+
&quot;mavenConfig&quot;: { # MavenRepositoryConfig is maven related repository details. Provides additional configuration details for repositories of the maven format type. # Maven repository config contains repository level configuration for the repositories of maven type.
256+
&quot;allowSnapshotOverwrites&quot;: True or False, # The repository with this flag will allow publishing the same snapshot versions.
257+
&quot;versionPolicy&quot;: &quot;A String&quot;, # Version policy defines the versions that the registry will accept.
258+
},
251259
&quot;name&quot;: &quot;A String&quot;, # The name of the repository, for example: &quot;projects/p1/locations/us-central1/repositories/repo1&quot;.
252260
&quot;updateTime&quot;: &quot;A String&quot;, # The time when the repository was last updated.
253261
}</pre>
@@ -315,6 +323,10 @@ <h3>Method Details</h3>
315323
&quot;labels&quot;: { # Labels with user-defined metadata. This field may contain up to 64 entries. Label keys and values may be no longer than 63 characters. Label keys must begin with a lowercase letter and may only contain lowercase letters, numeric characters, underscores, and dashes.
316324
&quot;a_key&quot;: &quot;A String&quot;,
317325
},
326+
&quot;mavenConfig&quot;: { # MavenRepositoryConfig is maven related repository details. Provides additional configuration details for repositories of the maven format type. # Maven repository config contains repository level configuration for the repositories of maven type.
327+
&quot;allowSnapshotOverwrites&quot;: True or False, # The repository with this flag will allow publishing the same snapshot versions.
328+
&quot;versionPolicy&quot;: &quot;A String&quot;, # Version policy defines the versions that the registry will accept.
329+
},
318330
&quot;name&quot;: &quot;A String&quot;, # The name of the repository, for example: &quot;projects/p1/locations/us-central1/repositories/repo1&quot;.
319331
&quot;updateTime&quot;: &quot;A String&quot;, # The time when the repository was last updated.
320332
},
@@ -353,6 +365,10 @@ <h3>Method Details</h3>
353365
&quot;labels&quot;: { # Labels with user-defined metadata. This field may contain up to 64 entries. Label keys and values may be no longer than 63 characters. Label keys must begin with a lowercase letter and may only contain lowercase letters, numeric characters, underscores, and dashes.
354366
&quot;a_key&quot;: &quot;A String&quot;,
355367
},
368+
&quot;mavenConfig&quot;: { # MavenRepositoryConfig is maven related repository details. Provides additional configuration details for repositories of the maven format type. # Maven repository config contains repository level configuration for the repositories of maven type.
369+
&quot;allowSnapshotOverwrites&quot;: True or False, # The repository with this flag will allow publishing the same snapshot versions.
370+
&quot;versionPolicy&quot;: &quot;A String&quot;, # Version policy defines the versions that the registry will accept.
371+
},
356372
&quot;name&quot;: &quot;A String&quot;, # The name of the repository, for example: &quot;projects/p1/locations/us-central1/repositories/repo1&quot;.
357373
&quot;updateTime&quot;: &quot;A String&quot;, # The time when the repository was last updated.
358374
}
@@ -374,6 +390,10 @@ <h3>Method Details</h3>
374390
&quot;labels&quot;: { # Labels with user-defined metadata. This field may contain up to 64 entries. Label keys and values may be no longer than 63 characters. Label keys must begin with a lowercase letter and may only contain lowercase letters, numeric characters, underscores, and dashes.
375391
&quot;a_key&quot;: &quot;A String&quot;,
376392
},
393+
&quot;mavenConfig&quot;: { # MavenRepositoryConfig is maven related repository details. Provides additional configuration details for repositories of the maven format type. # Maven repository config contains repository level configuration for the repositories of maven type.
394+
&quot;allowSnapshotOverwrites&quot;: True or False, # The repository with this flag will allow publishing the same snapshot versions.
395+
&quot;versionPolicy&quot;: &quot;A String&quot;, # Version policy defines the versions that the registry will accept.
396+
},
377397
&quot;name&quot;: &quot;A String&quot;, # The name of the repository, for example: &quot;projects/p1/locations/us-central1/repositories/repo1&quot;.
378398
&quot;updateTime&quot;: &quot;A String&quot;, # The time when the repository was last updated.
379399
}</pre>

googleapiclient/discovery_cache/documents/artifactregistry.v1.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@
352352
}
353353
}
354354
},
355-
"revision": "20210918",
355+
"revision": "20210925",
356356
"rootUrl": "https://artifactregistry.googleapis.com/",
357357
"schemas": {
358358
"AptArtifact": {
@@ -414,7 +414,7 @@
414414
"id": "DockerImage",
415415
"properties": {
416416
"buildTime": {
417-
"description": "The time this image was built. This field is returned as the 'metadata.buildTime' field in the Version resource. The build time is returned to the client as an RFC 3339 string, which can be easily used with the JavaScript Date constructor and keeps the Version timestamps returned via OnePlatform consistent, as JSON marshals google.protobuf.Timestamp into an RFC 3339 string.",
417+
"description": "The time this image was built. This field is returned as the 'metadata.buildTime' field in the Version resource. The build time is returned to the client as an RFC 3339 string, which can be easily used with the JavaScript Date constructor.",
418418
"format": "google-datetime",
419419
"type": "string"
420420
},

googleapiclient/discovery_cache/documents/artifactregistry.v1beta1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -929,7 +929,7 @@
929929
}
930930
}
931931
},
932-
"revision": "20210918",
932+
"revision": "20210925",
933933
"rootUrl": "https://artifactregistry.googleapis.com/",
934934
"schemas": {
935935
"AptArtifact": {

googleapiclient/discovery_cache/documents/artifactregistry.v1beta2.json

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1081,7 +1081,7 @@
10811081
}
10821082
}
10831083
},
1084-
"revision": "20210918",
1084+
"revision": "20210925",
10851085
"rootUrl": "https://artifactregistry.googleapis.com/",
10861086
"schemas": {
10871087
"AptArtifact": {
@@ -1516,6 +1516,31 @@
15161516
},
15171517
"type": "object"
15181518
},
1519+
"MavenRepositoryConfig": {
1520+
"description": "MavenRepositoryConfig is maven related repository details. Provides additional configuration details for repositories of the maven format type.",
1521+
"id": "MavenRepositoryConfig",
1522+
"properties": {
1523+
"allowSnapshotOverwrites": {
1524+
"description": "The repository with this flag will allow publishing the same snapshot versions.",
1525+
"type": "boolean"
1526+
},
1527+
"versionPolicy": {
1528+
"description": "Version policy defines the versions that the registry will accept.",
1529+
"enum": [
1530+
"VERSION_POLICY_UNSPECIFIED",
1531+
"RELEASE",
1532+
"SNAPSHOT"
1533+
],
1534+
"enumDescriptions": [
1535+
"VERSION_POLICY_UNSPECIFIED - the version policy is not defined. When the version policy is not defined, no validation is performed for the versions.",
1536+
"RELEASE - repository will accept only Release versions.",
1537+
"SNAPSHOT - repository will accept only Snapshot versions."
1538+
],
1539+
"type": "string"
1540+
}
1541+
},
1542+
"type": "object"
1543+
},
15191544
"Operation": {
15201545
"description": "This resource represents a long-running operation that is the result of a network API call.",
15211546
"id": "Operation",
@@ -1648,6 +1673,10 @@
16481673
"description": "Labels with user-defined metadata. This field may contain up to 64 entries. Label keys and values may be no longer than 63 characters. Label keys must begin with a lowercase letter and may only contain lowercase letters, numeric characters, underscores, and dashes.",
16491674
"type": "object"
16501675
},
1676+
"mavenConfig": {
1677+
"$ref": "MavenRepositoryConfig",
1678+
"description": "Maven repository config contains repository level configuration for the repositories of maven type."
1679+
},
16511680
"name": {
16521681
"description": "The name of the repository, for example: \"projects/p1/locations/us-central1/repositories/repo1\".",
16531682
"type": "string"

0 commit comments

Comments
 (0)