@maxim_mazurok/gapi.client.observability-v1 0.1.20260205 → 0.1.20260220

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 +278 -1
  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://observability.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20260205
12
+ // Revision: 20260220
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -174,6 +174,16 @@ declare namespace gapi.client {
174
174
  /** Output only. Update timestamp. Note: The Update timestamp for the default scope is initially unset. */
175
175
  updateTime?: string;
176
176
  }
177
+ interface Settings {
178
+ /** Optional. The location which should be used when any regional resources are provisioned by Google Cloud. */
179
+ defaultStorageLocation?: string;
180
+ /** Optional. The resource name for the configured Cloud KMS key. KMS key name format: "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" For example: `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` */
181
+ kmsKeyName?: string;
182
+ /** Identifier. The resource name of the settings. */
183
+ name?: string;
184
+ /** Output only. The service account for the given resource container, such as project or folder. This will be used by Cloud Observability to perform actions in the container's project like access KMS keys or create Links. Always the same service account per resource container regardless of region. */
185
+ serviceAccountId?: string;
186
+ }
177
187
  interface Status {
178
188
  /** The status code, which should be an enum value of google.rpc.Code. */
179
189
  code?: number;
@@ -383,6 +393,33 @@ declare namespace gapi.client {
383
393
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
384
394
  uploadType?: string;
385
395
  }): Request<Location>;
396
+ /** Get Settings */
397
+ getSettings(request?: {
398
+ /** V1 error format. */
399
+ '$.xgafv'?: string;
400
+ /** OAuth access token. */
401
+ access_token?: string;
402
+ /** Data format for response. */
403
+ alt?: string;
404
+ /** JSONP */
405
+ callback?: string;
406
+ /** Selector specifying which fields to include in a partial response. */
407
+ fields?: string;
408
+ /** 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. */
409
+ key?: string;
410
+ /** Required. Name of the settings to retrieve. Name format: "projects/[PROJECT_ID]/locations/[LOCATION]/settings" "folders/[FOLDER_ID]/locations/[LOCATION]/settings" "organizations/[ORGANIZATION_ID]/locations/[LOCATION]/settings" */
411
+ name: string;
412
+ /** OAuth 2.0 token for the current user. */
413
+ oauth_token?: string;
414
+ /** Returns response with indentations and line breaks. */
415
+ prettyPrint?: boolean;
416
+ /** 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. */
417
+ quotaUser?: string;
418
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
419
+ upload_protocol?: string;
420
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
421
+ uploadType?: string;
422
+ }): Request<Settings>;
386
423
  /** Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project. */
387
424
  list(request?: {
388
425
  /** V1 error format. */
@@ -418,6 +455,68 @@ declare namespace gapi.client {
418
455
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
419
456
  uploadType?: string;
420
457
  }): Request<ListLocationsResponse>;
458
+ /** Update Settings */
459
+ updateSettings(request: {
460
+ /** V1 error format. */
461
+ '$.xgafv'?: string;
462
+ /** OAuth access token. */
463
+ access_token?: string;
464
+ /** Data format for response. */
465
+ alt?: string;
466
+ /** JSONP */
467
+ callback?: string;
468
+ /** Selector specifying which fields to include in a partial response. */
469
+ fields?: string;
470
+ /** 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. */
471
+ key?: string;
472
+ /** Identifier. The resource name of the settings. */
473
+ name: string;
474
+ /** OAuth 2.0 token for the current user. */
475
+ oauth_token?: string;
476
+ /** Returns response with indentations and line breaks. */
477
+ prettyPrint?: boolean;
478
+ /** 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. */
479
+ quotaUser?: string;
480
+ /** Optional. The field mask specifying which fields of the settings are to be updated. */
481
+ updateMask?: string;
482
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
483
+ upload_protocol?: string;
484
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
485
+ uploadType?: string;
486
+ /** Request body */
487
+ resource: Settings;
488
+ }): Request<Operation>;
489
+ updateSettings(
490
+ request: {
491
+ /** V1 error format. */
492
+ '$.xgafv'?: string;
493
+ /** OAuth access token. */
494
+ access_token?: string;
495
+ /** Data format for response. */
496
+ alt?: string;
497
+ /** JSONP */
498
+ callback?: string;
499
+ /** Selector specifying which fields to include in a partial response. */
500
+ fields?: string;
501
+ /** 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. */
502
+ key?: string;
503
+ /** Identifier. The resource name of the settings. */
504
+ name: string;
505
+ /** OAuth 2.0 token for the current user. */
506
+ oauth_token?: string;
507
+ /** Returns response with indentations and line breaks. */
508
+ prettyPrint?: boolean;
509
+ /** 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. */
510
+ quotaUser?: string;
511
+ /** Optional. The field mask specifying which fields of the settings are to be updated. */
512
+ updateMask?: string;
513
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
514
+ upload_protocol?: string;
515
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
516
+ uploadType?: string;
517
+ },
518
+ body: Settings,
519
+ ): Request<Operation>;
421
520
  operations: OperationsResource;
422
521
  }
