google-apis-chromemanagement_v1 0.50.0 → 0.51.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 06c7b329d0d7b82387a46af309d75232cd026723f3806aab190abdb8541a63fc
4
- data.tar.gz: a031278ce189e40bac4c0244a9468baf8ab81467416e118f513b4d554b6976dd
3
+ metadata.gz: abfa3e092218ea628d74d579b307014ceb0a94e291c9fa58277b2732deba1f5a
4
+ data.tar.gz: 27b9a17db52b5130632c760a9670d176cb22669bc8fbfeec3b64af11ea1e8db8
5
5
  SHA512:
6
- metadata.gz: cdaa7f52f78a2f56e1fdefe06691b949c93eba9df2780e5c0dc63e038c5aba085c49b0e583ee2b295f53f11cad5b3528aa186ce1c718f5576017f954be057da9
7
- data.tar.gz: 7194b711fe2876706d8f3f2a5a8b4274a73516e70060595f7c01660d31e7b0f1d90bc720c5f07b45b3b19147479122f60e60cb05e8672d3d0dff2b5ad1bae8e2
6
+ metadata.gz: bacfbdc830165d9a3c7c787f10eec1c794640d1a8753d8a666d065b29edf169266bdb59fec76b893fe97c3ba712f8133cbbc2ecd4cf83ebc74ec61101c8353bd
7
+ data.tar.gz: b5575054a15125ca945c34a5a60f922fc2c349beeb6b5b899039054ce1c37cfda8344f93186cfd637a44690428d413cf2386ff6e7d2e327698b9f497c6749496
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-chromemanagement_v1
2
2
 
3
+ ### v0.51.0 (2024-03-17)
4
+
5
+ * Regenerated from discovery document revision 20240314
6
+
3
7
  ### v0.50.0 (2024-03-10)
4
8
 
5
9
  * Regenerated from discovery document revision 20240303
@@ -820,6 +820,64 @@ module Google
820
820
  end
821
821
  end
822
822
 
823
+ # Response contains a list of CrashEventCountByVersionPerDay which count the
824
+ # chrome crash at the certain date.
825
+ class GoogleChromeManagementV1CountChromeCrashEventsResponse
826
+ include Google::Apis::Core::Hashable
827
+
828
+ # Crash event counts grouped by date and browser version.
829
+ # Corresponds to the JSON property `crashEventCounts`
830
+ # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountChromeCrashEventsResponseCrashEventCount>]
831
+ attr_accessor :crash_event_counts
832
+
833
+ def initialize(**args)
834
+ update!(**args)
835
+ end
836
+
837
+ # Update properties of this object
838
+ def update!(**args)
839
+ @crash_event_counts = args[:crash_event_counts] if args.key?(:crash_event_counts)
840
+ end
841
+ end
842
+
843
+ # The `count` of the Chrome crash events at the `date`.
844
+ class GoogleChromeManagementV1CountChromeCrashEventsResponseCrashEventCount
845
+ include Google::Apis::Core::Hashable
846
+
847
+ # Browser version this is counting.
848
+ # Corresponds to the JSON property `browserVersion`
849
+ # @return [String]
850
+ attr_accessor :browser_version
851
+
852
+ # Total count of crash events.
853
+ # Corresponds to the JSON property `count`
854
+ # @return [Fixnum]
855
+ attr_accessor :count
856
+
857
+ # Represents a whole or partial calendar date, such as a birthday. The time of
858
+ # day and time zone are either specified elsewhere or are insignificant. The
859
+ # date is relative to the Gregorian Calendar. This can represent one of the
860
+ # following: * A full date, with non-zero year, month, and day values. * A month
861
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
862
+ # with a zero month and a zero day. * A year and month, with a zero day (for
863
+ # example, a credit card expiration date). Related types: * google.type.
864
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
865
+ # Corresponds to the JSON property `date`
866
+ # @return [Google::Apis::ChromemanagementV1::GoogleTypeDate]
867
+ attr_accessor :date
868
+
869
+ def initialize(**args)
870
+ update!(**args)
871
+ end
872
+
873
+ # Update properties of this object
874
+ def update!(**args)
875
+ @browser_version = args[:browser_version] if args.key?(:browser_version)
876
+ @count = args[:count] if args.key?(:count)
877
+ @date = args[:date] if args.key?(:date)
878
+ end
879
+ end
880
+
823
881
  # Response containing a list of devices expiring in each month of a selected
824
882
  # time frame. Counts are grouped by model and Auto Update Expiration date.
