Class MarketingplatformAdminServiceGrpc.MarketingplatformAdminServiceStub (0.2.0)

public static final class MarketingplatformAdminServiceGrpc.MarketingplatformAdminServiceStub extends AbstractAsyncStub<MarketingplatformAdminServiceGrpc.MarketingplatformAdminServiceStub>

A stub to allow clients to do asynchronous 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.AbstractAsyncStub > MarketingplatformAdminServiceGrpc.MarketingplatformAdminServiceStub

Methods

build(Channel channel, CallOptions callOptions)

protected MarketingplatformAdminServiceGrpc.MarketingplatformAdminServiceStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
MarketingplatformAdminServiceGrpc.MarketingplatformAdminServiceStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
public void createAnalyticsAccountLink(CreateAnalyticsAccountLinkRequest request, StreamObserver<AnalyticsAccountLink> responseObserver)

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.

Parameters
Name Description
request CreateAnalyticsAccountLinkRequest
responseObserver io.grpc.stub.StreamObserver<AnalyticsAccountLink>
public void deleteAnalyticsAccountLink(DeleteAnalyticsAccountLinkRequest request, StreamObserver<Empty> responseObserver)

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.

Parameters
Name Description
request DeleteAnalyticsAccountLinkRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

getOrganization(GetOrganizationRequest request, StreamObserver<Organization> responseObserver)

public void getOrganization(GetOrganizationRequest request, StreamObserver<Organization> responseObserver)

Lookup for a single organization.

Parameters
Name Description
request GetOrganizationRequest
responseObserver io.grpc.stub.StreamObserver<Organization>
public void listAnalyticsAccountLinks(ListAnalyticsAccountLinksRequest request, StreamObserver<ListAnalyticsAccountLinksResponse> responseObserver)

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

Parameters
Name Description
request ListAnalyticsAccountLinksRequest
responseObserver io.grpc.stub.StreamObserver<ListAnalyticsAccountLinksResponse>

setPropertyServiceLevel(SetPropertyServiceLevelRequest request, StreamObserver<SetPropertyServiceLevelResponse> responseObserver)

public void setPropertyServiceLevel(SetPropertyServiceLevelRequest request, StreamObserver<SetPropertyServiceLevelResponse> responseObserver)

Updates the service level for an Analytics property.

Parameters
Name Description
request SetPropertyServiceLevelRequest
responseObserver io.grpc.stub.StreamObserver<SetPropertyServiceLevelResponse>