Class: Google::Apis::CloudsearchV1::YouTubeBroadcastStats

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

Statistics of the YouTube broadcast session.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ YouTubeBroadcastStats

Returns a new instance of YouTubeBroadcastStats.



19042
19043
19044
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 19042

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

Instance Attribute Details

#estimated_viewer_countFixnum

Estimated concurrent viewer count. Corresponds to the JSON property estimatedViewerCount

Returns:

  • (Fixnum)


19040
19041
19042
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 19040

def estimated_viewer_count
  @estimated_viewer_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



19047
19048
19049
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 19047

def update!(**args)
  @estimated_viewer_count = args[:estimated_viewer_count] if args.key?(:estimated_viewer_count)
end