Class: Google::Apis::BigquerydatapolicyV1::RenameDataPolicyRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_idString

Required. The new data policy id. Corresponds to the JSON property newDataPolicyId

Returns:

  • (String)


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