Class AccountsServiceGrpc.AccountsServiceStub (0.15.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
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request GetAccountRequest
responseObserver io.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
Name Description
request ListChildAccountsRequest
responseObserver io.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
Name Description
request UpdateAccountLabelsRequest
responseObserver io.grpc.stub.StreamObserver<Account>