Skip to content

Commit

Permalink
feat(firebasestorage): update the api
Browse files Browse the repository at this point in the history
#### firebasestorage:v1beta

The following keys were added:
- schemas.Bucket.properties.location (Total Keys: 2)
- schemas.GoogleFirebaseStorageControlplaneV1alphaMigrateLocationDestructivelyMetadata (Total Keys: 7)
- schemas.GoogleFirebaseStorageControlplaneV1betaMigrateLocationDestructivelyMetadata (Total Keys: 7)
  • Loading branch information
yoshi-automation committed Jul 20, 2021
1 parent f9fd3f0 commit 66b6961
Show file tree
Hide file tree
Showing 2 changed files with 109 additions and 7 deletions.
9 changes: 6 additions & 3 deletions docs/dyn/firebasestorage_v1beta.projects.buckets.html
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ <h3>Method Details</h3>
<pre>Links a Google Cloud Storage bucket to a Firebase project.

Args:
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)
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)
body: object, The request body.
The object takes the form of:

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

{ # A storage bucket and its relation to a parent Firebase project.
&quot;location&quot;: &quot;A String&quot;, # Output only. Location of the storage bucket.
&quot;name&quot;: &quot;A String&quot;, # Resource name of the bucket.
&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.
}</pre>
Expand All @@ -129,7 +130,7 @@ <h3>Method Details</h3>
<pre>Gets a single linked storage bucket.

Args:
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)
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)
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
Expand All @@ -139,6 +140,7 @@ <h3>Method Details</h3>
An object of the form:

{ # A storage bucket and its relation to a parent Firebase project.
&quot;location&quot;: &quot;A String&quot;, # Output only. Location of the storage bucket.
&quot;name&quot;: &quot;A String&quot;, # Resource name of the bucket.
&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.
}</pre>
Expand All @@ -163,6 +165,7 @@ <h3>Method Details</h3>
{ # The response returned by `ListBuckets`.
&quot;buckets&quot;: [ # The list of linked buckets.
{ # A storage bucket and its relation to a parent Firebase project.
&quot;location&quot;: &quot;A String&quot;, # Output only. Location of the storage bucket.
&quot;name&quot;: &quot;A String&quot;, # Resource name of the bucket.
&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.
},
Expand Down Expand Up @@ -190,7 +193,7 @@ <h3>Method Details</h3>
<pre>Unlinks a linked Google Cloud Storage bucket from a Firebase project.

Args:
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)
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)
body: object, The request body.
The object takes the form of:

