class Google::Apis::YoutubeV3::Entity
Attributes
id[RW]
Corresponds to the JSON property `id` @return [String]
type_id[RW]
Corresponds to the JSON property `typeId` @return [String]
url[RW]
Corresponds to the JSON property `url` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/youtube_v3/classes.rb, line 2877 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/youtube_v3/classes.rb, line 2882 def update!(**args) @id = args[:id] if args.key?(:id) @type_id = args[:type_id] if args.key?(:type_id) @url = args[:url] if args.key?(:url) end