Class: Google::Apis::CloudsearchV1::BroadcastStats
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::BroadcastStats
- 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
Statistics of the broadcast session.
Instance Attribute Summary collapse
-
#estimated_viewer_count ⇒ Fixnum
Estimated concurrent viewer count.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BroadcastStats
constructor
A new instance of BroadcastStats.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BroadcastStats
Returns a new instance of BroadcastStats.
5332 5333 5334 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5332 def initialize(**args) update!(**args) end |
Instance Attribute Details
#estimated_viewer_count ⇒ Fixnum
Estimated concurrent viewer count.
Corresponds to the JSON property estimatedViewerCount
5330 5331 5332 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5330 def estimated_viewer_count @estimated_viewer_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5337 5338 5339 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5337 def update!(**args) @estimated_viewer_count = args[:estimated_viewer_count] if args.key?(:estimated_viewer_count) end |