Show / Hide Table of Contents

Class AccountsServiceClientImpl

AccountsService client wrapper implementation, for convenient use.

Inheritance
object
AccountsServiceClient
AccountsServiceClientImpl
Inherited Members
AccountsServiceClient.DefaultEndpoint
AccountsServiceClient.DefaultScopes
AccountsServiceClient.ServiceMetadata
AccountsServiceClient.CreateAsync(CancellationToken)
AccountsServiceClient.Create()
AccountsServiceClient.ShutdownDefaultChannelsAsync()
AccountsServiceClient.ListChildAccounts(string, string, int?, CallSettings)
AccountsServiceClient.ListChildAccountsAsync(string, string, int?, CallSettings)
AccountsServiceClient.ListChildAccounts(AccountName, string, int?, CallSettings)
AccountsServiceClient.ListChildAccountsAsync(AccountName, string, int?, CallSettings)
AccountsServiceClient.GetAccountAsync(GetAccountRequest, CancellationToken)
AccountsServiceClient.GetAccount(string, CallSettings)
AccountsServiceClient.GetAccountAsync(string, CallSettings)
AccountsServiceClient.GetAccountAsync(string, CancellationToken)
AccountsServiceClient.GetAccount(AccountName, CallSettings)
AccountsServiceClient.GetAccountAsync(AccountName, CallSettings)
AccountsServiceClient.GetAccountAsync(AccountName, CancellationToken)
AccountsServiceClient.UpdateLabelsAsync(UpdateAccountLabelsRequest, CancellationToken)
AccountsServiceClient.UpdateLabels(string, CallSettings)
AccountsServiceClient.UpdateLabelsAsync(string, CallSettings)
AccountsServiceClient.UpdateLabelsAsync(string, CancellationToken)
AccountsServiceClient.UpdateLabels(AccountName, CallSettings)
AccountsServiceClient.UpdateLabelsAsync(AccountName, CallSettings)
AccountsServiceClient.UpdateLabelsAsync(AccountName, CancellationToken)
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Shopping.Css.V1
Assembly: Google.Shopping.Css.V1.dll
Syntax
public sealed class AccountsServiceClientImpl : AccountsServiceClient
Remarks

Service for managing CSS/MC account information.

Constructors

AccountsServiceClientImpl(AccountsServiceClient, AccountsServiceSettings, ILogger)

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

Declaration
public AccountsServiceClientImpl(AccountsService.AccountsServiceClient grpcClient, AccountsServiceSettings settings, ILogger logger)
Parameters
Type Name Description
AccountsService.AccountsServiceClient grpcClient

The underlying gRPC client.

AccountsServiceSettings settings

The base AccountsServiceSettings used within this client.

ILogger logger

Optional ILogger to use within this client.

Properties

GrpcClient

The underlying gRPC AccountsService client

Declaration
public override AccountsService.AccountsServiceClient GrpcClient { get; }
Property Value
Type Description
AccountsService.AccountsServiceClient
Overrides
AccountsServiceClient.GrpcClient

Methods

GetAccount(GetAccountRequest, CallSettings)

Retrieves a single CSS/MC account by ID.

Declaration
public override Account GetAccount(GetAccountRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
GetAccountRequest 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
Account

The RPC response.

Overrides
AccountsServiceClient.GetAccount(GetAccountRequest, CallSettings)

GetAccountAsync(GetAccountRequest, CallSettings)

Retrieves a single CSS/MC account by ID.

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

A Task containing the RPC response.

Overrides
AccountsServiceClient.GetAccountAsync(GetAccountRequest, CallSettings)

ListChildAccounts(ListChildAccountsRequest, CallSettings)

Lists all the accounts under the specified CSS account ID, and optionally filters by label ID and account name.

Declaration
public override PagedEnumerable<ListChildAccountsResponse, Account> ListChildAccounts(ListChildAccountsRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
ListChildAccountsRequest 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<ListChildAccountsResponse, Account>

A pageable sequence of Account resources.

Overrides
AccountsServiceClient.ListChildAccounts(ListChildAccountsRequest, CallSettings)

ListChildAccountsAsync(ListChildAccountsRequest, CallSettings)

Lists all the accounts under the specified CSS account ID, and optionally filters by label ID and account name.

Declaration
public override PagedAsyncEnumerable<ListChildAccountsResponse, Account> ListChildAccountsAsync(ListChildAccountsRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
ListChildAccountsRequest 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<ListChildAccountsResponse, Account>

A pageable asynchronous sequence of Account resources.

Overrides
AccountsServiceClient.ListChildAccountsAsync(ListChildAccountsRequest, CallSettings)

UpdateLabels(UpdateAccountLabelsRequest, CallSettings)

Updates labels assigned to CSS/MC accounts by a CSS domain.

Declaration
public override Account UpdateLabels(UpdateAccountLabelsRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
UpdateAccountLabelsRequest 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
Account

The RPC response.

Overrides
AccountsServiceClient.UpdateLabels(UpdateAccountLabelsRequest, CallSettings)

UpdateLabelsAsync(UpdateAccountLabelsRequest, CallSettings)

Updates labels assigned to CSS/MC accounts by a CSS domain.

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

A Task containing the RPC response.

Overrides
AccountsServiceClient.UpdateLabelsAsync(UpdateAccountLabelsRequest, CallSettings)
In this article
Back to top Generated by DocFX