RegionsService

Manages regions configuration.

This API defines the following resource model:

BatchCreateRegions

rpc BatchCreateRegions(BatchCreateRegionsRequest) returns (BatchCreateRegionsResponse)

Creates one or more regions in your Merchant Center account. Executing this method requires admin access.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/content

For more information, see the OAuth 2.0 Overview.

BatchDeleteRegions

rpc BatchDeleteRegions(BatchDeleteRegionsRequest) returns (Empty)

Deletes multiple regions by name from your Merchant Center account. Executing this method requires admin access.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/content

For more information, see the OAuth 2.0 Overview.

BatchUpdateRegions

rpc BatchUpdateRegions(BatchUpdateRegionsRequest) returns (BatchUpdateRegionsResponse)

Updates one or more regions in your Merchant Center account. Executing this method requires admin access.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/content

For more information, see the OAuth 2.0 Overview.

CreateRegion

rpc CreateRegion(CreateRegionRequest) returns (Region)

Creates a region definition in your Merchant Center account. Executing this method requires admin access.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/content

For more information, see the OAuth 2.0 Overview.

DeleteRegion

rpc DeleteRegion(DeleteRegionRequest) returns (Empty)

Deletes a region definition from your Merchant Center account. Executing this method requires admin access.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/content

For more information, see the OAuth 2.0 Overview.

GetRegion

rpc GetRegion(GetRegionRequest) returns (Region)

Retrieves a region defined in your Merchant Center account.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/content

For more information, see the OAuth 2.0 Overview.

ListRegions

rpc ListRegions(ListRegionsRequest) returns (ListRegionsResponse)

Lists the regions in your Merchant Center account.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/content

For more information, see the OAuth 2.0 Overview.

UpdateRegion

rpc UpdateRegion(UpdateRegionRequest) returns (Region)

Updates a region definition in your Merchant Center account. Executing this method requires admin access.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/content

For more information, see the OAuth 2.0 Overview.