google-apis-homegraph_v1 0.32.0 → 0.33.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: 2824551c2d7ded22de0a0d1b43be20bb205528ae1eb7ea8fb45af58e57bb514f
4
- data.tar.gz: 2c4fdb642549ea267c89d74ec07469cffae2527f023b1b14e24494e9262b35c4
3
+ metadata.gz: 28bfb51f2bf04415de08857ef11b04dbd73d583cbfa0ea53b80def005104bfe7
4
+ data.tar.gz: d86c6ee34504f16e4423e183d77f909b326c5ca4568f66002e0e291bc2cebbd1
5
5
  SHA512:
6
- metadata.gz: d6c42685f0c210c2bd5f7a1c86441035d698c98d9b09f0be53eb672890b8929e2ebfb5f5e24178b4b885dce586853d8473bd63b1d455ab6b472cf8f89c7e3648
7
- data.tar.gz: 7ece3614c31d38b043ee0bcf80740cc3605a603d1d70d54b64d2210b3f01f01fdc1fd2fae0344594a40e905000d3c55076ddffc40d7752f1f649785c655acc9a
6
+ metadata.gz: 709b71d76b7168d071d4df9f7f90e20985150795a5b99421ddad0e6309896a8ca78a0c4f6bc46b5c66a34ecac962368151433365b2c5872a4fd633df75e98565
7
+ data.tar.gz: 5acb34a1425954813092b5a18c77b19d29333a3bc2080dfd752a6353c75876cf5c7c385ae33b7f64276002df10f2daa74d46ed3cd7ce6c48cd341efbbb57bb79
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-homegraph_v1
2
2
 
3
+ ### v0.33.0 (2026-08-09)
4
+
5
+ * Regenerated from discovery document revision 20260731
6
+
3
7
  ### v0.32.0 (2026-07-19)
4
8
 
5
9
  * Regenerated from discovery document revision 20260714
@@ -66,6 +66,51 @@ module Google
66
66
  end
67
67
  end
68
68
 
69
+ # This cluster defines the camera event stream used by GHP for their Cloud-to-
70
+ # Cloud eventing flow
71
+ class CameraEventStreamTrait
72
+ include Google::Apis::Core::Hashable
73
+
74
+ def initialize(**args)
75
+ update!(**args)
76
+ end
77
+
78
+ # Update properties of this object
79
+ def update!(**args)
80
+ end
81
+ end
82
+
83
+ # Common camera event data.
84
+ class CommonEventDataStruct
85
+ include Google::Apis::Core::Hashable
86
+
87
+ # Contains media urls for the event
88
+ # Corresponds to the JSON property `mediaUrls`
89
+ # @return [Google::Apis::HomegraphV1::MediaUrlsStruct]
90
+ attr_accessor :media_urls
91
+
92
+ # Camera event session id. Used for identifying a unique event session
93
+ # Corresponds to the JSON property `sessionId`
94
+ # @return [String]
95
+ attr_accessor :session_id
96
+
97
+ # Id of the track this object belongs to
98
+ # Corresponds to the JSON property `trackId`
99
+ # @return [String]
100
+ attr_accessor :track_id
101
+
102
+ def initialize(**args)
103
+ update!(**args)
104
+ end
105
+
106
+ # Update properties of this object
107
+ def update!(**args)
108
+ @media_urls = args[:media_urls] if args.key?(:media_urls)
109
+ @session_id = args[:session_id] if args.key?(:session_id)
110
+ @track_id = args[:track_id] if args.key?(:track_id)
111
+ end
112
+ end
113
+
69
114
  # Component of a provider device.
70
115
  class Component
71
116
  include Google::Apis::Core::Hashable
@@ -233,6 +278,26 @@ module Google
233
278
  end
234
279
  end
235
280
 
281
+ # Contains metadata about the cause of presence state change attributed to a
282
+ # device.
283
+ class DeviceBlameStruct
284
+ include Google::Apis::Core::Hashable
285
+
286
+ # Required. Specifies the device blame type.
287
+ # Corresponds to the JSON property `blameType`
288
+ # @return [String]
289
+ attr_accessor :blame_type
290
+
291
+ def initialize(**args)
292
+ update!(**args)
293
+ end
294
+
295
+ # Update properties of this object
296
+ def update!(**args)
297
+ @blame_type = args[:blame_type] if args.key?(:blame_type)
298
+ end
299
+ end
300
+
236
301
  # Device information.
