google-apis-homegraph_v1 0.5.0 → 0.6.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f72553a544e34eee9b31da8492c45fab801e0263657cba2fbe72add45f8a24a1
|
4
|
+
data.tar.gz: fe6ee06a24f55c76dcaf0f0dce5a0610e088e2d78f19351299055e91984b2f8c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6930637bc8bc4dc3b38e309c1e437a0c790b248e7f5dd0237cba5867e5a8bd0cba8e65bcf7d32a1b63159cc63895fc4aaa4e392738d5dd65c4b5632b4ee9a009
|
7
|
+
data.tar.gz: bf0e4bea37f3aa6318d0d97e6a98d0adedf3088ffde8d9a83e628c2a1fcd457d4fb3785a9e2e5d4216682b2080880db18c664a0b339d803beae1e0557d8f69a5
|
data/CHANGELOG.md
CHANGED
@@ -100,14 +100,6 @@ module Google
|
|
100
100
|
# @return [Google::Apis::HomegraphV1::DeviceNames]
|
101
101
|
attr_accessor :name
|
102
102
|
|
103
|
-
# See description for "traits". For Smart Home Entertainment Devices (SHED)
|
104
|
-
# devices, some traits can only be executed on 3P cloud, e.g. "non_local_traits":
|
105
|
-
# [ ` "trait": "action.devices.traits.MediaInitiation" `, ` "trait": "action.
|
106
|
-
# devices.traits.Channel" ` ] go/shed-per-trait-routing.
|
107
|
-
# Corresponds to the JSON property `nonLocalTraits`
|
108
|
-
# @return [Array<Google::Apis::HomegraphV1::NonLocalTrait>]
|
109
|
-
attr_accessor :non_local_traits
|
110
|
-
|
111
103
|
# Indicates whether your smart home Action will report notifications to Google
|
112
104
|
# for this device via ReportStateAndNotification. If your smart home Action
|
113
105
|
# enables users to control device notifications, you should update this field
|
@@ -166,7 +158,6 @@ module Google
|
|
166
158
|
@device_info = args[:device_info] if args.key?(:device_info)
|
167
159
|
@id = args[:id] if args.key?(:id)
|
168
160
|
@name = args[:name] if args.key?(:name)
|
169
|
-
@non_local_traits = args[:non_local_traits] if args.key?(:non_local_traits)
|
170
161
|
@notification_supported_by_agent = args[:notification_supported_by_agent] if args.key?(:notification_supported_by_agent)
|
171
162
|
@other_device_ids = args[:other_device_ids] if args.key?(:other_device_ids)
|
172
163
|
@room_hint = args[:room_hint] if args.key?(:room_hint)
|
@@ -263,27 +254,6 @@ module Google
|
|
263
254
|
end
|
264
255
|
end
|
265
256
|
|
266
|
-
# LINT.IfChange go/shed-per-trait-routing. Making it object to allow for
|
267
|
-
# extendible design, where we can add attributes in future.
|
268
|
-
class NonLocalTrait
|
269
|
-
include Google::Apis::Core::Hashable
|
270
|
-
|
271
|
-
# Trait name, e.g., "action.devices.traits.MediaInitiation". See [device traits](
|
272
|
-
# https://developers.google.com/assistant/smarthome/traits).
|
273
|
-
# Corresponds to the JSON property `trait`
|
274
|
-
# @return [String]
|
275
|
-
attr_accessor :trait
|
276
|
-
|
277
|
-
def initialize(**args)
|
278
|
-
update!(**args)
|
279
|
-
end
|
280
|
-
|
281
|
-
# Update properties of this object
|
282
|
-
def update!(**args)
|
283
|
-
@trait = args[:trait] if args.key?(:trait)
|
284
|
-
end
|
285
|
-
end
|
286
|
-
|
287
257
|
# Request type for the [`Query`](#google.home.graph.v1.HomeGraphApiService.Query)
|
288
258
|
# call.
|
289
259
|
class QueryRequest
|
@@ -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.6.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210402"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -58,12 +58,6 @@ module Google
|
|
58
58
|
include Google::Apis::Core::JsonObjectSupport
|
59
59
|
end
|
60
60
|
|
61
|
-
class NonLocalTrait
|
62
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
-
|
64
|
-
include Google::Apis::Core::JsonObjectSupport
|
65
|
-
end
|
66
|
-
|
67
61
|
class QueryRequest
|
68
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
63
|
|
@@ -173,8 +167,6 @@ module Google
|
|
173
167
|
property :id, as: 'id'
|
174
168
|
property :name, as: 'name', class: Google::Apis::HomegraphV1::DeviceNames, decorator: Google::Apis::HomegraphV1::DeviceNames::Representation
|
175
169
|
|
176
|
-
collection :non_local_traits, as: 'nonLocalTraits', class: Google::Apis::HomegraphV1::NonLocalTrait, decorator: Google::Apis::HomegraphV1::NonLocalTrait::Representation
|
177
|
-
|
178
170
|
property :notification_supported_by_agent, as: 'notificationSupportedByAgent'
|
179
171
|
collection :other_device_ids, as: 'otherDeviceIds', class: Google::Apis::HomegraphV1::AgentOtherDeviceId, decorator: Google::Apis::HomegraphV1::AgentOtherDeviceId::Representation
|
180
172
|
|
@@ -211,13 +203,6 @@ module Google
|
|
211
203
|
end
|
212
204
|
end
|
213
205
|
|
214
|
-
class NonLocalTrait
|
215
|
-
# @private
|
216
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
217
|
-
property :trait, as: 'trait'
|
218
|
-
end
|
219
|
-
end
|
220
|
-
|
221
206
|
class QueryRequest
|
222
207
|
# @private
|
223
208
|
class Representation < Google::Apis::Core::JsonRepresentation
|
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.6.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: 2021-
|
11
|
+
date: 2021-05-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -52,7 +52,7 @@ licenses:
|
|
52
52
|
metadata:
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
54
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-homegraph_v1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-homegraph_v1/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-homegraph_v1/v0.6.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-homegraph_v1
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
|
-
rubygems_version: 3.2.
|
72
|
+
rubygems_version: 3.2.17
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Simple REST client for HomeGraph API V1
|