Class ProjectsResource.LocationsResource.BucketsResource
The "buckets" collection of methods.
Inherited Members
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 |