google-apis-smartdevicemanagement_v1 0.18.0 → 0.20.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: 3b093e23ad33f2e477fc54b751ed374632ed965b1c336b679805d28c2f2a51b9
4
- data.tar.gz: 158a2d32c5ae0967c343817a929ec9bbbef11e5d18e50397eb402efd6f91f9d9
3
+ metadata.gz: dd69aa89ff0f514df52e32b141fe7075d4cad1d88ab4e9e51195101d7dfdbe59
4
+ data.tar.gz: 8567d57890a18f4c083212fb43b80ca6f533372aba49aa997a7ab2a8d1e6ead3
5
5
  SHA512:
6
- metadata.gz: de667a86d23fadd5b8eb45442b234fa984833a17c656f7d45bb8ff2b1a9a76b1a0638c8f4087fd121764bd8e8b23f72f209f1ec8095b29f83ec60b6773d6685c
7
- data.tar.gz: 3e3ea39c28cbad9e2ae2e5d71304753426d42d9f7abac9ee1526d3c58bbb75b3ae98894592923cf9256080b1b76109957baee3ec027b53e1e547e283cfe3999c
6
+ metadata.gz: 793eb75960d548e0736a6d9a6b650fe98cec312c01693a30878f16dd192306be50375bab80a00bc7c897e055279ee5e0027e7276a19df88bb1cd0ab8dcfa24b8
7
+ data.tar.gz: 3ee883bd743508380f38cf55e92d10992bed27a715a4abb6dfe2cc9601f099a99de1038b1ad4d3306e25bff2ed079336fcff314fe10cabb2bebd90149e8774e6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-smartdevicemanagement_v1
2
2
 
3
+ ### v0.20.0 (2023-09-17)
4
+
5
+ * Regenerated from discovery document revision 20230907
6
+
7
+ ### v0.19.0 (2023-08-06)
8
+
9
+ * Regenerated from discovery document revision 20230726
10
+
3
11
  ### v0.18.0 (2023-07-16)
4
12
 
5
13
  * Regenerated from discovery document revision 20230703
@@ -118,11 +118,6 @@ module Google
118
118
  # @return [Array<Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1Device>]
119
119
  attr_accessor :devices
120
120
 
121
- # The pagination token to retrieve the next page of results.
122
- # Corresponds to the JSON property `nextPageToken`
123
- # @return [String]
124
- attr_accessor :next_page_token
125
-
126
121
  def initialize(**args)
127
122
  update!(**args)
128
123
  end
@@ -130,7 +125,6 @@ module Google
130
125
  # Update properties of this object
131
126
  def update!(**args)
132
127
  @devices = args[:devices] if args.key?(:devices)
133
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
134
128
  end
135
129
  end
136
130
 
@@ -138,12 +132,6 @@ module Google
138
132
  class GoogleHomeEnterpriseSdmV1ListRoomsResponse
139
133
  include Google::Apis::Core::Hashable
140
134
 
141
- # The pagination token to retrieve the next page of results. If this field is
142
- # omitted, there are no subsequent pages.
143
- # Corresponds to the JSON property `nextPageToken`
144
- # @return [String]
145
- attr_accessor :next_page_token
146
-
147
135
  # The list of rooms.
148
136
  # Corresponds to the JSON property `rooms`
149
137
  # @return [Array<Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1Room>]
@@ -155,7 +143,6 @@ module Google
155
143
 
156
144
  # Update properties of this object
157
145
  def update!(**args)
158
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
159
146
  @rooms = args[:rooms] if args.key?(:rooms)
160
147
  end
161
148
  end
@@ -164,12 +151,6 @@ module Google
164
151
  class GoogleHomeEnterpriseSdmV1ListStructuresResponse
165
152
  include Google::Apis::Core::Hashable
166
153
 
167
- # The pagination token to retrieve the next page of results. If this field is
168
- # omitted, there are no subsequent pages.
169
- # Corresponds to the JSON property `nextPageToken`
170
- # @return [String]
171
- attr_accessor :next_page_token
172
-
173
154
  # The list of structures.
174
155
  # Corresponds to the JSON property `structures`
175
156
  # @return [Array<Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1Structure>]
@@ -181,7 +162,6 @@ module Google
181
162
 
182
163
  # Update properties of this object
183
164
  def update!(**args)
184
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
185
165
  @structures = args[:structures] if args.key?(:structures)
186
166
  end
187
167
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SmartdevicemanagementV1
18
18
  # Version of the google-apis-smartdevicemanagement_v1 gem
19
- GEM_VERSION = "0.18.0"
19
+ GEM_VERSION = "0.20.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230703"
25
+ REVISION = "20230907"
26
26
  end
27
27
  end
28
28
  end
@@ -107,14 +107,12 @@ module Google
107
107
  class Representation < Google::Apis::Core::JsonRepresentation
108
108
  collection :devices, as: 'devices', class: Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1Device, decorator: Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1Device::Representation
109
109
 
110
- property :next_page_token, as: 'nextPageToken'
111
110
  end
112
111
  end
113
112
 
114
113
  class GoogleHomeEnterpriseSdmV1ListRoomsResponse
115
114
  # @private
116
115
  class Representation < Google::Apis::Core::JsonRepresentation
117
- property :next_page_token, as: 'nextPageToken'
118
116
  collection :rooms, as: 'rooms', class: Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1Room, decorator: Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1Room::Representation
119
117
 
120
118
  end
@@ -123,7 +121,6 @@ module Google
123
121
  class GoogleHomeEnterpriseSdmV1ListStructuresResponse
124
122
  # @private
125
123
  class Representation < Google::Apis::Core::JsonRepresentation
