Class AccountsServiceGrpc.AccountsServiceFutureStub (0.11.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
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request GetAccountRequest
Returns
Type Description
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
Name Description
request ListChildAccountsRequest
Returns
Type Description
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
Name Description
request UpdateAccountLabelsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Account>