Skip to content

Commit eb4803b

Browse files
feat(artifactregistry): update the api
#### artifactregistry:v1beta1 The following keys were added: - schemas.Repository.properties.satisfiesPzi (Total Keys: 2) #### artifactregistry:v1beta2 The following keys were deleted: - resources.media.methods.download (Total Keys: 13) The following keys were added: - resources.projects.resources.locations.resources.repositories.resources.files.methods.download (Total Keys: 13) - schemas.Repository.properties.satisfiesPzi (Total Keys: 2)
1 parent 9e758cf commit eb4803b

7 files changed

+113
-61
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ <h3>Method Details</h3>
114114
&quot;value&quot;: &quot;A String&quot;, # The hash value.
115115
},
116116
],
117-
&quot;name&quot;: &quot;A String&quot;, # The name of the file, for example: &quot;projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt&quot;. If the file ID part contains slashes, they are escaped.
117+
&quot;name&quot;: &quot;A String&quot;, # The name of the file, for example: `projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt`. If the file ID part contains slashes, they are escaped.
118118
&quot;owner&quot;: &quot;A String&quot;, # The name of the Package or Version that owns this file, if any.
119119
&quot;sizeBytes&quot;: &quot;A String&quot;, # The size of the File in bytes.
120120
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the File was last updated.
@@ -148,7 +148,7 @@ <h3>Method Details</h3>
148148
&quot;value&quot;: &quot;A String&quot;, # The hash value.
149149
},
150150
],
151-
&quot;name&quot;: &quot;A String&quot;, # The name of the file, for example: &quot;projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt&quot;. If the file ID part contains slashes, they are escaped.
151+
&quot;name&quot;: &quot;A String&quot;, # The name of the file, for example: `projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt`. If the file ID part contains slashes, they are escaped.
152152
&quot;owner&quot;: &quot;A String&quot;, # The name of the Package or Version that owns this file, if any.
153153
&quot;sizeBytes&quot;: &quot;A String&quot;, # The size of the File in bytes.
154154
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the File was last updated.

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

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,8 @@ <h3>Method Details</h3>
137137
&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.
138138
&quot;a_key&quot;: &quot;A String&quot;,
139139
},
140-
&quot;name&quot;: &quot;A String&quot;, # The name of the repository, for example: `projects/p1/locations/us-central1/repositories/repo1`.
140+
&quot;name&quot;: &quot;A String&quot;, # The name of the repository, for example: `projects/p1/locations/us-central1/repositories/repo1`. For each location in a project, repository names must be unique.
141+
&quot;satisfiesPzi&quot;: True or False, # Output only. If set, the repository satisfies physical zone isolation.
141142
&quot;satisfiesPzs&quot;: True or False, # Output only. If set, the repository satisfies physical zone separation.
142143
&quot;sizeBytes&quot;: &quot;A String&quot;, # Output only. The size, in bytes, of all artifact storage in this repository. Repositories that are generally available or in public preview use this to calculate storage costs.
143144
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the repository was last updated.
@@ -230,7 +231,8 @@ <h3>Method Details</h3>
230231
&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.
231232
&quot;a_key&quot;: &quot;A String&quot;,
232233
},
233-
&quot;name&quot;: &quot;A String&quot;, # The name of the repository, for example: `projects/p1/locations/us-central1/repositories/repo1`.
234+
&quot;name&quot;: &quot;A String&quot;, # The name of the repository, for example: `projects/p1/locations/us-central1/repositories/repo1`. For each location in a project, repository names must be unique.
235+
&quot;satisfiesPzi&quot;: True or False, # Output only. If set, the repository satisfies physical zone isolation.
234236
&quot;satisfiesPzs&quot;: True or False, # Output only. If set, the repository satisfies physical zone separation.
235237
&quot;sizeBytes&quot;: &quot;A String&quot;, # Output only. The size, in bytes, of all artifact storage in this repository. Repositories that are generally available or in public preview use this to calculate storage costs.
236238
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the repository was last updated.
@@ -299,7 +301,8 @@ <h3>Method Details</h3>
299301
&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.
300302
&quot;a_key&quot;: &quot;A String&quot;,
301303
},
302-
&quot;name&quot;: &quot;A String&quot;, # The name of the repository, for example: `projects/p1/locations/us-central1/repositories/repo1`.
304+
&quot;name&quot;: &quot;A String&quot;, # The name of the repository, for example: `projects/p1/locations/us-central1/repositories/repo1`. For each location in a project, repository names must be unique.
305+
&quot;satisfiesPzi&quot;: True or False, # Output only. If set, the repository satisfies physical zone isolation.
303306
&quot;satisfiesPzs&quot;: True or False, # Output only. If set, the repository satisfies physical zone separation.
304307
&quot;sizeBytes&quot;: &quot;A String&quot;, # Output only. The size, in bytes, of all artifact storage in this repository. Repositories that are generally available or in public preview use this to calculate storage costs.
305308
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the repository was last updated.
@@ -327,7 +330,7 @@ <h3>Method Details</h3>
327330
<pre>Updates a repository.
328331

