Class MarketingplatformAdminServiceGrpc.MarketingplatformAdminServiceFutureStub (0.1.0)

public static final class MarketingplatformAdminServiceGrpc.MarketingplatformAdminServiceFutureStub extends AbstractFutureStub<MarketingplatformAdminServiceGrpc.MarketingplatformAdminServiceFutureStub>

A stub to allow clients to do ListenableFuture-style 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.AbstractFutureStub > MarketingplatformAdminServiceGrpc.MarketingplatformAdminServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected MarketingplatformAdminServiceGrpc.MarketingplatformAdminServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
MarketingplatformAdminServiceGrpc.MarketingplatformAdminServiceFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
public ListenableFuture<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.

Parameter
Name Description
request CreateAnalyticsAccountLinkRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<AnalyticsAccountLink>
public ListenableFuture<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.

Parameter
Name Description
request DeleteAnalyticsAccountLinkRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Empty>

getOrganization(GetOrganizationRequest request)

public ListenableFuture<Organization> getOrganization(GetOrganizationRequest request)

Lookup for a single organization.

Parameter
Name Description
request GetOrganizationRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Organization>
public ListenableFuture<ListAnalyticsAccountLinksResponse> listAnalyticsAccountLinks(ListAnalyticsAccountLinksRequest request)

Lists the Google Analytics accounts link to the specified Google Marketing Platform organization.

Parameter
Name Description
request ListAnalyticsAccountLinksRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListAnalyticsAccountLinksResponse>

setPropertyServiceLevel(SetPropertyServiceLevelRequest request)

public ListenableFuture<SetPropertyServiceLevelResponse> setPropertyServiceLevel(SetPropertyServiceLevelRequest request)

Updates the service level for an Analytics property.

Parameter
Name Description
request SetPropertyServiceLevelRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<SetPropertyServiceLevelResponse>