public class ShoppingContent.Regions extends Object
| Modifier and Type | Class and Description | 
|---|---|
class  | 
ShoppingContent.Regions.Create  | 
class  | 
ShoppingContent.Regions.Delete  | 
class  | 
ShoppingContent.Regions.Get  | 
class  | 
ShoppingContent.Regions.List  | 
class  | 
ShoppingContent.Regions.Patch  | 
| Constructor and Description | 
|---|
Regions()  | 
| Modifier and Type | Method and Description | 
|---|---|
ShoppingContent.Regions.Create | 
create(Long merchantId,
      Region content)
Creates a region definition in your Merchant Center account. 
 | 
ShoppingContent.Regions.Delete | 
delete(Long merchantId,
      String regionId)
Deletes a region definition from your Merchant Center account. 
 | 
ShoppingContent.Regions.Get | 
get(Long merchantId,
   String regionId)
Retrieves a region defined in your Merchant Center account. 
 | 
ShoppingContent.Regions.List | 
list(Long merchantId)
Lists the regions in your Merchant Center account. 
 | 
ShoppingContent.Regions.Patch | 
patch(Long merchantId,
     String regionId,
     Region content)
Updates a region definition in your Merchant Center account. 
 | 
public ShoppingContent.Regions.Create create(Long merchantId, Region content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.merchantId - Required. The id of the merchant for which to create region definition.content - the RegionIOExceptionpublic ShoppingContent.Regions.Delete delete(Long merchantId, String regionId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.merchantId - Required. The id of the merchant for which to delete region definition.regionId - Required. The id of the region to delete.IOExceptionpublic ShoppingContent.Regions.Get get(Long merchantId, String regionId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.merchantId - Required. The id of the merchant for which to retrieve region definition.regionId - Required. The id of the region to retrieve.IOExceptionpublic ShoppingContent.Regions.List list(Long merchantId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.merchantId - Required. The id of the merchant for which to list region definitions.IOExceptionpublic ShoppingContent.Regions.Patch patch(Long merchantId, String regionId, Region content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.merchantId - Required. The id of the merchant for which to update region definition.regionId - Required. The id of the region to update.content - the RegionIOExceptionCopyright © 2011–2024 Google. All rights reserved.