Show / Hide Table of Contents

Class FilesResource.ListLabelsRequest

Lists the labels on a file.

Inheritance
System.Object
ClientServiceRequest
ClientServiceRequest<LabelList>
DriveBaseServiceRequest<LabelList>
FilesResource.ListLabelsRequest
Implements
IClientServiceRequest<LabelList>
IClientServiceRequest
Inherited Members
DriveBaseServiceRequest<LabelList>.Alt
DriveBaseServiceRequest<LabelList>.Fields
DriveBaseServiceRequest<LabelList>.Key
DriveBaseServiceRequest<LabelList>.OauthToken
DriveBaseServiceRequest<LabelList>.PrettyPrint
DriveBaseServiceRequest<LabelList>.QuotaUser
DriveBaseServiceRequest<LabelList>.UserIp
ClientServiceRequest<LabelList>.Execute()
ClientServiceRequest<LabelList>.ExecuteAsStream()
ClientServiceRequest<LabelList>.ExecuteAsync()
ClientServiceRequest<LabelList>.ExecuteAsync(CancellationToken)
ClientServiceRequest<LabelList>.ExecuteAsStreamAsync()
ClientServiceRequest<LabelList>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<LabelList>.CreateRequest(Nullable<Boolean>)
ClientServiceRequest<LabelList>.GenerateRequestUri()
ClientServiceRequest<LabelList>.GetBody()
ClientServiceRequest<LabelList>.GetDefaultETagAction(String)
ClientServiceRequest<LabelList>.ETagAction
ClientServiceRequest<LabelList>.ModifyRequest
ClientServiceRequest<LabelList>.ValidateParameters
ClientServiceRequest<LabelList>.RequestParameters
ClientServiceRequest<LabelList>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Drive.v2
Assembly: Google.Apis.Drive.v2.dll
Syntax
public class ListLabelsRequest : DriveBaseServiceRequest<LabelList>, IClientServiceRequest<LabelList>, IClientServiceRequest

Constructors

ListLabelsRequest(IClientService, String)

Constructs a new ListLabels request.

Declaration
public ListLabelsRequest(IClientService service, string fileId)
Parameters
Type Name Description
IClientService service
System.String fileId

Properties

FileId

The ID of the file.

Declaration
[RequestParameter("fileId", RequestParameterType.Path)]
public virtual string FileId { get; }
Property Value
Type Description
System.String

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Drive.v2.Data.LabelList>.HttpMethod

MaxResults

The maximum number of labels to return per page. When not set, this defaults to 100.

Declaration
[RequestParameter("maxResults", RequestParameterType.Query)]
public virtual int? MaxResults { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Drive.v2.Data.LabelList>.MethodName

PageToken

The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous response.

Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type Description
System.String

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Drive.v2.Data.LabelList>.RestPath

Methods

InitParameters()

Initializes ListLabels parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.Drive.v2.DriveBaseServiceRequest<Google.Apis.Drive.v2.Data.LabelList>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In This Article
Back to top Generated by DocFX