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.



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

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)


2294
2295
2296
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2294

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)


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

def report_time
  @report_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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