google-apis-containeranalysis_v1beta1 0.6.0 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5dbecdee5a6990109664395bb4490eae8a701a1e4e85a2f2ad38a46263122c69
4
- data.tar.gz: e58c161aa8d92d9121986bd46ea1fcf96c32166044f9280785440fec0e5dfd0a
3
+ metadata.gz: b6f5a74e4569fe342ba476395aefbf816fb76878168370b351cf3e670f9f9d90
4
+ data.tar.gz: 632caf2b409d0cefc1399c7e52b12b45ec3f6dc6a843af3e25e05243ceec8c5a
5
5
  SHA512:
6
- metadata.gz: 77ca2f0918f9eb9908835957498cb8805d03a7bc407952762b1ee6069ff63fb5a9fe0ec04fd2505dcebd1fe1f60f9fd6a5749b75fb2b8e633e0f0350dbcd4f74
7
- data.tar.gz: e109f91f73384468045b5b58ca9436562ec3b7ee2d2eb3778b9014693f3ad1635ea26f4862043869292ab7f194afb49e6f710478c97382824143e0aab25a9413
6
+ metadata.gz: addf30801fb545ceb0527a52a0ca86601013b75957ee655c62d6eb66af9dd6c654ff037433c322a8e383c5d44879cce6d04bf27844cddfe6947c324378bbac32
7
+ data.tar.gz: 1237836f1dfd0d1de5ba7ee9a2063d1b15426f2b1e7a4aff843cea2ea59c353aa551df6f4468e824b9b4c59a91d8cdf0ed97102983f11c1a73cd6c8515ad3c46
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-containeranalysis_v1beta1
2
2
 
3
+ ### v0.10.0 (2021-09-16)
4
+
5
+ * Regenerated from discovery document revision 20210913
6
+
7
+ ### v0.9.0 (2021-08-19)
8
+
9
+ * Regenerated from discovery document revision 20210813
10
+
11
+ ### v0.8.0 (2021-07-29)
12
+
13
+ * Regenerated from discovery document revision 20210723
14
+
15
+ ### v0.7.0 (2021-06-29)
16
+
17
+ * Regenerated using generator version 0.4.0
18
+
3
19
  ### v0.6.0 (2021-06-24)
4
20
 
5
21
  * Regenerated using generator version 0.3.0
@@ -537,6 +537,141 @@ module Google
537
537
  end
538
538
  end
539
539
 
540
+ # A step in the build pipeline.
541
+ class BuildStep
542
+ include Google::Apis::Core::Hashable
543
+
544
+ # A list of arguments that will be presented to the step when it is started. If
545
+ # the image used to run the step's container has an entrypoint, the `args` are
546
+ # used as arguments to that entrypoint. If the image does not define an
547
+ # entrypoint, the first element in args is used as the entrypoint, and the
548
+ # remainder will be used as arguments.
549
+ # Corresponds to the JSON property `args`
550
+ # @return [Array<String>]
551
+ attr_accessor :args
552
+
553
+ # Working directory to use when running this step's container. If this value is
554
+ # a relative path, it is relative to the build's working directory. If this
555
+ # value is absolute, it may be outside the build's working directory, in which
556
+ # case the contents of the path may not be persisted across build step
557
+ # executions, unless a `volume` for that path is specified. If the build
558
+ # specifies a `RepoSource` with `dir` and a step with a `dir`, which specifies
559
+ # an absolute path, the `RepoSource` `dir` is ignored for the step's execution.
560
+ # Corresponds to the JSON property `dir`
561
+ # @return [String]
562
+ attr_accessor :dir
563
+
564
+ # Entrypoint to be used instead of the build step image's default entrypoint. If
565
+ # unset, the image's default entrypoint is used.
566
+ # Corresponds to the JSON property `entrypoint`
567
+ # @return [String]
568
+ attr_accessor :entrypoint
569
+
570
+ # A list of environment variable definitions to be used when running a step. The
571
+ # elements are of the form "KEY=VALUE" for the environment variable "KEY" being
572
+ # given the value "VALUE".
573
+ # Corresponds to the JSON property `env`
574
+ # @return [Array<String>]
575
+ attr_accessor :env
576
+
577
+ # Unique identifier for this build step, used in `wait_for` to reference this
578
+ # build step as a dependency.
579
+ # Corresponds to the JSON property `id`
580
+ # @return [String]
581
+ attr_accessor :id
582
+
583
+ # Required. The name of the container image that will run this particular build
584
+ # step. If the image is available in the host's Docker daemon's cache, it will
585
+ # be run directly. If not, the host will attempt to pull the image first, using
586
+ # the builder service account's credentials if necessary. The Docker daemon's
587
+ # cache will already have the latest versions of all of the officially supported
588
+ # build steps ([https://github.com/GoogleCloudPlatform/cloud-builders](https://
589
+ # github.com/GoogleCloudPlatform/cloud-builders)). The Docker daemon will also
590
+ # have cached many of the layers for some popular images, like "ubuntu", "debian"
591
+ # , but they will be refreshed at the time you attempt to use them. If you built
592
+ # an image in a previous build step, it will be stored in the host's Docker
593
+ # daemon's cache and is available to use as the name for a later build step.
594
+ # Corresponds to the JSON property `name`
595
+ # @return [String]
596
+ attr_accessor :name
597
+
598
+ # Start and end times for a build execution phase.
599
+ # Corresponds to the JSON property `pullTiming`
600
+ # @return [Google::Apis::ContaineranalysisV1beta1::TimeSpan]
601
+ attr_accessor :pull_timing
602
+
603
+ # A shell script to be executed in the step. When script is provided, the user
604
+ # cannot specify the entrypoint or args.
605
+ # Corresponds to the JSON property `script`
606
+ # @return [String]
607
+ attr_accessor :script
608
+
609
+ # A list of environment variables which are encrypted using a Cloud Key
610
+ # Management Service crypto key. These values must be specified in the build's `
611
+ # Secret`.
612
+ # Corresponds to the JSON property `secretEnv`
613
+ # @return [Array<String>]
614
+ attr_accessor :secret_env
615
+
616
+ # Output only. Status of the build step. At this time, build step status is only
617
+ # updated on build completion; step status is not updated in real-time as the
618
+ # build progresses.
619
+ # Corresponds to the JSON property `status`
620
+ # @return [String]
621
+ attr_accessor :status
622
+
623
+ # Time limit for executing this build step. If not defined, the step has no time
624
+ # limit and will be allowed to continue to run until either it completes or the
625
+ # build itself times out.
626
+ # Corresponds to the JSON property `timeout`
627
+ # @return [String]
628
+ attr_accessor :timeout
629
+
630
+ # Start and end times for a build execution phase.
631
+ # Corresponds to the JSON property `timing`
632
+ # @return [Google::Apis::ContaineranalysisV1beta1::TimeSpan]
633
+ attr_accessor :timing
634
+
635
+ # List of volumes to mount into the build step. Each volume is created as an
636
+ # empty volume prior to execution of the build step. Upon completion of the
637
+ # build, volumes and their contents are discarded. Using a named volume in only
638
+ # one step is not valid as it is indicative of a build request with an incorrect
639
+ # configuration.
640
+ # Corresponds to the JSON property `volumes`
641
+ # @return [Array<Google::Apis::ContaineranalysisV1beta1::Volume>]
642
+ attr_accessor :volumes
643
+
644
+ # The ID(s) of the step(s) that this build step depends on. This build step will
645
+ # not start until all the build steps in `wait_for` have completed successfully.
646
+ # If `wait_for` is empty, this build step will start when all previous build
647
+ # steps in the `Build.Steps` list have completed successfully.
648
+ # Corresponds to the JSON property `waitFor`
649
+ # @return [Array<String>]
650
+ attr_accessor :wait_for
651
+
652
+ def initialize(**args)
653
+ update!(**args)
654
+ end
655
+
656
+ # Update properties of this object
657
+ def update!(**args)
658
+ @args = args[:args] if args.key?(:args)
659
+ @dir = args[:dir] if args.key?(:dir)
660
+ @entrypoint = args[:entrypoint] if args.key?(:entrypoint)
661
+ @env = args[:env] if args.key?(:env)
662
+ @id = args[:id] if args.key?(:id)
663
+ @name = args[:name] if args.key?(:name)
664
+ @pull_timing = args[:pull_timing] if args.key?(:pull_timing)
665
+ @script = args[:script] if args.key?(:script)
666
+ @secret_env = args[:secret_env] if args.key?(:secret_env)
667
+ @status = args[:status] if args.key?(:status)
668
+ @timeout = args[:timeout] if args.key?(:timeout)
669
+ @timing = args[:timing] if args.key?(:timing)
670
+ @volumes = args[:volumes] if args.key?(:volumes)
671
+ @wait_for = args[:wait_for] if args.key?(:wait_for)
672
+ end
673
+ end
674
+
540
675
  # Defines an object for the byproducts field in in-toto links. The suggested
