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



1876
1877
1878
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1876

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)


1858
1859
1860
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1858

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)


1863
1864
1865
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1863

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)


1869
1870
1871
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1869

def kind
  @kind
end

#settingsGoogle::Apis::YoutubePartnerV1::CuepointSettings

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



1874
1875
1876
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1874

def settings
  @settings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1881
1882
1883
1884
1885
1886
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1881

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