Class: Google::Apis::YoutubePartnerV1::LiveCuepoint

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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ LiveCuepoint

Returns a new instance of LiveCuepoint.



1843
1844
1845
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1843

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

Instance Attribute Details

#broadcast_idString

The ID that YouTube assigns to uniquely identify the broadcast into which the cuepoint is being inserted. Corresponds to the JSON property broadcastId

Returns:

  • (String)


1825
1826
1827
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1825

def broadcast_id
  @broadcast_id
end

#idString

A value that YouTube assigns to uniquely identify the cuepoint. Corresponds to the JSON property id

Returns:

  • (String)


1830
1831
1832
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1830

def id
  @id
end

#kindString

The type of the API resource. For liveCuepoint resources, the value is youtubePartner#liveCuepoint. Corresponds to the JSON property kind

Returns:

  • (String)


1836
1837
1838
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1836

def kind
  @kind
end

#settingsGoogle::Apis::YoutubePartnerV1::CuepointSettings

The settings object defines the cuepoint's settings. Corresponds to the JSON property settings



1841
1842
1843
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1841

def settings
  @settings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1848
1849
1850
1851
1852
1853
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1848

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