Skip to content

Commit 66b6961

Browse files
feat(firebasestorage): update the api
#### firebasestorage:v1beta The following keys were added: - schemas.Bucket.properties.location (Total Keys: 2) - schemas.GoogleFirebaseStorageControlplaneV1alphaMigrateLocationDestructivelyMetadata (Total Keys: 7) - schemas.GoogleFirebaseStorageControlplaneV1betaMigrateLocationDestructivelyMetadata (Total Keys: 7)
1 parent f9fd3f0 commit 66b6961

File tree

2 files changed

+109
-7
lines changed

2 files changed

+109
-7
lines changed

docs/dyn/firebasestorage_v1beta.projects.buckets.html

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ <h3>Method Details</h3>
9898
<pre>Links a Google Cloud Storage bucket to a Firebase project.
9999

100100
Args:
101-
bucket: string, Required. Resource name of the bucket, mirrors the ID of the underlying Google Cloud Storage bucket. Because bucket resource names are unique across projects, you may omit the project number, `projects/-/buckets/{bucket_id}`. (required)
101+
bucket: string, Required. Resource name of the bucket, mirrors the ID of the underlying Google Cloud Storage bucket, `projects/{project_number}/buckets/{bucket_id}`. (required)
102102
body: object, The request body.
103103
The object takes the form of:
104104

@@ -114,6 +114,7 @@ <h3>Method Details</h3>
114114
An object of the form:
115115

116116
{ # A storage bucket and its relation to a parent Firebase project.
117+
&quot;location&quot;: &quot;A String&quot;, # Output only. Location of the storage bucket.
117118
&quot;name&quot;: &quot;A String&quot;, # Resource name of the bucket.
118119
&quot;reconciling&quot;: True or False, # Output only. Represents whether a bucket is being moved to a new location, in which case reconciling is set to true.
119120
}</pre>
@@ -129,7 +130,7 @@ <h3>Method Details</h3>
129130
<pre>Gets a single linked storage bucket.
130131

131132
Args:
132-
name: string, Required. Resource name of the bucket, mirrors the ID of the underlying Google Cloud Storage bucket. Because bucket resource names are unique across projects, you may omit the project number, `projects/-/buckets/{bucket_id}`. (required)
133+
name: string, Required. Resource name of the bucket, mirrors the ID of the underlying Google Cloud Storage bucket, `projects/{project_number}/buckets/{bucket_id}`. (required)
133134
x__xgafv: string, V1 error format.
134135
Allowed values
135136
1 - v1 error format
@@ -139,6 +140,7 @@ <h3>Method Details</h3>
139140
An object of the form:
140141

