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:
- resources.media.methods.download (Total Keys: 13)
- resources.projects.resources.locations.resources.repositories.resources.packages.methods.patch (Total Keys: 15)
- schemas.AptRepository.properties.customRepository.$ref (Total Keys: 1)
- schemas.DockerRepository.properties.customRepository.$ref (Total Keys: 1)
- schemas.DownloadFileResponse (Total Keys: 2)
- schemas.GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryCustomRepository (Total Keys: 3)
- schemas.GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigDockerRepositoryCustomRepository (Total Keys: 3)
- schemas.GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigMavenRepositoryCustomRepository (Total Keys: 3)
- schemas.GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigNpmRepositoryCustomRepository (Total Keys: 3)
- schemas.GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigPythonRepositoryCustomRepository (Total Keys: 3)
- schemas.GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryCustomRepository (Total Keys: 3)
- schemas.MavenRepository.properties.customRepository.$ref (Total Keys: 1)
- schemas.NpmRepository.properties.customRepository.$ref (Total Keys: 1)
- schemas.Package.properties.annotations (Total Keys: 2)
- schemas.PythonRepository.properties.customRepository.$ref (Total Keys: 1)
- schemas.RemoteRepositoryConfig.properties.disableUpstreamValidation.type (Total Keys: 1)
- schemas.YumRepository.properties.customRepository.$ref (Total Keys: 1)

#### artifactregistry:v1beta2

The following keys were added:
- resources.media.methods.download (Total Keys: 13)
- resources.projects.resources.locations.resources.repositories.resources.packages.methods.patch (Total Keys: 15)
- schemas.DownloadFileResponse (Total Keys: 2)
- schemas.Package.properties.annotations (Total Keys: 2)
  • Loading branch information
yoshi-automation committed Mar 12, 2024
1 parent 90e542a commit fb8fa8c
Show file tree
Hide file tree
Showing 10 changed files with 722 additions and 9 deletions.
5 changes: 5 additions & 0 deletions docs/dyn/artifactregistry_v1.html
Expand Up @@ -74,6 +74,11 @@

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

<p class="toc_element">
<code><a href="artifactregistry_v1.projects.html">projects()</a></code>
</p>
Expand Down
127 changes: 127 additions & 0 deletions docs/dyn/artifactregistry_v1.media.html
@@ -0,0 +1,127 @@
<html><body>
<style>

body, h1, h2, h3, div, span, p, pre, a {
margin: 0;
padding: 0;
border: 0;
font-weight: inherit;
font-style: inherit;
font-size: 100%;
font-family: inherit;
vertical-align: baseline;
}

body {
font-size: 13px;
padding: 1em;
}

h1 {
font-size: 26px;
margin-bottom: 1em;
}

h2 {
font-size: 24px;
margin-bottom: 1em;
}

h3 {
font-size: 20px;
margin-bottom: 1em;
margin-top: 1em;
}

pre, code {
line-height: 1.5;
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
}

pre {
margin-top: 0.5em;
}

h1, h2, h3, p {
font-family: Arial, sans serif;
}

h1, h2, h3 {
border-bottom: solid #CCC 1px;
}

.toc_element {
margin-top: 0.5em;
}

.firstline {
margin-left: 2 em;
}

.method {
margin-top: 1em;
border: solid 1px #CCC;
padding: 1em;
background: #EEE;
}

.details {
font-weight: bold;
font-size: 14px;
}

</style>

<h1><a href="artifactregistry_v1.html">Artifact Registry API</a> . <a href="artifactregistry_v1.media.html">media</a></h1>
<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>
<h3>Method Details</h3>
<div class="method">
<code class="details" id="close">close()</code>
<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>

</body></html>
95 changes: 95 additions & 0 deletions docs/dyn/artifactregistry_v1.projects.locations.repositories.html

Large diffs are not rendered by default.

Expand Up @@ -99,6 +99,9 @@ <h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="#list_next">list_next()</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
<p class="toc_element">
<code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
<p class="firstline">Updates a package.</p>
<h3>Method Details</h3>
<div class="method">
<code class="details" id="close">close()</code>
Expand Down Expand Up @@ -155,6 +158,9 @@ <h3>Method Details</h3>
An object of the form:

