google-apis-chromemanagement_v1 0.27.0 → 0.29.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: 46a5b08d782dca824c7998c0c49b88e9995893caa7c2418f12a6f7f944b0afcc
4
- data.tar.gz: 9951e7986800eb144a5eaf27665bb81d037fa1aaa7701fe6fa778d32ff195719
3
+ metadata.gz: c6b21a789d757109528ab50d6a85f913389dd4e39ff3d7e1cb87fbecbeaf75ad
4
+ data.tar.gz: b68b32df0256f65fe641bc7a0d39316fed88638fccb0d57d09cc7a169996360b
5
5
  SHA512:
6
- metadata.gz: 50eaa4f14dcaf28cbfdd51e9d379d87e87796c02ece1c31c3bdc4927cc4d3ef4c98133b29bafe290485d346b6feca668fdd1bb68ea85a568985e8e7eaee0289f
7
- data.tar.gz: 6961bf78994f100efe24d08b4fd236fe09ef988156b50018c9c5be6599fa16910e2bb64c81c30e5ea8d6abb785a049779adc29cc5e83dbb8c9f043250fac5618
6
+ metadata.gz: edcf8e73aa26204482f5b2c94d17e7479ff030d4fe13eeda8c3251fa3c3507d6710bb3c8db6b08927b9b3cc6fd9bbb190a2c91bad5ee1121c76bc2753bd48fa2
7
+ data.tar.gz: af9bf5044edcfe925ef1bfa6976f1365f3ff5c3dd180a0f7f6e86a9c7f2cf0edaad251c3ec08e3f4f423b8d0fa387be0cf5dc72a9b4519c87d6ab2a818e29cfa
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-chromemanagement_v1
2
2
 
3
+ ### v0.29.0 (2022-09-29)
4
+
5
+ * Regenerated from discovery document revision 20220926
6
+
7
+ ### v0.28.0 (2022-09-23)
8
+
9
+ * Regenerated from discovery document revision 20220914
10
+ * Regenerated using generator version 0.10.0
11
+
3
12
  ### v0.27.0 (2022-09-10)
4
13
 
5
14
  * Regenerated from discovery document revision 20220908
@@ -516,6 +516,12 @@ module Google
516
516
  attr_accessor :is_cws_hosted
517
517
  alias_method :is_cws_hosted?, :is_cws_hosted
518
518
 
519
+ # Output only. Whether an app supports policy for extensions.
520
+ # Corresponds to the JSON property `isExtensionPolicySupported`
521
+ # @return [Boolean]
522
+ attr_accessor :is_extension_policy_supported
523
+ alias_method :is_extension_policy_supported?, :is_extension_policy_supported
524
+
519
525
  # Output only. Whether the app is only for Kiosk mode on ChromeOS devices
520
526
  # Corresponds to the JSON property `isKioskOnly`
521
527
  # @return [Boolean]
@@ -568,6 +574,7 @@ module Google
568
574
  def update!(**args)
569
575
  @google_owned = args[:google_owned] if args.key?(:google_owned)
570
576
  @is_cws_hosted = args[:is_cws_hosted] if args.key?(:is_cws_hosted)
577
+ @is_extension_policy_supported = args[:is_extension_policy_supported] if args.key?(:is_extension_policy_supported)
571
578
  @is_kiosk_only = args[:is_kiosk_only] if args.key?(:is_kiosk_only)
572
579
  @is_theme = args[:is_theme] if args.key?(:is_theme)
573
580
  @kiosk_enabled = args[:kiosk_enabled] if args.key?(:kiosk_enabled)
@@ -785,6 +792,48 @@ module Google
785
792
  end
786
793
  end
787
794
 
795
+ # Response containing a list of devices with a specific type of hardware
796
+ # specification from the requested hardware type.
797
+ class GoogleChromeManagementV1CountChromeHardwareFleetDevicesResponse
798
+ include Google::Apis::Core::Hashable
799
+
800
+ # The DeviceHardwareCountReport for device cpu type (for example Intel(R) Core(
801
+ # TM) i7-10610U CPU @ 1.80GHz).
802
+ # Corresponds to the JSON property `cpuReports`
803
+ # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1DeviceHardwareCountReport>]
804
+ attr_accessor :cpu_reports
805
+
806
+ # The DeviceHardwareCountReport for device memory amount in gigabytes (for
807
+ # example 16).
808
+ # Corresponds to the JSON property `memoryReports`
809
+ # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1DeviceHardwareCountReport>]
810
+ attr_accessor :memory_reports
811
+
812
+ # The DeviceHardwareCountReport for device model type (for example Acer C7
813
+ # Chromebook).
814
+ # Corresponds to the JSON property `modelReports`
815
+ # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1DeviceHardwareCountReport>]
816
+ attr_accessor :model_reports
817
+
818
+ # The DeviceHardwareCountReport for device storage amount in gigabytes (for
819
+ # example 128).
820
+ # Corresponds to the JSON property `storageReports`
821
+ # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1DeviceHardwareCountReport>]
822
+ attr_accessor :storage_reports
823
+
824
+ def initialize(**args)
825
+ update!(**args)
826
+ end
827
+
828
+ # Update properties of this object
829
+ def update!(**args)
830
+ @cpu_reports = args[:cpu_reports] if args.key?(:cpu_reports)
831
+ @memory_reports = args[:memory_reports] if args.key?(:memory_reports)
832
+ @model_reports = args[:model_reports] if args.key?(:model_reports)
833
+ @storage_reports = args[:storage_reports] if args.key?(:storage_reports)
834
+ end
835
+ end
836
+
788
837
  # Response containing requested browser versions details and counts.
