Class ProjectServiceGrpc.ProjectServiceBlockingStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<ProjectServiceGrpc.ProjectServiceBlockingStub>
com.google.cloud.discoveryengine.v1alpha.ProjectServiceGrpc.ProjectServiceBlockingStub
Enclosing class:
ProjectServiceGrpc

public static final class ProjectServiceGrpc.ProjectServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub<ProjectServiceGrpc.ProjectServiceBlockingStub>
A stub to allow clients to do limited synchronous rpc calls to service ProjectService.
 Service for operations on the
 [Project][google.cloud.discoveryengine.v1alpha.Project].
 
  • Method Details

    • build

      protected ProjectServiceGrpc.ProjectServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<ProjectServiceGrpc.ProjectServiceBlockingStub>
    • getProject

      public Project getProject(GetProjectRequest request)
       Gets a [Project][google.cloud.discoveryengine.v1alpha.Project].
       Returns NOT_FOUND when the project is not yet created.
       
    • provisionProject

      public 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 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)