Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent
- Inherits:
-
Object
- Object
- Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent
- 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
-
#connection_state ⇒ String
Current connection state of the network.
-
#guid ⇒ String
Unique identifier of the network.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent
constructor
A new instance of GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_state ⇒ String
Current connection state of the network.
Corresponds to the JSON property connectionState
3455 3456 3457 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3455 def connection_state @connection_state end |
#guid ⇒ String
Unique identifier of the network.
Corresponds to the JSON property guid
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 |