Class MarketingplatformAdminServiceGrpc.MarketingplatformAdminServiceBlockingStub (0.1.0)

public static final class MarketingplatformAdminServiceGrpc.MarketingplatformAdminServiceBlockingStub extends AbstractBlockingStub<MarketingplatformAdminServiceGrpc.MarketingplatformAdminServiceBlockingStub>

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.MarketingplatformAdminServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

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

Parameter
Name Description
request CreateAnalyticsAccountLinkRequest
Returns
Type Description
AnalyticsAccountLink
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.

Parameter
Name Description
request DeleteAnalyticsAccountLinkRequest
Returns
Type Description
Empty

getOrganization(GetOrganizationRequest request)

public Organization getOrganization(GetOrganizationRequest request)

Lookup for a single organization.

Parameter
Name Description
request GetOrganizationRequest
Returns
Type Description
Organization
public 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
ListAnalyticsAccountLinksResponse

setPropertyServiceLevel(SetPropertyServiceLevelRequest request)

public SetPropertyServiceLevelResponse setPropertyServiceLevel(SetPropertyServiceLevelRequest request)

Updates the service level for an Analytics property.

Parameter
Name Description
request SetPropertyServiceLevelRequest
Returns
Type Description
SetPropertyServiceLevelResponse