Show / Hide Table of Contents

Class ProjectsResource.BucketsResource

The "buckets" collection of methods.

Inheritance
object
ProjectsResource.BucketsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Firebasestorage.v1beta
Assembly: Google.Apis.Firebasestorage.v1beta.dll
Syntax
public class ProjectsResource.BucketsResource

Constructors

BucketsResource(IClientService)

Constructs a new resource.

Declaration
public BucketsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

AddFirebase(AddFirebaseRequest, string)

Links a Google Cloud Storage bucket to a Firebase project.

Declaration
public virtual ProjectsResource.BucketsResource.AddFirebaseRequest AddFirebase(AddFirebaseRequest body, string bucket)
Parameters
Type Name Description
AddFirebaseRequest body

The body of the request.

string bucket

Required. Resource name of the bucket, mirrors the ID of the underlying Google Cloud Storage bucket, projects/{project_id_or_number}/buckets/{bucket_id}.

Returns
Type Description
ProjectsResource.BucketsResource.AddFirebaseRequest

Get(string)

Gets a single linked storage bucket.

Declaration
public virtual ProjectsResource.BucketsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. Resource name of the bucket, mirrors the ID of the underlying Google Cloud Storage bucket, projects/{project_id_or_number}/buckets/{bucket_id}.

Returns
Type Description
ProjectsResource.BucketsResource.GetRequest

List(string)

Lists the linked storage buckets for a project.

Declaration
public virtual ProjectsResource.BucketsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. Resource name of the parent Firebase project, projects/{project_id_or_number}.

Returns
Type Description
ProjectsResource.BucketsResource.ListRequest

RemoveFirebase(RemoveFirebaseRequest, string)

Unlinks a linked Google Cloud Storage bucket from a Firebase project.

Declaration
public virtual ProjectsResource.BucketsResource.RemoveFirebaseRequest RemoveFirebase(RemoveFirebaseRequest body, string bucket)
Parameters
Type Name Description
RemoveFirebaseRequest body

The body of the request.

string bucket

Required. Resource name of the bucket, mirrors the ID of the underlying Google Cloud Storage bucket, projects/{project_id_or_number}/buckets/{bucket_id}.

Returns
Type Description
ProjectsResource.BucketsResource.RemoveFirebaseRequest
In this article
Back to top Generated by DocFX