Class ContentServiceGrpc.ContentServiceImplBase (1.3.0)

public abstract static class ContentServiceGrpc.ContentServiceImplBase implements BindableService

ContentService manages Notebook and SQL Scripts for Dataplex.

Inheritance

java.lang.Object > ContentServiceGrpc.ContentServiceImplBase

Implements

io.grpc.BindableService

Constructors

ContentServiceImplBase()

public ContentServiceImplBase()

Methods

bindService()

public final ServerServiceDefinition bindService()
Returns
TypeDescription
io.grpc.ServerServiceDefinition

createContent(CreateContentRequest request, StreamObserver<Content> responseObserver)

public void createContent(CreateContentRequest request, StreamObserver<Content> responseObserver)

Create a content.

Parameters
NameDescription
requestCreateContentRequest
responseObserverio.grpc.stub.StreamObserver<Content>

deleteContent(DeleteContentRequest request, StreamObserver<Empty> responseObserver)

public void deleteContent(DeleteContentRequest request, StreamObserver<Empty> responseObserver)

Delete a content.

Parameters
NameDescription
requestDeleteContentRequest
responseObserverio.grpc.stub.StreamObserver<Empty>

getContent(GetContentRequest request, StreamObserver<Content> responseObserver)

public void getContent(GetContentRequest request, StreamObserver<Content> responseObserver)

Get a content resource.

Parameters
NameDescription
requestGetContentRequest
responseObserverio.grpc.stub.StreamObserver<Content>

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
NameDescription
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)

List content.

Parameters
NameDescription
requestListContentRequest
responseObserverio.grpc.stub.StreamObserver<ListContentResponse>

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
NameDescription
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
NameDescription
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
NameDescription
requestUpdateContentRequest
responseObserverio.grpc.stub.StreamObserver<Content>