Class BusinessIdentityServiceClientImpl
BusinessIdentityService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Shopping.Merchant.Accounts.V1Beta
Assembly: Google.Shopping.Merchant.Accounts.V1Beta.dll
Syntax
public sealed class BusinessIdentityServiceClientImpl : BusinessIdentityServiceClient
Remarks
Service to support business identity API.
Constructors
BusinessIdentityServiceClientImpl(BusinessIdentityServiceClient, BusinessIdentityServiceSettings, ILogger)
Constructs a client wrapper for the BusinessIdentityService service, with the specified gRPC client and settings.
Declaration
public BusinessIdentityServiceClientImpl(BusinessIdentityService.BusinessIdentityServiceClient grpcClient, BusinessIdentityServiceSettings settings, ILogger logger)
Parameters
Type | Name | Description |
---|---|---|
BusinessIdentityService.BusinessIdentityServiceClient | grpcClient | The underlying gRPC client. |
BusinessIdentityServiceSettings | settings | The base BusinessIdentityServiceSettings used within this client. |
ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC BusinessIdentityService client
Declaration
public override BusinessIdentityService.BusinessIdentityServiceClient GrpcClient { get; }
Property Value
Type | Description |
---|---|
BusinessIdentityService.BusinessIdentityServiceClient |
Overrides
Methods
GetBusinessIdentity(GetBusinessIdentityRequest, CallSettings)
Retrieves the business identity of an account.
Declaration
public override BusinessIdentity GetBusinessIdentity(GetBusinessIdentityRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetBusinessIdentityRequest | 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 |
---|---|
BusinessIdentity | The RPC response. |
Overrides
GetBusinessIdentityAsync(GetBusinessIdentityRequest, CallSettings)
Retrieves the business identity of an account.
Declaration
public override Task<BusinessIdentity> GetBusinessIdentityAsync(GetBusinessIdentityRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetBusinessIdentityRequest | 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<BusinessIdentity> | A Task containing the RPC response. |
Overrides
UpdateBusinessIdentity(UpdateBusinessIdentityRequest, CallSettings)
Updates the business identity of an account. Executing this method requires admin access.
Declaration
public override BusinessIdentity UpdateBusinessIdentity(UpdateBusinessIdentityRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateBusinessIdentityRequest | 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 |
---|---|
BusinessIdentity | The RPC response. |
Overrides
UpdateBusinessIdentityAsync(UpdateBusinessIdentityRequest, CallSettings)
Updates the business identity of an account. Executing this method requires admin access.
Declaration
public override Task<BusinessIdentity> UpdateBusinessIdentityAsync(UpdateBusinessIdentityRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateBusinessIdentityRequest | 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<BusinessIdentity> | A Task containing the RPC response. |