addFirebase(bucket, body=None, x__xgafv=None)
Links a Google Cloud Storage bucket to a Firebase project.
Close httplib2 connections.
Gets a single linked storage bucket.
list(parent, pageSize=None, pageToken=None, x__xgafv=None)
Lists the linked storage buckets for a project.
Retrieves the next page of results.
removeFirebase(bucket, body=None, x__xgafv=None)
Unlinks a linked Google Cloud Storage bucket from a Firebase project.
addFirebase(bucket, body=None, x__xgafv=None)
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, `projects/{project_id_or_number}/buckets/{bucket_id}`. (required)
body: object, The request body.
The object takes the form of:
{ # The request used to link a Google Cloud Storage bucket to a Firebase project.
}
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # A storage bucket and its relation to a parent Firebase project.
"name": "A String", # Output only. Resource name of the bucket.
}
close()
Close httplib2 connections.
get(name, x__xgafv=None)
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, `projects/{project_id_or_number}/buckets/{bucket_id}`. (required)
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # A storage bucket and its relation to a parent Firebase project.
"name": "A String", # Output only. Resource name of the bucket.
}
list(parent, pageSize=None, pageToken=None, x__xgafv=None)
Lists the linked storage buckets for a project.
Args:
parent: string, Required. Resource name of the parent Firebase project, `projects/{project_id_or_number}`. (required)
pageSize: integer, The maximum number of buckets to return. If not set, the server will use a reasonable default.
pageToken: string, 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.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # The response returned by `ListBuckets`.
"buckets": [ # The list of linked buckets.
{ # A storage bucket and its relation to a parent Firebase project.
"name": "A String", # Output only. Resource name of the bucket.
},
],
"nextPageToken": "A String", # A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
}
list_next()
Retrieves the next page of results.
Args:
previous_request: The request for the previous page. (required)
previous_response: The response from the request for the previous page. (required)
Returns:
A request object that you can call 'execute()' on to request the next
page. Returns None if there are no more items in the collection.
removeFirebase(bucket, body=None, x__xgafv=None)
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, `projects/{project_id_or_number}/buckets/{bucket_id}`. (required)
body: object, The request body.
The object takes the form of:
{ # The request used to unlink a Google Cloud Storage bucket from a Firebase project.
}
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # 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); }
}