@Generated("by gapic-generator-java")
Package com.google.cloud.bigquery.datapolicies.v1beta1
A client to BigQuery Data Policy API
The interfaces provided are listed below, along with usage samples.
======================= DataPolicyServiceClient =======================
Service Description: Data Policy Service provides APIs for managing the label-policy bindings.
Sample for DataPolicyServiceClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataPolicyServiceClient dataPolicyServiceClient = DataPolicyServiceClient.create()) {
LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
DataPolicy dataPolicy = DataPolicy.newBuilder().build();
DataPolicy response = dataPolicyServiceClient.createDataPolicy(parent, dataPolicy);
}
-
Interface Summary Interface Description CreateDataPolicyRequestOrBuilder DataMaskingPolicyOrBuilder DataPolicyOrBuilder DataPolicyServiceGrpc.AsyncService Data Policy Service provides APIs for managing the label-policy bindings.DeleteDataPolicyRequestOrBuilder GetDataPolicyRequestOrBuilder ListDataPoliciesRequestOrBuilder ListDataPoliciesResponseOrBuilder UpdateDataPolicyRequestOrBuilder -
Class Summary Class Description CreateDataPolicyRequest Request message for the CreateDataPolicy method.CreateDataPolicyRequest.Builder Request message for the CreateDataPolicy method.DataMaskingPolicy The data masking policy that is used to specify data masking rule.DataMaskingPolicy.Builder The data masking policy that is used to specify data masking rule.DataPolicy Represents the label-policy binding.DataPolicy.Builder Represents the label-policy binding.DataPolicyName DataPolicyName.Builder Builder for projects/{project}/locations/{location}/dataPolicies/{data_policy}.DataPolicyProto DataPolicyServiceClient Service Description: Data Policy Service provides APIs for managing the label-policy bindings.DataPolicyServiceClient.ListDataPoliciesFixedSizeCollection DataPolicyServiceClient.ListDataPoliciesPage DataPolicyServiceClient.ListDataPoliciesPagedResponse DataPolicyServiceGrpc Data Policy Service provides APIs for managing the label-policy bindings.DataPolicyServiceGrpc.DataPolicyServiceBlockingStub A stub to allow clients to do synchronous rpc calls to service DataPolicyService.DataPolicyServiceGrpc.DataPolicyServiceFutureStub A stub to allow clients to do ListenableFuture-style rpc calls to service DataPolicyService.DataPolicyServiceGrpc.DataPolicyServiceImplBase Base class for the server implementation of the service DataPolicyService.DataPolicyServiceGrpc.DataPolicyServiceStub A stub to allow clients to do asynchronous rpc calls to service DataPolicyService.DataPolicyServiceSettings Settings class to configure an instance ofDataPolicyServiceClient
.DataPolicyServiceSettings.Builder Builder for DataPolicyServiceSettings.DeleteDataPolicyRequest Request message for the DeleteDataPolicy method.DeleteDataPolicyRequest.Builder Request message for the DeleteDataPolicy method.GetDataPolicyRequest Request message for the GetDataPolicy method.GetDataPolicyRequest.Builder Request message for the GetDataPolicy method.ListDataPoliciesRequest Request message for the ListDataPolicies method.ListDataPoliciesRequest.Builder Request message for the ListDataPolicies method.ListDataPoliciesResponse Response message for the ListDataPolicies method.ListDataPoliciesResponse.Builder Response message for the ListDataPolicies method.LocationName LocationName.Builder Builder for projects/{project}/locations/{location}.UpdateDataPolicyRequest Response message for the UpdateDataPolicy method.UpdateDataPolicyRequest.Builder Response message for the UpdateDataPolicy method. -
Enum Summary Enum Description DataMaskingPolicy.MaskingExpressionCase DataMaskingPolicy.PredefinedExpression The available masking rules.DataPolicy.DataPolicyType A list of supported data policy types.DataPolicy.MatchingLabelCase DataPolicy.PolicyCase