Skip to content

Commit

Permalink
feat(artifactregistry): update the api
Browse files Browse the repository at this point in the history
#### 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)
  • Loading branch information
yoshi-automation committed May 10, 2024
1 parent 9e758cf commit eb4803b
Show file tree
Hide file tree
Showing 7 changed files with 113 additions and 61 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ <h3>Method Details</h3>
&quot;value&quot;: &quot;A String&quot;, # The hash value.
},
],
&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.
&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.
&quot;owner&quot;: &quot;A String&quot;, # The name of the Package or Version that owns this file, if any.
&quot;sizeBytes&quot;: &quot;A String&quot;, # The size of the File in bytes.
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the File was last updated.
Expand Down Expand Up @@ -148,7 +148,7 @@ <h3>Method Details</h3>
&quot;value&quot;: &quot;A String&quot;, # The hash value.
},
],
&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.
&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.
&quot;owner&quot;: &quot;A String&quot;, # The name of the Package or Version that owns this file, if any.
&quot;sizeBytes&quot;: &quot;A String&quot;, # The size of the File in bytes.
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the File was last updated.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ <h3>Method Details</h3>
&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.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;name&quot;: &quot;A String&quot;, # The name of the repository, for example: `projects/p1/locations/us-central1/repositories/repo1`.
&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.
&quot;satisfiesPzi&quot;: True or False, # Output only. If set, the repository satisfies physical zone isolation.
&quot;satisfiesPzs&quot;: True or False, # Output only. If set, the repository satisfies physical zone separation.
&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.
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the repository was last updated.
Expand Down Expand Up @@ -230,7 +231,8 @@ <h3>Method Details</h3>
&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.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;name&quot;: &quot;A String&quot;, # The name of the repository, for example: `projects/p1/locations/us-central1/repositories/repo1`.
&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.
&quot;satisfiesPzi&quot;: True or False, # Output only. If set, the repository satisfies physical zone isolation.
&quot;satisfiesPzs&quot;: True or False, # Output only. If set, the repository satisfies physical zone separation.
&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.
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the repository was last updated.
Expand Down Expand Up @@ -299,7 +301,8 @@ <h3>Method Details</h3>
&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.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;name&quot;: &quot;A String&quot;, # The name of the repository, for example: `projects/p1/locations/us-central1/repositories/repo1`.
&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.
&quot;satisfiesPzi&quot;: True or False, # Output only. If set, the repository satisfies physical zone isolation.
&quot;satisfiesPzs&quot;: True or False, # Output only. If set, the repository satisfies physical zone separation.
&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.
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the repository was last updated.
Expand Down Expand Up @@ -327,7 +330,7 @@ <h3>Method Details</h3>
<pre>Updates a repository.

Args:
name: string, The name of the repository, for example: `projects/p1/locations/us-central1/repositories/repo1`. (required)
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)
body: object, The request body.
The object takes the form of:

Expand All @@ -339,7 +342,8 @@ <h3>Method Details</h3>
&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.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;name&quot;: &quot;A String&quot;, # The name of the repository, for example: `projects/p1/locations/us-central1/repositories/repo1`.
&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.
&quot;satisfiesPzi&quot;: True or False, # Output only. If set, the repository satisfies physical zone isolation.
&quot;satisfiesPzs&quot;: True or False, # Output only. If set, the repository satisfies physical zone separation.
&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.
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the repository was last updated.
Expand All @@ -362,7 +366,8 @@ <h3>Method Details</h3>
&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.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;name&quot;: &quot;A String&quot;, # The name of the repository, for example: `projects/p1/locations/us-central1/repositories/repo1`.
&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.
&quot;satisfiesPzi&quot;: True or False, # Output only. If set, the repository satisfies physical zone isolation.
&quot;satisfiesPzs&quot;: True or False, # Output only. If set, the repository satisfies physical zone separation.
&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.
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the repository was last updated.
Expand Down
5 changes: 0 additions & 5 deletions docs/dyn/artifactregistry_v1beta2.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,6 @@

<h1><a href="artifactregistry_v1beta2.html">Artifact Registry API</a></h1>
<h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="artifactregistry_v1beta2.media.html">media()</a></code>
</p>
<p class="firstline">Returns the media Resource.</p>

<p class="toc_element">
<code><a href="artifactregistry_v1beta2.projects.html">projects()</a></code>
</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,12 @@ <h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="#close">close()</a></code></p>
<p class="firstline">Close httplib2 connections.</p>
<p class="toc_element">
<code><a href="#download">download(name, x__xgafv=None)</a></code></p>
<p class="firstline">Download a file.</p>
<p class="toc_element">
<code><a href="#download_media">download_media(name, x__xgafv=None)</a></code></p>
<p class="firstline">Download a file.</p>
<p class="toc_element">
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
<p class="firstline">Gets a file.</p>
Expand All @@ -92,6 +98,41 @@ <h3>Method Details</h3>
<pre>Close httplib2 connections.</pre>
</div>

<div class="method">
<code class="details" id="download">download(name, x__xgafv=None)</code>
<pre>Download a file.

Args:
name: string, Required. The name of the file to download. (required)
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format

Returns:
An object of the form:

{ # The response to download a file.
}</pre>
</div>

