Show / Hide Table of Contents

Class LabelsResource.CreateRequest

Creates a new Label.

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

Constructors

CreateRequest(IClientService, GoogleAppsDriveLabelsV2betaLabel)

Constructs a new Create request.

Declaration
public CreateRequest(IClientService service, GoogleAppsDriveLabelsV2betaLabel body)
Parameters
Type Name Description
IClientService service
GoogleAppsDriveLabelsV2betaLabel body

Properties

HttpMethod

Gets the HTTP method.

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

LanguageCode

The BCP-47 language code to use for evaluating localized Field labels in response. When not specified, values in the default configured language will be used.

Declaration
[RequestParameter("languageCode", RequestParameterType.Query)]
public virtual string LanguageCode { get; set; }
Property Value
Type Description
string

MethodName

Gets the method name.

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

RestPath

Gets the REST path.

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

UseAdminAccess

Set to true in order to use the user's admin privileges. The server will verify the user is an admin before allowing access.

Declaration
[RequestParameter("useAdminAccess", RequestParameterType.Query)]
public virtual bool? UseAdminAccess { get; set; }
Property Value
Type Description
bool?

Methods

GetBody()

Returns the body of the request.

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

InitParameters()

Initializes Create parameter list.

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

Implements

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