Skip to content

Commit 0d1152f

Browse files
feat(artifactregistry): update the api
#### artifactregistry:v1 The following keys were deleted: - schemas.AptArtifact (Total Keys: 15) - schemas.ImportAptArtifactsErrorInfo (Total Keys: 4) - schemas.ImportAptArtifactsResponse (Total Keys: 6) - schemas.ImportYumArtifactsErrorInfo (Total Keys: 4) - schemas.ImportYumArtifactsResponse (Total Keys: 6) - schemas.UploadAptArtifactResponse (Total Keys: 4) - schemas.UploadYumArtifactResponse (Total Keys: 4) - schemas.YumArtifact (Total Keys: 10) The following keys were added: - resources.projects.methods.getProjectSettings (Total Keys: 11) - resources.projects.methods.updateProjectSettings (Total Keys: 15) - resources.projects.resources.locations.resources.repositories.methods.create (Total Keys: 14) - resources.projects.resources.locations.resources.repositories.methods.delete (Total Keys: 11) - resources.projects.resources.locations.resources.repositories.methods.getIamPolicy (Total Keys: 14) - resources.projects.resources.locations.resources.repositories.methods.patch (Total Keys: 15) - resources.projects.resources.locations.resources.repositories.methods.setIamPolicy (Total Keys: 12) - resources.projects.resources.locations.resources.repositories.methods.testIamPermissions (Total Keys: 12) - resources.projects.resources.locations.resources.repositories.resources.aptArtifacts.methods.import (Total Keys: 12) - resources.projects.resources.locations.resources.repositories.resources.aptartifacts.methods.upload (Total Keys: 16) - resources.projects.resources.locations.resources.repositories.resources.files.methods.get (Total Keys: 11) - resources.projects.resources.locations.resources.repositories.resources.files.methods.list (Total Keys: 18) - resources.projects.resources.locations.resources.repositories.resources.gooGetArtifacts.methods.import (Total Keys: 12) - resources.projects.resources.locations.resources.repositories.resources.googetartifacts.methods.upload (Total Keys: 16) - resources.projects.resources.locations.resources.repositories.resources.packages.methods.delete (Total Keys: 11) - resources.projects.resources.locations.resources.repositories.resources.packages.methods.get (Total Keys: 11) - resources.projects.resources.locations.resources.repositories.resources.packages.methods.list (Total Keys: 16) - resources.projects.resources.locations.resources.repositories.resources.packages.resources.tags.methods.create (Total Keys: 14) - resources.projects.resources.locations.resources.repositories.resources.packages.resources.tags.methods.delete (Total Keys: 11) - resources.projects.resources.locations.resources.repositories.resources.packages.resources.tags.methods.get (Total Keys: 11) - resources.projects.resources.locations.resources.repositories.resources.packages.resources.tags.methods.list (Total Keys: 18) - resources.projects.resources.locations.resources.repositories.resources.packages.resources.tags.methods.patch (Total Keys: 15) - resources.projects.resources.locations.resources.repositories.resources.packages.resources.versions.methods.delete (Total Keys: 13) - resources.projects.resources.locations.resources.repositories.resources.packages.resources.versions.methods.get (Total Keys: 13) - resources.projects.resources.locations.resources.repositories.resources.packages.resources.versions.methods.list (Total Keys: 20) - resources.projects.resources.locations.resources.repositories.resources.yumArtifacts.methods.import (Total Keys: 12) - resources.projects.resources.locations.resources.repositories.resources.yumartifacts.methods.upload (Total Keys: 16) - schemas.Binding (Total Keys: 6) - schemas.Empty (Total Keys: 2) - schemas.Expr (Total Keys: 4) - schemas.GoogleDevtoolsArtifactregistryV1File (Total Keys: 12) - schemas.Hash (Total Keys: 5) - schemas.ImportAptArtifactsRequest (Total Keys: 3) - schemas.ImportGooGetArtifactsGcsSource (Total Keys: 5) - schemas.ImportGooGetArtifactsRequest (Total Keys: 3) - schemas.ImportYumArtifactsRequest (Total Keys: 3) - schemas.ListFilesResponse (Total Keys: 5) - schemas.ListPackagesResponse (Total Keys: 5) - schemas.ListTagsResponse (Total Keys: 5) - schemas.ListVersionsResponse (Total Keys: 5) - schemas.MavenRepositoryConfig (Total Keys: 4) - schemas.Package (Total Keys: 8) - schemas.Policy (Total Keys: 6) - schemas.ProjectSettings (Total Keys: 4) - schemas.Repository.properties.mavenConfig.$ref (Total Keys: 1) - schemas.SetIamPolicyRequest (Total Keys: 3) - schemas.Tag (Total Keys: 4) - schemas.TestIamPermissionsRequest (Total Keys: 4) - schemas.TestIamPermissionsResponse (Total Keys: 4) - schemas.UploadAptArtifactRequest (Total Keys: 2) - schemas.UploadGooGetArtifactMediaResponse (Total Keys: 3) - schemas.UploadGooGetArtifactRequest (Total Keys: 2) - schemas.UploadYumArtifactRequest (Total Keys: 2) - schemas.Version (Total Keys: 12) #### artifactregistry:v1beta1 The following keys were deleted: - schemas.AptArtifact (Total Keys: 15) - schemas.ImportAptArtifactsErrorInfo (Total Keys: 4) - schemas.ImportAptArtifactsGcsSource (Total Keys: 5) - schemas.ImportAptArtifactsResponse (Total Keys: 6) - schemas.ImportYumArtifactsErrorInfo (Total Keys: 4) - schemas.ImportYumArtifactsGcsSource (Total Keys: 5) - schemas.ImportYumArtifactsResponse (Total Keys: 6) - schemas.UploadAptArtifactMediaResponse (Total Keys: 3) - schemas.UploadAptArtifactResponse (Total Keys: 4) - schemas.UploadYumArtifactMediaResponse (Total Keys: 3) - schemas.UploadYumArtifactResponse (Total Keys: 4) - schemas.YumArtifact (Total Keys: 10) #### artifactregistry:v1beta2 The following keys were added: - schemas.OperationMetadata (Total Keys: 2)
1 parent 0f1a13a commit 0d1152f

