Skip to content

Commit f75d8c1

Browse files
feat(artifactregistry): update the api
#### artifactregistry:v1 The following keys were deleted: - resources.operations.methods.get (Total Keys: 11) The following keys were added: - resources.projects.resources.locations.resources.operations.methods.get (Total Keys: 11) - resources.projects.resources.locations.resources.repositories.resources.files.methods.list.parameters.orderBy (Total Keys: 2)
1 parent e81ff79 commit f75d8c1

7 files changed

+170
-40
lines changed

docs/dyn/artifactregistry_v1.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_v1.html">Artifact Registry API</a></h1>
7676
<h2>Instance Methods</h2>
77-
<p class="toc_element">
78-
<code><a href="artifactregistry_v1.operations.html">operations()</a></code>
79-
</p>
80-
<p class="firstline">Returns the operations Resource.</p>
81-
8277
<p class="toc_element">
8378
<code><a href="artifactregistry_v1.projects.html">projects()</a></code>
8479
</p>

docs/dyn/artifactregistry_v1.projects.locations.html

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

7575
<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></h1>
7676
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="artifactregistry_v1.projects.locations.operations.html">operations()</a></code>
79+
</p>
80+
<p class="firstline">Returns the operations Resource.</p>
81+
7782
<p class="toc_element">
7883
<code><a href="artifactregistry_v1.projects.locations.repositories.html">repositories()</a></code>
7984
</p>
Lines changed: 124 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,124 @@
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.operations.html">operations</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="#get">get(name, x__xgafv=None)</a></code></p>
82+
<p class="firstline">Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.</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="get">get(name, x__xgafv=None)</code>
91+
<pre>Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
92+
93+
Args:
94+
name: string, The name of the operation resource. (required)
95+
x__xgafv: string, V1 error format.
96+
Allowed values
97+
1 - v1 error format
98+
2 - v2 error format
99+
100+
Returns:
101+
An object of the form:
102+
103+
{ # This resource represents a long-running operation that is the result of a network API call.
104+
&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.
105+
&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.
106+
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
107+
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
108+
{
109+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
110+
},
111+
],
112+
&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.
113+
},
114+
&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.
115+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
116+
},
117+
&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}`.
118+
&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`.
119+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
120+
},
121+
}</pre>
122+
</div>
123+
124+
</body></html>

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ <h2>Instance Methods</h2>
8181
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
8282
<p class="firstline">Gets a file.</p>
8383
<p class="toc_element">
84-
<code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
84+
<code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
8585
<p class="firstline">Lists files.</p>
8686
<p class="toc_element">
8787
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
@@ -122,12 +122,13 @@ <h3>Method Details</h3>
122122
</div>
123123

124124
<div class="method">
125-
<code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
125+
<code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
126126
<pre>Lists files.
127127

128128
Args:
129129
parent: string, The name of the parent resource whose files will be listed. (required)
130130
filter: string, An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are: * `name` * `owner` An example of using a filter: * `name=&quot;projects/p1/locations/us-central1/repositories/repo1/files/a/b/*&quot;` --&gt; Files with an ID starting with &quot;a/b/&quot;. * `owner=&quot;projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/1.0&quot;` --&gt; Files owned by the version `1.0` in package `pkg1`.
131+
orderBy: string, The field to order the results by.
131132
pageSize: integer, The maximum number of files to return.
132133
pageToken: string, The next_page_token value returned from a previous list request, if any.
133134
x__xgafv: string, V1 error format.

googleapiclient/discovery_cache/documents/artifactregistry.v1.json

Lines changed: 36 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -108,36 +108,6 @@
108108
},
109109
"protocol": "rest",
110110
"resources": {
111-
"operations": {
112-
"methods": {
113-
"get": {
114-
"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.",
115-
"flatPath": "v1/operations/{operationsId}",
116-
"httpMethod": "GET",
117-
"id": "artifactregistry.operations.get",
118-
"parameterOrder": [
119-
"name"
120-
],
121-
"parameters": {
122-
"name": {
123-
"description": "The name of the operation resource.",
124-
"location": "path",
125-
"pattern": "^operations/[^/]+$",
126-
"required": true,
127-
"type": "string"
128-
}
129-
},
130-
"path": "v1/{+name}",
131-
"response": {
132-
"$ref": "Operation"
133-
},
134-
"scopes": [
135-
"https://www.googleapis.com/auth/cloud-platform",
136-
"https://www.googleapis.com/auth/cloud-platform.read-only"
137-
]
138-
}
139-
}
140-
},
141111
"projects": {
142112
"methods": {
143113
"getProjectSettings": {
@@ -204,6 +174,36 @@
204174
"resources": {
205175
"locations": {
206176
"resources": {
177+
"operations": {
178+
"methods": {
179+
"get": {
180+
"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.",
181+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}",
182+
"httpMethod": "GET",
183+
"id": "artifactregistry.projects.locations.operations.get",
184+
"parameterOrder": [
185+
"name"
186+
],
187+
"parameters": {
188+
"name": {
189+
"description": "The name of the operation resource.",
190+
"location": "path",
191+
"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
192+
"required": true,
193+
"type": "string"
194+
}
195+
},
196+
"path": "v1/{+name}",
197+
"response": {
198+
"$ref": "Operation"
199+
},
200+
"scopes": [
201+
"https://www.googleapis.com/auth/cloud-platform",
202+
"https://www.googleapis.com/auth/cloud-platform.read-only"
203+
]
204+
}
205+
}
206+
},
207207
"repositories": {
208208
"methods": {
209209
"create": {
@@ -633,6 +633,11 @@
633633
"location": "query",
634634
"type": "string"
635635
},
636+
"orderBy": {
637+
"description": "The field to order the results by.",
638+
"location": "query",
639+
"type": "string"
640+
},
636641
"pageSize": {
637642
"description": "The maximum number of files to return.",
638643
"format": "int32",
@@ -1208,7 +1213,7 @@
12081213
}
12091214
}
12101215
},
1211-
"revision": "20220203",
1216+
"revision": "20220217",
12121217
"rootUrl": "https://artifactregistry.googleapis.com/",
12131218
"schemas": {
12141219
"Binding": {

googleapiclient/discovery_cache/documents/artifactregistry.v1beta1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -929,7 +929,7 @@
929929
}
930930
}
931931
},
932-
"revision": "20220203",
932+
"revision": "20220217",
933933
"rootUrl": "https://artifactregistry.googleapis.com/",
934934
"schemas": {
935935
"Binding": {

googleapiclient/discovery_cache/documents/artifactregistry.v1beta2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1135,7 +1135,7 @@
11351135
}
11361136
}
11371137
},
1138-
"revision": "20220203",
1138+
"revision": "20220217",
11391139
"rootUrl": "https://artifactregistry.googleapis.com/",
11401140
"schemas": {
11411141
"AptArtifact": {

0 commit comments

Comments
 (0)