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.
12444 12445 12446 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12444 def initialize(**args) update!(**args) end |
Instance Attribute Details
#old_canonical_name ⇒ String
Corresponds to the JSON property oldCanonicalName
12442 12443 12444 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12442 def old_canonical_name @old_canonical_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12449 12450 12451 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12449 def update!(**args) @old_canonical_name = args[:old_canonical_name] if args.key?(:old_canonical_name) end |