Class: Google::Apis::CloudsearchV1::LabelRenamed

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

Overview

A label was renamed.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LabelRenamed

Returns a new instance of LabelRenamed.



12963
12964
12965
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12963

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

Instance Attribute Details

#old_canonical_nameString

Corresponds to the JSON property oldCanonicalName

Returns:

  • (String)


12961
12962
12963
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12961

def old_canonical_name
  @old_canonical_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12968
12969
12970
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12968

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