Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.BucketsResource

The "buckets" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.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.CloudObservability.v1
Assembly: Google.Apis.CloudObservability.v1.dll
Syntax
public class ProjectsResource.LocationsResource.BucketsResource

Constructors

BucketsResource(IClientService)

Constructs a new resource.

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

Properties

Datasets

Gets the Datasets resource.

Declaration
public virtual ProjectsResource.LocationsResource.BucketsResource.DatasetsResource Datasets { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.BucketsResource.DatasetsResource

Methods

Create(Bucket, string)

Create a new bucket.

Declaration
public virtual ProjectsResource.LocationsResource.BucketsResource.CreateRequest Create(Bucket body, string parent)
Parameters
Type Name Description
Bucket body

The body of the request.

string parent

Required. Name of the project and location for the bucket. The format is: projects/[PROJECT_ID]/locations/[LOCATION]

Returns
Type Description
ProjectsResource.LocationsResource.BucketsResource.CreateRequest

Get(string)

Get bucket resource.

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

Required. Name of the bucket to retrieve. The format is: projects/[PROJECT_ID]/locations/[LOCATION]/buckets/[BUCKET_ID]

Returns
Type Description
ProjectsResource.LocationsResource.BucketsResource.GetRequest

List(string)

List buckets of a project in a particular location.

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

Required. The parent, which owns this collection of buckets. The format is: projects/[PROJECT_ID]/locations/[LOCATION]

Returns
Type Description
ProjectsResource.LocationsResource.BucketsResource.ListRequest

Patch(Bucket, string)

Update a bucket.

Declaration
public virtual ProjectsResource.LocationsResource.BucketsResource.PatchRequest Patch(Bucket body, string name)
Parameters
Type Name Description
Bucket body

The body of the request.

string name

Identifier. Name of the bucket. The format is: projects/[PROJECT_ID]/locations/[LOCATION]/buckets/[BUCKET_ID]

Returns
Type Description
ProjectsResource.LocationsResource.BucketsResource.PatchRequest

Reprovision(ReprovisionBucketRequest, string)

Initiates reprovisioning of a bucket. This is allowed only a single time for a bucket and results in data loss. Subsequent calls to this method for the same bucket will result in a FAILED_PRECONDITION (400 Bad Request) error.

Declaration
public virtual ProjectsResource.LocationsResource.BucketsResource.ReprovisionRequest Reprovision(ReprovisionBucketRequest body, string name)
Parameters
Type Name Description
ReprovisionBucketRequest body

The body of the request.

string name

Required. Name of the bucket to reprovision. The format is: projects/[PROJECT_ID]/locations/[LOCATION]/buckets/[BUCKET_ID]

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