@maxim_mazurok/gapi.client.containeranalysis-v1 0.2.20261002 → 0.2.20261009

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 +150 -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: 20261002
12
+ // Revision: 20261009
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -228,6 +228,8 @@ declare namespace gapi.client {
228
228
  | 'TIMEOUT'
229
229
  | 'CANCELLED'
230
230
  | 'EXPIRED';
231
+ /** Tasks to be executed in the build step. */
232
+ tasks?: Task[];
231
233
  /** 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. */
232
234
  timeout?: string;
233
235
  /** Output only. Stores timing information for executing this build step. */
@@ -257,6 +259,12 @@ declare namespace gapi.client {
257
259
  | 'HIGH'
258
260
  | 'CRITICAL';
259
261
  }
262
+ interface CitCWorkspace {
263
+ /** e.g., 45 */
264
+ snapshotVersion?: string;
265
+ /** e.g., "user/123" */
266
+ workspaceId?: string;
267
+ }
260
268
  interface CloudRepoSourceContext {
261
269
  /** An alias, which may be a branch or tag. */
262
270
  aliasContext?: AliasContext;
@@ -684,7 +692,7 @@ declare namespace gapi.client {
684
692
  gitSource?: ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency;
685
693
  }
686
694
  interface ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGenericArtifactDependency {
687
- /** Required. Where the artifact files should be placed on the worker. */
695
+ /** Optional. Where the artifact files should be placed on the worker. Required when specified in `Build.dependencies`. */
688
696
  destPath?: string;
689
697
  /** Required. The location to download the artifact files from. Ex: projects/p1/locations/us/repositories/r1/packages/p1/versions/v1 */
690
698
  resource?: string;
@@ -1097,6 +1105,14 @@ declare namespace gapi.client {
1097
1105
  | 'USER_INTERACTION_NONE'
1098
1106
  | 'USER_INTERACTION_REQUIRED';
1099
1107
  }
1108
+ interface Dependency {
1109
+ empty?: boolean;
1110
+ genericArtifact?: GenericArtifactDependency;
1111
+ gitSource?: GitSourceDependency;
1112
+ httpsArtifactDependency?: HttpsArtifactDependency;
1113
+ invokeBlaze?: InvokeBlazeDependency;
1114
+ piperSource?: PiperSourceDependency;
1115
+ }
1100
1116
  interface DeploymentNote {
1101
1117
  /** Required. Resource URI for the artifact being deployed. */
1102
1118
  resourceUri?: string[];
@@ -1117,6 +1133,12 @@ declare namespace gapi.client {
1117
1133
  /** Identity of the user that triggered this deployment. */
1118
1134
  userEmail?: string;
1119
1135
  }
1136
+ interface DepotSource {
1137
+ /** The changelist number. If not provided, it will default to piper HEAD. */
1138
+ changelist?: string;
1139
+ /** Optional branch information. */
1140
+ overlayBranch?: OverlayBranchId;
1141
+ }
1120
1142
  interface Detail {
1121
1143
  /** Required. The [CPE URI](https://cpe.mitre.org/specification/) this vulnerability affects. */
1122
1144
  affectedCpeUri?: string;
@@ -1147,6 +1169,12 @@ declare namespace gapi.client {
1147
1169
  /** The name of the vendor of the product. */
1148
1170
  vendor?: string;
1149
1171
  }
1172
+ interface DeveloperConnectSetupData {
1173
+ /** 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. */
1174
+ gitServerIpAddress?: string;
1175
+ /** INTERNAL_ONLY. SSL certificate to use for git operations. */
1176
+ sslCaInfo?: string;
1177
+ }
1150
1178
  interface Digest {
1151
1179
  /** `SHA1`, `SHA512` etc. */
1152
1180
  algo?: string;
@@ -1319,6 +1347,12 @@ declare namespace gapi.client {
1319
1347
  /** The total number of vulnerabilities associated with this resource. */
1320
1348
  totalCount?: string;
1321
1349
  }
1350
+ interface GenericArtifactDependency {
1351
+ /** 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. */
1352
+ destPath?: string;
1353
+ /** The location to download the artifact files from. Ex: projects/p1/locations/us/repositories/r1/packages/p1/versions/v1 */
1354
+ resource?: string;
1355
+ }
1322
1356
  interface GerritSourceContext {
1323
1357
  /** An alias, which may be a branch or tag. */
1324
1358
  aliasContext?: AliasContext;
@@ -1343,6 +1377,30 @@ declare namespace gapi.client {
1343
1377
  /** Git repository URL. */
1344
1378
  url?: string;
1345
1379
  }
1380
+ interface GitSourceDependency {
1381
+ /** How much history should be fetched for the build (default 1, -1 for all history). */
1382
+ depth?: string;
1383
+ /** Where should the files be placed on the worker. */
1384
+ destPath?: string;
1385
+ /** 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. */
1386
+ fetchTags?: boolean;
1387
+ /** True if submodules should be fetched too (default false). */
1388
+ recurseSubmodules?: boolean;
1389
+ /** The kind of repo (url or dev connect) */
1390
+ repository?: GitSourceRepository;
1391
+ /** The revision that we will fetch the repo at. */
1392
+ revision?: string;
1393
+ }
1394
+ interface GitSourceRepository {
1395
+ /** The Developer Connect Git repository link or the url that matches a repository link in the current project, formatted as `projects/*‍/locations/*‍/connections/*‍/gitRepositoryLink/*` */
1396
+ developerConnect?: string;
1397
+ /** Data needed to setup the Developer Connect repository. */
1398
+ developerConnectSetupData?: DeveloperConnectSetupData;
1399
+ /** Enables the use of the proxy URL returned by DeveloperConnect for git operations, if available. */
1400
+ proxyUrlEnabled?: boolean;
1401
+ /** Location of the Git repository. */
1402
+ url?: string;
1403
+ }
1346
1404
  interface GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata {
1347
1405
  /** Output only. The time this operation was created. */
1348
1406
  createTime?: string;
@@ -1396,6 +1454,12 @@ declare namespace gapi.client {
1396
1454
  /** Required. The human readable name of this attestation authority, for example "qa". */
1397
1455
  humanReadableName?: string;
1398
1456
  }
1457
+ interface HttpsArtifactDependency {
1458
+ /** 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. */
1459
+ destPath?: string;
1460
+ /** The URI to download the artifact file from. */
1461
+ uri?: string;
1462
+ }
1399
1463
  interface Identity {
1400
1464
  /** The revision number of the update. */
1401
1465
  revision?: number;
@@ -1444,6 +1508,15 @@ declare namespace gapi.client {
1444
1508
  slsaProvenanceZeroTwo?: SlsaProvenanceZeroTwo;
1445
1509
  subject?: Subject[];
1446
1510
  }
1511
+ interface InvokeBlazeDependency {
1512
+ /** Only for MPM commands. */
1513
+ architecture?: string;
1514
+ command?: 'UNKNOWN_COMMAND' | 'BUILD' | 'MPM' | 'TEST';
1515
+ destPath?: string;
1516
+ flags?: string[];
1517
+ piperRevision?: PiperRevision;
1518
+ targets?: string[];
1519
+ }
1447
1520
  interface Justification {
1448
1521
  /** Additional details on why this justification was chosen. */
1449
1522
  details?: string;
@@ -1690,6 +1763,12 @@ declare namespace gapi.client {
1690
1763
  /** Describes a security vulnerability. */
1691
1764
  vulnerability?: VulnerabilityOccurrence;
1692
1765
  }
1766
+ interface OverlayBranchId {
1767
+ /** The required prefix, also called branch family. */
1768
+ branchPrefix?: string;
1769
+ /** The optional suffix, also called iteration. */
1770
+ branchSuffix?: string;
1771
+ }
1693
1772
  interface PackageIssue {
1694
1773
  /** Required. The [CPE URI](https://cpe.mitre.org/specification/) this vulnerability was found in. */
1695
1774
  affectedCpeUri?: string;
@@ -1758,6 +1837,12 @@ declare namespace gapi.client {
1758
1837
  /** Output only. The version of the package. */
1759
1838
  version?: Version;
1760
1839
  }
1840
+ interface ParameterDefinition {
1841
+ /** The default value if not provided at runtime. Omission of this parameter indicates the parameter is required. */
1842
+ defaultValue?: string;
1843
+ /** A description of the parameter for UI documentation. */
1844
+ description?: string;
1845
+ }
1761
1846
  interface PerScannerVerdict {
1762
1847
  /** Malicious Content LLM scan result. */
1763
1848
  maliciousContentLlmResult?: MaliciousContentLLMResult;
@@ -1768,6 +1853,18 @@ declare namespace gapi.client {
1768
1853
  /** Workspace Policy scan result. */
1769
1854
  workspacePolicy?: WorkspacePolicyResult;
1770
1855
  }
1856
+ interface PiperRevision {
1857
+ /** Revision is within a CitC workspace. */
1858
+ citcWorkspace?: CitCWorkspace;
1859
+ /** Revision is a specific submitted changelist (possibly on a branch). */
1860
+ depotSource?: DepotSource;
1861
+ }
1862
+ interface PiperSourceDependency {
1863
+ /** 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/". */
1864
+ depotPaths?: string[];
1865
+ /** The piper revision to fetch the depot_paths from. If not provided, it will default to DepotSource with Piper HEAD. */
1866
+ piperRevision?: PiperRevision;
1867
+ }
1771
1868
  interface Policy {
1772
1869
  /** 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`. */
1773
1870
  bindings?: Binding[];
@@ -2049,6 +2146,57 @@ declare namespace gapi.client {
2049
2146
  digest?: {[P in string]: string};
2050
2147
  name?: string;
2051
2148
  }
2149
+ interface Task {
2150
+ /** Data to be passed to the task. */
2151
+ data?: {[P in string]: string};
2152
+ /** Dependencies that the Cloud Build worker will fetch before executing the task. */
2153
+ dependencies?: TaskDependency[];
2154
+ /** Working directory to use when running this task. This value is a relative path to the step's working directory. */
2155
+ dir?: string;
2156
+ /** Environment variables to be set for this task. */
2157
+ envs?: {[P in string]: string};
2158
+ /** Output only. The evaluated parameters for the task. */
2159
+ evaluatedParams?: {[P in string]: string};
2160
+ /** Output only. Return code from running the task. */
2161
+ exitCode?: number;
2162
+ /** ID of the task to be executed. */
2163
+ id?: string;
2164
+ /** Metadata for the task. */
2165
+ metadata?: TaskMetadata;
2166
+ /** Parameters to be passed to the task. */
2167
+ params?: {[P in string]: string};
2168
+ /** Remote configuration for the task. */
2169
+ remoteConfig?: string;
2170
+ /** Output only. The results of the task. */
2171
+ results?: {[P in string]: string};
2172
+ /** A shell script to be executed in the task. */
2173
+ script?: string;
2174
+ /** 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. */
2175
+ snapshot?: Task;
2176
+ /** Output only. Status of the task. */
2177
+ status?:
2178
+ | 'STATUS_UNKNOWN'
2179
+ | 'QUEUED'
2180
+ | 'WORKING'
2181
+ | 'SUCCESS'
2182
+ | 'FAILURE'
2183
+ | 'INTERNAL_ERROR'
2184
+ | 'CANCELLED';
2185
+ }
2186
+ interface TaskDependency {
2187
+ /** Dependency to fetch. */
2188
+ dep?: Dependency;
2189
+ /** ID of the dependency. */
2190
+ id?: string;
2191
+ /** SHA256 digest of the dependency. */
2192
+ sha256?: string;
2193
+ }
2194
+ interface TaskMetadata {
2195
+ /** Description of the task. */
2196
+ description?: string;
2197
+ /** Parameter definitions for the task. */
2198
+ params?: {[P in string]: ParameterDefinition};
2199
+ }
2052
2200
  interface TestIamPermissionsRequest {
2053
2201
  /** 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). */
2054
2202
  permissions?: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.containeranalysis-v1",
3
- "version": "0.2.20261002",
3
+ "version": "0.2.20261009",
4
4
  "description": "TypeScript typings for Container Analysis API v1",
5
5
  "repository": {
6
6
  "type": "git",