public static final class DataPolicyServiceGrpc.DataPolicyServiceBlockingStub extends AbstractBlockingStub<DataPolicyServiceGrpc.DataPolicyServiceBlockingStub>
Data Policy Service provides APIs for managing the label-policy bindings.
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > DataPolicyServiceGrpc.DataPolicyServiceBlockingStubMethods
build(Channel channel, CallOptions callOptions)
protected DataPolicyServiceGrpc.DataPolicyServiceBlockingStub build(Channel channel, CallOptions callOptions)
Name | Description |
channel | io.grpc.Channel |
callOptions | io.grpc.CallOptions |
Type | Description |
DataPolicyServiceGrpc.DataPolicyServiceBlockingStub |
createDataPolicy(CreateDataPolicyRequest request)
public 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.
Name | Description |
request | CreateDataPolicyRequest |
Type | Description |
DataPolicy |
deleteDataPolicy(DeleteDataPolicyRequest request)
public Empty deleteDataPolicy(DeleteDataPolicyRequest request)
Deletes the data policy specified by its resource name.
Name | Description |
request | DeleteDataPolicyRequest |
Type | Description |
Empty |
getDataPolicy(GetDataPolicyRequest request)
public DataPolicy getDataPolicy(GetDataPolicyRequest request)
Gets the data policy specified by its resource name.
Name | Description |
request | GetDataPolicyRequest |
Type | Description |
DataPolicy |
getIamPolicy(GetIamPolicyRequest request)
public Policy getIamPolicy(GetIamPolicyRequest request)
Gets the IAM policy for the specified data policy.
Name | Description |
request | com.google.iam.v1.GetIamPolicyRequest |
Type | Description |
com.google.iam.v1.Policy |
listDataPolicies(ListDataPoliciesRequest request)
public ListDataPoliciesResponse listDataPolicies(ListDataPoliciesRequest request)
List all of the data policies in the specified parent project.
Name | Description |
request | ListDataPoliciesRequest |
Type | Description |
ListDataPoliciesResponse |
setIamPolicy(SetIamPolicyRequest request)
public Policy setIamPolicy(SetIamPolicyRequest request)
Sets the IAM policy for the specified data policy.
Name | Description |
request | com.google.iam.v1.SetIamPolicyRequest |
Type | Description |
com.google.iam.v1.Policy |
testIamPermissions(TestIamPermissionsRequest request)
public TestIamPermissionsResponse testIamPermissions(TestIamPermissionsRequest request)
Returns the caller's permission on the specified data policy resource.
Name | Description |
request | com.google.iam.v1.TestIamPermissionsRequest |
Type | Description |
com.google.iam.v1.TestIamPermissionsResponse |
updateDataPolicy(UpdateDataPolicyRequest request)
public DataPolicy updateDataPolicy(UpdateDataPolicyRequest request)
Updates the metadata for an existing data policy. The target data policy can be specified by the resource name.
Name | Description |
request | UpdateDataPolicyRequest |
Type | Description |
DataPolicy |