Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1NetworkStatusReport

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

State of visible/configured networks.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementV1NetworkStatusReport

Returns a new instance of GoogleChromeManagementV1NetworkStatusReport.



1627
1628
1629
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1627

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

Instance Attribute Details

#connection_stateString

Output only. Current connection state of the network. Corresponds to the JSON property connectionState

Returns:

  • (String)


1557
1558
1559
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1557

def connection_state
  @connection_state
end

#connection_typeString

Output only. Network connection type. Corresponds to the JSON property connectionType

Returns:

  • (String)


1562
1563
1564
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1562

def connection_type
  @connection_type
end

#encryption_onBoolean Also known as: encryption_on?

Output only. Whether the wifi encryption key is turned off. Corresponds to the JSON property encryptionOn

Returns:

  • (Boolean)


1567
1568
1569
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1567

def encryption_on
  @encryption_on
end

#gateway_ip_addressString

Output only. Gateway IP address. Corresponds to the JSON property gatewayIpAddress

Returns:

  • (String)


1573
1574
1575
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1573

def gateway_ip_address
  @gateway_ip_address
end

#guidString

Output only. Network connection guid. Corresponds to the JSON property guid

Returns:

  • (String)


1578
1579
1580
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1578

def guid
  @guid
end

#lan_ip_addressString

Output only. LAN IP address. Corresponds to the JSON property lanIpAddress

Returns:

  • (String)


1583
1584
1585
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1583

def lan_ip_address
  @lan_ip_address
end

#receiving_bit_rate_mbpsFixnum

Output only. Receiving bit rate measured in Megabits per second. Corresponds to the JSON property receivingBitRateMbps

Returns:

  • (Fixnum)


1588
1589
1590
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1588

def receiving_bit_rate_mbps
  @receiving_bit_rate_mbps
end

#report_timeString

Output only. Time at which the network state was reported. Corresponds to the JSON property reportTime

Returns:

  • (String)


1593
1594
1595
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1593

def report_time
  @report_time
end

#sample_frequencyString

Output only. Frequency the report is sampled. Corresponds to the JSON property sampleFrequency

Returns:

  • (String)


1598
1599
1600
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1598

def sample_frequency
  @sample_frequency
end

#signal_strength_dbmFixnum

Output only. Signal strength for wireless networks measured in decibels. Corresponds to the JSON property signalStrengthDbm

Returns:

  • (Fixnum)


1603
1604
1605
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1603

def signal_strength_dbm
  @signal_strength_dbm
end

#transmission_bit_rate_mbpsFixnum

Output only. Transmission bit rate measured in Megabits per second. Corresponds to the JSON property transmissionBitRateMbps

Returns:

  • (Fixnum)


1608
1609
1610
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1608

def transmission_bit_rate_mbps
  @transmission_bit_rate_mbps
end

#transmission_power_dbmFixnum

Output only. Transmission power measured in decibels. Corresponds to the JSON property transmissionPowerDbm

Returns:

  • (Fixnum)


1613
1614
1615
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1613

def transmission_power_dbm
  @transmission_power_dbm
end

Output only. Wifi link quality. Value ranges from [0, 70]. 0 indicates no signal and 70 indicates a strong signal. Corresponds to the JSON property wifiLinkQuality

Returns:

  • (Fixnum)


1619
1620
1621
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1619

def wifi_link_quality
  @wifi_link_quality
end

#wifi_power_management_enabledBoolean Also known as: wifi_power_management_enabled?

Output only. Wifi power management enabled Corresponds to the JSON property wifiPowerManagementEnabled

Returns:

  • (Boolean)


1624
1625
1626
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1624

def wifi_power_management_enabled
  @wifi_power_management_enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1632

def update!(**args)
  @connection_state = args[:connection_state] if args.key?(:connection_state)
  @connection_type = args[:connection_type] if args.key?(:connection_type)
  @encryption_on = args[:encryption_on] if args.key?(:encryption_on)
  @gateway_ip_address = args[:gateway_ip_address] if args.key?(:gateway_ip_address)
  @guid = args[:guid] if args.key?(:guid)
  @lan_ip_address = args[:lan_ip_address] if args.key?(:lan_ip_address)
  @receiving_bit_rate_mbps = args[:receiving_bit_rate_mbps] if args.key?(:receiving_bit_rate_mbps)
  @report_time = args[:report_time] if args.key?(:report_time)
  @sample_frequency = args[:sample_frequency] if args.key?(:sample_frequency)
  @signal_strength_dbm = args[:signal_strength_dbm] if args.key?(:signal_strength_dbm)
  @transmission_bit_rate_mbps = args[:transmission_bit_rate_mbps] if args.key?(:transmission_bit_rate_mbps)
  @transmission_power_dbm = args[:transmission_power_dbm] if args.key?(:transmission_power_dbm)
  @wifi_link_quality = args[:wifi_link_quality] if args.key?(:wifi_link_quality)
  @wifi_power_management_enabled = args[:wifi_power_management_enabled] if args.key?(:wifi_power_management_enabled)
end