Class LabelsResource.ListRequest
List labels.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.DriveLabels.v2beta
Assembly: Google.Apis.DriveLabels.v2beta.dll
Syntax
public class LabelsResource.ListRequest : DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2betaListLabelsResponse>, IClientServiceRequest<GoogleAppsDriveLabelsV2betaListLabelsResponse>, 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
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
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
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()