Show / Hide Table of Contents

Class RegionsServiceClientImpl

RegionsService client wrapper implementation, for convenient use.

Inheritance
object
RegionsServiceClient
RegionsServiceClientImpl
Inherited Members
RegionsServiceClient.DefaultEndpoint
RegionsServiceClient.DefaultScopes
RegionsServiceClient.ServiceMetadata
RegionsServiceClient.CreateAsync(CancellationToken)
RegionsServiceClient.Create()
RegionsServiceClient.ShutdownDefaultChannelsAsync()
RegionsServiceClient.GetRegionAsync(GetRegionRequest, CancellationToken)
RegionsServiceClient.GetRegion(string, CallSettings)
RegionsServiceClient.GetRegionAsync(string, CallSettings)
RegionsServiceClient.GetRegionAsync(string, CancellationToken)
RegionsServiceClient.GetRegion(RegionName, CallSettings)
RegionsServiceClient.GetRegionAsync(RegionName, CallSettings)
RegionsServiceClient.GetRegionAsync(RegionName, CancellationToken)
RegionsServiceClient.CreateRegionAsync(CreateRegionRequest, CancellationToken)
RegionsServiceClient.CreateRegion(string, Region, string, CallSettings)
RegionsServiceClient.CreateRegionAsync(string, Region, string, CallSettings)
RegionsServiceClient.CreateRegionAsync(string, Region, string, CancellationToken)
RegionsServiceClient.CreateRegion(AccountName, Region, string, CallSettings)
RegionsServiceClient.CreateRegionAsync(AccountName, Region, string, CallSettings)
RegionsServiceClient.CreateRegionAsync(AccountName, Region, string, CancellationToken)
RegionsServiceClient.UpdateRegionAsync(UpdateRegionRequest, CancellationToken)
RegionsServiceClient.UpdateRegion(Region, FieldMask, CallSettings)
RegionsServiceClient.UpdateRegionAsync(Region, FieldMask, CallSettings)
RegionsServiceClient.UpdateRegionAsync(Region, FieldMask, CancellationToken)
RegionsServiceClient.DeleteRegionAsync(DeleteRegionRequest, CancellationToken)
RegionsServiceClient.DeleteRegion(string, CallSettings)
RegionsServiceClient.DeleteRegionAsync(string, CallSettings)
RegionsServiceClient.DeleteRegionAsync(string, CancellationToken)
RegionsServiceClient.DeleteRegion(RegionName, CallSettings)
RegionsServiceClient.DeleteRegionAsync(RegionName, CallSettings)
RegionsServiceClient.DeleteRegionAsync(RegionName, CancellationToken)
RegionsServiceClient.ListRegions(string, string, int?, CallSettings)
RegionsServiceClient.ListRegionsAsync(string, string, int?, CallSettings)
RegionsServiceClient.ListRegions(AccountName, string, int?, CallSettings)
RegionsServiceClient.ListRegionsAsync(AccountName, string, int?, CallSettings)
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Shopping.Merchant.Accounts.V1
Assembly: Google.Shopping.Merchant.Accounts.V1.dll
Syntax
public sealed class RegionsServiceClientImpl : RegionsServiceClient
Remarks

Manages regions configuration.

This API defines the following resource model:

  • [Region][google.shopping.merchant.accounts.v1.Region]

Constructors

RegionsServiceClientImpl(RegionsServiceClient, RegionsServiceSettings, ILogger)

Constructs a client wrapper for the RegionsService service, with the specified gRPC client and settings.

Declaration
public RegionsServiceClientImpl(RegionsService.RegionsServiceClient grpcClient, RegionsServiceSettings settings, ILogger logger)
Parameters
Type Name Description
RegionsService.RegionsServiceClient grpcClient

The underlying gRPC client.

RegionsServiceSettings settings

The base RegionsServiceSettings used within this client.

ILogger logger

Optional ILogger to use within this client.

Properties

GrpcClient

The underlying gRPC RegionsService client

Declaration
public override RegionsService.RegionsServiceClient GrpcClient { get; }
Property Value
Type Description
RegionsService.RegionsServiceClient
Overrides
RegionsServiceClient.GrpcClient

Methods

CreateRegion(CreateRegionRequest, CallSettings)

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

Declaration
public override Region CreateRegion(CreateRegionRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
CreateRegionRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Region

The RPC response.

Overrides
RegionsServiceClient.CreateRegion(CreateRegionRequest, CallSettings)

CreateRegionAsync(CreateRegionRequest, CallSettings)

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

Declaration
public override Task<Region> CreateRegionAsync(CreateRegionRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
CreateRegionRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task<Region>

A Task containing the RPC response.

Overrides
RegionsServiceClient.CreateRegionAsync(CreateRegionRequest, CallSettings)

DeleteRegion(DeleteRegionRequest, CallSettings)

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

Declaration
public override void DeleteRegion(DeleteRegionRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
DeleteRegionRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Overrides
RegionsServiceClient.DeleteRegion(DeleteRegionRequest, CallSettings)

DeleteRegionAsync(DeleteRegionRequest, CallSettings)

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

Declaration
public override Task DeleteRegionAsync(DeleteRegionRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
DeleteRegionRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task

A Task containing the RPC response.

Overrides
RegionsServiceClient.DeleteRegionAsync(DeleteRegionRequest, CallSettings)

GetRegion(GetRegionRequest, CallSettings)

Retrieves a region defined in your Merchant Center account.

Declaration
public override Region GetRegion(GetRegionRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
GetRegionRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Region

The RPC response.

Overrides
RegionsServiceClient.GetRegion(GetRegionRequest, CallSettings)

GetRegionAsync(GetRegionRequest, CallSettings)

Retrieves a region defined in your Merchant Center account.

Declaration
public override Task<Region> GetRegionAsync(GetRegionRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
GetRegionRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task<Region>

A Task containing the RPC response.

Overrides
RegionsServiceClient.GetRegionAsync(GetRegionRequest, CallSettings)

ListRegions(ListRegionsRequest, CallSettings)

Lists the regions in your Merchant Center account.

Declaration
public override PagedEnumerable<ListRegionsResponse, Region> ListRegions(ListRegionsRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
ListRegionsRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerable<ListRegionsResponse, Region>

A pageable sequence of Region resources.

Overrides
RegionsServiceClient.ListRegions(ListRegionsRequest, CallSettings)

ListRegionsAsync(ListRegionsRequest, CallSettings)

Lists the regions in your Merchant Center account.

Declaration
public override PagedAsyncEnumerable<ListRegionsResponse, Region> ListRegionsAsync(ListRegionsRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
ListRegionsRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerable<ListRegionsResponse, Region>

A pageable asynchronous sequence of Region resources.

Overrides
RegionsServiceClient.ListRegionsAsync(ListRegionsRequest, CallSettings)

UpdateRegion(UpdateRegionRequest, CallSettings)

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

Declaration
public override Region UpdateRegion(UpdateRegionRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
UpdateRegionRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Region

The RPC response.

Overrides
RegionsServiceClient.UpdateRegion(UpdateRegionRequest, CallSettings)

UpdateRegionAsync(UpdateRegionRequest, CallSettings)

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

Declaration
public override Task<Region> UpdateRegionAsync(UpdateRegionRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
UpdateRegionRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task<Region>

A Task containing the RPC response.

Overrides
RegionsServiceClient.UpdateRegionAsync(UpdateRegionRequest, CallSettings)
In this article
Back to top Generated by DocFX