Class: Google::Apis::CloudsearchV1::RenameEvent
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::RenameEvent
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb
Instance Attribute Summary collapse
-
#new_name ⇒ String
Corresponds to the JSON property
newName. -
#original_name ⇒ String
Corresponds to the JSON property
originalName.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RenameEvent
constructor
A new instance of RenameEvent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RenameEvent
Returns a new instance of RenameEvent.
16499 16500 16501 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16499 def initialize(**args) update!(**args) end |
Instance Attribute Details
#new_name ⇒ String
Corresponds to the JSON property newName
16492 16493 16494 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16492 def new_name @new_name end |
#original_name ⇒ String
Corresponds to the JSON property originalName
16497 16498 16499 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16497 def original_name @original_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16504 16505 16506 16507 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16504 def update!(**args) @new_name = args[:new_name] if args.key?(:new_name) @original_name = args[:original_name] if args.key?(:original_name) end |