@maxim_mazurok/gapi.client.clouderrorreporting-v1beta1 0.0.20240621 → 0.0.20240705

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.
Files changed (2) hide show
  1. package/index.d.ts +224 -10
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://clouderrorreporting.googleapis.com/$discovery/rest?version=v1beta1
12
- // Revision: 20240621
12
+ // Revision: 20240705
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -52,7 +52,7 @@ declare namespace gapi.client {
52
52
  interface ErrorGroup {
53
53
  /** An opaque identifier of the group. This field is assigned by the Error Reporting system and always populated. In the group resource name, the `group_id` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice). */
54
54
  groupId?: string;
55
- /** The group resource name. Written as `projects/{projectID}/groups/{group_id}`. Example: `projects/my-project-123/groups/my-group` In the group resource name, the `group_id` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice). */
55
+ /** The group resource name. Written as `projects/{projectID}/groups/{group_id}` or `projects/{projectID}/locations/{location}/groups/{group_id}` Examples: `projects/my-project-123/groups/my-group`, `projects/my-project-123/locations/us-central1/groups/my-group` In the group resource name, the `group_id` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice). For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified. */
56
56
  name?: string;
57
57
  /** Error group's resolution status. An unspecified resolution status will be interpreted as OPEN */
58
58
  resolutionStatus?: string;
@@ -114,7 +114,7 @@ declare namespace gapi.client {
114
114
  context?: ErrorContext;
115
115
  /** Optional. Time when the event occurred. If not provided, the time when the event was received by the Error Reporting system is used. If provided, the time must not exceed the [logs retention period](https://cloud.google.com/logging/quotas#logs_retention_periods) in the past, or be more than 24 hours in the future. If an invalid time is provided, then an error is returned. */
116
116
  eventTime?: string;
117
- /** Required. The error message. If no `context.reportLocation` is provided, the message must contain a header (typically consisting of the exception type name and an error message) and an exception stack trace in one of the supported programming languages and formats. Supported languages are Java, Python, JavaScript, Ruby, C#, PHP, and Go. Supported stack trace formats are: * **Java**: Must be the return value of [`Throwable.printStackTrace()`](https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html#printStackTrace%28%29). * **Python**: Must be the return value of [`traceback.format_exc()`](https://docs.python.org/2/library/traceback.html#traceback.format_exc). * **JavaScript**: Must be the value of [`error.stack`](https://github.com/v8/v8/wiki/Stack-Trace-API) as returned by V8. * **Ruby**: Must contain frames returned by [`Exception.backtrace`](https://ruby-doc.org/core-2.2.0/Exception.html#method-i-backtrace). * **C#**: Must be the return value of [`Exception.ToString()`](https://msdn.microsoft.com/en-us/library/system.exception.tostring.aspx). * **PHP**: Must be prefixed with `"PHP (Notice|Parse error|Fatal error|Warning): "` and contain the result of [`(string)$exception`](https://php.net/manual/en/exception.tostring.php). * **Go**: Must be the return value of [`runtime.Stack()`](https://golang.org/pkg/runtime/debug/#Stack). */
117
+ /** Required. The error message. If no `context.reportLocation` is provided, the message must contain a header (typically consisting of the exception type name and an error message) and an exception stack trace in one of the supported programming languages and formats. Supported languages are Java, Python, JavaScript, Ruby, C#, PHP, and Go. Supported stack trace formats are: * **Java**: Must be the return value of [`Throwable.printStackTrace()`](https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html#printStackTrace%28%29). * **Python**: Must be the return value of [`traceback.format_exc()`](https://docs.python.org/2/library/traceback.html#traceback.format_exc). * **JavaScript**: Must be the value of [`error.stack`](https://github.com/v8/v8/wiki/Stack-Trace-API) as returned by V8. * **Ruby**: Must contain frames returned by [`Exception.backtrace`](https://ruby-doc.org/core-2.2.0/Exception.html#method-i-backtrace). * **C#**: Must be the return value of [`Exception.ToString()`](https://msdn.microsoft.com/en-us/library/system.exception.tostring.aspx). * **PHP**: Must be prefixed with `"PHP (Notice|Parse error|Fatal error|Warning): "` and contain the result of [`(string)$exception`](https://php.net/manual/en/exception.tostring.php). * **Go**: Must be the return value of [`debug.Stack()`](https://pkg.go.dev/runtime/debug#Stack). */
118
118
  message?: string;
119
119
  /** Required. The service context in which this error has occurred. */
120
120
  serviceContext?: ServiceContext;
@@ -179,7 +179,7 @@ declare namespace gapi.client {
179
179
  pageToken?: string;
180
180
  /** Returns response with indentations and line breaks. */
181
181
  prettyPrint?: boolean;
182
- /** Required. The resource name of the Google Cloud Platform project. Written as `projects/{projectID}`, where `{projectID}` is the [Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840). Example: `projects/my-project-123`. */
182
+ /** Required. The resource name of the Google Cloud Platform project. Written as `projects/{projectID}` or `projects/{projectID}/locations/{location}`, where `{projectID}` is the [Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840) and `{location}` is a Cloud region. Examples: `projects/my-project-123`, `projects/my-project-123/locations/global`. For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified. */
183
183
  projectName: string;
184
184
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
185
185
  quotaUser?: string;
@@ -196,7 +196,7 @@ declare namespace gapi.client {
196
196
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
197
197
  uploadType?: string;
198
198
  }): Request<ListEventsResponse>;
199
- /** Report an individual error event and record the event to a log. This endpoint accepts **either** an OAuth token, **or** an [API key](https://support.google.com/cloud/answer/6158862) for authentication. To use an API key, append it to the URL as the value of a `key` parameter. For example: `POST https://clouderrorreporting.googleapis.com/v1beta1/{projectName}/events:report?key=123ABC456` **Note:** [Error Reporting] (https://cloud.google.com/error-reporting) is a global service built on Cloud Logging and can analyze log entries when all of the following are true: * The log entries are stored in a log bucket in the `global` location. * Customer-managed encryption keys (CMEK) are disabled on the log bucket. * The log bucket satisfies one of the following: * The log bucket is stored in the same project where the logs originated. * The logs were routed to a project, and then that project stored those logs in a log bucket that it owns. */
199
+ /** Report an individual error event and record the event to a log. This endpoint accepts **either** an OAuth token, **or** an [API key](https://support.google.com/cloud/answer/6158862) for authentication. To use an API key, append it to the URL as the value of a `key` parameter. For example: `POST https://clouderrorreporting.googleapis.com/v1beta1/{projectName}/events:report?key=123ABC456` **Note:** [Error Reporting] (https://cloud.google.com/error-reporting) is a service built on Cloud Logging and can analyze log entries when all of the following are true: * Customer-managed encryption keys (CMEK) are disabled on the log bucket. * The log bucket satisfies one of the following: * The log bucket is stored in the same project where the logs originated. * The logs were routed to a project, and then that project stored those logs in a log bucket that it owns. */
200
200
  report(request: {
201
201
  /** V1 error format. */
202
202
  '$.xgafv'?: string;
@@ -268,7 +268,7 @@ declare namespace gapi.client {
268
268
  callback?: string;
269
269
  /** Selector specifying which fields to include in a partial response. */
270
270
  fields?: string;
271
- /** Required. The group resource name. Written as `projects/{projectID}/groups/{group_id}`. Call groupStats.list to return a list of groups belonging to this project. Example: `projects/my-project-123/groups/my-group` In the group resource name, the `group_id` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice). */
271
+ /** Required. The group resource name. Written as either `projects/{projectID}/groups/{group_id}` or `projects/{projectID}/locations/{location}/groups/{group_id}`. Call groupStats.list to return a list of groups belonging to this project. Examples: `projects/my-project-123/groups/my-group`, `projects/my-project-123/locations/global/groups/my-group` In the group resource name, the `group_id` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice). For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified. */
272
272
  groupName: string;
273
273
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
274
274
  key?: string;
@@ -297,7 +297,7 @@ declare namespace gapi.client {
297
297
  fields?: string;
298
298
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
299
299
  key?: string;
300
- /** The group resource name. Written as `projects/{projectID}/groups/{group_id}`. Example: `projects/my-project-123/groups/my-group` In the group resource name, the `group_id` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice). */
300
+ /** The group resource name. Written as `projects/{projectID}/groups/{group_id}` or `projects/{projectID}/locations/{location}/groups/{group_id}` Examples: `projects/my-project-123/groups/my-group`, `projects/my-project-123/locations/us-central1/groups/my-group` In the group resource name, the `group_id` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice). For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified. */
301
301
  name: string;
302
302
  /** OAuth 2.0 token for the current user. */
303
303
  oauth_token?: string;
@@ -326,7 +326,7 @@ declare namespace gapi.client {
326
326
  fields?: string;
327
327
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
328
328
  key?: string;
329
- /** The group resource name. Written as `projects/{projectID}/groups/{group_id}`. Example: `projects/my-project-123/groups/my-group` In the group resource name, the `group_id` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice). */
329
+ /** The group resource name. Written as `projects/{projectID}/groups/{group_id}` or `projects/{projectID}/locations/{location}/groups/{group_id}` Examples: `projects/my-project-123/groups/my-group`, `projects/my-project-123/locations/us-central1/groups/my-group` In the group resource name, the `group_id` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice). For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified. */
330
330
  name: string;
331
331
  /** OAuth 2.0 token for the current user. */
332
332
  oauth_token?: string;
@@ -373,7 +373,7 @@ declare namespace gapi.client {
373
373
  pageToken?: string;
374
374
  /** Returns response with indentations and line breaks. */
375
375
  prettyPrint?: boolean;
376
- /** Required. The resource name of the Google Cloud Platform project. Written as `projects/{projectID}` or `projects/{projectNumber}`, where `{projectID}` and `{projectNumber}` can be found in the [Google Cloud console](https://support.google.com/cloud/answer/6158840). Examples: `projects/my-project-123`, `projects/5551234`. */
376
+ /** Required. The resource name of the Google Cloud Platform project. Written as `projects/{projectID}` or `projects/{projectNumber}`, where `{projectID}` and `{projectNumber}` can be found in the [Google Cloud console](https://support.google.com/cloud/answer/6158840). It may also include a location, such as `projects/{projectID}/locations/{location}` where `{location}` is a cloud region. Examples: `projects/my-project-123`, `projects/5551234`, `projects/my-project-123/locations/us-central1`, `projects/5551234/locations/us-central1`. For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified. Use `-` as a wildcard to request group stats from all regions. */
377
377
  projectName: string;
378
378
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
379
379
  quotaUser?: string;
@@ -393,6 +393,219 @@ declare namespace gapi.client {
393
393
  uploadType?: string;
394
394
  }): Request<ListGroupStatsResponse>;
395
395
  }
396
+ interface EventsResource {
397
+ /** Lists the specified events. */
398
+ list(request?: {
399
+ /** V1 error format. */
400
+ '$.xgafv'?: string;
401
+ /** OAuth access token. */
402
+ access_token?: string;
403
+ /** Data format for response. */
404
+ alt?: string;
405
+ /** JSONP */
406
+ callback?: string;
407
+ /** Selector specifying which fields to include in a partial response. */
408
+ fields?: string;
409
+ /** Required. The group for which events shall be returned. The `group_id` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice). */
410
+ groupId?: string;
411
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
412
+ key?: string;
413
+ /** OAuth 2.0 token for the current user. */
414
+ oauth_token?: string;
415
+ /** Optional. The maximum number of results to return per response. */
416
+ pageSize?: number;
417
+ /** Optional. A `next_page_token` provided by a previous response. */
418
+ pageToken?: string;
419
+ /** Returns response with indentations and line breaks. */
420
+ prettyPrint?: boolean;
421
+ /** Required. The resource name of the Google Cloud Platform project. Written as `projects/{projectID}` or `projects/{projectID}/locations/{location}`, where `{projectID}` is the [Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840) and `{location}` is a Cloud region. Examples: `projects/my-project-123`, `projects/my-project-123/locations/global`. For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified. */
422
+ projectName: string;
423
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
424
+ quotaUser?: string;
425
+ /** Optional. The exact value to match against [`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type). */
426
+ 'serviceFilter.resourceType'?: string;
427
+ /** Optional. The exact value to match against [`ServiceContext.service`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.service). */
428
+ 'serviceFilter.service'?: string;
429
+ /** Optional. The exact value to match against [`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version). */
430
+ 'serviceFilter.version'?: string;
431
+ /** Restricts the query to the specified time range. */
432
+ 'timeRange.period'?: string;
433
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
434
+ upload_protocol?: string;
435
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
436
+ uploadType?: string;
437
+ }): Request<ListEventsResponse>;
438
+ }
439
+ interface GroupsResource {
440
+ /** Get the specified group. */
441
+ get(request?: {
442
+ /** V1 error format. */
443
+ '$.xgafv'?: string;
444
+ /** OAuth access token. */
445
+ access_token?: string;
446
+ /** Data format for response. */
447
+ alt?: string;
448
+ /** JSONP */
449
+ callback?: string;
450
+ /** Selector specifying which fields to include in a partial response. */
451
+ fields?: string;
452
+ /** Required. The group resource name. Written as either `projects/{projectID}/groups/{group_id}` or `projects/{projectID}/locations/{location}/groups/{group_id}`. Call groupStats.list to return a list of groups belonging to this project. Examples: `projects/my-project-123/groups/my-group`, `projects/my-project-123/locations/global/groups/my-group` In the group resource name, the `group_id` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice). For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified. */
453
+ groupName: string;
454
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
455
+ key?: string;
456
+ /** OAuth 2.0 token for the current user. */
457
+ oauth_token?: string;
458
+ /** Returns response with indentations and line breaks. */
459
+ prettyPrint?: boolean;
460
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
461
+ quotaUser?: string;
462
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
463
+ upload_protocol?: string;
464
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
465
+ uploadType?: string;
466
+ }): Request<ErrorGroup>;
467
+ /** Replace the data for the specified group. Fails if the group does not exist. */
468
+ update(request: {
469
+ /** V1 error format. */
470
+ '$.xgafv'?: string;
471
+ /** OAuth access token. */
472
+ access_token?: string;
473
+ /** Data format for response. */
474
+ alt?: string;
475
+ /** JSONP */
476
+ callback?: string;
477
+ /** Selector specifying which fields to include in a partial response. */
478
+ fields?: string;
479
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
480
+ key?: string;
481
+ /** The group resource name. Written as `projects/{projectID}/groups/{group_id}` or `projects/{projectID}/locations/{location}/groups/{group_id}` Examples: `projects/my-project-123/groups/my-group`, `projects/my-project-123/locations/us-central1/groups/my-group` In the group resource name, the `group_id` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice). For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified. */
482
+ name: string;
483
+ /** OAuth 2.0 token for the current user. */
484
+ oauth_token?: string;
485
+ /** Returns response with indentations and line breaks. */
486
+ prettyPrint?: boolean;
487
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
488
+ quotaUser?: string;
489
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
490
+ upload_protocol?: string;
491
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
492
+ uploadType?: string;
493
+ /** Request body */
494
+ resource: ErrorGroup;
495
+ }): Request<ErrorGroup>;
496
+ update(
497
+ request: {
498
+ /** V1 error format. */
499
+ '$.xgafv'?: string;
500
+ /** OAuth access token. */
501
+ access_token?: string;
502
+ /** Data format for response. */
503
+ alt?: string;
504
+ /** JSONP */
505
+ callback?: string;
506
+ /** Selector specifying which fields to include in a partial response. */
507
+ fields?: string;
508
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
509
+ key?: string;
510
+ /** The group resource name. Written as `projects/{projectID}/groups/{group_id}` or `projects/{projectID}/locations/{location}/groups/{group_id}` Examples: `projects/my-project-123/groups/my-group`, `projects/my-project-123/locations/us-central1/groups/my-group` In the group resource name, the `group_id` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice). For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified. */
511
+ name: string;
512
+ /** OAuth 2.0 token for the current user. */
513
+ oauth_token?: string;
514
+ /** Returns response with indentations and line breaks. */
515
+ prettyPrint?: boolean;
516
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
517
+ quotaUser?: string;
518
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
519
+ upload_protocol?: string;
520
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
521
+ uploadType?: string;
522
+ },
523
+ body: ErrorGroup
524
+ ): Request<ErrorGroup>;
525
+ }
526
+ interface GroupStatsResource {
527
+ /** Lists the specified groups. */
528
+ list(request?: {
529
+ /** V1 error format. */
530
+ '$.xgafv'?: string;
531
+ /** OAuth access token. */
532
+ access_token?: string;
533
+ /** Optional. The alignment of the timed counts to be returned. Default is `ALIGNMENT_EQUAL_AT_END`. */
534
+ alignment?: string;
535
+ /** Optional. Time where the timed counts shall be aligned if rounded alignment is chosen. Default is 00:00 UTC. */
536
+ alignmentTime?: string;
537
+ /** Data format for response. */
538
+ alt?: string;
539
+ /** JSONP */
540
+ callback?: string;
541
+ /** Selector specifying which fields to include in a partial response. */
542
+ fields?: string;
543
+ /** Optional. List all ErrorGroupStats with these IDs. The `group_id` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice] (https://cloud.google.com/terms/cloud-privacy-notice). */
544
+ groupId?: string | string[];
545
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
546
+ key?: string;
547
+ /** OAuth 2.0 token for the current user. */
548
+ oauth_token?: string;
549
+ /** Optional. The sort order in which the results are returned. Default is `COUNT_DESC`. */
550
+ order?: string;
551
+ /** Optional. The maximum number of results to return per response. Default is 20. */
552
+ pageSize?: number;
553
+ /** Optional. A next_page_token provided by a previous response. To view additional results, pass this token along with the identical query parameters as the first request. */
554
+ pageToken?: string;
555
+ /** Returns response with indentations and line breaks. */
556
+ prettyPrint?: boolean;
557
+ /** Required. The resource name of the Google Cloud Platform project. Written as `projects/{projectID}` or `projects/{projectNumber}`, where `{projectID}` and `{projectNumber}` can be found in the [Google Cloud console](https://support.google.com/cloud/answer/6158840). It may also include a location, such as `projects/{projectID}/locations/{location}` where `{location}` is a cloud region. Examples: `projects/my-project-123`, `projects/5551234`, `projects/my-project-123/locations/us-central1`, `projects/5551234/locations/us-central1`. For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified. Use `-` as a wildcard to request group stats from all regions. */
558
+ projectName: string;
559
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
560
+ quotaUser?: string;
561
+ /** Optional. The exact value to match against [`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type). */
562
+ 'serviceFilter.resourceType'?: string;
563
+ /** Optional. The exact value to match against [`ServiceContext.service`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.service). */
564
+ 'serviceFilter.service'?: string;
565
+ /** Optional. The exact value to match against [`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version). */
566
+ 'serviceFilter.version'?: string;
567
+ /** Optional. The preferred duration for a single returned TimedCount. If not set, no timed counts are returned. */
568
+ timedCountDuration?: string;
569
+ /** Restricts the query to the specified time range. */
570
+ 'timeRange.period'?: string;
571
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
572
+ upload_protocol?: string;
573
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
574
+ uploadType?: string;
575
+ }): Request<ListGroupStatsResponse>;
576
+ }
577
+ interface LocationsResource {
578
+ /** Deletes all error events of a given project. */
579
+ deleteEvents(request?: {
580
+ /** V1 error format. */
581
+ '$.xgafv'?: string;
582
+ /** OAuth access token. */
583
+ access_token?: string;
584
+ /** Data format for response. */
585
+ alt?: string;
586
+ /** JSONP */
587
+ callback?: string;
588
+ /** Selector specifying which fields to include in a partial response. */
589
+ fields?: string;
590
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
591
+ key?: string;
592
+ /** OAuth 2.0 token for the current user. */
593
+ oauth_token?: string;
594
+ /** Returns response with indentations and line breaks. */
595
+ prettyPrint?: boolean;
596
+ /** Required. The resource name of the Google Cloud Platform project. Written as `projects/{projectID}` or `projects/{projectID}/locations/{location}`, where `{projectID}` is the [Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840) and `{location}` is a Cloud region. Examples: `projects/my-project-123`, `projects/my-project-123/locations/global`. For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified. */
597
+ projectName: string;
598
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
599
+ quotaUser?: string;
600
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
601
+ upload_protocol?: string;
602
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
603
+ uploadType?: string;
604
+ }): Request<{}>;
605
+ events: EventsResource;
606
+ groups: GroupsResource;
607
+ groupStats: GroupStatsResource;
608
+ }
396
609
  interface ProjectsResource {
397
610
  /** Deletes all error events of a given project. */
398
611
  deleteEvents(request?: {
@@ -412,7 +625,7 @@ declare namespace gapi.client {
412
625
  oauth_token?: string;
413
626
  /** Returns response with indentations and line breaks. */
414
627
  prettyPrint?: boolean;
415
- /** Required. The resource name of the Google Cloud Platform project. Written as `projects/{projectID}`, where `{projectID}` is the [Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840). Example: `projects/my-project-123`. */
628
+ /** Required. The resource name of the Google Cloud Platform project. Written as `projects/{projectID}` or `projects/{projectID}/locations/{location}`, where `{projectID}` is the [Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840) and `{location}` is a Cloud region. Examples: `projects/my-project-123`, `projects/my-project-123/locations/global`. For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified. */
416
629
  projectName: string;
417
630
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
418
631
  quotaUser?: string;
@@ -424,6 +637,7 @@ declare namespace gapi.client {
424
637
  events: EventsResource;
425
638
  groups: GroupsResource;
426
639
  groupStats: GroupStatsResource;
640
+ locations: LocationsResource;
427
641
  }
428
642
 
429
643
  const projects: ProjectsResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.clouderrorreporting-v1beta1",
3
- "version": "0.0.20240621",
3
+ "version": "0.0.20240705",
4
4
  "description": "TypeScript typings for Error Reporting API v1beta1",
5
5
  "repository": {
6
6
  "type": "git",