Show / Hide Table of Contents

Class LabelsResource.DisableRequest

Disable a published Label. Disabling a Label will result in a new disabled published revision based on the current published revision. If there is a draft revision, a new disabled draft revision will be created based on the latest draft revision. Older draft revisions will be deleted. Once disabled, a label may be deleted with DeleteLabel.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<GoogleAppsDriveLabelsV2Label>
DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2Label>
LabelsResource.DisableRequest
Implements
IClientServiceRequest<GoogleAppsDriveLabelsV2Label>
IClientServiceRequest
Inherited Members
DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2Label>.Xgafv
DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2Label>.AccessToken
DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2Label>.Alt
DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2Label>.Callback
DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2Label>.Fields
DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2Label>.Key
DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2Label>.OauthToken
DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2Label>.PrettyPrint
DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2Label>.QuotaUser
DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2Label>.UploadType
DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2Label>.UploadProtocol
ClientServiceRequest<GoogleAppsDriveLabelsV2Label>.Execute()
ClientServiceRequest<GoogleAppsDriveLabelsV2Label>.ExecuteAsStream()
ClientServiceRequest<GoogleAppsDriveLabelsV2Label>.ExecuteAsync()
ClientServiceRequest<GoogleAppsDriveLabelsV2Label>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GoogleAppsDriveLabelsV2Label>.ExecuteAsStreamAsync()
ClientServiceRequest<GoogleAppsDriveLabelsV2Label>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GoogleAppsDriveLabelsV2Label>.CreateRequest(bool?)
ClientServiceRequest<GoogleAppsDriveLabelsV2Label>.GenerateRequestUri()
ClientServiceRequest<GoogleAppsDriveLabelsV2Label>.GetDefaultETagAction(string)
ClientServiceRequest<GoogleAppsDriveLabelsV2Label>.ETagAction
ClientServiceRequest<GoogleAppsDriveLabelsV2Label>.ModifyRequest
ClientServiceRequest<GoogleAppsDriveLabelsV2Label>.ValidateParameters
ClientServiceRequest<GoogleAppsDriveLabelsV2Label>.ApiVersion
ClientServiceRequest<GoogleAppsDriveLabelsV2Label>.RequestParameters
ClientServiceRequest<GoogleAppsDriveLabelsV2Label>.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.DisableRequest : DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2Label>, IClientServiceRequest<GoogleAppsDriveLabelsV2Label>, IClientServiceRequest

Constructors

DisableRequest(IClientService, GoogleAppsDriveLabelsV2DisableLabelRequest, string)

Constructs a new Disable request.

Declaration
public DisableRequest(IClientService service, GoogleAppsDriveLabelsV2DisableLabelRequest body, string name)
Parameters
Type Name Description
IClientService service
GoogleAppsDriveLabelsV2DisableLabelRequest body
string name

Properties

HttpMethod

Gets the HTTP method.

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

MethodName

Gets the method name.

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

Name

Required. Label resource name.

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<GoogleAppsDriveLabelsV2Label>.RestPath

Methods

GetBody()

Returns the body of the request.

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

InitParameters()

Initializes Disable parameter list.

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

Implements

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