Expand Down
107 changes: 103 additions & 4 deletions googleapiclient/discovery_cache/documents/firebasestorage.v1beta.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
],
"parameters": {
"bucket": {
"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}`.",
"description": "Required. Resource name of the bucket, mirrors the ID of the underlying Google Cloud Storage bucket, `projects/{project_number}/buckets/{bucket_id}`.",
"location": "path",
"pattern": "^projects/[^/]+/buckets/[^/]+$",
"required": true,
Expand Down Expand Up @@ -151,7 +151,7 @@
],
"parameters": {
"name": {
"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}`.",
"description": "Required. Resource name of the bucket, mirrors the ID of the underlying Google Cloud Storage bucket, `projects/{project_number}/buckets/{bucket_id}`.",
"location": "path",
"pattern": "^projects/[^/]+/buckets/[^/]+$",
"required": true,
Expand Down Expand Up @@ -214,7 +214,7 @@
],
"parameters": {
"bucket": {
"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}`.",
"description": "Required. Resource name of the bucket, mirrors the ID of the underlying Google Cloud Storage bucket, `projects/{project_number}/buckets/{bucket_id}`.",
"location": "path",
"pattern": "^projects/[^/]+/buckets/[^/]+$",
"required": true,
Expand All @@ -238,7 +238,7 @@
}
}
},
"revision": "20210521",
"revision": "20210709",
"rootUrl": "https://firebasestorage.googleapis.com/",
"schemas": {
"AddFirebaseRequest": {
Expand All @@ -251,6 +251,11 @@
"description": "A storage bucket and its relation to a parent Firebase project.",
"id": "Bucket",
"properties": {
"location": {
"description": "Output only. Location of the storage bucket.",
"readOnly": true,
"type": "string"
},
"name": {
"description": "Resource name of the bucket.",
"type": "string"
Expand All @@ -269,6 +274,100 @@
"properties": {},
"type": "object"
},
"GoogleFirebaseStorageControlplaneV1alphaMigrateLocationDestructivelyMetadata": {
"description": "Metadata for MigrateLocationDestructively LRO.",
"id": "GoogleFirebaseStorageControlplaneV1alphaMigrateLocationDestructivelyMetadata",
"properties": {
"createTime": {
"description": "The time the LRO was created.",
"format": "google-datetime",
"type": "string"
},
"lastUpdateTime": {
"description": "The time the LRO was last updated.",
"format": "google-datetime",
"type": "string"
},
"state": {
"description": "The current state of the migration.",
"enum": [
"STATE_UNSPECIFIED",
"PENDING",
"CREATING_TEMP_BUCKET",
"TRANSFERRING_TO_TEMP",
"DELETING_SOURCE_BUCKET",
"CREATING_DESTINATION_BUCKET",
"TRANSFERRING_TO_DESTINATION",
"DELETING_TEMP_BUCKET",
"SUCCEEDED",
"FAILED",
"ROLLING_BACK"
],
"enumDescriptions": [
"Unspecified state. Should not be used.",
"The MigrateLocationDestructively request has passed precondition checks and the bucket migration will begin soon.",
"Generating a unique bucket name, storing the source -> temp mapping in Spanner, and actually creating the temporary bucket via Bigstore.",
"The first STS transfer to move all objects from the source bucket to the temp bucket is underway.",
"The source bucket is being emptied and deleted.",
"The source bucket is being recreated in the new location.",
"The second STS transfer to move all objects from the temp bucket to the final bucket is underway.",
"The temp bucket is being emptied and deleted.",
"All stages of the migration have completed and the operation has been marked done and updated with a response.",
"The migration failed at some stage and it is not possible to continue retrying that stage. Manual recovery may be needed.",
"The migration has encountered a permanent failure and is now being rolled back so that the source bucket is restored to its original state."
],
"type": "string"
}
},
"type": "object"
},
"GoogleFirebaseStorageControlplaneV1betaMigrateLocationDestructivelyMetadata": {
"description": "Metadata for MigrateLocationDestructively LRO.",
"id": "GoogleFirebaseStorageControlplaneV1betaMigrateLocationDestructivelyMetadata",
"properties": {
"createTime": {
"description": "The time the LRO was created.",
"format": "google-datetime",
"type": "string"
},
"lastUpdateTime": {
"description": "The time the LRO was last updated.",
"format": "google-datetime",
"type": "string"
},
"state": {
"description": "The current state of the migration.",
"enum": [
"STATE_UNSPECIFIED",
"PENDING",
"CREATING_TEMP_BUCKET",
"TRANSFERRING_TO_TEMP",
"DELETING_SOURCE_BUCKET",
"CREATING_DESTINATION_BUCKET",
"TRANSFERRING_TO_DESTINATION",
"DELETING_TEMP_BUCKET",
"SUCCEEDED",
"FAILED",
"ROLLING_BACK"
],
"enumDescriptions": [
"Unspecified state. Should not be used.",
"The MigrateLocationDestructively request has passed precondition checks and the bucket migration will begin soon.",
"Generating a unique bucket name, storing the source -> temp mapping in Spanner, and actually creating the temporary bucket via Bigstore.",
"The first STS transfer to move all objects from the source bucket to the temp bucket is underway.",
"The source bucket is being emptied and deleted.",
"The source bucket is being recreated in the new location.",
"The second STS transfer to move all objects from the temp bucket to the final bucket is underway.",
"The temp bucket is being emptied and deleted.",
"All stages of the migration have completed and the operation has been marked done and updated with a response.",
"The migration failed at some stage and it is not possible to continue retrying that stage. Manual recovery may be needed.",
"The migration has encountered a permanent failure and is now being rolled back so that the source bucket is restored to its original state."
],
"type": "string"
}
},
"type": "object"
},
"ListBucketsResponse": {
"description": "The response returned by `ListBuckets`.",
"id": "ListBucketsResponse",
Expand Down

0 comments on commit 66b6961

Please sign in to comment.