Class BusinessInfoServiceClientImpl
BusinessInfoService 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 BusinessInfoServiceClientImpl : BusinessInfoServiceClient
Remarks
Service to support business info API.
Constructors
BusinessInfoServiceClientImpl(BusinessInfoServiceClient, BusinessInfoServiceSettings, ILogger)
Constructs a client wrapper for the BusinessInfoService service, with the specified gRPC client and settings.
Declaration
public BusinessInfoServiceClientImpl(BusinessInfoService.BusinessInfoServiceClient grpcClient, BusinessInfoServiceSettings settings, ILogger logger)
Parameters
Type | Name | Description |
---|---|---|
BusinessInfoService.BusinessInfoServiceClient | grpcClient | The underlying gRPC client. |
BusinessInfoServiceSettings | settings | The base BusinessInfoServiceSettings used within this client. |
ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC BusinessInfoService client
Declaration
public override BusinessInfoService.BusinessInfoServiceClient GrpcClient { get; }
Property Value
Type | Description |
---|---|
BusinessInfoService.BusinessInfoServiceClient |
Overrides
Methods
GetBusinessInfo(GetBusinessInfoRequest, CallSettings)
Retrieves the business info of an account.
Declaration
public override BusinessInfo GetBusinessInfo(GetBusinessInfoRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetBusinessInfoRequest | 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 |
---|---|
BusinessInfo | The RPC response. |
Overrides
GetBusinessInfoAsync(GetBusinessInfoRequest, CallSettings)
Retrieves the business info of an account.
Declaration
public override Task<BusinessInfo> GetBusinessInfoAsync(GetBusinessInfoRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetBusinessInfoRequest | 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<BusinessInfo> | A Task containing the RPC response. |
Overrides
UpdateBusinessInfo(UpdateBusinessInfoRequest, CallSettings)
Updates the business info of an account. Executing this method requires admin access.
Declaration
public override BusinessInfo UpdateBusinessInfo(UpdateBusinessInfoRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateBusinessInfoRequest | 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 |
---|---|
BusinessInfo | The RPC response. |
Overrides
UpdateBusinessInfoAsync(UpdateBusinessInfoRequest, CallSettings)
Updates the business info of an account. Executing this method requires admin access.
Declaration
public override Task<BusinessInfo> UpdateBusinessInfoAsync(UpdateBusinessInfoRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateBusinessInfoRequest | 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<BusinessInfo> | A Task containing the RPC response. |