Class TransferJobsResource.PatchRequest
Updates a transfer job. Updating a job's transfer spec does not affect transfer operations that are running already. Note: The job's status field can be modified using this RPC (for example, to set a job's status to DELETED, DISABLED, or ENABLED).
Inheritance
TransferJobsResource.PatchRequest
Inherited Members
Namespace: Google.Apis.Storagetransfer.v1
Assembly: Google.Apis.Storagetransfer.v1.dll
Syntax
public class TransferJobsResource.PatchRequest : StoragetransferBaseServiceRequest<TransferJob>, IClientServiceRequest<TransferJob>, IClientServiceRequest
Constructors
PatchRequest(IClientService, UpdateTransferJobRequest, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, UpdateTransferJobRequest body, string jobName)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
UpdateTransferJobRequest | 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 job to update.
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 Patch parameter list.
Declaration
protected override void InitParameters()