<div class="method">
<code class="details" id="download_media">download_media(name, x__xgafv=None)</code>
<pre>Download a file.

Args:
name: string, Required. The name of the file to download. (required)
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format

Returns:
The media object as a string.

</pre>
</div>

<div class="method">
<code class="details" id="get">get(name, x__xgafv=None)</code>
<pre>Gets a file.
Expand All @@ -114,7 +155,7 @@ <h3>Method Details</h3>
&quot;value&quot;: &quot;A String&quot;, # The hash value.
},
],
&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.
&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.
&quot;owner&quot;: &quot;A String&quot;, # The name of the Package or Version that owns this file, if any.
&quot;sizeBytes&quot;: &quot;A String&quot;, # The size of the File in bytes.
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the File was last updated.
Expand Down Expand Up @@ -148,7 +189,7 @@ <h3>Method Details</h3>
&quot;value&quot;: &quot;A String&quot;, # The hash value.
},
],
&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.
&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.
&quot;owner&quot;: &quot;A String&quot;, # The name of the Package or Version that owns this file, if any.
&quot;sizeBytes&quot;: &quot;A String&quot;, # The size of the File in bytes.
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the File was last updated.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,8 @@ <h3>Method Details</h3>
&quot;allowSnapshotOverwrites&quot;: True or False, # The repository with this flag will allow publishing the same snapshot versions.
&quot;versionPolicy&quot;: &quot;A String&quot;, # Version policy defines the versions that the registry will accept.
},
&quot;name&quot;: &quot;A String&quot;, # The name of the repository, for example: `projects/p1/locations/us-central1/repositories/repo1`.
&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.
&quot;satisfiesPzi&quot;: True or False, # Output only. If set, the repository satisfies physical zone isolation.
&quot;satisfiesPzs&quot;: True or False, # Output only. If set, the repository satisfies physical zone separation.
&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.
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the repository was last updated.
Expand Down Expand Up @@ -248,7 +249,8 @@ <h3>Method Details</h3>
&quot;allowSnapshotOverwrites&quot;: True or False, # The repository with this flag will allow publishing the same snapshot versions.
&quot;versionPolicy&quot;: &quot;A String&quot;, # Version policy defines the versions that the registry will accept.
},
&quot;name&quot;: &quot;A String&quot;, # The name of the repository, for example: `projects/p1/locations/us-central1/repositories/repo1`.
&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.
&quot;satisfiesPzi&quot;: True or False, # Output only. If set, the repository satisfies physical zone isolation.
&quot;satisfiesPzs&quot;: True or False, # Output only. If set, the repository satisfies physical zone separation.
&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.
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the repository was last updated.
Expand Down Expand Up @@ -321,7 +323,8 @@ <h3>Method Details</h3>
&quot;allowSnapshotOverwrites&quot;: True or False, # The repository with this flag will allow publishing the same snapshot versions.
&quot;versionPolicy&quot;: &quot;A String&quot;, # Version policy defines the versions that the registry will accept.
},
&quot;name&quot;: &quot;A String&quot;, # The name of the repository, for example: `projects/p1/locations/us-central1/repositories/repo1`.
&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.
&quot;satisfiesPzi&quot;: True or False, # Output only. If set, the repository satisfies physical zone isolation.
&quot;satisfiesPzs&quot;: True or False, # Output only. If set, the repository satisfies physical zone separation.
&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.
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the repository was last updated.
Expand Down Expand Up @@ -349,7 +352,7 @@ <h3>Method Details</h3>
<pre>Updates a repository.

Args:
name: string, The name of the repository, for example: `projects/p1/locations/us-central1/repositories/repo1`. (required)
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)
body: object, The request body.
The object takes the form of:

Expand All @@ -365,7 +368,8 @@ <h3>Method Details</h3>
&quot;allowSnapshotOverwrites&quot;: True or False, # The repository with this flag will allow publishing the same snapshot versions.
&quot;versionPolicy&quot;: &quot;A String&quot;, # Version policy defines the versions that the registry will accept.
},
&quot;name&quot;: &quot;A String&quot;, # The name of the repository, for example: `projects/p1/locations/us-central1/repositories/repo1`.
&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.
&quot;satisfiesPzi&quot;: True or False, # Output only. If set, the repository satisfies physical zone isolation.
&quot;satisfiesPzs&quot;: True or False, # Output only. If set, the repository satisfies physical zone separation.
&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.
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the repository was last updated.
Expand All @@ -392,7 +396,8 @@ <h3>Method Details</h3>
&quot;allowSnapshotOverwrites&quot;: True or False, # The repository with this flag will allow publishing the same snapshot versions.
&quot;versionPolicy&quot;: &quot;A String&quot;, # Version policy defines the versions that the registry will accept.
},
&quot;name&quot;: &quot;A String&quot;, # The name of the repository, for example: `projects/p1/locations/us-central1/repositories/repo1`.
&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.
&quot;satisfiesPzi&quot;: True or False, # Output only. If set, the repository satisfies physical zone isolation.
&quot;satisfiesPzs&quot;: True or False, # Output only. If set, the repository satisfies physical zone separation.
&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.
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the repository was last updated.
Expand Down
Loading

0 comments on commit eb4803b

Please sign in to comment.