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.
12963 12964 12965 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12963 def initialize(**args) update!(**args) end |
Instance Attribute Details
#old_canonical_name ⇒ String
Corresponds to the JSON property oldCanonicalName
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 |