Show / Hide Table of Contents

Class LabelsResource.GetRequest

Get a label by its resource name. Resource name may be any of: * labels/{id} - See labels/{id}@latest * labels/{id}@latest - Gets the latest revision of the label. * labels/{id}@published - Gets the current published revision of the label. * labels/{id}@{revision_id} - Gets the label at the specified revision ID.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<GoogleAppsDriveLabelsV2betaLabel>
DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2betaLabel>
LabelsResource.GetRequest
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>.GetBody()
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.GetRequest : DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2betaLabel>, IClientServiceRequest<GoogleAppsDriveLabelsV2betaLabel>, IClientServiceRequest

Constructors

GetRequest(IClientService, string)

Constructs a new Get request.

Declaration
public GetRequest(IClientService service, string name)
Parameters
Type Name Description
IClientService service
string name

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. When not specified, values in the default configured language are 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

Name

Required. Label resource name. May be any of: * labels/{id} (equivalent to labels/{id}@latest) * labels/{id}@latest * labels/{id}@published * labels/{id}@{revision_id}

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

UseAdminAccess

Set to true in order to use the user's admin credentials. The server verifies that the user is an admin for the label before allowing access.

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

View

When specified, only certain fields belonging to the indicated view are returned.

Declaration
[RequestParameter("view", RequestParameterType.Query)]
public virtual LabelsResource.GetRequest.ViewEnum? View { get; set; }
Property Value
Type Description
LabelsResource.GetRequest.ViewEnum?

Methods

InitParameters()

Initializes Get parameter list.

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

Implements

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