Show / Hide Table of Contents

Class AccountsResource.ProductsResource.UpdateRequest

Inserts or updates the attributes of the product in a Manufacturer Center account. Creates a product with the provided attributes. If the product already exists, then all attributes are replaced with the new ones. The checks at upload time are minimal. All required attributes need to be present for a product to be valid. Issues may show up later after the API has accepted a new upload for a product and it is possible to overwrite an existing valid product with an invalid product. To detect this, you should retrieve the product and check it for issues once the new version is available. Uploaded attributes first need to be processed before they can be retrieved. Until then, new products will be unavailable, and retrieval of previously uploaded products will return the original state of the product.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<Empty>
ManufacturerCenterBaseServiceRequest<Empty>
AccountsResource.ProductsResource.UpdateRequest
Implements
IClientServiceRequest<Empty>
IClientServiceRequest
Inherited Members
ManufacturerCenterBaseServiceRequest<Empty>.Xgafv
ManufacturerCenterBaseServiceRequest<Empty>.AccessToken
ManufacturerCenterBaseServiceRequest<Empty>.Alt
ManufacturerCenterBaseServiceRequest<Empty>.Callback
ManufacturerCenterBaseServiceRequest<Empty>.Fields
ManufacturerCenterBaseServiceRequest<Empty>.Key
ManufacturerCenterBaseServiceRequest<Empty>.OauthToken
ManufacturerCenterBaseServiceRequest<Empty>.PrettyPrint
ManufacturerCenterBaseServiceRequest<Empty>.QuotaUser
ManufacturerCenterBaseServiceRequest<Empty>.UploadType
ManufacturerCenterBaseServiceRequest<Empty>.UploadProtocol
ClientServiceRequest<Empty>.Execute()
ClientServiceRequest<Empty>.ExecuteAsStream()
ClientServiceRequest<Empty>.ExecuteAsync()
ClientServiceRequest<Empty>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Empty>.ExecuteAsStreamAsync()
ClientServiceRequest<Empty>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Empty>.CreateRequest(bool?)
ClientServiceRequest<Empty>.GenerateRequestUri()
ClientServiceRequest<Empty>.GetDefaultETagAction(string)
ClientServiceRequest<Empty>.ETagAction
ClientServiceRequest<Empty>.ModifyRequest
ClientServiceRequest<Empty>.ValidateParameters
ClientServiceRequest<Empty>.ApiVersion
ClientServiceRequest<Empty>.RequestParameters
ClientServiceRequest<Empty>.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.ManufacturerCenter.v1
Assembly: Google.Apis.ManufacturerCenter.v1.dll
Syntax
public class AccountsResource.ProductsResource.UpdateRequest : ManufacturerCenterBaseServiceRequest<Empty>, IClientServiceRequest<Empty>, IClientServiceRequest

Constructors

UpdateRequest(IClientService, Attributes, string, string)

Constructs a new Update request.

Declaration
public UpdateRequest(IClientService service, Attributes body, string parent, string name)
Parameters
Type Name Description
IClientService service
Attributes body
string parent
string name

Properties

HttpMethod

Gets the HTTP method.

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

MethodName

Gets the method name.

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

Name

Name in the format {target_country}:{content_language}:{product_id}. target_country - The target country of the product as a CLDR territory code (for example, US). content_language - The content language of the product as a two-letter ISO 639-1 language code (for example, en). product_id - The ID of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#id.

Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
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
ClientServiceRequest<Empty>.RestPath

Methods

GetBody()

Returns the body of the request.

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

InitParameters()

Initializes Update parameter list.

Declaration
protected override void InitParameters()
Overrides
ManufacturerCenterBaseServiceRequest<Empty>.InitParameters()

Implements

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