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.



2463
2464
2465
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2463

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)


2456
2457
2458
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2456

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)


2461
2462
2463
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2461

def report_time
  @report_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2468
2469
2470
2471
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2468

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