google-apis-clouderrorreporting_v1beta1 0.29.0 → 0.30.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 97f7e3b8949db91c2e8e51b7e57379921fde336cb728873524675fc651a762f7
|
4
|
+
data.tar.gz: 81502d5fad75cf7ee08446d5a4940b8bba87dffc6ced05f6fa2bae536a1049f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f406fe93d7681a25e477bd8f8663248eaf00308ce7f3722d52c19945188e87a9188f24552c3ab058a26ed0a1d9e0b85d237281d2f798f508da458ab5360b11e
|
7
|
+
data.tar.gz: 91596531195640a164939c8874f2a230fe13a4911514ae100c97847e6465a8ce5b7517e88d5a66c75d36a3311481d6201340759b9c22bfe7c45adc833200bca1
|
data/CHANGELOG.md
CHANGED
@@ -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
|
-
#
|
146
|
-
#
|
147
|
-
#
|
148
|
-
#
|
149
|
-
#
|
150
|
-
#
|
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 [`
|
435
|
-
#
|
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.
|
19
|
+
GEM_VERSION = "0.30.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
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 ``
|
59
|
-
# project ID](https://support.google.
|
60
|
-
#
|
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 ``
|
92
|
-
# project ID](https://support.google.
|
93
|
-
#
|
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
|
156
|
-
#
|
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).
|
203
|
-
# projects
|
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`/
|
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.
|
282
|
-
# resource name, the `
|
283
|
-
#
|
284
|
-
# is
|
285
|
-
# see [Google Cloud
|
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
|
-
#
|
318
|
-
#
|
319
|
-
#
|
320
|
-
#
|
321
|
-
#
|
322
|
-
#
|
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,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-clouderrorreporting_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.30.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-
|
11
|
+
date: 2024-07-25 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-clouderrorreporting_v1beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-clouderrorreporting_v1beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-clouderrorreporting_v1beta1/v0.30.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-clouderrorreporting_v1beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|