237
302
  class DeviceInfo
238
303
  include Google::Apis::Core::Hashable
@@ -340,6 +405,166 @@ module Google
340
405
  end
341
406
  end
342
407
 
408
+ #
409
+ class EveUtilityTrait
410
+ include Google::Apis::Core::Hashable
411
+
412
+ # Required. Output only. Accepted command list for this trait
413
+ # Corresponds to the JSON property `acceptedCommandList`
414
+ # @return [Array<String>]
415
+ attr_accessor :accepted_command_list
416
+
417
+ #
418
+ # Corresponds to the JSON property `accumulatedControlPoint`
419
+ # @return [Fixnum]
420
+ attr_accessor :accumulated_control_point
421
+
422
+ #
423
+ # Corresponds to the JSON property `airPressure`
424
+ # @return [Float]
425
+ attr_accessor :air_pressure
426
+
427
+ #
428
+ # Corresponds to the JSON property `altitude`
429
+ # @return [Float]
430
+ attr_accessor :altitude
431
+
432
+ #
433
+ # Corresponds to the JSON property `childLock`
434
+ # @return [Boolean]
435
+ attr_accessor :child_lock
436
+ alias_method :child_lock?, :child_lock
437
+
438
+ #
439
+ # Corresponds to the JSON property `current`
440
+ # @return [Float]
441
+ attr_accessor :current
442
+
443
+ #
444
+ # Corresponds to the JSON property `getConfig`
445
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
446
+ # @return [String]
447
+ attr_accessor :get_config
448
+
449
+ #
450
+ # Corresponds to the JSON property `holdPosition`
451
+ # @return [Boolean]
452
+ attr_accessor :hold_position
453
+ alias_method :hold_position?, :hold_position
454
+
455
+ #
456
+ # Corresponds to the JSON property `lastEventTime`
457
+ # @return [Fixnum]
458
+ attr_accessor :last_event_time
459
+
460
+ #
461
+ # Corresponds to the JSON property `loggingControlPoint`
462
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
463
+ # @return [String]
464
+ attr_accessor :logging_control_point
465
+
466
+ #
467
+ # Corresponds to the JSON property `loggingData`
468
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
469
+ # @return [String]
470
+ attr_accessor :logging_data
471
+
472
+ #
473
+ # Corresponds to the JSON property `loggingMetadata`
474
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
475
+ # @return [String]
476
+ attr_accessor :logging_metadata
477
+
478
+ #
479
+ # Corresponds to the JSON property `loggingTime`
480
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
481
+ # @return [String]
482
+ attr_accessor :logging_time
483
+
484
+ #
485
+ # Corresponds to the JSON property `motionSensitivity`
486
+ # @return [Fixnum]
487
+ attr_accessor :motion_sensitivity
488
+
489
+ #
490
+ # Corresponds to the JSON property `obstructionDetected`
491
+ # @return [Boolean]
492
+ attr_accessor :obstruction_detected
493
+ alias_method :obstruction_detected?, :obstruction_detected
494
+
495
+ #
496
+ # Corresponds to the JSON property `openCount`
497
+ # @return [Fixnum]
498
+ attr_accessor :open_count
499
+
500
+ #
501
+ # Corresponds to the JSON property `rloc16`
502
+ # @return [Fixnum]
503
+ attr_accessor :rloc16
504
+
505
+ #
506
+ # Corresponds to the JSON property `setConfig`
507
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
508
+ # @return [String]
509
+ attr_accessor :set_config
510
+
511
+ #
512
+ # Corresponds to the JSON property `statusFault`
513
+ # @return [Fixnum]
514
+ attr_accessor :status_fault
515
+
516
+ #
517
+ # Corresponds to the JSON property `voltage`
518
+ # @return [Float]
519
+ attr_accessor :voltage
520
+
521
+ #
522
+ # Corresponds to the JSON property `watt`
523
+ # @return [Float]
524
+ attr_accessor :watt
525
+
526
+ #
527
+ # Corresponds to the JSON property `wattAccumulated`
528
+ # @return [Float]
529
+ attr_accessor :watt_accumulated
530
+
531
+ #
532
+ # Corresponds to the JSON property `weatherTrend`
533
+ # @return [Fixnum]
534
+ attr_accessor :weather_trend
535
+
536
+ def initialize(**args)
537
+ update!(**args)
538
+ end
539
+
540
+ # Update properties of this object
541
+ def update!(**args)
542
+ @accepted_command_list = args[:accepted_command_list] if args.key?(:accepted_command_list)
543
+ @accumulated_control_point = args[:accumulated_control_point] if args.key?(:accumulated_control_point)
544
+ @air_pressure = args[:air_pressure] if args.key?(:air_pressure)
545
+ @altitude = args[:altitude] if args.key?(:altitude)
546
+ @child_lock = args[:child_lock] if args.key?(:child_lock)
547
+ @current = args[:current] if args.key?(:current)
548
+ @get_config = args[:get_config] if args.key?(:get_config)
549
+ @hold_position = args[:hold_position] if args.key?(:hold_position)
550
+ @last_event_time = args[:last_event_time] if args.key?(:last_event_time)
551
+ @logging_control_point = args[:logging_control_point] if args.key?(:logging_control_point)
552
+ @logging_data = args[:logging_data] if args.key?(:logging_data)
553
+ @logging_metadata = args[:logging_metadata] if args.key?(:logging_metadata)
554
+ @logging_time = args[:logging_time] if args.key?(:logging_time)
555
+ @motion_sensitivity = args[:motion_sensitivity] if args.key?(:motion_sensitivity)
556
+ @obstruction_detected = args[:obstruction_detected] if args.key?(:obstruction_detected)
557
+ @open_count = args[:open_count] if args.key?(:open_count)
558
+ @rloc16 = args[:rloc16] if args.key?(:rloc16)
559
+ @set_config = args[:set_config] if args.key?(:set_config)
560
+ @status_fault = args[:status_fault] if args.key?(:status_fault)
561
+ @voltage = args[:voltage] if args.key?(:voltage)
562
+ @watt = args[:watt] if args.key?(:watt)
563
+ @watt_accumulated = args[:watt_accumulated] if args.key?(:watt_accumulated)
564
+ @weather_trend = args[:weather_trend] if args.key?(:weather_trend)
565
+ end
566
+ end
567
+
343
568
  # Contains the details for a single event.
