google-apis-homegraph_v1 0.16.0 → 0.18.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 +4 -4
- data/CHANGELOG.md +9 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/homegraph_v1/classes.rb +30 -30
- data/lib/google/apis/homegraph_v1/gem_version.rb +3 -3
- data/lib/google/apis/homegraph_v1/service.rb +15 -15
- data/lib/google/apis/homegraph_v1.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d38c7fd199a54ad558e78da00090388f6d40b034ea5aa0fbdd0433204c1ce88a
|
4
|
+
data.tar.gz: fd46c48f5015bb21d0de9a11c49411c9c1e63ad2a7255bf2c244c8d21082c8f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec6529c106b9e9da97a63de86a3bd205c6b2fd697a4ab7d5166782466d0e6e6f597b6342553cadd6ff3466330b06b70ff41f2acbad1c22e551dde2c1b94f8f42
|
7
|
+
data.tar.gz: 3d9560102fab9f49bdef39ac051471dbf3b51cfb689dc901b77bccefa3d562051a78e3fa9d6af1b7add0096e6b3c10cc88cf669c75a98cfdb61020cb3393e938
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-homegraph_v1
|
2
2
|
|
3
|
+
### v0.18.0 (2023-01-15)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230106
|
6
|
+
* Regenerated using generator version 0.11.1
|
7
|
+
|
8
|
+
### v0.17.0 (2022-10-28)
|
9
|
+
|
10
|
+
* Regenerated using generator version 0.11.0
|
11
|
+
|
3
12
|
### v0.16.0 (2022-09-22)
|
4
13
|
|
5
14
|
* Regenerated using generator version 0.10.0
|
data/OVERVIEW.md
CHANGED
@@ -79,7 +79,7 @@ Gem names for modern clients are often of the form `google-cloud-<service_name>`
|
|
79
79
|
|
80
80
|
**For most users, we recommend the modern client, if one is available.** Compared with simple clients, modern clients are generally much easier to use and more Ruby-like, support more advanced features such as streaming and long-running operations, and often provide much better performance. You may consider using a simple client instead, if a modern client is not yet available for the service you want to use, or if you are not able to use gRPC on your infrastructure.
|
81
81
|
|
82
|
-
The [product documentation](https://developers.google.com/
|
82
|
+
The [product documentation](https://developers.home.google.com/cloud-to-cloud/get-started) may provide guidance regarding the preferred client library to use.
|
83
83
|
|
84
84
|
## Supported Ruby versions
|
85
85
|
|
@@ -76,11 +76,11 @@ module Google
|
|
76
76
|
attr_accessor :attributes
|
77
77
|
|
78
78
|
# Custom device attributes stored in Home Graph and provided to your smart home
|
79
|
-
# Action in each [QUERY](https://developers.google.com/
|
80
|
-
#
|
81
|
-
#
|
82
|
-
#
|
83
|
-
#
|
79
|
+
# Action in each [QUERY](https://developers.home.google.com/cloud-to-cloud/
|
80
|
+
# intents/query) and [EXECUTE](https://developers.home.google.com/cloud-to-cloud/
|
81
|
+
# intents/execute) intent. Data in this object has a few constraints: No
|
82
|
+
# sensitive information, including but not limited to Personally Identifiable
|
83
|
+
# Information.
|
84
84
|
# Corresponds to the JSON property `customData`
|
85
85
|
# @return [Hash<String,Object>]
|
86
86
|
attr_accessor :custom_data
|
@@ -110,8 +110,8 @@ module Google
|
|
110
110
|
alias_method :notification_supported_by_agent?, :notification_supported_by_agent
|
111
111
|
|
112
112
|
# Alternate IDs associated with this device. This is used to identify cloud
|
113
|
-
# synced devices enabled for [local fulfillment](https://developers.google.
|
114
|
-
#
|
113
|
+
# synced devices enabled for [local fulfillment](https://developers.home.google.
|
114
|
+
# com/local-home/overview).
|
115
115
|
# Corresponds to the JSON property `otherDeviceIds`
|
116
116
|
# @return [Array<Google::Apis::HomegraphV1::AgentOtherDeviceId>]
|
117
117
|
attr_accessor :other_device_ids
|
@@ -128,14 +128,14 @@ module Google
|
|
128
128
|
# @return [String]
|
129
129
|
attr_accessor :structure_hint
|
130
130
|
|
131
|
-
# Traits supported by the device. See [device traits](https://developers.
|
132
|
-
# com/
|
131
|
+
# Traits supported by the device. See [device traits](https://developers.home.
|
132
|
+
# google.com/cloud-to-cloud/traits).
|
133
133
|
# Corresponds to the JSON property `traits`
|
134
134
|
# @return [Array<String>]
|
135
135
|
attr_accessor :traits
|
136
136
|
|
137
|
-
# Hardware type of the device. See [device types](https://developers.google.
|
138
|
-
#
|
137
|
+
# Hardware type of the device. See [device types](https://developers.home.google.
|
138
|
+
# com/cloud-to-cloud/guides).
|
139
139
|
# Corresponds to the JSON property `type`
|
140
140
|
# @return [String]
|
141
141
|
attr_accessor :type
|
@@ -326,11 +326,11 @@ module Google
|
|
326
326
|
|
327
327
|
# Response type for the [`Query`](#google.home.graph.v1.HomeGraphApiService.
|
328
328
|
# Query) call. This should follow the same format as the Google smart home `
|
329
|
-
# action.devices.QUERY` [response](https://developers.google.com/
|
330
|
-
#
|
331
|
-
#
|
332
|
-
#
|
333
|
-
#
|
329
|
+
# action.devices.QUERY` [response](https://developers.home.google.com/cloud-to-
|
330
|
+
# cloud/intents/query). Example: ```json ` "requestId": "ff36a3cc-ec34-11e6-b1a0-
|
331
|
+
# 64510650abcf", "payload": ` "devices": ` "123": ` "on": true, "online": true `,
|
332
|
+
# "456": ` "on": true, "online": true, "brightness": 80, "color": ` "name": "
|
333
|
+
# cerulean", "spectrumRGB": 31655 ` ` ` ` ` ```
|
334
334
|
class QueryResponse
|
335
335
|
include Google::Apis::Core::Hashable
|
336
336
|
|
@@ -379,15 +379,15 @@ module Google
|
|
379
379
|
include Google::Apis::Core::Hashable
|
380
380
|
|
381
381
|
# Notifications metadata for devices. See the **Device NOTIFICATIONS** section
|
382
|
-
# of the individual trait [reference guides](https://developers.google.com/
|
383
|
-
#
|
382
|
+
# of the individual trait [reference guides](https://developers.home.google.com/
|
383
|
+
# cloud-to-cloud/traits).
|
384
384
|
# Corresponds to the JSON property `notifications`
|
385
385
|
# @return [Hash<String,Object>]
|
386
386
|
attr_accessor :notifications
|
387
387
|
|
388
388
|
# States of devices to update. See the **Device STATES** section of the
|
389
|
-
# individual trait [reference guides](https://developers.google.com/
|
390
|
-
#
|
389
|
+
# individual trait [reference guides](https://developers.home.google.com/cloud-
|
390
|
+
# to-cloud/traits).
|
391
391
|
# Corresponds to the JSON property `states`
|
392
392
|
# @return [Hash<String,Object>]
|
393
393
|
attr_accessor :states
|
@@ -406,7 +406,7 @@ module Google
|
|
406
406
|
# Request type for the [`ReportStateAndNotification`](#google.home.graph.v1.
|
407
407
|
# HomeGraphApiService.ReportStateAndNotification) call. It may include states,
|
408
408
|
# notifications, or both. States and notifications are defined per `device_id` (
|
409
|
-
# for example, "123" and "456" in the following example).
|
409
|
+
# for example, "123" and "456" in the following example). Example: ```json ` "
|
410
410
|
# requestId": "ff36a3cc-ec34-11e6-b1a0-64510650abcf", "agentUserId": "1234", "
|
411
411
|
# payload": ` "devices": ` "states": ` "123": ` "on": true `, "456": ` "on":
|
412
412
|
# true, "brightness": 10 ` `, ` ` ` ```
|
@@ -563,15 +563,15 @@ module Google
|
|
563
563
|
|
564
564
|
# Response type for the [`Sync`](#google.home.graph.v1.HomeGraphApiService.Sync)
|
565
565
|
# call. This should follow the same format as the Google smart home `action.
|
566
|
-
# devices.SYNC` [response](https://developers.google.com/
|
567
|
-
#
|
568
|
-
#
|
569
|
-
# "
|
570
|
-
#
|
571
|
-
#
|
572
|
-
#
|
573
|
-
#
|
574
|
-
#
|
566
|
+
# devices.SYNC` [response](https://developers.home.google.com/cloud-to-cloud/
|
567
|
+
# intents/sync). Example: ```json ` "requestId": "ff36a3cc-ec34-11e6-b1a0-
|
568
|
+
# 64510650abcf", "payload": ` "agentUserId": "1836.15267389", "devices": [` "id":
|
569
|
+
# "123", "type": "action.devices.types.OUTLET", "traits": [ "action.devices.
|
570
|
+
# traits.OnOff" ], "name": ` "defaultNames": ["My Outlet 1234"], "name": "Night
|
571
|
+
# light", "nicknames": ["wall plug"] `, "willReportState": false, "deviceInfo": `
|
572
|
+
# "manufacturer": "lights-out-inc", "model": "hs1234", "hwVersion": "3.2", "
|
573
|
+
# swVersion": "11.4" `, "customData": ` "fooValue": 74, "barValue": true, "
|
574
|
+
# bazValue": "foo" ` `] ` ` ```
|
575
575
|
class SyncResponse
|
576
576
|
include Google::Apis::Core::Hashable
|
577
577
|
|
@@ -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.18.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.11.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230106"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -30,7 +30,7 @@ module Google
|
|
30
30
|
# Homegraph = Google::Apis::HomegraphV1 # Alias the module
|
31
31
|
# service = Homegraph::HomeGraphServiceService.new
|
32
32
|
#
|
33
|
-
# @see https://developers.google.com/
|
33
|
+
# @see https://developers.home.google.com/cloud-to-cloud/get-started
|
34
34
|
class HomeGraphServiceService < Google::Apis::Core::BaseService
|
35
35
|
# @return [String]
|
36
36
|
# API key. Your API key identifies your project and provides you with API access,
|
@@ -51,11 +51,11 @@ module Google
|
|
51
51
|
|
52
52
|
# Unlinks the given third-party user from your smart home Action. All data
|
53
53
|
# related to this user will be deleted. For more details on how users link their
|
54
|
-
# accounts, see [fulfillment and authentication](https://developers.google.
|
55
|
-
#
|
56
|
-
#
|
57
|
-
#
|
58
|
-
#
|
54
|
+
# accounts, see [fulfillment and authentication](https://developers.home.google.
|
55
|
+
# com/cloud-to-cloud/primer/fulfillment). The third-party user's identity is
|
56
|
+
# passed in via the `agent_user_id` (see DeleteAgentUserRequest). This request
|
57
|
+
# must be authorized using service account credentials from your Actions console
|
58
|
+
# project.
|
59
59
|
# @param [String] agent_user_id
|
60
60
|
# Required. Third-party user ID.
|
61
61
|
# @param [String] request_id
|
@@ -124,11 +124,11 @@ module Google
|
|
124
124
|
# Reports device state and optionally sends device notifications. Called by your
|
125
125
|
# smart home Action when the state of a third-party device changes or you need
|
126
126
|
# to send a notification about the device. See [Implement Report State](https://
|
127
|
-
# developers.google.com/
|
127
|
+
# developers.home.google.com/cloud-to-cloud/integration/report-state) for more
|
128
128
|
# information. This method updates the device state according to its declared [
|
129
|
-
# traits](https://developers.google.com/
|
130
|
-
# traits). Publishing a new state value outside of these traits will result
|
131
|
-
# an `INVALID_ARGUMENT` error response. The third-party user's identity is
|
129
|
+
# traits](https://developers.home.google.com/cloud-to-cloud/primer/device-types-
|
130
|
+
# and-traits). Publishing a new state value outside of these traits will result
|
131
|
+
# in an `INVALID_ARGUMENT` error response. The third-party user's identity is
|
132
132
|
# passed in via the `agent_user_id` (see ReportStateAndNotificationRequest).
|
133
133
|
# This request must be authorized using service account credentials from your
|
134
134
|
# Actions console project.
|
@@ -162,11 +162,11 @@ module Google
|
|
162
162
|
end
|
163
163
|
|
164
164
|
# Requests Google to send an `action.devices.SYNC` [intent](https://developers.
|
165
|
-
# google.com/
|
166
|
-
#
|
167
|
-
#
|
168
|
-
#
|
169
|
-
#
|
165
|
+
# home.google.com/cloud-to-cloud/intents/sync) to your smart home Action to
|
166
|
+
# update device metadata for the given user. The third-party user's identity is
|
167
|
+
# passed via the `agent_user_id` (see RequestSyncDevicesRequest). This request
|
168
|
+
# must be authorized using service account credentials from your Actions console
|
169
|
+
# project.
|
170
170
|
# @param [Google::Apis::HomegraphV1::RequestSyncDevicesRequest] request_sync_devices_request_object
|
171
171
|
# @param [String] fields
|
172
172
|
# Selector specifying which fields to include in a partial response.
|
@@ -23,7 +23,7 @@ module Google
|
|
23
23
|
#
|
24
24
|
#
|
25
25
|
#
|
26
|
-
# @see https://developers.google.com/
|
26
|
+
# @see https://developers.home.google.com/cloud-to-cloud/get-started
|
27
27
|
module HomegraphV1
|
28
28
|
# Version of the HomeGraph API this client connects to.
|
29
29
|
# This is NOT the gem version.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.18.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.9.
|
19
|
+
version: 0.9.1
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.9.
|
29
|
+
version: 0.9.1
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-homegraph_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-homegraph_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-homegraph_v1/v0.18.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-homegraph_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.4.2
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for HomeGraph API V1
|