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

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_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)


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

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)


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

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)


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

def kind
  @kind
end

#settingsGoogle::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