541
676
  # fields are "stderr", "stdout", and "return-value".
542
677
  class ByProducts
@@ -1073,6 +1208,112 @@ module Google
1073
1208
  end
1074
1209
  end
1075
1210
 
1211
+ # DocumentNote represents an SPDX Document Creation Infromation section: https://
1212
+ # spdx.github.io/spdx-spec/2-document-creation-information/
1213
+ class DocumentNote
1214
+ include Google::Apis::Core::Hashable
1215
+
1216
+ # Compliance with the SPDX specification includes populating the SPDX fields
1217
+ # therein with data related to such fields ("SPDX-Metadata")
1218
+ # Corresponds to the JSON property `dataLicence`
1219
+ # @return [String]
1220
+ attr_accessor :data_licence
1221
+
1222
+ # Provide a reference number that can be used to understand how to parse and
1223
+ # interpret the rest of the file
1224
+ # Corresponds to the JSON property `spdxVersion`
1225
+ # @return [String]
1226
+ attr_accessor :spdx_version
1227
+
1228
+ def initialize(**args)
1229
+ update!(**args)
1230
+ end
1231
+
1232
+ # Update properties of this object
1233
+ def update!(**args)
1234
+ @data_licence = args[:data_licence] if args.key?(:data_licence)
1235
+ @spdx_version = args[:spdx_version] if args.key?(:spdx_version)
1236
+ end
1237
+ end
1238
+
1239
+ # DocumentOccurrence represents an SPDX Document Creation Information section:
1240
+ # https://spdx.github.io/spdx-spec/2-document-creation-information/
1241
+ class DocumentOccurrence
1242
+ include Google::Apis::Core::Hashable
1243
+
1244
+ # Identify when the SPDX file was originally created. The date is to be
1245
+ # specified according to combined date and time in UTC format as specified in
1246
+ # ISO 8601 standard
1247
+ # Corresponds to the JSON property `createTime`
1248
+ # @return [String]
1249
+ attr_accessor :create_time
1250
+
1251
+ # A field for creators of the SPDX file to provide general comments about the
1252
+ # creation of the SPDX file or any other relevant comment not included in the
1253
+ # other fields
1254
+ # Corresponds to the JSON property `creatorComment`
1255
+ # @return [String]
1256
+ attr_accessor :creator_comment
1257
+
1258
+ # Identify who (or what, in the case of a tool) created the SPDX file. If the
1259
+ # SPDX file was created by an individual, indicate the person's name
1260
+ # Corresponds to the JSON property `creators`
1261
+ # @return [Array<String>]
1262
+ attr_accessor :creators
1263
+
1264
+ # A field for creators of the SPDX file content to provide comments to the
1265
+ # consumers of the SPDX document
1266
+ # Corresponds to the JSON property `documentComment`
1267
+ # @return [String]
1268
+ attr_accessor :document_comment
1269
+
1270
+ # Identify any external SPDX documents referenced within this SPDX document
1271
+ # Corresponds to the JSON property `externalDocumentRefs`
1272
+ # @return [Array<String>]
1273
+ attr_accessor :external_document_refs
1274
+
1275
+ # Identify the current SPDX document which may be referenced in relationships by
1276
+ # other files, packages internally and documents externally
1277
+ # Corresponds to the JSON property `id`
1278
+ # @return [String]
1279
+ attr_accessor :id
1280
+
1281
+ # A field for creators of the SPDX file to provide the version of the SPDX
1282
+ # License List used when the SPDX file was created
1283
+ # Corresponds to the JSON property `licenseListVersion`
1284
+ # @return [String]
1285
+ attr_accessor :license_list_version
1286
+
1287
+ # Provide an SPDX document specific namespace as a unique absolute Uniform
1288
+ # Resource Identifier (URI) as specified in RFC-3986, with the exception of the ‘
1289
+ # #’ delimiter
1290
+ # Corresponds to the JSON property `namespace`
1291
+ # @return [String]
1292
+ attr_accessor :namespace
1293
+
1294
+ # Identify name of this document as designated by creator
1295
+ # Corresponds to the JSON property `title`
1296
+ # @return [String]
1297
+ attr_accessor :title
1298
+
1299
+ def initialize(**args)
1300
+ update!(**args)
1301
+ end
1302
+
1303
+ # Update properties of this object
1304
+ def update!(**args)
1305
+ @create_time = args[:create_time] if args.key?(:create_time)
1306
+ @creator_comment = args[:creator_comment] if args.key?(:creator_comment)
1307
+ @creators = args[:creators] if args.key?(:creators)
1308
+ @document_comment = args[:document_comment] if args.key?(:document_comment)
1309
+ @external_document_refs = args[:external_document_refs] if args.key?(:external_document_refs)
1310
+ @id = args[:id] if args.key?(:id)
1311
+ @license_list_version = args[:license_list_version] if args.key?(:license_list_version)
1312
+ @namespace = args[:namespace] if args.key?(:namespace)
1313
+ @title = args[:title] if args.key?(:title)
1314
+ end
1315
+ end
1316
+
1076
1317
  # A generic empty message that you can re-use to avoid defining duplicated empty
1077
1318
  # messages in your APIs. A typical example is to use it as the request or the
1078
1319
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -1164,6 +1405,48 @@ module Google
1164
1405
  end
1165
1406
  end
1166
1407
 
