Show / Hide Table of Contents

Class LabelsResource.ListRequest

List labels.

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

Constructors

ListRequest(IClientService)

Constructs a new List request.

Declaration
public ListRequest(IClientService service)
Parameters
Type Name Description
IClientService service

Properties

Customer

The customer to scope this list request to. For example: "customers/abcd1234". If unset, will return all labels within the current customer.

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

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleAppsDriveLabelsV2ListLabelsResponse>.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<GoogleAppsDriveLabelsV2ListLabelsResponse>.MethodName

MinimumRole

Specifies the level of access the user must have on the returned Labels. The minimum role a user must have on a label. Defaults to READER.

Declaration
[RequestParameter("minimumRole", RequestParameterType.Query)]
public virtual LabelsResource.ListRequest.MinimumRoleEnum? MinimumRole { get; set; }
Property Value
Type Description
LabelsResource.ListRequest.MinimumRoleEnum?

PageSize

Maximum number of labels to return per page. Default: 50. Max: 200.

Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type Description
int?

PageToken

The token of the page to return.

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

PublishedOnly

Whether to include only published labels in the results. * When true, only the current published label revisions are returned. Disabled labels are included. Returned label resource names reference the published revision (labels/{id}/{revision_id}). * When false, the current label revisions are returned, which might not be published. Returned label resource names don't reference a specific revision (labels/{id}).

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

RestPath

Gets the REST path.

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

UseAdminAccess

Set to true in order to use the user's admin credentials. This will return all Labels within the customer.

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.ListRequest.ViewEnum? View { get; set; }
Property Value
Type Description
LabelsResource.ListRequest.ViewEnum?

Methods

InitParameters()

Initializes List parameter list.

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

Implements

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