329332
Args:
330-
name: string, The name of the repository, for example: `projects/p1/locations/us-central1/repositories/repo1`. (required)
333+
name: string, The name of the repository, for example: `projects/p1/locations/us-central1/repositories/repo1`. For each location in a project, repository names must be unique. (required)
331334
body: object, The request body.
332335
The object takes the form of:
333336

@@ -339,7 +342,8 @@ <h3>Method Details</h3>
339342
&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.
340343
&quot;a_key&quot;: &quot;A String&quot;,
341344
},
342-
&quot;name&quot;: &quot;A String&quot;, # The name of the repository, for example: `projects/p1/locations/us-central1/repositories/repo1`.
345+
&quot;name&quot;: &quot;A String&quot;, # The name of the repository, for example: `projects/p1/locations/us-central1/repositories/repo1`. For each location in a project, repository names must be unique.
346+
&quot;satisfiesPzi&quot;: True or False, # Output only. If set, the repository satisfies physical zone isolation.
343347
&quot;satisfiesPzs&quot;: True or False, # Output only. If set, the repository satisfies physical zone separation.
344348
&quot;sizeBytes&quot;: &quot;A String&quot;, # Output only. The size, in bytes, of all artifact storage in this repository. Repositories that are generally available or in public preview use this to calculate storage costs.
345349
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the repository was last updated.
@@ -362,7 +366,8 @@ <h3>Method Details</h3>
362366
&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.
363367
&quot;a_key&quot;: &quot;A String&quot;,
364368
},
365-
&quot;name&quot;: &quot;A String&quot;, # The name of the repository, for example: `projects/p1/locations/us-central1/repositories/repo1`.
369+
&quot;name&quot;: &quot;A String&quot;, # The name of the repository, for example: `projects/p1/locations/us-central1/repositories/repo1`. For each location in a project, repository names must be unique.
370+
&quot;satisfiesPzi&quot;: True or False, # Output only. If set, the repository satisfies physical zone isolation.
366371
&quot;satisfiesPzs&quot;: True or False, # Output only. If set, the repository satisfies physical zone separation.
367372
&quot;sizeBytes&quot;: &quot;A String&quot;, # Output only. The size, in bytes, of all artifact storage in this repository. Repositories that are generally available or in public preview use this to calculate storage costs.
368373
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the repository was last updated.

docs/dyn/artifactregistry_v1beta2.html

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,6 @@
7474

7575
<h1><a href="artifactregistry_v1beta2.html">Artifact Registry API</a></h1>
7676
<h2>Instance Methods</h2>
77-
<p class="toc_element">
78-
<code><a href="artifactregistry_v1beta2.media.html">media()</a></code>
79-
</p>
80-
<p class="firstline">Returns the media Resource.</p>
81-
8277
<p class="toc_element">
8378
<code><a href="artifactregistry_v1beta2.projects.html">projects()</a></code>
8479
</p>

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

Lines changed: 43 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,12 @@ <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="#download">download(name, x__xgafv=None)</a></code></p>
82+
<p class="firstline">Download a file.</p>
83+
<p class="toc_element">
84+
<code><a href="#download_media">download_media(name, x__xgafv=None)</a></code></p>
85+
<p class="firstline">Download a file.</p>
8086
<p class="toc_element">
8187
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
8288
<p class="firstline">Gets a file.</p>
@@ -92,6 +98,41 @@ <h3>Method Details</h3>
9298
<pre>Close httplib2 connections.</pre>
9399
</div>
94100