1408
+ # An External Reference allows a Package to reference an external source of
1409
+ # additional information, metadata, enumerations, asset identifiers, or
1410
+ # downloadable content believed to be relevant to the Package
1411
+ class ExternalRef
1412
+ include Google::Apis::Core::Hashable
1413
+
1414
+ # An External Reference allows a Package to reference an external source of
1415
+ # additional information, metadata, enumerations, asset identifiers, or
1416
+ # downloadable content believed to be relevant to the Package
1417
+ # Corresponds to the JSON property `category`
1418
+ # @return [String]
1419
+ attr_accessor :category
1420
+
1421
+ # Human-readable information about the purpose and target of the reference
1422
+ # Corresponds to the JSON property `comment`
1423
+ # @return [String]
1424
+ attr_accessor :comment
1425
+
1426
+ # The unique string with no spaces necessary to access the package-specific
1427
+ # information, metadata, or content within the target location
1428
+ # Corresponds to the JSON property `locator`
1429
+ # @return [String]
1430
+ attr_accessor :locator
1431
+
1432
+ # Type of category (e.g. 'npm' for the PACKAGE_MANAGER category)
1433
+ # Corresponds to the JSON property `type`
1434
+ # @return [String]
1435
+ attr_accessor :type
1436
+
1437
+ def initialize(**args)
1438
+ update!(**args)
1439
+ end
1440
+
1441
+ # Update properties of this object
1442
+ def update!(**args)
1443
+ @category = args[:category] if args.key?(:category)
1444
+ @comment = args[:comment] if args.key?(:comment)
1445
+ @locator = args[:locator] if args.key?(:locator)
1446
+ @type = args[:type] if args.key?(:type)
1447
+ end
1448
+ end
1449
+
1167
1450
  # Container message for hashes of byte content of files, used in source messages
1168
1451
  # to verify integrity of source input to the build.
1169
1452
  class FileHashes
@@ -1184,6 +1467,117 @@ module Google
1184
1467
  end
1185
1468
  end
1186
1469
 
1470
+ # FileNote represents an SPDX File Information section: https://spdx.github.io/
1471
+ # spdx-spec/4-file-information/
1472
+ class FileNote
1473
+ include Google::Apis::Core::Hashable
1474
+
1475
+ # Provide a unique identifier to match analysis information on each specific
1476
+ # file in a package
1477
+ # Corresponds to the JSON property `checksum`
1478
+ # @return [Array<String>]
1479
+ attr_accessor :checksum
1480
+
1481
+ # This field provides information about the type of file identified
1482
+ # Corresponds to the JSON property `fileType`
1483
+ # @return [String]
1484
+ attr_accessor :file_type
1485
+
1486
+ # Identify the full path and filename that corresponds to the file information
1487
+ # in this section
1488
+ # Corresponds to the JSON property `title`
1489
+ # @return [String]
1490
+ attr_accessor :title
1491
+
1492
+ def initialize(**args)
1493
+ update!(**args)
1494
+ end
1495
+
1496
+ # Update properties of this object
1497
+ def update!(**args)
1498
+ @checksum = args[:checksum] if args.key?(:checksum)
1499
+ @file_type = args[:file_type] if args.key?(:file_type)
1500
+ @title = args[:title] if args.key?(:title)
1501
+ end
1502
+ end
1503
+
1504
+ # FileOccurrence represents an SPDX File Information section: https://spdx.
1505
+ # github.io/spdx-spec/4-file-information/
1506
+ class FileOccurrence
1507
+ include Google::Apis::Core::Hashable
1508
+
1509
+ # This field provides a place for the SPDX data creator to record, at the file
1510
+ # level, acknowledgements that may be needed to be communicated in some contexts
1511
+ # Corresponds to the JSON property `attributions`
1512
+ # @return [Array<String>]
1513
+ attr_accessor :attributions
1514
+
1515
+ # This field provides a place for the SPDX file creator to record any general
1516
+ # comments about the file
1517
+ # Corresponds to the JSON property `comment`
1518
+ # @return [String]
1519
+ attr_accessor :comment
1520
+
1521
+ # This field provides a place for the SPDX file creator to record file
1522
+ # contributors
1523
+ # Corresponds to the JSON property `contributors`
1524
+ # @return [Array<String>]
1525
+ attr_accessor :contributors
1526
+
1527
+ # Identify the copyright holder of the file, as well as any dates present
1528
+ # Corresponds to the JSON property `copyright`
1529
+ # @return [String]
1530
+ attr_accessor :copyright
1531
+
1532
+ # This field contains the license information actually found in the file, if any
1533
+ # Corresponds to the JSON property `filesLicenseInfo`
1534
+ # @return [Array<String>]
1535
+ attr_accessor :files_license_info
1536
+
1537
+ # Uniquely identify any element in an SPDX document which may be referenced by
1538
+ # other elements
1539
+ # Corresponds to the JSON property `id`
1540
+ # @return [String]
1541
+ attr_accessor :id
1542
+
1543
+ # This field provides a place for the SPDX file creator to record any relevant
1544
+ # background references or analysis that went in to arriving at the Concluded
1545
+ # License for a file
1546
+ # Corresponds to the JSON property `licenseComments`
1547
+ # @return [String]
1548
+ attr_accessor :license_comments
1549
+
1550
+ # This field contains the license the SPDX file creator has concluded as
1551
+ # governing the file or alternative values if the governing license cannot be
1552
+ # determined
1553
+ # Corresponds to the JSON property `licenseConcluded`
1554
+ # @return [String]
1555
+ attr_accessor :license_concluded
1556
+
1557
+ # This field provides a place for the SPDX file creator to record license
1558
+ # notices or other such related notices found in the file
1559
+ # Corresponds to the JSON property `notice`
1560
+ # @return [String]
1561
+ attr_accessor :notice
1562
+
1563
+ def initialize(**args)
1564
+ update!(**args)
1565
+ end
1566
+
1567
+ # Update properties of this object
1568
+ def update!(**args)
1569
+ @attributions = args[:attributions] if args.key?(:attributions)
1570
+ @comment = args[:comment] if args.key?(:comment)
1571
+ @contributors = args[:contributors] if args.key?(:contributors)
1572
+ @copyright = args[:copyright] if args.key?(:copyright)
1573
+ @files_license_info = args[:files_license_info] if args.key?(:files_license_info)
1574
+ @id = args[:id] if args.key?(:id)
1575
+ @license_comments = args[:license_comments] if args.key?(:license_comments)
1576
+ @license_concluded = args[:license_concluded] if args.key?(:license_concluded)
1577
+ @notice = args[:notice] if args.key?(:notice)
1578
+ end
1579
+ end
1580
+
1187
1581
  # A set of properties that uniquely identify a given Docker image.
1188
1582
  class Fingerprint
1189
1583
  include Google::Apis::Core::Hashable
@@ -1632,7 +2026,13 @@ module Google
1632
2026
 
1633
2027
  # The distro assigned severity for this vulnerability when it is available, and
1634
2028
  # note provider assigned severity when distro has not yet assigned a severity
1635
- # for this vulnerability.
2029
+ # for this vulnerability. When there are multiple PackageIssues for this
2030
+ # vulnerability, they can have different effective severities because some might
2031
+ # be provided by the distro while others are provided by the language ecosystem
2032
+ # for a language pack. For this reason, it is advised to use the effective
2033
+ # severity on the PackageIssue level. In the case where multiple PackageIssues
2034
+ # have differing effective severities, this field should be the highest severity
2035
+ # for any of the PackageIssues.
1636
2036
  # Corresponds to the JSON property `effectiveSeverity`
1637
2037
  # @return [String]
1638
2038
  attr_accessor :effective_severity
@@ -2149,11 +2549,35 @@ module Google
2149
2549
  # @return [Array<Google::Apis::ContaineranalysisV1beta1::RelatedUrl>]
2150
2550
  attr_accessor :related_url
2151
2551
 
2552
+ # DocumentNote represents an SPDX Document Creation Infromation section: https://
2553
+ # spdx.github.io/spdx-spec/2-document-creation-information/
2554
+ # Corresponds to the JSON property `sbom`
2555
+ # @return [Google::Apis::ContaineranalysisV1beta1::DocumentNote]
2556
+ attr_accessor :sbom
2557
+
2152
2558
  # A one sentence description of this note.
2153
2559
  # Corresponds to the JSON property `shortDescription`
2154
2560
  # @return [String]
2155
2561
  attr_accessor :short_description
2156
2562
 
2563
+ # FileNote represents an SPDX File Information section: https://spdx.github.io/
2564
+ # spdx-spec/4-file-information/
2565
+ # Corresponds to the JSON property `spdxFile`
2566
+ # @return [Google::Apis::ContaineranalysisV1beta1::FileNote]
2567
+ attr_accessor :spdx_file
2568
+
2569
+ # PackageNote represents an SPDX Package Information section: https://spdx.
2570
+ # github.io/spdx-spec/3-package-information/
2571
+ # Corresponds to the JSON property `spdxPackage`
2572
+ # @return [Google::Apis::ContaineranalysisV1beta1::PackageNote]
2573
+ attr_accessor :spdx_package
2574
+
2575
+ # RelationshipNote represents an SPDX Relationship section: https://spdx.github.
2576
+ # io/spdx-spec/7-relationships-between-SPDX-elements/
2577
+ # Corresponds to the JSON property `spdxRelationship`
2578
+ # @return [Google::Apis::ContaineranalysisV1beta1::RelationshipNote]
2579
+ attr_accessor :spdx_relationship
2580
+
2157
2581
  # Output only. The time this note was last updated. This field can be used as a
2158
2582
  # filter in list requests.
2159
2583
  # Corresponds to the JSON property `updateTime`
@@ -2185,7 +2609,11 @@ module Google
2185
2609
  @package = args[:package] if args.key?(:package)
2186
2610
  @related_note_names = args[:related_note_names] if args.key?(:related_note_names)
2187
2611
  @related_url = args[:related_url] if args.key?(:related_url)
2612
+ @sbom = args[:sbom] if args.key?(:sbom)
2188
2613
  @short_description = args[:short_description] if args.key?(:short_description)
2614
+ @spdx_file = args[:spdx_file] if args.key?(:spdx_file)
2615
+ @spdx_package = args[:spdx_package] if args.key?(:spdx_package)
2616
+ @spdx_relationship = args[:spdx_relationship] if args.key?(:spdx_relationship)
2189
2617
  @update_time = args[:update_time] if args.key?(:update_time)
2190
2618
  @vulnerability = args[:vulnerability] if args.key?(:vulnerability)
2191
2619
  end
@@ -2266,6 +2694,30 @@ module Google
2266
2694
  # @return [Google::Apis::ContaineranalysisV1beta1::Resource]
2267
2695
  attr_accessor :resource
2268
2696
 
2697
+ # DocumentOccurrence represents an SPDX Document Creation Information section:
2698
+ # https://spdx.github.io/spdx-spec/2-document-creation-information/
2699
+ # Corresponds to the JSON property `sbom`
2700
+ # @return [Google::Apis::ContaineranalysisV1beta1::DocumentOccurrence]
2701
+ attr_accessor :sbom
2702
+
2703
+ # FileOccurrence represents an SPDX File Information section: https://spdx.
2704
+ # github.io/spdx-spec/4-file-information/
2705
+ # Corresponds to the JSON property `spdxFile`
2706
+ # @return [Google::Apis::ContaineranalysisV1beta1::FileOccurrence]
2707
+ attr_accessor :spdx_file
2708
+
2709
+ # PackageOccurrence represents an SPDX Package Information section: https://spdx.
2710
+ # github.io/spdx-spec/3-package-information/
2711
+ # Corresponds to the JSON property `spdxPackage`
2712
+ # @return [Google::Apis::ContaineranalysisV1beta1::PackageOccurrence]
2713
+ attr_accessor :spdx_package
2714
+
2715
+ # RelationshipOccurrence represents an SPDX Relationship section: https://spdx.
2716
+ # github.io/spdx-spec/7-relationships-between-SPDX-elements/
2717
+ # Corresponds to the JSON property `spdxRelationship`
2718
+ # @return [Google::Apis::ContaineranalysisV1beta1::RelationshipOccurrence]
2719
+ attr_accessor :spdx_relationship
2720
+
2269
2721
  # Output only. The time this occurrence was last updated.
2270
2722
  # Corresponds to the JSON property `updateTime`
2271
2723
  # @return [String]
@@ -2295,6 +2747,10 @@ module Google
2295
2747
  @note_name = args[:note_name] if args.key?(:note_name)
2296
2748
  @remediation = args[:remediation] if args.key?(:remediation)
2297
2749
  @resource = args[:resource] if args.key?(:resource)
2750
+ @sbom = args[:sbom] if args.key?(:sbom)
2751
+ @spdx_file = args[:spdx_file] if args.key?(:spdx_file)
2752
+ @spdx_package = args[:spdx_package] if args.key?(:spdx_package)
2753
+ @spdx_relationship = args[:spdx_relationship] if args.key?(:spdx_relationship)
2298
2754
  @update_time = args[:update_time] if args.key?(:update_time)
2299
2755
  @vulnerability = args[:vulnerability] if args.key?(:vulnerability)
2300
2756
  end
@@ -2336,11 +2792,23 @@ module Google
2336
2792
  # @return [Google::Apis::ContaineranalysisV1beta1::VulnerabilityLocation]
2337
2793
  attr_accessor :affected_location
2338
2794
 
2795
+ # Output only. The distro or language system assigned severity for this
2796
+ # vulnerability when that is available and note provider assigned severity when
2797
+ # it is not available.
2798
+ # Corresponds to the JSON property `effectiveSeverity`
2799
+ # @return [String]
2800
+ attr_accessor :effective_severity
2801
+
2339
2802
  # The location of the vulnerability.
2340
2803
  # Corresponds to the JSON property `fixedLocation`
2341
2804
  # @return [Google::Apis::ContaineranalysisV1beta1::VulnerabilityLocation]
2342
2805
  attr_accessor :fixed_location
2343
2806
 
2807
+ # The type of package (e.g. OS, MAVEN, GO).
2808
+ # Corresponds to the JSON property `packageType`
2809
+ # @return [String]
2810
+ attr_accessor :package_type
2811
+
2344
2812
  # Deprecated, use Details.effective_severity instead The severity (e.g., distro
2345
2813
  # assigned severity) for this vulnerability.
2346
2814
  # Corresponds to the JSON property `severityName`
@@ -2354,11 +2822,196 @@ module Google
2354
2822
  # Update properties of this object
2355
2823
  def update!(**args)
2356
2824
  @affected_location = args[:affected_location] if args.key?(:affected_location)
2825
+ @effective_severity = args[:effective_severity] if args.key?(:effective_severity)
2357
2826
  @fixed_location = args[:fixed_location] if args.key?(:fixed_location)
2827
+ @package_type = args[:package_type] if args.key?(:package_type)
2358
2828
  @severity_name = args[:severity_name] if args.key?(:severity_name)
2359
2829
  end
2360
2830
  end
2361
2831
 
2832
+ # PackageNote represents an SPDX Package Information section: https://spdx.
2833
+ # github.io/spdx-spec/3-package-information/
2834
+ class PackageNote
2835
+ include Google::Apis::Core::Hashable
2836
+
2837
+ # Indicates whether the file content of this package has been available for or
2838
+ # subjected to analysis when creating the SPDX document
2839
+ # Corresponds to the JSON property `analyzed`
2840
+ # @return [Boolean]
2841
+ attr_accessor :analyzed
2842
+ alias_method :analyzed?, :analyzed
2843
+
2844
+ # A place for the SPDX data creator to record, at the package level,
2845
+ # acknowledgements that may be needed to be communicated in some contexts
2846
+ # Corresponds to the JSON property `attribution`
2847
+ # @return [String]
2848
+ attr_accessor :attribution
2849
+
2850
+ # Provide an independently reproducible mechanism that permits unique
2851
+ # identification of a specific package that correlates to the data in this SPDX
2852
+ # file
2853
+ # Corresponds to the JSON property `checksum`
2854
+ # @return [String]
2855
+ attr_accessor :checksum
2856
+
2857
+ # Identify the copyright holders of the package, as well as any dates present
2858
+ # Corresponds to the JSON property `copyright`
2859
+ # @return [String]
2860
+ attr_accessor :copyright
2861
+
2862
+ # A more detailed description of the package
2863
+ # Corresponds to the JSON property `detailedDescription`
2864
+ # @return [String]
2865
+ attr_accessor :detailed_description
2866
+
2867
+ # This section identifies the download Universal Resource Locator (URL), or a
2868
+ # specific location within a version control system (VCS) for the package at the
2869
+ # time that the SPDX file was created
2870
+ # Corresponds to the JSON property `downloadLocation`
2871
+ # @return [String]
2872
+ attr_accessor :download_location
2873
+
2874
+ # ExternalRef
2875
+ # Corresponds to the JSON property `externalRefs`
2876
+ # @return [Array<Google::Apis::ContaineranalysisV1beta1::ExternalRef>]
2877
+ attr_accessor :external_refs
2878
+
2879
+ # Contain the license the SPDX file creator has concluded as governing the This
2880
+ # field is to contain a list of all licenses found in the package. The
2881
+ # relationship between licenses (i.e., conjunctive, disjunctive) is not
2882
+ # specified in this field – it is simply a listing of all licenses found
2883
+ # Corresponds to the JSON property `filesLicenseInfo`
2884
+ # @return [Array<String>]
2885
+ attr_accessor :files_license_info
2886
+
2887
+ # Provide a place for the SPDX file creator to record a web site that serves as
2888
+ # the package's home page
2889
+ # Corresponds to the JSON property `homePage`
2890
+ # @return [String]
2891
+ attr_accessor :home_page
2892
+
2893
+ # List the licenses that have been declared by the authors of the package
2894
+ # Corresponds to the JSON property `licenseDeclared`
2895
+ # @return [String]
2896
+ attr_accessor :license_declared
2897
+
2898
+ # If the package identified in the SPDX file originated from a different person
2899
+ # or organization than identified as Package Supplier, this field identifies
2900
+ # from where or whom the package originally came
2901
+ # Corresponds to the JSON property `originator`
2902
+ # @return [String]
2903
+ attr_accessor :originator
2904
+
2905
+ # A short description of the package
2906
+ # Corresponds to the JSON property `summaryDescription`
2907
+ # @return [String]
2908
+ attr_accessor :summary_description
2909
+
2910
+ # Identify the actual distribution source for the package/directory identified
2911
+ # in the SPDX file
2912
+ # Corresponds to the JSON property `supplier`
2913
+ # @return [String]
2914
+ attr_accessor :supplier
2915
+
2916
+ # Identify the full name of the package as given by the Package Originator
2917
+ # Corresponds to the JSON property `title`
2918
+ # @return [String]
2919
+ attr_accessor :title
2920
+
2921
+ # This field provides an independently reproducible mechanism identifying
2922
+ # specific contents of a package based on the actual files (except the SPDX file
2923
+ # itself, if it is included in the package) that make up each package and that
2924
+ # correlates to the data in this SPDX file
2925
+ # Corresponds to the JSON property `verificationCode`
2926
+ # @return [String]
2927
+ attr_accessor :verification_code
2928
+
2929
+ # Identify the version of the package
2930
+ # Corresponds to the JSON property `version`
2931
+ # @return [String]
2932
+ attr_accessor :version
2933
+
2934
+ def initialize(**args)
2935
+ update!(**args)
2936
+ end
2937
+
2938
+ # Update properties of this object
2939
+ def update!(**args)
2940
+ @analyzed = args[:analyzed] if args.key?(:analyzed)
2941
+ @attribution = args[:attribution] if args.key?(:attribution)
2942
+ @checksum = args[:checksum] if args.key?(:checksum)
2943
+ @copyright = args[:copyright] if args.key?(:copyright)
2944
+ @detailed_description = args[:detailed_description] if args.key?(:detailed_description)
2945
+ @download_location = args[:download_location] if args.key?(:download_location)
2946
+ @external_refs = args[:external_refs] if args.key?(:external_refs)
2947
+ @files_license_info = args[:files_license_info] if args.key?(:files_license_info)
2948
+ @home_page = args[:home_page] if args.key?(:home_page)
2949
+ @license_declared = args[:license_declared] if args.key?(:license_declared)
2950
+ @originator = args[:originator] if args.key?(:originator)
2951
+ @summary_description = args[:summary_description] if args.key?(:summary_description)
2952
+ @supplier = args[:supplier] if args.key?(:supplier)
2953
+ @title = args[:title] if args.key?(:title)
2954
+ @verification_code = args[:verification_code] if args.key?(:verification_code)
2955
+ @version = args[:version] if args.key?(:version)
2956
+ end
2957
+ end
2958
+
2959
+ # PackageOccurrence represents an SPDX Package Information section: https://spdx.
2960
+ # github.io/spdx-spec/3-package-information/
2961
+ class PackageOccurrence
2962
+ include Google::Apis::Core::Hashable
2963
+
2964
+ # A place for the SPDX file creator to record any general comments about the
2965
+ # package being described
2966
+ # Corresponds to the JSON property `comment`
2967
+ # @return [String]
2968
+ attr_accessor :comment
2969
+
2970
+ # Provide the actual file name of the package, or path of the directory being
2971
+ # treated as a package
2972
+ # Corresponds to the JSON property `filename`
2973
+ # @return [String]
2974
+ attr_accessor :filename
2975
+
2976
+ # Uniquely identify any element in an SPDX document which may be referenced by
2977
+ # other elements
2978
+ # Corresponds to the JSON property `id`
2979
+ # @return [String]
2980
+ attr_accessor :id
2981
+
2982
+ # This field provides a place for the SPDX file creator to record any relevant
2983
+ # background information or analysis that went in to arriving at the Concluded
2984
+ # License for a package
2985
+ # Corresponds to the JSON property `licenseComments`
2986
+ # @return [String]
2987
+ attr_accessor :license_comments
2988
+
2989
+ # package or alternative values, if the governing license cannot be determined
2990
+ # Corresponds to the JSON property `licenseConcluded`
2991
+ # @return [String]
2992
+ attr_accessor :license_concluded
2993
+
2994
+ # Provide a place for the SPDX file creator to record any relevant background
2995
+ # information or additional comments about the origin of the package
2996
+ # Corresponds to the JSON property `sourceInfo`
2997
+ # @return [String]
2998
+ attr_accessor :source_info
2999
+
3000
+ def initialize(**args)
3001
+ update!(**args)
3002
+ end
3003
+
3004
+ # Update properties of this object
3005
+ def update!(**args)
3006
+ @comment = args[:comment] if args.key?(:comment)
3007
+ @filename = args[:filename] if args.key?(:filename)
3008
+ @id = args[:id] if args.key?(:id)
3009
+ @license_comments = args[:license_comments] if args.key?(:license_comments)
3010
+ @license_concluded = args[:license_concluded] if args.key?(:license_concluded)
3011
+ @source_info = args[:source_info] if args.key?(:source_info)
3012
+ end
3013
+ end
3014
+
2362
3015
  # An attestation wrapper with a PGP-compatible signature. This message only
2363
3016
  # supports `ATTACHED` signatures, where the payload that is signed is included
2364
3017
  # alongside the signature itself in the same file.
@@ -2436,7 +3089,7 @@ module Google
2436
3089
  # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
2437
3090
  # roles/resourcemanager.organizationViewer condition: title: expirable access
2438
3091
  # description: Does not grant access after Sep 2020 expression: request.time <
2439
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
3092
+ # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
2440
3093
  # description of IAM and its features, see the [IAM documentation](https://cloud.
2441
3094
  # google.com/iam/docs/).
2442
3095
  class Policy
@@ -2547,6 +3200,63 @@ module Google
2547
3200
  end
2548
3201
  end
2549
3202
 
3203
+ # RelationshipNote represents an SPDX Relationship section: https://spdx.github.
3204
+ # io/spdx-spec/7-relationships-between-SPDX-elements/
3205
+ class RelationshipNote
3206
+ include Google::Apis::Core::Hashable
3207
+
3208
+ def initialize(**args)
3209
+ update!(**args)
3210
+ end
3211
+
3212
+ # Update properties of this object
3213
+ def update!(**args)
3214
+ end
3215
+ end
3216
+
3217
+ # RelationshipOccurrence represents an SPDX Relationship section: https://spdx.
3218
+ # github.io/spdx-spec/7-relationships-between-SPDX-elements/
3219
+ class RelationshipOccurrence
3220
+ include Google::Apis::Core::Hashable
3221
+
3222
+ # A place for the SPDX file creator to record any general comments about the
3223
+ # relationship
3224
+ # Corresponds to the JSON property `comment`
3225
+ # @return [String]
3226
+ attr_accessor :comment
3227
+
3228
+ # Also referred to as SPDXRef-A The source SPDX element (file, package, etc)
3229
+ # Corresponds to the JSON property `source`
3230
+ # @return [String]
3231
+ attr_accessor :source
3232
+
3233
+ # Also referred to as SPDXRef-B The target SPDC element (file, package, etc) In
3234
+ # cases where there are "known unknowns", the use of the keyword NOASSERTION can
3235
+ # be used The keywords NONE can be used to indicate that an SPDX element (
3236
+ # package/file/snippet) has no other elements connected by some relationship to
3237
+ # it
3238
+ # Corresponds to the JSON property `target`
3239
+ # @return [String]
3240
+ attr_accessor :target
3241
+
3242
+ # The type of relationship between the source and target SPDX elements
3243
+ # Corresponds to the JSON property `type`
3244
+ # @return [String]
3245
+ attr_accessor :type
3246
+
3247
+ def initialize(**args)
3248
+ update!(**args)
3249
+ end
3250
+
3251
+ # Update properties of this object
3252
+ def update!(**args)
3253
+ @comment = args[:comment] if args.key?(:comment)
3254
+ @source = args[:source] if args.key?(:source)
3255
+ @target = args[:target] if args.key?(:target)
3256
+ @type = args[:type] if args.key?(:type)
3257
+ end
3258
+ end
3259
+
2550
3260
  # A unique identifier for a Cloud Repo.
2551
3261
  class RepoId
2552
3262
  include Google::Apis::Core::Hashable
@@ -2681,7 +3391,7 @@ module Google
2681
3391
  # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
2682
3392
  # roles/resourcemanager.organizationViewer condition: title: expirable access
2683
3393
  # description: Does not grant access after Sep 2020 expression: request.time <
2684
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
3394
+ # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
2685
3395
  # description of IAM and its features, see the [IAM documentation](https://cloud.
2686
3396
  # google.com/iam/docs/).
2687
3397
  # Corresponds to the JSON property `policy`
@@ -2962,6 +3672,31 @@ module Google
2962
3672
  end
2963
3673
  end
2964
3674
 
3675
+ # Start and end times for a build execution phase.
3676
+ class TimeSpan
3677
+ include Google::Apis::Core::Hashable
3678
+
3679
+ # End of time span.
3680
+ # Corresponds to the JSON property `endTime`
3681
+ # @return [String]
3682
+ attr_accessor :end_time
3683
+
3684
+ # Start of time span.
3685
+ # Corresponds to the JSON property `startTime`
3686
+ # @return [String]
3687
+ attr_accessor :start_time
3688
+
3689
+ def initialize(**args)
3690
+ update!(**args)
3691
+ end
3692
+
3693
+ # Update properties of this object
3694
+ def update!(**args)
3695
+ @end_time = args[:end_time] if args.key?(:end_time)
3696
+ @start_time = args[:start_time] if args.key?(:start_time)
3697
+ end
3698
+ end
3699
+
2965
3700
  # Version contains structured information about the version of a package.
2966
3701
  class Version
2967
3702
  include Google::Apis::Core::Hashable
@@ -3011,6 +3746,36 @@ module Google
3011
3746
  end
3012
3747
  end
3013
3748
 
3749
+ # Volume describes a Docker container volume which is mounted into build steps
3750
+ # in order to persist files across build step execution.
3751
+ class Volume
3752
+ include Google::Apis::Core::Hashable
3753
+
3754
+ # Name of the volume to mount. Volume names must be unique per build step and
3755
+ # must be valid names for Docker volumes. Each named volume must be used by at
3756
+ # least two build steps.
3757
+ # Corresponds to the JSON property `name`
3758
+ # @return [String]
3759
+ attr_accessor :name
3760
+
3761
+ # Path at which to mount the volume. Paths must be absolute and cannot conflict
3762
+ # with other volume paths on the same build step or with certain reserved volume
3763
+ # paths.
3764
+ # Corresponds to the JSON property `path`
3765
+ # @return [String]
3766
+ attr_accessor :path
3767
+
3768
+ def initialize(**args)
3769
+ update!(**args)
3770
+ end
3771
+
3772
+ # Update properties of this object
3773
+ def update!(**args)
3774
+ @name = args[:name] if args.key?(:name)
3775
+ @path = args[:path] if args.key?(:path)
3776
+ end
3777
+ end
3778
+
3014
3779
  # Vulnerability provides metadata about a security vulnerability in a Note.
3015
3780
  class Vulnerability
3016
3781
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContaineranalysisV1beta1
18
18
  # Version of the google-apis-containeranalysis_v1beta1 gem
19
- GEM_VERSION = "0.6.0"
19
+ GEM_VERSION = "0.10.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.3.0"
22
+ GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210326"
25
+ REVISION = "20210913"
26
26
  end
27
27
  end
28
28
  end
@@ -112,6 +112,12 @@ module Google
112
112
  include Google::Apis::Core::JsonObjectSupport
113
113
  end
114
114
 
115
+ class BuildStep
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
115
121
  class ByProducts
116
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
123
 
@@ -184,6 +190,18 @@ module Google
184
190
  include Google::Apis::Core::JsonObjectSupport
185
191
  end
186
192
 
