Class ProjectsResource.LocationsResource.BucketsResource.UndeleteRequest
Undeletes a log bucket. A bucket that has been deleted can be undeleted within the grace period of 7 days.
Inheritance
ProjectsResource.LocationsResource.BucketsResource.UndeleteRequest
Inherited Members
Namespace: Google.Apis.Logging.v2
Assembly: Google.Apis.Logging.v2.dll
Syntax
public class ProjectsResource.LocationsResource.BucketsResource.UndeleteRequest : LoggingBaseServiceRequest<Empty>, IClientServiceRequest<Empty>, IClientServiceRequest
Constructors
UndeleteRequest(IClientService, UndeleteBucketRequest, string)
Constructs a new Undelete request.
Declaration
public UndeleteRequest(IClientService service, UndeleteBucketRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
UndeleteBucketRequest | 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. The full resource name of the bucket to undelete. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket"
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 Undelete parameter list.
Declaration
protected override void InitParameters()