@maxim_mazurok/gapi.client.containeranalysis-v1beta1 0.3.20261002 → 0.3.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=v1beta1
12
- // Revision: 20261002
12
+ // Revision: 20261009
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -224,6 +224,8 @@ declare namespace gapi.client {
224
224
  | 'TIMEOUT'
225
225
  | 'CANCELLED'
226
226
  | 'EXPIRED';
227
+ /** Tasks to be executed in the build step. */
228
+ tasks?: Task[];
227
229
  /** 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. */
228
230
  timeout?: string;
229
231
  /** Output only. Stores timing information for executing this build step. */
@@ -236,6 +238,12 @@ declare namespace gapi.client {
236
238
  interface ByProducts {
237
239
  customValues?: {[P in string]: string};
238
240
  }
241
+ interface CitCWorkspace {
242
+ /** e.g., 45 */
243
+ snapshotVersion?: string;
244
+ /** e.g., "user/123" */
245
+ workspaceId?: string;
246
+ }
239
247
  interface CloudRepoSourceContext {
240
248
  /** An alias, which may be a branch or tag. */
241
249
  aliasContext?: AliasContext;
@@ -624,7 +632,7 @@ declare namespace gapi.client {
624
632
  gitSource?: ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency;
625
633
  }
626
634
  interface ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGenericArtifactDependency {
627
- /** Required. Where the artifact files should be placed on the worker. */
635
+ /** Optional. Where the artifact files should be placed on the worker. Required when specified in `Build.dependencies`. */
628
636
  destPath?: string;
629
637
  /** Required. The location to download the artifact files from. Ex: projects/p1/locations/us/repositories/r1/packages/p1/versions/v1 */
630
638
  resource?: string;
@@ -1037,6 +1045,14 @@ declare namespace gapi.client {
1037
1045
  | 'USER_INTERACTION_NONE'
1038
1046
  | 'USER_INTERACTION_REQUIRED';
1039
1047
  }
1048
+ interface Dependency {
1049
+ empty?: boolean;
1050
+ genericArtifact?: GenericArtifactDependency;
1051
+ gitSource?: GitSourceDependency;
1052
+ httpsArtifactDependency?: HttpsArtifactDependency;
1053
+ invokeBlaze?: InvokeBlazeDependency;
1054
+ piperSource?: PiperSourceDependency;
1055
+ }
1040
1056
  interface Deployable {
1041
1057
  /** Required. Resource URI for the artifact being deployed. */
1042
1058
  resourceUri?: string[];
@@ -1057,6 +1073,12 @@ declare namespace gapi.client {
1057
1073
  /** Identity of the user that triggered this deployment. */
1058
1074
  userEmail?: string;
1059
1075
  }
1076
+ interface DepotSource {
1077
+ /** The changelist number. If not provided, it will default to piper HEAD. */
1078
+ changelist?: string;
1079
+ /** Optional branch information. */
1080
+ overlayBranch?: OverlayBranchId;
1081
+ }
1060
1082
  interface Derived {
1061
1083
  /** Output only. This contains the base image URL for the derived image occurrence. */
1062
1084
  baseResourceUrl?: string;
@@ -1097,6 +1119,12 @@ declare namespace gapi.client {
1097
1119
  /** Required. Attestation for the resource. */
1098
1120
  attestation?: Attestation;
1099
1121
  }
1122
+ interface DeveloperConnectSetupData {
1123
+ /** 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. */
1124
+ gitServerIpAddress?: string;
1125
+ /** INTERNAL_ONLY. SSL certificate to use for git operations. */
1126
+ sslCaInfo?: string;
1127
+ }
1100
1128
  interface Digest {
1101
1129
  /** `SHA1`, `SHA512` etc. */
1102
1130
  algo?: string;
@@ -1334,6 +1362,12 @@ declare namespace gapi.client {
1334
1362
  totalCount?: string;
1335
1363
  }
1336
1364
  interface GeneratePackagesSummaryRequest {}
1365
+ interface GenericArtifactDependency {
1366
+ /** 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. */
1367
+ destPath?: string;
1368
+ /** The location to download the artifact files from. Ex: projects/p1/locations/us/repositories/r1/packages/p1/versions/v1 */
1369
+ resource?: string;
1370
+ }
1337
1371
  interface GenericSignedAttestation {
1338
1372
  /** Type (for example schema) of the attestation payload that was signed. The verifier must ensure that the provided type is one that the verifier supports, and that the attestation payload is a valid instantiation of that type (for example by validating a JSON schema). */
1339
1373
  contentType?: 'CONTENT_TYPE_UNSPECIFIED' | 'SIMPLE_SIGNING_JSON';
@@ -1366,6 +1400,30 @@ declare namespace gapi.client {
1366
1400
  /** Git repository URL. */
1367
1401
  url?: string;
1368
1402
  }
1403
+ interface GitSourceDependency {
1404
+ /** How much history should be fetched for the build (default 1, -1 for all history). */
1405
+ depth?: string;
1406
+ /** Where should the files be placed on the worker. */
1407
+ destPath?: string;
1408
+ /** 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. */
1409
+ fetchTags?: boolean;
1410
+ /** True if submodules should be fetched too (default false). */
1411
+ recurseSubmodules?: boolean;
1412
+ /** The kind of repo (url or dev connect) */
1413
+ repository?: GitSourceRepository;
1414
+ /** The revision that we will fetch the repo at. */
1415
+ revision?: string;
1416
+ }
1417
+ interface GitSourceRepository {
1418
+ /** The Developer Connect Git repository link or the url that matches a repository link in the current project, formatted as `projects/*‍/locations/*‍/connections/*‍/gitRepositoryLink/*` */
1419
+ developerConnect?: string;
1420
+ /** Data needed to setup the Developer Connect repository. */
1421
+ developerConnectSetupData?: DeveloperConnectSetupData;
1422
+ /** Enables the use of the proxy URL returned by DeveloperConnect for git operations, if available. */
1423
+ proxyUrlEnabled?: boolean;
1424
+ /** Location of the Git repository. */
1425
+ url?: string;
1426
+ }
1369
1427
  interface GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata {
1370
1428
  /** Output only. The time this operation was created. */
1371
1429
  createTime?: string;
@@ -1467,6 +1525,12 @@ declare namespace gapi.client {
1467
1525
  /** Required. The human readable name of this attestation authority, for example "qa". */
1468
1526
  humanReadableName?: string;
1469
1527
  }
1528
+ interface HttpsArtifactDependency {
1529
+ /** 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. */
1530
+ destPath?: string;
1531
+ /** The URI to download the artifact file from. */
1532
+ uri?: string;
1533
+ }
1470
1534
  interface Installation {
1471
1535
  /** Output only. The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages. */
1472
1536
  architecture?: 'ARCHITECTURE_UNSPECIFIED' | 'X86' | 'X64';
@@ -1503,6 +1567,15 @@ declare namespace gapi.client {
1503
1567
  predicateType?: string;
1504
1568
  subject?: Subject[];
1505
1569
  }
1570
+ interface InvokeBlazeDependency {
1571
+ /** Only for MPM commands. */
1572
+ architecture?: string;
1573
+ command?: 'UNKNOWN_COMMAND' | 'BUILD' | 'MPM' | 'TEST';
1574
+ destPath?: string;
1575
+ flags?: string[];
1576
+ piperRevision?: PiperRevision;
1577
+ targets?: string[];
1578
+ }
1506
1579
  interface Justification {
1507
1580
  /** Additional details on why this justification was chosen. */
1508
1581
  details?: string;
@@ -1755,6 +1828,12 @@ declare namespace gapi.client {
1755
1828
  /** Describes a security vulnerability. */
1756
1829
  vulnerability?: GrafeasV1beta1VulnerabilityDetails;
1757
1830
  }
1831
+ interface OverlayBranchId {
1832
+ /** The required prefix, also called branch family. */
1833
+ branchPrefix?: string;
1834
+ /** The optional suffix, also called iteration. */
1835
+ branchSuffix?: string;
1836
+ }
1758
1837
  interface Package {
1759
1838
  /** The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages. */
1760
1839
  architecture?: 'ARCHITECTURE_UNSPECIFIED' | 'X86' | 'X64';
@@ -1861,6 +1940,12 @@ declare namespace gapi.client {
1861
1940
  /** The unique URL of the image or the container for which this summary applies. */
1862
1941
  resourceUrl?: string;
1863
1942
  }
1943
+ interface ParameterDefinition {
1944
+ /** The default value if not provided at runtime. Omission of this parameter indicates the parameter is required. */
1945
+ defaultValue?: string;
1946
+ /** A description of the parameter for UI documentation. */
1947
+ description?: string;
1948
+ }
1864
1949
  interface PerScannerVerdict {
1865
1950
  /** Malicious Content LLM scan result. */
1866
1951
  maliciousContentLlmResult?: MaliciousContentLLMResult;
@@ -1879,6 +1964,18 @@ declare namespace gapi.client {
1879
1964
  /** Required. 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. */
1880
1965
  signature?: string;
1881
1966
  }
1967
+ interface PiperRevision {
1968
+ /** Revision is within a CitC workspace. */
1969
+ citcWorkspace?: CitCWorkspace;
1970
+ /** Revision is a specific submitted changelist (possibly on a branch). */
1971
+ depotSource?: DepotSource;
1972
+ }
1973
+ interface PiperSourceDependency {
1974
+ /** 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/". */
1975
+ depotPaths?: string[];
1976
+ /** The piper revision to fetch the depot_paths from. If not provided, it will default to DepotSource with Piper HEAD. */
1977
+ piperRevision?: PiperRevision;
1978
+ }
1882
1979
  interface Policy {
1883
1980
  /** 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`. */
1884
1981
  bindings?: Binding[];
@@ -2211,6 +2308,57 @@ declare namespace gapi.client {
2211
2308
  /** Identifier to distinguish this artifact from others within the subject. */
2212
2309
  name?: string;
2213
2310
  }
2311
+ interface Task {
2312
+ /** Data to be passed to the task. */
2313
+ data?: {[P in string]: string};
2314
+ /** Dependencies that the Cloud Build worker will fetch before executing the task. */
2315
+ dependencies?: TaskDependency[];
2316
+ /** Working directory to use when running this task. This value is a relative path to the step's working directory. */
2317
+ dir?: string;
2318
+ /** Environment variables to be set for this task. */
2319
+ envs?: {[P in string]: string};
2320
+ /** Output only. The evaluated parameters for the task. */
2321
+ evaluatedParams?: {[P in string]: string};
2322
+ /** Output only. Return code from running the task. */
2323
+ exitCode?: number;
2324
+ /** ID of the task to be executed. */
2325
+ id?: string;
2326
+ /** Metadata for the task. */
2327
+ metadata?: TaskMetadata;
2328
+ /** Parameters to be passed to the task. */
2329
+ params?: {[P in string]: string};
2330
+ /** Remote configuration for the task. */
2331
+ remoteConfig?: string;
2332
+ /** Output only. The results of the task. */
2333
+ results?: {[P in string]: string};
2334
+ /** A shell script to be executed in the task. */
2335
+ script?: string;
2336
+ /** 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. */
2337
+ snapshot?: Task;
2338
+ /** Output only. Status of the task. */
2339
+ status?:
2340
+ | 'STATUS_UNKNOWN'
2341
+ | 'QUEUED'
2342
+ | 'WORKING'
2343
+ | 'SUCCESS'
2344
+ | 'FAILURE'
2345
+ | 'INTERNAL_ERROR'
2346
+ | 'CANCELLED';
2347
+ }
2348
+ interface TaskDependency {
2349
+ /** Dependency to fetch. */
2350
+ dep?: Dependency;
2351
+ /** ID of the dependency. */
2352
+ id?: string;
2353
+ /** SHA256 digest of the dependency. */
2354
+ sha256?: string;
2355
+ }
2356
+ interface TaskMetadata {
2357
+ /** Description of the task. */
2358
+ description?: string;
2359
+ /** Parameter definitions for the task. */
2360
+ params?: {[P in string]: ParameterDefinition};
2361
+ }
2214
2362
  interface TestIamPermissionsRequest {
2215
2363
  /** 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). */
2216
2364
  permissions?: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.containeranalysis-v1beta1",
3
- "version": "0.3.20261002",
3
+ "version": "0.3.20261009",
4
4
  "description": "TypeScript typings for Container Analysis API v1beta1",
5
5
  "repository": {
6
6
  "type": "git",