344
569
  class EventData
345
570
  include Google::Apis::Core::Hashable
@@ -466,6 +691,121 @@ module Google
466
691
  end
467
692
  end
468
693
 
694
+ #
695
+ class MediaUrlsStruct
696
+ include Google::Apis::Core::Hashable
697
+
698
+ # URL for a dash manifest for playback
699
+ # Corresponds to the JSON property `dashManifestUrl`
700
+ # @return [String]
701
+ attr_accessor :dash_manifest_url
702
+
703
+ # URL for a hls master playlist for playback
704
+ # Corresponds to the JSON property `hlsMasterPlaylistUrl`
705
+ # @return [String]
706
+ attr_accessor :hls_master_playlist_url
707
+
708
+ # URL for animated preview clip representing the event session
709
+ # Corresponds to the JSON property `previewUrl`
710
+ # @return [String]
711
+ attr_accessor :preview_url
712
+
713
+ # URL for thumbnail image representing the event session
714
+ # Corresponds to the JSON property `thumbnailUrl`
715
+ # @return [String]
716
+ attr_accessor :thumbnail_url
717
+
718
+ def initialize(**args)
719
+ update!(**args)
720
+ end
721
+
722
+ # Update properties of this object
723
+ def update!(**args)
724
+ @dash_manifest_url = args[:dash_manifest_url] if args.key?(:dash_manifest_url)
725
+ @hls_master_playlist_url = args[:hls_master_playlist_url] if args.key?(:hls_master_playlist_url)
726
+ @preview_url = args[:preview_url] if args.key?(:preview_url)
727
+ @thumbnail_url = args[:thumbnail_url] if args.key?(:thumbnail_url)
728
+ end
729
+ end
730
+
731
+ # Represents a newly detected motion event.
732
+ class MotionEvent
733
+ include Google::Apis::Core::Hashable
734
+
735
+ # Common camera event data.
736
+ # Corresponds to the JSON property `commonEventData`
737
+ # @return [Google::Apis::HomegraphV1::CommonEventDataStruct]
738
+ attr_accessor :common_event_data
739
+
740
+ # Zones where events are detected in.
741
+ # Corresponds to the JSON property `zones`
742
+ # @return [Array<Google::Apis::HomegraphV1::ZoneStruct>]
743
+ attr_accessor :zones
744
+
745
+ # If set, zones is an empty list.
746
+ # Corresponds to the JSON property `zonesIsEmpty`
747
+ # @return [Boolean]
748
+ attr_accessor :zones_is_empty
749
+ alias_method :zones_is_empty?, :zones_is_empty
750
+
751
+ def initialize(**args)
752
+ update!(**args)
753
+ end
754
+
755
+ # Update properties of this object
756
+ def update!(**args)
757
+ @common_event_data = args[:common_event_data] if args.key?(:common_event_data)
758
+ @zones = args[:zones] if args.key?(:zones)
759
+ @zones_is_empty = args[:zones_is_empty] if args.key?(:zones_is_empty)
760
+ end
761
+ end
762
+
763
+ # Provides attributes and events related to partner presence signals. See
764
+ # PartnerPresenceSignal trait:
765
+ class PartnerPresenceSignalTrait
766
+ include Google::Apis::Core::Hashable
767
+
768
+ def initialize(**args)
769
+ update!(**args)
770
+ end
771
+
772
+ # Update properties of this object
773
+ def update!(**args)
774
+ end
775
+ end
776
+
777
+ # Represents a newly detected person event.
778
+ class PersonEvent
779
+ include Google::Apis::Core::Hashable
780
+
781
+ # Common camera event data.
782
+ # Corresponds to the JSON property `commonEventData`
783
+ # @return [Google::Apis::HomegraphV1::CommonEventDataStruct]
784
+ attr_accessor :common_event_data
785
+
786
+ # Zones where events are detected in.
787
+ # Corresponds to the JSON property `zones`
788
+ # @return [Array<Google::Apis::HomegraphV1::ZoneStruct>]
789
+ attr_accessor :zones
790
+
791
+ # If set, zones is an empty list.
792
+ # Corresponds to the JSON property `zonesIsEmpty`
793
+ # @return [Boolean]
794
+ attr_accessor :zones_is_empty
795
+ alias_method :zones_is_empty?, :zones_is_empty
796
+
797
+ def initialize(**args)
798
+ update!(**args)
799
+ end
800
+
801
+ # Update properties of this object
802
+ def update!(**args)
803
+ @common_event_data = args[:common_event_data] if args.key?(:common_event_data)
804
+ @zones = args[:zones] if args.key?(:zones)
805
+ @zones_is_empty = args[:zones_is_empty] if args.key?(:zones_is_empty)
806
+ end
807
+ end
808
+
469
809
  # Request type for the [`Query`](#google.home.graph.v1.HomeGraphApiService.Query)
470
810
  # call.
471
811
  class QueryRequest
@@ -724,6 +1064,12 @@ module Google
724
1064
  class ReportStateAndNotificationResponse
725
1065
  include Google::Apis::Core::Hashable
726
1066
 
1067
+ # Map from agent device ID to the result of reporting state and notifications.
1068
+ # This is only populated for UDDM updates for now.
1069
+ # Corresponds to the JSON property `deviceResults`
1070
+ # @return [Hash<String,Google::Apis::HomegraphV1::Result>]
1071
+ attr_accessor :device_results
1072
+
727
1073
  # Request ID copied from ReportStateAndNotificationRequest.
728
1074
  # Corresponds to the JSON property `requestId`
729
1075
  # @return [String]
@@ -735,6 +1081,7 @@ module Google
735
1081
 
736
1082
  # Update properties of this object
737
1083
  def update!(**args)
1084
+ @device_results = args[:device_results] if args.key?(:device_results)
738
1085
  @request_id = args[:request_id] if args.key?(:request_id)
739
1086
  end
740
1087
  end
@@ -783,6 +1130,25 @@ module Google
783
1130
  end
784
1131
  end
785
1132
 
1133
+ # Result of reporting state and notifications for a single device.
1134
+ class Result
1135
+ include Google::Apis::Core::Hashable
1136
+
1137
+ # The trait commit timestamp of the state update in Home Graph.
1138
+ # Corresponds to the JSON property `homeTraitCommitTime`
1139
+ # @return [String]
1140
+ attr_accessor :home_trait_commit_time
1141
+
1142
+ def initialize(**args)
1143
+ update!(**args)
1144
+ end
1145
+
1146
+ # Update properties of this object
1147
+ def update!(**args)
1148
+ @home_trait_commit_time = args[:home_trait_commit_time] if args.key?(:home_trait_commit_time)
1149
+ end
1150
+ end
1151
+
786
1152
  # Payload containing the state and notification information for devices.
787
1153
  class StateAndNotificationPayload
788
1154
  include Google::Apis::Core::Hashable
@@ -802,6 +1168,58 @@ module Google
802
1168
  end
803
1169
  end
804
1170
 
1171
+ # Sent when the structure presence state changes.
1172
+ class StructurePresenceStateChangeEvent
1173
+ include Google::Apis::Core::Hashable
1174
+
1175
+ # Required. Specifies the presence state.
1176
+ # Corresponds to the JSON property `presenceState`
1177
+ # @return [String]
1178
+ attr_accessor :presence_state
1179
+
1180
+ # Contains the metadata about the cause of the structure presence state change.
1181
+ # Corresponds to the JSON property `reason`
1182
+ # @return [Google::Apis::HomegraphV1::StructurePresenceStateChangeReasonStruct]
1183
+ attr_accessor :reason
1184
+
1185
+ def initialize(**args)
1186
+ update!(**args)
1187
+ end
1188
+
1189
+ # Update properties of this object
1190
+ def update!(**args)
1191
+ @presence_state = args[:presence_state] if args.key?(:presence_state)
1192
+ @reason = args[:reason] if args.key?(:reason)
1193
+ end
1194
+ end
1195
+
1196
+ # Contains the metadata about the cause of the structure presence state change.
1197
+ class StructurePresenceStateChangeReasonStruct
1198
+ include Google::Apis::Core::Hashable
1199
+
1200
+ # Contains metadata about the cause of presence state change attributed to a
1201
+ # device.
1202
+ # Corresponds to the JSON property `deviceBlame`
1203
+ # @return [Google::Apis::HomegraphV1::DeviceBlameStruct]
1204
+ attr_accessor :device_blame
1205
+
1206
+ # Contains metadata about the cause of presence state change attributed to a
1207
+ # user.
1208
+ # Corresponds to the JSON property `userBlame`
1209
+ # @return [Google::Apis::HomegraphV1::UserBlameStruct]
1210
+ attr_accessor :user_blame
1211
+
1212
+ def initialize(**args)
1213
+ update!(**args)
1214
+ end
1215
+
1216
+ # Update properties of this object
1217
+ def update!(**args)
1218
+ @device_blame = args[:device_blame] if args.key?(:device_blame)
1219
+ @user_blame = args[:user_blame] if args.key?(:user_blame)
1220
+ end
1221
+ end
1222
+
805
1223
  # Request type for the [`Sync`](#google.home.graph.v1.HomeGraphApiService.Sync)
806
1224
  # call.
807
1225
  class SyncRequest
@@ -888,6 +1306,37 @@ module Google
888
1306
  end
889
1307
  end
890
1308
 
1309
+ # This cluster provides fan control capabilities for thermostats.
1310
+ class ThermostatFanControlTrait
1311
+ include Google::Apis::Core::Hashable
1312
+
1313
+ #
1314
+ # Corresponds to the JSON property `timerDuration`
1315
+ # @return [Fixnum]
1316
+ attr_accessor :timer_duration
1317
+
1318
+ #
1319
+ # Corresponds to the JSON property `timerEnd`
1320
+ # @return [Fixnum]
1321
+ attr_accessor :timer_end
1322
+
1323
+ #
1324
+ # Corresponds to the JSON property `timerSpeed`
1325
+ # @return [String]
1326
+ attr_accessor :timer_speed
1327
+
1328
+ def initialize(**args)
1329
+ update!(**args)
1330
+ end
1331
+
1332
+ # Update properties of this object
1333
+ def update!(**args)
1334
+ @timer_duration = args[:timer_duration] if args.key?(:timer_duration)
1335
+ @timer_end = args[:timer_end] if args.key?(:timer_end)
1336
+ @timer_speed = args[:timer_speed] if args.key?(:timer_speed)
1337
+ end
1338
+ end
1339
+
891
1340
  # Contains the trait payload for a single trait.
892
1341
  class TraitData
893
1342
  include Google::Apis::Core::Hashable
@@ -923,6 +1372,57 @@ module Google
923
1372
  @trait = args[:trait] if args.key?(:trait)
924
1373
  end
925
1374
  end
1375
+
1376
+ # Contains metadata about the cause of presence state change attributed to a
1377
+ # user.
1378
+ class UserBlameStruct
1379
+ include Google::Apis::Core::Hashable
1380
+
1381
+ # Required. Specifies the user blame type.
1382
+ # Corresponds to the JSON property `blameType`
1383
+ # @return [String]
1384
+ attr_accessor :blame_type
1385
+
1386
+ # Required. Specifies the email of the user.
1387
+ # Corresponds to the JSON property `userEmail`
1388
+ # @return [String]
1389
+ attr_accessor :user_email
1390
+
1391
+ def initialize(**args)
1392
+ update!(**args)
1393
+ end
1394
+
1395
+ # Update properties of this object
1396
+ def update!(**args)
1397
+ @blame_type = args[:blame_type] if args.key?(:blame_type)
1398
+ @user_email = args[:user_email] if args.key?(:user_email)
1399
+ end
1400
+ end
1401
+
1402
+ #
1403
+ class ZoneStruct
1404
+ include Google::Apis::Core::Hashable
1405
+
1406
+ # Name of the zone.
1407
+ # Corresponds to the JSON property `label`
1408
+ # @return [String]
1409
+ attr_accessor :label
1410
+
1411
+ # Id of the zone
1412
+ # Corresponds to the JSON property `zoneId`
1413
+ # @return [Fixnum]
1414
+ attr_accessor :zone_id
1415
+
1416
+ def initialize(**args)
1417
+ update!(**args)
1418
+ end
1419
+
1420
+ # Update properties of this object
1421
+ def update!(**args)
1422
+ @label = args[:label] if args.key?(:label)
1423
+ @zone_id = args[:zone_id] if args.key?(:zone_id)
1424
+ end
1425
+ end
926
1426
  end
927
1427
  end
928
1428
  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.32.0"
19
+ GEM_VERSION = "0.33.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260714"
25
+ REVISION = "20260731"
26
26
  end
27
27
  end
28
28
  end
@@ -34,6 +34,18 @@ module Google
34
34
  include Google::Apis::Core::JsonObjectSupport
35
35
  end
36
36
 
37
+ class CameraEventStreamTrait
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class CommonEventDataStruct
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
37
49
  class Component
38
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
51
 
@@ -52,6 +64,12 @@ module Google
52
64
  include Google::Apis::Core::JsonObjectSupport
53
65
  end
54
66
 
67
+ class DeviceBlameStruct
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
55
73
  class DeviceInfo
56
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
75
 
@@ -76,6 +94,12 @@ module Google
76
94
  include Google::Apis::Core::JsonObjectSupport
77
95
  end
78
96
 
97
+ class EveUtilityTrait
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
79
103
  class EventData
80
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
105
 
@@ -106,6 +130,30 @@ module Google
106
130
  include Google::Apis::Core::JsonObjectSupport
107
131
  end
108
132
 
133
+ class MediaUrlsStruct
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class MotionEvent
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class PartnerPresenceSignalTrait
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class PersonEvent
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
109
157
  class QueryRequest
110
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
159
 
@@ -166,12 +214,30 @@ module Google
166
214
  include Google::Apis::Core::JsonObjectSupport
167
215
  end
168
216
 
217
+ class Result
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
169
223
  class StateAndNotificationPayload
170
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
225
 
172
226
  include Google::Apis::Core::JsonObjectSupport
173
227
  end
174
228
 
229
+ class StructurePresenceStateChangeEvent
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class StructurePresenceStateChangeReasonStruct
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
175
241
  class SyncRequest
176
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
243
 
@@ -190,12 +256,30 @@ module Google
190
256
  include Google::Apis::Core::JsonObjectSupport
191
257
  end
192
258
 
259
+ class ThermostatFanControlTrait
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
193
265
  class TraitData
194
266
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
267
 
196
268
  include Google::Apis::Core::JsonObjectSupport
197
269
  end
198
270
 
271
+ class UserBlameStruct
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class ZoneStruct
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
199
283
  class AgentDeviceId
200
284
  # @private
