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.



3462
3463
3464
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3462

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)


3455
3456
3457
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3455

def connection_state
  @connection_state
end

#guidString

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

Returns:

  • (String)


3460
3461
3462
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3460

def guid
  @guid
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3467
3468
3469
3470
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3467

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