google-apis-clouderrorreporting_v1beta1 0.29.0 → 0.31.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: ca444b1a438bcbab6fe56549bd2d8f8f8c24334e701c1eb6a0909aa39c74146b
4
- data.tar.gz: 3f55979ab27f47c8adf8c1c65745034fdbb8c2dc2b1cb94143c57270706f9587
3
+ metadata.gz: 68cf95a0aaeebf82813d9f0981752c48e22662b2b55e969886338fef08192fe4
4
+ data.tar.gz: f66f317d3b9c874b5dd33eb3622b393220b559a36318d16d6c254953cdb2220e
5
5
  SHA512:
6
- metadata.gz: 8b7ff98dda0574b011d90846bc84f6e52443d95baa519094aa4ef0509e2d065dd3b9885e3e8f47bff75dedb8fceacce214502722cfed787fe24bd7d316f6641e
7
- data.tar.gz: 5f2ae9a1a6782fe6c1017ac126bd9dbd1806f8ceff2b5e9f7dfe21528f338d751e566d606081eaa73f9b650d9e8a93e909745c7dfdf2cc2e687626172b17eb24
6
+ metadata.gz: f9d2adc6da1ba5f0515fb203f104deb7e607533ea37bd9e2295f6b0993e56684f0472408837736270bed89da5239b110a65b4415c674a4b0c84d0b40b228a17d
7
+ data.tar.gz: 1fdf3cc7c26c27fcad422831000c5307ce2d607b974312253a30a6cd89e02688ccc499143d405d074343b926230a9b621e18aeb3d98d0ce9ef2f06e48ee07ba7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-clouderrorreporting_v1beta1
2
2
 
3
+ ### v0.31.0 (2025-05-04)
4
+
5
+ * Regenerated using generator version 0.17.0
6
+
7
+ ### v0.30.0 (2024-07-25)
8
+
9
+ * Regenerated from discovery document revision 20240705
10
+
3
11
  ### v0.29.0 (2024-05-19)
4
12
 
5
13
  * Regenerated using generator version 0.15.0
