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.



22413
22414
22415
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 22413

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

Instance Attribute Details

#brand_account_gaia_idString

Input only. If the channel_id is for a YouTube Channel owned by a Brand Account, client is required to populate this field with the obfuscated gaia id of the Brand account when starting the broadcast. Corresponds to the JSON property brandAccountGaiaId

Returns:

  • (String)


22394
22395
22396
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 22394

def 
  @brand_account_gaia_id
end

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


22400
22401
22402
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 22400

def broadcast_id
  @broadcast_id
end

#channel_idString

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

Returns:

  • (String)


22405
22406
22407
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 22405

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)


22411
22412
22413
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 22411

def view_url
  @view_url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



22418
22419
22420
22421
22422
22423
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 22418

def update!(**args)
  @brand_account_gaia_id = args[:brand_account_gaia_id] if args.key?(:brand_account_gaia_id)
  @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