Show / Hide Table of Contents

Class BusinessInfoServiceClientImpl

BusinessInfoService client wrapper implementation, for convenient use.

Inheritance
object
BusinessInfoServiceClient
BusinessInfoServiceClientImpl
Inherited Members
BusinessInfoServiceClient.DefaultEndpoint
BusinessInfoServiceClient.DefaultScopes
BusinessInfoServiceClient.ServiceMetadata
BusinessInfoServiceClient.CreateAsync(CancellationToken)
BusinessInfoServiceClient.Create()
BusinessInfoServiceClient.ShutdownDefaultChannelsAsync()
BusinessInfoServiceClient.GetBusinessInfoAsync(GetBusinessInfoRequest, CancellationToken)
BusinessInfoServiceClient.GetBusinessInfo(string, CallSettings)
BusinessInfoServiceClient.GetBusinessInfoAsync(string, CallSettings)
BusinessInfoServiceClient.GetBusinessInfoAsync(string, CancellationToken)
BusinessInfoServiceClient.GetBusinessInfo(BusinessInfoName, CallSettings)
BusinessInfoServiceClient.GetBusinessInfoAsync(BusinessInfoName, CallSettings)
BusinessInfoServiceClient.GetBusinessInfoAsync(BusinessInfoName, CancellationToken)
BusinessInfoServiceClient.UpdateBusinessInfoAsync(UpdateBusinessInfoRequest, CancellationToken)
BusinessInfoServiceClient.UpdateBusinessInfo(BusinessInfo, FieldMask, CallSettings)
BusinessInfoServiceClient.UpdateBusinessInfoAsync(BusinessInfo, FieldMask, CallSettings)
BusinessInfoServiceClient.UpdateBusinessInfoAsync(BusinessInfo, FieldMask, CancellationToken)
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Shopping.Merchant.Accounts.V1
Assembly: Google.Shopping.Merchant.Accounts.V1.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
BusinessInfoServiceClient.GrpcClient

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
BusinessInfoServiceClient.GetBusinessInfo(GetBusinessInfoRequest, CallSettings)

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
BusinessInfoServiceClient.GetBusinessInfoAsync(GetBusinessInfoRequest, CallSettings)

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
BusinessInfoServiceClient.UpdateBusinessInfo(UpdateBusinessInfoRequest, CallSettings)

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.

Overrides
BusinessInfoServiceClient.UpdateBusinessInfoAsync(UpdateBusinessInfoRequest, CallSettings)
In this article
Back to top Generated by DocFX