google-apis-homegraph_v1 0.4.0 → 0.5.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: c0464cd0b4a7c79a06523a9f1076cc5f5196dbdc158236c31abcecfc3536f51a
4
- data.tar.gz: 501406606dbd4ec7947614523a75866371ff17c776684d946e458aa11c5d6ecd
3
+ metadata.gz: 954ec7a5d46ce6a9bf03e53ea5b524a981c9eb91b9b342f79e9f394d73021c8a
4
+ data.tar.gz: b1a0171e0111a00c48112533601f3c533229f3690f0a4cfed54c392b99b42789
5
5
  SHA512:
6
- metadata.gz: 24c595aed0b551682593f69ff271d9542afd9252ef403f4c5158afb32601ec0d278e1150150f2d1e856d9badca67400f3a8516250d28998d243f4152cf4cb996
7
- data.tar.gz: 2a5c61f7f620ef58babf92a01311ecb5aa9b59292a7226a7c31054cecf288c5ba34e7ff999615910050970cef394315c4e0d4c9fa6ab05dbd69b7a614a3097ad
6
+ metadata.gz: 0ded0bf951e16f889e56846b5597307a78f72d61e8e76aca6313fb59653d1fe9dd8e8334834a761a1cec7e00935f5fef794a1540e3adca08ea8131453bd8eacf
7
+ data.tar.gz: b5fcd3e4cf812042e03e6402647d2f24e68465005e500cbadf527cadad2c3cc9676dd1f66efbd4d68f6e6be8d02f3c241ac742bb9c7107e63bed352f3b94eb01
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-homegraph_v1
2
2
 
3
+ ### v0.5.0 (2021-03-25)
4
+
5
+ * Regenerated from discovery document revision 20210318
6
+
3
7
  ### v0.4.0 (2021-03-10)
4
8
 
5
9
  * Regenerated from discovery document revision 20210303
@@ -454,10 +454,7 @@ module Google
454
454
  # @return [String]
455
455
  attr_accessor :event_id
456
456
 
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.
457
+ # Deprecated.
461
458
  # Corresponds to the JSON property `followUpToken`
462
459
  # @return [String]
463
460
  attr_accessor :follow_up_token
@@ -506,58 +503,6 @@ module Google
506
503
  end
507
504
  end
508
505
 
509
- # Request type for the [`RequestLink`](#google.home.graph.v1.HomeGraphApiService.
510
- # RequestLink) call.
511
- class RequestLinkRequest
512
- include Google::Apis::Core::Hashable
513
-
514
- # Payload containing potential devices detected and when they were detected.
515
- # Corresponds to the JSON property `payload`
516
- # @return [Google::Apis::HomegraphV1::RequestLinkRequestPayload]
517
- attr_accessor :payload
518
-
519
- # Required. Request ID used for debugging.
520
- # Corresponds to the JSON property `requestId`
521
- # @return [String]
522
- attr_accessor :request_id
523
-
524
- def initialize(**args)
525
- update!(**args)
526
- end
527
-
528
- # Update properties of this object
529
- def update!(**args)
530
- @payload = args[:payload] if args.key?(:payload)
531
- @request_id = args[:request_id] if args.key?(:request_id)
532
- end
533
- end
534
-
535
- # Payload containing potential devices detected and when they were detected.
536
- class RequestLinkRequestPayload
537
- include Google::Apis::Core::Hashable
538
-
539
- # Required. Time at which devices represented in `potential_cast_device_ids`
540
- # were detected.
541
- # Corresponds to the JSON property `detectionTime`
542
- # @return [String]
543
- attr_accessor :detection_time
544
-
545
- # Required. List of device IDs detected that may potentially be for Cast devices.
546
- # Corresponds to the JSON property `potentialCastDeviceIds`
547
- # @return [Array<String>]
548
- attr_accessor :potential_cast_device_ids
549
-
550
- def initialize(**args)
551
- update!(**args)
552
- end
553
-
554
- # Update properties of this object
555
- def update!(**args)
556
- @detection_time = args[:detection_time] if args.key?(:detection_time)
557
- @potential_cast_device_ids = args[:potential_cast_device_ids] if args.key?(:potential_cast_device_ids)
558
- end
559
- end
560
-
561
506
  # Request type for the [`RequestSyncDevices`](#google.home.graph.v1.
