Class ProductsResource.ListRequest
Lists the products in your Merchant Center account. The response might contain fewer items than specified by maxResults. Rely on nextPageToken to determine if there are more items to be requested.
Inheritance
System.Object
Google.Apis.Requests.ClientServiceRequest
Google.Apis.Requests.ClientServiceRequest<ProductsListResponse>
ProductsResource.ListRequest
Implements
Google.Apis.Requests.IClientServiceRequest<ProductsListResponse>
Google.Apis.Requests.IClientServiceRequest
Inherited Members
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2.Data.ProductsListResponse>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2.Data.ProductsListResponse>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2.Data.ProductsListResponse>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2.Data.ProductsListResponse>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2.Data.ProductsListResponse>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2.Data.ProductsListResponse>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2.Data.ProductsListResponse>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2.Data.ProductsListResponse>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2.Data.ProductsListResponse>.GetBody()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2.Data.ProductsListResponse>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2.Data.ProductsListResponse>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2.Data.ProductsListResponse>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2.Data.ProductsListResponse>.ValidateParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2.Data.ProductsListResponse>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2.Data.ProductsListResponse>.Service
Google.Apis.Requests.ClientServiceRequest._unsuccessfulResponseHandlers
Google.Apis.Requests.ClientServiceRequest._exceptionHandlers
Google.Apis.Requests.ClientServiceRequest._executeInterceptors
Google.Apis.Requests.ClientServiceRequest.AddUnsuccessfulResponseHandler(Google.Apis.Http.IHttpUnsuccessfulResponseHandler)
Google.Apis.Requests.ClientServiceRequest.AddExceptionHandler(Google.Apis.Http.IHttpExceptionHandler)
Google.Apis.Requests.ClientServiceRequest.AddExecuteInterceptor(Google.Apis.Http.IHttpExecuteInterceptor)
Google.Apis.Requests.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.ShoppingContent.v2
Assembly: Google.Apis.ShoppingContent.v2.dll
Syntax
public class ListRequest : ShoppingContentBaseServiceRequest<ProductsListResponse>, IClientServiceRequest<ProductsListResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService, UInt64)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, ulong merchantId)
Parameters
Type | Name | Description |
---|---|---|
Google.Apis.Services.IClientService | service | |
System.UInt64 | merchantId |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2.Data.ProductsListResponse>.HttpMethod
IncludeInvalidInsertedItems
Flag to include the invalid inserted items in the result of the list request. By default the invalid items are not shown (the default value is false).
Declaration
[RequestParameter("includeInvalidInsertedItems", RequestParameterType.Query)]
public virtual bool? IncludeInvalidInsertedItems { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
MaxResults
The maximum number of products to return in the response, used for paging.
Declaration
[RequestParameter("maxResults", RequestParameterType.Query)]
public virtual long? MaxResults { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
MerchantId
The ID of the account that contains the products. This account cannot be a multi-client account.
Declaration
[RequestParameter("merchantId", RequestParameterType.Path)]
public virtual ulong MerchantId { get; }
Property Value
Type | Description |
---|---|
System.UInt64 |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2.Data.ProductsListResponse>.MethodName
PageToken
The token returned by the previous request.
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.ShoppingContent.v2.Data.ProductsListResponse>.RestPath
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.ShoppingContent.v2.ShoppingContentBaseServiceRequest<Google.Apis.ShoppingContent.v2.Data.ProductsListResponse>.InitParameters()
Implements
Google.Apis.Requests.IClientServiceRequest<TResponse>
Google.Apis.Requests.IClientServiceRequest