From 7dd722fe8b0ae822f4847219c442aa67a1aae7fd Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Sat, 15 May 2021 07:10:12 +0000 Subject: [PATCH] feat(artifactregistry): update the api #### artifactregistry:v1 The following keys were added: - schemas.DockerImage.properties.buildTime (Total Keys: 2) --- ...rojects.locations.repositories.dockerImages.html | 7 ++++--- .../documents/artifactregistry.v1.json | 13 +++++++++---- .../documents/artifactregistry.v1beta1.json | 2 +- .../documents/artifactregistry.v1beta2.json | 2 +- 4 files changed, 15 insertions(+), 9 deletions(-) diff --git a/docs/dyn/artifactregistry_v1.projects.locations.repositories.dockerImages.html b/docs/dyn/artifactregistry_v1.projects.locations.repositories.dockerImages.html index 009711b5511..f1a24c823b5 100644 --- a/docs/dyn/artifactregistry_v1.projects.locations.repositories.dockerImages.html +++ b/docs/dyn/artifactregistry_v1.projects.locations.repositories.dockerImages.html @@ -107,9 +107,10 @@

Method Details

{ # The response from listing docker images. "dockerImages": [ # The docker images returned. - { # DockerImage represents a docker artifact. - "imageSizeBytes": "A String", # Calculated size of the image. - "mediaType": "A String", # Media type of this image, e.g. "application/vnd.docker.distribution.manifest.v2+json". + { # 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 + "buildTime": "A String", # 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). + "imageSizeBytes": "A String", # Calculated size of the image. This field is returned as the 'metadata.imageSizeBytes' field in the Version resource. + "mediaType": "A String", # 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. "name": "A String", # Required. registry_location, project_id, repository_name and image id forms a unique image name:`projects//locations//repository//dockerImages/`. For example, "projects/test-project/locations/us-west4/repositories/test-repo/dockerImages/ nginx@sha256:e9954c1fc875017be1c3e36eca16be2d9e9bccc4bf072163515467d6a823c7cf", where "us-west4" is the registry_location, "test-project" is the project_id, "test-repo" is the repository_name and "nginx@sha256:e9954c1fc875017be1c3e36eca16be2d9e9bccc4bf072163515467d6a823c7cf" is the image's digest. "tags": [ # Tags attached to this image. "A String", diff --git a/googleapiclient/discovery_cache/documents/artifactregistry.v1.json b/googleapiclient/discovery_cache/documents/artifactregistry.v1.json index 603cde78b96..7348eb13104 100644 --- a/googleapiclient/discovery_cache/documents/artifactregistry.v1.json +++ b/googleapiclient/discovery_cache/documents/artifactregistry.v1.json @@ -348,7 +348,7 @@ } } }, - "revision": "20210430", + "revision": "20210509", "rootUrl": "https://artifactregistry.googleapis.com/", "schemas": { "CancelOperationRequest": { @@ -358,16 +358,21 @@ "type": "object" }, "DockerImage": { - "description": "DockerImage represents a docker artifact.", + "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", "id": "DockerImage", "properties": { + "buildTime": { + "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).", + "format": "google-datetime", + "type": "string" + }, "imageSizeBytes": { - "description": "Calculated size of the image.", + "description": "Calculated size of the image. This field is returned as the 'metadata.imageSizeBytes' field in the Version resource.", "format": "int64", "type": "string" }, "mediaType": { - "description": "Media type of this image, e.g. \"application/vnd.docker.distribution.manifest.v2+json\".", + "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.", "type": "string" }, "name": { diff --git a/googleapiclient/discovery_cache/documents/artifactregistry.v1beta1.json b/googleapiclient/discovery_cache/documents/artifactregistry.v1beta1.json index 84ab1a858da..fcb25091dc5 100644 --- a/googleapiclient/discovery_cache/documents/artifactregistry.v1beta1.json +++ b/googleapiclient/discovery_cache/documents/artifactregistry.v1beta1.json @@ -971,7 +971,7 @@ } } }, - "revision": "20210430", + "revision": "20210509", "rootUrl": "https://artifactregistry.googleapis.com/", "schemas": { "Binding": { diff --git a/googleapiclient/discovery_cache/documents/artifactregistry.v1beta2.json b/googleapiclient/discovery_cache/documents/artifactregistry.v1beta2.json index 6bd90d4aeed..717a2c0de08 100644 --- a/googleapiclient/discovery_cache/documents/artifactregistry.v1beta2.json +++ b/googleapiclient/discovery_cache/documents/artifactregistry.v1beta2.json @@ -971,7 +971,7 @@ } } }, - "revision": "20210430", + "revision": "20210509", "rootUrl": "https://artifactregistry.googleapis.com/", "schemas": { "Binding": {