Class DataPolicyServiceGrpc.DataPolicyServiceBlockingStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<DataPolicyServiceGrpc.DataPolicyServiceBlockingStub>
-
- com.google.cloud.bigquery.datapolicies.v1beta1.DataPolicyServiceGrpc.DataPolicyServiceBlockingStub
-
- Enclosing class:
- DataPolicyServiceGrpc
public static final class DataPolicyServiceGrpc.DataPolicyServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub<DataPolicyServiceGrpc.DataPolicyServiceBlockingStub>
A stub to allow clients to do synchronous rpc calls to service DataPolicyService.Data Policy Service provides APIs for managing the label-policy bindings.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DataPolicyServiceGrpc.DataPolicyServiceBlockingStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
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.protobuf.Empty
deleteDataPolicy(DeleteDataPolicyRequest request)
Deletes the data policy specified by its resource name.DataPolicy
getDataPolicy(GetDataPolicyRequest request)
Gets the data policy specified by its resource name.com.google.iam.v1.Policy
getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request)
Gets the IAM policy for the specified data policy.ListDataPoliciesResponse
listDataPolicies(ListDataPoliciesRequest request)
List all of the data policies in the specified parent project.com.google.iam.v1.Policy
setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request)
Sets the IAM policy for the specified data policy.com.google.iam.v1.TestIamPermissionsResponse
testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request)
Returns the caller's permission on the specified data policy resource.DataPolicy
updateDataPolicy(UpdateDataPolicyRequest request)
Updates the metadata for an existing data policy.
-
-
-
Method Detail
-
build
protected DataPolicyServiceGrpc.DataPolicyServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<DataPolicyServiceGrpc.DataPolicyServiceBlockingStub>
-
createDataPolicy
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.
-
updateDataPolicy
public DataPolicy updateDataPolicy(UpdateDataPolicyRequest request)
Updates the metadata for an existing data policy. The target data policy can be specified by the resource name.
-
deleteDataPolicy
public com.google.protobuf.Empty deleteDataPolicy(DeleteDataPolicyRequest request)
Deletes the data policy specified by its resource name.
-
getDataPolicy
public DataPolicy getDataPolicy(GetDataPolicyRequest request)
Gets the data policy specified by its resource name.
-
listDataPolicies
public ListDataPoliciesResponse listDataPolicies(ListDataPoliciesRequest request)
List all of the data policies in the specified parent project.
-
getIamPolicy
public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request)
Gets the IAM policy for the specified data policy.
-
setIamPolicy
public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request)
Sets the IAM policy for the specified data policy.
-
testIamPermissions
public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request)
Returns the caller's permission on the specified data policy resource.
-
-