google-apis-chromemanagement_v1 0.32.0 → 0.34.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 +9 -0
- data/lib/google/apis/chromemanagement_v1/classes.rb +141 -1
- data/lib/google/apis/chromemanagement_v1/gem_version.rb +3 -3
- data/lib/google/apis/chromemanagement_v1/representations.rb +68 -0
- data/lib/google/apis/chromemanagement_v1/service.rb +83 -4
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 788b8fdaf0d18717ca10b2692a8337803e5612e9971814cf2c940fe621d75169
|
4
|
+
data.tar.gz: 3e5b3df62b34ca326cedb325bbf2afdfa2ad157dd07e46caef9ec6c3c309c1d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7bae60187dbc15fe3d293588c38d60e3dae30cf9e2bb202f789335aed9932e54fe4633865afa63d31075f28aee1873d978697410f798d0965512ee937d994bca
|
7
|
+
data.tar.gz: 2faf65e578d0562ca3a7c3b9079ec99eaf55534ce1c96be2668e5c8048a7eb37560c99115ae687038f49b6fdaf0d3f3106f9345fe84e26da1d5e5999caea38e0
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-chromemanagement_v1
|
2
2
|
|
3
|
+
### v0.34.0 (2023-02-05)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230202
|
6
|
+
|
7
|
+
### v0.33.0 (2023-01-29)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230127
|
10
|
+
* Regenerated using generator version 0.11.1
|
11
|
+
|
3
12
|
### v0.32.0 (2023-01-04)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20230102
|
@@ -1426,7 +1426,7 @@ module Google
|
|
1426
1426
|
# and this will change over time as the device is utilized. * Data for this
|
1427
1427
|
# field is controlled via policy: [ReportDeviceGraphicsInfo](https://
|
1428
1428
|
# chromeenterprise.google/policies/#ReportDeviceGraphicsInfo) * Data Collection
|
1429
|
-
# Frequency:
|
1429
|
+
# Frequency: 3 hours. * Default Data Reporting Frequency: 3 hours - Policy
|
1430
1430
|
# Controlled: Yes * Cache: If the device is offline, the collected data is
|
1431
1431
|
# stored locally, and will be reported when the device is next online: No *
|
1432
1432
|
# Reported for affiliated users only: N/A
|
@@ -1613,6 +1613,31 @@ module Google
|
|
1613
1613
|
end
|
1614
1614
|
end
|
1615
1615
|
|
1616
|
+
# Response message for listing telemetry users for a customer.
|
1617
|
+
class GoogleChromeManagementV1ListTelemetryUsersResponse
|
1618
|
+
include Google::Apis::Core::Hashable
|
1619
|
+
|
1620
|
+
# Token to specify next page in the list.
|
1621
|
+
# Corresponds to the JSON property `nextPageToken`
|
1622
|
+
# @return [String]
|
1623
|
+
attr_accessor :next_page_token
|
1624
|
+
|
1625
|
+
# Telemetry users returned in the response.
|
1626
|
+
# Corresponds to the JSON property `telemetryUsers`
|
1627
|
+
# @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryUser>]
|
1628
|
+
attr_accessor :telemetry_users
|
1629
|
+
|
1630
|
+
def initialize(**args)
|
1631
|
+
update!(**args)
|
1632
|
+
end
|
1633
|
+
|
1634
|
+
# Update properties of this object
|
1635
|
+
def update!(**args)
|
1636
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1637
|
+
@telemetry_users = args[:telemetry_users] if args.key?(:telemetry_users)
|
1638
|
+
end
|
1639
|
+
end
|
1640
|
+
|
1616
1641
|
# Memory information of a device. * This field has both telemetry and device
|
1617
1642
|
# information: - `totalRamBytes` - Device information - `availableRamBytes` -
|
1618
1643
|
# Telemetry information - `totalMemoryEncryption` - Device information * Data
|
@@ -1986,6 +2011,31 @@ module Google
|
|
1986
2011
|
end
|
1987
2012
|
end
|
1988
2013
|
|
2014
|
+
# Peripherals report.
|
2015
|
+
class GoogleChromeManagementV1PeripheralsReport
|
2016
|
+
include Google::Apis::Core::Hashable
|
2017
|
+
|
2018
|
+
# Output only. Timestamp of when the report was collected.
|
2019
|
+
# Corresponds to the JSON property `reportTime`
|
2020
|
+
# @return [String]
|
2021
|
+
attr_accessor :report_time
|
2022
|
+
|
2023
|
+
# Reports of all usb connected devices.
|
2024
|
+
# Corresponds to the JSON property `usbPeripheralReport`
|
2025
|
+
# @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1UsbPeripheralReport>]
|
2026
|
+
attr_accessor :usb_peripheral_report
|
2027
|
+
|
2028
|
+
def initialize(**args)
|
2029
|
+
update!(**args)
|
2030
|
+
end
|
2031
|
+
|
2032
|
+
# Update properties of this object
|
2033
|
+
def update!(**args)
|
2034
|
+
@report_time = args[:report_time] if args.key?(:report_time)
|
2035
|
+
@usb_peripheral_report = args[:usb_peripheral_report] if args.key?(:usb_peripheral_report)
|
2036
|
+
end
|
2037
|
+
end
|
2038
|
+
|
1989
2039
|
# Status data for storage. * This field is telemetry information and this will
|
1990
2040
|
# change over time as the device is utilized. * Data for this field is
|
1991
2041
|
# controlled via policy: [ReportDeviceStorageStatus](https://chromeenterprise.
|
@@ -2224,6 +2274,12 @@ module Google
|
|
2224
2274
|
# @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1OsUpdateStatus>]
|
2225
2275
|
attr_accessor :os_update_status
|
2226
2276
|
|
2277
|
+
# Output only. Peripherals reports collected periodically sorted in a decreasing
|
2278
|
+
# order of report_time.
|
2279
|
+
# Corresponds to the JSON property `peripheralsReport`
|
2280
|
+
# @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1PeripheralsReport>]
|
2281
|
+
attr_accessor :peripherals_report
|
2282
|
+
|
2227
2283
|
# Output only. Device serial number. This value is the same as the Admin Console'
|
2228
2284
|
# s Serial Number in the ChromeOS Devices tab.
|
2229
2285
|
# Corresponds to the JSON property `serialNumber`
|
@@ -2276,6 +2332,7 @@ module Google
|
|
2276
2332
|
@network_status_report = args[:network_status_report] if args.key?(:network_status_report)
|
2277
2333
|
@org_unit_id = args[:org_unit_id] if args.key?(:org_unit_id)
|
2278
2334
|
@os_update_status = args[:os_update_status] if args.key?(:os_update_status)
|
2335
|
+
@peripherals_report = args[:peripherals_report] if args.key?(:peripherals_report)
|
2279
2336
|
@serial_number = args[:serial_number] if args.key?(:serial_number)
|
2280
2337
|
@storage_info = args[:storage_info] if args.key?(:storage_info)
|
2281
2338
|
@storage_status_report = args[:storage_status_report] if args.key?(:storage_status_report)
|
@@ -2422,6 +2479,89 @@ module Google
|
|
2422
2479
|
end
|
2423
2480
|
end
|
2424
2481
|
|
2482
|
+
# Telemetry data collected from a managed user.
|
2483
|
+
class GoogleChromeManagementV1TelemetryUser
|
2484
|
+
include Google::Apis::Core::Hashable
|
2485
|
+
|
2486
|
+
# G Suite Customer whose enterprise enrolled the device.
|
2487
|
+
# Corresponds to the JSON property `customer`
|
2488
|
+
# @return [String]
|
2489
|
+
attr_accessor :customer
|
2490
|
+
|
2491
|
+
# Resource name of the user.
|
2492
|
+
# Corresponds to the JSON property `name`
|
2493
|
+
# @return [String]
|
2494
|
+
attr_accessor :name
|
2495
|
+
|
2496
|
+
# Organization unit of the user.
|
2497
|
+
# Corresponds to the JSON property `orgUnitId`
|
2498
|
+
# @return [String]
|
2499
|
+
attr_accessor :org_unit_id
|
2500
|
+
|
2501
|
+
# Telemetry data collected from a managed user and device.
|
2502
|
+
# Corresponds to the JSON property `userDevice`
|
2503
|
+
# @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryUserDevice>]
|
2504
|
+
attr_accessor :user_device
|
2505
|
+
|
2506
|
+
# Email address of the user.
|
2507
|
+
# Corresponds to the JSON property `userEmail`
|
2508
|
+
# @return [String]
|
2509
|
+
attr_accessor :user_email
|
2510
|
+
|
2511
|
+
# Directory ID of the user.
|
2512
|
+
# Corresponds to the JSON property `userId`
|
2513
|
+
# @return [String]
|
2514
|
+
attr_accessor :user_id
|
2515
|
+
|
2516
|
+
def initialize(**args)
|
2517
|
+
update!(**args)
|
2518
|
+
end
|
2519
|
+
|
2520
|
+
# Update properties of this object
|
2521
|
+
def update!(**args)
|
2522
|
+
@customer = args[:customer] if args.key?(:customer)
|
2523
|
+
@name = args[:name] if args.key?(:name)
|
2524
|
+
@org_unit_id = args[:org_unit_id] if args.key?(:org_unit_id)
|
2525
|
+
@user_device = args[:user_device] if args.key?(:user_device)
|
2526
|
+
@user_email = args[:user_email] if args.key?(:user_email)
|
2527
|
+
@user_id = args[:user_id] if args.key?(:user_id)
|
2528
|
+
end
|
2529
|
+
end
|
2530
|
+
|
2531
|
+
# Telemetry data collected for a managed user and device.
|
2532
|
+
class GoogleChromeManagementV1TelemetryUserDevice
|
2533
|
+
include Google::Apis::Core::Hashable
|
2534
|
+
|
2535
|
+
# Output only. Audio reports collected periodically sorted in a decreasing order
|
2536
|
+
# of report_time.
|
2537
|
+
# Corresponds to the JSON property `audioStatusReport`
|
2538
|
+
# @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AudioStatusReport>]
|
2539
|
+
attr_accessor :audio_status_report
|
2540
|
+
|
2541
|
+
# The unique Directory API ID of the device. This value is the same as the Admin
|
2542
|
+
# Console's Directory API ID in the ChromeOS Devices tab.
|
2543
|
+
# Corresponds to the JSON property `deviceId`
|
2544
|
+
# @return [String]
|
2545
|
+
attr_accessor :device_id
|
2546
|
+
|
2547
|
+
# Output only. Peripherals reports collected periodically sorted in a decreasing
|
2548
|
+
# order of report_time.
|
2549
|
+
# Corresponds to the JSON property `peripheralsReport`
|
2550
|
+
# @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1PeripheralsReport>]
|
2551
|
+
attr_accessor :peripherals_report
|
2552
|
+
|
2553
|
+
def initialize(**args)
|
2554
|
+
update!(**args)
|
2555
|
+
end
|
2556
|
+
|
2557
|
+
# Update properties of this object
|
2558
|
+
def update!(**args)
|
2559
|
+
@audio_status_report = args[:audio_status_report] if args.key?(:audio_status_report)
|
2560
|
+
@device_id = args[:device_id] if args.key?(:device_id)
|
2561
|
+
@peripherals_report = args[:peripherals_report] if args.key?(:peripherals_report)
|
2562
|
+
end
|
2563
|
+
end
|
2564
|
+
|
2425
2565
|
# Information about a user associated with telemetry data.
|
2426
2566
|
class GoogleChromeManagementV1TelemetryUserInfo
|
2427
2567
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ChromemanagementV1
|
18
18
|
# Version of the google-apis-chromemanagement_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.34.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.11.
|
22
|
+
GENERATOR_VERSION = "0.11.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230202"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -232,6 +232,12 @@ module Google
|
|
232
232
|
include Google::Apis::Core::JsonObjectSupport
|
233
233
|
end
|
234
234
|
|
235
|
+
class GoogleChromeManagementV1ListTelemetryUsersResponse
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
|
+
|
238
|
+
include Google::Apis::Core::JsonObjectSupport
|
239
|
+
end
|
240
|
+
|
235
241
|
class GoogleChromeManagementV1MemoryInfo
|
236
242
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
243
|
|
@@ -274,6 +280,12 @@ module Google
|
|
274
280
|
include Google::Apis::Core::JsonObjectSupport
|
275
281
|
end
|
276
282
|
|
283
|
+
class GoogleChromeManagementV1PeripheralsReport
|
284
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
|
+
|
286
|
+
include Google::Apis::Core::JsonObjectSupport
|
287
|
+
end
|
288
|
+
|
277
289
|
class GoogleChromeManagementV1StorageInfo
|
278
290
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
291
|
|
@@ -328,6 +340,18 @@ module Google
|
|
328
340
|
include Google::Apis::Core::JsonObjectSupport
|
329
341
|
end
|
330
342
|
|
343
|
+
class GoogleChromeManagementV1TelemetryUser
|
344
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
345
|
+
|
346
|
+
include Google::Apis::Core::JsonObjectSupport
|
347
|
+
end
|
348
|
+
|
349
|
+
class GoogleChromeManagementV1TelemetryUserDevice
|
350
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
351
|
+
|
352
|
+
include Google::Apis::Core::JsonObjectSupport
|
353
|
+
end
|
354
|
+
|
331
355
|
class GoogleChromeManagementV1TelemetryUserInfo
|
332
356
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
357
|
|
@@ -760,6 +784,15 @@ module Google
|
|
760
784
|
end
|
761
785
|
end
|
762
786
|
|
787
|
+
class GoogleChromeManagementV1ListTelemetryUsersResponse
|
788
|
+
# @private
|
789
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
790
|
+
property :next_page_token, as: 'nextPageToken'
|
791
|
+
collection :telemetry_users, as: 'telemetryUsers', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryUser, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryUser::Representation
|
792
|
+
|
793
|
+
end
|
794
|
+
end
|
795
|
+
|
763
796
|
class GoogleChromeManagementV1MemoryInfo
|
764
797
|
# @private
|
765
798
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -841,6 +874,15 @@ module Google
|
|
841
874
|
end
|
842
875
|
end
|
843
876
|
|
877
|
+
class GoogleChromeManagementV1PeripheralsReport
|
878
|
+
# @private
|
879
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
880
|
+
property :report_time, as: 'reportTime'
|
881
|
+
collection :usb_peripheral_report, as: 'usbPeripheralReport', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1UsbPeripheralReport, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1UsbPeripheralReport::Representation
|
882
|
+
|
883
|
+
end
|
884
|
+
end
|
885
|
+
|
844
886
|
class GoogleChromeManagementV1StorageInfo
|
845
887
|
# @private
|
846
888
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -910,6 +952,8 @@ module Google
|
|
910
952
|
property :org_unit_id, as: 'orgUnitId'
|
911
953
|
collection :os_update_status, as: 'osUpdateStatus', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1OsUpdateStatus, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1OsUpdateStatus::Representation
|
912
954
|
|
955
|
+
collection :peripherals_report, as: 'peripheralsReport', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1PeripheralsReport, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1PeripheralsReport::Representation
|
956
|
+
|
913
957
|
property :serial_number, as: 'serialNumber'
|
914
958
|
property :storage_info, as: 'storageInfo', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1StorageInfo, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1StorageInfo::Representation
|
915
959
|
|
@@ -964,6 +1008,30 @@ module Google
|
|
964
1008
|
end
|
965
1009
|
end
|
966
1010
|
|
1011
|
+
class GoogleChromeManagementV1TelemetryUser
|
1012
|
+
# @private
|
1013
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1014
|
+
property :customer, as: 'customer'
|
1015
|
+
property :name, as: 'name'
|
1016
|
+
property :org_unit_id, as: 'orgUnitId'
|
1017
|
+
collection :user_device, as: 'userDevice', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryUserDevice, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryUserDevice::Representation
|
1018
|
+
|
1019
|
+
property :user_email, as: 'userEmail'
|
1020
|
+
property :user_id, as: 'userId'
|
1021
|
+
end
|
1022
|
+
end
|
1023
|
+
|
1024
|
+
class GoogleChromeManagementV1TelemetryUserDevice
|
1025
|
+
# @private
|
1026
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1027
|
+
collection :audio_status_report, as: 'audioStatusReport', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AudioStatusReport, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AudioStatusReport::Representation
|
1028
|
+
|
1029
|
+
property :device_id, as: 'deviceId'
|
1030
|
+
collection :peripherals_report, as: 'peripheralsReport', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1PeripheralsReport, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1PeripheralsReport::Representation
|
1031
|
+
|
1032
|
+
end
|
1033
|
+
end
|
1034
|
+
|
967
1035
|
class GoogleChromeManagementV1TelemetryUserInfo
|
968
1036
|
# @private
|
969
1037
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -377,10 +377,10 @@ module Google
|
|
377
377
|
# Query string to filter results, AND-separated fields in EBNF syntax. Note: OR
|
378
378
|
# operations are not supported in this filter. Supported filter fields: *
|
379
379
|
# app_name * app_type * install_type * number_of_permissions *
|
380
|
-
# total_install_count * latest_profile_active_date * permission_name
|
380
|
+
# total_install_count * latest_profile_active_date * permission_name * app_id
|
381
381
|
# @param [String] order_by
|
382
382
|
# Field used to order results. Supported order by fields: * app_name * app_type *
|
383
|
-
# install_type * number_of_permissions * total_install_count
|
383
|
+
# install_type * number_of_permissions * total_install_count * app_id
|
384
384
|
# @param [String] org_unit_id
|
385
385
|
# The ID of the organizational unit.
|
386
386
|
# @param [Fixnum] page_size
|
@@ -559,8 +559,9 @@ module Google
|
|
559
559
|
# account making the request.
|
560
560
|
# @param [String] filter
|
561
561
|
# Optional. Only include resources that match the filter. Supported filter
|
562
|
-
# fields:
|
563
|
-
# timestamp
|
562
|
+
# fields: - device_id - user_id - device_org_unit_id - user_org_unit_id -
|
563
|
+
# timestamp - event_type The "timestamp" filter accepts either Epoch
|
564
|
+
# milliseconds or RFC 3339 formatted time surrounded by simple double quotes.
|
564
565
|
# @param [Fixnum] page_size
|
565
566
|
# Optional. Maximum number of results to return. Default value is 100. Maximum
|
566
567
|
# value is 1000.
|
@@ -598,6 +599,84 @@ module Google
|
|
598
599
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
599
600
|
execute_or_queue_command(command, &block)
|
600
601
|
end
|
602
|
+
|
603
|
+
# Get telemetry user.
|
604
|
+
# @param [String] name
|
605
|
+
# Required. Name of the `TelemetryUser` to return.
|
606
|
+
# @param [String] read_mask
|
607
|
+
# Read mask to specify which fields to return.
|
608
|
+
# @param [String] fields
|
609
|
+
# Selector specifying which fields to include in a partial response.
|
610
|
+
# @param [String] quota_user
|
611
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
612
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
613
|
+
# @param [Google::Apis::RequestOptions] options
|
614
|
+
# Request-specific options
|
615
|
+
#
|
616
|
+
# @yield [result, err] Result & error if block supplied
|
617
|
+
# @yieldparam result [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryUser] parsed result object
|
618
|
+
# @yieldparam err [StandardError] error object if request failed
|
619
|
+
#
|
620
|
+
# @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryUser]
|
621
|
+
#
|
622
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
623
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
624
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
625
|
+
def get_customer_telemetry_user(name, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
626
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
627
|
+
command.response_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryUser::Representation
|
628
|
+
command.response_class = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryUser
|
629
|
+
command.params['name'] = name unless name.nil?
|
630
|
+
command.query['readMask'] = read_mask unless read_mask.nil?
|
631
|
+
command.query['fields'] = fields unless fields.nil?
|
632
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
633
|
+
execute_or_queue_command(command, &block)
|
634
|
+
end
|
635
|
+
|
636
|
+
# List all telemetry users.
|
637
|
+
# @param [String] parent
|
638
|
+
# Required. Customer id or "my_customer" to use the customer associated to the
|
639
|
+
# account making the request.
|
640
|
+
# @param [String] filter
|
641
|
+
# Only include resources that match the filter. Supported filter fields: -
|
642
|
+
# user_id - user_org_unit_id
|
643
|
+
# @param [Fixnum] page_size
|
644
|
+
# Maximum number of results to return. Default value is 100. Maximum value is
|
645
|
+
# 1000.
|
646
|
+
# @param [String] page_token
|
647
|
+
# Token to specify next page in the list.
|
648
|
+
# @param [String] read_mask
|
649
|
+
# Read mask to specify which fields to return.
|
650
|
+
# @param [String] fields
|
651
|
+
# Selector specifying which fields to include in a partial response.
|
652
|
+
# @param [String] quota_user
|
653
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
654
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
655
|
+
# @param [Google::Apis::RequestOptions] options
|
656
|
+
# Request-specific options
|
657
|
+
#
|
658
|
+
# @yield [result, err] Result & error if block supplied
|
659
|
+
# @yieldparam result [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1ListTelemetryUsersResponse] parsed result object
|
660
|
+
# @yieldparam err [StandardError] error object if request failed
|
661
|
+
#
|
662
|
+
# @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1ListTelemetryUsersResponse]
|
663
|
+
#
|
664
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
665
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
666
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
667
|
+
def list_customer_telemetry_users(parent, filter: nil, page_size: nil, page_token: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
668
|
+
command = make_simple_command(:get, 'v1/{+parent}/telemetry/users', options)
|
669
|
+
command.response_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1ListTelemetryUsersResponse::Representation
|
670
|
+
command.response_class = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1ListTelemetryUsersResponse
|
671
|
+
command.params['parent'] = parent unless parent.nil?
|
672
|
+
command.query['filter'] = filter unless filter.nil?
|
673
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
674
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
675
|
+
command.query['readMask'] = read_mask unless read_mask.nil?
|
676
|
+
command.query['fields'] = fields unless fields.nil?
|
677
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
678
|
+
execute_or_queue_command(command, &block)
|
679
|
+
end
|
601
680
|
|
602
681
|
protected
|
603
682
|
|
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.34.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-02-05 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-chromemanagement_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-chromemanagement_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-chromemanagement_v1/v0.34.0
|
62
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: []
|
@@ -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.
|
78
|
+
rubygems_version: 3.4.2
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Chrome Management API V1
|