Show / Hide Table of Contents

Class LocalinventoryResource.InsertRequest

Updates the local inventory of a product in your Merchant Center account.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<LocalInventory>
ShoppingContentBaseServiceRequest<LocalInventory>
LocalinventoryResource.InsertRequest
Implements
IClientServiceRequest<LocalInventory>
IClientServiceRequest
Inherited Members
ShoppingContentBaseServiceRequest<LocalInventory>.Xgafv
ShoppingContentBaseServiceRequest<LocalInventory>.AccessToken
ShoppingContentBaseServiceRequest<LocalInventory>.Alt
ShoppingContentBaseServiceRequest<LocalInventory>.Callback
ShoppingContentBaseServiceRequest<LocalInventory>.Fields
ShoppingContentBaseServiceRequest<LocalInventory>.Key
ShoppingContentBaseServiceRequest<LocalInventory>.OauthToken
ShoppingContentBaseServiceRequest<LocalInventory>.PrettyPrint
ShoppingContentBaseServiceRequest<LocalInventory>.QuotaUser
ShoppingContentBaseServiceRequest<LocalInventory>.UploadType
ShoppingContentBaseServiceRequest<LocalInventory>.UploadProtocol
ClientServiceRequest<LocalInventory>.Execute()
ClientServiceRequest<LocalInventory>.ExecuteAsStream()
ClientServiceRequest<LocalInventory>.ExecuteAsync()
ClientServiceRequest<LocalInventory>.ExecuteAsync(CancellationToken)
ClientServiceRequest<LocalInventory>.ExecuteAsStreamAsync()
ClientServiceRequest<LocalInventory>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<LocalInventory>.CreateRequest(bool?)
ClientServiceRequest<LocalInventory>.GenerateRequestUri()
ClientServiceRequest<LocalInventory>.GetDefaultETagAction(string)
ClientServiceRequest<LocalInventory>.ETagAction
ClientServiceRequest<LocalInventory>.ModifyRequest
ClientServiceRequest<LocalInventory>.ValidateParameters
ClientServiceRequest<LocalInventory>.ApiVersion
ClientServiceRequest<LocalInventory>.RequestParameters
ClientServiceRequest<LocalInventory>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.ShoppingContent.v2_1
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class LocalinventoryResource.InsertRequest : ShoppingContentBaseServiceRequest<LocalInventory>, IClientServiceRequest<LocalInventory>, IClientServiceRequest

Constructors

InsertRequest(IClientService, LocalInventory, ulong, string)

Constructs a new Insert request.

Declaration
public InsertRequest(IClientService service, LocalInventory body, ulong merchantId, string productId)
Parameters
Type Name Description
IClientService service
LocalInventory body
ulong merchantId
string productId

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<LocalInventory>.HttpMethod

MerchantId

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

Declaration
[RequestParameter("merchantId", RequestParameterType.Path)]
public virtual ulong MerchantId { get; }
Property Value
Type Description
ulong

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<LocalInventory>.MethodName

ProductId

The REST ID of the product for which to update local inventory.

Declaration
[RequestParameter("productId", RequestParameterType.Path)]
public virtual string ProductId { get; }
Property Value
Type Description
string

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<LocalInventory>.RestPath

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<LocalInventory>.GetBody()

InitParameters()

Initializes Insert parameter list.

Declaration
protected override void InitParameters()
Overrides
ShoppingContentBaseServiceRequest<LocalInventory>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX