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.
3558 3559 3560 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3558 def initialize(**args) update!(**args) end |
Instance Attribute Details
#connection_state ⇒ String
Current connection state of the network.
Corresponds to the JSON property connectionState
3551 3552 3553 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3551 def connection_state @connection_state end |
#guid ⇒ String
Unique identifier of the network.
Corresponds to the JSON property guid
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 |