562
507
  # HomeGraphApiService.RequestSyncDevices) call.
563
508
  class RequestSyncDevicesRequest
@@ -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.4.0"
19
+ GEM_VERSION = "0.5.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 = "20210303"
25
+ REVISION = "20210318"
26
26
  end
27
27
  end
28
28
  end
@@ -112,18 +112,6 @@ module Google
112
112
  include Google::Apis::Core::JsonObjectSupport
113
113
  end
114
114
 
115
- class RequestLinkRequest
116
- class Representation < Google::Apis::Core::JsonRepresentation; end
117
-
118
- include Google::Apis::Core::JsonObjectSupport
119
- end
120
-
121
- class RequestLinkRequestPayload
122
- class Representation < Google::Apis::Core::JsonRepresentation; end
123
-
124
- include Google::Apis::Core::JsonObjectSupport
125
- end
126
-
127
115
  class RequestSyncDevicesRequest
128
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
117
 
@@ -299,23 +287,6 @@ module Google
299
287
  end
300
288
  end
301
289
 
302
- class RequestLinkRequest
303
- # @private
304
- class Representation < Google::Apis::Core::JsonRepresentation
305
- property :payload, as: 'payload', class: Google::Apis::HomegraphV1::RequestLinkRequestPayload, decorator: Google::Apis::HomegraphV1::RequestLinkRequestPayload::Representation
306
-
307
- property :request_id, as: 'requestId'
308
- end
309
- end
310
-
311
- class RequestLinkRequestPayload
312
- # @private
313
- class Representation < Google::Apis::Core::JsonRepresentation
314
- property :detection_time, as: 'detectionTime'
315
- collection :potential_cast_device_ids, as: 'potentialCastDeviceIds'
316
- end
317
- end
318
-
319
290
  class RequestSyncDevicesRequest
320
291
  # @private
321
292
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -161,38 +161,6 @@ module Google
161
161
  execute_or_queue_command(command, &block)
162
162
  end
163
163
 
164
- # Sends an account linking suggestion to users associated with any potential
165
- # Cast devices detected by third-party devices. This request must be authorized
166
- # using service account credentials from your Actions console project.
167
- # @param [Google::Apis::HomegraphV1::RequestLinkRequest] request_link_request_object
168
- # @param [String] fields
169
- # Selector specifying which fields to include in a partial response.
170
- # @param [String] quota_user
171
- # Available to use for quota purposes for server-side applications. Can be any
172
- # arbitrary string assigned to a user, but should not exceed 40 characters.
173
- # @param [Google::Apis::RequestOptions] options
174
- # Request-specific options
175
- #
176
- # @yield [result, err] Result & error if block supplied
177
- # @yieldparam result [Google::Apis::HomegraphV1::Empty] parsed result object
178
- # @yieldparam err [StandardError] error object if request failed
179
- #
180
- # @return [Google::Apis::HomegraphV1::Empty]
181
- #
182
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
183
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
184
- # @raise [Google::Apis::AuthorizationError] Authorization is required
185
- def request_device_link(request_link_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
186
- command = make_simple_command(:post, 'v1/devices:requestLink', options)
187
- command.request_representation = Google::Apis::HomegraphV1::RequestLinkRequest::Representation
188
- command.request_object = request_link_request_object
189
- command.response_representation = Google::Apis::HomegraphV1::Empty::Representation
190
- command.response_class = Google::Apis::HomegraphV1::Empty
191
- command.query['fields'] = fields unless fields.nil?
192
- command.query['quotaUser'] = quota_user unless quota_user.nil?
193
- execute_or_queue_command(command, &block)
194
- end
195
-
196
164
  # Requests Google to send an `action.devices.SYNC` [intent](https://developers.
197
165
  # google.com/assistant/smarthome/reference/intent/sync) to your smart home
198
166
  # Action to update device metadata for the given user. The third-party user's
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.0
4
+ version: 0.5.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-03-15 00:00:00.000000000 Z
11
+ date: 2021-03-29 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.4.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-homegraph_v1/v0.5.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: []