Debian Codegraph @

googleapiclient/discovery_cache/documents/firebasestorage.v1beta.json

raw
1 {
2 "auth": {
3 "oauth2": {
4 "scopes": {
5 "https://www.googleapis.com/auth/cloud-platform": {
6 "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account."
7 },
8 "https://www.googleapis.com/auth/firebase": {
9 "description": "View and administer all your Firebase data and settings"
10 }
11 }
12 }
13 },
14 "basePath": "",
15 "baseUrl": "https://firebasestorage.googleapis.com/",
16 "batchPath": "batch",
17 "canonicalName": "Firebasestorage",
18 "description": "The Cloud Storage for Firebase API enables programmatic management of Cloud Storage buckets for use in Firebase projects",
19 "discoveryVersion": "v1",
20 "documentationLink": "https://firebase.google.com/docs/storage",
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": "firebasestorage:v1beta",
27 "kind": "discovery#restDescription",
28 "mtlsRootUrl": "https://firebasestorage.mtls.googleapis.com/",
29 "name": "firebasestorage",
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 "projects": {
112 "methods": {
113 "deleteDefaultBucket": {
114 "description": "Unlinks and deletes the default bucket.",
115 "flatPath": "v1beta/projects/{projectsId}/defaultBucket",
116 "httpMethod": "DELETE",
117 "id": "firebasestorage.projects.deleteDefaultBucket",
118 "parameterOrder": [
119 "name"
120 ],
121 "parameters": {
122 "name": {
123 "description": "Required. The name of the default bucket to delete, `projects/{project_id_or_number}/defaultBucket`.",
124 "location": "path",
125 "pattern": "^projects/[^/]+/defaultBucket$",
126 "required": true,
127 "type": "string"
128 }
129 },
130 "path": "v1beta/{+name}",
131 "response": {
132 "$ref": "Empty"
133 },
134 "scopes": [
135 "https://www.googleapis.com/auth/cloud-platform",
136 "https://www.googleapis.com/auth/firebase"
137 ]
138 },
139 "getDefaultBucket": {
140 "description": "Gets the default bucket.",
141 "flatPath": "v1beta/projects/{projectsId}/defaultBucket",
142 "httpMethod": "GET",
143 "id": "firebasestorage.projects.getDefaultBucket",
144 "parameterOrder": [
145 "name"
146 ],
147 "parameters": {
148 "name": {
149 "description": "Required. The name of the default bucket to retrieve, `projects/{project_id_or_number}/defaultBucket`.",
150 "location": "path",
151 "pattern": "^projects/[^/]+/defaultBucket$",
152 "required": true,
153 "type": "string"
154 }
155 },
156 "path": "v1beta/{+name}",
157 "response": {
158 "$ref": "DefaultBucket"
159 },
160 "scopes": [
161 "https://www.googleapis.com/auth/cloud-platform",
162 "https://www.googleapis.com/auth/firebase"
163 ]
164 }
165 },
166 "resources": {
167 "buckets": {
168 "methods": {
169 "addFirebase": {
170 "description": "Links a Google Cloud Storage bucket to a Firebase project.",
171 "flatPath": "v1beta/projects/{projectsId}/buckets/{bucketsId}:addFirebase",
172 "httpMethod": "POST",
173 "id": "firebasestorage.projects.buckets.addFirebase",
174 "parameterOrder": [
175 "bucket"
176 ],
177 "parameters": {
178 "bucket": {
179 "description": "Required. Resource name of the bucket, mirrors the ID of the underlying Google Cloud Storage bucket, `projects/{project_id_or_number}/buckets/{bucket_id}`.",
180 "location": "path",
181 "pattern": "^projects/[^/]+/buckets/[^/]+$",
182 "required": true,
183 "type": "string"
184 }
185 },
186 "path": "v1beta/{+bucket}:addFirebase",
187 "request": {
188 "$ref": "AddFirebaseRequest"
189 },
190 "response": {
191 "$ref": "Bucket"
192 },
193 "scopes": [
194 "https://www.googleapis.com/auth/cloud-platform",
195 "https://www.googleapis.com/auth/firebase"
196 ]
197 },
198 "get": {
199 "description": "Gets a single linked storage bucket.",
200 "flatPath": "v1beta/projects/{projectsId}/buckets/{bucketsId}",
201 "httpMethod": "GET",
202 "id": "firebasestorage.projects.buckets.get",
203 "parameterOrder": [
204 "name"
205 ],
206 "parameters": {
207 "name": {
208 "description": "Required. Resource name of the bucket, mirrors the ID of the underlying Google Cloud Storage bucket, `projects/{project_id_or_number}/buckets/{bucket_id}`.",
209 "location": "path",
210 "pattern": "^projects/[^/]+/buckets/[^/]+$",
211 "required": true,
212 "type": "string"
213 }
214 },
215 "path": "v1beta/{+name}",
216 "response": {
217 "$ref": "Bucket"
218 },
219 "scopes": [
220 "https://www.googleapis.com/auth/cloud-platform",
221 "https://www.googleapis.com/auth/firebase"
222 ]
223 },
224 "list": {
225 "description": "Lists the linked storage buckets for a project.",
226 "flatPath": "v1beta/projects/{projectsId}/buckets",
227 "httpMethod": "GET",
228 "id": "firebasestorage.projects.buckets.list",
229 "parameterOrder": [
230 "parent"
231 ],
232 "parameters": {
233 "pageSize": {
234 "description": "The maximum number of buckets to return. If not set, the server will use a reasonable default.",
235 "format": "int32",
236 "location": "query",
237 "type": "integer"
238 },
239 "pageToken": {
240 "description": "A page token, received from a previous `ListBuckets` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListBuckets` must match the call that provided the page token.",
241 "location": "query",
242 "type": "string"
243 },
244 "parent": {
245 "description": "Required. Resource name of the parent Firebase project, `projects/{project_id_or_number}`.",
246 "location": "path",
247 "pattern": "^projects/[^/]+$",
248 "required": true,
249 "type": "string"
250 }
251 },
252 "path": "v1beta/{+parent}/buckets",
253 "response": {
254 "$ref": "ListBucketsResponse"
255 },
256 "scopes": [
257 "https://www.googleapis.com/auth/cloud-platform",
258 "https://www.googleapis.com/auth/firebase"
259 ]
260 },
261 "removeFirebase": {
262 "description": "Unlinks a linked Google Cloud Storage bucket from a Firebase project.",
263 "flatPath": "v1beta/projects/{projectsId}/buckets/{bucketsId}:removeFirebase",
264 "httpMethod": "POST",
265 "id": "firebasestorage.projects.buckets.removeFirebase",
266 "parameterOrder": [
267 "bucket"
268 ],
269 "parameters": {
270 "bucket": {
271 "description": "Required. Resource name of the bucket, mirrors the ID of the underlying Google Cloud Storage bucket, `projects/{project_id_or_number}/buckets/{bucket_id}`.",
272 "location": "path",
273 "pattern": "^projects/[^/]+/buckets/[^/]+$",
274 "required": true,
275 "type": "string"
276 }
277 },
278 "path": "v1beta/{+bucket}:removeFirebase",
279 "request": {
280 "$ref": "RemoveFirebaseRequest"
281 },
282 "response": {
283 "$ref": "Empty"
284 },
285 "scopes": [
286 "https://www.googleapis.com/auth/cloud-platform",
287 "https://www.googleapis.com/auth/firebase"
288 ]
289 }
290 }
291 },
292 "defaultBucket": {
293 "methods": {
294 "create": {
295 "description": "Creates a Spark tier-eligible Cloud Storage bucket and links it to your Firebase project. If the default bucket already exists, this method will re-link it to your Firebase project. See https://firebase.google.com/pricing for pricing details.",
296 "flatPath": "v1beta/projects/{projectsId}/defaultBucket",
297 "httpMethod": "POST",
298 "id": "firebasestorage.projects.defaultBucket.create",
299 "parameterOrder": [
300 "parent"
301 ],
302 "parameters": {
303 "parent": {
304 "description": "Required. The parent resource where the default bucket will be created, `projects/{project_id_or_number}`.",
305 "location": "path",
306 "pattern": "^projects/[^/]+$",
307 "required": true,
308 "type": "string"
309 }
310 },
311 "path": "v1beta/{+parent}/defaultBucket",
312 "request": {
313 "$ref": "DefaultBucket"
314 },
315 "response": {
316 "$ref": "DefaultBucket"
317 },
318 "scopes": [
319 "https://www.googleapis.com/auth/cloud-platform",
320 "https://www.googleapis.com/auth/firebase"
321 ]
322 }
323 }
324 }
325 }
326 }
327 },
328 "revision": "20251031",
329 "rootUrl": "https://firebasestorage.googleapis.com/",
330 "schemas": {
331 "AddFirebaseRequest": {
332 "description": "The request used to link a Google Cloud Storage bucket to a Firebase project.",
333 "id": "AddFirebaseRequest",
334 "properties": {},
335 "type": "object"
336 },
337 "Bucket": {
338 "description": "A storage bucket and its relation to a parent Firebase project.",
339 "id": "Bucket",
340 "properties": {
341 "name": {
342 "description": "Output only. Resource name of the bucket.",
343 "readOnly": true,
344 "type": "string"
345 }
346 },
347 "type": "object"
348 },
349 "DefaultBucket": {
350 "description": "Spark tier-eligible Cloud Storage bucket. One per project. This resource exists if the underlying Cloud Storage bucket exists and it is linked to your Firebase project. See https://firebase.google.com/pricing for pricing details.",
351 "id": "DefaultBucket",
352 "properties": {
353 "bucket": {
354 "$ref": "Bucket",
355 "description": "Output only. Underlying bucket resource.",
356 "readOnly": true
357 },
358 "location": {
359 "description": "Immutable. Location of the default bucket.",
360 "type": "string"
361 },
362 "name": {
363 "description": "Identifier. Resource name of the default bucket.",
364 "type": "string"
365 },
366 "storageClass": {
367 "description": "Immutable. Storage class of the default bucket. Supported values are available at https://cloud.google.com/storage/docs/storage-classes#classes.",
368 "type": "string"
369 }
370 },
371 "type": "object"
372 },
373 "Empty": {
374 "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }",
375 "id": "Empty",
376 "properties": {},
377 "type": "object"
378 },
379 "ListBucketsResponse": {
380 "description": "The response returned by `ListBuckets`.",
381 "id": "ListBucketsResponse",
382 "properties": {
383 "buckets": {
384 "description": "The list of linked buckets.",
385 "items": {
386 "$ref": "Bucket"
387 },
388 "type": "array"
389 },
390 "nextPageToken": {
391 "description": "A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
392 "type": "string"
393 }
394 },
395 "type": "object"
396 },
397 "RemoveFirebaseRequest": {
398 "description": "The request used to unlink a Google Cloud Storage bucket from a Firebase project.",
399 "id": "RemoveFirebaseRequest",
400 "properties": {},
401 "type": "object"
402 }
403 },
404 "servicePath": "",
405 "title": "Cloud Storage for Firebase API",
406 "version": "v1beta",
407 "version_module": true
408 }