Class ProjectServiceGrpc.ProjectServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<ProjectServiceGrpc.ProjectServiceFutureStub>
com.google.cloud.discoveryengine.v1alpha.ProjectServiceGrpc.ProjectServiceFutureStub
- Enclosing class:
- ProjectServiceGrpc
public static final class ProjectServiceGrpc.ProjectServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<ProjectServiceGrpc.ProjectServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service ProjectService.
Service for operations on the [Project][google.cloud.discoveryengine.v1alpha.Project].
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<Project>getProject(GetProjectRequest request) Gets a [Project][google.cloud.discoveryengine.v1alpha.Project].com.google.common.util.concurrent.ListenableFuture<Operation>provisionProject(ProvisionProjectRequest request) Provisions the project resource.com.google.common.util.concurrent.ListenableFuture<Project>Updates service terms for this project.Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected ProjectServiceGrpc.ProjectServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<ProjectServiceGrpc.ProjectServiceFutureStub>
-
getProject
public com.google.common.util.concurrent.ListenableFuture<Project> getProject(GetProjectRequest request) Gets a [Project][google.cloud.discoveryengine.v1alpha.Project]. Returns NOT_FOUND when the project is not yet created.
-
provisionProject
public com.google.common.util.concurrent.ListenableFuture<Operation> provisionProject(ProvisionProjectRequest request) Provisions the project resource. During the process, related systems will get prepared and initialized. Caller must read the [Terms for data use](https://cloud.google.com/retail/data-use-terms), and optionally specify in request to provide consent to that service terms.
-
reportConsentChange
public com.google.common.util.concurrent.ListenableFuture<Project> reportConsentChange(ReportConsentChangeRequest request) Updates service terms for this project. This method can be used to retroactively accept the latest terms. Terms available for update: * [Terms for data use](https://cloud.google.com/retail/data-use-terms)
-