Class: Google::Apis::YoutubeV3::RelatedEntity

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RelatedEntity

Returns a new instance of RelatedEntity.



6683
6684
6685
# File 'lib/google/apis/youtube_v3/classes.rb', line 6683

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#entityGoogle::Apis::YoutubeV3::Entity

Corresponds to the JSON property entity



6681
6682
6683
# File 'lib/google/apis/youtube_v3/classes.rb', line 6681

def entity
  @entity
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6688
6689
6690
# File 'lib/google/apis/youtube_v3/classes.rb', line 6688

def update!(**args)
  @entity = args[:entity] if args.key?(:entity)
end