Class ContentServiceGrpc.ContentServiceStub

  • Enclosing class:
    ContentServiceGrpc

    public static final class ContentServiceGrpc.ContentServiceStub
    extends io.grpc.stub.AbstractAsyncStub<ContentServiceGrpc.ContentServiceStub>
    A stub to allow clients to do asynchronous 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.ContentServiceStub build​(io.grpc.Channel channel, io.grpc.CallOptions callOptions)  
      void createContent​(CreateContentRequest request, io.grpc.stub.StreamObserver<Content> responseObserver)
      Create a content.
      void deleteContent​(DeleteContentRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
      Delete a content.
      void getContent​(GetContentRequest request, io.grpc.stub.StreamObserver<Content> responseObserver)
      Get a content resource.
      void getIamPolicy​(com.google.iam.v1.GetIamPolicyRequest request, io.grpc.stub.StreamObserver<com.google.iam.v1.Policy> responseObserver)
      Gets the access control policy for a contentitem resource.
      void listContent​(ListContentRequest request, io.grpc.stub.StreamObserver<ListContentResponse> responseObserver)
      List content.
      void setIamPolicy​(com.google.iam.v1.SetIamPolicyRequest request, io.grpc.stub.StreamObserver<com.google.iam.v1.Policy> responseObserver)
      Sets the access control policy on the specified contentitem resource.
      void testIamPermissions​(com.google.iam.v1.TestIamPermissionsRequest request, io.grpc.stub.StreamObserver<com.google.iam.v1.TestIamPermissionsResponse> responseObserver)
      Returns the caller's permissions on a resource.
      void updateContent​(UpdateContentRequest request, io.grpc.stub.StreamObserver<Content> responseObserver)
      Update a content.
      • Methods inherited from class io.grpc.stub.AbstractAsyncStub

        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 void createContent​(CreateContentRequest request,
                                  io.grpc.stub.StreamObserver<Content> responseObserver)
         Create a content.
         
      • updateContent

        public void updateContent​(UpdateContentRequest request,
                                  io.grpc.stub.StreamObserver<Content> responseObserver)
         Update a content. Only supports full resource update.
         
      • deleteContent

        public void deleteContent​(DeleteContentRequest request,
                                  io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
         Delete a content.
         
      • getContent

        public void getContent​(GetContentRequest request,
                               io.grpc.stub.StreamObserver<Content> responseObserver)
         Get a content resource.
         
      • getIamPolicy

        public void getIamPolicy​(com.google.iam.v1.GetIamPolicyRequest request,
                                 io.grpc.stub.StreamObserver<com.google.iam.v1.Policy> responseObserver)
         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 void setIamPolicy​(com.google.iam.v1.SetIamPolicyRequest request,
                                 io.grpc.stub.StreamObserver<com.google.iam.v1.Policy> responseObserver)
         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 void testIamPermissions​(com.google.iam.v1.TestIamPermissionsRequest request,
                                       io.grpc.stub.StreamObserver<com.google.iam.v1.TestIamPermissionsResponse> responseObserver)
         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.