Class ContentServiceGrpc.ContentServiceFutureStub

  • Enclosing class:
    ContentServiceGrpc

    public static final class ContentServiceGrpc.ContentServiceFutureStub
    extends io.grpc.stub.AbstractFutureStub<ContentServiceGrpc.ContentServiceFutureStub>
    A stub to allow clients to do ListenableFuture-style rpc calls to service ContentService.
     ContentService manages Notebook and SQL Scripts for Dataplex.
     
    • 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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected ContentServiceGrpc.ContentServiceFutureStub build​(io.grpc.Channel channel, io.grpc.CallOptions callOptions)  
      com.google.common.util.concurrent.ListenableFuture<Content> createContent​(CreateContentRequest request)
      Create a content.
      com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteContent​(DeleteContentRequest request)
      Delete a content.
      com.google.common.util.concurrent.ListenableFuture<Content> getContent​(GetContentRequest request)
      Get a content resource.
      com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.Policy> getIamPolicy​(com.google.iam.v1.GetIamPolicyRequest request)
      Gets the access control policy for a contentitem resource.
      com.google.common.util.concurrent.ListenableFuture<ListContentResponse> listContent​(ListContentRequest request)
      List content.
      com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.Policy> setIamPolicy​(com.google.iam.v1.SetIamPolicyRequest request)
      Sets the access control policy on the specified contentitem resource.
      com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.TestIamPermissionsResponse> testIamPermissions​(com.google.iam.v1.TestIamPermissionsRequest request)
      Returns the caller's permissions on a resource.
      com.google.common.util.concurrent.ListenableFuture<Content> updateContent​(UpdateContentRequest request)
      Update a content.
      • Methods inherited from class io.grpc.stub.AbstractFutureStub

        newStub, newStub
      • Methods inherited from class io.grpc.stub.AbstractStub

        getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
    • Method Detail

      • createContent

        public com.google.common.util.concurrent.ListenableFuture<Content> createContent​(CreateContentRequest request)
         Create a content.
         
      • updateContent

        public com.google.common.util.concurrent.ListenableFuture<Content> updateContent​(UpdateContentRequest request)
         Update a content. Only supports full resource update.
         
      • deleteContent

        public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteContent​(DeleteContentRequest request)
         Delete a content.
         
      • getContent

        public com.google.common.util.concurrent.ListenableFuture<Content> getContent​(GetContentRequest request)
         Get a content resource.
         
      • getIamPolicy

        public com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.Policy> getIamPolicy​(com.google.iam.v1.GetIamPolicyRequest request)
         Gets the access control policy for a contentitem resource. A `NOT_FOUND`
         error is returned if the resource does not exist. An empty policy is
         returned if the resource exists but does not have a policy set on it.
         Caller must have Google IAM `dataplex.content.getIamPolicy` permission
         on the resource.
         
      • setIamPolicy

        public com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.Policy> setIamPolicy​(com.google.iam.v1.SetIamPolicyRequest request)
         Sets the access control policy on the specified contentitem resource.
         Replaces any existing policy.
         Caller must have Google IAM `dataplex.content.setIamPolicy` permission
         on the resource.
         
      • testIamPermissions

        public com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.TestIamPermissionsResponse> testIamPermissions​(com.google.iam.v1.TestIamPermissionsRequest request)
         Returns the caller's permissions on a resource.
         If the resource does not exist, an empty set of
         permissions is returned (a `NOT_FOUND` error is not returned).
         A caller is not required to have Google IAM permission to make this
         request.
         Note: This operation is designed to be used for building permission-aware
         UIs and command-line tools, not for authorization checking. This operation
         may "fail open" without warning.