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.



2532
2533
2534
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2532

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)


2525
2526
2527
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2525

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)


2530
2531
2532
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2530

def report_time
  @report_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2537
2538
2539
2540
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2537

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