Class AccountsServiceGrpc.AccountsServiceBlockingStub (0.2.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
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
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
NameDescription
requestGetAccountRequest
Returns
TypeDescription
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
NameDescription
requestListChildAccountsRequest
Returns
TypeDescription
ListChildAccountsResponse

updateLabels(UpdateAccountLabelsRequest request)

public Account updateLabels(UpdateAccountLabelsRequest request)

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

Parameter
NameDescription
requestUpdateAccountLabelsRequest
Returns
TypeDescription
Account