google-apis-chromemanagement_v1 0.9.0 → 0.13.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 +4 -4
- data/CHANGELOG.md +16 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/chromemanagement_v1/classes.rb +1368 -36
- data/lib/google/apis/chromemanagement_v1/gem_version.rb +2 -2
- data/lib/google/apis/chromemanagement_v1/representations.rb +532 -0
- data/lib/google/apis/chromemanagement_v1/service.rb +191 -0
- data/lib/google/apis/chromemanagement_v1.rb +6 -0
- metadata +5 -5
@@ -51,6 +51,153 @@ module Google
|
|
51
51
|
@batch_path = 'batch'
|
52
52
|
end
|
53
53
|
|
54
|
+
# Generate summary of app installation requests.
|
55
|
+
# @param [String] customer
|
56
|
+
# Required. Customer id or "my_customer" to use the customer associated to the
|
57
|
+
# account making the request.
|
58
|
+
# @param [String] order_by
|
59
|
+
# Field used to order results. Supported fields: * request_count *
|
60
|
+
# latest_request_time
|
61
|
+
# @param [String] org_unit_id
|
62
|
+
# The ID of the organizational unit.
|
63
|
+
# @param [Fixnum] page_size
|
64
|
+
# Maximum number of results to return. Maximum and default are 50, anything
|
65
|
+
# above will be coerced to 50.
|
66
|
+
# @param [String] page_token
|
67
|
+
# Token to specify the page of the request to be returned.
|
68
|
+
# @param [String] fields
|
69
|
+
# Selector specifying which fields to include in a partial response.
|
70
|
+
# @param [String] quota_user
|
71
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
72
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
73
|
+
# @param [Google::Apis::RequestOptions] options
|
74
|
+
# Request-specific options
|
75
|
+
#
|
76
|
+
# @yield [result, err] Result & error if block supplied
|
77
|
+
# @yieldparam result [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountChromeAppRequestsResponse] parsed result object
|
78
|
+
# @yieldparam err [StandardError] error object if request failed
|
79
|
+
#
|
80
|
+
# @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountChromeAppRequestsResponse]
|
81
|
+
#
|
82
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
83
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
84
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
85
|
+
def count_customer_app_chrome_app_requests(customer, order_by: nil, org_unit_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
86
|
+
command = make_simple_command(:get, 'v1/{+customer}/apps:countChromeAppRequests', options)
|
87
|
+
command.response_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountChromeAppRequestsResponse::Representation
|
88
|
+
command.response_class = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountChromeAppRequestsResponse
|
89
|
+
command.params['customer'] = customer unless customer.nil?
|
90
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
91
|
+
command.query['orgUnitId'] = org_unit_id unless org_unit_id.nil?
|
92
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
93
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
94
|
+
command.query['fields'] = fields unless fields.nil?
|
95
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
96
|
+
execute_or_queue_command(command, &block)
|
97
|
+
end
|
98
|
+
|
99
|
+
# Get a specific app for a customer by its resource name.
|
100
|
+
# @param [String] name
|
101
|
+
# Required. The app for which details are being queried. Examples: "customers/
|
102
|
+
# my_customer/apps/chrome/gmbmikajjgmnabiglmofipeabaddhgne@2.1.2" for the Save
|
103
|
+
# to Google Drive Chrome extension version 2.1.2, "customers/my_customer/apps/
|
104
|
+
# android/com.google.android.apps.docs" for the Google Drive Android app's
|
105
|
+
# latest version.
|
106
|
+
# @param [String] fields
|
107
|
+
# Selector specifying which fields to include in a partial response.
|
108
|
+
# @param [String] quota_user
|
109
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
110
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
111
|
+
# @param [Google::Apis::RequestOptions] options
|
112
|
+
# Request-specific options
|
113
|
+
#
|
114
|
+
# @yield [result, err] Result & error if block supplied
|
115
|
+
# @yieldparam result [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AppDetails] parsed result object
|
116
|
+
# @yieldparam err [StandardError] error object if request failed
|
117
|
+
#
|
118
|
+
# @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AppDetails]
|
119
|
+
#
|
120
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
121
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
122
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
123
|
+
def get_customer_app_android(name, fields: nil, quota_user: nil, options: nil, &block)
|
124
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
125
|
+
command.response_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AppDetails::Representation
|
126
|
+
command.response_class = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AppDetails
|
127
|
+
command.params['name'] = name unless name.nil?
|
128
|
+
command.query['fields'] = fields unless fields.nil?
|
129
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
130
|
+
execute_or_queue_command(command, &block)
|
131
|
+
end
|
132
|
+
|
133
|
+
# Get a specific app for a customer by its resource name.
|
134
|
+
# @param [String] name
|
135
|
+
# Required. The app for which details are being queried. Examples: "customers/
|
136
|
+
# my_customer/apps/chrome/gmbmikajjgmnabiglmofipeabaddhgne@2.1.2" for the Save
|
137
|
+
# to Google Drive Chrome extension version 2.1.2, "customers/my_customer/apps/
|
138
|
+
# android/com.google.android.apps.docs" for the Google Drive Android app's
|
139
|
+
# latest version.
|
140
|
+
# @param [String] fields
|
141
|
+
# Selector specifying which fields to include in a partial response.
|
142
|
+
# @param [String] quota_user
|
143
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
144
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
145
|
+
# @param [Google::Apis::RequestOptions] options
|
146
|
+
# Request-specific options
|
147
|
+
#
|
148
|
+
# @yield [result, err] Result & error if block supplied
|
149
|
+
# @yieldparam result [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AppDetails] parsed result object
|
150
|
+
# @yieldparam err [StandardError] error object if request failed
|
151
|
+
#
|
152
|
+
# @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AppDetails]
|
153
|
+
#
|
154
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
155
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
156
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
157
|
+
def get_customer_app_chrome(name, fields: nil, quota_user: nil, options: nil, &block)
|
158
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
159
|
+
command.response_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AppDetails::Representation
|
160
|
+
command.response_class = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AppDetails
|
161
|
+
command.params['name'] = name unless name.nil?
|
162
|
+
command.query['fields'] = fields unless fields.nil?
|
163
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
164
|
+
execute_or_queue_command(command, &block)
|
165
|
+
end
|
166
|
+
|
167
|
+
# Get a specific app for a customer by its resource name.
|
168
|
+
# @param [String] name
|
169
|
+
# Required. The app for which details are being queried. Examples: "customers/
|
170
|
+
# my_customer/apps/chrome/gmbmikajjgmnabiglmofipeabaddhgne@2.1.2" for the Save
|
171
|
+
# to Google Drive Chrome extension version 2.1.2, "customers/my_customer/apps/
|
172
|
+
# android/com.google.android.apps.docs" for the Google Drive Android app's
|
173
|
+
# latest version.
|
174
|
+
# @param [String] fields
|
175
|
+
# Selector specifying which fields to include in a partial response.
|
176
|
+
# @param [String] quota_user
|
177
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
178
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
179
|
+
# @param [Google::Apis::RequestOptions] options
|
180
|
+
# Request-specific options
|
181
|
+
#
|
182
|
+
# @yield [result, err] Result & error if block supplied
|
183
|
+
# @yieldparam result [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AppDetails] parsed result object
|
184
|
+
# @yieldparam err [StandardError] error object if request failed
|
185
|
+
#
|
186
|
+
# @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AppDetails]
|
187
|
+
#
|
188
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
189
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
190
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
191
|
+
def get_customer_app_web(name, fields: nil, quota_user: nil, options: nil, &block)
|
192
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
193
|
+
command.response_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AppDetails::Representation
|
194
|
+
command.response_class = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AppDetails
|
195
|
+
command.params['name'] = name unless name.nil?
|
196
|
+
command.query['fields'] = fields unless fields.nil?
|
197
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
198
|
+
execute_or_queue_command(command, &block)
|
199
|
+
end
|
200
|
+
|
54
201
|
# Generate report of installed Chrome versions.
|
55
202
|
# @param [String] customer
|
56
203
|
# Required. Customer id or "my_customer" to use the customer associated to the
|
@@ -201,6 +348,50 @@ module Google
|
|
201
348
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
202
349
|
execute_or_queue_command(command, &block)
|
203
350
|
end
|
351
|
+
|
352
|
+
# List all telemetry devices.
|
353
|
+
# @param [String] parent
|
354
|
+
# Required. Customer id or "my_customer" to use the customer associated to the
|
355
|
+
# account making the request.
|
356
|
+
# @param [String] filter
|
357
|
+
# Optional. Only include resources that match the filter. Supported filter
|
358
|
+
# fields: - org_unit_id - serial_number
|
359
|
+
# @param [Fixnum] page_size
|
360
|
+
# Maximum number of results to return. Maximum and default are 100.
|
361
|
+
# @param [String] page_token
|
362
|
+
# Token to specify next page in the list.
|
363
|
+
# @param [String] read_mask
|
364
|
+
# Required. Read mask to specify which fields to return.
|
365
|
+
# @param [String] fields
|
366
|
+
# Selector specifying which fields to include in a partial response.
|
367
|
+
# @param [String] quota_user
|
368
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
369
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
370
|
+
# @param [Google::Apis::RequestOptions] options
|
371
|
+
# Request-specific options
|
372
|
+
#
|
373
|
+
# @yield [result, err] Result & error if block supplied
|
374
|
+
# @yieldparam result [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1ListTelemetryDevicesResponse] parsed result object
|
375
|
+
# @yieldparam err [StandardError] error object if request failed
|
376
|
+
#
|
377
|
+
# @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1ListTelemetryDevicesResponse]
|
378
|
+
#
|
379
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
380
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
381
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
382
|
+
def list_customer_telemetry_devices(parent, filter: nil, page_size: nil, page_token: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
383
|
+
command = make_simple_command(:get, 'v1/{+parent}/telemetry/devices', options)
|
384
|
+
command.response_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1ListTelemetryDevicesResponse::Representation
|
385
|
+
command.response_class = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1ListTelemetryDevicesResponse
|
386
|
+
command.params['parent'] = parent unless parent.nil?
|
387
|
+
command.query['filter'] = filter unless filter.nil?
|
388
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
389
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
390
|
+
command.query['readMask'] = read_mask unless read_mask.nil?
|
391
|
+
command.query['fields'] = fields unless fields.nil?
|
392
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
393
|
+
execute_or_queue_command(command, &block)
|
394
|
+
end
|
204
395
|
|
205
396
|
protected
|
206
397
|
|
@@ -31,8 +31,14 @@ module Google
|
|
31
31
|
# This is NOT the gem version.
|
32
32
|
VERSION = 'V1'
|
33
33
|
|
34
|
+
# See detailed information about apps installed on Chrome browsers and devices managed by your organization
|
35
|
+
AUTH_CHROME_MANAGEMENT_APPDETAILS_READONLY = 'https://www.googleapis.com/auth/chrome.management.appdetails.readonly'
|
36
|
+
|
34
37
|
# See reports about devices and Chrome browsers managed within your organization
|
35
38
|
AUTH_CHROME_MANAGEMENT_REPORTS_READONLY = 'https://www.googleapis.com/auth/chrome.management.reports.readonly'
|
39
|
+
|
40
|
+
# See basic device and telemetry information collected from Chrome OS devices or users managed within your organization
|
41
|
+
AUTH_CHROME_MANAGEMENT_TELEMETRY_READONLY = 'https://www.googleapis.com/auth/chrome.management.telemetry.readonly'
|
36
42
|
end
|
37
43
|
end
|
38
44
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-chromemanagement_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.13.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-12-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-chromemanagement_v1/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
60
|
+
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chromemanagement_v1/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-chromemanagement_v1/v0.13.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chromemanagement_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
65
65
|
require_paths:
|