Class: Google::Apis::CloudsearchV1::StreamingSessionInfo
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::StreamingSessionInfo
- 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 streaming session in conference.
Instance Attribute Summary collapse
-
#application_type ⇒ String
The application type of the current streaming session.
-
#latest_session_event ⇒ Google::Apis::CloudsearchV1::SessionEvent
A session event is something that happens to the streaming session in a conference.
-
#owner_display_name ⇒ String
The display name of the owner of the recording output.
-
#session_id ⇒ String
This is the REST name and unique identifier of this streaming session and has the form
spaces//recordings/This is returned whenever status is eitherSTARTINGorSTARTED. -
#status ⇒ String
The current status of this streaming session.
-
#training_enabled ⇒ Boolean
(also: #training_enabled?)
When true, this recording may be used for training new transcription models.
-
#viewer_access_policy ⇒ String
The policy that controls who can view the broadcast.
-
#viewer_stats ⇒ Google::Apis::CloudsearchV1::StreamViewerStats
Information about viewers of the stream.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StreamingSessionInfo
constructor
A new instance of StreamingSessionInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ StreamingSessionInfo
Returns a new instance of StreamingSessionInfo.
18767 18768 18769 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 18767 def initialize(**args) update!(**args) end |
Instance Attribute Details
#application_type ⇒ String
The application type of the current streaming session.
Corresponds to the JSON property applicationType
18722 18723 18724 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 18722 def application_type @application_type end |
#latest_session_event ⇒ Google::Apis::CloudsearchV1::SessionEvent
A session event is something that happens to the streaming session in a
conference.
Corresponds to the JSON property latestSessionEvent
18728 18729 18730 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 18728 def latest_session_event @latest_session_event end |
#owner_display_name ⇒ String
The display name of the owner of the recording output. It's only set when
there will be uploaded recordings. Currently, it's only set when application
type is RECORDING or GLIVE_STREAM.
Corresponds to the JSON property ownerDisplayName
18735 18736 18737 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 18735 def owner_display_name @owner_display_name end |
#session_id ⇒ String
This is the REST name and unique identifier of this streaming session and has
the form spaces//recordings/ This is returned whenever status is either
STARTING or STARTED.
Corresponds to the JSON property sessionId
18742 18743 18744 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 18742 def session_id @session_id end |
#status ⇒ String
The current status of this streaming session. This can be used by clients to
show session status indicator and/or notification.
Corresponds to the JSON property status
18748 18749 18750 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 18748 def status @status end |
#training_enabled ⇒ Boolean Also known as: training_enabled?
When true, this recording may be used for training new transcription models.
Corresponds to the JSON property trainingEnabled
18753 18754 18755 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 18753 def training_enabled @training_enabled end |
#viewer_access_policy ⇒ String
The policy that controls who can view the broadcast. This setting applies for
broadcast session.
Corresponds to the JSON property viewerAccessPolicy
18760 18761 18762 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 18760 def viewer_access_policy @viewer_access_policy end |
#viewer_stats ⇒ Google::Apis::CloudsearchV1::StreamViewerStats
Information about viewers of the stream.
Corresponds to the JSON property viewerStats
18765 18766 18767 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 18765 def viewer_stats @viewer_stats end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18772 18773 18774 18775 18776 18777 18778 18779 18780 18781 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 18772 def update!(**args) @application_type = args[:application_type] if args.key?(:application_type) @latest_session_event = args[:latest_session_event] if args.key?(:latest_session_event) @owner_display_name = args[:owner_display_name] if args.key?(:owner_display_name) @session_id = args[:session_id] if args.key?(:session_id) @status = args[:status] if args.key?(:status) @training_enabled = args[:training_enabled] if args.key?(:training_enabled) @viewer_access_policy = args[:viewer_access_policy] if args.key?(:viewer_access_policy) @viewer_stats = args[:viewer_stats] if args.key?(:viewer_stats) end |