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

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...

Inheritance diagram for Google.Apis.ShoppingContent.v2_1.ProductsResource.InsertRequest:
Google.Apis.ShoppingContent.v2_1.ShoppingContentBaseServiceRequest< Google.Apis.ShoppingContent.v2_1.Data.Product >

Public Member Functions

 InsertRequest (Google.Apis.Services.IClientService service, Google.Apis.ShoppingContent.v2_1.Data.Product body, ulong merchantId)
 Constructs a new Insert request. More...
 

Protected Member Functions

override object GetBody ()
 summary>Gets the method name. More...
 
override void InitParameters ()
 Initializes Insert parameter list. More...
 
- Protected Member Functions inherited from Google.Apis.ShoppingContent.v2_1.ShoppingContentBaseServiceRequest< Google.Apis.ShoppingContent.v2_1.Data.Product >
 ShoppingContentBaseServiceRequest (Google.Apis.Services.IClientService service)
 Constructs a new ShoppingContentBaseServiceRequest instance. More...
 
override void InitParameters ()
 Initializes ShoppingContent parameter list. More...
 

Properties

virtual ulong MerchantId [get]
 The ID of the account that contains the product. This account cannot be a multi-client account. More...
 
virtual System.Nullable< ulong > FeedId [get, set]
 The Content API Supplemental Feed ID. More...
 
override string MethodName [get]
 summary>Gets the HTTP method. More...
 
override string HttpMethod [get]
 summary>Gets the REST path. More...
 
override string RestPath [get]
 
- Properties inherited from Google.Apis.ShoppingContent.v2_1.ShoppingContentBaseServiceRequest< Google.Apis.ShoppingContent.v2_1.Data.Product >
virtual System.Nullable< AltEnum > Alt [get, set]
 Data format for the response. More...
 
virtual string Fields [get, set]
 Selector specifying which fields to include in a partial response. More...
 
virtual string Key [get, set]
 API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. More...
 
virtual string OauthToken [get, set]
 OAuth 2.0 token for the current user. More...
 
virtual System.Nullable< bool > PrettyPrint [get, set]
 Returns response with indentations and line breaks. More...
 
virtual string QuotaUser [get, set]
 An opaque string that represents a user for quota purposes. Must not exceed 40 characters. More...
 
virtual string UserIp [get, set]
 Deprecated. Please use quotaUser instead. More...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ InsertRequest()

Google.Apis.ShoppingContent.v2_1.ProductsResource.InsertRequest.InsertRequest ( Google.Apis.Services.IClientService  service,
Google.Apis.ShoppingContent.v2_1.Data.Product  body,
ulong  merchantId 
)
inline

Constructs a new Insert request.

Member Function Documentation

◆ GetBody()

override object Google.Apis.ShoppingContent.v2_1.ProductsResource.InsertRequest.GetBody ( )
inlineprotected

summary>Gets the method name.

◆ InitParameters()

override void Google.Apis.ShoppingContent.v2_1.ProductsResource.InsertRequest.InitParameters ( )
inlineprotected

Initializes Insert parameter list.

Property Documentation

◆ FeedId

virtual System.Nullable<ulong> Google.Apis.ShoppingContent.v2_1.ProductsResource.InsertRequest.FeedId
getset

The Content API Supplemental Feed ID.

◆ HttpMethod

override string Google.Apis.ShoppingContent.v2_1.ProductsResource.InsertRequest.HttpMethod
get

summary>Gets the REST path.

◆ MerchantId

virtual ulong Google.Apis.ShoppingContent.v2_1.ProductsResource.InsertRequest.MerchantId
get

The ID of the account that contains the product. This account cannot be a multi-client account.

◆ MethodName

override string Google.Apis.ShoppingContent.v2_1.ProductsResource.InsertRequest.MethodName
get

summary>Gets the HTTP method.


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