Skip to content

Commit 45409ce

Browse files
committedFeb 8, 2022
feat(artifactregistry): update the api
#### artifactregistry:v1 The following keys were deleted: - resources.projects.resources.locations.resources.repositories.resources.aptartifacts.methods.upload (Total Keys: 16) - resources.projects.resources.locations.resources.repositories.resources.googetartifacts.methods.upload (Total Keys: 16) - resources.projects.resources.locations.resources.repositories.resources.yumartifacts.methods.upload (Total Keys: 16) The following keys were added: - resources.projects.resources.locations.resources.repositories.resources.aptArtifacts.methods.upload (Total Keys: 16) - resources.projects.resources.locations.resources.repositories.resources.googetArtifacts.methods.upload (Total Keys: 16) - resources.projects.resources.locations.resources.repositories.resources.yumArtifacts.methods.upload (Total Keys: 16) #### artifactregistry:v1beta2 The following keys were deleted: - resources.projects.resources.locations.resources.repositories.resources.aptartifacts.methods.upload (Total Keys: 16) - resources.projects.resources.locations.resources.repositories.resources.yumartifacts.methods.upload (Total Keys: 16) The following keys were added: - resources.projects.resources.locations.resources.repositories.resources.aptArtifacts.methods.upload (Total Keys: 16) - resources.projects.resources.locations.resources.repositories.resources.yumArtifacts.methods.upload (Total Keys: 16)
1 parent 07d7bdb commit 45409ce

14 files changed

+369
-79
lines changed
 

‎docs/dyn/artifactregistry_v1.projects.locations.repositories.aptArtifacts.html

+48
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@ <h2>Instance Methods</h2>
8080
<p class="toc_element">
8181
<code><a href="#import_">import_(parent, body=None, x__xgafv=None)</a></code></p>
8282
<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+
<p class="toc_element">
84+
<code><a href="#upload">upload(parent, body=None, media_body=None, media_mime_type=None, x__xgafv=None)</a></code></p>
85+
<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>
8386
<h3>Method Details</h3>
8487
<div class="method">
8588
<code class="details" id="close">close()</code>
@@ -133,4 +136,49 @@ <h3>Method Details</h3>
133136
}</pre>
134137
</div>
135138

139+
<div class="method">
140+
<code class="details" id="upload">upload(parent, body=None, media_body=None, media_mime_type=None, x__xgafv=None)</code>
141+
<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.
142+
143+
Args:
144+
parent: string, The name of the parent resource where the artifacts will be uploaded. (required)
145+
body: object, The request body.
146+
The object takes the form of:
147+
148+
{ # The request to upload an artifact.
149+
}
150+
151+
media_body: string, The filename of the media request body, or an instance of a MediaUpload object.
152+
media_mime_type: string, The MIME type of the media request body, or an instance of a MediaUpload object.
153+
x__xgafv: string, V1 error format.
154+
Allowed values
155+
1 - v1 error format
156+
2 - v2 error format
157+
158+
Returns:
159+
An object of the form:
160+
161+
{ # The response to upload an artifact.
162+
&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.
163+
&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.
164+
&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.
165+
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
166+
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
167+
{
168+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
169+
},
170+
],
171+
&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.
172+
},
173+
&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.
174+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
175+
},
176+
&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}`.
177+
&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`.
178+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
179+
},
180+
},
181+
}</pre>
182+
</div>
183+
136184
</body></html>
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.googetArtifacts.html">googetArtifacts</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 a GooGet 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 a GooGet 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>

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

+7-17
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,6 @@ <h2>Instance Methods</h2>
7979
</p>
8080
<p class="firstline">Returns the aptArtifacts Resource.</p>
8181

82-
<p class="toc_element">
83-
<code><a href="artifactregistry_v1.projects.locations.repositories.aptartifacts.html">aptartifacts()</a></code>
84-
</p>
85-
<p class="firstline">Returns the aptartifacts Resource.</p>
86-
8782
<p class="toc_element">
8883
<code><a href="artifactregistry_v1.projects.locations.repositories.dockerImages.html">dockerImages()</a></code>
8984
</p>
@@ -100,9 +95,9 @@ <h2>Instance Methods</h2>
10095
<p class="firstline">Returns the gooGetArtifacts Resource.</p>
10196

10297
<p class="toc_element">
103-
<code><a href="artifactregistry_v1.projects.locations.repositories.googetartifacts.html">googetartifacts()</a></code>
98+
<code><a href="artifactregistry_v1.projects.locations.repositories.googetArtifacts.html">googetArtifacts()</a></code>
10499
</p>
105-
<p class="firstline">Returns the googetartifacts Resource.</p>
100+
<p class="firstline">Returns the googetArtifacts Resource.</p>
106101

107102
<p class="toc_element">
108103
<code><a href="artifactregistry_v1.projects.locations.repositories.packages.html">packages()</a></code>
@@ -114,11 +109,6 @@ <h2>Instance Methods</h2>
114109
</p>
115110
<p class="firstline">Returns the yumArtifacts Resource.</p>
116111

117-
<p class="toc_element">
118-
<code><a href="artifactregistry_v1.projects.locations.repositories.yumartifacts.html">yumartifacts()</a></code>
119-
</p>
120-
<p class="firstline">Returns the yumartifacts Resource.</p>
121-
122112
<p class="toc_element">
123113
<code><a href="#close">close()</a></code></p>
124114
<p class="firstline">Close httplib2 connections.</p>
@@ -168,7 +158,7 @@ <h3>Method Details</h3>
168158
&quot;createTime&quot;: &quot;A String&quot;, # The time when the repository was created.
169159
&quot;description&quot;: &quot;A String&quot;, # The user-provided description of the repository.
170160
&quot;format&quot;: &quot;A String&quot;, # The format of packages that are stored in the repository.
171-
&quot;kmsKeyName&quot;: &quot;A String&quot;, # The Cloud KMS resource name of the customer managed encryption key thats used to encrypt the contents of the Repository. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. This value may not be changed after the Repository has been created.
161+
&quot;kmsKeyName&quot;: &quot;A String&quot;, # The Cloud KMS resource name of the customer managed encryption key that&#x27;s used to encrypt the contents of the Repository. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. This value may not be changed after the Repository has been created.
172162
&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.
173163
&quot;a_key&quot;: &quot;A String&quot;,
174164
},
@@ -263,7 +253,7 @@ <h3>Method Details</h3>
263253
&quot;createTime&quot;: &quot;A String&quot;, # The time when the repository was created.
264254
&quot;description&quot;: &quot;A String&quot;, # The user-provided description of the repository.
265255
&quot;format&quot;: &quot;A String&quot;, # The format of packages that are stored in the repository.
266-
&quot;kmsKeyName&quot;: &quot;A String&quot;, # The Cloud KMS resource name of the customer managed encryption key thats used to encrypt the contents of the Repository. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. This value may not be changed after the Repository has been created.
256+
&quot;kmsKeyName&quot;: &quot;A String&quot;, # The Cloud KMS resource name of the customer managed encryption key that&#x27;s used to encrypt the contents of the Repository. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. This value may not be changed after the Repository has been created.
267257
&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.
268258
&quot;a_key&quot;: &quot;A String&quot;,
269259
},
@@ -334,7 +324,7 @@ <h3>Method Details</h3>
334324
&quot;createTime&quot;: &quot;A String&quot;, # The time when the repository was created.
335325
&quot;description&quot;: &quot;A String&quot;, # The user-provided description of the repository.
336326
&quot;format&quot;: &quot;A String&quot;, # The format of packages that are stored in the repository.
337-
&quot;kmsKeyName&quot;: &quot;A String&quot;, # The Cloud KMS resource name of the customer managed encryption key thats used to encrypt the contents of the Repository. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. This value may not be changed after the Repository has been created.
327+
&quot;kmsKeyName&quot;: &quot;A String&quot;, # The Cloud KMS resource name of the customer managed encryption key that&#x27;s used to encrypt the contents of the Repository. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. This value may not be changed after the Repository has been created.
338328
&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.
339329
&quot;a_key&quot;: &quot;A String&quot;,
340330
},
@@ -376,7 +366,7 @@ <h3>Method Details</h3>
376366
&quot;createTime&quot;: &quot;A String&quot;, # The time when the repository was created.
377367
&quot;description&quot;: &quot;A String&quot;, # The user-provided description of the repository.
378368
&quot;format&quot;: &quot;A String&quot;, # The format of packages that are stored in the repository.
379-
&quot;kmsKeyName&quot;: &quot;A String&quot;, # The Cloud KMS resource name of the customer managed encryption key thats used to encrypt the contents of the Repository. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. This value may not be changed after the Repository has been created.
369+
&quot;kmsKeyName&quot;: &quot;A String&quot;, # The Cloud KMS resource name of the customer managed encryption key that&#x27;s used to encrypt the contents of the Repository. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. This value may not be changed after the Repository has been created.
380370
&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.
381371
&quot;a_key&quot;: &quot;A String&quot;,
382372
},
@@ -401,7 +391,7 @@ <h3>Method Details</h3>
401391
&quot;createTime&quot;: &quot;A String&quot;, # The time when the repository was created.
402392
&quot;description&quot;: &quot;A String&quot;, # The user-provided description of the repository.
403393
&quot;format&quot;: &quot;A String&quot;, # The format of packages that are stored in the repository.
404-
&quot;kmsKeyName&quot;: &quot;A String&quot;, # The Cloud KMS resource name of the customer managed encryption key thats used to encrypt the contents of the Repository. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. This value may not be changed after the Repository has been created.
394+
&quot;kmsKeyName&quot;: &quot;A String&quot;, # The Cloud KMS resource name of the customer managed encryption key that&#x27;s used to encrypt the contents of the Repository. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. This value may not be changed after the Repository has been created.
405395
&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.
406396
&quot;a_key&quot;: &quot;A String&quot;,
407397
},

‎docs/dyn/artifactregistry_v1.projects.locations.repositories.packages.versions.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ <h3>Method Details</h3>
173173

174174
Args:
175175
parent: string, The name of the parent resource whose versions will be listed. (required)
176-
orderBy: string, Optional. Sorting field and order
176+
orderBy: string, Optional. The field to order the results by.
177177
pageSize: integer, The maximum number of versions to return. Maximum page size is 1,000.
178178
pageToken: string, The next_page_token value returned from a previous list request, if any.
179179
view: string, The view that should be returned in the response.

0 commit comments

Comments
 (0)