825
883
  class GoogleChromeManagementV1CountChromeDevicesReachingAutoExpirationDateResponse
@@ -1318,6 +1376,32 @@ module Google
1318
1376
  end
1319
1377
  end
1320
1378
 
1379
+ # Details of a device requesting an extension, including the name of the device
1380
+ # and the justification of the request.
1381
+ class GoogleChromeManagementV1DeviceRequestingExtensionDetails
1382
+ include Google::Apis::Core::Hashable
1383
+
1384
+ # The name of a device that has requested the extension.
1385
+ # Corresponds to the JSON property `deviceName`
1386
+ # @return [String]
1387
+ attr_accessor :device_name
1388
+
1389
+ # Request justification as entered by the user.
1390
+ # Corresponds to the JSON property `justification`
1391
+ # @return [String]
1392
+ attr_accessor :justification
1393
+
1394
+ def initialize(**args)
1395
+ update!(**args)
1396
+ end
1397
+
1398
+ # Update properties of this object
1399
+ def update!(**args)
1400
+ @device_name = args[:device_name] if args.key?(:device_name)
1401
+ @justification = args[:justification] if args.key?(:justification)
1402
+ end
1403
+ end
1404
+
1321
1405
  # Status of the single storage device.
1322
1406
  class GoogleChromeManagementV1DiskInfo
1323
1407
  include Google::Apis::Core::Hashable
@@ -1549,6 +1633,70 @@ module Google
1549
1633
  end
1550
1634
  end
1551
1635
 
1636
+ # Response containing a list of devices that have requested the queried
1637
+ # extension.
1638
+ class GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse
1639
+ include Google::Apis::Core::Hashable
1640
+
1641
+ # Details of devices that have requested the queried extension.
1642
+ # Corresponds to the JSON property `deviceDetails`
1643
+ # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1DeviceRequestingExtensionDetails>]
1644
+ attr_accessor :device_details
1645
+
1646
+ # Optional. Token to specify the next page in the list. Token expires after 1
1647
+ # day.
1648
+ # Corresponds to the JSON property `nextPageToken`
1649
+ # @return [String]
1650
+ attr_accessor :next_page_token
1651
+
1652
+ # Optional. Total number of devices in response.
1653
+ # Corresponds to the JSON property `totalSize`
1654
+ # @return [Fixnum]
1655
+ attr_accessor :total_size
1656
+
1657
+ def initialize(**args)
1658
+ update!(**args)
1659
+ end
1660
+
1661
+ # Update properties of this object
1662
+ def update!(**args)
1663
+ @device_details = args[:device_details] if args.key?(:device_details)
1664
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1665
+ @total_size = args[:total_size] if args.key?(:total_size)
1666
+ end
1667
+ end
1668
+
1669
+ # Response containing a list of users that have requested the queried extension.
1670
+ class GoogleChromeManagementV1FetchUsersRequestingExtensionResponse
1671
+ include Google::Apis::Core::Hashable
1672
+
1673
+ # Token to specify the next page in the list.
1674
+ # Corresponds to the JSON property `nextPageToken`
1675
+ # @return [String]
1676
+ attr_accessor :next_page_token
1677
+
1678
+ # Total number of users in response.
1679
+ # Corresponds to the JSON property `totalSize`
1680
+ # @return [Fixnum]
1681
+ attr_accessor :total_size
1682
+
1683
+ # Details of users that have requested the queried extension.
1684
+ # Corresponds to the JSON property `userDetails`
1685
+ # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1UserRequestingExtensionDetails>]
1686
+ attr_accessor :user_details
1687
+
1688
+ def initialize(**args)
1689
+ update!(**args)
1690
+ end
1691
+
1692
+ # Update properties of this object
1693
+ def update!(**args)
1694
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1695
+ @total_size = args[:total_size] if args.key?(:total_size)
1696
+ @user_details = args[:user_details] if args.key?(:user_details)
1697
+ end
1698
+ end
1699
+
1552
1700
  # Response containing a list of devices with queried app installed.
1553
1701
  class GoogleChromeManagementV1FindInstalledAppDevicesResponse
1554
1702
  include Google::Apis::Core::Hashable
@@ -3616,6 +3764,32 @@ module Google
3616
3764
  end
3617
3765
  end
3618
3766
 
