Show / Hide Table of Contents

Class RegionsResource

The "regions" collection of methods.

Inheritance
System.Object
RegionsResource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.ShoppingContent.v2_1
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class RegionsResource

Constructors

RegionsResource(IClientService)

Constructs a new resource.

Declaration
public RegionsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Create(Region, Int64)

Creates a region definition in your Merchant Center account.

Declaration
public virtual RegionsResource.CreateRequest Create(Region body, long merchantId)
Parameters
Type Name Description
Region body

The body of the request.

System.Int64 merchantId

Required. The id of the merchant for which to create region definition.

Returns
Type Description
RegionsResource.CreateRequest

Delete(Int64, String)

Deletes a region definition from your Merchant Center account.

Declaration
public virtual RegionsResource.DeleteRequest Delete(long merchantId, string regionId)
Parameters
Type Name Description
System.Int64 merchantId

Required. The id of the merchant for which to delete region definition.

System.String regionId

Required. The id of the region to delete.

Returns
Type Description
RegionsResource.DeleteRequest

Get(Int64, String)

Retrieves a region defined in your Merchant Center account.

Declaration
public virtual RegionsResource.GetRequest Get(long merchantId, string regionId)
Parameters
Type Name Description
System.Int64 merchantId

Required. The id of the merchant for which to retrieve region definition.

System.String regionId

Required. The id of the region to retrieve.

Returns
Type Description
RegionsResource.GetRequest

List(Int64)

Lists the regions in your Merchant Center account.

Declaration
public virtual RegionsResource.ListRequest List(long merchantId)
Parameters
Type Name Description
System.Int64 merchantId

Required. The id of the merchant for which to list region definitions.

Returns
Type Description
RegionsResource.ListRequest

Patch(Region, Int64, String)

Updates a region definition in your Merchant Center account.

Declaration
public virtual RegionsResource.PatchRequest Patch(Region body, long merchantId, string regionId)
Parameters
Type Name Description
Region body

The body of the request.

System.Int64 merchantId

Required. The id of the merchant for which to update region definition.

System.String regionId

Required. The id of the region to update.

Returns
Type Description
RegionsResource.PatchRequest
In This Article
Back to top