Class: Google::Apis::YoutubeV3::RelatedEntity
- Inherits:
-
Object
- Object
- Google::Apis::YoutubeV3::RelatedEntity
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/youtube_v3/classes.rb,
lib/google/apis/youtube_v3/representations.rb,
lib/google/apis/youtube_v3/representations.rb
Instance Attribute Summary collapse
-
#entity ⇒ Google::Apis::YoutubeV3::Entity
Corresponds to the JSON property
entity.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RelatedEntity
constructor
A new instance of RelatedEntity.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RelatedEntity
Returns a new instance of RelatedEntity.
6791 6792 6793 |
# File 'lib/google/apis/youtube_v3/classes.rb', line 6791 def initialize(**args) update!(**args) end |
Instance Attribute Details
#entity ⇒ Google::Apis::YoutubeV3::Entity
Corresponds to the JSON property entity
6789 6790 6791 |
# File 'lib/google/apis/youtube_v3/classes.rb', line 6789 def entity @entity end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6796 6797 6798 |
# File 'lib/google/apis/youtube_v3/classes.rb', line 6796 def update!(**args) @entity = args[:entity] if args.key?(:entity) end |