Show / Hide Table of Contents

Class AccountRelationshipsServiceClientImpl

AccountRelationshipsService client wrapper implementation, for convenient use.

Inheritance
object
AccountRelationshipsServiceClient
AccountRelationshipsServiceClientImpl
Inherited Members
AccountRelationshipsServiceClient.DefaultEndpoint
AccountRelationshipsServiceClient.DefaultScopes
AccountRelationshipsServiceClient.ServiceMetadata
AccountRelationshipsServiceClient.CreateAsync(CancellationToken)
AccountRelationshipsServiceClient.Create()
AccountRelationshipsServiceClient.ShutdownDefaultChannelsAsync()
AccountRelationshipsServiceClient.GetAccountRelationshipAsync(GetAccountRelationshipRequest, CancellationToken)
AccountRelationshipsServiceClient.GetAccountRelationship(string, CallSettings)
AccountRelationshipsServiceClient.GetAccountRelationshipAsync(string, CallSettings)
AccountRelationshipsServiceClient.GetAccountRelationshipAsync(string, CancellationToken)
AccountRelationshipsServiceClient.GetAccountRelationship(AccountRelationshipName, CallSettings)
AccountRelationshipsServiceClient.GetAccountRelationshipAsync(AccountRelationshipName, CallSettings)
AccountRelationshipsServiceClient.GetAccountRelationshipAsync(AccountRelationshipName, CancellationToken)
AccountRelationshipsServiceClient.UpdateAccountRelationshipAsync(UpdateAccountRelationshipRequest, CancellationToken)
AccountRelationshipsServiceClient.UpdateAccountRelationship(AccountRelationship, FieldMask, CallSettings)
AccountRelationshipsServiceClient.UpdateAccountRelationshipAsync(AccountRelationship, FieldMask, CallSettings)
AccountRelationshipsServiceClient.UpdateAccountRelationshipAsync(AccountRelationship, FieldMask, CancellationToken)
AccountRelationshipsServiceClient.ListAccountRelationships(string, string, int?, CallSettings)
AccountRelationshipsServiceClient.ListAccountRelationshipsAsync(string, string, int?, CallSettings)
AccountRelationshipsServiceClient.ListAccountRelationships(AccountName, string, int?, CallSettings)
AccountRelationshipsServiceClient.ListAccountRelationshipsAsync(AccountName, string, int?, CallSettings)
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Shopping.Merchant.Accounts.V1
Assembly: Google.Shopping.Merchant.Accounts.V1.dll
Syntax
public sealed class AccountRelationshipsServiceClientImpl : AccountRelationshipsServiceClient
Remarks

Service to support AccountRelationship API.

Constructors

AccountRelationshipsServiceClientImpl(AccountRelationshipsServiceClient, AccountRelationshipsServiceSettings, ILogger)

Constructs a client wrapper for the AccountRelationshipsService service, with the specified gRPC client and settings.

Declaration
public AccountRelationshipsServiceClientImpl(AccountRelationshipsService.AccountRelationshipsServiceClient grpcClient, AccountRelationshipsServiceSettings settings, ILogger logger)
Parameters
Type Name Description
AccountRelationshipsService.AccountRelationshipsServiceClient grpcClient

The underlying gRPC client.

AccountRelationshipsServiceSettings settings

The base AccountRelationshipsServiceSettings used within this client.

ILogger logger

Optional ILogger to use within this client.

Properties

GrpcClient

The underlying gRPC AccountRelationshipsService client

Declaration
public override AccountRelationshipsService.AccountRelationshipsServiceClient GrpcClient { get; }
Property Value
Type Description
AccountRelationshipsService.AccountRelationshipsServiceClient
Overrides
AccountRelationshipsServiceClient.GrpcClient

Methods

GetAccountRelationship(GetAccountRelationshipRequest, CallSettings)

Retrieve an account relationship.

Declaration
public override AccountRelationship GetAccountRelationship(GetAccountRelationshipRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
GetAccountRelationshipRequest 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
AccountRelationship

The RPC response.

Overrides
AccountRelationshipsServiceClient.GetAccountRelationship(GetAccountRelationshipRequest, CallSettings)

GetAccountRelationshipAsync(GetAccountRelationshipRequest, CallSettings)

Retrieve an account relationship.

Declaration
public override Task<AccountRelationship> GetAccountRelationshipAsync(GetAccountRelationshipRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
GetAccountRelationshipRequest 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<AccountRelationship>

A Task containing the RPC response.

Overrides
AccountRelationshipsServiceClient.GetAccountRelationshipAsync(GetAccountRelationshipRequest, CallSettings)

ListAccountRelationships(ListAccountRelationshipsRequest, CallSettings)

List account relationships for the specified account.

Declaration
public override PagedEnumerable<ListAccountRelationshipsResponse, AccountRelationship> ListAccountRelationships(ListAccountRelationshipsRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
ListAccountRelationshipsRequest 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
PagedEnumerable<ListAccountRelationshipsResponse, AccountRelationship>

A pageable sequence of AccountRelationship resources.

Overrides
AccountRelationshipsServiceClient.ListAccountRelationships(ListAccountRelationshipsRequest, CallSettings)

ListAccountRelationshipsAsync(ListAccountRelationshipsRequest, CallSettings)

List account relationships for the specified account.

Declaration
public override PagedAsyncEnumerable<ListAccountRelationshipsResponse, AccountRelationship> ListAccountRelationshipsAsync(ListAccountRelationshipsRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
ListAccountRelationshipsRequest 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
PagedAsyncEnumerable<ListAccountRelationshipsResponse, AccountRelationship>

A pageable asynchronous sequence of AccountRelationship resources.

Overrides
AccountRelationshipsServiceClient.ListAccountRelationshipsAsync(ListAccountRelationshipsRequest, CallSettings)

UpdateAccountRelationship(UpdateAccountRelationshipRequest, CallSettings)

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

Declaration
public override AccountRelationship UpdateAccountRelationship(UpdateAccountRelationshipRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
UpdateAccountRelationshipRequest 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
AccountRelationship

The RPC response.

Overrides
AccountRelationshipsServiceClient.UpdateAccountRelationship(UpdateAccountRelationshipRequest, CallSettings)

UpdateAccountRelationshipAsync(UpdateAccountRelationshipRequest, CallSettings)

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

Declaration
public override Task<AccountRelationship> UpdateAccountRelationshipAsync(UpdateAccountRelationshipRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
UpdateAccountRelationshipRequest 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<AccountRelationship>

A Task containing the RPC response.

Overrides
AccountRelationshipsServiceClient.UpdateAccountRelationshipAsync(UpdateAccountRelationshipRequest, CallSettings)
In this article
Back to top Generated by DocFX