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. * This field is telemetry information and this will change over time as the device is utilized. * Data for this field is controlled via policy: ReportNetworkStatus * Data Collection Frequency: 60 minutes * Default Data Reporting Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: Yes * Reported for affiliated users only: Yes * Granular permission needed: TELEMETRY_API_NETWORK_REPORT

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementV1NetworkStatusReport

Returns a new instance of GoogleChromeManagementV1NetworkStatusReport.



2686
2687
2688
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2686

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)


2593
2594
2595
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2593

def connection_state
  @connection_state
end

#connection_typeString

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

Returns:

  • (String)


2598
2599
2600
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2598

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)


2603
2604
2605
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2603

def encryption_on
  @encryption_on
end

#gateway_ip_addressString

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

Returns:

  • (String)


2609
2610
2611
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2609

def gateway_ip_address
  @gateway_ip_address
end

#gateway_ipv6_addressString

Output only. The gateway IPv6 for this interface, if detected Corresponds to the JSON property gatewayIpv6Address

Returns:

  • (String)


2614
2615
2616
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2614

def gateway_ipv6_address
  @gateway_ipv6_address
end

#guidString

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

Returns:

  • (String)


2619
2620
2621
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2619

def guid
  @guid
end

#ipv6_addressArray<String>

Output only. IPv6 addresses assigned to this network, if any. Each address is a string in standard IPv6 text representation (e.g., "2001:db8::1"). Corresponds to the JSON property ipv6Address

Returns:

  • (Array<String>)


2625
2626
2627
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2625

def ipv6_address
  @ipv6_address
end

#lan_ip_addressString

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

Returns:

  • (String)


2630
2631
2632
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2630

def lan_ip_address
  @lan_ip_address
end

Output only. The maximum downstream bandwidth in Kilobits per second (Kbps), if reported by the network interface or connection. Corresponds to the JSON property linkDownSpeedKbps

Returns:

  • (Fixnum)


2636
2637
2638
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2636

def link_down_speed_kbps
  @link_down_speed_kbps
end

#meteredBoolean Also known as: metered?

Output only. Whether the network was detected as metered. Corresponds to the JSON property metered

Returns:

  • (Boolean)


2641
2642
2643
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2641

def metered
  @metered
end

#receiving_bit_rate_mbpsFixnum

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

Returns:

  • (Fixnum)


2647
2648
2649
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2647

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)


2652
2653
2654
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2652

def report_time
  @report_time
end

#sample_frequencyString

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

Returns:

  • (String)


2657
2658
2659
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2657

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)


2662
2663
2664
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2662

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)


2667
2668
2669
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2667

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)


2672
2673
2674
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2672

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)


2678
2679
2680
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2678

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)


2683
2684
2685
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2683

def wifi_power_management_enabled
  @wifi_power_management_enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2691

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)
  @gateway_ipv6_address = args[:gateway_ipv6_address] if args.key?(:gateway_ipv6_address)
  @guid = args[:guid] if args.key?(:guid)
  @ipv6_address = args[:ipv6_address] if args.key?(:ipv6_address)
  @lan_ip_address = args[:lan_ip_address] if args.key?(:lan_ip_address)
  @link_down_speed_kbps = args[:link_down_speed_kbps] if args.key?(:link_down_speed_kbps)
  @metered = args[:metered] if args.key?(:metered)
  @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