Class DatasetsResource.UndeleteRequest
Undeletes a dataset which is within time travel window based on datasetId. If a time is specified, the dataset version deleted at that time is undeleted, else the last live version is undeleted.
Inheritance
DatasetsResource.UndeleteRequest
Inherited Members
Namespace: Google.Apis.Bigquery.v2
Assembly: Google.Apis.Bigquery.v2.dll
Syntax
public class DatasetsResource.UndeleteRequest : BigqueryBaseServiceRequest<Dataset>, IClientServiceRequest<Dataset>, IClientServiceRequest
Constructors
UndeleteRequest(IClientService, UndeleteDatasetRequest, string, string)
Constructs a new Undelete request.
Declaration
public UndeleteRequest(IClientService service, UndeleteDatasetRequest body, string projectId, string datasetId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
UndeleteDatasetRequest | body | |
string | projectId | |
string | datasetId |
Properties
DatasetId
Required. Dataset ID of dataset being deleted
Declaration
[RequestParameter("datasetId", RequestParameterType.Path)]
public virtual string DatasetId { get; }
Property Value
Type | Description |
---|---|
string |
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
ProjectId
Required. Project ID of the dataset to be undeleted
Declaration
[RequestParameter("projectId", RequestParameterType.Path)]
public virtual string ProjectId { 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()