Class: Google::Apis::CloudsearchV1::YouTubeLiveBroadcastEvent
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::YouTubeLiveBroadcastEvent
- 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
-
#broadcast_id ⇒ String
Input only.
-
#channel_id ⇒ String
YouTube channel associated with the broadcast.
-
#view_url ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ YouTubeLiveBroadcastEvent
constructor
A new instance of YouTubeLiveBroadcastEvent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ YouTubeLiveBroadcastEvent
Returns a new instance of YouTubeLiveBroadcastEvent.
21414 21415 21416 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 21414 def initialize(**args) update!(**args) end |
Instance Attribute Details
#broadcast_id ⇒ String
Input only. The broadcast id, used to control the lifecycle of the event on
YouTube
Corresponds to the JSON property broadcastId
21401 21402 21403 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 21401 def broadcast_id @broadcast_id end |
#channel_id ⇒ String
YouTube channel associated with the broadcast.
Corresponds to the JSON property channelId
21406 21407 21408 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 21406 def channel_id @channel_id end |
#view_url ⇒ String
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
21412 21413 21414 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 21412 def view_url @view_url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
21419 21420 21421 21422 21423 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 21419 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 |