data/OVERVIEW.md CHANGED
@@ -83,7 +83,7 @@ The [product documentation](https://cloud.google.com/error-reporting/) may provi
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.7+.
86
+ This library is supported on Ruby 3.1+.
87
87
 
88
88
  Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
@@ -141,13 +141,16 @@ module Google
141
141
  # @return [String]
142
142
  attr_accessor :group_id
143
143
 
144
- # The group resource name. Written as `projects/`projectID`/groups/`group_id``.
145
- # Example: `projects/my-project-123/groups/my-group` In the group resource name,
146
- # the `group_id` is a unique identifier for a particular error group. The
147
- # identifier is derived from key parts of the error-log content and is treated
148
- # as Service Data. For information about how Service Data is handled, see [
149
- # Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-
150
- # notice).
144
+ # The group resource name. Written as `projects/`projectID`/groups/`group_id``
145
+ # or `projects/`projectID`/locations/`location`/groups/`group_id`` Examples: `
146
+ # projects/my-project-123/groups/my-group`, `projects/my-project-123/locations/
147
+ # us-central1/groups/my-group` In the group resource name, the `group_id` is a
148
+ # unique identifier for a particular error group. The identifier is derived from
149
+ # key parts of the error-log content and is treated as Service Data. For
150
+ # information about how Service Data is handled, see [Google Cloud Privacy
151
+ # Notice](https://cloud.google.com/terms/cloud-privacy-notice). For a list of
152
+ # supported locations, see [Supported Regions](https://cloud.google.com/logging/
153
+ # docs/region-support). `global` is the default when unspecified.
151
154
  # Corresponds to the JSON property `name`
152
155
  # @return [String]
153
156
  attr_accessor :name
@@ -431,8 +434,8 @@ module Google
431
434
  # https://msdn.microsoft.com/en-us/library/system.exception.tostring.aspx). * **
432
435
  # PHP**: Must be prefixed with `"PHP (Notice|Parse error|Fatal error|Warning): "`
433
436
  # and contain the result of [`(string)$exception`](https://php.net/manual/en/
434
- # exception.tostring.php). * **Go**: Must be the return value of [`runtime.Stack(
435
- # )`](https://golang.org/pkg/runtime/debug/#Stack).
437
+ # exception.tostring.php). * **Go**: Must be the return value of [`debug.Stack()`
438
+ # ](https://pkg.go.dev/runtime/debug#Stack).
436
439
  # Corresponds to the JSON property `message`
437
440
  # @return [String]
438
441
  attr_accessor :message
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ClouderrorreportingV1beta1
18
18
  # Version of the google-apis-clouderrorreporting_v1beta1 gem
19
- GEM_VERSION = "0.29.0"
19
+ GEM_VERSION = "0.31.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.0"
22
+ GENERATOR_VERSION = "0.17.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240322"
25
+ REVISION = "20240705"
26
26
  end
27
27
  end
28
28
  end
@@ -55,9 +55,12 @@ module Google
55
55
  # Deletes all error events of a given project.
56
56
  # @param [String] project_name
57
57
  # Required. The resource name of the Google Cloud Platform project. Written as `
58
- # projects/`projectID``, where ``projectID`` is the [Google Cloud Platform
59
- # project ID](https://support.google.com/cloud/answer/6158840). Example: `
60
- # projects/my-project-123`.
58
+ # projects/`projectID`` or `projects/`projectID`/locations/`location``, where ``
59
+ # projectID`` is the [Google Cloud Platform project ID](https://support.google.
60
+ # com/cloud/answer/6158840) and ``location`` is a Cloud region. Examples: `
61
+ # projects/my-project-123`, `projects/my-project-123/locations/global`. For a
62
+ # list of supported locations, see [Supported Regions](https://cloud.google.com/
63
+ # logging/docs/region-support). `global` is the default when unspecified.
61
64
  # @param [String] fields
62
65
  # Selector specifying which fields to include in a partial response.
63
66
  # @param [String] quota_user
@@ -88,9 +91,12 @@ module Google
88
91
  # Lists the specified events.
89
92
  # @param [String] project_name
90
93
  # Required. The resource name of the Google Cloud Platform project. Written as `
91
- # projects/`projectID``, where ``projectID`` is the [Google Cloud Platform
92
- # project ID](https://support.google.com/cloud/answer/6158840). Example: `
93
- # projects/my-project-123`.
94
+ # projects/`projectID`` or `projects/`projectID`/locations/`location``, where ``
95
+ # projectID`` is the [Google Cloud Platform project ID](https://support.google.
96
+ # com/cloud/answer/6158840) and ``location`` is a Cloud region. Examples: `
97
+ # projects/my-project-123`, `projects/my-project-123/locations/global`. For a
98
+ # list of supported locations, see [Supported Regions](https://cloud.google.com/
99
+ # logging/docs/region-support). `global` is the default when unspecified.
94
100
  # @param [String] group_id
95
101
  # Required. The group for which events shall be returned. The `group_id` is a
96
102
  # unique identifier for a particular error group. The identifier is derived from
@@ -152,9 +158,8 @@ module Google
152
158
  # the URL as the value of a `key` parameter. For example: `POST https://
153
159
  # clouderrorreporting.googleapis.com/v1beta1/`projectName`/events:report?key=
154
160
  # 123ABC456` **Note:** [Error Reporting] (https://cloud.google.com/error-
155
- # reporting) is a global service built on Cloud Logging and can analyze log
156
- # entries when all of the following are true: * The log entries are stored in a
157
- # log bucket in the `global` location. * Customer-managed encryption keys (CMEK)
161
+ # reporting) is a service built on Cloud Logging and can analyze log entries
162
+ # when all of the following are true: * Customer-managed encryption keys (CMEK)
158
163
  # are disabled on the log bucket. * The log bucket satisfies one of the
159
164
  # following: * The log bucket is stored in the same project where the logs
160
165
  # originated. * The logs were routed to a project, and then that project stored
@@ -199,8 +204,13 @@ module Google
199
204
  # Required. The resource name of the Google Cloud Platform project. Written as `
200
205
  # projects/`projectID`` or `projects/`projectNumber``, where ``projectID`` and ``
201
206
  # projectNumber`` can be found in the [Google Cloud console](https://support.
202
- # google.com/cloud/answer/6158840). Examples: `projects/my-project-123`, `
203
- # projects/5551234`.
207
+ # google.com/cloud/answer/6158840). It may also include a location, such as `
208
+ # projects/`projectID`/locations/`location`` where ``location`` is a cloud
209
+ # region. Examples: `projects/my-project-123`, `projects/5551234`, `projects/my-
210
+ # project-123/locations/us-central1`, `projects/5551234/locations/us-central1`.
211
+ # For a list of supported locations, see [Supported Regions](https://cloud.
212
+ # google.com/logging/docs/region-support). `global` is the default when
213
+ # unspecified. Use `-` as a wildcard to request group stats from all regions.
204
214
  # @param [String] alignment
205
215
  # Optional. The alignment of the timed counts to be returned. Default is `
206
216
  # ALIGNMENT_EQUAL_AT_END`.
@@ -276,14 +286,17 @@ module Google
276
286
 
277
287
  # Get the specified group.
278
288
  # @param [String] group_name
279
- # Required. The group resource name. Written as `projects/`projectID`/groups/`
289
+ # Required. The group resource name. Written as either `projects/`projectID`/
290
+ # groups/`group_id`` or `projects/`projectID`/locations/`location`/groups/`
280
291
  # group_id``. Call groupStats.list to return a list of groups belonging to this
281
- # project. Example: `projects/my-project-123/groups/my-group` In the group
282
- # resource name, the `group_id` is a unique identifier for a particular error
283
- # group. The identifier is derived from key parts of the error-log content and
284
- # is treated as Service Data. For information about how Service Data is handled,
285
- # see [Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-
286
- # notice).
292
+ # project. Examples: `projects/my-project-123/groups/my-group`, `projects/my-
293
+ # project-123/locations/global/groups/my-group` In the group resource name, the `
294
+ # group_id` is a unique identifier for a particular error group. The identifier
295
+ # is derived from key parts of the error-log content and is treated as Service
296
+ # Data. For information about how Service Data is handled, see [Google Cloud
297
+ # Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice). For a
298
+ # list of supported locations, see [Supported Regions](https://cloud.google.com/
299
+ # logging/docs/region-support). `global` is the default when unspecified.
287
300
  # @param [String] fields
288
301
  # Selector specifying which fields to include in a partial response.
289
302
  # @param [String] quota_user
@@ -313,13 +326,16 @@ module Google
313
326
 
314
327
  # Replace the data for the specified group. Fails if the group does not exist.
315
328
  # @param [String] name
316
- # The group resource name. Written as `projects/`projectID`/groups/`group_id``.
317
- # Example: `projects/my-project-123/groups/my-group` In the group resource name,
318
- # the `group_id` is a unique identifier for a particular error group. The
319
- # identifier is derived from key parts of the error-log content and is treated
320
- # as Service Data. For information about how Service Data is handled, see [
321
- # Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-
322
- # notice).
329
+ # The group resource name. Written as `projects/`projectID`/groups/`group_id``
330
+ # or `projects/`projectID`/locations/`location`/groups/`group_id`` Examples: `
331
+ # projects/my-project-123/groups/my-group`, `projects/my-project-123/locations/
332
+ # us-central1/groups/my-group` In the group resource name, the `group_id` is a
333
+ # unique identifier for a particular error group. The identifier is derived from
334
+ # key parts of the error-log content and is treated as Service Data. For
335
+ # information about how Service Data is handled, see [Google Cloud Privacy
336
+ # Notice](https://cloud.google.com/terms/cloud-privacy-notice). For a list of
337
+ # supported locations, see [Supported Regions](https://cloud.google.com/logging/
338
+ # docs/region-support). `global` is the default when unspecified.
323
339
  # @param [Google::Apis::ClouderrorreportingV1beta1::ErrorGroup] error_group_object
324
340
  # @param [String] fields
325
341
  # Selector specifying which fields to include in a partial response.
@@ -349,6 +365,273 @@ module Google
349
365
  command.query['quotaUser'] = quota_user unless quota_user.nil?
350
366
  execute_or_queue_command(command, &block)
351
367
  end
368
+
369
+ # Deletes all error events of a given project.
370
+ # @param [String] project_name
371
+ # Required. The resource name of the Google Cloud Platform project. Written as `
372
+ # projects/`projectID`` or `projects/`projectID`/locations/`location``, where ``
373
+ # projectID`` is the [Google Cloud Platform project ID](https://support.google.
374
+ # com/cloud/answer/6158840) and ``location`` is a Cloud region. Examples: `
375
+ # projects/my-project-123`, `projects/my-project-123/locations/global`. For a
376
+ # list of supported locations, see [Supported Regions](https://cloud.google.com/
377
+ # logging/docs/region-support). `global` is the default when unspecified.
378
+ # @param [String] fields
379
+ # Selector specifying which fields to include in a partial response.
380
+ # @param [String] quota_user
381
+ # Available to use for quota purposes for server-side applications. Can be any
382
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
383
+ # @param [Google::Apis::RequestOptions] options
384
+ # Request-specific options
385
+ #
386
+ # @yield [result, err] Result & error if block supplied
387
+ # @yieldparam result [Google::Apis::ClouderrorreportingV1beta1::DeleteEventsResponse] parsed result object
388
+ # @yieldparam err [StandardError] error object if request failed
389
+ #
390
+ # @return [Google::Apis::ClouderrorreportingV1beta1::DeleteEventsResponse]
391
+ #
392
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
393
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
394
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
395
+ def delete_project_location_events(project_name, fields: nil, quota_user: nil, options: nil, &block)
396
+ command = make_simple_command(:delete, 'v1beta1/{+projectName}/events', options)
397
+ command.response_representation = Google::Apis::ClouderrorreportingV1beta1::DeleteEventsResponse::Representation
398
+ command.response_class = Google::Apis::ClouderrorreportingV1beta1::DeleteEventsResponse
399
+ command.params['projectName'] = project_name unless project_name.nil?
400
+ command.query['fields'] = fields unless fields.nil?
401
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
402
+ execute_or_queue_command(command, &block)
403
+ end
404
+
405
+ # Lists the specified events.
406
+ # @param [String] project_name
407
+ # Required. The resource name of the Google Cloud Platform project. Written as `
408
+ # projects/`projectID`` or `projects/`projectID`/locations/`location``, where ``
409
+ # projectID`` is the [Google Cloud Platform project ID](https://support.google.
410
+ # com/cloud/answer/6158840) and ``location`` is a Cloud region. Examples: `
411
+ # projects/my-project-123`, `projects/my-project-123/locations/global`. For a
412
+ # list of supported locations, see [Supported Regions](https://cloud.google.com/
413
+ # logging/docs/region-support). `global` is the default when unspecified.
414
+ # @param [String] group_id
415
+ # Required. The group for which events shall be returned. The `group_id` is a
416
+ # unique identifier for a particular error group. The identifier is derived from
417
+ # key parts of the error-log content and is treated as Service Data. For
418
+ # information about how Service Data is handled, see [Google Cloud Privacy
419
+ # Notice](https://cloud.google.com/terms/cloud-privacy-notice).
420
+ # @param [Fixnum] page_size
421
+ # Optional. The maximum number of results to return per response.
422
+ # @param [String] page_token
423
+ # Optional. A `next_page_token` provided by a previous response.
424
+ # @param [String] service_filter_resource_type
425
+ # Optional. The exact value to match against [`ServiceContext.resource_type`](/
426
+ # error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type).
427
+ # @param [String] service_filter_service
428
+ # Optional. The exact value to match against [`ServiceContext.service`](/error-
429
+ # reporting/reference/rest/v1beta1/ServiceContext#FIELDS.service).
430
+ # @param [String] service_filter_version
431
+ # Optional. The exact value to match against [`ServiceContext.version`](/error-
432
+ # reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version).
433
+ # @param [String] time_range_period
434
+ # Restricts the query to the specified time range.
435
+ # @param [String] fields
436
+ # Selector specifying which fields to include in a partial response.
437
+ # @param [String] quota_user
438
+ # Available to use for quota purposes for server-side applications. Can be any
439
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
440
+ # @param [Google::Apis::RequestOptions] options
441
+ # Request-specific options
442
+ #
443
+ # @yield [result, err] Result & error if block supplied
444
+ # @yieldparam result [Google::Apis::ClouderrorreportingV1beta1::ListEventsResponse] parsed result object
445
+ # @yieldparam err [StandardError] error object if request failed
446
+ #
447
+ # @return [Google::Apis::ClouderrorreportingV1beta1::ListEventsResponse]
448
+ #
449
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
450
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
451
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
452
+ def list_project_location_events(project_name, group_id: nil, page_size: nil, page_token: nil, service_filter_resource_type: nil, service_filter_service: nil, service_filter_version: nil, time_range_period: nil, fields: nil, quota_user: nil, options: nil, &block)
453
+ command = make_simple_command(:get, 'v1beta1/{+projectName}/events', options)
454
+ command.response_representation = Google::Apis::ClouderrorreportingV1beta1::ListEventsResponse::Representation
455
+ command.response_class = Google::Apis::ClouderrorreportingV1beta1::ListEventsResponse
456
+ command.params['projectName'] = project_name unless project_name.nil?
457
+ command.query['groupId'] = group_id unless group_id.nil?
458
+ command.query['pageSize'] = page_size unless page_size.nil?
459
+ command.query['pageToken'] = page_token unless page_token.nil?
460
+ command.query['serviceFilter.resourceType'] = service_filter_resource_type unless service_filter_resource_type.nil?
461
+ command.query['serviceFilter.service'] = service_filter_service unless service_filter_service.nil?
462
+ command.query['serviceFilter.version'] = service_filter_version unless service_filter_version.nil?
463
+ command.query['timeRange.period'] = time_range_period unless time_range_period.nil?
464
+ command.query['fields'] = fields unless fields.nil?
465
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
466
+ execute_or_queue_command(command, &block)
467
+ end
468
+
469
+ # Lists the specified groups.
470
+ # @param [String] project_name
471
+ # Required. The resource name of the Google Cloud Platform project. Written as `
472
+ # projects/`projectID`` or `projects/`projectNumber``, where ``projectID`` and ``
473
+ # projectNumber`` can be found in the [Google Cloud console](https://support.
474
+ # google.com/cloud/answer/6158840). It may also include a location, such as `
475
+ # projects/`projectID`/locations/`location`` where ``location`` is a cloud
476
+ # region. Examples: `projects/my-project-123`, `projects/5551234`, `projects/my-
477
+ # project-123/locations/us-central1`, `projects/5551234/locations/us-central1`.
478
+ # For a list of supported locations, see [Supported Regions](https://cloud.
479
+ # google.com/logging/docs/region-support). `global` is the default when
480
+ # unspecified. Use `-` as a wildcard to request group stats from all regions.
481
+ # @param [String] alignment
482
+ # Optional. The alignment of the timed counts to be returned. Default is `
483
+ # ALIGNMENT_EQUAL_AT_END`.
484
+ # @param [String] alignment_time
485
+ # Optional. Time where the timed counts shall be aligned if rounded alignment is
486
+ # chosen. Default is 00:00 UTC.
487
+ # @param [Array<String>, String] group_id
488
+ # Optional. List all ErrorGroupStats with these IDs. The `group_id` is a unique
489
+ # identifier for a particular error group. The identifier is derived from key
490
+ # parts of the error-log content and is treated as Service Data. For information
491
+ # about how Service Data is handled, see [Google Cloud Privacy Notice] (https://
492
+ # cloud.google.com/terms/cloud-privacy-notice).
493
+ # @param [String] order
494
+ # Optional. The sort order in which the results are returned. Default is `
495
+ # COUNT_DESC`.
496
+ # @param [Fixnum] page_size
497
+ # Optional. The maximum number of results to return per response. Default is 20.
498
+ # @param [String] page_token
499
+ # Optional. A next_page_token provided by a previous response. To view
500
+ # additional results, pass this token along with the identical query parameters
501
+ # as the first request.
502
+ # @param [String] service_filter_resource_type
503
+ # Optional. The exact value to match against [`ServiceContext.resource_type`](/
504
+ # error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type).
505
+ # @param [String] service_filter_service
506
+ # Optional. The exact value to match against [`ServiceContext.service`](/error-
507
+ # reporting/reference/rest/v1beta1/ServiceContext#FIELDS.service).
508
+ # @param [String] service_filter_version
509
+ # Optional. The exact value to match against [`ServiceContext.version`](/error-
510
+ # reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version).
511
+ # @param [String] time_range_period
512
+ # Restricts the query to the specified time range.
513
+ # @param [String] timed_count_duration
514
+ # Optional. The preferred duration for a single returned TimedCount. If not set,
515
+ # no timed counts are returned.
516
+ # @param [String] fields
517
+ # Selector specifying which fields to include in a partial response.
518
+ # @param [String] quota_user
519
+ # Available to use for quota purposes for server-side applications. Can be any
520
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
521
+ # @param [Google::Apis::RequestOptions] options
522
+ # Request-specific options
523
+ #
524
+ # @yield [result, err] Result & error if block supplied
525
+ # @yieldparam result [Google::Apis::ClouderrorreportingV1beta1::ListGroupStatsResponse] parsed result object
526
+ # @yieldparam err [StandardError] error object if request failed
527
+ #
528
+ # @return [Google::Apis::ClouderrorreportingV1beta1::ListGroupStatsResponse]
529
+ #
530
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
531
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
532
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
533
+ def list_project_location_group_stats(project_name, alignment: nil, alignment_time: nil, group_id: nil, order: nil, page_size: nil, page_token: nil, service_filter_resource_type: nil, service_filter_service: nil, service_filter_version: nil, time_range_period: nil, timed_count_duration: nil, fields: nil, quota_user: nil, options: nil, &block)
534
+ command = make_simple_command(:get, 'v1beta1/{+projectName}/groupStats', options)
535
+ command.response_representation = Google::Apis::ClouderrorreportingV1beta1::ListGroupStatsResponse::Representation
536
+ command.response_class = Google::Apis::ClouderrorreportingV1beta1::ListGroupStatsResponse
537
+ command.params['projectName'] = project_name unless project_name.nil?
538
+ command.query['alignment'] = alignment unless alignment.nil?
539
+ command.query['alignmentTime'] = alignment_time unless alignment_time.nil?
540
+ command.query['groupId'] = group_id unless group_id.nil?
541
+ command.query['order'] = order unless order.nil?
542
+ command.query['pageSize'] = page_size unless page_size.nil?
543
+ command.query['pageToken'] = page_token unless page_token.nil?
544
+ command.query['serviceFilter.resourceType'] = service_filter_resource_type unless service_filter_resource_type.nil?
545
+ command.query['serviceFilter.service'] = service_filter_service unless service_filter_service.nil?
546
+ command.query['serviceFilter.version'] = service_filter_version unless service_filter_version.nil?
547
+ command.query['timeRange.period'] = time_range_period unless time_range_period.nil?
548
+ command.query['timedCountDuration'] = timed_count_duration unless timed_count_duration.nil?
549
+ command.query['fields'] = fields unless fields.nil?
550
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
551
+ execute_or_queue_command(command, &block)
552
+ end
553
+
554
+ # Get the specified group.
555
+ # @param [String] group_name
556
+ # Required. The group resource name. Written as either `projects/`projectID`/
557
+ # groups/`group_id`` or `projects/`projectID`/locations/`location`/groups/`
558
+ # group_id``. Call groupStats.list to return a list of groups belonging to this
559
+ # project. Examples: `projects/my-project-123/groups/my-group`, `projects/my-
560
+ # project-123/locations/global/groups/my-group` In the group resource name, the `
561
+ # group_id` is a unique identifier for a particular error group. The identifier
562
+ # is derived from key parts of the error-log content and is treated as Service
563
+ # Data. For information about how Service Data is handled, see [Google Cloud
564
+ # Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice). For a
565
+ # list of supported locations, see [Supported Regions](https://cloud.google.com/
566
+ # logging/docs/region-support). `global` is the default when unspecified.
567
+ # @param [String] fields
568
+ # Selector specifying which fields to include in a partial response.
569
+ # @param [String] quota_user
570
+ # Available to use for quota purposes for server-side applications. Can be any
571
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
572
+ # @param [Google::Apis::RequestOptions] options
573
+ # Request-specific options
574
+ #
575
+ # @yield [result, err] Result & error if block supplied
576
+ # @yieldparam result [Google::Apis::ClouderrorreportingV1beta1::ErrorGroup] parsed result object
577
+ # @yieldparam err [StandardError] error object if request failed
578
+ #
579
+ # @return [Google::Apis::ClouderrorreportingV1beta1::ErrorGroup]
580
+ #
581
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
582
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
583
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
584
+ def get_project_location_group(group_name, fields: nil, quota_user: nil, options: nil, &block)
585
+ command = make_simple_command(:get, 'v1beta1/{+groupName}', options)
586
+ command.response_representation = Google::Apis::ClouderrorreportingV1beta1::ErrorGroup::Representation
587
+ command.response_class = Google::Apis::ClouderrorreportingV1beta1::ErrorGroup
588
+ command.params['groupName'] = group_name unless group_name.nil?
589
+ command.query['fields'] = fields unless fields.nil?
590
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
591
+ execute_or_queue_command(command, &block)
592
+ end
593
+
594
+ # Replace the data for the specified group. Fails if the group does not exist.
595
+ # @param [String] name
596
+ # The group resource name. Written as `projects/`projectID`/groups/`group_id``
597
+ # or `projects/`projectID`/locations/`location`/groups/`group_id`` Examples: `
598
+ # projects/my-project-123/groups/my-group`, `projects/my-project-123/locations/
599
+ # us-central1/groups/my-group` In the group resource name, the `group_id` is a
600
+ # unique identifier for a particular error group. The identifier is derived from
601
+ # key parts of the error-log content and is treated as Service Data. For
602
+ # information about how Service Data is handled, see [Google Cloud Privacy
603
+ # Notice](https://cloud.google.com/terms/cloud-privacy-notice). For a list of
604
+ # supported locations, see [Supported Regions](https://cloud.google.com/logging/
605
+ # docs/region-support). `global` is the default when unspecified.
606
+ # @param [Google::Apis::ClouderrorreportingV1beta1::ErrorGroup] error_group_object
607
+ # @param [String] fields
608
+ # Selector specifying which fields to include in a partial response.
609
+ # @param [String] quota_user
610
+ # Available to use for quota purposes for server-side applications. Can be any
611
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
612
+ # @param [Google::Apis::RequestOptions] options
613
+ # Request-specific options
614
+ #
615
+ # @yield [result, err] Result & error if block supplied
616
+ # @yieldparam result [Google::Apis::ClouderrorreportingV1beta1::ErrorGroup] parsed result object
617
+ # @yieldparam err [StandardError] error object if request failed
618
+ #
619
+ # @return [Google::Apis::ClouderrorreportingV1beta1::ErrorGroup]
620
+ #
621
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
622
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
623
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
624
+ def update_project_location_group(name, error_group_object = nil, fields: nil, quota_user: nil, options: nil, &block)
625
+ command = make_simple_command(:put, 'v1beta1/{+name}', options)
626
+ command.request_representation = Google::Apis::ClouderrorreportingV1beta1::ErrorGroup::Representation
627
+ command.request_object = error_group_object
628
+ command.response_representation = Google::Apis::ClouderrorreportingV1beta1::ErrorGroup::Representation
629
+ command.response_class = Google::Apis::ClouderrorreportingV1beta1::ErrorGroup
630
+ command.params['name'] = name unless name.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
352
635
 
353
636
  protected
354
637
 
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-clouderrorreporting_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.29.0
4
+ version: 0.31.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-05-19 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: google-apis-core
@@ -58,9 +57,8 @@ licenses:
58
57
  metadata:
59
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-clouderrorreporting_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-clouderrorreporting_v1beta1/v0.29.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-clouderrorreporting_v1beta1/v0.31.0
62
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-clouderrorreporting_v1beta1
63
- post_install_message:
64
62
  rdoc_options: []
65
63
  require_paths:
66
64
  - lib
@@ -68,15 +66,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
68
66
  requirements:
69
67
  - - ">="
70
68
  - !ruby/object:Gem::Version
71
- version: '2.7'
69
+ version: '3.1'
72
70
  required_rubygems_version: !ruby/object:Gem::Requirement
73
71
  requirements:
74
72
  - - ">="
75
73
  - !ruby/object:Gem::Version
76
74
  version: '0'
77
75
  requirements: []
78
- rubygems_version: 3.5.6
79
- signing_key:
76
+ rubygems_version: 3.6.8
80
77
  specification_version: 4
81
78
  summary: Simple REST client for Error Reporting API V1beta1
82
79
  test_files: []