google-apis-homegraph_v1 0.26.0 → 0.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f74f3b8554e74f75e28cd59b9c5ecd98a8f3dc49fb3abe9aa7208e6064b3bea2
|
|
4
|
+
data.tar.gz: 73f518a280b74bf840e211551a9cd47d1bd82155cd46078b4ca7d7513b0285be
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ab1df82df1ee5c8ad70a74c5c4128c59ce4b6afb8ee51572d31225ed81c76b3906166de37f5fa18efa0ec77511ec27cc39942cb2514f2746bd909db623a9db18
|
|
7
|
+
data.tar.gz: 560c72a9a3229e9820cb9739c03d84e840a2df192d99111ffaaa240d0e2ee6aeb99b394f5b9cd28735ac76eef0351bae7d3214eb2566b37bca65f7145caa6964
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-homegraph_v1
|
|
2
2
|
|
|
3
|
+
### v0.28.0 (2026-05-17)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260508
|
|
6
|
+
|
|
7
|
+
### v0.27.0 (2026-04-19)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20260414
|
|
10
|
+
|
|
3
11
|
### v0.26.0 (2025-07-27)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20250716
|
|
@@ -66,6 +66,31 @@ module Google
|
|
|
66
66
|
end
|
|
67
67
|
end
|
|
68
68
|
|
|
69
|
+
# Contains the set of updates for a component.
|
|
70
|
+
class ComponentTraitUpdates
|
|
71
|
+
include Google::Apis::Core::Hashable
|
|
72
|
+
|
|
73
|
+
# Required. ID of the component from the device provider.
|
|
74
|
+
# Corresponds to the JSON property `componentId`
|
|
75
|
+
# @return [String]
|
|
76
|
+
attr_accessor :component_id
|
|
77
|
+
|
|
78
|
+
# Required. The updated trait data for the component.
|
|
79
|
+
# Corresponds to the JSON property `traitData`
|
|
80
|
+
# @return [Array<Google::Apis::HomegraphV1::TraitData>]
|
|
81
|
+
attr_accessor :trait_data
|
|
82
|
+
|
|
83
|
+
def initialize(**args)
|
|
84
|
+
update!(**args)
|
|
85
|
+
end
|
|
86
|
+
|
|
87
|
+
# Update properties of this object
|
|
88
|
+
def update!(**args)
|
|
89
|
+
@component_id = args[:component_id] if args.key?(:component_id)
|
|
90
|
+
@trait_data = args[:trait_data] if args.key?(:trait_data)
|
|
91
|
+
end
|
|
92
|
+
end
|
|
93
|
+
|
|
69
94
|
# Third-party device definition.
|
|
70
95
|
class Device
|
|
71
96
|
include Google::Apis::Core::Hashable
|
|
@@ -205,6 +230,26 @@ module Google
|
|
|
205
230
|
end
|
|
206
231
|
end
|
|
207
232
|
|
|
233
|
+
# Metadata for traits of a single device.
|
|
234
|
+
class DeviceMetadata
|
|
235
|
+
include Google::Apis::Core::Hashable
|
|
236
|
+
|
|
237
|
+
# Map from the Trait ID (e.g., "action.devices.traits.OnOff") to its last
|
|
238
|
+
# Spanner commit timestamp.
|
|
239
|
+
# Corresponds to the JSON property `traitCommitTimestamps`
|
|
240
|
+
# @return [Hash<String,String>]
|
|
241
|
+
attr_accessor :trait_commit_timestamps
|
|
242
|
+
|
|
243
|
+
def initialize(**args)
|
|
244
|
+
update!(**args)
|
|
245
|
+
end
|
|
246
|
+
|
|
247
|
+
# Update properties of this object
|
|
248
|
+
def update!(**args)
|
|
249
|
+
@trait_commit_timestamps = args[:trait_commit_timestamps] if args.key?(:trait_commit_timestamps)
|
|
250
|
+
end
|
|
251
|
+
end
|
|
252
|
+
|
|
208
253
|
# Identifiers used to describe the device.
|
|
209
254
|
class DeviceNames
|
|
210
255
|
include Google::Apis::Core::Hashable
|
|
@@ -255,6 +300,113 @@ module Google
|
|
|
255
300
|
end
|
|
256
301
|
end
|
|
257
302
|
|
|
303
|
+
# Contains the details for a single event.
|
|
304
|
+
class EventData
|
|
305
|
+
include Google::Apis::Core::Hashable
|
|
306
|
+
|
|
307
|
+
# Required. The actual event payload.
|
|
308
|
+
# Corresponds to the JSON property `event`
|
|
309
|
+
# @return [Hash<String,Object>]
|
|
310
|
+
attr_accessor :event
|
|
311
|
+
|
|
312
|
+
# Required. The unique event ID from the device provider.
|
|
313
|
+
# Corresponds to the JSON property `eventId`
|
|
314
|
+
# @return [String]
|
|
315
|
+
attr_accessor :event_id
|
|
316
|
+
|
|
317
|
+
# Required. The timestamp of the event.
|
|
318
|
+
# Corresponds to the JSON property `eventTime`
|
|
319
|
+
# @return [String]
|
|
320
|
+
attr_accessor :event_time
|
|
321
|
+
|
|
322
|
+
def initialize(**args)
|
|
323
|
+
update!(**args)
|
|
324
|
+
end
|
|
325
|
+
|
|
326
|
+
# Update properties of this object
|
|
327
|
+
def update!(**args)
|
|
328
|
+
@event = args[:event] if args.key?(:event)
|
|
329
|
+
@event_id = args[:event_id] if args.key?(:event_id)
|
|
330
|
+
@event_time = args[:event_time] if args.key?(:event_time)
|
|
331
|
+
end
|
|
332
|
+
end
|
|
333
|
+
|
|
334
|
+
# Contains a set of events for a specific component.
|
|
335
|
+
class Events
|
|
336
|
+
include Google::Apis::Core::Hashable
|
|
337
|
+
|
|
338
|
+
# Optional. The ID of the provider component if the events are associated with a
|
|
339
|
+
# specific component. Optional for WHDM events, required for UDDM events.
|
|
340
|
+
# Corresponds to the JSON property `componentId`
|
|
341
|
+
# @return [String]
|
|
342
|
+
attr_accessor :component_id
|
|
343
|
+
|
|
344
|
+
# Required. List of events associated with the component.
|
|
345
|
+
# Corresponds to the JSON property `events`
|
|
346
|
+
# @return [Array<Google::Apis::HomegraphV1::EventData>]
|
|
347
|
+
attr_accessor :events
|
|
348
|
+
|
|
349
|
+
def initialize(**args)
|
|
350
|
+
update!(**args)
|
|
351
|
+
end
|
|
352
|
+
|
|
353
|
+
# Update properties of this object
|
|
354
|
+
def update!(**args)
|
|
355
|
+
@component_id = args[:component_id] if args.key?(:component_id)
|
|
356
|
+
@events = args[:events] if args.key?(:events)
|
|
357
|
+
end
|
|
358
|
+
end
|
|
359
|
+
|
|
360
|
+
# Contains the set of events for an item.
|
|
361
|
+
class HomeEvents
|
|
362
|
+
include Google::Apis::Core::Hashable
|
|
363
|
+
|
|
364
|
+
# Required. / Unique identifier for the device.
|
|
365
|
+
# Corresponds to the JSON property `deviceId`
|
|
366
|
+
# @return [String]
|
|
367
|
+
attr_accessor :device_id
|
|
368
|
+
|
|
369
|
+
# Required. List of events for the item.
|
|
370
|
+
# Corresponds to the JSON property `events`
|
|
371
|
+
# @return [Array<Google::Apis::HomegraphV1::Events>]
|
|
372
|
+
attr_accessor :events
|
|
373
|
+
|
|
374
|
+
def initialize(**args)
|
|
375
|
+
update!(**args)
|
|
376
|
+
end
|
|
377
|
+
|
|
378
|
+
# Update properties of this object
|
|
379
|
+
def update!(**args)
|
|
380
|
+
@device_id = args[:device_id] if args.key?(:device_id)
|
|
381
|
+
@events = args[:events] if args.key?(:events)
|
|
382
|
+
end
|
|
383
|
+
end
|
|
384
|
+
|
|
385
|
+
# Contains the set of updates for a device.
|
|
386
|
+
class HomeTraitUpdates
|
|
387
|
+
include Google::Apis::Core::Hashable
|
|
388
|
+
|
|
389
|
+
# Required. Trait updates for each component.
|
|
390
|
+
# Corresponds to the JSON property `components`
|
|
391
|
+
# @return [Array<Google::Apis::HomegraphV1::ComponentTraitUpdates>]
|
|
392
|
+
attr_accessor :components
|
|
393
|
+
|
|
394
|
+
# Required. Unique identifier for the device.
|
|
395
|
+
# Corresponds to the JSON property `deviceId`
|
|
396
|
+
# @return [String]
|
|
397
|
+
attr_accessor :device_id
|
|
398
|
+
|
|
399
|
+
def initialize(**args)
|
|
400
|
+
update!(**args)
|
|
401
|
+
end
|
|
402
|
+
|
|
403
|
+
# Update properties of this object
|
|
404
|
+
def update!(**args)
|
|
405
|
+
@components = args[:components] if args.key?(:components)
|
|
406
|
+
@device_id = args[:device_id] if args.key?(:device_id)
|
|
407
|
+
end
|
|
408
|
+
end
|
|
409
|
+
|
|
258
410
|
# Request type for the [`Query`](#google.home.graph.v1.HomeGraphApiService.Query)
|
|
259
411
|
# call.
|
|
260
412
|
class QueryRequest
|
|
@@ -265,6 +417,13 @@ module Google
|
|
|
265
417
|
# @return [String]
|
|
266
418
|
attr_accessor :agent_user_id
|
|
267
419
|
|
|
420
|
+
# Optional. If true, the response will include device metadata in the
|
|
421
|
+
# device_metadata field.
|
|
422
|
+
# Corresponds to the JSON property `includeDeviceMetadata`
|
|
423
|
+
# @return [Boolean]
|
|
424
|
+
attr_accessor :include_device_metadata
|
|
425
|
+
alias_method :include_device_metadata?, :include_device_metadata
|
|
426
|
+
|
|
268
427
|
# Required. Inputs containing third-party device IDs for which to get the device
|
|
269
428
|
# states.
|
|
270
429
|
# Corresponds to the JSON property `inputs`
|
|
@@ -283,6 +442,7 @@ module Google
|
|
|
283
442
|
# Update properties of this object
|
|
284
443
|
def update!(**args)
|
|
285
444
|
@agent_user_id = args[:agent_user_id] if args.key?(:agent_user_id)
|
|
445
|
+
@include_device_metadata = args[:include_device_metadata] if args.key?(:include_device_metadata)
|
|
286
446
|
@inputs = args[:inputs] if args.key?(:inputs)
|
|
287
447
|
@request_id = args[:request_id] if args.key?(:request_id)
|
|
288
448
|
end
|
|
@@ -361,6 +521,13 @@ module Google
|
|
|
361
521
|
class QueryResponsePayload
|
|
362
522
|
include Google::Apis::Core::Hashable
|
|
363
523
|
|
|
524
|
+
# Map from the Trait ID (e.g., "action.devices.traits.OnOff") to its last
|
|
525
|
+
# Spanner commit timestamp. If a trait has no recorded timestamp, it will be
|
|
526
|
+
# omitted from this map.
|
|
527
|
+
# Corresponds to the JSON property `deviceMetadata`
|
|
528
|
+
# @return [Hash<String,Google::Apis::HomegraphV1::DeviceMetadata>]
|
|
529
|
+
attr_accessor :device_metadata
|
|
530
|
+
|
|
364
531
|
# States of the devices. Map of third-party device ID to struct of device states.
|
|
365
532
|
# Corresponds to the JSON property `devices`
|
|
366
533
|
# @return [Hash<String,Hash<String,Object>>]
|
|
@@ -372,6 +539,7 @@ module Google
|
|
|
372
539
|
|
|
373
540
|
# Update properties of this object
|
|
374
541
|
def update!(**args)
|
|
542
|
+
@device_metadata = args[:device_metadata] if args.key?(:device_metadata)
|
|
375
543
|
@devices = args[:devices] if args.key?(:devices)
|
|
376
544
|
end
|
|
377
545
|
end
|
|
@@ -380,6 +548,16 @@ module Google
|
|
|
380
548
|
class ReportStateAndNotificationDevice
|
|
381
549
|
include Google::Apis::Core::Hashable
|
|
382
550
|
|
|
551
|
+
# Optional. UDDM/WHDM trait events
|
|
552
|
+
# Corresponds to the JSON property `homeEvents`
|
|
553
|
+
# @return [Array<Google::Apis::HomegraphV1::HomeEvents>]
|
|
554
|
+
attr_accessor :home_events
|
|
555
|
+
|
|
556
|
+
# Optional. UDDM/WHDM trait updates.
|
|
557
|
+
# Corresponds to the JSON property `homeTraits`
|
|
558
|
+
# @return [Array<Google::Apis::HomegraphV1::HomeTraitUpdates>]
|
|
559
|
+
attr_accessor :home_traits
|
|
560
|
+
|
|
383
561
|
# Notifications metadata for devices. See the **Device NOTIFICATIONS** section
|
|
384
562
|
# of the individual trait [reference guides](https://developers.home.google.com/
|
|
385
563
|
# cloud-to-cloud/traits).
|
|
@@ -400,6 +578,8 @@ module Google
|
|
|
400
578
|
|
|
401
579
|
# Update properties of this object
|
|
402
580
|
def update!(**args)
|
|
581
|
+
@home_events = args[:home_events] if args.key?(:home_events)
|
|
582
|
+
@home_traits = args[:home_traits] if args.key?(:home_traits)
|
|
403
583
|
@notifications = args[:notifications] if args.key?(:notifications)
|
|
404
584
|
@states = args[:states] if args.key?(:states)
|
|
405
585
|
end
|
|
@@ -622,6 +802,25 @@ module Google
|
|
|
622
802
|
@devices = args[:devices] if args.key?(:devices)
|
|
623
803
|
end
|
|
624
804
|
end
|
|
805
|
+
|
|
806
|
+
# Contains the trait payload for a single trait.
|
|
807
|
+
class TraitData
|
|
808
|
+
include Google::Apis::Core::Hashable
|
|
809
|
+
|
|
810
|
+
# Optional. The Home API trait payload.
|
|
811
|
+
# Corresponds to the JSON property `trait`
|
|
812
|
+
# @return [Hash<String,Object>]
|
|
813
|
+
attr_accessor :trait
|
|
814
|
+
|
|
815
|
+
def initialize(**args)
|
|
816
|
+
update!(**args)
|
|
817
|
+
end
|
|
818
|
+
|
|
819
|
+
# Update properties of this object
|
|
820
|
+
def update!(**args)
|
|
821
|
+
@trait = args[:trait] if args.key?(:trait)
|
|
822
|
+
end
|
|
823
|
+
end
|
|
625
824
|
end
|
|
626
825
|
end
|
|
627
826
|
end
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module HomegraphV1
|
|
18
18
|
# Version of the google-apis-homegraph_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.28.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260508"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -34,6 +34,12 @@ module Google
|
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
|
35
35
|
end
|
|
36
36
|
|
|
37
|
+
class ComponentTraitUpdates
|
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
39
|
+
|
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
41
|
+
end
|
|
42
|
+
|
|
37
43
|
class Device
|
|
38
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
39
45
|
|
|
@@ -46,6 +52,12 @@ module Google
|
|
|
46
52
|
include Google::Apis::Core::JsonObjectSupport
|
|
47
53
|
end
|
|
48
54
|
|
|
55
|
+
class DeviceMetadata
|
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
57
|
+
|
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
59
|
+
end
|
|
60
|
+
|
|
49
61
|
class DeviceNames
|
|
50
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
51
63
|
|
|
@@ -58,6 +70,30 @@ module Google
|
|
|
58
70
|
include Google::Apis::Core::JsonObjectSupport
|
|
59
71
|
end
|
|
60
72
|
|
|
73
|
+
class EventData
|
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
75
|
+
|
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
class Events
|
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
81
|
+
|
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
class HomeEvents
|
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
87
|
+
|
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
class HomeTraitUpdates
|
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
93
|
+
|
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
95
|
+
end
|
|
96
|
+
|
|
61
97
|
class QueryRequest
|
|
62
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
63
99
|
|
|
@@ -142,6 +178,12 @@ module Google
|
|
|
142
178
|
include Google::Apis::Core::JsonObjectSupport
|
|
143
179
|
end
|
|
144
180
|
|
|
181
|
+
class TraitData
|
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
183
|
+
|
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
185
|
+
end
|
|
186
|
+
|
|
145
187
|
class AgentDeviceId
|
|
146
188
|
# @private
|
|
147
189
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -157,6 +199,15 @@ module Google
|
|
|
157
199
|
end
|
|
158
200
|
end
|
|
159
201
|
|
|
202
|
+
class ComponentTraitUpdates
|
|
203
|
+
# @private
|
|
204
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
205
|
+
property :component_id, as: 'componentId'
|
|
206
|
+
collection :trait_data, as: 'traitData', class: Google::Apis::HomegraphV1::TraitData, decorator: Google::Apis::HomegraphV1::TraitData::Representation
|
|
207
|
+
|
|
208
|
+
end
|
|
209
|
+
end
|
|
210
|
+
|
|
160
211
|
class Device
|
|
161
212
|
# @private
|
|
162
213
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -188,6 +239,13 @@ module Google
|
|
|
188
239
|
end
|
|
189
240
|
end
|
|
190
241
|
|
|
242
|
+
class DeviceMetadata
|
|
243
|
+
# @private
|
|
244
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
245
|
+
hash :trait_commit_timestamps, as: 'traitCommitTimestamps'
|
|
246
|
+
end
|
|
247
|
+
end
|
|
248
|
+
|
|
191
249
|
class DeviceNames
|
|
192
250
|
# @private
|
|
193
251
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -203,10 +261,47 @@ module Google
|
|
|
203
261
|
end
|
|
204
262
|
end
|
|
205
263
|
|
|
264
|
+
class EventData
|
|
265
|
+
# @private
|
|
266
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
267
|
+
hash :event, as: 'event'
|
|
268
|
+
property :event_id, as: 'eventId'
|
|
269
|
+
property :event_time, as: 'eventTime'
|
|
270
|
+
end
|
|
271
|
+
end
|
|
272
|
+
|
|
273
|
+
class Events
|
|
274
|
+
# @private
|
|
275
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
276
|
+
property :component_id, as: 'componentId'
|
|
277
|
+
collection :events, as: 'events', class: Google::Apis::HomegraphV1::EventData, decorator: Google::Apis::HomegraphV1::EventData::Representation
|
|
278
|
+
|
|
279
|
+
end
|
|
280
|
+
end
|
|
281
|
+
|
|
282
|
+
class HomeEvents
|
|
283
|
+
# @private
|
|
284
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
285
|
+
property :device_id, as: 'deviceId'
|
|
286
|
+
collection :events, as: 'events', class: Google::Apis::HomegraphV1::Events, decorator: Google::Apis::HomegraphV1::Events::Representation
|
|
287
|
+
|
|
288
|
+
end
|
|
289
|
+
end
|
|
290
|
+
|
|
291
|
+
class HomeTraitUpdates
|
|
292
|
+
# @private
|
|
293
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
294
|
+
collection :components, as: 'components', class: Google::Apis::HomegraphV1::ComponentTraitUpdates, decorator: Google::Apis::HomegraphV1::ComponentTraitUpdates::Representation
|
|
295
|
+
|
|
296
|
+
property :device_id, as: 'deviceId'
|
|
297
|
+
end
|
|
298
|
+
end
|
|
299
|
+
|
|
206
300
|
class QueryRequest
|
|
207
301
|
# @private
|
|
208
302
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
209
303
|
property :agent_user_id, as: 'agentUserId'
|
|
304
|
+
property :include_device_metadata, as: 'includeDeviceMetadata'
|
|
210
305
|
collection :inputs, as: 'inputs', class: Google::Apis::HomegraphV1::QueryRequestInput, decorator: Google::Apis::HomegraphV1::QueryRequestInput::Representation
|
|
211
306
|
|
|
212
307
|
property :request_id, as: 'requestId'
|
|
@@ -241,6 +336,8 @@ module Google
|
|
|
241
336
|
class QueryResponsePayload
|
|
242
337
|
# @private
|
|
243
338
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
339
|
+
hash :device_metadata, as: 'deviceMetadata', class: Google::Apis::HomegraphV1::DeviceMetadata, decorator: Google::Apis::HomegraphV1::DeviceMetadata::Representation
|
|
340
|
+
|
|
244
341
|
hash :devices, as: 'devices'
|
|
245
342
|
end
|
|
246
343
|
end
|
|
@@ -248,6 +345,10 @@ module Google
|
|
|
248
345
|
class ReportStateAndNotificationDevice
|
|
249
346
|
# @private
|
|
250
347
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
348
|
+
collection :home_events, as: 'homeEvents', class: Google::Apis::HomegraphV1::HomeEvents, decorator: Google::Apis::HomegraphV1::HomeEvents::Representation
|
|
349
|
+
|
|
350
|
+
collection :home_traits, as: 'homeTraits', class: Google::Apis::HomegraphV1::HomeTraitUpdates, decorator: Google::Apis::HomegraphV1::HomeTraitUpdates::Representation
|
|
351
|
+
|
|
251
352
|
hash :notifications, as: 'notifications'
|
|
252
353
|
hash :states, as: 'states'
|
|
253
354
|
end
|
|
@@ -319,6 +420,13 @@ module Google
|
|
|
319
420
|
|
|
320
421
|
end
|
|
321
422
|
end
|
|
423
|
+
|
|
424
|
+
class TraitData
|
|
425
|
+
# @private
|
|
426
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
427
|
+
hash :trait, as: 'trait'
|
|
428
|
+
end
|
|
429
|
+
end
|
|
322
430
|
end
|
|
323
431
|
end
|
|
324
432
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-homegraph_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.28.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-homegraph_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-homegraph_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-homegraph_v1/v0.28.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-homegraph_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|