193
+ class DocumentNote
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class DocumentOccurrence
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
187
205
  class Empty
188
206
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
207
 
@@ -202,12 +220,30 @@ module Google
202
220
  include Google::Apis::Core::JsonObjectSupport
203
221
  end
204
222
 
223
+ class ExternalRef
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
205
229
  class FileHashes
206
230
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
231
 
208
232
  include Google::Apis::Core::JsonObjectSupport
209
233
  end
210
234
 
235
+ class FileNote
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class FileOccurrence
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
211
247
  class Fingerprint
212
248
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
249
 
@@ -406,6 +442,18 @@ module Google
406
442
  include Google::Apis::Core::JsonObjectSupport
407
443
  end
408
444
 
445
+ class PackageNote
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
451
+ class PackageOccurrence
452
+ class Representation < Google::Apis::Core::JsonRepresentation; end
453
+
454
+ include Google::Apis::Core::JsonObjectSupport
455
+ end
456
+
409
457
  class PgpSignedAttestation
410
458
  class Representation < Google::Apis::Core::JsonRepresentation; end
411
459
 
@@ -430,6 +478,18 @@ module Google
430
478
  include Google::Apis::Core::JsonObjectSupport
431
479
  end
432
480
 
481
+ class RelationshipNote
482
+ class Representation < Google::Apis::Core::JsonRepresentation; end
483
+
484
+ include Google::Apis::Core::JsonObjectSupport
485
+ end
486
+
487
+ class RelationshipOccurrence
488
+ class Representation < Google::Apis::Core::JsonRepresentation; end
489
+
490
+ include Google::Apis::Core::JsonObjectSupport
491
+ end
492
+
433
493
  class RepoId
434
494
  class Representation < Google::Apis::Core::JsonRepresentation; end
435
495
 
@@ -496,12 +556,24 @@ module Google
496
556
  include Google::Apis::Core::JsonObjectSupport
497
557
  end
498
558
 
559
+ class TimeSpan
560
+ class Representation < Google::Apis::Core::JsonRepresentation; end
561
+
562
+ include Google::Apis::Core::JsonObjectSupport
563
+ end
564
+
499
565
  class Version
500
566
  class Representation < Google::Apis::Core::JsonRepresentation; end
501
567
 
502
568
  include Google::Apis::Core::JsonObjectSupport
503
569
  end
504
570
 
571
+ class Volume
572
+ class Representation < Google::Apis::Core::JsonRepresentation; end
573
+
574
+ include Google::Apis::Core::JsonObjectSupport
575
+ end
576
+
505
577
  class Vulnerability
506
578
  class Representation < Google::Apis::Core::JsonRepresentation; end
507
579
 
@@ -667,6 +739,29 @@ module Google
667
739
  end
668
740
  end
669
741
 
742
+ class BuildStep
743
+ # @private
744
+ class Representation < Google::Apis::Core::JsonRepresentation
745
+ collection :args, as: 'args'
746
+ property :dir, as: 'dir'
747
+ property :entrypoint, as: 'entrypoint'
748
+ collection :env, as: 'env'
749
+ property :id, as: 'id'
750
+ property :name, as: 'name'
751
+ property :pull_timing, as: 'pullTiming', class: Google::Apis::ContaineranalysisV1beta1::TimeSpan, decorator: Google::Apis::ContaineranalysisV1beta1::TimeSpan::Representation
752
+
753
+ property :script, as: 'script'
754
+ collection :secret_env, as: 'secretEnv'
755
+ property :status, as: 'status'
756
+ property :timeout, as: 'timeout'
757
+ property :timing, as: 'timing', class: Google::Apis::ContaineranalysisV1beta1::TimeSpan, decorator: Google::Apis::ContaineranalysisV1beta1::TimeSpan::Representation
758
+
759
+ collection :volumes, as: 'volumes', class: Google::Apis::ContaineranalysisV1beta1::Volume, decorator: Google::Apis::ContaineranalysisV1beta1::Volume::Representation
760
+
761
+ collection :wait_for, as: 'waitFor'
762
+ end
763
+ end
764
+
670
765
  class ByProducts
671
766
  # @private
672
767
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -806,6 +901,29 @@ module Google
806
901
  end
807
902
  end
808
903
 
904
+ class DocumentNote
905
+ # @private
906
+ class Representation < Google::Apis::Core::JsonRepresentation
907
+ property :data_licence, as: 'dataLicence'
908
+ property :spdx_version, as: 'spdxVersion'
909
+ end
910
+ end
911
+
912
+ class DocumentOccurrence
913
+ # @private
914
+ class Representation < Google::Apis::Core::JsonRepresentation
915
+ property :create_time, as: 'createTime'
916
+ property :creator_comment, as: 'creatorComment'
917
+ collection :creators, as: 'creators'
918
+ property :document_comment, as: 'documentComment'
919
+ collection :external_document_refs, as: 'externalDocumentRefs'
920
+ property :id, as: 'id'
921
+ property :license_list_version, as: 'licenseListVersion'
922
+ property :namespace, as: 'namespace'
923
+ property :title, as: 'title'
924
+ end
925
+ end
926
+
809
927
  class Empty
810
928
  # @private
811
929
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -829,6 +947,16 @@ module Google
829
947
  end
830
948
  end
831
949
 
950
+ class ExternalRef
951
+ # @private
952
+ class Representation < Google::Apis::Core::JsonRepresentation
953
+ property :category, as: 'category'
954
+ property :comment, as: 'comment'
955
+ property :locator, as: 'locator'
956
+ property :type, as: 'type'
957
+ end
958
+ end
959
+
832
960
  class FileHashes
833
961
  # @private
834
962
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -837,6 +965,30 @@ module Google
837
965
  end
838
966
  end
839
967
 
968
+ class FileNote
969
+ # @private
970
+ class Representation < Google::Apis::Core::JsonRepresentation
971
+ collection :checksum, as: 'checksum'
972
+ property :file_type, as: 'fileType'
973
+ property :title, as: 'title'
974
+ end
975
+ end
976
+
977
+ class FileOccurrence
978
+ # @private
979
+ class Representation < Google::Apis::Core::JsonRepresentation
980
+ collection :attributions, as: 'attributions'
981
+ property :comment, as: 'comment'
982
+ collection :contributors, as: 'contributors'
983
+ property :copyright, as: 'copyright'
984
+ collection :files_license_info, as: 'filesLicenseInfo'
985
+ property :id, as: 'id'
986
+ property :license_comments, as: 'licenseComments'
987
+ property :license_concluded, as: 'licenseConcluded'
988
+ property :notice, as: 'notice'
989
+ end
990
+ end
991
+
840
992
  class Fingerprint
841
993
  # @private
842
994
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1134,7 +1286,15 @@ module Google
1134
1286
  collection :related_note_names, as: 'relatedNoteNames'
1135
1287
  collection :related_url, as: 'relatedUrl', class: Google::Apis::ContaineranalysisV1beta1::RelatedUrl, decorator: Google::Apis::ContaineranalysisV1beta1::RelatedUrl::Representation
1136
1288
 
1289
+ property :sbom, as: 'sbom', class: Google::Apis::ContaineranalysisV1beta1::DocumentNote, decorator: Google::Apis::ContaineranalysisV1beta1::DocumentNote::Representation
1290
+
1137
1291
  property :short_description, as: 'shortDescription'