101+
<div class="method">
102+
<code class="details" id="download">download(name, x__xgafv=None)</code>
103+
<pre>Download a file.
104+
105+
Args:
106+
name: string, Required. The name of the file to download. (required)
107+
x__xgafv: string, V1 error format.
108+
Allowed values
109+
1 - v1 error format
110+
2 - v2 error format
111+
112+
Returns:
113+
An object of the form:
114+
115+
{ # The response to download a file.
116+
}</pre>
117+
</div>
118+
119+
<div class="method">
120+
<code class="details" id="download_media">download_media(name, x__xgafv=None)</code>
121+
<pre>Download a file.
122+
123+
Args:
124+
name: string, Required. The name of the file to download. (required)
125+
x__xgafv: string, V1 error format.
126+
Allowed values
127+
1 - v1 error format
128+
2 - v2 error format
129+
130+
Returns:
131+
The media object as a string.
132+
133+
</pre>
134+
</div>
135+
95136
<div class="method">
96137
<code class="details" id="get">get(name, x__xgafv=None)</code>
97138
<pre>Gets a file.
@@ -114,7 +155,7 @@ <h3>Method Details</h3>
114155
&quot;value&quot;: &quot;A String&quot;, # The hash value.
115156
},
116157
],
117-
&quot;name&quot;: &quot;A String&quot;, # The name of the file, for example: &quot;projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt&quot;. If the file ID part contains slashes, they are escaped.
158+
&quot;name&quot;: &quot;A String&quot;, # The name of the file, for example: `projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt`. If the file ID part contains slashes, they are escaped.
118159
&quot;owner&quot;: &quot;A String&quot;, # The name of the Package or Version that owns this file, if any.
119160
&quot;sizeBytes&quot;: &quot;A String&quot;, # The size of the File in bytes.
120161
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the File was last updated.
@@ -148,7 +189,7 @@ <h3>Method Details</h3>
148189
&quot;value&quot;: &quot;A String&quot;, # The hash value.
149190
},
150191
],
151-
&quot;name&quot;: &quot;A String&quot;, # The name of the file, for example: &quot;projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt&quot;. If the file ID part contains slashes, they are escaped.
192+
&quot;name&quot;: &quot;A String&quot;, # The name of the file, for example: `projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt`. If the file ID part contains slashes, they are escaped.
152193
&quot;owner&quot;: &quot;A String&quot;, # The name of the Package or Version that owns this file, if any.
153194
&quot;sizeBytes&quot;: &quot;A String&quot;, # The size of the File in bytes.
154195
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the File was last updated.

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

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,8 @@ <h3>Method Details</h3>
151151
&quot;allowSnapshotOverwrites&quot;: True or False, # The repository with this flag will allow publishing the same snapshot versions.
152152
&quot;versionPolicy&quot;: &quot;A String&quot;, # Version policy defines the versions that the registry will accept.
153153
},
154-
&quot;name&quot;: &quot;A String&quot;, # The name of the repository, for example: `projects/p1/locations/us-central1/repositories/repo1`.
154+
&quot;name&quot;: &quot;A String&quot;, # The name of the repository, for example: `projects/p1/locations/us-central1/repositories/repo1`. For each location in a project, repository names must be unique.
155+
&quot;satisfiesPzi&quot;: True or False, # Output only. If set, the repository satisfies physical zone isolation.
155156
&quot;satisfiesPzs&quot;: True or False, # Output only. If set, the repository satisfies physical zone separation.
156157
&quot;sizeBytes&quot;: &quot;A String&quot;, # Output only. The size, in bytes, of all artifact storage in this repository. Repositories that are generally available or in public preview use this to calculate storage costs.
157158
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the repository was last updated.
@@ -248,7 +249,8 @@ <h3>Method Details</h3>
248249
&quot;allowSnapshotOverwrites&quot;: True or False, # The repository with this flag will allow publishing the same snapshot versions.
249250
&quot;versionPolicy&quot;: &quot;A String&quot;, # Version policy defines the versions that the registry will accept.
250251
},
251-
&quot;name&quot;: &quot;A String&quot;, # The name of the repository, for example: `projects/p1/locations/us-central1/repositories/repo1`.
252+
&quot;name&quot;: &quot;A String&quot;, # The name of the repository, for example: `projects/p1/locations/us-central1/repositories/repo1`. For each location in a project, repository names must be unique.
253+
&quot;satisfiesPzi&quot;: True or False, # Output only. If set, the repository satisfies physical zone isolation.
252254
&quot;satisfiesPzs&quot;: True or False, # Output only. If set, the repository satisfies physical zone separation.
253255
&quot;sizeBytes&quot;: &quot;A String&quot;, # Output only. The size, in bytes, of all artifact storage in this repository. Repositories that are generally available or in public preview use this to calculate storage costs.
254256
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the repository was last updated.
@@ -321,7 +323,8 @@ <h3>Method Details</h3>
321323
&quot;allowSnapshotOverwrites&quot;: True or False, # The repository with this flag will allow publishing the same snapshot versions.
322324
&quot;versionPolicy&quot;: &quot;A String&quot;, # Version policy defines the versions that the registry will accept.
323325
},
324-
&quot;name&quot;: &quot;A String&quot;, # The name of the repository, for example: `projects/p1/locations/us-central1/repositories/repo1`.
326+
&quot;name&quot;: &quot;A String&quot;, # The name of the repository, for example: `projects/p1/locations/us-central1/repositories/repo1`. For each location in a project, repository names must be unique.
327+
&quot;satisfiesPzi&quot;: True or False, # Output only. If set, the repository satisfies physical zone isolation.
325328
&quot;satisfiesPzs&quot;: True or False, # Output only. If set, the repository satisfies physical zone separation.
326329
&quot;sizeBytes&quot;: &quot;A String&quot;, # Output only. The size, in bytes, of all artifact storage in this repository. Repositories that are generally available or in public preview use this to calculate storage costs.
327330
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the repository was last updated.
@@ -349,7 +352,7 @@ <h3>Method Details</h3>
349352
<pre>Updates a repository.
350353