423
522
  interface FoldersResource {
@@ -600,6 +699,33 @@ declare namespace gapi.client {
600
699
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
601
700
  uploadType?: string;
602
701
  }): Request<Location>;
702
+ /** Get Settings */
703
+ getSettings(request?: {
704
+ /** V1 error format. */
705
+ '$.xgafv'?: string;
706
+ /** OAuth access token. */
707
+ access_token?: string;
708
+ /** Data format for response. */
709
+ alt?: string;
710
+ /** JSONP */
711
+ callback?: string;
712
+ /** Selector specifying which fields to include in a partial response. */
713
+ fields?: string;
714
+ /** 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. */
715
+ key?: string;
716
+ /** Required. Name of the settings to retrieve. Name format: "projects/[PROJECT_ID]/locations/[LOCATION]/settings" "folders/[FOLDER_ID]/locations/[LOCATION]/settings" "organizations/[ORGANIZATION_ID]/locations/[LOCATION]/settings" */
717
+ name: string;
718
+ /** OAuth 2.0 token for the current user. */
719
+ oauth_token?: string;
720
+ /** Returns response with indentations and line breaks. */
721
+ prettyPrint?: boolean;
722
+ /** 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. */
723
+ quotaUser?: string;
724
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
725
+ upload_protocol?: string;
726
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
727
+ uploadType?: string;
728
+ }): Request<Settings>;
603
729
  /** Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project. */
604
730
  list(request?: {
605
731
  /** V1 error format. */
@@ -635,6 +761,68 @@ declare namespace gapi.client {
635
761
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
636
762
  uploadType?: string;
637
763
  }): Request<ListLocationsResponse>;
764
+ /** Update Settings */
765
+ updateSettings(request: {
766
+ /** V1 error format. */
767
+ '$.xgafv'?: string;
768
+ /** OAuth access token. */
769
+ access_token?: string;
770
+ /** Data format for response. */
771
+ alt?: string;
772
+ /** JSONP */
773
+ callback?: string;
774
+ /** Selector specifying which fields to include in a partial response. */
775
+ fields?: string;
776
+ /** 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. */
777
+ key?: string;
778
+ /** Identifier. The resource name of the settings. */
779
+ name: string;
780
+ /** OAuth 2.0 token for the current user. */
781
+ oauth_token?: string;
782
+ /** Returns response with indentations and line breaks. */
783
+ prettyPrint?: boolean;
784
+ /** 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. */
785
+ quotaUser?: string;
786
+ /** Optional. The field mask specifying which fields of the settings are to be updated. */
787
+ updateMask?: string;
788
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
789
+ upload_protocol?: string;
790
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
791
+ uploadType?: string;
792
+ /** Request body */
793
+ resource: Settings;
794
+ }): Request<Operation>;
795
+ updateSettings(
796
+ request: {
797
+ /** V1 error format. */
798
+ '$.xgafv'?: string;
799
+ /** OAuth access token. */
800
+ access_token?: string;
801
+ /** Data format for response. */
802
+ alt?: string;
803
+ /** JSONP */
804
+ callback?: string;
805
+ /** Selector specifying which fields to include in a partial response. */
806
+ fields?: string;
807
+ /** 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. */
808
+ key?: string;
809
+ /** Identifier. The resource name of the settings. */
810
+ name: string;
811
+ /** OAuth 2.0 token for the current user. */
812
+ oauth_token?: string;
813
+ /** Returns response with indentations and line breaks. */
814
+ prettyPrint?: boolean;
815
+ /** 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. */
816
+ quotaUser?: string;
817
+ /** Optional. The field mask specifying which fields of the settings are to be updated. */
818
+ updateMask?: string;
819
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
820
+ upload_protocol?: string;
821
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
822
+ uploadType?: string;
823
+ },
824
+ body: Settings,
825
+ ): Request<Operation>;
638
826
  operations: OperationsResource;
639
827
  }
