Reference documentation and code samples for the BigQuery Data Policy Service V1beta1 API module Google::Cloud::Bigquery::DataPolicies::V1beta1::DataPolicy::DataPolicyType.
A list of supported data policy types.
Constants
DATA_POLICY_TYPE_UNSPECIFIED
value: 0 Default value for the data policy type. This should not be used.
COLUMN_LEVEL_SECURITY_POLICY
value: 3 Used to create a data policy for column-level security, without data
masking.
DATA_MASKING_POLICY
value: 2 Used to create a data policy for data masking.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# BigQuery Data Policy Service V1beta1 API - Module Google::Cloud::Bigquery::DataPolicies::V1beta1::DataPolicy::DataPolicyType (v0.8.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.8.0 (latest)](/ruby/docs/reference/google-cloud-bigquery-data_policies-v1beta1/latest/Google-Cloud-Bigquery-DataPolicies-V1beta1-DataPolicy-DataPolicyType)\n- [0.7.1](/ruby/docs/reference/google-cloud-bigquery-data_policies-v1beta1/0.7.1/Google-Cloud-Bigquery-DataPolicies-V1beta1-DataPolicy-DataPolicyType)\n- [0.6.0](/ruby/docs/reference/google-cloud-bigquery-data_policies-v1beta1/0.6.0/Google-Cloud-Bigquery-DataPolicies-V1beta1-DataPolicy-DataPolicyType)\n- [0.5.1](/ruby/docs/reference/google-cloud-bigquery-data_policies-v1beta1/0.5.1/Google-Cloud-Bigquery-DataPolicies-V1beta1-DataPolicy-DataPolicyType)\n- [0.4.2](/ruby/docs/reference/google-cloud-bigquery-data_policies-v1beta1/0.4.2/Google-Cloud-Bigquery-DataPolicies-V1beta1-DataPolicy-DataPolicyType)\n- [0.3.0](/ruby/docs/reference/google-cloud-bigquery-data_policies-v1beta1/0.3.0/Google-Cloud-Bigquery-DataPolicies-V1beta1-DataPolicy-DataPolicyType)\n- [0.2.1](/ruby/docs/reference/google-cloud-bigquery-data_policies-v1beta1/0.2.1/Google-Cloud-Bigquery-DataPolicies-V1beta1-DataPolicy-DataPolicyType)\n- [0.1.0](/ruby/docs/reference/google-cloud-bigquery-data_policies-v1beta1/0.1.0/Google-Cloud-Bigquery-DataPolicies-V1beta1-DataPolicy-DataPolicyType) \nReference documentation and code samples for the BigQuery Data Policy Service V1beta1 API module Google::Cloud::Bigquery::DataPolicies::V1beta1::DataPolicy::DataPolicyType.\n\nA list of supported data policy types.\n\nConstants\n---------\n\n### DATA_POLICY_TYPE_UNSPECIFIED\n\n**value:** 0 \nDefault value for the data policy type. This should not be used.\n\n### COLUMN_LEVEL_SECURITY_POLICY\n\n**value:** 3 \nUsed to create a data policy for column-level security, without data\nmasking.\n\n### DATA_MASKING_POLICY\n\n**value:** 2 \nUsed to create a data policy for data masking."]]