@maxim_mazurok/gapi.client.containeranalysis-v1alpha1 0.3.20261002 → 0.3.20261016

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 +156 -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=v1alpha1
12
- // Revision: 20261002
12
+ // Revision: 20261016
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -219,6 +219,8 @@ declare namespace gapi.client {
219
219
  | 'TIMEOUT'
220
220
  | 'CANCELLED'
221
221
  | 'EXPIRED';
222
+ /** Tasks to be executed in the build step. */
223
+ tasks?: Task[];
222
224
  /** Time limit for executing this build step. If not defined, the step has no time limit and will be allowed to continue to run until either it completes or the build itself times out. */
223
225
  timeout?: string;
224
226
  /** Output only. Stores timing information for executing this build step. */
@@ -250,6 +252,12 @@ declare namespace gapi.client {
250
252
  | 'HIGH'
251
253
  | 'CRITICAL';
252
254
  }
255
+ interface CitCWorkspace {
256
+ /** e.g., 45 */
257
+ snapshotVersion?: string;
258
+ /** e.g., "user/123" */
259
+ workspaceId?: string;
260
+ }
253
261
  interface Command {
254
262
  /** Command-line arguments used when executing this Command. */
255
263
  args?: string[];
@@ -539,6 +547,12 @@ declare namespace gapi.client {
539
547
  pool?: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption;
540
548
  /** Optional. Option to specify the Pub/Sub topic to receive build status updates. */
541
549
  pubsubTopic?: string;
550
+ /** Optional. Ranked list (earlier items have higher priority) of Machine Series to consider when provisioning Worker VMs. A concrete machine type will be selected based on machine availability in the given region. This field must be empty for the Build to be eligible to be paired with a pre-provisioned worker VM. */
551
+ rankedMachineSeries?:
552
+ | 'MACHINE_SERIES_UNSPECIFIED'
553
+ | 'MACHINE_SERIES_E'
554
+ | 'MACHINE_SERIES_N'
555
+ | 'MACHINE_SERIES_C'[];
542
556
  /** Requested verifiability options. */
543
557
  requestedVerifyOption?: 'NOT_VERIFIED' | 'VERIFIED' | 'BEST_EFFORT';
544
558
  /** Output only. Worker release resolved from the release channel. */
@@ -672,7 +686,7 @@ declare namespace gapi.client {
672
686
  gitSource?: ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency;
673
687
  }
674
688
  interface ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGenericArtifactDependency {
675
- /** Required. Where the artifact files should be placed on the worker. */
689
+ /** Optional. Where the artifact files should be placed on the worker. Required when specified in `Build.dependencies`. */
676
690
  destPath?: string;
677
691
  /** Required. The location to download the artifact files from. Ex: projects/p1/locations/us/repositories/r1/packages/p1/versions/v1 */
678
692
  resource?: string;
@@ -1058,6 +1072,14 @@ declare namespace gapi.client {
1058
1072
  | 'IMPACT_PARTIAL'
1059
1073
  | 'IMPACT_COMPLETE';
1060
1074
  }
1075
+ interface Dependency {
1076
+ empty?: boolean;
1077
+ genericArtifact?: GenericArtifactDependency;
1078
+ gitSource?: GitSourceDependency;
1079
+ httpsArtifactDependency?: HttpsArtifactDependency;
1080
+ invokeBlaze?: InvokeBlazeDependency;
1081
+ piperSource?: PiperSourceDependency;
1082
+ }
1061
1083
  interface Deployable {
1062
1084
  /** Resource URI for the artifact being deployed. */
1063
1085
  resourceUri?: string[];
@@ -1078,6 +1100,12 @@ declare namespace gapi.client {
1078
1100
  /** Identity of the user that triggered this deployment. */
1079
1101
  userEmail?: string;
1080
1102
  }
1103
+ interface DepotSource {
1104
+ /** The changelist number. If not provided, it will default to piper HEAD. */
1105
+ changelist?: string;
1106
+ /** Optional branch information. */
1107
+ overlayBranch?: OverlayBranchId;
1108
+ }
1081
1109
  interface Derived {
1082
1110
  /** Output only. This contains the base image URL for the derived image occurrence. */
1083
1111
  baseResourceUrl?: string;
@@ -1112,6 +1140,12 @@ declare namespace gapi.client {
1112
1140
  /** The vendor of the product. e.g. "google" */
1113
1141
  vendor?: string;
1114
1142
  }
1143
+ interface DeveloperConnectSetupData {
1144
+ /** INTERNAL_ONLY. The IP address of the private git server. Only set if the git server is private and connected with a service directory. Deprecated: this was a workaround for PSC that is no longer used. */
1145
+ gitServerIpAddress?: string;
1146
+ /** INTERNAL_ONLY. SSL certificate to use for git operations. */
1147
+ sslCaInfo?: string;
1148
+ }
1115
1149
  interface Digest {
1116
1150
  /** `SHA1`, `SHA512` etc. */
1117
1151
  algo?: string;
@@ -1363,6 +1397,12 @@ declare namespace gapi.client {
1363
1397
  /** Output only. The name of the image's v2 blobs computed via: [bottom] := v2_blobbottom := sha256(v2_blob[N] + " " + v2_name[N+1]) Only the name of the final blob is kept. This field can be used as a filter in list requests. */
1364
1398
  v2Name?: string;
1365
1399
  }
1400
+ interface GenericArtifactDependency {
1401
+ /** Where the artifact files should be placed on the worker. Required when specified in `Build.dependencies`. Ignored when specified in `TaskDependency`, as the task runner controls where artifacts are placed. */
1402
+ destPath?: string;
1403
+ /** The location to download the artifact files from. Ex: projects/p1/locations/us/repositories/r1/packages/p1/versions/v1 */
1404
+ resource?: string;
1405
+ }
1366
1406
  interface GetIamPolicyRequest {
1367
1407
  /** OPTIONAL: A `GetPolicyOptions` object for specifying options to `GetIamPolicy`. */
1368
1408
  options?: GetPolicyOptions;
@@ -1375,6 +1415,30 @@ declare namespace gapi.client {
1375
1415
  /** A map of how many occurrences were found for each severity. */
1376
1416
  counts?: SeverityCount[];
1377
1417
  }
1418
+ interface GitSourceDependency {
1419
+ /** How much history should be fetched for the build (default 1, -1 for all history). */
1420
+ depth?: string;
1421
+ /** Where should the files be placed on the worker. */
1422
+ destPath?: string;
1423
+ /** True if remote tags should be fetched too (default false). Note: when depth is 1 (default), git fetch only retrieves tags pointing to commits within the shallow boundary. Set depth to -1 to fetch all historical tags. */
1424
+ fetchTags?: boolean;
1425
+ /** True if submodules should be fetched too (default false). */
1426
+ recurseSubmodules?: boolean;
1427
+ /** The kind of repo (url or dev connect) */
1428
+ repository?: GitSourceRepository;
1429
+ /** The revision that we will fetch the repo at. */
1430
+ revision?: string;
1431
+ }
1432
+ interface GitSourceRepository {
1433
+ /** The Developer Connect Git repository link or the url that matches a repository link in the current project, formatted as `projects/*‍/locations/*‍/connections/*‍/gitRepositoryLink/*` */
1434
+ developerConnect?: string;
1435
+ /** Data needed to setup the Developer Connect repository. */
1436
+ developerConnectSetupData?: DeveloperConnectSetupData;
1437
+ /** Enables the use of the proxy URL returned by DeveloperConnect for git operations, if available. */
1438
+ proxyUrlEnabled?: boolean;
1439
+ /** Location of the Git repository. */
1440
+ url?: string;
1441
+ }
1378
1442
  interface GoogleDevtoolsContaineranalysisV1alpha1AliasContext {
1379
1443
  /** The alias kind. */
1380
1444
  kind?: 'KIND_UNSPECIFIED' | 'FIXED' | 'MOVABLE' | 'OTHER';
@@ -1485,6 +1549,12 @@ declare namespace gapi.client {
1485
1549
  /** The hash value. */
1486
1550
  value?: string;
1487
1551
  }
1552
+ interface HttpsArtifactDependency {
1553
+ /** Where the artifact file should be placed on the worker. Required when specified in `Build.dependencies`. Ignored when specified in `TaskDependency`, as the task runner controls where artifacts are placed. */
1554
+ destPath?: string;
1555
+ /** The URI to download the artifact file from. */
1556
+ uri?: string;
1557
+ }
1488
1558
  interface IdentifierHelper {
1489
1559
  /** The field that is set in the API proto. */
1490
1560
  field?: 'IDENTIFIER_HELPER_FIELD_UNSPECIFIED' | 'GENERIC_URI';
@@ -1537,6 +1607,15 @@ declare namespace gapi.client {
1537
1607
  /** subject is the subjects of the intoto statement */
1538
1608
  subject?: Subject[];
1539
1609
  }
1610
+ interface InvokeBlazeDependency {
1611
+ /** Only for MPM commands. */
1612
+ architecture?: string;
1613
+ command?: 'UNKNOWN_COMMAND' | 'BUILD' | 'MPM' | 'TEST';
1614
+ destPath?: string;
1615
+ flags?: string[];
1616
+ piperRevision?: PiperRevision;
1617
+ targets?: string[];
1618
+ }
1540
1619
  interface Justification {
1541
1620
  /** Additional details on why this justification was chosen. */
1542
1621
  details?: string;
@@ -1829,6 +1908,12 @@ declare namespace gapi.client {
1829
1908
  /** The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. */
1830
1909
  response?: {[P in string]: any};
1831
1910
  }
1911
+ interface OverlayBranchId {
1912
+ /** The required prefix, also called branch family. */
1913
+ branchPrefix?: string;
1914
+ /** The optional suffix, also called iteration. */
1915
+ branchSuffix?: string;
1916
+ }
1832
1917
  interface Package {
1833
1918
  /** The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages. */
1834
1919
  architecture?: 'ARCHITECTURE_UNSPECIFIED' | 'X86' | 'X64';
@@ -1928,6 +2013,12 @@ declare namespace gapi.client {
1928
2013
  packageType?: string;
1929
2014
  severityName?: string;
1930
2015
  }
2016
+ interface ParameterDefinition {
2017
+ /** The default value if not provided at runtime. Omission of this parameter indicates the parameter is required. */
2018
+ defaultValue?: string;
2019
+ /** A description of the parameter for UI documentation. */
2020
+ description?: string;
2021
+ }
1931
2022
  interface PerScannerVerdict {
1932
2023
  /** Optional. Malicious Content LLM scan result. */
1933
2024
  maliciousContentLlmResult?: MaliciousContentLLMResult;
@@ -1946,6 +2037,18 @@ declare namespace gapi.client {
1946
2037
  /** The raw content of the signature, as output by GNU Privacy Guard (GPG) or equivalent. Since this message only supports attached signatures, the payload that was signed must be attached. While the signature format supported is dependent on the verification implementation, currently only ASCII-armored (`--armor` to gpg), non-clearsigned (`--sign` rather than `--clearsign` to gpg) are supported. Concretely, `gpg --sign --armor --output=signature.gpg payload.json` will create the signature content expected in this field in `signature.gpg` for the `payload.json` attestation payload. */
1947
2038
  signature?: string;
1948
2039
  }
2040
+ interface PiperRevision {
2041
+ /** Revision is within a CitC workspace. */
2042
+ citcWorkspace?: CitCWorkspace;
2043
+ /** Revision is a specific submitted changelist (possibly on a branch). */
2044
+ depotSource?: DepotSource;
2045
+ }
2046
+ interface PiperSourceDependency {
2047
+ /** The depot paths to fetch. (e.g., "//depot/google3/my/path/..."). Wildcards like ... and * are supported as per go/piper-api#depot_path_expression. Paths must start with "//depot/". */
2048
+ depotPaths?: string[];
2049
+ /** The piper revision to fetch the depot_paths from. If not provided, it will default to DepotSource with Piper HEAD. */
2050
+ piperRevision?: PiperRevision;
2051
+ }
1949
2052
  interface Policy {
1950
2053
  /** Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. */
1951
2054
  bindings?: Binding[];
@@ -2366,6 +2469,57 @@ declare namespace gapi.client {
2366
2469
  /** name is the name of the Subject used here */
2367
2470
  name?: string;
2368
2471
  }
2472
+ interface Task {
2473
+ /** Data to be passed to the task. */
2474
+ data?: {[P in string]: string};
2475
+ /** Dependencies that the Cloud Build worker will fetch before executing the task. */
2476
+ dependencies?: TaskDependency[];
2477
+ /** Working directory to use when running this task. This value is a relative path to the step's working directory. */
2478
+ dir?: string;
2479
+ /** Environment variables to be set for this task. */
2480
+ envs?: {[P in string]: string};
2481
+ /** Output only. The evaluated parameters for the task. */
2482
+ evaluatedParams?: {[P in string]: string};
2483
+ /** Output only. Return code from running the task. */
2484
+ exitCode?: number;
2485
+ /** ID of the task to be executed. */
2486
+ id?: string;
2487
+ /** Metadata for the task. */
2488
+ metadata?: TaskMetadata;
2489
+ /** Parameters to be passed to the task. */
2490
+ params?: {[P in string]: string};
2491
+ /** Remote configuration for the task. */
2492
+ remoteConfig?: string;
2493
+ /** Output only. The results of the task. */
2494
+ results?: {[P in string]: string};
2495
+ /** A shell script to be executed in the task. */
2496
+ script?: string;
2497
+ /** Output only. If `remote_config` is set, this holds the unmodified Task definition fetched from that location. Remote resolution only populates this field and leaves the inline fields as they are. The worker overlays the two right before execution, since CEL evaluation needs to know whether a param was set inline or by the remote definition. */
2498
+ snapshot?: Task;
2499
+ /** Output only. Status of the task. */
2500
+ status?:
2501
+ | 'STATUS_UNKNOWN'
2502
+ | 'QUEUED'
2503
+ | 'WORKING'
2504
+ | 'SUCCESS'
2505
+ | 'FAILURE'
2506
+ | 'INTERNAL_ERROR'
2507
+ | 'CANCELLED';
2508
+ }
2509
+ interface TaskDependency {
2510
+ /** Dependency to fetch. */
2511
+ dep?: Dependency;
2512
+ /** ID of the dependency. */
2513
+ id?: string;
2514
+ /** SHA256 digest of the dependency. */
2515
+ sha256?: string;
2516
+ }
2517
+ interface TaskMetadata {
2518
+ /** Description of the task. */
2519
+ description?: string;
2520
+ /** Parameter definitions for the task. */
2521
+ params?: {[P in string]: ParameterDefinition};
2522
+ }
2369
2523
  interface TestIamPermissionsRequest {
2370
2524
  /** The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). */
2371
2525
  permissions?: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.containeranalysis-v1alpha1",
3
- "version": "0.3.20261002",
3
+ "version": "0.3.20261016",
4
4
  "description": "TypeScript typings for Container Analysis API v1alpha1",
5
5
  "repository": {
6
6
  "type": "git",