Package com.google.cloud.dataplex.v1
Class ContentServiceGrpc.ContentServiceBlockingStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<ContentServiceGrpc.ContentServiceBlockingStub>
-
- com.google.cloud.dataplex.v1.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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ContentServiceGrpc.ContentServiceBlockingStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
Content
createContent(CreateContentRequest request)
Create a content.com.google.protobuf.Empty
deleteContent(DeleteContentRequest request)
Delete a content.Content
getContent(GetContentRequest request)
Get a content resource.com.google.iam.v1.Policy
getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request)
Gets the access control policy for a contentitem resource.ListContentResponse
listContent(ListContentRequest request)
List content.com.google.iam.v1.Policy
setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request)
Sets the access control policy on the specified contentitem resource.com.google.iam.v1.TestIamPermissionsResponse
testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request)
Returns the caller's permissions on a resource.Content
updateContent(UpdateContentRequest request)
Update a content.
-
-
-
Method Detail
-
build
protected ContentServiceGrpc.ContentServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<ContentServiceGrpc.ContentServiceBlockingStub>
-
createContent
public Content createContent(CreateContentRequest request)
Create a content.
-
updateContent
public Content updateContent(UpdateContentRequest request)
Update a content. Only supports full resource update.
-
deleteContent
public com.google.protobuf.Empty deleteContent(DeleteContentRequest request)
Delete a content.
-
getContent
public Content getContent(GetContentRequest request)
Get a content resource.
-
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.
-
listContent
public ListContentResponse listContent(ListContentRequest request)
List content.
-
-