Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryNetworkSignalStrengthEvent

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

TelemetryNetworkSignalStrengthEvent is triggered on WiFi signal strength events. * Granular permission needed: TELEMETRY_API_NETWORK_REPORT

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementV1TelemetryNetworkSignalStrengthEvent

Returns a new instance of GoogleChromeManagementV1TelemetryNetworkSignalStrengthEvent.



3488
3489
3490
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3488

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

Instance Attribute Details

#guidString

Unique identifier of the network. Corresponds to the JSON property guid

Returns:

  • (String)


3481
3482
3483
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3481

def guid
  @guid
end

#signal_strength_dbmFixnum

Signal strength RSSI value. Corresponds to the JSON property signalStrengthDbm

Returns:

  • (Fixnum)


3486
3487
3488
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3486

def signal_strength_dbm
  @signal_strength_dbm
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3493
3494
3495
3496
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3493

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