126
- property :next_page_token, as: 'nextPageToken'
127
124
  collection :structures, as: 'structures', class: Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1Structure, decorator: Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1Structure::Representation
128
125
 
129
126
  end
@@ -119,11 +119,6 @@ module Google
119
119
  # @param [String] filter
120
120
  # Optional filter to list devices. Filters can be done on: Device custom name (
121
121
  # substring match): 'customName=wing'
122
- # @param [Fixnum] page_size
123
- # Optional requested page size. Server may return fewer devices than requested.
124
- # If unspecified, server will pick an appropriate default.
125
- # @param [String] page_token
126
- # Optional token of the page to retrieve.
127
122
  # @param [String] fields
128
123
  # Selector specifying which fields to include in a partial response.
129
124
  # @param [String] quota_user
@@ -141,14 +136,12 @@ module Google
141
136
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
142
137
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
143
138
  # @raise [Google::Apis::AuthorizationError] Authorization is required
144
- def list_enterprise_devices(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
139
+ def list_enterprise_devices(parent, filter: nil, fields: nil, quota_user: nil, options: nil, &block)
145
140
  command = make_simple_command(:get, 'v1/{+parent}/devices', options)
146
141
  command.response_representation = Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ListDevicesResponse::Representation
147
142
  command.response_class = Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ListDevicesResponse
148
143
  command.params['parent'] = parent unless parent.nil?
149
144
  command.query['filter'] = filter unless filter.nil?
150
- command.query['pageSize'] = page_size unless page_size.nil?
151
- command.query['pageToken'] = page_token unless page_token.nil?
152
145
  command.query['fields'] = fields unless fields.nil?
153
146
  command.query['quotaUser'] = quota_user unless quota_user.nil?
154
147
  execute_or_queue_command(command, &block)
@@ -190,11 +183,6 @@ module Google
190
183
  # The parent enterprise to list structures under. E.g. "enterprises/XYZ".
191
184
  # @param [String] filter
192
185
  # Optional filter to list structures.
193
- # @param [Fixnum] page_size
194
- # Requested page size. Server may return fewer structures than requested. If
195
- # unspecified, server will pick an appropriate default.
196
- # @param [String] page_token
197
- # The token of the page to retrieve.
198
186
  # @param [String] fields
199
187
  # Selector specifying which fields to include in a partial response.
200
188
  # @param [String] quota_user
@@ -212,14 +200,12 @@ module Google
212
200
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
213
201
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
214
202
  # @raise [Google::Apis::AuthorizationError] Authorization is required
215
- def list_enterprise_structures(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
203
+ def list_enterprise_structures(parent, filter: nil, fields: nil, quota_user: nil, options: nil, &block)
216
204
  command = make_simple_command(:get, 'v1/{+parent}/structures', options)
217
205
  command.response_representation = Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ListStructuresResponse::Representation
218
206
  command.response_class = Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ListStructuresResponse
219
207
  command.params['parent'] = parent unless parent.nil?
220
208
  command.query['filter'] = filter unless filter.nil?
221
- command.query['pageSize'] = page_size unless page_size.nil?
222
- command.query['pageToken'] = page_token unless page_token.nil?
223
209
  command.query['fields'] = fields unless fields.nil?
224
210
  command.query['quotaUser'] = quota_user unless quota_user.nil?
225
211
  execute_or_queue_command(command, &block)
@@ -260,11 +246,6 @@ module Google
260
246
  # @param [String] parent
261
247
  # The parent resource name of the rooms requested. For example: "enterprises/XYZ/
262
248
  # structures/ABC".
263
- # @param [Fixnum] page_size
264
- # Requested page size. Server may return fewer rooms than requested. If
265
- # unspecified, server will pick an appropriate default.
266
- # @param [String] page_token
267
- # The token of the page to retrieve.
268
249
  # @param [String] fields
269
250
  # Selector specifying which fields to include in a partial response.
270
251
  # @param [String] quota_user
@@ -282,13 +263,11 @@ module Google
282
263
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
283
264
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
284
265
  # @raise [Google::Apis::AuthorizationError] Authorization is required
285
- def list_enterprise_structure_rooms(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
266
+ def list_enterprise_structure_rooms(parent, fields: nil, quota_user: nil, options: nil, &block)
286
267
  command = make_simple_command(:get, 'v1/{+parent}/rooms', options)
287
268
  command.response_representation = Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ListRoomsResponse::Representation
288
269
  command.response_class = Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ListRoomsResponse
289
270
  command.params['parent'] = parent unless parent.nil?
290
- command.query['pageSize'] = page_size unless page_size.nil?
291
- command.query['pageToken'] = page_token unless page_token.nil?
292
271
  command.query['fields'] = fields unless fields.nil?
293
272
  command.query['quotaUser'] = quota_user unless quota_user.nil?
294
273
  execute_or_queue_command(command, &block)
@@ -30,11 +30,11 @@ module Google
30
30
  # This is NOT the gem version.
31
31
  VERSION = 'V1'
32
32
 
33
+ # See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
34
+ AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
35
+
33
36
  # See and/or control the devices that you selected
34
37
  AUTH_SDM_SERVICE = 'https://www.googleapis.com/auth/sdm.service'
35
-
36
- # See your primary Google Account email address
37
- AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email'
38
38
  end
39
39
  end
40
40
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-smartdevicemanagement_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.0
4
+ version: 0.20.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: 2023-07-16 00:00:00.000000000 Z
11
+ date: 2023-09-17 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-smartdevicemanagement_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-smartdevicemanagement_v1/v0.18.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-smartdevicemanagement_v1/v0.20.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-smartdevicemanagement_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.4.2
78
+ rubygems_version: 3.4.19
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Smart Device Management API V1