22 files changed

+3443
-420
lines changed

docs/dyn/artifactregistry_v1.projects.html

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,65 @@ <h2>Instance Methods</h2>
8282
<p class="toc_element">
8383
<code><a href="#close">close()</a></code></p>
8484
<p class="firstline">Close httplib2 connections.</p>
85+
<p class="toc_element">
86+
<code><a href="#getProjectSettings">getProjectSettings(name, x__xgafv=None)</a></code></p>
87+
<p class="firstline">Retrieves the Settings for the Project.</p>
88+
<p class="toc_element">
89+
<code><a href="#updateProjectSettings">updateProjectSettings(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
90+
<p class="firstline">Updates the Settings for the Project.</p>
8591
<h3>Method Details</h3>
8692
<div class="method">
8793
<code class="details" id="close">close()</code>
8894
<pre>Close httplib2 connections.</pre>
8995
</div>
9096

97+
<div class="method">
98+
<code class="details" id="getProjectSettings">getProjectSettings(name, x__xgafv=None)</code>
99+
<pre>Retrieves the Settings for the Project.
100+
101+
Args:
102+
name: string, Required. The name of the projectSettings resource. (required)
103+
x__xgafv: string, V1 error format.
104+
Allowed values
105+
1 - v1 error format
106+
2 - v2 error format
107+
108+
Returns:
109+
An object of the form:
110+
111+
{ # The Artifact Registry settings that apply to a Project.
112+
&quot;legacyRedirectionState&quot;: &quot;A String&quot;, # The redirection state of the legacy repositories in this project.
113+
&quot;name&quot;: &quot;A String&quot;, # The name of the project&#x27;s settings. Always of the form: projects/{project-id}/projectSettings In update request: never set In response: always set
114+
}</pre>
115+
</div>
116+
117+
<div class="method">
118+
<code class="details" id="updateProjectSettings">updateProjectSettings(name, body=None, updateMask=None, x__xgafv=None)</code>
119+
<pre>Updates the Settings for the Project.
120+
121+
Args:
122+
name: string, The name of the project&#x27;s settings. Always of the form: projects/{project-id}/projectSettings In update request: never set In response: always set (required)
123+
body: object, The request body.
124+
The object takes the form of:
125+
126+
{ # The Artifact Registry settings that apply to a Project.
127+
&quot;legacyRedirectionState&quot;: &quot;A String&quot;, # The redirection state of the legacy repositories in this project.
128+
&quot;name&quot;: &quot;A String&quot;, # The name of the project&#x27;s settings. Always of the form: projects/{project-id}/projectSettings In update request: never set In response: always set
129+
}
130+
131+
updateMask: string, Field mask to support partial updates.
132+
x__xgafv: string, V1 error format.
133+
Allowed values
134+
1 - v1 error format
135+
2 - v2 error format
136+
137+
Returns:
138+
An object of the form:
139+
140+
{ # The Artifact Registry settings that apply to a Project.
141+
&quot;legacyRedirectionState&quot;: &quot;A String&quot;, # The redirection state of the legacy repositories in this project.
142+
&quot;name&quot;: &quot;A String&quot;, # The name of the project&#x27;s settings. Always of the form: projects/{project-id}/projectSettings In update request: never set In response: always set
143+
}</pre>
144+
</div>
145+
91146
</body></html>
Lines changed: 136 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,136 @@
1+
<html><body>
2+
<style>
3+
4+
body, h1, h2, h3, div, span, p, pre, a {
5+
margin: 0;
6+
padding: 0;
7+
border: 0;
8+
font-weight: inherit;
9+
font-style: inherit;
10+
font-size: 100%;
11+
font-family: inherit;
12+
vertical-align: baseline;
13+
}
14+
15+
body {
16+
font-size: 13px;
17+
padding: 1em;
18+
}
19+
20+
h1 {
21+
font-size: 26px;
22+
margin-bottom: 1em;
23+
}
24+
25+
h2 {
26+
font-size: 24px;
27+
margin-bottom: 1em;
28+
}
29+
30+
h3 {
31+
font-size: 20px;
32+
margin-bottom: 1em;
33+
margin-top: 1em;
34+
}
35+
36+
pre, code {
37+
line-height: 1.5;
38+
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39+
}
40+
41+
pre {
42+
margin-top: 0.5em;
43+
}
44+
45+
h1, h2, h3, p {
46+
font-family: Arial, sans serif;
47+
}
48+
49+
h1, h2, h3 {
50+
border-bottom: solid #CCC 1px;
51+
}
52+
53+
.toc_element {
54+
margin-top: 0.5em;
55+
}
56+
57+
.firstline {
58+
margin-left: 2 em;
59+
}
60+
61+
.method {
62+
margin-top: 1em;
63+
border: solid 1px #CCC;
64+
padding: 1em;
65+
background: #EEE;
66+
}
67+
68+
.details {
69+
font-weight: bold;
70+
font-size: 14px;
71+
}
72+
73+
</style>
74+
75+
<h1><a href="artifactregistry_v1.html">Artifact Registry API</a> . <a href="artifactregistry_v1.projects.html">projects</a> . <a href="artifactregistry_v1.projects.locations.html">locations</a> . <a href="artifactregistry_v1.projects.locations.repositories.html">repositories</a> . <a href="artifactregistry_v1.projects.locations.repositories.aptArtifacts.html">aptArtifacts</a></h1>
76+
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="#close">close()</a></code></p>
79+
<p class="firstline">Close httplib2 connections.</p>
80+
<p class="toc_element">
81+
<code><a href="#import_">import_(parent, body=None, x__xgafv=None)</a></code></p>
82+
<p class="firstline">Imports Apt artifacts. The returned Operation will complete once the resources are imported. Package, Version, and File resources are created based on the imported artifacts. Imported artifacts that conflict with existing resources are ignored.</p>
83+
<h3>Method Details</h3>
84+
<div class="method">
85+
<code class="details" id="close">close()</code>
86+
<pre>Close httplib2 connections.</pre>
87+
</div>
88+
89+
<div class="method">
90+
<code class="details" id="import_">import_(parent, body=None, x__xgafv=None)</code>
91+
<pre>Imports Apt artifacts. The returned Operation will complete once the resources are imported. Package, Version, and File resources are created based on the imported artifacts. Imported artifacts that conflict with existing resources are ignored.
92+
93+
Args:
94+
parent: string, The name of the parent resource where the artifacts will be imported. (required)
95+
body: object, The request body.
96+
The object takes the form of:
97+
98+
{ # The request to import new apt artifacts.
99+
&quot;gcsSource&quot;: { # Google Cloud Storage location where the artifacts currently reside. # Google Cloud Storage location where input content is located.
100+
&quot;uris&quot;: [ # Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
101+
&quot;A String&quot;,
102+
],
103+
&quot;useWildcards&quot;: True or False, # Supports URI wildcards for matching multiple objects from a single URI.
104+
},
105+
}
106+
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+
{ # This resource represents a long-running operation that is the result of a network API call.
116+
&quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
117+
&quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
118+
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
119+
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
120+
{
121+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
122+
},
123+
],
124+
&quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
125+
},
126+
&quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
127+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
128+
},
129+
&quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
130+
&quot;response&quot;: { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
131+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
132+
},
133+
}</pre>
134+
</div>
135+
136+
</body></html>
Lines changed: 134 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,134 @@
1+
<html><body>
2+
<style>
3+
4+
body, h1, h2, h3, div, span, p, pre, a {
5+
margin: 0;
6+
padding: 0;
7+
border: 0;
8+
font-weight: inherit;
9+
font-style: inherit;
10+
font-size: 100%;
11+
font-family: inherit;
12+
vertical-align: baseline;
13+
}
14+
15+
body {
16+
font-size: 13px;
17+
padding: 1em;
18+
}
19+
20+
h1 {
21+
font-size: 26px;
22+
margin-bottom: 1em;
23+
}
24+
25+
h2 {
26+
font-size: 24px;
27+
margin-bottom: 1em;
28+
}
29+
30+
h3 {
31+
font-size: 20px;
32+
margin-bottom: 1em;
33+
margin-top: 1em;
34+
}
35+
36+
pre, code {
37+
line-height: 1.5;
38+
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39+
}
40+
41+
pre {
42+
margin-top: 0.5em;
43+
}
44+
45+
h1, h2, h3, p {
46+
font-family: Arial, sans serif;
47+
}
48+
49+
h1, h2, h3 {
50+
border-bottom: solid #CCC 1px;
51+
}
52+
53+
.toc_element {
54+
margin-top: 0.5em;
55+
}
56+
57+
.firstline {
58+
margin-left: 2 em;
59+
}
60+
61+
.method {
62+
margin-top: 1em;
63+
border: solid 1px #CCC;
64+
padding: 1em;
65+
background: #EEE;
66+
}
67+
68+
.details {
69+
font-weight: bold;
70+
font-size: 14px;
71+
}
72+
73+
</style>
74+
75+
<h1><a href="artifactregistry_v1.html">Artifact Registry API</a> . <a href="artifactregistry_v1.projects.html">projects</a> . <a href="artifactregistry_v1.projects.locations.html">locations</a> . <a href="artifactregistry_v1.projects.locations.repositories.html">repositories</a> . <a href="artifactregistry_v1.projects.locations.repositories.aptartifacts.html">aptartifacts</a></h1>
76+
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="#close">close()</a></code></p>
79+
<p class="firstline">Close httplib2 connections.</p>
80+
<p class="toc_element">
81+
<code><a href="#upload">upload(parent, body=None, media_body=None, media_mime_type=None, x__xgafv=None)</a></code></p>
82+
<p class="firstline">Directly uploads an Apt artifact. The returned Operation will complete once the resources are uploaded. Package, Version, and File resources are created based on the imported artifact. Imported artifacts that conflict with existing resources are ignored.</p>
83+
<h3>Method Details</h3>
84+
<div class="method">
85+
<code class="details" id="close">close()</code>
86+
<pre>Close httplib2 connections.</pre>
87+
</div>
88+
89+
<div class="method">
90+
<code class="details" id="upload">upload(parent, body=None, media_body=None, media_mime_type=None, x__xgafv=None)</code>
91+
<pre>Directly uploads an Apt artifact. The returned Operation will complete once the resources are uploaded. Package, Version, and File resources are created based on the imported artifact. Imported artifacts that conflict with existing resources are ignored.
92+
93+
Args:
94+
parent: string, The name of the parent resource where the artifacts will be uploaded. (required)
95+
body: object, The request body.
96+
The object takes the form of:
97+
98+
{ # The request to upload an artifact.
99+
}
100+
101+
media_body: string, The filename of the media request body, or an instance of a MediaUpload object.
102+
media_mime_type: string, The MIME type of the media request body, or an instance of a MediaUpload object.
103+
x__xgafv: string, V1 error format.
104+
Allowed values
105+
1 - v1 error format
106+
2 - v2 error format
107+
108+
Returns:
109+
An object of the form:
110+
111+
{ # The response to upload an artifact.
112+
&quot;operation&quot;: { # This resource represents a long-running operation that is the result of a network API call. # Operation to be returned to the user.
113+
&quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
114+
&quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
115+
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
116+
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
117+
{
118+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
119+
},
120+
],
121+
&quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
122+
},
123+
&quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
124+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
125+
},
126+
&quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
127+
&quot;response&quot;: { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
128+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
129+
},
130+
},
131+
}</pre>
132+
</div>
133+
134+
</body></html>

0 commit comments

Comments
 (0)