Class TransferJobsResource.RunRequest
Starts a new operation for the specified transfer job. A TransferJob
has a maximum of one active
TransferOperation
. If this method is called while a TransferOperation
is active, an error is returned.
Inheritance
TransferJobsResource.RunRequest
Inherited Members
Namespace: Google.Apis.Storagetransfer.v1
Assembly: Google.Apis.Storagetransfer.v1.dll
Syntax
public class TransferJobsResource.RunRequest : StoragetransferBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
RunRequest(IClientService, RunTransferJobRequest, string)
Constructs a new Run request.
Declaration
public RunRequest(IClientService service, RunTransferJobRequest body, string jobName)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
RunTransferJobRequest | body | |
string | jobName |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
JobName
Required. The name of the transfer job.
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
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 Run parameter list.
Declaration
protected override void InitParameters()