351354
Args:
352-
name: string, The name of the repository, for example: `projects/p1/locations/us-central1/repositories/repo1`. (required)
355+
name: string, The name of the repository, for example: `projects/p1/locations/us-central1/repositories/repo1`. For each location in a project, repository names must be unique. (required)
353356
body: object, The request body.
354357
The object takes the form of:
355358

@@ -365,7 +368,8 @@ <h3>Method Details</h3>
365368
&quot;allowSnapshotOverwrites&quot;: True or False, # The repository with this flag will allow publishing the same snapshot versions.
366369
&quot;versionPolicy&quot;: &quot;A String&quot;, # Version policy defines the versions that the registry will accept.
367370
},
368-
&quot;name&quot;: &quot;A String&quot;, # The name of the repository, for example: `projects/p1/locations/us-central1/repositories/repo1`.
371+
&quot;name&quot;: &quot;A String&quot;, # The name of the repository, for example: `projects/p1/locations/us-central1/repositories/repo1`. For each location in a project, repository names must be unique.
372+
&quot;satisfiesPzi&quot;: True or False, # Output only. If set, the repository satisfies physical zone isolation.
369373
&quot;satisfiesPzs&quot;: True or False, # Output only. If set, the repository satisfies physical zone separation.
370374
&quot;sizeBytes&quot;: &quot;A String&quot;, # Output only. The size, in bytes, of all artifact storage in this repository. Repositories that are generally available or in public preview use this to calculate storage costs.
371375
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the repository was last updated.
@@ -392,7 +396,8 @@ <h3>Method Details</h3>
392396
&quot;allowSnapshotOverwrites&quot;: True or False, # The repository with this flag will allow publishing the same snapshot versions.
393397
&quot;versionPolicy&quot;: &quot;A String&quot;, # Version policy defines the versions that the registry will accept.
394398
},
395-
&quot;name&quot;: &quot;A String&quot;, # The name of the repository, for example: `projects/p1/locations/us-central1/repositories/repo1`.
399+
&quot;name&quot;: &quot;A String&quot;, # The name of the repository, for example: `projects/p1/locations/us-central1/repositories/repo1`. For each location in a project, repository names must be unique.
400+
&quot;satisfiesPzi&quot;: True or False, # Output only. If set, the repository satisfies physical zone isolation.
396401
&quot;satisfiesPzs&quot;: True or False, # Output only. If set, the repository satisfies physical zone separation.
397402
&quot;sizeBytes&quot;: &quot;A String&quot;, # Output only. The size, in bytes, of all artifact storage in this repository. Repositories that are generally available or in public preview use this to calculate storage costs.
398403
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the repository was last updated.

0 commit comments

Comments
 (0)