Skip to content

Commit d1ef976

Browse files
feat(all): auto-regenerate discovery clients (#3339)
1 parent 40f2752 commit d1ef976

File tree

21 files changed

+5049
-1583
lines changed

21 files changed

+5049
-1583
lines changed

‎chromemanagement/v1/chromemanagement-api.json‎

Lines changed: 406 additions & 10 deletions
Large diffs are not rendered by default.

‎chromemanagement/v1/chromemanagement-gen.go‎

Lines changed: 2759 additions & 1456 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 374 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,374 @@
1+
{
2+
"auth": {
3+
"oauth2": {
4+
"scopes": {
5+
"https://www.googleapis.com/auth/chromewebstore": {
6+
"description": "See, edit, update, or publish your Chrome Web Store extensions, themes, apps, and licences you have access to"
7+
},
8+
"https://www.googleapis.com/auth/chromewebstore.readonly": {
9+
"description": "See and download your Chrome Web Store extensions and apps, and see licenses you have access to"
10+
}
11+
}
12+
}
13+
},
14+
"basePath": "",
15+
"baseUrl": "https://chromewebstore.googleapis.com/",
16+
"batchPath": "batch",
17+
"canonicalName": "Chromewebstore",
18+
"description": "The Chrome Web Store API provides access to data about apps and extensions, as well as developer tools for managing them.",
19+
"discoveryVersion": "v1",
20+
"documentationLink": "https://developer.chrome.com/webstore/api_index",
21+
"fullyEncodeReservedExpansion": true,
22+
"icons": {
23+
"x16": "http://www.google.com/images/icons/product/search-16.gif",
24+
"x32": "http://www.google.com/images/icons/product/search-32.gif"
25+
},
26+
"id": "chromewebstore:v1.1",
27+
"kind": "discovery#restDescription",
28+
"mtlsRootUrl": "https://chromewebstore.mtls.googleapis.com/",
29+
"name": "chromewebstore",
30+
"ownerDomain": "google.com",
31+
"ownerName": "Google",
32+
"parameters": {
33+
"$.xgafv": {
34+
"description": "V1 error format.",
35+
"enum": [
36+
"1",
37+
"2"
38+
],
39+
"enumDescriptions": [
40+
"v1 error format",
41+
"v2 error format"
42+
],
43+
"location": "query",
44+
"type": "string"
45+
},
46+
"access_token": {
47+
"description": "OAuth access token.",
48+
"location": "query",
49+
"type": "string"
50+
},
51+
"alt": {
52+
"default": "json",
53+
"description": "Data format for response.",
54+
"enum": [
55+
"json",
56+
"media",
57+
"proto"
58+
],
59+
"enumDescriptions": [
60+
"Responses with Content-Type of application/json",
61+
"Media download with context-dependent Content-Type",
62+
"Responses with Content-Type of application/x-protobuf"
63+
],
64+
"location": "query",
65+
"type": "string"
66+
},
67+
"callback": {
68+
"description": "JSONP",
69+
"location": "query",
70+
"type": "string"
71+
},
72+
"fields": {
73+
"description": "Selector specifying which fields to include in a partial response.",
74+
"location": "query",
75+
"type": "string"
76+
},
77+
"key": {
78+
"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
79+
"location": "query",
80+
"type": "string"
81+
},
82+
"oauth_token": {
83+
"description": "OAuth 2.0 token for the current user.",
84+
"location": "query",
85+
"type": "string"
86+
},
87+
"prettyPrint": {
88+
"default": "true",
89+
"description": "Returns response with indentations and line breaks.",
90+
"location": "query",
91+
"type": "boolean"
92+
},
93+
"quotaUser": {
94+
"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
95+
"location": "query",
96+
"type": "string"
97+
},
98+
"uploadType": {
99+
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
100+
"location": "query",
101+
"type": "string"
102+
},
103+
"upload_protocol": {
104+
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
105+
"location": "query",
106+
"type": "string"
107+
}
108+
},
109+
"protocol": "rest",
110+
"resources": {
111+
"items": {
112+
"methods": {
113+
"get": {
114+
"description": "Gets your own Chrome Web Store item.",
115+
"flatPath": "chromewebstore/v1.1/items/{itemId}",
116+
"httpMethod": "GET",
117+
"id": "chromewebstore.items.get",
118+
"parameterOrder": [
119+
"itemId"
120+
],
121+
"parameters": {
122+
"itemId": {
123+
"description": "Unique identifier representing the Chrome App, Chrome Extension, or the Chrome Theme.",
124+
"location": "path",
125+
"required": true,
126+
"type": "string"
127+
},
128+
"projection": {
129+
"description": "Determines which subset of the item information to return.",
130+
"enum": [
131+
"DRAFT",
132+
"PUBLISHED"
133+
],
134+
"enumDescriptions": [
135+
"Return information extracted from the current draft.",
136+
"Return information extracted from the published item draft."
137+
],
138+
"location": "query",
139+
"type": "string"
140+
}
141+
},
142+
"path": "chromewebstore/v1.1/items/{itemId}",
143+
"response": {
144+
"$ref": "Item"
145+
},
146+
"scopes": [
147+
"https://www.googleapis.com/auth/chromewebstore",
148+
"https://www.googleapis.com/auth/chromewebstore.readonly"
149+
]
150+
},
151+
"insert": {
152+
"description": "Inserts a new item.",
153+
"flatPath": "chromewebstore/v1.1/items",
154+
"httpMethod": "POST",
155+
"id": "chromewebstore.items.insert",
156+
"mediaUpload": {
157+
"accept": [
158+
"*/*"
159+
],
160+
"maxSize": "2147483648",
161+
"protocols": {
162+
"simple": {
163+
"multipart": true,
164+
"path": "/upload/chromewebstore/v1.1/items"
165+
}
166+
}
167+
},
168+
"parameterOrder": [],
169+
"parameters": {
170+
"publisherEmail": {
171+
"description": "The email of the publisher who owns the items. Defaults to the caller's email address.",
172+
"location": "query",
173+
"type": "string"
174+
}
175+
},
176+
"path": "chromewebstore/v1.1/items",
177+
"response": {
178+
"$ref": "Item"
179+
},
180+
"scopes": [
181+
"https://www.googleapis.com/auth/chromewebstore"
182+
],
183+
"supportsMediaUpload": true
184+
},
185+
"publish": {
186+
"description": "Publishes an item.",
187+
"flatPath": "chromewebstore/v1.1/items/{itemId}/publish",
188+
"httpMethod": "POST",
189+
"id": "chromewebstore.items.publish",
190+
"parameterOrder": [
191+
"itemId"
192+
],
193+
"parameters": {
194+
"deployPercentage": {
195+
"description": "The deploy percentage you want to set for your item. Valid values are [0, 100]. If set to any number less than 100, only that many percentage of users will be allowed to get the update.",
196+
"format": "int32",
197+
"location": "query",
198+
"type": "integer"
199+
},
200+
"itemId": {
201+
"description": "The ID of the item to publish.",
202+
"location": "path",
203+
"required": true,
204+
"type": "string"
205+
},
206+
"publishTarget": {
207+
"description": "Provide defined publishTarget in URL (case sensitive): publishTarget=\"trustedTesters\" or publishTarget=\"default\". Defaults to publishTarget=\"default\".",
208+
"location": "query",
209+
"type": "string"
210+
},
211+
"reviewExemption": {
212+
"description": "Optional. The caller request to exempt the review and directly publish because the update is within the list that we can automatically validate. The API will check if the exemption can be granted using real time data.",
213+
"location": "query",
214+
"type": "boolean"
215+
}
216+
},
217+
"path": "chromewebstore/v1.1/items/{itemId}/publish",
218+
"request": {
219+
"$ref": "PublishRequest"
220+
},
221+
"response": {
222+
"$ref": "Item2"
223+
},
224+
"scopes": [
225+
"https://www.googleapis.com/auth/chromewebstore"
226+
]
227+
},
228+
"update": {
229+
"description": "Updates an existing item.",
230+
"flatPath": "chromewebstore/v1.1/items/{itemId}",
231+
"httpMethod": "PUT",
232+
"id": "chromewebstore.items.update",
233+
"mediaUpload": {
234+
"accept": [
235+
"*/*"
236+
],
237+
"maxSize": "2147483648",
238+
"protocols": {
239+
"simple": {
240+
"multipart": true,
241+
"path": "/upload/chromewebstore/v1.1/items/{itemId}"
242+
}
243+
}
244+
},
245+
"parameterOrder": [
246+
"itemId"
247+
],
248+
"parameters": {
249+
"itemId": {
250+
"description": "The ID of the item to upload.",
251+
"location": "path",
252+
"required": true,
253+
"type": "string"
254+
}
255+
},
256+
"path": "chromewebstore/v1.1/items/{itemId}",
257+
"request": {
258+
"$ref": "Item"
259+
},
260+
"response": {
261+
"$ref": "Item"
262+
},
263+
"scopes": [
264+
"https://www.googleapis.com/auth/chromewebstore"
265+
],
266+
"supportsMediaUpload": true
267+
}
268+
}
269+
}
270+
},
271+
"revision": "20251006",
272+
"rootUrl": "https://chromewebstore.googleapis.com/",
273+
"schemas": {
274+
"Item": {
275+
"id": "Item",
276+
"properties": {
277+
"crxVersion": {
278+
"description": "The CRX version of the item. If the projection is draft, then it is the draft's CRX version.",
279+
"type": "string"
280+
},
281+
"id": {
282+
"description": "Unique ID of the item.",
283+
"type": "string"
284+
},
285+
"itemError": {
286+
"description": "Detail human-readable status of the operation, in English only. Same error messages are displayed when you upload your app to the Chrome Web Store.",
287+
"items": {
288+
"$ref": "ItemError"
289+
},
290+
"type": "array"
291+
},
292+
"kind": {
293+
"description": "Identifies this resource as an Item. Value: the fixed string \"chromewebstore#item\".",
294+
"type": "string"
295+
},
296+
"publicKey": {
297+
"description": "Public key of this item.",
298+
"type": "string"
299+
},
300+
"uploadState": {
301+
"description": "Status of the operation. Possible values are: - \\\"FAILURE\\\" - \\\"IN_PROGRESS\\\" - \\\"NOT_FOUND\\\" - \\\"SUCCESS\\\" ",
302+
"type": "string"
303+
}
304+
},
305+
"type": "object"
306+
},
307+
"Item2": {
308+
"id": "Item2",
309+
"properties": {
310+
"item_id": {
311+
"description": "The ID of this item.",
312+
"type": "string"
313+
},
314+
"kind": {
315+
"description": "Static string value is always \"chromewebstore#item\".",
316+
"type": "string"
317+
},
318+
"status": {
319+
"description": "The status code of this publish operation. It may contain multiple elements from the following list: NOT_AUTHORIZED, INVALID_DEVELOPER, DEVELOPER_NO_OWNERSHIP, DEVELOPER_SUSPENDED, ITEM_NOT_FOUND, ITEM_PENDING_REVIEW, ITEM_TAKEN_DOWN, PUBLISHER_SUSPENDED.",
320+
"items": {
321+
"type": "string"
322+
},
323+
"type": "array"
324+
},
325+
"statusDetail": {
326+
"description": "Detailed human-comprehensible explanation of the status code above.",
327+
"items": {
328+
"type": "string"
329+
},
330+
"type": "array"
331+
}
332+
},
333+
"type": "object"
334+
},
335+
"ItemError": {
336+
"description": "Error of the item",
337+
"id": "ItemError",
338+
"properties": {
339+
"error_code": {
340+
"description": "The error code.",
341+
"type": "string"
342+
},
343+
"error_detail": {
344+
"description": "The human-readable detail message of the error.",
345+
"type": "string"
346+
}
347+
},
348+
"type": "object"
349+
},
350+
"PublishRequest": {
351+
"id": "PublishRequest",
352+
"properties": {
353+
"deployPercentage": {
354+
"description": "The target deploy percentage of the item. It's only useful for items with big user base.",
355+
"format": "int32",
356+
"type": "integer"
357+
},
358+
"reviewExemption": {
359+
"description": "Optional. The caller request to exempt the review and directly publish because the update is within the list that we can automatically validate. The API will check if the exemption can be granted using real time data.",
360+
"type": "boolean"
361+
},
362+
"target": {
363+
"description": "The publish target of this publish operation. This is the same as using publishTarget as a URL query parameter. The string value can either be target=\"trustedTesters\" or target=\"default\". The default value, if none is supplied, is target=\"default\". Recommended usage is to use the URL query parameter to specificy the value.",
364+
"type": "string"
365+
}
366+
},
367+
"type": "object"
368+
}
369+
},
370+
"servicePath": "",
371+
"title": "Chrome Web Store API",
372+
"version": "v1.1",
373+
"version_module": true
374+
}

0 commit comments

Comments
 (0)