google-apis-homegraph_v1 0.17.0 → 0.19.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b322d1048491f1d4382eb9cf34c988f5b3b793311d608b8f622ed40b34d3dc68
4
- data.tar.gz: 4844b9288db7885ab5e5cac15a3dff67002dae1cbdd48417a024263912885d09
3
+ metadata.gz: 7c545a21d3e37e5f2bee7664590bd0ed56af8aa96f03d8ddd869b5aea9014aab
4
+ data.tar.gz: 37131dc8d87708a26c45eb06f0747da279e71ce3b4b52e5ca4d9c03339e14135
5
5
  SHA512:
6
- metadata.gz: 592a7334f7871c576b453e593fb3c728215dfd9d6b3b612c605f54c2d76680bf38cf982cc9477a3f114c40aba0555f45429fd779e704dbcf3b6802361df8539c
7
- data.tar.gz: 70c051131f79bc4f43c169990dc574061b401f370aa17dcef79e17ca6238ea18578730c1f0aaa03beec2c3aedfe64a0353fe0f0151ee75a401980dad0fc6e25a
6
+ metadata.gz: ae33584c2d732391263422fb0c7861fcc0d35052da19b76d56e1ea7f33c0452d6617af6c2e446c3ede58bb81362a77c3a15d6b9f838e3480c40486929fbd0d46
7
+ data.tar.gz: 621df8354a92ea13250b3a04695474dff40c146168df7195f4487e696167299823653e1bcee82ec8be1d4c4ebe5f180d8747a636c32d1d22cf859e6054f3d43a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-homegraph_v1
2
2
 
3
+ ### v0.19.0 (2023-01-22)
4
+
5
+ * Regenerated from discovery document revision 20230113
6
+
7
+ ### v0.18.0 (2023-01-15)
8
+
9
+ * Regenerated from discovery document revision 20230106
10
+ * Regenerated using generator version 0.11.1
11
+
3
12
  ### v0.17.0 (2022-10-28)
4
13
 
5
14
  * Regenerated using generator version 0.11.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/actions/smarthome/create-app#request-sync) may provide guidance regarding the preferred client library to use.
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
 
@@ -66,7 +66,7 @@ module Google
66
66
  end
67
67
  end
68
68
 
69
- # Third-party device definition. Next ID = 14
69
+ # Third-party device definition.
70
70
  class Device
71
71
  include Google::Apis::Core::Hashable
72
72
 
@@ -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/assistant/smarthome/
80
- # reference/intent/query) and [EXECUTE](https://developers.google.com/assistant/
81
- # smarthome/reference/intent/execute) intent. Data in this object has a few
82
- # constraints: No sensitive information, including but not limited to Personally
83
- # Identifiable Information.
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.com/
114
- # assistant/smarthome/concepts/local).
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.google.
132
- # com/assistant/smarthome/traits).
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.com/
138
- # assistant/smarthome/guides).
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/assistant/
330
- # smarthome/reference/intent/query). # Example ```json ` "requestId": "ff36a3cc-
331
- # ec34-11e6-b1a0-64510650abcf", "payload": ` "devices": ` "123": ` "on": true, "
332
- # online": true `, "456": ` "on": true, "online": true, "brightness": 80, "color"
333
- # : ` "name": "cerulean", "spectrumRGB": 31655 ` ` ` ` ` ```
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
- # assistant/smarthome/traits).
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/assistant/
390
- # smarthome/traits).
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). # Example ```json ` "
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/assistant/smarthome/
567
- # reference/intent/sync). # Example ```json ` "requestId": "ff36a3cc-ec34-11e6-
568
- # b1a0-64510650abcf", "payload": ` "agentUserId": "1836.15267389", "devices": [`
569
- # "id": "123", "type": "action.devices.types.OUTLET", "traits": [ "action.
570
- # devices.traits.OnOff" ], "name": ` "defaultNames": ["My Outlet 1234"], "name":
571
- # "Night light", "nicknames": ["wall plug"] `, "willReportState": false, "
572
- # deviceInfo": ` "manufacturer": "lights-out-inc", "model": "hs1234", "hwVersion"
573
- # : "3.2", "swVersion": "11.4" `, "customData": ` "fooValue": 74, "barValue":
574
- # true, "bazValue": "foo" ` `] ` ` ```
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.17.0"
19
+ GEM_VERSION = "0.19.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.0"
22
+ GENERATOR_VERSION = "0.11.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220325"
25
+ REVISION = "20230113"
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/actions/smarthome/create-app#request-sync
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.com/
55
- # assistant/smarthome/concepts/fulfillment-authentication). The third-party user'
56
- # s identity is passed in via the `agent_user_id` (see DeleteAgentUserRequest).
57
- # This request must be authorized using service account credentials from your
58
- # Actions console project.
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/assistant/smarthome/develop/report-state) for more
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/assistant/smarthome/concepts/devices-
130
- # traits). Publishing a new state value outside of these traits will result in
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/assistant/smarthome/reference/intent/sync) to your smart home
166
- # Action to update device metadata for the given user. The third-party user's
167
- # identity is passed via the `agent_user_id` (see RequestSyncDevicesRequest).
168
- # This request must be authorized using service account credentials from your
169
- # Actions console project.
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/actions/smarthome/create-app#request-sync
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.17.0
4
+ version: 0.19.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: 2022-10-31 00:00:00.000000000 Z
11
+ date: 2023-01-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -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.17.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-homegraph_v1/v0.19.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.3.14
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