Class: Google::Apis::CloudsearchV1::RoomRenameMetadata

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RoomRenameMetadata

Returns a new instance of RoomRenameMetadata.



14365
14366
14367
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14365

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#new_nameString

Corresponds to the JSON property newName

Returns:

  • (String)


14358
14359
14360
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14358

def new_name
  @new_name
end

#prev_nameString

NEXT_TAG: 3 Corresponds to the JSON property prevName

Returns:

  • (String)


14363
14364
14365
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14363

def prev_name
  @prev_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14370
14371
14372
14373
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14370

def update!(**args)
  @new_name = args[:new_name] if args.key?(:new_name)
  @prev_name = args[:prev_name] if args.key?(:prev_name)
end