Package com.google.cloud.dataplex.v1
Class ContentServiceGrpc.ContentServiceStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<ContentServiceGrpc.ContentServiceStub>
-
- com.google.cloud.dataplex.v1.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.
-
-
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.
-
-
-
Method Detail
-
build
protected ContentServiceGrpc.ContentServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<ContentServiceGrpc.ContentServiceStub>
-
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.
-
listContent
public void listContent(ListContentRequest request, io.grpc.stub.StreamObserver<ListContentResponse> responseObserver)
List content.
-
-