@maxim_mazurok/gapi.client.containeranalysis-v1 0.0.20240105 → 0.0.20240205

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 +72 -2
  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://containeranalysis.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20240105
12
+ // Revision: 20240205
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -98,7 +98,7 @@ declare namespace gapi.client {
98
98
  condition?: Expr;
99
99
  /** Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`. */
100
100
  members?: string[];
101
- /** Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. */
101
+ /** Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles). */
102
102
  role?: string;
103
103
  }
104
104
  interface BuildDefinition {
@@ -215,6 +215,7 @@ declare namespace gapi.client {
215
215
  /** A revision ID. */
216
216
  revisionId?: string;
217
217
  }
218
+ interface CloudStorageLocation {}
218
219
  interface Command {
219
220
  /** Command-line arguments used when executing this command. */
220
221
  args?: string[];
@@ -805,6 +806,14 @@ declare namespace gapi.client {
805
806
  keyid?: string;
806
807
  sig?: string;
807
808
  }
809
+ interface ExportSBOMRequest {
810
+ /** Empty placeholder to denote that this is a Google Cloud Storage export request. */
811
+ cloudStorageLocation?: any;
812
+ }
813
+ interface ExportSBOMResponse {
814
+ /** The name of the discovery occurrence in the form "projects/{project_id}/occurrences/{OCCURRENCE_ID} It can be used to track the progress of the SBOM export. */
815
+ discoveryOccurrence?: string;
816
+ }
808
817
  interface Expr {
809
818
  /** Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. */
810
819
  description?: string;
@@ -2387,9 +2396,70 @@ declare namespace gapi.client {
2387
2396
  body: TestIamPermissionsRequest
2388
2397
  ): Request<TestIamPermissionsResponse>;
2389
2398
  }
2399
+ interface ResourcesResource {
2400
+ /** Generates an SBOM for the given resource. */
2401
+ exportSBOM(request: {
2402
+ /** V1 error format. */
2403
+ '$.xgafv'?: string;
2404
+ /** OAuth access token. */
2405
+ access_token?: string;
2406
+ /** Data format for response. */
2407
+ alt?: string;
2408
+ /** JSONP */
2409
+ callback?: string;
2410
+ /** Selector specifying which fields to include in a partial response. */
2411
+ fields?: string;
2412
+ /** 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. */
2413
+ key?: string;
2414
+ /** Required. The name of the resource in the form of `projects/[PROJECT_ID]/resources/[RESOURCE_URL]`. */
2415
+ name: string;
2416
+ /** OAuth 2.0 token for the current user. */
2417
+ oauth_token?: string;
2418
+ /** Returns response with indentations and line breaks. */
2419
+ prettyPrint?: boolean;
2420
+ /** 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. */
2421
+ quotaUser?: string;
2422
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2423
+ upload_protocol?: string;
2424
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2425
+ uploadType?: string;
2426
+ /** Request body */
2427
+ resource: ExportSBOMRequest;
2428
+ }): Request<ExportSBOMResponse>;
2429
+ exportSBOM(
2430
+ request: {
2431
+ /** V1 error format. */
2432
+ '$.xgafv'?: string;
2433
+ /** OAuth access token. */
2434
+ access_token?: string;
2435
+ /** Data format for response. */
2436
+ alt?: string;
2437
+ /** JSONP */
2438
+ callback?: string;
2439
+ /** Selector specifying which fields to include in a partial response. */
2440
+ fields?: string;
2441
+ /** 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. */
2442
+ key?: string;
2443
+ /** Required. The name of the resource in the form of `projects/[PROJECT_ID]/resources/[RESOURCE_URL]`. */
2444
+ name: string;
2445
+ /** OAuth 2.0 token for the current user. */
2446
+ oauth_token?: string;
2447
+ /** Returns response with indentations and line breaks. */
2448
+ prettyPrint?: boolean;
2449
+ /** 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. */
2450
+ quotaUser?: string;
2451
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2452
+ upload_protocol?: string;
2453
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2454
+ uploadType?: string;
2455
+ },
2456
+ body: ExportSBOMRequest
2457
+ ): Request<ExportSBOMResponse>;
2458
+ }
2390
2459
  interface ProjectsResource {
2391
2460
  notes: NotesResource;
2392
2461
  occurrences: OccurrencesResource;
2462
+ resources: ResourcesResource;
2393
2463
  }
2394
2464
 
2395
2465
  const projects: ProjectsResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.containeranalysis-v1",
3
- "version": "0.0.20240105",
3
+ "version": "0.0.20240205",
4
4
  "description": "TypeScript typings for Container Analysis API v1",
5
5
  "repository": {
6
6
  "type": "git",