Show / Hide Table of Contents

Class AccountRelationshipsService.AccountRelationshipsServiceClient

Client for AccountRelationshipsService

Inheritance
object
ClientBase
ClientBase<AccountRelationshipsService.AccountRelationshipsServiceClient>
AccountRelationshipsService.AccountRelationshipsServiceClient
Inherited Members
ClientBase<AccountRelationshipsService.AccountRelationshipsServiceClient>.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 AccountRelationshipsService.AccountRelationshipsServiceClient : ClientBase<AccountRelationshipsService.AccountRelationshipsServiceClient>

Constructors

AccountRelationshipsServiceClient()

Protected parameterless constructor to allow creation of test doubles.

Declaration
protected AccountRelationshipsServiceClient()

AccountRelationshipsServiceClient(CallInvoker)

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

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

The callInvoker to use to make remote calls.

AccountRelationshipsServiceClient(ChannelBase)

Creates a new client for AccountRelationshipsService

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

The channel to use to make remote calls.

AccountRelationshipsServiceClient(ClientBaseConfiguration)

Protected constructor to allow creation of configured clients.

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

The client configuration.

Methods

GetAccountRelationship(GetAccountRelationshipRequest, CallOptions)

Retrieve an account relationship.

Declaration
public virtual AccountRelationship GetAccountRelationship(GetAccountRelationshipRequest request, CallOptions options)
Parameters
Type Name Description
GetAccountRelationshipRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AccountRelationship

The response received from the server.

GetAccountRelationship(GetAccountRelationshipRequest, Metadata, DateTime?, CancellationToken)

Retrieve an account relationship.

Declaration
public virtual AccountRelationship GetAccountRelationship(GetAccountRelationshipRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
GetAccountRelationshipRequest 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
AccountRelationship

The response received from the server.

GetAccountRelationshipAsync(GetAccountRelationshipRequest, CallOptions)

Retrieve an account relationship.

Declaration
public virtual AsyncUnaryCall<AccountRelationship> GetAccountRelationshipAsync(GetAccountRelationshipRequest request, CallOptions options)
Parameters
Type Name Description
GetAccountRelationshipRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<AccountRelationship>

The call object.

GetAccountRelationshipAsync(GetAccountRelationshipRequest, Metadata, DateTime?, CancellationToken)

Retrieve an account relationship.

Declaration
public virtual AsyncUnaryCall<AccountRelationship> GetAccountRelationshipAsync(GetAccountRelationshipRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
GetAccountRelationshipRequest 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<AccountRelationship>

The call object.

ListAccountRelationships(ListAccountRelationshipsRequest, CallOptions)

List account relationships for the specified account.

Declaration
public virtual ListAccountRelationshipsResponse ListAccountRelationships(ListAccountRelationshipsRequest request, CallOptions options)
Parameters
Type Name Description
ListAccountRelationshipsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
ListAccountRelationshipsResponse

The response received from the server.

ListAccountRelationships(ListAccountRelationshipsRequest, Metadata, DateTime?, CancellationToken)

List account relationships for the specified account.

Declaration
public virtual ListAccountRelationshipsResponse ListAccountRelationships(ListAccountRelationshipsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListAccountRelationshipsRequest 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
ListAccountRelationshipsResponse

The response received from the server.

ListAccountRelationshipsAsync(ListAccountRelationshipsRequest, CallOptions)

List account relationships for the specified account.

Declaration
public virtual AsyncUnaryCall<ListAccountRelationshipsResponse> ListAccountRelationshipsAsync(ListAccountRelationshipsRequest request, CallOptions options)
Parameters
Type Name Description
ListAccountRelationshipsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<ListAccountRelationshipsResponse>

The call object.

ListAccountRelationshipsAsync(ListAccountRelationshipsRequest, Metadata, DateTime?, CancellationToken)

List account relationships for the specified account.

Declaration
public virtual AsyncUnaryCall<ListAccountRelationshipsResponse> ListAccountRelationshipsAsync(ListAccountRelationshipsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListAccountRelationshipsRequest 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<ListAccountRelationshipsResponse>

The call object.

NewInstance(ClientBaseConfiguration)

Creates a new instance of client from given ClientBaseConfiguration.

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

UpdateAccountRelationship(UpdateAccountRelationshipRequest, CallOptions)

Updates the account relationship. Executing this method requires admin access.

Declaration
public virtual AccountRelationship UpdateAccountRelationship(UpdateAccountRelationshipRequest request, CallOptions options)
Parameters
Type Name Description
UpdateAccountRelationshipRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AccountRelationship

The response received from the server.

UpdateAccountRelationship(UpdateAccountRelationshipRequest, Metadata, DateTime?, CancellationToken)

Updates the account relationship. Executing this method requires admin access.

Declaration
public virtual AccountRelationship UpdateAccountRelationship(UpdateAccountRelationshipRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
UpdateAccountRelationshipRequest 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
AccountRelationship

The response received from the server.

UpdateAccountRelationshipAsync(UpdateAccountRelationshipRequest, CallOptions)

Updates the account relationship. Executing this method requires admin access.

Declaration
public virtual AsyncUnaryCall<AccountRelationship> UpdateAccountRelationshipAsync(UpdateAccountRelationshipRequest request, CallOptions options)
Parameters
Type Name Description
UpdateAccountRelationshipRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<AccountRelationship>

The call object.

UpdateAccountRelationshipAsync(UpdateAccountRelationshipRequest, Metadata, DateTime?, CancellationToken)

Updates the account relationship. Executing this method requires admin access.

Declaration
public virtual AsyncUnaryCall<AccountRelationship> UpdateAccountRelationshipAsync(UpdateAccountRelationshipRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
UpdateAccountRelationshipRequest 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<AccountRelationship>

The call object.

In this article
Back to top Generated by DocFX