Class: Google::Apis::YoutubeV3::VideoMonetizationDetails
- Inherits:
-
Object
- Object
- Google::Apis::YoutubeV3::VideoMonetizationDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/youtube_v3/classes.rb,
generated/google/apis/youtube_v3/representations.rb,
generated/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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ VideoMonetizationDetails
Returns a new instance of VideoMonetizationDetails.
7785 7786 7787 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 7785 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
7783 7784 7785 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 7783 def access @access end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7790 7791 7792 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 7790 def update!(**args) @access = args[:access] if args.key?(:access) end |