content  v2.1
Classes | Public Member Functions | List of all members
Google.Apis.ShoppingContent.v2_1.ProductsResource Class Reference

The "products" collection of methods. More...

Classes

class  CustombatchRequest
 Retrieves, inserts, and deletes multiple products in a single request. More...
 
class  DeleteRequest
 Deletes a product from your Merchant Center account. More...
 
class  GetRequest
 Retrieves a product from your Merchant Center account. More...
 
class  InsertRequest
 Uploads a product to your Merchant Center account. If an item with the same channel, contentLanguage, offerId, and targetCountry already exists, this method updates that entry. More...
 
class  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. More...
 

Public Member Functions

 ProductsResource (Google.Apis.Services.IClientService service)
 Constructs a new resource. More...
 
virtual CustombatchRequest Custombatch (Google.Apis.ShoppingContent.v2_1.Data.ProductsCustomBatchRequest body)
 Retrieves, inserts, and deletes multiple products in a single request. More...
 
virtual DeleteRequest Delete (ulong merchantId, string productId)
 Deletes a product from your Merchant Center account. More...
 
virtual GetRequest Get (ulong merchantId, string productId)
 Retrieves a product from your Merchant Center account. More...
 
virtual InsertRequest Insert (Google.Apis.ShoppingContent.v2_1.Data.Product body, ulong merchantId)
 Uploads a product to your Merchant Center account. If an item with the same channel, contentLanguage, offerId, and targetCountry already exists, this method updates that entry. More...
 
virtual ListRequest List (ulong merchantId)
 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. More...
 

Detailed Description

The "products" collection of methods.

Constructor & Destructor Documentation

◆ ProductsResource()

Google.Apis.ShoppingContent.v2_1.ProductsResource.ProductsResource ( Google.Apis.Services.IClientService  service)
inline

Constructs a new resource.

Member Function Documentation

◆ Custombatch()

virtual CustombatchRequest Google.Apis.ShoppingContent.v2_1.ProductsResource.Custombatch ( Google.Apis.ShoppingContent.v2_1.Data.ProductsCustomBatchRequest  body)
inlinevirtual

Retrieves, inserts, and deletes multiple products in a single request.

Parameters
bodyThe body of the request.

◆ Delete()

virtual DeleteRequest Google.Apis.ShoppingContent.v2_1.ProductsResource.Delete ( ulong  merchantId,
string  productId 
)
inlinevirtual

Deletes a product from your Merchant Center account.

Parameters
merchantIdThe ID of the account that contains the product. This account cannot be a multi-client account.
productIdThe REST ID of the product.

◆ Get()

virtual GetRequest Google.Apis.ShoppingContent.v2_1.ProductsResource.Get ( ulong  merchantId,
string  productId 
)
inlinevirtual

Retrieves a product from your Merchant Center account.

Parameters
merchantIdThe ID of the account that contains the product. This account cannot be a multi-client account.
productIdThe REST ID of the product.

◆ Insert()

virtual InsertRequest Google.Apis.ShoppingContent.v2_1.ProductsResource.Insert ( Google.Apis.ShoppingContent.v2_1.Data.Product  body,
ulong  merchantId 
)
inlinevirtual

Uploads a product to your Merchant Center account. If an item with the same channel, contentLanguage, offerId, and targetCountry already exists, this method updates that entry.

Parameters
bodyThe body of the request.
merchantIdThe ID of the account that contains the product. This account cannot be a multi-client account.

◆ List()

virtual ListRequest Google.Apis.ShoppingContent.v2_1.ProductsResource.List ( ulong  merchantId)
inlinevirtual

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.

Parameters
merchantIdThe ID of the account that contains the products. This account cannot be a multi-client account.

The documentation for this class was generated from the following file: