Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1NetworkBandwidthReport

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/chromemanagement_v1/classes.rb,
lib/google/apis/chromemanagement_v1/representations.rb,
lib/google/apis/chromemanagement_v1/representations.rb

Overview

Network bandwidth report. * Granular permission needed: TELEMETRY_API_NETWORK_REPORT

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementV1NetworkBandwidthReport

Returns a new instance of GoogleChromeManagementV1NetworkBandwidthReport.



2307
2308
2309
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2307

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

Instance Attribute Details

#download_speed_kbpsFixnum

Output only. Download speed in kilobits per second. Corresponds to the JSON property downloadSpeedKbps

Returns:

  • (Fixnum)


2300
2301
2302
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2300

def download_speed_kbps
  @download_speed_kbps
end

#report_timeString

Output only. Timestamp of when the report was collected. Corresponds to the JSON property reportTime

Returns:

  • (String)


2305
2306
2307
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2305

def report_time
  @report_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2312
2313
2314
2315
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2312

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