3767
+ # Details of a user requesting an extension, including the email and the
3768
+ # justification.
3769
+ class GoogleChromeManagementV1UserRequestingExtensionDetails
3770
+ include Google::Apis::Core::Hashable
3771
+
3772
+ # The e-mail address of a user that has requested the extension.
3773
+ # Corresponds to the JSON property `email`
3774
+ # @return [String]
3775
+ attr_accessor :email
3776
+
3777
+ # Request justification as entered by the user.
3778
+ # Corresponds to the JSON property `justification`
3779
+ # @return [String]
3780
+ attr_accessor :justification
3781
+
3782
+ def initialize(**args)
3783
+ update!(**args)
3784
+ end
3785
+
3786
+ # Update properties of this object
3787
+ def update!(**args)
3788
+ @email = args[:email] if args.key?(:email)
3789
+ @justification = args[:justification] if args.key?(:justification)
3790
+ end
3791
+ end
3792
+
3619
3793
  # A generic empty message that you can re-use to avoid defining duplicated empty
3620
3794
  # messages in your APIs. A typical example is to use it as the request or the
3621
3795
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -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.50.0"
19
+ GEM_VERSION = "0.51.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240303"
25
+ REVISION = "20240314"
26
26
  end
27
27
  end
28
28
  end
@@ -112,6 +112,18 @@ module Google
112
112
  include Google::Apis::Core::JsonObjectSupport
113
113
  end
114
114
 
115
+ class GoogleChromeManagementV1CountChromeCrashEventsResponse
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class GoogleChromeManagementV1CountChromeCrashEventsResponseCrashEventCount
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
115
127
  class GoogleChromeManagementV1CountChromeDevicesReachingAutoExpirationDateResponse
116
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
129
 
@@ -196,6 +208,12 @@ module Google
196
208
  include Google::Apis::Core::JsonObjectSupport
197
209
  end
198
210
 
211
+ class GoogleChromeManagementV1DeviceRequestingExtensionDetails
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
199
217
  class GoogleChromeManagementV1DiskInfo
200
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
219
 
@@ -220,6 +238,18 @@ module Google
220
238
  include Google::Apis::Core::JsonObjectSupport
221
239
  end
222
240
 
241
+ class GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class GoogleChromeManagementV1FetchUsersRequestingExtensionResponse
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
223
253
  class GoogleChromeManagementV1FindInstalledAppDevicesResponse
224
254
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
255
 
@@ -502,6 +532,12 @@ module Google
502
532
  include Google::Apis::Core::JsonObjectSupport
503
533
  end
504
534
 
535
+ class GoogleChromeManagementV1UserRequestingExtensionDetails
536
+ class Representation < Google::Apis::Core::JsonRepresentation; end
537
+
538
+ include Google::Apis::Core::JsonObjectSupport
539
+ end
540
+
505
541
  class GoogleProtobufEmpty
506
542
  class Representation < Google::Apis::Core::JsonRepresentation; end
507
543
 
@@ -706,6 +742,24 @@ module Google
706
742
  end
707
743
  end
708
744
 
745
+ class GoogleChromeManagementV1CountChromeCrashEventsResponse
746
+ # @private
747
+ class Representation < Google::Apis::Core::JsonRepresentation
748
+ collection :crash_event_counts, as: 'crashEventCounts', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountChromeCrashEventsResponseCrashEventCount, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountChromeCrashEventsResponseCrashEventCount::Representation
749
+
750
+ end
751
+ end
752
+
753
+ class GoogleChromeManagementV1CountChromeCrashEventsResponseCrashEventCount
754
+ # @private
755
+ class Representation < Google::Apis::Core::JsonRepresentation
756
+ property :browser_version, as: 'browserVersion'
757
+ property :count, :numeric_string => true, as: 'count'
758
+ property :date, as: 'date', class: Google::Apis::ChromemanagementV1::GoogleTypeDate, decorator: Google::Apis::ChromemanagementV1::GoogleTypeDate::Representation
759
+
760
+ end
761
+ end
762
+
709
763
  class GoogleChromeManagementV1CountChromeDevicesReachingAutoExpirationDateResponse
710
764
  # @private
711
765
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -844,6 +898,14 @@ module Google
844
898
  end
845
899
  end
846
900
 
901
+ class GoogleChromeManagementV1DeviceRequestingExtensionDetails
902
+ # @private
903
+ class Representation < Google::Apis::Core::JsonRepresentation
904
+ property :device_name, as: 'deviceName'
905
+ property :justification, as: 'justification'
906
+ end
907
+ end
908
+
847
909
  class GoogleChromeManagementV1DiskInfo
848
910
  # @private
849
911
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -898,6 +960,26 @@ module Google
898
960
  end
899
961
  end
900
962
 
