Class: Google::Apis::CloudsearchV1::YouTubeBroadcastStats
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::YouTubeBroadcastStats
- 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 YouTube broadcast session.
Instance Attribute Summary collapse
-
#estimated_viewer_count ⇒ Fixnum
Estimated concurrent viewer count.
Instance Method Summary collapse
-
#initialize(**args) ⇒ YouTubeBroadcastStats
constructor
A new instance of YouTubeBroadcastStats.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ YouTubeBroadcastStats
Returns a new instance of YouTubeBroadcastStats.
22169 22170 22171 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 22169 def initialize(**args) update!(**args) end |
Instance Attribute Details
#estimated_viewer_count ⇒ Fixnum
Estimated concurrent viewer count.
Corresponds to the JSON property estimatedViewerCount
22167 22168 22169 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 22167 def estimated_viewer_count @estimated_viewer_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
22174 22175 22176 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 22174 def update!(**args) @estimated_viewer_count = args[:estimated_viewer_count] if args.key?(:estimated_viewer_count) end |