Show / Hide Table of Contents

Class AccountsService.AccountsServiceClient

Client for AccountsService

Inheritance
object
ClientBase
ClientBase<AccountsService.AccountsServiceClient>
AccountsService.AccountsServiceClient
Inherited Members
ClientBase<AccountsService.AccountsServiceClient>.WithHost(string)
ClientBase.CallInvoker
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ToString()
Namespace: Google.Shopping.Css.V1
Assembly: Google.Shopping.Css.V1.dll
Syntax
public class AccountsService.AccountsServiceClient : ClientBase<AccountsService.AccountsServiceClient>

Constructors

AccountsServiceClient()

Protected parameterless constructor to allow creation of test doubles.

Declaration
protected AccountsServiceClient()

AccountsServiceClient(CallInvoker)

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

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

The callInvoker to use to make remote calls.

AccountsServiceClient(ChannelBase)

Creates a new client for AccountsService

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

The channel to use to make remote calls.

AccountsServiceClient(ClientBaseConfiguration)

Protected constructor to allow creation of configured clients.

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

The client configuration.

Methods

GetAccount(GetAccountRequest, CallOptions)

Retrieves a single CSS/MC account by ID.

Declaration
public virtual Account GetAccount(GetAccountRequest request, CallOptions options)
Parameters
Type Name Description
GetAccountRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
Account

The response received from the server.

GetAccount(GetAccountRequest, Metadata, DateTime?, CancellationToken)

Retrieves a single CSS/MC account by ID.

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

The response received from the server.

GetAccountAsync(GetAccountRequest, CallOptions)

Retrieves a single CSS/MC account by ID.

Declaration
public virtual AsyncUnaryCall<Account> GetAccountAsync(GetAccountRequest request, CallOptions options)
Parameters
Type Name Description
GetAccountRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<Account>

The call object.

GetAccountAsync(GetAccountRequest, Metadata, DateTime?, CancellationToken)

Retrieves a single CSS/MC account by ID.

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

The call object.

ListChildAccounts(ListChildAccountsRequest, CallOptions)

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

Declaration
public virtual ListChildAccountsResponse ListChildAccounts(ListChildAccountsRequest request, CallOptions options)
Parameters
Type Name Description
ListChildAccountsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
ListChildAccountsResponse

The response received from the server.

ListChildAccounts(ListChildAccountsRequest, Metadata, DateTime?, CancellationToken)

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

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

The response received from the server.

ListChildAccountsAsync(ListChildAccountsRequest, CallOptions)

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

Declaration
public virtual AsyncUnaryCall<ListChildAccountsResponse> ListChildAccountsAsync(ListChildAccountsRequest request, CallOptions options)
Parameters
Type Name Description
ListChildAccountsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<ListChildAccountsResponse>

The call object.

ListChildAccountsAsync(ListChildAccountsRequest, Metadata, DateTime?, CancellationToken)

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

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

The call object.

NewInstance(ClientBaseConfiguration)

Creates a new instance of client from given ClientBaseConfiguration.

Declaration
protected override AccountsService.AccountsServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type Name Description
ClientBase.ClientBaseConfiguration configuration
Returns
Type Description
AccountsService.AccountsServiceClient
Overrides
Grpc.Core.ClientBase<Google.Shopping.Css.V1.AccountsService.AccountsServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

UpdateLabels(UpdateAccountLabelsRequest, CallOptions)

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

Declaration
public virtual Account UpdateLabels(UpdateAccountLabelsRequest request, CallOptions options)
Parameters
Type Name Description
UpdateAccountLabelsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
Account

The response received from the server.

UpdateLabels(UpdateAccountLabelsRequest, Metadata, DateTime?, CancellationToken)

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

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

The response received from the server.

UpdateLabelsAsync(UpdateAccountLabelsRequest, CallOptions)

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

Declaration
public virtual AsyncUnaryCall<Account> UpdateLabelsAsync(UpdateAccountLabelsRequest request, CallOptions options)
Parameters
Type Name Description
UpdateAccountLabelsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<Account>

The call object.

UpdateLabelsAsync(UpdateAccountLabelsRequest, Metadata, DateTime?, CancellationToken)

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

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

The call object.

In this article
Back to top Generated by DocFX