- 1.52.0 (latest)
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.2
- 1.0.1
- 0.2.2
public static final class ContentServiceGrpc.ContentServiceStub extends AbstractAsyncStub<ContentServiceGrpc.ContentServiceStub>
A stub to allow clients to do asynchronous rpc calls to service ContentService.
ContentService manages Notebook and SQL Scripts for Dataplex.
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > ContentServiceGrpc.ContentServiceStubMethods
build(Channel channel, CallOptions callOptions)
protected ContentServiceGrpc.ContentServiceStub build(Channel channel, CallOptions callOptions)
Parameters | |
---|---|
Name | Description |
channel |
io.grpc.Channel |
callOptions |
io.grpc.CallOptions |
Returns | |
---|---|
Type | Description |
ContentServiceGrpc.ContentServiceStub |
createContent(CreateContentRequest request, StreamObserver<Content> responseObserver)
public void createContent(CreateContentRequest request, StreamObserver<Content> responseObserver)
Create a content.
Parameters | |
---|---|
Name | Description |
request |
CreateContentRequest |
responseObserver |
io.grpc.stub.StreamObserver<Content> |
deleteContent(DeleteContentRequest request, StreamObserver<Empty> responseObserver)
public void deleteContent(DeleteContentRequest request, StreamObserver<Empty> responseObserver)
Delete a content.
Parameters | |
---|---|
Name | Description |
request |
DeleteContentRequest |
responseObserver |
io.grpc.stub.StreamObserver<Empty> |
getContent(GetContentRequest request, StreamObserver<Content> responseObserver)
public void getContent(GetContentRequest request, StreamObserver<Content> responseObserver)
Get a content resource.
Parameters | |
---|---|
Name | Description |
request |
GetContentRequest |
responseObserver |
io.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 | |
---|---|
Name | Description |
request |
com.google.iam.v1.GetIamPolicyRequest |
responseObserver |
io.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 | |
---|---|
Name | Description |
request |
ListContentRequest |
responseObserver |
io.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 | |
---|---|
Name | Description |
request |
com.google.iam.v1.SetIamPolicyRequest |
responseObserver |
io.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 |
request |
com.google.iam.v1.TestIamPermissionsRequest |
responseObserver |
io.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 | |
---|---|
Name | Description |
request |
UpdateContentRequest |
responseObserver |
io.grpc.stub.StreamObserver<Content> |