Class: Google::Apis::BigquerydatapolicyV1::RenameDataPolicyRequest
- Inherits:
-
Object
- Object
- Google::Apis::BigquerydatapolicyV1::RenameDataPolicyRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/bigquerydatapolicy_v1/classes.rb,
lib/google/apis/bigquerydatapolicy_v1/representations.rb,
lib/google/apis/bigquerydatapolicy_v1/representations.rb
Overview
Request message for the RenameDataPolicy method.
Instance Attribute Summary collapse
-
#new_data_policy_id ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RenameDataPolicyRequest
constructor
A new instance of RenameDataPolicyRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RenameDataPolicyRequest
Returns a new instance of RenameDataPolicyRequest.
517 518 519 |
# File 'lib/google/apis/bigquerydatapolicy_v1/classes.rb', line 517 def initialize(**args) update!(**args) end |
Instance Attribute Details
#new_data_policy_id ⇒ String
Required. The new data policy id.
Corresponds to the JSON property newDataPolicyId
515 516 517 |
# File 'lib/google/apis/bigquerydatapolicy_v1/classes.rb', line 515 def new_data_policy_id @new_data_policy_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
522 523 524 |
# File 'lib/google/apis/bigquerydatapolicy_v1/classes.rb', line 522 def update!(**args) @new_data_policy_id = args[:new_data_policy_id] if args.key?(:new_data_policy_id) end |