Class AccountsResource.BusinessIdentityResource.UpdateBusinessIdentityRequest
Updates the business identity of an account. Executing this method requires admin access.
Inheritance
AccountsResource.BusinessIdentityResource.UpdateBusinessIdentityRequest
Inherited Members
Namespace: Google.Apis.Merchant.accounts_v1beta
Assembly: Google.Apis.Merchant.accounts_v1beta.dll
Syntax
public class AccountsResource.BusinessIdentityResource.UpdateBusinessIdentityRequest : MerchantBaseServiceRequest<BusinessIdentity>, IClientServiceRequest<BusinessIdentity>, IClientServiceRequest
Constructors
UpdateBusinessIdentityRequest(IClientService, BusinessIdentity, string)
Constructs a new UpdateBusinessIdentity request.
Declaration
public UpdateBusinessIdentityRequest(IClientService service, BusinessIdentity body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
BusinessIdentity | 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 business identity. Format:
accounts/{account}/businessIdentity
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. List of fields being updated. The following fields are supported (in both snake_case
and
lowerCamelCase
): - black_owned
- latino_owned
- promotions_consent
- small_business
-
veteran_owned
- women_owned
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 UpdateBusinessIdentity parameter list.
Declaration
protected override void InitParameters()