Class AccountsServiceGrpc.AccountsServiceBlockingStub (0.11.0)

public static final class AccountsServiceGrpc.AccountsServiceBlockingStub extends AbstractBlockingStub<AccountsServiceGrpc.AccountsServiceBlockingStub>

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

Service for managing CSS/MC account information.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > AccountsServiceGrpc.AccountsServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

protected AccountsServiceGrpc.AccountsServiceBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
AccountsServiceGrpc.AccountsServiceBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

getAccount(GetAccountRequest request)

public Account getAccount(GetAccountRequest request)

Retrieves a single CSS/MC account by ID.

Parameter
Name Description
request GetAccountRequest
Returns
Type Description
Account

listChildAccounts(ListChildAccountsRequest request)

public 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
ListChildAccountsResponse

updateLabels(UpdateAccountLabelsRequest request)

public Account updateLabels(UpdateAccountLabelsRequest request)

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

Parameter
Name Description
request UpdateAccountLabelsRequest
Returns
Type Description
Account