google-apis-homegraph_v1 0.2.0 → 0.7.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: e424ee6ee3db1b3ff7d191846187af0445aa344131a299998b41e7eb965adf8b
4
- data.tar.gz: 4ed1129fbdb141ea387f47628fbe4ef2f44b6f0ba409c99db07226e81d26e2c0
3
+ metadata.gz: ec6bc4403b29c89b276c819952af54b56e987dcd230692b10552c618868291be
4
+ data.tar.gz: ce3c5458068a4aa7bd26483bec444d06ccfb48a45767a487772da66f08327e38
5
5
  SHA512:
6
- metadata.gz: d985d4c2f812f785fce181fb37814f0ad70e4b21eded048fbc688843f769145c25d98e005fb83044cefa0850981f4c0a22011dbb68b43b41f8c9a60511924e5b
7
- data.tar.gz: 2759dd666698ac688524b7d1358e1d414c17de65bbfdcfd3797562283ddf2c65e75f332c96e509da9ada88cc6c013dcc9d21905b17a6431b18bd02966cdb5963
6
+ metadata.gz: 3a345cd3ddf5ca5890f8e94e899f14fb2d529a8a6eda9ef6d0d5de5ffe8aa9ce4c37df3355871f2f5d72e92e38587600315b2ce1c825c9bde1ed68b539132627
7
+ data.tar.gz: 20fbed7bd2f1591321692c2f6f2ea0ea85f4bba80f00c4803f990dbd8a63e7120c8377dd2b32c702ea3a7951d9b715b79571d0c04b72d5493b33a9d12f0314ac
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Release history for google-apis-homegraph_v1
2
2
 
3
+ ### v0.7.0 (2021-05-19)
4
+
5
+ * Unspecified changes
6
+
7
+ ### v0.6.0 (2021-04-08)
8
+
9
+ * Regenerated from discovery document revision 20210402
10
+
11
+ ### v0.5.0 (2021-03-25)
12
+
13
+ * Regenerated from discovery document revision 20210318
14
+
15
+ ### v0.4.0 (2021-03-10)
16
+
17
+ * Regenerated from discovery document revision 20210303
18
+ * Regenerated using generator version 0.2.0
19
+
20
+ ### v0.3.0 (2021-03-04)
21
+
22
+ * Regenerated from discovery document revision 20210226
23
+
3
24
  ### v0.2.0 (2021-01-28)
4
25
 
5
26
  * Regenerated from discovery document revision 20210122
@@ -29,7 +29,7 @@ module Google
29
29
  # This is NOT the gem version.
30
30
  VERSION = 'V1'
31
31
 
32
- # New Service: https://www.googleapis.com/auth/homegraph
32
+ # Private Service: https://www.googleapis.com/auth/homegraph
33
33
  AUTH_HOMEGRAPH = 'https://www.googleapis.com/auth/homegraph'
34
34
  end
35
35
  end
@@ -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
@@ -454,10 +424,7 @@ module Google
454
424
  # @return [String]
455
425
  attr_accessor :event_id
456
426
 
457
- # Token to maintain state in the follow up notification response. Deprecated.
458
- # See the [notifications guide](https://developers.google.com/assistant/
459
- # smarthome/develop/notifications) for details on implementing follow up
460
- # notifications.
427
+ # Deprecated.
461
428
  # Corresponds to the JSON property `followUpToken`
462
429
  # @return [String]
463
430
  attr_accessor :follow_up_token
@@ -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.2.0"
19
+ GEM_VERSION = "0.7.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.2"
22
+ GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210122"
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.2.0
4
+ version: 0.7.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-02-08 00:00:00.000000000 Z
11
+ date: 2021-05-24 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.2.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-homegraph_v1/v0.7.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: []
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
62
62
  requirements:
63
63
  - - ">="
64
64
  - !ruby/object:Gem::Version
65
- version: '2.4'
65
+ version: '2.5'
66
66
  required_rubygems_version: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - ">="
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.2.6
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