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.



3584
3585
3586
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3584

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

Instance Attribute Details

#guidString

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

Returns:

  • (String)


3577
3578
3579
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3577

def guid
  @guid
end

#signal_strength_dbmFixnum

Signal strength RSSI value. Corresponds to the JSON property signalStrengthDbm

Returns:

  • (Fixnum)


3582
3583
3584
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3582

def signal_strength_dbm
  @signal_strength_dbm
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3589
3590
3591
3592
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3589

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