google-apis-smartdevicemanagement_v1 0.18.0 → 0.19.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/smartdevicemanagement_v1/classes.rb +0 -20
- data/lib/google/apis/smartdevicemanagement_v1/gem_version.rb +2 -2
- data/lib/google/apis/smartdevicemanagement_v1/representations.rb +0 -3
- data/lib/google/apis/smartdevicemanagement_v1/service.rb +3 -24
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 91e20abcb0469384aa6c357948838ace03b47a5cd6446fb4b3f7267cbf364b26
|
4
|
+
data.tar.gz: b877e1a9862a17495865a5d004c92e335628d2b872eb9e95b41bb6316df61ec7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce6f40d69adb1eb51cffd7693d753478000dccc9cf1cf578371ec7a55da43241598073f6e36fbf293822b153f336d21c42b119d0dc1dc32650f6f535482aa216
|
7
|
+
data.tar.gz: 62b468678f149c84f4ade7f99bc544e072ccedac1578ef62da2e2e8f8e8a93184941c55011d9d6784c7d18644704535176b7a10f999d45e9f9f79a6ee9e34768
|
data/CHANGELOG.md
CHANGED
@@ -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.
|
19
|
+
GEM_VERSION = "0.19.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 = "
|
25
|
+
REVISION = "20230726"
|
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,
|
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,
|
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,
|
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)
|
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.
|
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: 2023-
|
11
|
+
date: 2023-08-06 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-smartdevicemanagement_v1/v0.19.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: []
|