Class: Google::Apis::CloudsearchV1::YouTubeLiveBroadcastEvent

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb

Overview

Information about the broadcast to YouTube.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ YouTubeLiveBroadcastEvent

Returns a new instance of YouTubeLiveBroadcastEvent.



18207
18208
18209
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 18207

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

Instance Attribute Details

#broadcast_idString

Input only. The broadcast id, used to control the lifecycle of the event on YouTube Corresponds to the JSON property broadcastId

Returns:

  • (String)


18194
18195
18196
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 18194

def broadcast_id
  @broadcast_id
end

#channel_idString

YouTube channel associated with the broadcast. Corresponds to the JSON property channelId

Returns:

  • (String)


18199
18200
18201
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 18199

def channel_id
  @channel_id
end

#view_urlString

Output only. A URL that can be used to watch the meeting broadcast. Will be populated by the backend. Corresponds to the JSON property viewUrl

Returns:

  • (String)


18205
18206
18207
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 18205

def view_url
  @view_url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18212
18213
18214
18215
18216
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 18212

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