Class TransferJobsResource.DeleteRequest
Deletes a transfer job. Deleting a transfer job sets its status to DELETED.
Inheritance
TransferJobsResource.DeleteRequest
Inherited Members
Namespace: Google.Apis.Storagetransfer.v1
Assembly: Google.Apis.Storagetransfer.v1.dll
Syntax
public class TransferJobsResource.DeleteRequest : StoragetransferBaseServiceRequest<Empty>, IClientServiceRequest<Empty>, IClientServiceRequest
Constructors
DeleteRequest(IClientService, string, string)
Constructs a new Delete request.
Declaration
public DeleteRequest(IClientService service, string jobName, string projectId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | jobName | |
string | projectId |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
JobName
Required. The job to delete.
Declaration
[RequestParameter("jobName", RequestParameterType.Path)]
public virtual string JobName { get; }
Property Value
Type | Description |
---|---|
string |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
ProjectId
Required. The ID of the Google Cloud project that owns the job.
Declaration
[RequestParameter("projectId", RequestParameterType.Query)]
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
InitParameters()
Initializes Delete parameter list.
Declaration
protected override void InitParameters()