BigQuery Data Policy Service V1 API - Class Google::Cloud::Bigquery::DataPolicies::V1::RenameDataPolicyRequest (v1.2.1)

Reference documentation and code samples for the BigQuery Data Policy Service V1 API class Google::Cloud::Bigquery::DataPolicies::V1::RenameDataPolicyRequest.

Request message for the RenameDataPolicy 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 rename. The 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 rename. The format is projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}
Returns
  • (::String) — Required. Resource name of the data policy to rename. The format is projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}

#new_data_policy_id

defnew_data_policy_id()->::String
Returns
  • (::String) — Required. The new data policy id.

#new_data_policy_id=

defnew_data_policy_id=(value)->::String
Parameter
  • value (::String) — Required. The new data policy id.
Returns
  • (::String) — Required. The new data policy id.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月06日 UTC.