Class: Google::Apis::CloudsearchV1::YouTubeBroadcastSessionInfo

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 a YouTube broadcast session.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ YouTubeBroadcastSessionInfo

Returns a new instance of YouTubeBroadcastSessionInfo.



22147
22148
22149
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 22147

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

Instance Attribute Details

#broadcast_statsGoogle::Apis::CloudsearchV1::YouTubeBroadcastStats

Statistics of the YouTube broadcast session. Corresponds to the JSON property broadcastStats



22129
22130
22131
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 22129

def broadcast_stats
  @broadcast_stats
end

#session_state_infoGoogle::Apis::CloudsearchV1::SessionStateInfo

Information about the state of a (recording, broadcast, transcription...) session in a conference. Corresponds to the JSON property sessionStateInfo



22135
22136
22137
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 22135

def session_state_info
  @session_state_info
end

#you_tube_broadcast_session_idString

A unique server-generated ID for the broadcast session. Corresponds to the JSON property youTubeBroadcastSessionId

Returns:

  • (String)


22140
22141
22142
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 22140

def you_tube_broadcast_session_id
  @you_tube_broadcast_session_id
end

#you_tube_live_broadcast_eventGoogle::Apis::CloudsearchV1::YouTubeLiveBroadcastEvent

Information about the broadcast to YouTube. Corresponds to the JSON property youTubeLiveBroadcastEvent



22145
22146
22147
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 22145

def you_tube_live_broadcast_event
  @you_tube_live_broadcast_event
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



22152
22153
22154
22155
22156
22157
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 22152

def update!(**args)
  @broadcast_stats = args[:broadcast_stats] if args.key?(:broadcast_stats)
  @session_state_info = args[:session_state_info] if args.key?(:session_state_info)
  @you_tube_broadcast_session_id = args[:you_tube_broadcast_session_id] if args.key?(:you_tube_broadcast_session_id)
  @you_tube_live_broadcast_event = args[:you_tube_live_broadcast_event] if args.key?(:you_tube_live_broadcast_event)
end