963
+ class GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse
964
+ # @private
965
+ class Representation < Google::Apis::Core::JsonRepresentation
966
+ collection :device_details, as: 'deviceDetails', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1DeviceRequestingExtensionDetails, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1DeviceRequestingExtensionDetails::Representation
967
+
968
+ property :next_page_token, as: 'nextPageToken'
969
+ property :total_size, as: 'totalSize'
970
+ end
971
+ end
972
+
973
+ class GoogleChromeManagementV1FetchUsersRequestingExtensionResponse
974
+ # @private
975
+ class Representation < Google::Apis::Core::JsonRepresentation
976
+ property :next_page_token, as: 'nextPageToken'
977
+ property :total_size, as: 'totalSize'
978
+ collection :user_details, as: 'userDetails', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1UserRequestingExtensionDetails, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1UserRequestingExtensionDetails::Representation
979
+
980
+ end
981
+ end
982
+
901
983
  class GoogleChromeManagementV1FindInstalledAppDevicesResponse
902
984
  # @private
903
985
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1438,6 +1520,14 @@ module Google
1438
1520
  end
1439
1521
  end
1440
1522
 
1523
+ class GoogleChromeManagementV1UserRequestingExtensionDetails
1524
+ # @private
1525
+ class Representation < Google::Apis::Core::JsonRepresentation
1526
+ property :email, as: 'email'
1527
+ property :justification, as: 'justification'
1528
+ end
1529
+ end
1530
+
1441
1531
  class GoogleProtobufEmpty
1442
1532
  # @private
1443
1533
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -98,6 +98,98 @@ module Google
98
98
  execute_or_queue_command(command, &block)
99
99
  end
100
100
 
