Class ContentServiceGrpc.ContentServiceStub (1.10.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 1.10.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  ContentServiceGrpc . ContentServiceStub   extends   AbstractAsyncStub<ContentServiceGrpc . ContentServiceStub > 
   ContentService manages Notebook and SQL Scripts for Dataplex.
    Inheritance 
    java.lang.Object  >  
    io.grpc.stub.AbstractStub  >  
    io.grpc.stub.AbstractAsyncStub  >  
    ContentServiceGrpc.ContentServiceStub 
   
  
    Inherited Members 
    
      io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel) 
    
    
      io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions) 
    
    
      io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T) 
    
    
      io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions) 
    
    
      io.grpc.stub.AbstractStub.getCallOptions() 
    
    
      io.grpc.stub.AbstractStub.getChannel() 
    
    
      io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials) 
    
    
      io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel) 
    
    
      io.grpc.stub.AbstractStub.withCompression(java.lang.String) 
    
    
      io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline) 
    
    
      io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit) 
    
    
      io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor) 
    
    
      io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...) 
    
    
      io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int) 
    
    
      io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int) 
    
    
      io.grpc.stub.AbstractStub.withWaitForReady() 
    
    
    
    
    
    
    
    
    
    
    
    
   
  Methods
   
  build(Channel channel, CallOptions callOptions) 
  
    
protected   ContentServiceGrpc . ContentServiceStub   build ( Channel   channel ,   CallOptions   callOptions )  
  Parameters 
  
    
      
        Name Description  
      
        channelio.grpc.Channel  
      
        callOptionsio.grpc.CallOptions  
     
  
  Returns 
  
  Overrides 
  io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions) 
  createContent(CreateContentRequest request, StreamObserver<Content> responseObserver) 
  
    
public   void   createContent ( CreateContentRequest   request ,   StreamObserver<Content>   responseObserver )  
  
  Parameters 
  
  deleteContent(DeleteContentRequest request, StreamObserver<Empty> responseObserver) 
  
    
public   void   deleteContent ( DeleteContentRequest   request ,   StreamObserver<Empty>   responseObserver )  
  
  Parameters 
  
  getContent(GetContentRequest request, StreamObserver<Content> responseObserver) 
  
    
public   void   getContent ( GetContentRequest   request ,   StreamObserver<Content>   responseObserver )  
  
  Parameters 
  
  getIamPolicy(GetIamPolicyRequest request, StreamObserver<Policy> responseObserver) 
  
    
public   void   getIamPolicy ( GetIamPolicyRequest   request ,   StreamObserver<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.
Parameters 
  
    
      
        Name Description  
      
        requestcom.google.iam.v1.GetIamPolicyRequest  
      
        responseObserverio.grpc.stub.StreamObserver <com.google.iam.v1.Policy > 
     
  
  listContent(ListContentRequest request, StreamObserver<ListContentResponse> responseObserver) 
  
    
public   void   listContent ( ListContentRequest   request ,   StreamObserver<ListContentResponse>   responseObserver )  
  
  Parameters 
  
  setIamPolicy(SetIamPolicyRequest request, StreamObserver<Policy> responseObserver) 
  
    
public   void   setIamPolicy ( SetIamPolicyRequest   request ,   StreamObserver<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.
Parameters 
  
    
      
        Name Description  
      
        requestcom.google.iam.v1.SetIamPolicyRequest  
      
        responseObserverio.grpc.stub.StreamObserver <com.google.iam.v1.Policy > 
     
  
  testIamPermissions(TestIamPermissionsRequest request, StreamObserver<TestIamPermissionsResponse> responseObserver) 
  
    
public   void   testIamPermissions ( TestIamPermissionsRequest   request ,   StreamObserver<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.
Parameters 
  
    
      
        Name Description  
      
        requestcom.google.iam.v1.TestIamPermissionsRequest  
      
        responseObserverio.grpc.stub.StreamObserver <com.google.iam.v1.TestIamPermissionsResponse > 
     
  
  updateContent(UpdateContentRequest request, StreamObserver<Content> responseObserver) 
  
    
public   void   updateContent ( UpdateContentRequest   request ,   StreamObserver<Content>   responseObserver )  
   Update a content. Only supports full resource update.
Parameters 
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-28 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-28 UTC."],[],[]]