public static final class MarketingplatformAdminServiceGrpc.MarketingplatformAdminServiceBlockingV2Stub extends AbstractBlockingStub<MarketingplatformAdminServiceGrpc.MarketingplatformAdminServiceBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service MarketingplatformAdminService.
Service Interface for the Google Marketing Platform Admin API.
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractBlockingStub >
MarketingplatformAdminServiceGrpc.MarketingplatformAdminServiceBlockingV2Stub
Inherited Members
io.grpc.stub.AbstractBlockingStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractBlockingStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(java.time.Duration)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withOnReadyThreshold(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
protected MarketingplatformAdminServiceGrpc.MarketingplatformAdminServiceBlockingV2Stub build(Channel channel, CallOptions callOptions)
| Parameters |
| Name |
Description |
channel |
io.grpc.Channel
|
callOptions |
io.grpc.CallOptions
|
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
public AdminAccessBinding createAdminAccessBinding(CreateAdminAccessBindingRequest request)
Creates an admin access binding in the specified GMP organization.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
public AnalyticsAccountLink createAnalyticsAccountLink(CreateAnalyticsAccountLinkRequest request)
Creates the link between the Analytics account and the Google Marketing
Platform organization.
User needs to be an org user, and admin on the Analytics account to create
the link. If the account is already linked to an organization, user needs
to unlink the account from the current organization, then try link again.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
public UserGroup createUserGroup(CreateUserGroupRequest request)
Creates a user group in the specified GMP organization.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
public UserGroupMember createUserGroupMember(CreateUserGroupMemberRequest request)
Adds a member to the specified GMP user group.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
public Empty deleteAnalyticsAccountLink(DeleteAnalyticsAccountLinkRequest request)
Deletes the AnalyticsAccountLink, which detaches the Analytics account from
the Google Marketing Platform organization.
User needs to be an org user, and admin on the Analytics account in order
to delete the link.
| Returns |
| Type |
Description |
Empty |
|
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
public Empty deleteUserGroup(DeleteUserGroupRequest request)
Deletes a user group in the specified GMP organization.
| Returns |
| Type |
Description |
Empty |
|
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
public Empty deleteUserGroupMember(DeleteUserGroupMemberRequest request)
Deletes a member in the specified GMP user group.
| Returns |
| Type |
Description |
Empty |
|
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
public FindSalesPartnerManagedClientsResponse findSalesPartnerManagedClients(FindSalesPartnerManagedClientsRequest request)
Returns a list of clients managed by the sales partner organization.
User needs to be an OrgAdmin/BillingAdmin on the sales partner organization
in order to view the end clients.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
public AdminAccessBinding getAdminAccessBinding(GetAdminAccessBindingRequest request)
Looks up a single admin access binding.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
public Organization getOrganization(GetOrganizationRequest request)
Looks up a single organization.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
public UserGroup getUserGroup(GetUserGroupRequest request)
Looks up a single user group.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
public UserGroupMember getUserGroupMember(GetUserGroupMemberRequest request)
Looks up a single user group member.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
public ListAdminAccessBindingsResponse listAdminAccessBindings(ListAdminAccessBindingsRequest request)
Returns a list of admin access bindings in the specified GMP organization.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
public ListAnalyticsAccountLinksResponse listAnalyticsAccountLinks(ListAnalyticsAccountLinksRequest request)
Lists the Google Analytics accounts link to the specified Google Marketing
Platform organization.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
public ListOrganizationsResponse listOrganizations(ListOrganizationsRequest request)
Returns a list of organizations that the user has access to.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
public ListUserGroupMembersResponse listUserGroupMembers(ListUserGroupMembersRequest request)
Returns a list of members in the specified user group.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
public ListUserGroupsResponse listUserGroups(ListUserGroupsRequest request)
Returns a list of user groups in the specified GMP organization.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
public ReportPropertyUsageResponse reportPropertyUsage(ReportPropertyUsageRequest request)
Gets the usage and billing data for properties within the organization for
the specified month.
Per direct client org, user needs to be OrgAdmin/BillingAdmin on the
organization in order to view the billing and usage data.
Per sales partner client org, user needs to be OrgAdmin/BillingAdmin on
the sales partner org in order to view the billing and usage data, or
OrgAdmin/BillingAdmin on the sales partner client org in order to view the
usage data only.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
public SetPropertyServiceLevelResponse setPropertyServiceLevel(SetPropertyServiceLevelRequest request)
Updates the service level for an Analytics property.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
public AdminAccessBinding updateAdminAccessBinding(UpdateAdminAccessBindingRequest request)
Updates an admin access binding in the specified GMP organization.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
public UserGroup updateUserGroup(UpdateUserGroupRequest request)
Updates a user group in the specified GMP organization.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
public UserGroupMember updateUserGroupMember(UpdateUserGroupMemberRequest request)
Updates a member in the specified GMP user group.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|