public static final class PartnerLinkServiceGrpc.PartnerLinkServiceFutureStub extends AbstractFutureStub<PartnerLinkServiceGrpc.PartnerLinkServiceFutureStub>A stub to allow clients to do ListenableFuture-style rpc calls to service PartnerLinkService.
Service for managing partner links.
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > PartnerLinkServiceGrpc.PartnerLinkServiceFutureStubMethods
build(Channel channel, CallOptions callOptions)
protected PartnerLinkServiceGrpc.PartnerLinkServiceFutureStub build(Channel channel, CallOptions callOptions)| Parameters | |
|---|---|
| Name | Description |
channel |
io.grpc.Channel |
callOptions |
io.grpc.CallOptions |
| Returns | |
|---|---|
| Type | Description |
PartnerLinkServiceGrpc.PartnerLinkServiceFutureStub |
|
createPartnerLink(CreatePartnerLinkRequest request)
public ListenableFuture<PartnerLink> createPartnerLink(CreatePartnerLinkRequest request)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}
| Parameter | |
|---|---|
| Name | Description |
request |
CreatePartnerLinkRequest |
| Returns | |
|---|---|
| Type | Description |
com.google.common.util.concurrent.ListenableFuture<PartnerLink> |
|
deletePartnerLink(DeletePartnerLinkRequest request)
public ListenableFuture<Empty> deletePartnerLink(DeletePartnerLinkRequest request)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}
| Parameter | |
|---|---|
| Name | Description |
request |
DeletePartnerLinkRequest |
| Returns | |
|---|---|
| Type | Description |
com.google.common.util.concurrent.ListenableFuture<Empty> |
|
searchPartnerLinks(SearchPartnerLinksRequest request)
public ListenableFuture<SearchPartnerLinksResponse> searchPartnerLinks(SearchPartnerLinksRequest request)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}
| Parameter | |
|---|---|
| Name | Description |
request |
SearchPartnerLinksRequest |
| Returns | |
|---|---|
| Type | Description |
com.google.common.util.concurrent.ListenableFuture<SearchPartnerLinksResponse> |
|