public static interface DataPolicyServiceGrpc.AsyncService
Data Policy Service provides APIs for managing the label-policy bindings.
| Modifier and Type | Method and Description |
|---|---|
default void |
createDataPolicy(CreateDataPolicyRequest request,
io.grpc.stub.StreamObserver<DataPolicy> responseObserver)
Creates a new data policy under a project with the given `dataPolicyId`
(used as the display name), policy tag, and data policy type.
|
default void |
deleteDataPolicy(DeleteDataPolicyRequest request,
io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes the data policy specified by its resource name.
|
default void |
getDataPolicy(GetDataPolicyRequest request,
io.grpc.stub.StreamObserver<DataPolicy> responseObserver)
Gets the data policy specified by its resource name.
|
default void |
getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request,
io.grpc.stub.StreamObserver<com.google.iam.v1.Policy> responseObserver)
Gets the IAM policy for the specified data policy.
|
default void |
listDataPolicies(ListDataPoliciesRequest request,
io.grpc.stub.StreamObserver<ListDataPoliciesResponse> responseObserver)
List all of the data policies in the specified parent project.
|
default void |
setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request,
io.grpc.stub.StreamObserver<com.google.iam.v1.Policy> responseObserver)
Sets the IAM policy for the specified data policy.
|
default void |
testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request,
io.grpc.stub.StreamObserver<com.google.iam.v1.TestIamPermissionsResponse> responseObserver)
Returns the caller's permission on the specified data policy resource.
|
default void |
updateDataPolicy(UpdateDataPolicyRequest request,
io.grpc.stub.StreamObserver<DataPolicy> responseObserver)
Updates the metadata for an existing data policy.
|
default void createDataPolicy(CreateDataPolicyRequest request, io.grpc.stub.StreamObserver<DataPolicy> responseObserver)
Creates a new data policy under a project with the given `dataPolicyId` (used as the display name), policy tag, and data policy type.
default void updateDataPolicy(UpdateDataPolicyRequest request, io.grpc.stub.StreamObserver<DataPolicy> responseObserver)
Updates the metadata for an existing data policy. The target data policy can be specified by the resource name.
default void deleteDataPolicy(DeleteDataPolicyRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes the data policy specified by its resource name.
default void getDataPolicy(GetDataPolicyRequest request, io.grpc.stub.StreamObserver<DataPolicy> responseObserver)
Gets the data policy specified by its resource name.
default void listDataPolicies(ListDataPoliciesRequest request, io.grpc.stub.StreamObserver<ListDataPoliciesResponse> responseObserver)
List all of the data policies in the specified parent project.
default void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request,
io.grpc.stub.StreamObserver<com.google.iam.v1.Policy> responseObserver)
Gets the IAM policy for the specified data policy.
default void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request,
io.grpc.stub.StreamObserver<com.google.iam.v1.Policy> responseObserver)
Sets the IAM policy for the specified data policy.
default void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request,
io.grpc.stub.StreamObserver<com.google.iam.v1.TestIamPermissionsResponse> responseObserver)
Returns the caller's permission on the specified data policy resource.
Copyright © 2023 Google LLC. All rights reserved.