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.



12886
12887
12888
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12886

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

Instance Attribute Details

#old_canonical_nameString

Corresponds to the JSON property oldCanonicalName

Returns:

  • (String)


12884
12885
12886
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12884

def old_canonical_name
  @old_canonical_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12891
12892
12893
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12891

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