201
285
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -211,6 +295,22 @@ module Google
211
295
  end
212
296
  end
213
297
 
298
+ class CameraEventStreamTrait
299
+ # @private
300
+ class Representation < Google::Apis::Core::JsonRepresentation
301
+ end
302
+ end
303
+
304
+ class CommonEventDataStruct
305
+ # @private
306
+ class Representation < Google::Apis::Core::JsonRepresentation
307
+ property :media_urls, as: 'mediaUrls', class: Google::Apis::HomegraphV1::MediaUrlsStruct, decorator: Google::Apis::HomegraphV1::MediaUrlsStruct::Representation
308
+
309
+ property :session_id, as: 'sessionId'
310
+ property :track_id, as: 'trackId'
311
+ end
312
+ end
313
+
214
314
  class Component
215
315
  # @private
216
316
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -253,6 +353,13 @@ module Google
253
353
  end
254
354
  end
255
355
 
356
+ class DeviceBlameStruct
357
+ # @private
358
+ class Representation < Google::Apis::Core::JsonRepresentation
359
+ property :blame_type, as: 'blameType'
360
+ end
361
+ end
362
+
256
363
  class DeviceInfo
257
364
  # @private
258
365
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -285,6 +392,35 @@ module Google
285
392
  end
286
393
  end
287
394
 
395
+ class EveUtilityTrait
396
+ # @private
397
+ class Representation < Google::Apis::Core::JsonRepresentation
398
+ collection :accepted_command_list, as: 'acceptedCommandList'
399
+ property :accumulated_control_point, :numeric_string => true, as: 'accumulatedControlPoint'
400
+ property :air_pressure, as: 'airPressure'
401
+ property :altitude, as: 'altitude'
402
+ property :child_lock, as: 'childLock'
403
+ property :current, as: 'current'
404
+ property :get_config, :base64 => true, as: 'getConfig'
405
+ property :hold_position, as: 'holdPosition'
406
+ property :last_event_time, :numeric_string => true, as: 'lastEventTime'
407
+ property :logging_control_point, :base64 => true, as: 'loggingControlPoint'
408
+ property :logging_data, :base64 => true, as: 'loggingData'
409
+ property :logging_metadata, :base64 => true, as: 'loggingMetadata'
410
+ property :logging_time, :base64 => true, as: 'loggingTime'
411
+ property :motion_sensitivity, as: 'motionSensitivity'
412
+ property :obstruction_detected, as: 'obstructionDetected'
413
+ property :open_count, :numeric_string => true, as: 'openCount'
414
+ property :rloc16, as: 'rloc16'
415
+ property :set_config, :base64 => true, as: 'setConfig'
416
+ property :status_fault, as: 'statusFault'
417
+ property :voltage, as: 'voltage'
418
+ property :watt, as: 'watt'
419
+ property :watt_accumulated, as: 'wattAccumulated'
420
+ property :weather_trend, as: 'weatherTrend'
421
+ end
422
+ end
423
+
288
424
  class EventData
289
425
  # @private
290
426
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -329,6 +465,44 @@ module Google
329
465
  end
330
466
  end
331
467
 
468
+ class MediaUrlsStruct
469
+ # @private
470
+ class Representation < Google::Apis::Core::JsonRepresentation
471
+ property :dash_manifest_url, as: 'dashManifestUrl'
472
+ property :hls_master_playlist_url, as: 'hlsMasterPlaylistUrl'
473
+ property :preview_url, as: 'previewUrl'
474
+ property :thumbnail_url, as: 'thumbnailUrl'
475
+ end
476
+ end
477
+
478
+ class MotionEvent
479
+ # @private
480
+ class Representation < Google::Apis::Core::JsonRepresentation
481
+ property :common_event_data, as: 'commonEventData', class: Google::Apis::HomegraphV1::CommonEventDataStruct, decorator: Google::Apis::HomegraphV1::CommonEventDataStruct::Representation
482
+
483
+ collection :zones, as: 'zones', class: Google::Apis::HomegraphV1::ZoneStruct, decorator: Google::Apis::HomegraphV1::ZoneStruct::Representation
484
+
485
+ property :zones_is_empty, as: 'zonesIsEmpty'
486
+ end
487
+ end
488
+
489
+ class PartnerPresenceSignalTrait
490
+ # @private
491
+ class Representation < Google::Apis::Core::JsonRepresentation
492
+ end
493
+ end
494
+
495
+ class PersonEvent
496
+ # @private
497
+ class Representation < Google::Apis::Core::JsonRepresentation
498
+ property :common_event_data, as: 'commonEventData', class: Google::Apis::HomegraphV1::CommonEventDataStruct, decorator: Google::Apis::HomegraphV1::CommonEventDataStruct::Representation
499
+
500
+ collection :zones, as: 'zones', class: Google::Apis::HomegraphV1::ZoneStruct, decorator: Google::Apis::HomegraphV1::ZoneStruct::Representation
501
+
502
+ property :zones_is_empty, as: 'zonesIsEmpty'
503
+ end
504
+ end
505
+
332
506
  class QueryRequest
