Class AccountsResource.RegionsResource
The "regions" collection of methods.
Inherited Members
Namespace: Google.Apis.Merchant.accounts_v1beta
Assembly: Google.Apis.Merchant.accounts_v1beta.dll
Syntax
public class AccountsResource.RegionsResource
Constructors
RegionsResource(IClientService)
Constructs a new resource.
Declaration
public RegionsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(Region, string)
Creates a region definition in your Merchant Center account. Executing this method requires admin access.
Declaration
public virtual AccountsResource.RegionsResource.CreateRequest Create(Region body, string parent)
Parameters
Type | Name | Description |
---|---|---|
Region | body | The body of the request. |
string | parent | Required. The account to create a region for. Format: |
Returns
Type | Description |
---|---|
AccountsResource.RegionsResource.CreateRequest |
Delete(string)
Deletes a region definition from your Merchant Center account. Executing this method requires admin access.
Declaration
public virtual AccountsResource.RegionsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the region to delete. Format: |
Returns
Type | Description |
---|---|
AccountsResource.RegionsResource.DeleteRequest |
Get(string)
Retrieves a region defined in your Merchant Center account.
Declaration
public virtual AccountsResource.RegionsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the region to retrieve. Format: |
Returns
Type | Description |
---|---|
AccountsResource.RegionsResource.GetRequest |
List(string)
Lists the regions in your Merchant Center account.
Declaration
public virtual AccountsResource.RegionsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The account to list regions for. Format: |
Returns
Type | Description |
---|---|
AccountsResource.RegionsResource.ListRequest |
Patch(Region, string)
Updates a region definition in your Merchant Center account. Executing this method requires admin access.
Declaration
public virtual AccountsResource.RegionsResource.PatchRequest Patch(Region body, string name)
Parameters
Type | Name | Description |
---|---|---|
Region | body | The body of the request. |
string | name | Identifier. The resource name of the region. Format: |
Returns
Type | Description |
---|---|
AccountsResource.RegionsResource.PatchRequest |