101
+ # Get a list of devices that have requested to install an extension.
102
+ # @param [String] customer
103
+ # Required. The customer ID or "my_customer" prefixed with "customers/".
104
+ # @param [String] extension_id
105
+ # Required. The extension for which we want to find requesting devices.
106
+ # @param [String] org_unit_id
107
+ # The ID of the organizational unit. Only consider devices that directly belong
108
+ # to this org unit, i.e. sub-orgunits are not counted. If omitted, all data will
109
+ # be returned.
110
+ # @param [Fixnum] page_size
111
+ # Optional. Maximum number of results to return. Maximum and default are 50. Any
112
+ # page size larger than 50 will be coerced to 50.
113
+ # @param [String] page_token
114
+ # Optional. Token to specify the page of the request to be returned. Token
115
+ # expires after 1 day.
116
+ # @param [String] fields
117
+ # Selector specifying which fields to include in a partial response.
118
+ # @param [String] quota_user
119
+ # Available to use for quota purposes for server-side applications. Can be any
120
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
121
+ # @param [Google::Apis::RequestOptions] options
122
+ # Request-specific options
123
+ #
124
+ # @yield [result, err] Result & error if block supplied
125
+ # @yieldparam result [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse] parsed result object
126
+ # @yieldparam err [StandardError] error object if request failed
127
+ #
128
+ # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse]
129
+ #
130
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
131
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
132
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
133
+ def fetch_customer_app_devices_requesting_extension(customer, extension_id: nil, org_unit_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
134
+ command = make_simple_command(:get, 'v1/{+customer}/apps:fetchDevicesRequestingExtension', options)
135
+ command.response_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse::Representation
136
+ command.response_class = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse
137
+ command.params['customer'] = customer unless customer.nil?
138
+ command.query['extensionId'] = extension_id unless extension_id.nil?
139
+ command.query['orgUnitId'] = org_unit_id unless org_unit_id.nil?
140
+ command.query['pageSize'] = page_size unless page_size.nil?
141
+ command.query['pageToken'] = page_token unless page_token.nil?
142
+ command.query['fields'] = fields unless fields.nil?
143
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
144
+ execute_or_queue_command(command, &block)
145
+ end
146
+
147
+ # Get a list of users that have requested to install an extension.
148
+ # @param [String] customer
149
+ # Required. The customer ID or "my_customer" prefixed with "customers/".
150
+ # @param [String] extension_id
151
+ # Required. The extension for which we want to find the requesting users.
152
+ # @param [String] org_unit_id
153
+ # The ID of the organizational unit. Only consider devices that directly belong
154
+ # to this org unit, i.e. sub-orgunits are not counted. If omitted, all data will
155
+ # be returned.
156
+ # @param [Fixnum] page_size
157
+ # Optional. Maximum number of results to return. Maximum and default are 50. Any
158
+ # page size larger than 50 will be coerced to 50.
159
+ # @param [String] page_token
160
+ # Optional. Token to specify the page of the request to be returned. Token
161
+ # expires after 1 day.
162
+ # @param [String] fields
163
+ # Selector specifying which fields to include in a partial response.
164
+ # @param [String] quota_user
165
+ # Available to use for quota purposes for server-side applications. Can be any
166
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
167
+ # @param [Google::Apis::RequestOptions] options
168
+ # Request-specific options
169
+ #
170
+ # @yield [result, err] Result & error if block supplied
171
+ # @yieldparam result [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1FetchUsersRequestingExtensionResponse] parsed result object
172
+ # @yieldparam err [StandardError] error object if request failed
173
+ #
174
+ # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1FetchUsersRequestingExtensionResponse]
175
+ #
176
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
177
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
178
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
179
+ def fetch_customer_app_users_requesting_extension(customer, extension_id: nil, org_unit_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
180
+ command = make_simple_command(:get, 'v1/{+customer}/apps:fetchUsersRequestingExtension', options)
181
+ command.response_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1FetchUsersRequestingExtensionResponse::Representation
182
+ command.response_class = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1FetchUsersRequestingExtensionResponse
183
+ command.params['customer'] = customer unless customer.nil?
184
+ command.query['extensionId'] = extension_id unless extension_id.nil?
185
+ command.query['orgUnitId'] = org_unit_id unless org_unit_id.nil?
186
+ command.query['pageSize'] = page_size unless page_size.nil?
187
+ command.query['pageToken'] = page_token unless page_token.nil?
188
+ command.query['fields'] = fields unless fields.nil?
189
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
190
+ execute_or_queue_command(command, &block)
191
+ end
192
+
101
193
  # Get a specific app for a customer by its resource name.
102
194
  # @param [String] name
103
195
  # Required. The app for which details are being queried. Examples: "customers/
@@ -235,6 +327,50 @@ module Google
235
327
  execute_or_queue_command(command, &block)
236
328
  end
237
329
 
330
+ # Get a count of Chrome crash events.
331
+ # @param [String] customer
332
+ # Customer ID.
333
+ # @param [String] filter
334
+ # Query string to filter results, AND-separated fields in EBNF syntax. Supported
335
+ # filter fields: * major_browser_version * minor_browser_version *
336
+ # browser_channel * device_platform * past_number_days Example: `
337
+ # major_browser_version = 'M115' AND past_number_days = '28'`.
338
+ # @param [String] order_by
339
+ # Field used to order results. Supported order by fields: * browser_version *
340
+ # count * date
341
+ # @param [String] org_unit_id
342
+ # If specified, only count the number of crash events of the devices in this
343
+ # organizational unit.
344
+ # @param [String] fields
345
+ # Selector specifying which fields to include in a partial response.
346
+ # @param [String] quota_user
347
+ # Available to use for quota purposes for server-side applications. Can be any
348
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
349
+ # @param [Google::Apis::RequestOptions] options
350
+ # Request-specific options
351
+ #
352
+ # @yield [result, err] Result & error if block supplied
353
+ # @yieldparam result [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountChromeCrashEventsResponse] parsed result object
354
+ # @yieldparam err [StandardError] error object if request failed
355
+ #
356
+ # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountChromeCrashEventsResponse]
357
+ #
358
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
359
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
360
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
361
+ def count_customer_report_chrome_crash_events(customer, filter: nil, order_by: nil, org_unit_id: nil, fields: nil, quota_user: nil, options: nil, &block)
362
+ command = make_simple_command(:get, 'v1/{+customer}/reports:countChromeCrashEvents', options)
363
+ command.response_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountChromeCrashEventsResponse::Representation
364
+ command.response_class = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountChromeCrashEventsResponse
365
+ command.params['customer'] = customer unless customer.nil?
366
+ command.query['filter'] = filter unless filter.nil?
367
+ command.query['orderBy'] = order_by unless order_by.nil?
368
+ command.query['orgUnitId'] = org_unit_id unless org_unit_id.nil?
369
+ command.query['fields'] = fields unless fields.nil?
370
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
371
+ execute_or_queue_command(command, &block)
372
+ end
373
+
238
374
  # Generate report of the number of devices expiring in each month of the
239
375
  # selected time frame. Devices are grouped by auto update expiration date and
240
376
  # 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.50.0
4
+ version: 0.51.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: 2024-03-10 00:00:00.000000000 Z
11
+ date: 2024-03-17 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.50.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-chromemanagement_v1/v0.51.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: []