333
507
  # @private
334
508
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -404,6 +578,8 @@ module Google
404
578
  class ReportStateAndNotificationResponse
405
579
  # @private
406
580
  class Representation < Google::Apis::Core::JsonRepresentation
581
+ hash :device_results, as: 'deviceResults', class: Google::Apis::HomegraphV1::Result, decorator: Google::Apis::HomegraphV1::Result::Representation
582
+
407
583
  property :request_id, as: 'requestId'
408
584
  end
409
585
  end
@@ -422,6 +598,13 @@ module Google
422
598
  end
423
599
  end
424
600
 
601
+ class Result
602
+ # @private
603
+ class Representation < Google::Apis::Core::JsonRepresentation
604
+ property :home_trait_commit_time, as: 'homeTraitCommitTime'
605
+ end
606
+ end
607
+
425
608
  class StateAndNotificationPayload
426
609
  # @private
427
610
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -430,6 +613,25 @@ module Google
430
613
  end
431
614
  end
432
615
 
616
+ class StructurePresenceStateChangeEvent
617
+ # @private
618
+ class Representation < Google::Apis::Core::JsonRepresentation
619
+ property :presence_state, as: 'presenceState'
620
+ property :reason, as: 'reason', class: Google::Apis::HomegraphV1::StructurePresenceStateChangeReasonStruct, decorator: Google::Apis::HomegraphV1::StructurePresenceStateChangeReasonStruct::Representation
621
+
622
+ end
623
+ end
624
+
625
+ class StructurePresenceStateChangeReasonStruct
626
+ # @private
627
+ class Representation < Google::Apis::Core::JsonRepresentation
628
+ property :device_blame, as: 'deviceBlame', class: Google::Apis::HomegraphV1::DeviceBlameStruct, decorator: Google::Apis::HomegraphV1::DeviceBlameStruct::Representation
629
+
630
+ property :user_blame, as: 'userBlame', class: Google::Apis::HomegraphV1::UserBlameStruct, decorator: Google::Apis::HomegraphV1::UserBlameStruct::Representation
631
+
632
+ end
633
+ end
634
+
433
635
  class SyncRequest
434
636
  # @private
435
637
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -456,6 +658,15 @@ module Google
456
658
  end
457
659
  end
458
660
 
661
+ class ThermostatFanControlTrait
662
+ # @private
663
+ class Representation < Google::Apis::Core::JsonRepresentation
664
+ property :timer_duration, :numeric_string => true, as: 'timerDuration'
665
+ property :timer_end, :numeric_string => true, as: 'timerEnd'
666
+ property :timer_speed, as: 'timerSpeed'
667
+ end
668
+ end
669
+
459
670
  class TraitData
460
671
  # @private
461
672
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -464,6 +675,22 @@ module Google
464
675
  hash :trait, as: 'trait'
465
676
  end
466
677
  end
678
+
679
+ class UserBlameStruct
680
+ # @private
681
+ class Representation < Google::Apis::Core::JsonRepresentation
682
+ property :blame_type, as: 'blameType'
683
+ property :user_email, as: 'userEmail'
684
+ end
685
+ end
686
+
687
+ class ZoneStruct
688
+ # @private
689
+ class Representation < Google::Apis::Core::JsonRepresentation
690
+ property :label, as: 'label'
691
+ property :zone_id, :numeric_string => true, as: 'zoneId'
692
+ end
693
+ end
467
694
  end
468
695
  end
469
696
  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.32.0
4
+ version: 0.33.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.32.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-homegraph_v1/v0.33.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: