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