Class: Google::Apis::YoutubeV3::SuperStickerMetadata
- Inherits:
-
Object
- Object
- Google::Apis::YoutubeV3::SuperStickerMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/youtube_v3/classes.rb,
generated/google/apis/youtube_v3/representations.rb,
generated/google/apis/youtube_v3/representations.rb more...
Instance Attribute Summary collapse
-
#alt_text ⇒ String
Internationalized alt text that describes the sticker image and any animation associated with it.
-
#alt_text_language ⇒ String
Specifies the localization language in which the alt text is returned.
-
#sticker_id ⇒ String
Unique identifier of the Super Sticker.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SuperStickerMetadata
constructor
A new instance of SuperStickerMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SuperStickerMetadata
Returns a new instance of SuperStickerMetadata
6805 6806 6807 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 6805 def initialize(**args) update!(**args) end |
Instance Attribute Details
#alt_text ⇒ String
Internationalized alt text that describes the sticker image and any animation
associated with it.
Corresponds to the JSON property altText
6792 6793 6794 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 6792 def alt_text @alt_text end |
#alt_text_language ⇒ String
Specifies the localization language in which the alt text is returned.
Corresponds to the JSON property altTextLanguage
6797 6798 6799 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 6797 def alt_text_language @alt_text_language end |
#sticker_id ⇒ String
Unique identifier of the Super Sticker. This is a shorter form of the alt_text
that includes pack name and a recognizable characteristic of the sticker.
Corresponds to the JSON property stickerId
6803 6804 6805 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 6803 def sticker_id @sticker_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6810 6811 6812 6813 6814 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 6810 def update!(**args) @alt_text = args[:alt_text] if args.key?(:alt_text) @alt_text_language = args[:alt_text_language] if args.key?(:alt_text_language) @sticker_id = args[:sticker_id] if args.key?(:sticker_id) end |