Class AccountsResource.LabelsResource.ListRequest
Lists the labels assigned to an account.
Inheritance
AccountsResource.LabelsResource.ListRequest
Inherited Members
Namespace: Google.Apis.ShoppingContent.v2_1
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class AccountsResource.LabelsResource.ListRequest : ShoppingContentBaseServiceRequest<ListAccountLabelsResponse>, IClientServiceRequest<ListAccountLabelsResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService, long)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, long accountId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
long | accountId |
Properties
AccountId
Required. The account id for whose labels are to be listed.
Declaration
[RequestParameter("accountId", RequestParameterType.Path)]
public virtual long AccountId { get; }
Property Value
Type | Description |
---|---|
long |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
PageSize
The maximum number of labels to return. The service may return fewer than this value. If unspecified, at most 50 labels will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
A page token, received from a previous ListAccountLabels
call. Provide this to retrieve the
subsequent page. When paginating, all other parameters provided to ListAccountLabels
must match
the call that provided the page token.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()