Show / Hide Table of Contents

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
object
ClientServiceRequest
ClientServiceRequest<TransferJob>
StoragetransferBaseServiceRequest<TransferJob>
TransferJobsResource.PatchRequest
Implements
IClientServiceRequest<TransferJob>
IClientServiceRequest
Inherited Members
StoragetransferBaseServiceRequest<TransferJob>.Xgafv
StoragetransferBaseServiceRequest<TransferJob>.AccessToken
StoragetransferBaseServiceRequest<TransferJob>.Alt
StoragetransferBaseServiceRequest<TransferJob>.Callback
StoragetransferBaseServiceRequest<TransferJob>.Fields
StoragetransferBaseServiceRequest<TransferJob>.Key
StoragetransferBaseServiceRequest<TransferJob>.OauthToken
StoragetransferBaseServiceRequest<TransferJob>.PrettyPrint
StoragetransferBaseServiceRequest<TransferJob>.QuotaUser
StoragetransferBaseServiceRequest<TransferJob>.UploadType
StoragetransferBaseServiceRequest<TransferJob>.UploadProtocol
ClientServiceRequest<TransferJob>.Execute()
ClientServiceRequest<TransferJob>.ExecuteAsStream()
ClientServiceRequest<TransferJob>.ExecuteAsync()
ClientServiceRequest<TransferJob>.ExecuteAsync(CancellationToken)
ClientServiceRequest<TransferJob>.ExecuteAsStreamAsync()
ClientServiceRequest<TransferJob>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<TransferJob>.CreateRequest(bool?)
ClientServiceRequest<TransferJob>.GenerateRequestUri()
ClientServiceRequest<TransferJob>.GetDefaultETagAction(string)
ClientServiceRequest<TransferJob>.ETagAction
ClientServiceRequest<TransferJob>.ModifyRequest
ClientServiceRequest<TransferJob>.ValidateParameters
ClientServiceRequest<TransferJob>.ApiVersion
ClientServiceRequest<TransferJob>.RequestParameters
ClientServiceRequest<TransferJob>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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
ClientServiceRequest<TransferJob>.HttpMethod

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
ClientServiceRequest<TransferJob>.MethodName

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<TransferJob>.RestPath

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<TransferJob>.GetBody()

InitParameters()

Initializes Patch parameter list.

Declaration
protected override void InitParameters()
Overrides
StoragetransferBaseServiceRequest<TransferJob>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX