|
122 | 122 | ], |
123 | 123 | "parameters": { |
124 | 124 | "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}`.", |
126 | 126 | "location": "path", |
127 | 127 | "pattern": "^projects/[^/]+/buckets/[^/]+$", |
128 | 128 | "required": true, |
|
151 | 151 | ], |
152 | 152 | "parameters": { |
153 | 153 | "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}`.", |
155 | 155 | "location": "path", |
156 | 156 | "pattern": "^projects/[^/]+/buckets/[^/]+$", |
157 | 157 | "required": true, |
|
214 | 214 | ], |
215 | 215 | "parameters": { |
216 | 216 | "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}`.", |
218 | 218 | "location": "path", |
219 | 219 | "pattern": "^projects/[^/]+/buckets/[^/]+$", |
220 | 220 | "required": true, |
|
238 | 238 | } |
239 | 239 | } |
240 | 240 | }, |
241 | | - "revision": "20210521", |
| 241 | + "revision": "20210709", |
242 | 242 | "rootUrl": "https://firebasestorage.googleapis.com/", |
243 | 243 | "schemas": { |
244 | 244 | "AddFirebaseRequest": { |
|
251 | 251 | "description": "A storage bucket and its relation to a parent Firebase project.", |
252 | 252 | "id": "Bucket", |
253 | 253 | "properties": { |
| 254 | + "location": { |
| 255 | + "description": "Output only. Location of the storage bucket.", |
| 256 | + "readOnly": true, |
| 257 | + "type": "string" |
| 258 | + }, |
254 | 259 | "name": { |
255 | 260 | "description": "Resource name of the bucket.", |
256 | 261 | "type": "string" |
|
269 | 274 | "properties": {}, |
270 | 275 | "type": "object" |
271 | 276 | }, |
| 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 | + }, |
272 | 371 | "ListBucketsResponse": { |
273 | 372 | "description": "The response returned by `ListBuckets`.", |
274 | 373 | "id": "ListBucketsResponse", |
|
0 commit comments