Class AccountsResource.VerifyphonenumberRequest
Validates verification code to verify phone number for the account. If successful this will overwrite the
value of accounts.businessinformation.phoneNumber
. Only verified phone number will replace an existing
verified phone number.
Inheritance
AccountsResource.VerifyphonenumberRequest
Inherited Members
Namespace: Google.Apis.ShoppingContent.v2_1
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class AccountsResource.VerifyphonenumberRequest : ShoppingContentBaseServiceRequest<VerifyPhoneNumberResponse>, IClientServiceRequest<VerifyPhoneNumberResponse>, IClientServiceRequest
Constructors
VerifyphonenumberRequest(IClientService, VerifyPhoneNumberRequest, long, long)
Constructs a new Verifyphonenumber request.
Declaration
public VerifyphonenumberRequest(IClientService service, VerifyPhoneNumberRequest body, long merchantId, long accountId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
VerifyPhoneNumberRequest | body | |
long | merchantId | |
long | accountId |
Properties
AccountId
Required. The ID of the account.
Declaration
[RequestParameter("accountId", RequestParameterType.Path)]
public virtual long AccountId { get; }
Property Value
Type | Description |
---|---|
long |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MerchantId
Required. The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.
Declaration
[RequestParameter("merchantId", RequestParameterType.Path)]
public virtual long MerchantId { get; }
Property Value
Type | Description |
---|---|
long |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Verifyphonenumber parameter list.
Declaration
protected override void InitParameters()