Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent

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

TelemetryNetworkConnectionStateChangeEvent is triggered on network connection state changes. * Granular permission needed: TELEMETRY_API_NETWORK_REPORT

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent

Returns a new instance of GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent.



3558
3559
3560
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3558

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

Instance Attribute Details

#connection_stateString

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

Returns:

  • (String)


3551
3552
3553
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3551

def connection_state
  @connection_state
end

#guidString

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

Returns:

  • (String)


3556
3557
3558
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3556

def guid
  @guid
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3563
3564
3565
3566
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3563

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