Reference documentation and code samples for the BigQuery Data Policy Service V1beta1 API class Google::Cloud::Bigquery::DataPolicies::V1beta1::DeleteDataPolicyRequest.
Request message for the DeleteDataPolicy method.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#name
defname()->::String
Returns
(::String) — Required. Resource name of the data policy to delete. Format is
projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}.
#name=
defname=(value)->::String
Parameter
value (::String) — Required. Resource name of the data policy to delete. Format is
projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}.
Returns
(::String) — Required. Resource name of the data policy to delete. Format is
projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}.
[[["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 - Class Google::Cloud::Bigquery::DataPolicies::V1beta1::DeleteDataPolicyRequest (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-DeleteDataPolicyRequest)\n- [0.7.1](/ruby/docs/reference/google-cloud-bigquery-data_policies-v1beta1/0.7.1/Google-Cloud-Bigquery-DataPolicies-V1beta1-DeleteDataPolicyRequest)\n- [0.6.0](/ruby/docs/reference/google-cloud-bigquery-data_policies-v1beta1/0.6.0/Google-Cloud-Bigquery-DataPolicies-V1beta1-DeleteDataPolicyRequest)\n- [0.5.1](/ruby/docs/reference/google-cloud-bigquery-data_policies-v1beta1/0.5.1/Google-Cloud-Bigquery-DataPolicies-V1beta1-DeleteDataPolicyRequest)\n- [0.4.2](/ruby/docs/reference/google-cloud-bigquery-data_policies-v1beta1/0.4.2/Google-Cloud-Bigquery-DataPolicies-V1beta1-DeleteDataPolicyRequest)\n- [0.3.0](/ruby/docs/reference/google-cloud-bigquery-data_policies-v1beta1/0.3.0/Google-Cloud-Bigquery-DataPolicies-V1beta1-DeleteDataPolicyRequest)\n- [0.2.1](/ruby/docs/reference/google-cloud-bigquery-data_policies-v1beta1/0.2.1/Google-Cloud-Bigquery-DataPolicies-V1beta1-DeleteDataPolicyRequest)\n- [0.1.0](/ruby/docs/reference/google-cloud-bigquery-data_policies-v1beta1/0.1.0/Google-Cloud-Bigquery-DataPolicies-V1beta1-DeleteDataPolicyRequest) \nReference documentation and code samples for the BigQuery Data Policy Service V1beta1 API class Google::Cloud::Bigquery::DataPolicies::V1beta1::DeleteDataPolicyRequest.\n\nRequest message for the DeleteDataPolicy method. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #name\n\n def name() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. Resource name of the data policy to delete. Format is `projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}`.\n\n### #name=\n\n def name=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. Resource name of the data policy to delete. Format is `projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}`. \n**Returns**\n\n- (::String) --- Required. Resource name of the data policy to delete. Format is `projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}`."]]