@maxim_mazurok/gapi.client.securityposture-v1 0.3.20260317 → 0.4.20260618

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 +9 -24
  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://securityposture.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20260317
12
+ // Revision: 20260618
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -68,11 +68,7 @@ declare namespace gapi.client {
68
68
  resourceSelector?: ResourceSelector;
69
69
  /** Required. The severity of findings generated by the custom module. */
70
70
  severity?:
71
- | 'SEVERITY_UNSPECIFIED'
72
- | 'CRITICAL'
73
- | 'HIGH'
74
- | 'MEDIUM'
75
- | 'LOW';
71
+ 'SEVERITY_UNSPECIFIED' | 'CRITICAL' | 'HIGH' | 'MEDIUM' | 'LOW';
76
72
  }
77
73
  interface CustomOutputSpec {
78
74
  /** Optional. The custom source properties that can appear in findings. */
@@ -106,10 +102,7 @@ declare namespace gapi.client {
106
102
  displayName?: string;
107
103
  /** The types of operations that the constraint applies to. */
108
104
  methodTypes?:
109
- | 'METHOD_TYPE_UNSPECIFIED'
110
- | 'CREATE'
111
- | 'UPDATE'
112
- | 'DELETE'[];
105
+ 'METHOD_TYPE_UNSPECIFIED' | 'CREATE' | 'UPDATE' | 'DELETE'[];
113
106
  /** Immutable. The name of the constraint, in the format `organizations/{organization_id}/customConstraints/custom.{custom_constraint_id}`. For example, `organizations/123456789012/customConstraints/custom.createOnlyE2TypeVms`. Must contain 1 to 62 characters, excluding the prefix `organizations/{organization_id}/customConstraints/custom.`. */
114
107
  name?: string;
115
108
  /** Immutable. The resource type that the constraint applies to, in the format `{canonical_service_name}/{resource_type_name}`. For example, `compute.googleapis.com/Instance`. */
@@ -398,7 +391,7 @@ declare namespace gapi.client {
398
391
  resourceTypes?: string[];
399
392
  }
400
393
  interface ResourceTypes {
401
- /** Optional. The resource types we currently support. */
394
+ /** Optional. The resource types we support. */
402
395
  included?: string[];
403
396
  }
404
397
  interface SecurityHealthAnalyticsCustomModule {
@@ -410,16 +403,12 @@ declare namespace gapi.client {
410
403
  id?: string;
411
404
  /** Whether the custom module is enabled at a specified level of the resource hierarchy. */
412
405
  moduleEnablementState?:
413
- | 'ENABLEMENT_STATE_UNSPECIFIED'
414
- | 'ENABLED'
415
- | 'DISABLED';
406
+ 'ENABLEMENT_STATE_UNSPECIFIED' | 'ENABLED' | 'DISABLED';
416
407
  }
417
408
  interface SecurityHealthAnalyticsModule {
418
409
  /** Whether the detector is enabled at a specified level of the resource hierarchy. */
419
410
  moduleEnablementState?:
420
- | 'ENABLEMENT_STATE_UNSPECIFIED'
421
- | 'ENABLED'
422
- | 'DISABLED';
411
+ 'ENABLEMENT_STATE_UNSPECIFIED' | 'ENABLED' | 'DISABLED';
423
412
  /** Required. The name of the detector. For example, `BIGQUERY_TABLE_CMEK_DISABLED`. This field is also used as the finding category for all the asset violation findings that the detector returns. */
424
413
  moduleName?: string;
425
414
  }
@@ -440,11 +429,7 @@ declare namespace gapi.client {
440
429
  policyId?: string;
441
430
  /** The severity of the violation. */
442
431
  severity?:
443
- | 'SEVERITY_UNSPECIFIED'
444
- | 'CRITICAL'
445
- | 'HIGH'
446
- | 'MEDIUM'
447
- | 'LOW';
432
+ 'SEVERITY_UNSPECIFIED' | 'CRITICAL' | 'HIGH' | 'MEDIUM' | 'LOW';
448
433
  /** Details of the Cloud Asset Inventory asset that caused the violation. */
449
434
  violatedAsset?: AssetDetails;
450
435
  /** Details of the policy that was violated. */
@@ -1348,7 +1333,7 @@ declare namespace gapi.client {
1348
1333
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1349
1334
  uploadType?: string;
1350
1335
  }): Request<Location>;
1351
- /** 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. */
1336
+ /** Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version. */
1352
1337
  list(request?: {
1353
1338
  /** V1 error format. */
1354
1339
  '$.xgafv'?: '1' | '2';
@@ -1358,7 +1343,7 @@ declare namespace gapi.client {
1358
1343
  alt?: 'json' | 'media' | 'proto';
1359
1344
  /** JSONP */
1360
1345
  callback?: string;
1361
- /** Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage. */
1346
+ /** Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. */
1362
1347
  extraLocationTypes?: string | string[];
1363
1348
  /** Selector specifying which fields to include in a partial response. */
1364
1349
  fields?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.securityposture-v1",
3
- "version": "0.3.20260317",
3
+ "version": "0.4.20260618",
4
4
  "description": "TypeScript typings for Security Posture API v1",
5
5
  "repository": {
6
6
  "type": "git",