Class: Google::Apis::CloudsearchV1::LabelRenamed
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::LabelRenamed
- 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
-
#old_canonical_name ⇒ String
Corresponds to the JSON property
oldCanonicalName
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LabelRenamed
constructor
A new instance of LabelRenamed.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_name ⇒ String
Corresponds to the JSON property oldCanonicalName
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 |