google-apis-chromemanagement_v1 0.34.0 → 0.35.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: 788b8fdaf0d18717ca10b2692a8337803e5612e9971814cf2c940fe621d75169
4
- data.tar.gz: 3e5b3df62b34ca326cedb325bbf2afdfa2ad157dd07e46caef9ec6c3c309c1d3
3
+ metadata.gz: 1760d71c3de348f135c9773ae1544ab9a9629ebfb81f6c1608074eea1f7c634a
4
+ data.tar.gz: b03aae5a9d491ff4d2607e1aef344fba3cbea2ae82d786c1cc027044a2725dc8
5
5
  SHA512:
6
- metadata.gz: 7bae60187dbc15fe3d293588c38d60e3dae30cf9e2bb202f789335aed9932e54fe4633865afa63d31075f28aee1873d978697410f798d0965512ee937d994bca
7
- data.tar.gz: 2faf65e578d0562ca3a7c3b9079ec99eaf55534ce1c96be2668e5c8048a7eb37560c99115ae687038f49b6fdaf0d3f3106f9345fe84e26da1d5e5999caea38e0
6
+ metadata.gz: 4b756386e45bfff0ea20ce637744ad7135999e7d8d250754499c93a9a9eed6f6d45514276fccf8731b9db889a1cc2f196b5457d51a3018c80ffa449da520554b
7
+ data.tar.gz: e3abc72ca762a4205170f2a79135445e5765f1d10d62253d76d9bce3b9705186a2394ad4b35451a322fb6f59aa54a699bff360d4269c0d7d507ae4036dfe66ab
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-chromemanagement_v1
2
2
 
3
+ ### v0.35.0 (2023-02-12)
4
+
5
+ * Regenerated from discovery document revision 20230209
6
+
3
7
  ### v0.34.0 (2023-02-05)
4
8
 
5
9
  * Regenerated from discovery document revision 20230202
@@ -789,6 +789,37 @@ module Google
789
789
  end
790
790
  end
791
791
 
792
+ # Response containing counts for browsers that need attention.
793
+ class GoogleChromeManagementV1CountChromeBrowsersNeedingAttentionResponse
794
+ include Google::Apis::Core::Hashable
795
+
796
+ # Number of browsers that haven’t had any recent activity
797
+ # Corresponds to the JSON property `noRecentActivityCount`
798
+ # @return [Fixnum]
799
+ attr_accessor :no_recent_activity_count
800
+
801
+ # Number of browsers that are pending an OS update
802
+ # Corresponds to the JSON property `pendingBrowserUpdateCount`
803
+ # @return [Fixnum]
804
+ attr_accessor :pending_browser_update_count
805
+
806
+ # Number of browsers that have been recently enrolled
807
+ # Corresponds to the JSON property `recentlyEnrolledCount`
808
+ # @return [Fixnum]
809
+ attr_accessor :recently_enrolled_count
810
+
811
+ def initialize(**args)
812
+ update!(**args)
813
+ end
814
+
815
+ # Update properties of this object
816
+ def update!(**args)
817
+ @no_recent_activity_count = args[:no_recent_activity_count] if args.key?(:no_recent_activity_count)
818
+ @pending_browser_update_count = args[:pending_browser_update_count] if args.key?(:pending_browser_update_count)
819
+ @recently_enrolled_count = args[:recently_enrolled_count] if args.key?(:recently_enrolled_count)
820
+ end
821
+ end
822
+
792
823
  # Response containing a list of devices expiring in each month of a selected
793
824
  # time frame. Counts are grouped by model and Auto Update Expiration date.
794
825
  class GoogleChromeManagementV1CountChromeDevicesReachingAutoExpirationDateResponse
@@ -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.34.0"
19
+ GEM_VERSION = "0.35.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.11.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230202"
25
+ REVISION = "20230209"
26
26
  end
27
27
  end
28
28
  end
@@ -106,6 +106,12 @@ module Google
106
106
  include Google::Apis::Core::JsonObjectSupport
107
107
  end
108
108
 
109
+ class GoogleChromeManagementV1CountChromeBrowsersNeedingAttentionResponse
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
109
115
  class GoogleChromeManagementV1CountChromeDevicesReachingAutoExpirationDateResponse
110
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
117
 
@@ -565,6 +571,15 @@ module Google
565
571
  end
566
572
  end
567
573
 
574
+ class GoogleChromeManagementV1CountChromeBrowsersNeedingAttentionResponse
575
+ # @private
576
+ class Representation < Google::Apis::Core::JsonRepresentation
577
+ property :no_recent_activity_count, :numeric_string => true, as: 'noRecentActivityCount'
578
+ property :pending_browser_update_count, :numeric_string => true, as: 'pendingBrowserUpdateCount'
579
+ property :recently_enrolled_count, :numeric_string => true, as: 'recentlyEnrolledCount'
580
+ end
581
+ end
582
+
568
583
  class GoogleChromeManagementV1CountChromeDevicesReachingAutoExpirationDateResponse
569
584
  # @private
570
585
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -198,6 +198,41 @@ module Google
198
198
  execute_or_queue_command(command, &block)
199
199
  end
200
200
 
201
+ # Count of Chrome Browsers that have been recently enrolled, have new policy to
202
+ # be synced, or have no recent activity.
203
+ # @param [String] customer
204
+ # Required. The customer ID or "my_customer" prefixed with "customers/".
205
+ # @param [String] org_unit_id
206
+ # Optional. The ID of the organizational unit. If omitted, all data will be
207
+ # returned.
208
+ # @param [String] fields
209
+ # Selector specifying which fields to include in a partial response.
210
+ # @param [String] quota_user
211
+ # Available to use for quota purposes for server-side applications. Can be any
212
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
213
+ # @param [Google::Apis::RequestOptions] options
214
+ # Request-specific options
215
+ #
216
+ # @yield [result, err] Result & error if block supplied
217
+ # @yieldparam result [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountChromeBrowsersNeedingAttentionResponse] parsed result object
218
+ # @yieldparam err [StandardError] error object if request failed
219
+ #
220
+ # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountChromeBrowsersNeedingAttentionResponse]
221
+ #
222
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
223
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
224
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
225
+ def count_customer_report_chrome_browsers_needing_attention(customer, org_unit_id: nil, fields: nil, quota_user: nil, options: nil, &block)
226
+ command = make_simple_command(:get, 'v1/{+customer}/reports:countChromeBrowsersNeedingAttention', options)
227
+ command.response_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountChromeBrowsersNeedingAttentionResponse::Representation
228
+ command.response_class = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountChromeBrowsersNeedingAttentionResponse
229
+ command.params['customer'] = customer unless customer.nil?
230
+ command.query['orgUnitId'] = org_unit_id unless org_unit_id.nil?
231
+ command.query['fields'] = fields unless fields.nil?
232
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
233
+ execute_or_queue_command(command, &block)
234
+ end
235
+
201
236
  # Generate report of the number of devices expiring in each month of the
202
237
  # selected time frame. Devices are grouped by auto update expiration date and
203
238
  # model. Further information can be found [here](https://support.google.com/
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.34.0
4
+ version: 0.35.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-02-05 00:00:00.000000000 Z
11
+ date: 2023-02-12 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.34.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-chromemanagement_v1/v0.35.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: []