Class: Google::Apis::CloudsearchV1::AvatarInfo
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::AvatarInfo
- 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
Instance Attribute Summary collapse
-
#emoji ⇒ Google::Apis::CloudsearchV1::Emoji
Corresponds to the JSON property
emoji.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AvatarInfo
constructor
A new instance of AvatarInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AvatarInfo
Returns a new instance of AvatarInfo.
145 146 147 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 145 def initialize(**args) update!(**args) end |
Instance Attribute Details
#emoji ⇒ Google::Apis::CloudsearchV1::Emoji
Corresponds to the JSON property emoji
143 144 145 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 143 def emoji @emoji end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
150 151 152 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 150 def update!(**args) @emoji = args[:emoji] if args.key?(:emoji) end |