google-apis-chromemanagement_v1 0.27.0 → 0.28.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 +5 -0
- data/lib/google/apis/chromemanagement_v1/classes.rb +68 -0
- data/lib/google/apis/chromemanagement_v1/gem_version.rb +3 -3
- data/lib/google/apis/chromemanagement_v1/representations.rb +34 -0
- data/lib/google/apis/chromemanagement_v1/service.rb +39 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9ef4a135b8f422398abdbd29543f03a4d34dc95388e0fb00cb6dea3f3f11e576
|
4
|
+
data.tar.gz: d6036261717d6c955f8308071152648c2a14aafc1cb35c632b45d4eabf7037f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 433dcd410b1b5e6ae3ff0148a51a5f32d3a5faad61ca97a839a5626cce1bce4ece37bcc10d8a32e58a5acb819cf5cace3c583764ab0ec97fcc0ed76c8586e565
|
7
|
+
data.tar.gz: 9f242fb475410faf9b2fd5d6390e26da1aac8d85d7b0eabdbcd7e88bce8ba219c4b576374ce15ad8c2eb737560a3c38b65983c9abf04b3626af20343cde2722e
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-chromemanagement_v1
|
2
2
|
|
3
|
+
### v0.28.0 (2022-09-23)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220914
|
6
|
+
* Regenerated using generator version 0.10.0
|
7
|
+
|
3
8
|
### v0.27.0 (2022-09-10)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20220908
|
@@ -785,6 +785,48 @@ module Google
|
|
785
785
|
end
|
786
786
|
end
|
787
787
|
|
788
|
+
# Response containing a list of devices with a specific type of hardware
|
789
|
+
# specification from the requested hardware type.
|
790
|
+
class GoogleChromeManagementV1CountChromeHardwareFleetDevicesResponse
|
791
|
+
include Google::Apis::Core::Hashable
|
792
|
+
|
793
|
+
# The DeviceHardwareCountReport for device cpu type (for example Intel(R) Core(
|
794
|
+
# TM) i7-10610U CPU @ 1.80GHz).
|
795
|
+
# Corresponds to the JSON property `cpuReports`
|
796
|
+
# @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1DeviceHardwareCountReport>]
|
797
|
+
attr_accessor :cpu_reports
|
798
|
+
|
799
|
+
# The DeviceHardwareCountReport for device memory amount in gigabytes (for
|
800
|
+
# example 16).
|
801
|
+
# Corresponds to the JSON property `memoryReports`
|
802
|
+
# @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1DeviceHardwareCountReport>]
|
803
|
+
attr_accessor :memory_reports
|
804
|
+
|
805
|
+
# The DeviceHardwareCountReport for device model type (for example Acer C7
|
806
|
+
# Chromebook).
|
807
|
+
# Corresponds to the JSON property `modelReports`
|
808
|
+
# @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1DeviceHardwareCountReport>]
|
809
|
+
attr_accessor :model_reports
|
810
|
+
|
811
|
+
# The DeviceHardwareCountReport for device storage amount in gigabytes (for
|
812
|
+
# example 128).
|
813
|
+
# Corresponds to the JSON property `storageReports`
|
814
|
+
# @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1DeviceHardwareCountReport>]
|
815
|
+
attr_accessor :storage_reports
|
816
|
+
|
817
|
+
def initialize(**args)
|
818
|
+
update!(**args)
|
819
|
+
end
|
820
|
+
|
821
|
+
# Update properties of this object
|
822
|
+
def update!(**args)
|
823
|
+
@cpu_reports = args[:cpu_reports] if args.key?(:cpu_reports)
|
824
|
+
@memory_reports = args[:memory_reports] if args.key?(:memory_reports)
|
825
|
+
@model_reports = args[:model_reports] if args.key?(:model_reports)
|
826
|
+
@storage_reports = args[:storage_reports] if args.key?(:storage_reports)
|
827
|
+
end
|
828
|
+
end
|
829
|
+
|
788
830
|
# Response containing requested browser versions details and counts.
|
789
831
|
class GoogleChromeManagementV1CountChromeVersionsResponse
|
790
832
|
include Google::Apis::Core::Hashable
|
@@ -1058,6 +1100,32 @@ module Google
|
|
1058
1100
|
end
|
1059
1101
|
end
|
1060
1102
|
|
1103
|
+
# Report for CountChromeDevicesPerHardwareSpecResponse, contains the count of
|
1104
|
+
# devices with a unique hardware specification.
|
1105
|
+
class GoogleChromeManagementV1DeviceHardwareCountReport
|
1106
|
+
include Google::Apis::Core::Hashable
|
1107
|
+
|
1108
|
+
# Public name of the hardware specification.
|
1109
|
+
# Corresponds to the JSON property `bucket`
|
1110
|
+
# @return [String]
|
1111
|
+
attr_accessor :bucket
|
1112
|
+
|
1113
|
+
# Count of devices with a unique hardware specification.
|
1114
|
+
# Corresponds to the JSON property `count`
|
1115
|
+
# @return [Fixnum]
|
1116
|
+
attr_accessor :count
|
1117
|
+
|
1118
|
+
def initialize(**args)
|
1119
|
+
update!(**args)
|
1120
|
+
end
|
1121
|
+
|
1122
|
+
# Update properties of this object
|
1123
|
+
def update!(**args)
|
1124
|
+
@bucket = args[:bucket] if args.key?(:bucket)
|
1125
|
+
@count = args[:count] if args.key?(:count)
|
1126
|
+
end
|
1127
|
+
end
|
1128
|
+
|
1061
1129
|
# Status of the single storage device.
|
1062
1130
|
class GoogleChromeManagementV1DiskInfo
|
1063
1131
|
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.28.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.10.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220914"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -112,6 +112,12 @@ module Google
|
|
112
112
|
include Google::Apis::Core::JsonObjectSupport
|
113
113
|
end
|
114
114
|
|
115
|
+
class GoogleChromeManagementV1CountChromeHardwareFleetDevicesResponse
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
115
121
|
class GoogleChromeManagementV1CountChromeVersionsResponse
|
116
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
123
|
|
@@ -154,6 +160,12 @@ module Google
|
|
154
160
|
include Google::Apis::Core::JsonObjectSupport
|
155
161
|
end
|
156
162
|
|
163
|
+
class GoogleChromeManagementV1DeviceHardwareCountReport
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
157
169
|
class GoogleChromeManagementV1DiskInfo
|
158
170
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
171
|
|
@@ -480,6 +492,20 @@ module Google
|
|
480
492
|
end
|
481
493
|
end
|
482
494
|
|
495
|
+
class GoogleChromeManagementV1CountChromeHardwareFleetDevicesResponse
|
496
|
+
# @private
|
497
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
498
|
+
collection :cpu_reports, as: 'cpuReports', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1DeviceHardwareCountReport, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1DeviceHardwareCountReport::Representation
|
499
|
+
|
500
|
+
collection :memory_reports, as: 'memoryReports', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1DeviceHardwareCountReport, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1DeviceHardwareCountReport::Representation
|
501
|
+
|
502
|
+
collection :model_reports, as: 'modelReports', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1DeviceHardwareCountReport, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1DeviceHardwareCountReport::Representation
|
503
|
+
|
504
|
+
collection :storage_reports, as: 'storageReports', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1DeviceHardwareCountReport, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1DeviceHardwareCountReport::Representation
|
505
|
+
|
506
|
+
end
|
507
|
+
end
|
508
|
+
|
483
509
|
class GoogleChromeManagementV1CountChromeVersionsResponse
|
484
510
|
# @private
|
485
511
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -549,6 +575,14 @@ module Google
|
|
549
575
|
end
|
550
576
|
end
|
551
577
|
|
578
|
+
class GoogleChromeManagementV1DeviceHardwareCountReport
|
579
|
+
# @private
|
580
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
581
|
+
property :bucket, as: 'bucket'
|
582
|
+
property :count, :numeric_string => true, as: 'count'
|
583
|
+
end
|
584
|
+
end
|
585
|
+
|
552
586
|
class GoogleChromeManagementV1DiskInfo
|
553
587
|
# @private
|
554
588
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -285,6 +285,45 @@ module Google
|
|
285
285
|
execute_or_queue_command(command, &block)
|
286
286
|
end
|
287
287
|
|
288
|
+
# Counts of devices with a specific hardware specification from the requested
|
289
|
+
# hardware type (for example model name, processor type). Further information
|
290
|
+
# can be found here https://support.google.com/chrome/a/answer/10564947
|
291
|
+
# @param [String] customer
|
292
|
+
# Required. The customer ID or "my_customer".
|
293
|
+
# @param [String] org_unit_id
|
294
|
+
# Optional. The ID of the organizational unit. If omitted, all data will be
|
295
|
+
# returned.
|
296
|
+
# @param [String] read_mask
|
297
|
+
# Required. Mask of the fields that should be populated in the returned report.
|
298
|
+
# @param [String] fields
|
299
|
+
# Selector specifying which fields to include in a partial response.
|
300
|
+
# @param [String] quota_user
|
301
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
302
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
303
|
+
# @param [Google::Apis::RequestOptions] options
|
304
|
+
# Request-specific options
|
305
|
+
#
|
306
|
+
# @yield [result, err] Result & error if block supplied
|
307
|
+
# @yieldparam result [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountChromeHardwareFleetDevicesResponse] parsed result object
|
308
|
+
# @yieldparam err [StandardError] error object if request failed
|
309
|
+
#
|
310
|
+
# @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountChromeHardwareFleetDevicesResponse]
|
311
|
+
#
|
312
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
313
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
314
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
315
|
+
def count_customer_report_chrome_hardware_fleet_devices(customer, org_unit_id: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
316
|
+
command = make_simple_command(:get, 'v1/{+customer}/reports:countChromeHardwareFleetDevices', options)
|
317
|
+
command.response_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountChromeHardwareFleetDevicesResponse::Representation
|
318
|
+
command.response_class = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountChromeHardwareFleetDevicesResponse
|
319
|
+
command.params['customer'] = customer unless customer.nil?
|
320
|
+
command.query['orgUnitId'] = org_unit_id unless org_unit_id.nil?
|
321
|
+
command.query['readMask'] = read_mask unless read_mask.nil?
|
322
|
+
command.query['fields'] = fields unless fields.nil?
|
323
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
324
|
+
execute_or_queue_command(command, &block)
|
325
|
+
end
|
326
|
+
|
288
327
|
# Generate report of installed Chrome versions.
|
289
328
|
# @param [String] customer
|
290
329
|
# Required. Customer id or "my_customer" to use the customer associated to the
|
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.28.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: 2022-09-
|
11
|
+
date: 2022-09-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 0.9.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
29
|
+
version: 0.9.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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.28.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: []
|