Skip to content

Commit faa6c7f

Browse files
feat(artifactregistry): update the api
#### artifactregistry:v1 The following keys were added: - resources.projects.resources.locations.resources.repositories.resources.dockerImages.methods.get (Total Keys: 11)
1 parent a4ddcf6 commit faa6c7f

6 files changed

+63
-7
lines changed

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

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ <h2>Instance Methods</h2>
7777
<p class="toc_element">
7878
<code><a href="#close">close()</a></code></p>
7979
<p class="firstline">Close httplib2 connections.</p>
80+
<p class="toc_element">
81+
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
82+
<p class="firstline">Gets a docker image.</p>
8083
<p class="toc_element">
8184
<code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
8285
<p class="firstline">Lists docker images.</p>
@@ -89,6 +92,33 @@ <h3>Method Details</h3>
8992
<pre>Close httplib2 connections.</pre>
9093
</div>
9194

95+
<div class="method">
96+
<code class="details" id="get">get(name, x__xgafv=None)</code>
97+
<pre>Gets a docker image.
98+
99+
Args:
100+
name: string, Required. The name of the docker images. (required)
101+
x__xgafv: string, V1 error format.
102+
Allowed values
103+
1 - v1 error format
104+
2 - v2 error format
105+
106+
Returns:
107+
An object of the form:
108+
109+
{ # 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
110+
&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.
111+
&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.
112+
&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.
113+
&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.
114+
&quot;tags&quot;: [ # Tags attached to this image.
115+
&quot;A String&quot;,
116+
],
117+
&quot;uploadTime&quot;: &quot;A String&quot;, # Time the image was uploaded.
118+
&quot;uri&quot;: &quot;A String&quot;, # Required. URL to access the image. Example: us-west4-docker.pkg.dev/test-project/test-repo/nginx@sha256:e9954c1fc875017be1c3e36eca16be2d9e9bccc4bf072163515467d6a823c7cf
119+
}</pre>
120+
</div>
121+
92122
<div class="method">
93123
<code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
94124
<pre>Lists docker images.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ <h3>Method Details</h3>
239239

240240
Args:
241241
resource: string, REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field. (required)
242-
options_requestedPolicyVersion: integer, Optional. The policy format version to be returned. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
242+
options_requestedPolicyVersion: integer, Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
243243
x__xgafv: string, V1 error format.
244244
Allowed values
245245
1 - v1 error format

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ <h3>Method Details</h3>
267267

268268
Args:
269269
resource: string, REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field. (required)
270-
options_requestedPolicyVersion: integer, Optional. The policy format version to be returned. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
270+
options_requestedPolicyVersion: integer, Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
271271
x__xgafv: string, V1 error format.
272272
Allowed values
273273
1 - v1 error format

googleapiclient/discovery_cache/documents/artifactregistry.v1.json

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,32 @@
211211
"resources": {
212212
"dockerImages": {
213213
"methods": {
214+
"get": {
215+
"description": "Gets a docker image.",
216+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/dockerImages/{dockerImagesId}",
217+
"httpMethod": "GET",
218+
"id": "artifactregistry.projects.locations.repositories.dockerImages.get",
219+
"parameterOrder": [
220+
"name"
221+
],
222+
"parameters": {
223+
"name": {
224+
"description": "Required. The name of the docker images.",
225+
"location": "path",
226+
"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/dockerImages/[^/]+$",
227+
"required": true,
228+
"type": "string"
229+
}
230+
},
231+
"path": "v1/{+name}",
232+
"response": {
233+
"$ref": "DockerImage"
234+
},
235+
"scopes": [
236+
"https://www.googleapis.com/auth/cloud-platform",
237+
"https://www.googleapis.com/auth/cloud-platform.read-only"
238+
]
239+
},
214240
"list": {
215241
"description": "Lists docker images.",
216242
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/dockerImages",
@@ -257,7 +283,7 @@
257283
}
258284
}
259285
},
260-
"revision": "20211029",
286+
"revision": "20211112",
261287
"rootUrl": "https://artifactregistry.googleapis.com/",
262288
"schemas": {
263289
"AptArtifact": {

googleapiclient/discovery_cache/documents/artifactregistry.v1beta1.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@
308308
],
309309
"parameters": {
310310
"options.requestedPolicyVersion": {
311-
"description": "Optional. The policy format version to be returned. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
311+
"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
312312
"format": "int32",
313313
"location": "query",
314314
"type": "integer"
@@ -929,7 +929,7 @@
929929
}
930930
}
931931
},
932-
"revision": "20211029",
932+
"revision": "20211112",
933933
"rootUrl": "https://artifactregistry.googleapis.com/",
934934
"schemas": {
935935
"AptArtifact": {

googleapiclient/discovery_cache/documents/artifactregistry.v1beta2.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@
370370
],
371371
"parameters": {
372372
"options.requestedPolicyVersion": {
373-
"description": "Optional. The policy format version to be returned. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
373+
"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
374374
"format": "int32",
375375
"location": "query",
376376
"type": "integer"
@@ -1143,7 +1143,7 @@
11431143
}
11441144
}
11451145
},
1146-
"revision": "20211029",
1146+
"revision": "20211112",
11471147
"rootUrl": "https://artifactregistry.googleapis.com/",
11481148
"schemas": {
11491149
"AptArtifact": {

0 commit comments

Comments
 (0)