Show / Hide Table of Contents

Class BusinessIdentityService.BusinessIdentityServiceClient

Client for BusinessIdentityService

Inheritance
object
ClientBase
ClientBase<BusinessIdentityService.BusinessIdentityServiceClient>
BusinessIdentityService.BusinessIdentityServiceClient
Inherited Members
ClientBase<BusinessIdentityService.BusinessIdentityServiceClient>.WithHost(string)
ClientBase.CallInvoker
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ToString()
Namespace: Google.Shopping.Merchant.Accounts.V1
Assembly: Google.Shopping.Merchant.Accounts.V1.dll
Syntax
public class BusinessIdentityService.BusinessIdentityServiceClient : ClientBase<BusinessIdentityService.BusinessIdentityServiceClient>

Constructors

BusinessIdentityServiceClient()

Protected parameterless constructor to allow creation of test doubles.

Declaration
protected BusinessIdentityServiceClient()

BusinessIdentityServiceClient(CallInvoker)

Creates a new client for BusinessIdentityService that uses a custom CallInvoker.

Declaration
public BusinessIdentityServiceClient(CallInvoker callInvoker)
Parameters
Type Name Description
CallInvoker callInvoker

The callInvoker to use to make remote calls.

BusinessIdentityServiceClient(ChannelBase)

Creates a new client for BusinessIdentityService

Declaration
public BusinessIdentityServiceClient(ChannelBase channel)
Parameters
Type Name Description
ChannelBase channel

The channel to use to make remote calls.

BusinessIdentityServiceClient(ClientBaseConfiguration)

Protected constructor to allow creation of configured clients.

Declaration
protected BusinessIdentityServiceClient(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type Name Description
ClientBase.ClientBaseConfiguration configuration

The client configuration.

Methods

GetBusinessIdentity(GetBusinessIdentityRequest, CallOptions)

Retrieves the business identity of an account.

Declaration
public virtual BusinessIdentity GetBusinessIdentity(GetBusinessIdentityRequest request, CallOptions options)
Parameters
Type Name Description
GetBusinessIdentityRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
BusinessIdentity

The response received from the server.

GetBusinessIdentity(GetBusinessIdentityRequest, Metadata, DateTime?, CancellationToken)

Retrieves the business identity of an account.

Declaration
public virtual BusinessIdentity GetBusinessIdentity(GetBusinessIdentityRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
GetBusinessIdentityRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
BusinessIdentity

The response received from the server.

GetBusinessIdentityAsync(GetBusinessIdentityRequest, CallOptions)

Retrieves the business identity of an account.

Declaration
public virtual AsyncUnaryCall<BusinessIdentity> GetBusinessIdentityAsync(GetBusinessIdentityRequest request, CallOptions options)
Parameters
Type Name Description
GetBusinessIdentityRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<BusinessIdentity>

The call object.

GetBusinessIdentityAsync(GetBusinessIdentityRequest, Metadata, DateTime?, CancellationToken)

Retrieves the business identity of an account.

Declaration
public virtual AsyncUnaryCall<BusinessIdentity> GetBusinessIdentityAsync(GetBusinessIdentityRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
GetBusinessIdentityRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<BusinessIdentity>

The call object.

NewInstance(ClientBaseConfiguration)

Creates a new instance of client from given ClientBaseConfiguration.

Declaration
protected override BusinessIdentityService.BusinessIdentityServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type Name Description
ClientBase.ClientBaseConfiguration configuration
Returns
Type Description
BusinessIdentityService.BusinessIdentityServiceClient
Overrides
Grpc.Core.ClientBase<Google.Shopping.Merchant.Accounts.V1.BusinessIdentityService.BusinessIdentityServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

UpdateBusinessIdentity(UpdateBusinessIdentityRequest, CallOptions)

Updates the business identity of an account. Executing this method requires admin access.

Declaration
public virtual BusinessIdentity UpdateBusinessIdentity(UpdateBusinessIdentityRequest request, CallOptions options)
Parameters
Type Name Description
UpdateBusinessIdentityRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
BusinessIdentity

The response received from the server.

UpdateBusinessIdentity(UpdateBusinessIdentityRequest, Metadata, DateTime?, CancellationToken)

Updates the business identity of an account. Executing this method requires admin access.

Declaration
public virtual BusinessIdentity UpdateBusinessIdentity(UpdateBusinessIdentityRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
UpdateBusinessIdentityRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
BusinessIdentity

The response received from the server.

UpdateBusinessIdentityAsync(UpdateBusinessIdentityRequest, CallOptions)

Updates the business identity of an account. Executing this method requires admin access.

Declaration
public virtual AsyncUnaryCall<BusinessIdentity> UpdateBusinessIdentityAsync(UpdateBusinessIdentityRequest request, CallOptions options)
Parameters
Type Name Description
UpdateBusinessIdentityRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<BusinessIdentity>

The call object.

UpdateBusinessIdentityAsync(UpdateBusinessIdentityRequest, Metadata, DateTime?, CancellationToken)

Updates the business identity of an account. Executing this method requires admin access.

Declaration
public virtual AsyncUnaryCall<BusinessIdentity> UpdateBusinessIdentityAsync(UpdateBusinessIdentityRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
UpdateBusinessIdentityRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<BusinessIdentity>

The call object.

In this article
Back to top Generated by DocFX