Class AccountsResource.LanguagesResource.ProductCertificationsResource.PatchRequest
Updates (or creates if allow_missing = true) a product certification which links certifications with products. This method can only be called by certification bodies.
Inheritance
Inherited Members
Namespace: Google.Apis.ManufacturerCenter.v1
Assembly: Google.Apis.ManufacturerCenter.v1.dll
Syntax
public class AccountsResource.LanguagesResource.ProductCertificationsResource.PatchRequest : ManufacturerCenterBaseServiceRequest<ProductCertification>, IClientServiceRequest<ProductCertification>, IClientServiceRequest
Constructors
PatchRequest(IClientService, ProductCertification, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, ProductCertification body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
ProductCertification | body | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
Required. The unique name identifier of a product certification Format:
accounts/{account}/languages/{language_code}/productCertifications/{id} Where id
is a some
unique identifier and language_code
is a 2-letter ISO 639-1 code of a Shopping supported
language according to https://support.google.com/merchants/answer/160637.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
UpdateMask
Optional. The list of fields to update according to aip.dev/134. However, only full update is supported as of right now. Therefore, it can be either ignored or set to "*". Setting any other values will returns UNIMPLEMENTED error.
Declaration
[RequestParameter("updateMask", RequestParameterType.Query)]
public virtual object UpdateMask { get; set; }
Property Value
Type | Description |
---|---|
object |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()