Class ContentServiceGrpc.ContentServiceBlockingStub

  • Enclosing class:
    ContentServiceGrpc

    public static final class ContentServiceGrpc.ContentServiceBlockingStub
    extends io.grpc.stub.AbstractBlockingStub<ContentServiceGrpc.ContentServiceBlockingStub>
    A stub to allow clients to do synchronous rpc calls to service ContentService.
     ContentService manages Notebook and SQL Scripts for Dataplex.
     
    • Method Detail

      • deleteContent

        public com.google.protobuf.Empty deleteContent​(DeleteContentRequest request)
         Delete a content.
         
      • getIamPolicy

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