Show / Hide Table of Contents

Class LabelsResource.DeltaRequest

Updates a single Label by applying a set of update requests resulting in a new draft revision. The batch update is all-or-nothing: If any of the update requests are invalid, no changes are applied. The resulting draft revision must be published before the changes may be used with Drive Items.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<GoogleAppsDriveLabelsV2DeltaUpdateLabelResponse>
DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2DeltaUpdateLabelResponse>
LabelsResource.DeltaRequest
Implements
IClientServiceRequest<GoogleAppsDriveLabelsV2DeltaUpdateLabelResponse>
IClientServiceRequest
Inherited Members
DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2DeltaUpdateLabelResponse>.Xgafv
DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2DeltaUpdateLabelResponse>.AccessToken
DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2DeltaUpdateLabelResponse>.Alt
DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2DeltaUpdateLabelResponse>.Callback
DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2DeltaUpdateLabelResponse>.Fields
DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2DeltaUpdateLabelResponse>.Key
DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2DeltaUpdateLabelResponse>.OauthToken
DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2DeltaUpdateLabelResponse>.PrettyPrint
DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2DeltaUpdateLabelResponse>.QuotaUser
DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2DeltaUpdateLabelResponse>.UploadType
DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2DeltaUpdateLabelResponse>.UploadProtocol
ClientServiceRequest<GoogleAppsDriveLabelsV2DeltaUpdateLabelResponse>.Execute()
ClientServiceRequest<GoogleAppsDriveLabelsV2DeltaUpdateLabelResponse>.ExecuteAsStream()
ClientServiceRequest<GoogleAppsDriveLabelsV2DeltaUpdateLabelResponse>.ExecuteAsync()
ClientServiceRequest<GoogleAppsDriveLabelsV2DeltaUpdateLabelResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GoogleAppsDriveLabelsV2DeltaUpdateLabelResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<GoogleAppsDriveLabelsV2DeltaUpdateLabelResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GoogleAppsDriveLabelsV2DeltaUpdateLabelResponse>.CreateRequest(bool?)
ClientServiceRequest<GoogleAppsDriveLabelsV2DeltaUpdateLabelResponse>.GenerateRequestUri()
ClientServiceRequest<GoogleAppsDriveLabelsV2DeltaUpdateLabelResponse>.GetDefaultETagAction(string)
ClientServiceRequest<GoogleAppsDriveLabelsV2DeltaUpdateLabelResponse>.ETagAction
ClientServiceRequest<GoogleAppsDriveLabelsV2DeltaUpdateLabelResponse>.ModifyRequest
ClientServiceRequest<GoogleAppsDriveLabelsV2DeltaUpdateLabelResponse>.ValidateParameters
ClientServiceRequest<GoogleAppsDriveLabelsV2DeltaUpdateLabelResponse>.ApiVersion
ClientServiceRequest<GoogleAppsDriveLabelsV2DeltaUpdateLabelResponse>.RequestParameters
ClientServiceRequest<GoogleAppsDriveLabelsV2DeltaUpdateLabelResponse>.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.DriveLabels.v2
Assembly: Google.Apis.DriveLabels.v2.dll
Syntax
public class LabelsResource.DeltaRequest : DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2DeltaUpdateLabelResponse>, IClientServiceRequest<GoogleAppsDriveLabelsV2DeltaUpdateLabelResponse>, IClientServiceRequest

Constructors

DeltaRequest(IClientService, GoogleAppsDriveLabelsV2DeltaUpdateLabelRequest, string)

Constructs a new Delta request.

Declaration
public DeltaRequest(IClientService service, GoogleAppsDriveLabelsV2DeltaUpdateLabelRequest body, string name)
Parameters
Type Name Description
IClientService service
GoogleAppsDriveLabelsV2DeltaUpdateLabelRequest body
string name

Properties

HttpMethod

Gets the HTTP method.

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

MethodName

Gets the method name.

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

Name

Required. The resource name of the Label to update.

Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type Description
string

RestPath

Gets the REST path.

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

Methods

GetBody()

Returns the body of the request.

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

InitParameters()

Initializes Delta parameter list.

Declaration
protected override void InitParameters()
Overrides
DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2DeltaUpdateLabelResponse>.InitParameters()

Implements

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