640
828
  interface OrganizationsResource {
@@ -1517,6 +1705,33 @@ declare namespace gapi.client {
1517
1705
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1518
1706
  uploadType?: string;
1519
1707
  }): Request<Location>;
1708
+ /** Get Settings */
1709
+ getSettings(request?: {
1710
+ /** V1 error format. */
1711
+ '$.xgafv'?: string;
1712
+ /** OAuth access token. */
1713
+ access_token?: string;
1714
+ /** Data format for response. */
1715
+ alt?: string;
1716
+ /** JSONP */
1717
+ callback?: string;
1718
+ /** Selector specifying which fields to include in a partial response. */
1719
+ fields?: string;
1720
+ /** 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. */
1721
+ key?: string;
1722
+ /** Required. Name of the settings to retrieve. Name format: "projects/[PROJECT_ID]/locations/[LOCATION]/settings" "folders/[FOLDER_ID]/locations/[LOCATION]/settings" "organizations/[ORGANIZATION_ID]/locations/[LOCATION]/settings" */
1723
+ name: string;
1724
+ /** OAuth 2.0 token for the current user. */
1725
+ oauth_token?: string;
1726
+ /** Returns response with indentations and line breaks. */
1727
+ prettyPrint?: boolean;
1728
+ /** 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. */
1729
+ quotaUser?: string;
1730
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1731
+ upload_protocol?: string;
1732
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1733
+ uploadType?: string;
1734
+ }): Request<Settings>;
1520
1735
  /** Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project. */
1521
1736
  list(request?: {
1522
1737
  /** V1 error format. */
@@ -1552,6 +1767,68 @@ declare namespace gapi.client {
1552
1767
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1553
1768
  uploadType?: string;
1554
1769
  }): Request<ListLocationsResponse>;
1770
+ /** Update Settings */
1771
+ updateSettings(request: {
1772
+ /** V1 error format. */
1773
+ '$.xgafv'?: string;
1774
+ /** OAuth access token. */
1775
+ access_token?: string;
1776
+ /** Data format for response. */
1777
+ alt?: string;
1778
+ /** JSONP */
1779
+ callback?: string;
1780
+ /** Selector specifying which fields to include in a partial response. */
1781
+ fields?: string;
1782
+ /** 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. */
1783
+ key?: string;
1784
+ /** Identifier. The resource name of the settings. */
1785
+ name: string;
1786
+ /** OAuth 2.0 token for the current user. */
1787
+ oauth_token?: string;
1788
+ /** Returns response with indentations and line breaks. */
1789
+ prettyPrint?: boolean;
1790
+ /** 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. */
1791
+ quotaUser?: string;
1792
+ /** Optional. The field mask specifying which fields of the settings are to be updated. */
1793
+ updateMask?: string;
1794
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1795
+ upload_protocol?: string;
1796
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1797
+ uploadType?: string;
1798
+ /** Request body */
1799
+ resource: Settings;
1800
+ }): Request<Operation>;
1801
+ updateSettings(
1802
+ request: {
1803
+ /** V1 error format. */
1804
+ '$.xgafv'?: string;
1805
+ /** OAuth access token. */
1806
+ access_token?: string;
1807
+ /** Data format for response. */
1808
+ alt?: string;
1809
+ /** JSONP */
1810
+ callback?: string;
1811
+ /** Selector specifying which fields to include in a partial response. */
1812
+ fields?: string;
1813
+ /** 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. */
1814
+ key?: string;
1815
+ /** Identifier. The resource name of the settings. */
1816
+ name: string;
1817
+ /** OAuth 2.0 token for the current user. */
1818
+ oauth_token?: string;
1819
+ /** Returns response with indentations and line breaks. */
1820
+ prettyPrint?: boolean;
1821
+ /** 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. */
1822
+ quotaUser?: string;
1823
+ /** Optional. The field mask specifying which fields of the settings are to be updated. */
1824
+ updateMask?: string;
1825
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1826
+ upload_protocol?: string;
1827
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1828
+ uploadType?: string;
1829
+ },
1830
+ body: Settings,
1831
+ ): Request<Operation>;
1555
1832
  buckets: BucketsResource;
1556
1833
  operations: OperationsResource;
1557
1834
  scopes: ScopesResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.observability-v1",
3
- "version": "0.1.20260205",
3
+ "version": "0.1.20260220",
4
4
  "description": "TypeScript typings for Observability API v1",
5
5
  "repository": {
6
6
  "type": "git",