Class AccountsResource.CssProductInputsResource.PatchRequest
Updates the existing Css Product input in your CSS Center account. After inserting, updating, or deleting a CSS Product input, it may take several minutes before the processed Css Product can be retrieved.
Inheritance
Inherited Members
Namespace: Google.Apis.Css.v1
Assembly: Google.Apis.Css.v1.dll
Syntax
public class AccountsResource.CssProductInputsResource.PatchRequest : CssBaseServiceRequest<CssProductInput>, IClientServiceRequest<CssProductInput>, IClientServiceRequest
Constructors
PatchRequest(IClientService, CssProductInput, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, CssProductInput body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
CssProductInput | 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
Identifier. The name of the CSS Product input. Format:
accounts/{account}/cssProductInputs/{css_product_input}
, where the last section
css_product_input
consists of 3 parts: contentLanguage~feedLabel~offerId. Example:
accounts/123/cssProductInputs/de~DE~rawProvidedId123
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
The list of CSS product attributes to be updated. If the update mask is omitted, then it is treated
as implied field mask equivalent to all fields that are populated (have a non-empty value).
Attributes specified in the update mask without a value specified in the body will be deleted from
the CSS product. Update mask can only be specified for top level fields in attributes and custom
attributes. To specify the update mask for custom attributes you need to add the custom_attribute.
prefix. Providing special "*" value for full CSS product replacement is not supported.
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()