Class: Google::Apis::YoutubeV3::VideoMonetizationDetails

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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ VideoMonetizationDetails

Returns a new instance of VideoMonetizationDetails



8014
8015
8016
# File 'generated/google/apis/youtube_v3/classes.rb', line 8014

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

Instance Attribute Details

#accessGoogle::Apis::YoutubeV3::AccessPolicy

Rights management policy for YouTube resources. Corresponds to the JSON property access



8012
8013
8014
# File 'generated/google/apis/youtube_v3/classes.rb', line 8012

def access
  @access
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8019
8020
8021
# File 'generated/google/apis/youtube_v3/classes.rb', line 8019

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