141142
{ # A storage bucket and its relation to a parent Firebase project.
143+
&quot;location&quot;: &quot;A String&quot;, # Output only. Location of the storage bucket.
142144
&quot;name&quot;: &quot;A String&quot;, # Resource name of the bucket.
143145
&quot;reconciling&quot;: True or False, # Output only. Represents whether a bucket is being moved to a new location, in which case reconciling is set to true.
144146
}</pre>
@@ -163,6 +165,7 @@ <h3>Method Details</h3>
163165
{ # The response returned by `ListBuckets`.
164166
&quot;buckets&quot;: [ # The list of linked buckets.
165167
{ # A storage bucket and its relation to a parent Firebase project.
168+
&quot;location&quot;: &quot;A String&quot;, # Output only. Location of the storage bucket.
166169
&quot;name&quot;: &quot;A String&quot;, # Resource name of the bucket.
167170
&quot;reconciling&quot;: True or False, # Output only. Represents whether a bucket is being moved to a new location, in which case reconciling is set to true.
168171
},
@@ -190,7 +193,7 @@ <h3>Method Details</h3>
190193
<pre>Unlinks a linked Google Cloud Storage bucket from a Firebase project.
191194

192195
Args:
193-
bucket: string, Required. Resource name of the bucket, mirrors the ID of the underlying Google Cloud Storage bucket. Because bucket resource names are unique across projects, you may omit the project number, `projects/-/buckets/{bucket_id}`. (required)
196+
bucket: string, Required. Resource name of the bucket, mirrors the ID of the underlying Google Cloud Storage bucket, `projects/{project_number}/buckets/{bucket_id}`. (required)
194197
body: object, The request body.
195198
The object takes the form of:
196199

googleapiclient/discovery_cache/documents/firebasestorage.v1beta.json

Lines changed: 103 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
],
123123
"parameters": {
124124
"bucket": {
125-
"description": "Required. Resource name of the bucket, mirrors the ID of the underlying Google Cloud Storage bucket. Because bucket resource names are unique across projects, you may omit the project number, `projects/-/buckets/{bucket_id}`.",
125+
"description": "Required. Resource name of the bucket, mirrors the ID of the underlying Google Cloud Storage bucket, `projects/{project_number}/buckets/{bucket_id}`.",
126126
"location": "path",
127127
"pattern": "^projects/[^/]+/buckets/[^/]+$",
128128
"required": true,
@@ -151,7 +151,7 @@
151151
],
152152
"parameters": {
153153
"name": {
154-
"description": "Required. Resource name of the bucket, mirrors the ID of the underlying Google Cloud Storage bucket. Because bucket resource names are unique across projects, you may omit the project number, `projects/-/buckets/{bucket_id}`.",
154+
"description": "Required. Resource name of the bucket, mirrors the ID of the underlying Google Cloud Storage bucket, `projects/{project_number}/buckets/{bucket_id}`.",
155155
"location": "path",
156156
"pattern": "^projects/[^/]+/buckets/[^/]+$",
157157
"required": true,
@@ -214,7 +214,7 @@
214214
],
215215
"parameters": {
216216
"bucket": {
217-
"description": "Required. Resource name of the bucket, mirrors the ID of the underlying Google Cloud Storage bucket. Because bucket resource names are unique across projects, you may omit the project number, `projects/-/buckets/{bucket_id}`.",
217+
"description": "Required. Resource name of the bucket, mirrors the ID of the underlying Google Cloud Storage bucket, `projects/{project_number}/buckets/{bucket_id}`.",
218218
"location": "path",
219219
"pattern": "^projects/[^/]+/buckets/[^/]+$",
220220
"required": true,
@@ -238,7 +238,7 @@
238238
}
239239
}
240240
},
241-
"revision": "20210521",
241+
"revision": "20210709",
242242
"rootUrl": "https://firebasestorage.googleapis.com/",
243243
"schemas": {
244244
"AddFirebaseRequest": {
@@ -251,6 +251,11 @@
251251
"description": "A storage bucket and its relation to a parent Firebase project.",
252252
"id": "Bucket",
253253
"properties": {
254+
"location": {
255+
"description": "Output only. Location of the storage bucket.",
256+
"readOnly": true,
257+
"type": "string"
258+
},
254259
"name": {
255260
"description": "Resource name of the bucket.",
256261
"type": "string"
@@ -269,6 +274,100 @@
269274
"properties": {},
270275
"type": "object"
271276
},
277+
"GoogleFirebaseStorageControlplaneV1alphaMigrateLocationDestructivelyMetadata": {
278+
"description": "Metadata for MigrateLocationDestructively LRO.",
279+
"id": "GoogleFirebaseStorageControlplaneV1alphaMigrateLocationDestructivelyMetadata",
280+
"properties": {
281+
"createTime": {
282+
"description": "The time the LRO was created.",
283+
"format": "google-datetime",
284+
"type": "string"
285+
},
286+
"lastUpdateTime": {
287+
"description": "The time the LRO was last updated.",
288+
"format": "google-datetime",
289+
"type": "string"
290+
},
291+
"state": {
292+
"description": "The current state of the migration.",
293+
"enum": [
294+
"STATE_UNSPECIFIED",
295+
"PENDING",
296+
"CREATING_TEMP_BUCKET",
297+
"TRANSFERRING_TO_TEMP",
298+
"DELETING_SOURCE_BUCKET",
299+
"CREATING_DESTINATION_BUCKET",
300+
"TRANSFERRING_TO_DESTINATION",
301+
"DELETING_TEMP_BUCKET",
302+
"SUCCEEDED",
303+
"FAILED",
304+
"ROLLING_BACK"
305+
],
306+
"enumDescriptions": [
307+
"Unspecified state. Should not be used.",
308+
"The MigrateLocationDestructively request has passed precondition checks and the bucket migration will begin soon.",
309+
"Generating a unique bucket name, storing the source -> temp mapping in Spanner, and actually creating the temporary bucket via Bigstore.",
310+
"The first STS transfer to move all objects from the source bucket to the temp bucket is underway.",
311+
"The source bucket is being emptied and deleted.",
312+
"The source bucket is being recreated in the new location.",
313+
"The second STS transfer to move all objects from the temp bucket to the final bucket is underway.",
314+
"The temp bucket is being emptied and deleted.",
315+
"All stages of the migration have completed and the operation has been marked done and updated with a response.",
316+
"The migration failed at some stage and it is not possible to continue retrying that stage. Manual recovery may be needed.",
317+
"The migration has encountered a permanent failure and is now being rolled back so that the source bucket is restored to its original state."
318+
],
319+
"type": "string"
320+
}
321+
},
322+
"type": "object"
323+
},
324+
"GoogleFirebaseStorageControlplaneV1betaMigrateLocationDestructivelyMetadata": {
325+
"description": "Metadata for MigrateLocationDestructively LRO.",
326+
"id": "GoogleFirebaseStorageControlplaneV1betaMigrateLocationDestructivelyMetadata",
327+
"properties": {
328+
"createTime": {
329+
"description": "The time the LRO was created.",
330+
"format": "google-datetime",
331+
"type": "string"
332+
},
333+
"lastUpdateTime": {
334+
"description": "The time the LRO was last updated.",
335+
"format": "google-datetime",
336+
"type": "string"
337+
},
338+
"state": {
339+
"description": "The current state of the migration.",
340+
"enum": [
341+
"STATE_UNSPECIFIED",
342+
"PENDING",
343+
"CREATING_TEMP_BUCKET",
344+
"TRANSFERRING_TO_TEMP",
345+
"DELETING_SOURCE_BUCKET",
346+
"CREATING_DESTINATION_BUCKET",
347+
"TRANSFERRING_TO_DESTINATION",
348+
"DELETING_TEMP_BUCKET",
349+
"SUCCEEDED",
350+
"FAILED",
351+
"ROLLING_BACK"
352+
],
353+
"enumDescriptions": [
354+
"Unspecified state. Should not be used.",
355+
"The MigrateLocationDestructively request has passed precondition checks and the bucket migration will begin soon.",
356+
"Generating a unique bucket name, storing the source -> temp mapping in Spanner, and actually creating the temporary bucket via Bigstore.",
357+
"The first STS transfer to move all objects from the source bucket to the temp bucket is underway.",
358+
"The source bucket is being emptied and deleted.",
359+
"The source bucket is being recreated in the new location.",
360+
"The second STS transfer to move all objects from the temp bucket to the final bucket is underway.",
361+
"The temp bucket is being emptied and deleted.",
362+
"All stages of the migration have completed and the operation has been marked done and updated with a response.",
363+
"The migration failed at some stage and it is not possible to continue retrying that stage. Manual recovery may be needed.",
364+
"The migration has encountered a permanent failure and is now being rolled back so that the source bucket is restored to its original state."
365+
],
366+
"type": "string"
367+
}
368+
},
369+
"type": "object"
370+
},
272371
"ListBucketsResponse": {
273372
"description": "The response returned by `ListBuckets`.",
274373
"id": "ListBucketsResponse",

0 commit comments

Comments
 (0)