Interface MarketingplatformAdminServiceGrpc.AsyncService (0.3.0)

public static interface MarketingplatformAdminServiceGrpc.AsyncService

Service Interface for the Google Marketing Platform Admin API.

Methods

public default 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 default 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 default void getOrganization(GetOrganizationRequest request, StreamObserver<Organization> responseObserver)

Lookup for a single organization.

Parameters
Name Description
request GetOrganizationRequest
responseObserver io.grpc.stub.StreamObserver<Organization>
public default 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 default 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>