class Google::Apis::YoutubePartnerV1::AssetShare
Attributes
kind[RW]
The type of the API resource. For this resource, the value is youtubePartner# assetShare. Corresponds to the JSON property `kind` @return [String]
view_id[RW]
A value that YouTube assigns and uses to uniquely identify the asset view. Corresponds to the JSON property `viewId` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/youtube_partner_v1/classes.rb, line 430 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_partner_v1/classes.rb, line 435 def update!(**args) @kind = args[:kind] if args.key?(:kind) @share_id = args[:share_id] if args.key?(:share_id) @view_id = args[:view_id] if args.key?(:view_id) end