Class AccountsResource.ProductsResource.ListRequest
Lists all the products in a Manufacturer Center account.
Inheritance
Inherited Members
Namespace: Google.Apis.ManufacturerCenter.v1
Assembly: Google.Apis.ManufacturerCenter.v1.dll
Syntax
public class AccountsResource.ProductsResource.ListRequest : ManufacturerCenterBaseServiceRequest<ListProductsResponse>, IClientServiceRequest<ListProductsResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService, string)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | parent |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Include
The information to be included in the response. Only sections listed here will be returned.
Declaration
[RequestParameter("include", RequestParameterType.Query)]
public virtual AccountsResource.ProductsResource.ListRequest.IncludeEnum? Include { get; set; }
Property Value
Type | Description |
---|---|
AccountsResource.ProductsResource.ListRequest.IncludeEnum? |
Remarks
Use this property to set a single value for the parameter, or IncludeList to set multiple values. Do not set both properties.
IncludeList
The information to be included in the response. Only sections listed here will be returned.
Declaration
[RequestParameter("include", RequestParameterType.Query)]
public virtual Repeatable<AccountsResource.ProductsResource.ListRequest.IncludeEnum> IncludeList { get; set; }
Property Value
Type | Description |
---|---|
Repeatable<AccountsResource.ProductsResource.ListRequest.IncludeEnum> |
Remarks
Use this property to set one or more values for the parameter. Do not set both this property and Include.
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
PageSize
Maximum number of product statuses to return in the response, used for paging.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
The token returned by the previous request.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type | Description |
---|---|
string |
Parent
Parent ID in the format accounts/{account_id}
. account_id
- The ID of the Manufacturer Center
account.
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
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()