Class AccountsResource.AutomaticImprovementsResource.UpdateAutomaticImprovementsRequest
Updates the automatic improvements of an account.
Inheritance
AccountsResource.AutomaticImprovementsResource.UpdateAutomaticImprovementsRequest
Inherited Members
Namespace: Google.Apis.Merchant.accounts_v1beta
Assembly: Google.Apis.Merchant.accounts_v1beta.dll
Syntax
public class AccountsResource.AutomaticImprovementsResource.UpdateAutomaticImprovementsRequest : MerchantBaseServiceRequest<AutomaticImprovements>, IClientServiceRequest<AutomaticImprovements>, IClientServiceRequest
Constructors
UpdateAutomaticImprovementsRequest(IClientService, AutomaticImprovements, string)
Constructs a new UpdateAutomaticImprovements request.
Declaration
public UpdateAutomaticImprovementsRequest(IClientService service, AutomaticImprovements body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
AutomaticImprovements | 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 resource name of the automatic improvements. Format:
accounts/{account}/automaticImprovements
.
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
Required. List of fields being updated. The following fields are supported (in both snake_case
and
lowerCamelCase
): - item_updates
- item_updates.account_level_settings
- image_improvements
-
image_improvements.account_level_settings
- shipping_improvements
-
shipping_improvements.allow_shipping_improvements
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 UpdateAutomaticImprovements parameter list.
Declaration
protected override void InitParameters()