{ # Packages are named collections of versions.
&quot;annotations&quot;: { # Optional. Client specified annotations.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;createTime&quot;: &quot;A String&quot;, # The time when the package was created.
&quot;displayName&quot;: &quot;A String&quot;, # The display name of the package.
&quot;name&quot;: &quot;A String&quot;, # The name of the package, for example: `projects/p1/locations/us-central1/repositories/repo1/packages/pkg1`. If the package ID part contains slashes, the slashes are escaped.
Expand Down Expand Up @@ -182,6 +188,9 @@ <h3>Method Details</h3>
&quot;nextPageToken&quot;: &quot;A String&quot;, # The token to retrieve the next page of packages, or empty if there are no more packages to return.
&quot;packages&quot;: [ # The packages returned.
{ # Packages are named collections of versions.
&quot;annotations&quot;: { # Optional. Client specified annotations.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;createTime&quot;: &quot;A String&quot;, # The time when the package was created.
&quot;displayName&quot;: &quot;A String&quot;, # The display name of the package.
&quot;name&quot;: &quot;A String&quot;, # The name of the package, for example: `projects/p1/locations/us-central1/repositories/repo1/packages/pkg1`. If the package ID part contains slashes, the slashes are escaped.
Expand All @@ -205,4 +214,43 @@ <h3>Method Details</h3>
</pre>
</div>

<div class="method">
<code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
<pre>Updates a package.

Args:
name: string, The name of the package, for example: `projects/p1/locations/us-central1/repositories/repo1/packages/pkg1`. If the package ID part contains slashes, the slashes are escaped. (required)
body: object, The request body.
The object takes the form of:

{ # Packages are named collections of versions.
&quot;annotations&quot;: { # Optional. Client specified annotations.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;createTime&quot;: &quot;A String&quot;, # The time when the package was created.
&quot;displayName&quot;: &quot;A String&quot;, # The display name of the package.
&quot;name&quot;: &quot;A String&quot;, # The name of the package, for example: `projects/p1/locations/us-central1/repositories/repo1/packages/pkg1`. If the package ID part contains slashes, the slashes are escaped.
&quot;updateTime&quot;: &quot;A String&quot;, # The time when the package was last updated. This includes publishing a new version of the package.
}

updateMask: string, The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format

Returns:
An object of the form:

{ # Packages are named collections of versions.
&quot;annotations&quot;: { # Optional. Client specified annotations.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;createTime&quot;: &quot;A String&quot;, # The time when the package was created.
&quot;displayName&quot;: &quot;A String&quot;, # The display name of the package.
&quot;name&quot;: &quot;A String&quot;, # The name of the package, for example: `projects/p1/locations/us-central1/repositories/repo1/packages/pkg1`. If the package ID part contains slashes, the slashes are escaped.
&quot;updateTime&quot;: &quot;A String&quot;, # The time when the package was last updated. This includes publishing a new version of the package.
}</pre>
</div>

</body></html>
5 changes: 5 additions & 0 deletions docs/dyn/artifactregistry_v1beta2.html
Expand Up @@ -74,6 +74,11 @@

<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
127 changes: 127 additions & 0 deletions docs/dyn/artifactregistry_v1beta2.media.html
@@ -0,0 +1,127 @@
<html><body>
<style>

body, h1, h2, h3, div, span, p, pre, a {
margin: 0;
padding: 0;
border: 0;
font-weight: inherit;
font-style: inherit;
font-size: 100%;
font-family: inherit;
vertical-align: baseline;
}

body {
font-size: 13px;
padding: 1em;
}

h1 {
font-size: 26px;
margin-bottom: 1em;
}

h2 {
font-size: 24px;
margin-bottom: 1em;
}

h3 {
font-size: 20px;
margin-bottom: 1em;
margin-top: 1em;
}

pre, code {
line-height: 1.5;
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
}

pre {
margin-top: 0.5em;
}

h1, h2, h3, p {
font-family: Arial, sans serif;
}

h1, h2, h3 {
border-bottom: solid #CCC 1px;
}

.toc_element {
margin-top: 0.5em;
}

.firstline {
margin-left: 2 em;
}

.method {
margin-top: 1em;
border: solid 1px #CCC;
padding: 1em;
background: #EEE;
}

.details {
font-weight: bold;
font-size: 14px;
}

</style>

<h1><a href="artifactregistry_v1beta2.html">Artifact Registry API</a> . <a href="artifactregistry_v1beta2.media.html">media</a></h1>
<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>
<h3>Method Details</h3>
<div class="method">
<code class="details" id="close">close()</code>
<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>

</body></html>

0 comments on commit fb8fa8c

Please sign in to comment.