Reference documentation and code samples for the BigQuery Data Policy Service V1 API module Google::Cloud::Bigquery::DataPolicies::V1::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-08-28 UTC."],[],[],null,["# BigQuery Data Policy Service V1 API - Module Google::Cloud::Bigquery::DataPolicies::V1::DataPolicy::DataPolicyType (v1.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.0 (latest)](/ruby/docs/reference/google-cloud-bigquery-data_policies-v1/latest/Google-Cloud-Bigquery-DataPolicies-V1-DataPolicy-DataPolicyType)\n- [1.0.1](/ruby/docs/reference/google-cloud-bigquery-data_policies-v1/1.0.1/Google-Cloud-Bigquery-DataPolicies-V1-DataPolicy-DataPolicyType)\n- [0.10.0](/ruby/docs/reference/google-cloud-bigquery-data_policies-v1/0.10.0/Google-Cloud-Bigquery-DataPolicies-V1-DataPolicy-DataPolicyType)\n- [0.9.0](/ruby/docs/reference/google-cloud-bigquery-data_policies-v1/0.9.0/Google-Cloud-Bigquery-DataPolicies-V1-DataPolicy-DataPolicyType)\n- [0.8.1](/ruby/docs/reference/google-cloud-bigquery-data_policies-v1/0.8.1/Google-Cloud-Bigquery-DataPolicies-V1-DataPolicy-DataPolicyType)\n- [0.7.2](/ruby/docs/reference/google-cloud-bigquery-data_policies-v1/0.7.2/Google-Cloud-Bigquery-DataPolicies-V1-DataPolicy-DataPolicyType)\n- [0.6.0](/ruby/docs/reference/google-cloud-bigquery-data_policies-v1/0.6.0/Google-Cloud-Bigquery-DataPolicies-V1-DataPolicy-DataPolicyType)\n- [0.5.0](/ruby/docs/reference/google-cloud-bigquery-data_policies-v1/0.5.0/Google-Cloud-Bigquery-DataPolicies-V1-DataPolicy-DataPolicyType)\n- [0.4.0](/ruby/docs/reference/google-cloud-bigquery-data_policies-v1/0.4.0/Google-Cloud-Bigquery-DataPolicies-V1-DataPolicy-DataPolicyType)\n- [0.3.1](/ruby/docs/reference/google-cloud-bigquery-data_policies-v1/0.3.1/Google-Cloud-Bigquery-DataPolicies-V1-DataPolicy-DataPolicyType)\n- [0.2.0](/ruby/docs/reference/google-cloud-bigquery-data_policies-v1/0.2.0/Google-Cloud-Bigquery-DataPolicies-V1-DataPolicy-DataPolicyType)\n- [0.1.0](/ruby/docs/reference/google-cloud-bigquery-data_policies-v1/0.1.0/Google-Cloud-Bigquery-DataPolicies-V1-DataPolicy-DataPolicyType) \nReference documentation and code samples for the BigQuery Data Policy Service V1 API module Google::Cloud::Bigquery::DataPolicies::V1::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."]]