public static final class PartnerLinkServiceGrpc.PartnerLinkServiceStub extends AbstractAsyncStub<PartnerLinkServiceGrpc.PartnerLinkServiceStub>A stub to allow clients to do asynchronous rpc calls to service PartnerLinkService.
Service for managing partner links.
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > PartnerLinkServiceGrpc.PartnerLinkServiceStubMethods
build(Channel channel, CallOptions callOptions)
protected PartnerLinkServiceGrpc.PartnerLinkServiceStub build(Channel channel, CallOptions callOptions)| Parameters | |
|---|---|
| Name | Description |
channel |
io.grpc.Channel |
callOptions |
io.grpc.CallOptions |
| Returns | |
|---|---|
| Type | Description |
PartnerLinkServiceGrpc.PartnerLinkServiceStub |
|
createPartnerLink(CreatePartnerLinkRequest request, StreamObserver<PartnerLink> responseObserver)
public void createPartnerLink(CreatePartnerLinkRequest request, StreamObserver<PartnerLink> responseObserver)Creates a partner link for the given account. Authorization Headers: This method supports the following optional headers to define how the API authorizes access for the request:
login-account: (Optional) The resource name of the account where the Google Account of the credentials is a user. If not set, defaults to the account of the request. Format:accountTypes/{loginAccountType}/accounts/{loginAccountId}linked-account: (Optional) The resource name of the account with an established product link to thelogin-account. Format:accountTypes/{linkedAccountType}/accounts/{linkedAccountId}
| Parameters | |
|---|---|
| Name | Description |
request |
CreatePartnerLinkRequest |
responseObserver |
io.grpc.stub.StreamObserver<PartnerLink> |
deletePartnerLink(DeletePartnerLinkRequest request, StreamObserver<Empty> responseObserver)
public void deletePartnerLink(DeletePartnerLinkRequest request, StreamObserver<Empty> responseObserver)Deletes a partner link for the given account. Authorization Headers: This method supports the following optional headers to define how the API authorizes access for the request:
login-account: (Optional) The resource name of the account where the Google Account of the credentials is a user. If not set, defaults to the account of the request. Format:accountTypes/{loginAccountType}/accounts/{loginAccountId}linked-account: (Optional) The resource name of the account with an established product link to thelogin-account. Format:accountTypes/{linkedAccountType}/accounts/{linkedAccountId}
| Parameters | |
|---|---|
| Name | Description |
request |
DeletePartnerLinkRequest |
responseObserver |
io.grpc.stub.StreamObserver<Empty> |
searchPartnerLinks(SearchPartnerLinksRequest request, StreamObserver<SearchPartnerLinksResponse> responseObserver)
public void searchPartnerLinks(SearchPartnerLinksRequest request, StreamObserver<SearchPartnerLinksResponse> responseObserver)Searches for all partner links to and from a given account. Authorization Headers: This method supports the following optional headers to define how the API authorizes access for the request:
login-account: (Optional) The resource name of the account where the Google Account of the credentials is a user. If not set, defaults to the account of the request. Format:accountTypes/{loginAccountType}/accounts/{loginAccountId}linked-account: (Optional) The resource name of the account with an established product link to thelogin-account. Format:accountTypes/{linkedAccountType}/accounts/{linkedAccountId}
| Parameters | |
|---|---|
| Name | Description |
request |
SearchPartnerLinksRequest |
responseObserver |
io.grpc.stub.StreamObserver<SearchPartnerLinksResponse> |