[[["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-04 UTC."],[],[],null,["# Google Cloud BigQuery Data Policies V1 Client - Class RenameDataPolicyRequest (1.0.5)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.5 (latest)](/php/docs/reference/cloud-bigquery-datapolicies/latest/V1.RenameDataPolicyRequest)\n- [1.0.4](/php/docs/reference/cloud-bigquery-datapolicies/1.0.4/V1.RenameDataPolicyRequest)\n- [0.5.5](/php/docs/reference/cloud-bigquery-datapolicies/0.5.5/V1.RenameDataPolicyRequest)\n- [0.4.1](/php/docs/reference/cloud-bigquery-datapolicies/0.4.1/V1.RenameDataPolicyRequest)\n- [0.3.3](/php/docs/reference/cloud-bigquery-datapolicies/0.3.3/V1.RenameDataPolicyRequest)\n- [0.2.4](/php/docs/reference/cloud-bigquery-datapolicies/0.2.4/V1.RenameDataPolicyRequest)\n- [0.1.1](/php/docs/reference/cloud-bigquery-datapolicies/0.1.1/V1.RenameDataPolicyRequest) \nReference documentation and code samples for the Google Cloud BigQuery Data Policies V1 Client class RenameDataPolicyRequest.\n\nRequest message for the RenameDataPolicy method.\n\nGenerated from protobuf message `google.cloud.bigquery.datapolicies.v1.RenameDataPolicyRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ BigQuery \\\\ DataPolicies \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. Resource name of the data policy to rename. The format is\n`projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}`\n\n### setName\n\nRequired. Resource name of the data policy to rename. The format is\n`projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}`\n\n### getNewDataPolicyId\n\nRequired. The new data policy id.\n\n### setNewDataPolicyId\n\nRequired. The new data policy id.\n\n### static::build"]]