Class AccountsResource.HomepageResource.UnclaimRequest
Unclaims a store's homepage. Executing this method requires admin access. This method only removes a
claim made directly on the account. If the account inherits the claim from its advanced account (for
example, from an advanced account that is exempted from claiming), the homepage stays claimed: the
method returns a successful response and claimed remains true. If the account itself is exempted
from claiming, the method returns a FAILED_PRECONDITION error.
Inheritance
AccountsResource.HomepageResource.UnclaimRequest
Inherited Members
Namespace: Google.Apis.Merchant.accounts_v1
Assembly: Google.Apis.Merchant.accounts_v1.dll
Syntax
public class AccountsResource.HomepageResource.UnclaimRequest : MerchantBaseServiceRequest<Homepage>, IClientServiceRequest<Homepage>, IClientServiceRequest
Constructors
UnclaimRequest(IClientService, UnclaimHomepageRequest, string)
Constructs a new Unclaim request.
Declaration
public UnclaimRequest(IClientService service, UnclaimHomepageRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| UnclaimHomepageRequest | 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 name of the homepage to unclaim. Format: accounts/{account}/homepage
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
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes Unclaim parameter list.
Declaration
protected override void InitParameters()