Class: Google::Apis::CloudsearchV1::RoomRenameMetadata
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::RoomRenameMetadata
- 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
. -
#prev_name ⇒ String
NEXT_TAG: 3 Corresponds to the JSON property
prevName
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RoomRenameMetadata
constructor
A new instance of RoomRenameMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RoomRenameMetadata
Returns a new instance of RoomRenameMetadata.
17683 17684 17685 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17683 def initialize(**args) update!(**args) end |
Instance Attribute Details
#new_name ⇒ String
Corresponds to the JSON property newName
17676 17677 17678 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17676 def new_name @new_name end |
#prev_name ⇒ String
NEXT_TAG: 3
Corresponds to the JSON property prevName
17681 17682 17683 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17681 def prev_name @prev_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17688 17689 17690 17691 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17688 def update!(**args) @new_name = args[:new_name] if args.key?(:new_name) @prev_name = args[:prev_name] if args.key?(:prev_name) end |