Class: Google::Apis::YoutubeV3::VideoMonetizationDetails
- Inherits:
-
Object
- Object
- Google::Apis::YoutubeV3::VideoMonetizationDetails
- 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
Overview
Details about monetization of a YouTube Video.
Instance Attribute Summary collapse
-
#access ⇒ Google::Apis::YoutubeV3::AccessPolicy
Rights management policy for YouTube resources.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VideoMonetizationDetails
constructor
A new instance of VideoMonetizationDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VideoMonetizationDetails
Returns a new instance of VideoMonetizationDetails.
8614 8615 8616 |
# File 'lib/google/apis/youtube_v3/classes.rb', line 8614 def initialize(**args) update!(**args) end |
Instance Attribute Details
#access ⇒ Google::Apis::YoutubeV3::AccessPolicy
Rights management policy for YouTube resources.
Corresponds to the JSON property access
8612 8613 8614 |
# File 'lib/google/apis/youtube_v3/classes.rb', line 8612 def access @access end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8619 8620 8621 |
# File 'lib/google/apis/youtube_v3/classes.rb', line 8619 def update!(**args) @access = args[:access] if args.key?(:access) end |