Class: Google::Apis::CloudsearchV1::StreamViewerStats
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::StreamViewerStats
- 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 viewers of the stream.
Instance Attribute Summary collapse
-
#estimated_viewer_count ⇒ Fixnum
The estimate of the current viewer count.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StreamViewerStats
constructor
A new instance of StreamViewerStats.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ StreamViewerStats
Returns a new instance of StreamViewerStats.
19433 19434 19435 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 19433 def initialize(**args) update!(**args) end |
Instance Attribute Details
#estimated_viewer_count ⇒ Fixnum
The estimate of the current viewer count.
Corresponds to the JSON property estimatedViewerCount
19431 19432 19433 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 19431 def estimated_viewer_count @estimated_viewer_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
19438 19439 19440 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 19438 def update!(**args) @estimated_viewer_count = args[:estimated_viewer_count] if args.key?(:estimated_viewer_count) end |