Class ProjectsResource.LocationsResource.BucketsResource.ReprovisionRequest
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.
Inheritance
ProjectsResource.LocationsResource.BucketsResource.ReprovisionRequest
Inherited Members
Namespace: Google.Apis.CloudObservability.v1
Assembly: Google.Apis.CloudObservability.v1.dll
Syntax
public class ProjectsResource.LocationsResource.BucketsResource.ReprovisionRequest : CloudObservabilityBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
ReprovisionRequest(IClientService, ReprovisionBucketRequest, string)
Constructs a new Reprovision request.
Declaration
public ReprovisionRequest(IClientService service, ReprovisionBucketRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| ReprovisionBucketRequest | body | |
| string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Name
Required. Name of the bucket to reprovision. The format is: projects/[PROJECT_ID]/locations/[LOCATION]/buckets/[BUCKET_ID]
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes Reprovision parameter list.
Declaration
protected override void InitParameters()