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.



18072
18073
18074
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 18072

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)


18059
18060
18061
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 18059

def broadcast_id
  @broadcast_id
end

#channel_idString

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

Returns:

  • (String)


18064
18065
18066
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 18064

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)


18070
18071
18072
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 18070

def view_url
  @view_url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18077
18078
18079
18080
18081
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 18077

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