789
838
  class GoogleChromeManagementV1CountChromeVersionsResponse
790
839
  include Google::Apis::Core::Hashable
@@ -1058,6 +1107,32 @@ module Google
1058
1107
  end
1059
1108
  end
1060
1109
 
1110
+ # Report for CountChromeDevicesPerHardwareSpecResponse, contains the count of
1111
+ # devices with a unique hardware specification.
1112
+ class GoogleChromeManagementV1DeviceHardwareCountReport
1113
+ include Google::Apis::Core::Hashable
1114
+
1115
+ # Public name of the hardware specification.
1116
+ # Corresponds to the JSON property `bucket`
1117
+ # @return [String]
1118
+ attr_accessor :bucket
1119
+
1120
+ # Count of devices with a unique hardware specification.
1121
+ # Corresponds to the JSON property `count`
1122
+ # @return [Fixnum]
1123
+ attr_accessor :count
1124
+
1125
+ def initialize(**args)
1126
+ update!(**args)
1127
+ end
1128
+
1129
+ # Update properties of this object
1130
+ def update!(**args)
1131
+ @bucket = args[:bucket] if args.key?(:bucket)
1132
+ @count = args[:count] if args.key?(:count)
1133
+ end
1134
+ end
1135
+
1061
1136
  # Status of the single storage device.
1062
1137
  class GoogleChromeManagementV1DiskInfo
1063
1138
  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.27.0"
19
+ GEM_VERSION = "0.29.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.9.0"
22
+ GENERATOR_VERSION = "0.10.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220908"
25
+ REVISION = "20220926"
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
 
@@ -410,6 +422,7 @@ module Google
410
422
  class Representation < Google::Apis::Core::JsonRepresentation
411
423
  property :google_owned, as: 'googleOwned'
412
424
  property :is_cws_hosted, as: 'isCwsHosted'
425
+ property :is_extension_policy_supported, as: 'isExtensionPolicySupported'
413
426
  property :is_kiosk_only, as: 'isKioskOnly'
414
427
  property :is_theme, as: 'isTheme'
415
428
  property :kiosk_enabled, as: 'kioskEnabled'
@@ -480,6 +493,20 @@ module Google
480
493
  end
481
494
  end
482
495
 
496
+ class GoogleChromeManagementV1CountChromeHardwareFleetDevicesResponse
497
+ # @private
498
+ class Representation < Google::Apis::Core::JsonRepresentation
499
+ collection :cpu_reports, as: 'cpuReports', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1DeviceHardwareCountReport, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1DeviceHardwareCountReport::Representation
500
+
501
+ collection :memory_reports, as: 'memoryReports', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1DeviceHardwareCountReport, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1DeviceHardwareCountReport::Representation
502
+
503
+ collection :model_reports, as: 'modelReports', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1DeviceHardwareCountReport, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1DeviceHardwareCountReport::Representation
504
+
505
+ collection :storage_reports, as: 'storageReports', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1DeviceHardwareCountReport, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1DeviceHardwareCountReport::Representation
506
+
507
+ end
508
+ end
509
+
483
510
  class GoogleChromeManagementV1CountChromeVersionsResponse
484
511
  # @private
485
512
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -549,6 +576,14 @@ module Google
549
576
  end
550
577
  end
551
578
 
579
+ class GoogleChromeManagementV1DeviceHardwareCountReport
580
+ # @private
581
+ class Representation < Google::Apis::Core::JsonRepresentation
582
+ property :bucket, as: 'bucket'
583
+ property :count, :numeric_string => true, as: 'count'
584
+ end
585
+ end
586
+
552
587
  class GoogleChromeManagementV1DiskInfo
553
588
  # @private
554
589
  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.27.0
4
+ version: 0.29.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-12 00:00:00.000000000 Z
11
+ date: 2022-10-03 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: '0.7'
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: '0.7'
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.27.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-chromemanagement_v1/v0.29.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: []