Skip to content

Commit

Permalink
feat(artifactregistry): update the api
Browse files Browse the repository at this point in the history
#### artifactregistry:v1

The following keys were added:
- schemas.DockerImage.properties.buildTime (Total Keys: 2)
  • Loading branch information
yoshi-automation committed May 15, 2021
1 parent 0aa69a9 commit 7dd722f
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,10 @@ <h3>Method Details</h3>

{ # The response from listing docker images.
&quot;dockerImages&quot;: [ # The docker images returned.
{ # DockerImage represents a docker artifact.
&quot;imageSizeBytes&quot;: &quot;A String&quot;, # Calculated size of the image.
&quot;mediaType&quot;: &quot;A String&quot;, # Media type of this image, e.g. &quot;application/vnd.docker.distribution.manifest.v2+json&quot;.
{ # 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
&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).
&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.
&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.
&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.
&quot;tags&quot;: [ # Tags attached to this image.
&quot;A String&quot;,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@
}
}
},
"revision": "20210430",
"revision": "20210509",
"rootUrl": "https://artifactregistry.googleapis.com/",
"schemas": {
"CancelOperationRequest": {
Expand All @@ -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": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -971,7 +971,7 @@
}
}
},
"revision": "20210430",
"revision": "20210509",
"rootUrl": "https://artifactregistry.googleapis.com/",
"schemas": {
"Binding": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -971,7 +971,7 @@
}
}
},
"revision": "20210430",
"revision": "20210509",
"rootUrl": "https://artifactregistry.googleapis.com/",
"schemas": {
"Binding": {
Expand Down

0 comments on commit 7dd722f

Please sign in to comment.