Skip to content

Commit 7dd722f

Browse files
feat(artifactregistry): update the api
#### artifactregistry:v1 The following keys were added: - schemas.DockerImage.properties.buildTime (Total Keys: 2)
1 parent 0aa69a9 commit 7dd722f

File tree

4 files changed

+15
-9
lines changed

4 files changed

+15
-9
lines changed

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,10 @@ <h3>Method Details</h3>
107107

108108
{ # The response from listing docker images.
109109
&quot;dockerImages&quot;: [ # The docker images returned.
110-
{ # DockerImage represents a docker artifact.
111-
&quot;imageSizeBytes&quot;: &quot;A String&quot;, # Calculated size of the image.
112-
&quot;mediaType&quot;: &quot;A String&quot;, # Media type of this image, e.g. &quot;application/vnd.docker.distribution.manifest.v2+json&quot;.
110+
{ # 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. (http://google3/cloud/containers/artifacts/metadata/v1beta2/builder/data.go?l=158-159&amp;rcl=364878183).
112+
&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.
113+
&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.
113114
&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.
114115
&quot;tags&quot;: [ # Tags attached to this image.
115116
&quot;A String&quot;,

googleapiclient/discovery_cache/documents/artifactregistry.v1.json

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@
348348
}
349349
}
350350
},
351-
"revision": "20210430",
351+
"revision": "20210509",
352352
"rootUrl": "https://artifactregistry.googleapis.com/",
353353
"schemas": {
354354
"CancelOperationRequest": {
@@ -358,16 +358,21 @@
358358
"type": "object"
359359
},
360360
"DockerImage": {
361-
"description": "DockerImage represents a docker artifact.",
361+
"description": "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",
362362
"id": "DockerImage",
363363
"properties": {
364+
"buildTime": {
365+
"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. (http://google3/cloud/containers/artifacts/metadata/v1beta2/builder/data.go?l=158-159&rcl=364878183).",
366+
"format": "google-datetime",
367+
"type": "string"
368+
},
364369
"imageSizeBytes": {
365-
"description": "Calculated size of the image.",
370+
"description": "Calculated size of the image. This field is returned as the 'metadata.imageSizeBytes' field in the Version resource.",
366371
"format": "int64",
367372
"type": "string"
368373
},
369374
"mediaType": {
370-
"description": "Media type of this image, e.g. \"application/vnd.docker.distribution.manifest.v2+json\".",
375+
"description": "Media type of this image, e.g. \"application/vnd.docker.distribution.manifest.v2+json\". This field is returned as the 'metadata.mediaType' field in the Version resource.",
371376
"type": "string"
372377
},
373378
"name": {

googleapiclient/discovery_cache/documents/artifactregistry.v1beta1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -971,7 +971,7 @@
971971
}
972972
}
973973
},
974-
"revision": "20210430",
974+
"revision": "20210509",
975975
"rootUrl": "https://artifactregistry.googleapis.com/",
976976
"schemas": {
977977
"Binding": {

googleapiclient/discovery_cache/documents/artifactregistry.v1beta2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -971,7 +971,7 @@
971971
}
972972
}
973973
},
974-
"revision": "20210430",
974+
"revision": "20210509",
975975
"rootUrl": "https://artifactregistry.googleapis.com/",
976976
"schemas": {
977977
"Binding": {

0 commit comments

Comments
 (0)