Class: Google::Apis::HomegraphV1::DeviceBlameStruct
- Inherits:
-
Object
- Object
- Google::Apis::HomegraphV1::DeviceBlameStruct
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/homegraph_v1/classes.rb,
lib/google/apis/homegraph_v1/representations.rb,
lib/google/apis/homegraph_v1/representations.rb
Overview
Contains metadata about the cause of presence state change attributed to a device.
Instance Attribute Summary collapse
-
#blame_type ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DeviceBlameStruct
constructor
A new instance of DeviceBlameStruct.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DeviceBlameStruct
Returns a new instance of DeviceBlameStruct.
291 292 293 |
# File 'lib/google/apis/homegraph_v1/classes.rb', line 291 def initialize(**args) update!(**args) end |
Instance Attribute Details
#blame_type ⇒ String
Required. Specifies the device blame type.
Corresponds to the JSON property blameType
289 290 291 |
# File 'lib/google/apis/homegraph_v1/classes.rb', line 289 def blame_type @blame_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
296 297 298 |
# File 'lib/google/apis/homegraph_v1/classes.rb', line 296 def update!(**args) @blame_type = args[:blame_type] if args.key?(:blame_type) end |