Class: Google::Apis::YoutubePartnerV1::LiveCuepoint
- Inherits:
-
Object
- Object
- Google::Apis::YoutubePartnerV1::LiveCuepoint
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/youtube_partner_v1/classes.rb,
generated/google/apis/youtube_partner_v1/representations.rb,
generated/google/apis/youtube_partner_v1/representations.rb
Instance Attribute Summary collapse
-
#broadcast_id ⇒ String
The ID that YouTube assigns to uniquely identify the broadcast into which the cuepoint is being inserted.
-
#id ⇒ String
A value that YouTube assigns to uniquely identify the cuepoint.
-
#kind ⇒ String
The type of the API resource.
-
#settings ⇒ Google::Apis::YoutubePartnerV1::CuepointSettings
The settings object defines the cuepoint's settings.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LiveCuepoint
constructor
A new instance of LiveCuepoint.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LiveCuepoint
Returns a new instance of LiveCuepoint.
1882 1883 1884 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1882 def initialize(**args) update!(**args) end |
Instance Attribute Details
#broadcast_id ⇒ String
The ID that YouTube assigns to uniquely identify the broadcast into which the
cuepoint is being inserted.
Corresponds to the JSON property broadcastId
1864 1865 1866 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1864 def broadcast_id @broadcast_id end |
#id ⇒ String
A value that YouTube assigns to uniquely identify the cuepoint.
Corresponds to the JSON property id
1869 1870 1871 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1869 def id @id end |
#kind ⇒ String
The type of the API resource. For liveCuepoint resources, the value is
youtubePartner#liveCuepoint.
Corresponds to the JSON property kind
1875 1876 1877 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1875 def kind @kind end |
#settings ⇒ Google::Apis::YoutubePartnerV1::CuepointSettings
The settings object defines the cuepoint's settings.
Corresponds to the JSON property settings
1880 1881 1882 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1880 def settings @settings end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1887 1888 1889 1890 1891 1892 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1887 def update!(**args) @broadcast_id = args[:broadcast_id] if args.key?(:broadcast_id) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @settings = args[:settings] if args.key?(:settings) end |