1292
+ property :spdx_file, as: 'spdxFile', class: Google::Apis::ContaineranalysisV1beta1::FileNote, decorator: Google::Apis::ContaineranalysisV1beta1::FileNote::Representation
1293
+
1294
+ property :spdx_package, as: 'spdxPackage', class: Google::Apis::ContaineranalysisV1beta1::PackageNote, decorator: Google::Apis::ContaineranalysisV1beta1::PackageNote::Representation
1295
+
1296
+ property :spdx_relationship, as: 'spdxRelationship', class: Google::Apis::ContaineranalysisV1beta1::RelationshipNote, decorator: Google::Apis::ContaineranalysisV1beta1::RelationshipNote::Representation
1297
+
1138
1298
  property :update_time, as: 'updateTime'
1139
1299
  property :vulnerability, as: 'vulnerability', class: Google::Apis::ContaineranalysisV1beta1::Vulnerability, decorator: Google::Apis::ContaineranalysisV1beta1::Vulnerability::Representation
1140
1300
 
@@ -1165,6 +1325,14 @@ module Google
1165
1325
  property :remediation, as: 'remediation'
1166
1326
  property :resource, as: 'resource', class: Google::Apis::ContaineranalysisV1beta1::Resource, decorator: Google::Apis::ContaineranalysisV1beta1::Resource::Representation
1167
1327
 
1328
+ property :sbom, as: 'sbom', class: Google::Apis::ContaineranalysisV1beta1::DocumentOccurrence, decorator: Google::Apis::ContaineranalysisV1beta1::DocumentOccurrence::Representation
1329
+
1330
+ property :spdx_file, as: 'spdxFile', class: Google::Apis::ContaineranalysisV1beta1::FileOccurrence, decorator: Google::Apis::ContaineranalysisV1beta1::FileOccurrence::Representation
1331
+
1332
+ property :spdx_package, as: 'spdxPackage', class: Google::Apis::ContaineranalysisV1beta1::PackageOccurrence, decorator: Google::Apis::ContaineranalysisV1beta1::PackageOccurrence::Representation
1333
+
1334
+ property :spdx_relationship, as: 'spdxRelationship', class: Google::Apis::ContaineranalysisV1beta1::RelationshipOccurrence, decorator: Google::Apis::ContaineranalysisV1beta1::RelationshipOccurrence::Representation
1335
+
1168
1336
  property :update_time, as: 'updateTime'
1169
1337
  property :vulnerability, as: 'vulnerability', class: Google::Apis::ContaineranalysisV1beta1::GrafeasV1beta1VulnerabilityDetails, decorator: Google::Apis::ContaineranalysisV1beta1::GrafeasV1beta1VulnerabilityDetails::Representation
1170
1338
 
@@ -1185,12 +1353,49 @@ module Google
1185
1353
  class Representation < Google::Apis::Core::JsonRepresentation
1186
1354
  property :affected_location, as: 'affectedLocation', class: Google::Apis::ContaineranalysisV1beta1::VulnerabilityLocation, decorator: Google::Apis::ContaineranalysisV1beta1::VulnerabilityLocation::Representation
1187
1355
 
1356
+ property :effective_severity, as: 'effectiveSeverity'
1188
1357
  property :fixed_location, as: 'fixedLocation', class: Google::Apis::ContaineranalysisV1beta1::VulnerabilityLocation, decorator: Google::Apis::ContaineranalysisV1beta1::VulnerabilityLocation::Representation
1189
1358
 
1359
+ property :package_type, as: 'packageType'
1190
1360
  property :severity_name, as: 'severityName'
1191
1361
  end
1192
1362
  end
1193
1363
 
1364
+ class PackageNote
1365
+ # @private
1366
+ class Representation < Google::Apis::Core::JsonRepresentation
1367
+ property :analyzed, as: 'analyzed'
1368
+ property :attribution, as: 'attribution'
1369
+ property :checksum, as: 'checksum'
1370
+ property :copyright, as: 'copyright'
1371
+ property :detailed_description, as: 'detailedDescription'
1372
+ property :download_location, as: 'downloadLocation'
1373
+ collection :external_refs, as: 'externalRefs', class: Google::Apis::ContaineranalysisV1beta1::ExternalRef, decorator: Google::Apis::ContaineranalysisV1beta1::ExternalRef::Representation
1374
+
1375
+ collection :files_license_info, as: 'filesLicenseInfo'
1376
+ property :home_page, as: 'homePage'
1377
+ property :license_declared, as: 'licenseDeclared'
1378
+ property :originator, as: 'originator'
1379
+ property :summary_description, as: 'summaryDescription'
1380
+ property :supplier, as: 'supplier'
1381
+ property :title, as: 'title'
1382
+ property :verification_code, as: 'verificationCode'
1383
+ property :version, as: 'version'
1384
+ end
1385
+ end
1386
+
1387
+ class PackageOccurrence
1388
+ # @private
1389
+ class Representation < Google::Apis::Core::JsonRepresentation
1390
+ property :comment, as: 'comment'
1391
+ property :filename, as: 'filename'
1392
+ property :id, as: 'id'
1393
+ property :license_comments, as: 'licenseComments'
1394
+ property :license_concluded, as: 'licenseConcluded'
1395
+ property :source_info, as: 'sourceInfo'
1396
+ end
1397
+ end
1398
+
1194
1399
  class PgpSignedAttestation
1195
1400
  # @private
1196
1401
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1226,6 +1431,22 @@ module Google
1226
1431
  end
1227
1432
  end
1228
1433
 
1434
+ class RelationshipNote
1435
+ # @private
1436
+ class Representation < Google::Apis::Core::JsonRepresentation
1437
+ end
1438
+ end
1439
+
1440
+ class RelationshipOccurrence
1441
+ # @private
1442
+ class Representation < Google::Apis::Core::JsonRepresentation
1443
+ property :comment, as: 'comment'
1444
+ property :source, as: 'source'
1445
+ property :target, as: 'target'
1446
+ property :type, as: 'type'
1447
+ end
1448
+ end
1449
+
1229
1450
  class RepoId
1230
1451
  # @private
1231
1452
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1331,6 +1552,14 @@ module Google
1331
1552
  end
1332
1553
  end
1333
1554
 
1555
+ class TimeSpan
1556
+ # @private
1557
+ class Representation < Google::Apis::Core::JsonRepresentation
1558
+ property :end_time, as: 'endTime'
1559
+ property :start_time, as: 'startTime'
1560
+ end
1561
+ end
1562
+
1334
1563
  class Version
1335
1564
  # @private
1336
1565
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1342,6 +1571,14 @@ module Google
1342
1571
  end
1343
1572
  end
1344
1573
 
1574
+ class Volume
1575
+ # @private
1576
+ class Representation < Google::Apis::Core::JsonRepresentation
1577
+ property :name, as: 'name'
1578
+ property :path, as: 'path'
1579
+ end
1580
+ end
1581
+
1345
1582
  class Vulnerability
1346
1583
  # @private
1347
1584
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -30,7 +30,7 @@ module Google
30
30
  # This is NOT the gem version.
31
31
  VERSION = 'V1beta1'
32
32
 
33
- # See, edit, configure, and delete your Google Cloud Platform data
33
+ # See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
34
34
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
35
35
  end
36
36
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-containeranalysis_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-28 00:00:00.000000000 Z
11
+ date: 2021-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.3'
19
+ version: '0.4'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.3'
29
+ version: '0.4'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-containeranalysis_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1beta1/v0.6.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1beta1/v0.10.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-containeranalysis_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []