Class AccountsServiceGrpc.AccountsServiceFutureStub (0.1.0)

public static final class AccountsServiceGrpc.AccountsServiceFutureStub extends AbstractFutureStub<AccountsServiceGrpc.AccountsServiceFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service AccountsService.

Service for managing CSS/MC account information.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > AccountsServiceGrpc.AccountsServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected AccountsServiceGrpc.AccountsServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
AccountsServiceGrpc.AccountsServiceFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

getAccount(GetAccountRequest request)

public ListenableFuture<Account> getAccount(GetAccountRequest request)

Retrieves a single CSS/MC account by ID.

Parameter
NameDescription
requestGetAccountRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Account>

listChildAccounts(ListChildAccountsRequest request)

public ListenableFuture<ListChildAccountsResponse> listChildAccounts(ListChildAccountsRequest request)

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

Parameter
NameDescription
requestListChildAccountsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListChildAccountsResponse>

updateLabels(UpdateAccountLabelsRequest request)

public ListenableFuture<Account> updateLabels(UpdateAccountLabelsRequest request)

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

Parameter
NameDescription
requestUpdateAccountLabelsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Account>