Class AccountsServiceGrpc.AccountsServiceStub (0.2.0)

public static final class AccountsServiceGrpc.AccountsServiceStub extends AbstractAsyncStub<AccountsServiceGrpc.AccountsServiceStub>

A stub to allow clients to do asynchronous rpc calls to service AccountsService.

Service for managing CSS/MC account information.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > AccountsServiceGrpc.AccountsServiceStub

Methods

build(Channel channel, CallOptions callOptions)

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

getAccount(GetAccountRequest request, StreamObserver<Account> responseObserver)

public void getAccount(GetAccountRequest request, StreamObserver<Account> responseObserver)

Retrieves a single CSS/MC account by ID.

Parameters
NameDescription
requestGetAccountRequest
responseObserverio.grpc.stub.StreamObserver<Account>

listChildAccounts(ListChildAccountsRequest request, StreamObserver<ListChildAccountsResponse> responseObserver)

public void listChildAccounts(ListChildAccountsRequest request, StreamObserver<ListChildAccountsResponse> responseObserver)

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

Parameters
NameDescription
requestListChildAccountsRequest
responseObserverio.grpc.stub.StreamObserver<ListChildAccountsResponse>

updateLabels(UpdateAccountLabelsRequest request, StreamObserver<Account> responseObserver)

public void updateLabels(UpdateAccountLabelsRequest request, StreamObserver<Account> responseObserver)

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

Parameters
NameDescription
requestUpdateAccountLabelsRequest
responseObserverio.grpc.stub.StreamObserver<Account>