google-apis-containeranalysis_v1beta1 0.7.0 → 0.8.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: '08f02b3d3b2d9b190c20e68b33a9f8fb3c2603c621aad32015262c54c50ff48d'
4
- data.tar.gz: 8d94092898034a0efbf128b322d357055f862c9ca61572900b52e656f5c3e848
3
+ metadata.gz: 744a1e863e8804b54c7412a28effa705abaf5f56779ff03351bb186ac6e46f18
4
+ data.tar.gz: 20746be62385f3c883d2786ade9af5e54b00f1526923350a708c3a428b3d7314
5
5
  SHA512:
6
- metadata.gz: f9a681528dea24904a025c18b733082b644ebfd47c5681aee43f6288671acd4cd54c056bc69c8a213c5ccdd49d0e84d6c3a4ea5daf1d44c06e390491067b156a
7
- data.tar.gz: bc58e9026c82f58057bc79e273fd63f1face2e55354e088ba62f958682b51ca9daa044ecaa9126e01ab5ba37c68b926117a4653941cad603f4605aa10190a913
6
+ metadata.gz: 304a44a80519b461f6ee58434977b01ffdcd4c3f0202244fae895d8d505171924d82fbfa74f8c325b1c5d9db7755046f20efbdb2beaf19da7a8bd5c531ce6b0e
7
+ data.tar.gz: 34e4bd4099e34ea36187c26e07637e46f0e6db01af94f41f0ba4f6f11dc72cc155a0377d25936565b73ee1cf887db75415bccb2c655fb2f3d39af7525c3d56a4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-containeranalysis_v1beta1
2
2
 
3
+ ### v0.8.0 (2021-07-29)
4
+
5
+ * Regenerated from discovery document revision 20210723
6
+
3
7
  ### v0.7.0 (2021-06-29)
4
8
 
5
9
  * Regenerated using generator version 0.4.0
@@ -1073,6 +1073,112 @@ module Google
1073
1073
  end
1074
1074
  end
1075
1075
 
1076
+ # DocumentNote represents an SPDX Document Creation Infromation section: https://
1077
+ # spdx.github.io/spdx-spec/2-document-creation-information/
1078
+ class DocumentNote
1079
+ include Google::Apis::Core::Hashable
1080
+
1081
+ # Compliance with the SPDX specification includes populating the SPDX fields
1082
+ # therein with data related to such fields ("SPDX-Metadata")
1083
+ # Corresponds to the JSON property `dataLicence`
1084
+ # @return [String]
1085
+ attr_accessor :data_licence
1086
+
1087
+ # Provide a reference number that can be used to understand how to parse and
1088
+ # interpret the rest of the file
1089
+ # Corresponds to the JSON property `spdxVersion`
1090
+ # @return [String]
1091
+ attr_accessor :spdx_version
1092
+
1093
+ def initialize(**args)
1094
+ update!(**args)
1095
+ end
1096
+
1097
+ # Update properties of this object
1098
+ def update!(**args)
1099
+ @data_licence = args[:data_licence] if args.key?(:data_licence)
1100
+ @spdx_version = args[:spdx_version] if args.key?(:spdx_version)
1101
+ end
1102
+ end
1103
+
1104
+ # DocumentOccurrence represents an SPDX Document Creation Information section:
1105
+ # https://spdx.github.io/spdx-spec/2-document-creation-information/
1106
+ class DocumentOccurrence
1107
+ include Google::Apis::Core::Hashable
1108
+
1109
+ # Identify when the SPDX file was originally created. The date is to be
1110
+ # specified according to combined date and time in UTC format as specified in
1111
+ # ISO 8601 standard
1112
+ # Corresponds to the JSON property `createTime`
1113
+ # @return [String]
1114
+ attr_accessor :create_time
1115
+
1116
+ # A field for creators of the SPDX file to provide general comments about the
1117
+ # creation of the SPDX file or any other relevant comment not included in the
1118
+ # other fields
1119
+ # Corresponds to the JSON property `creatorComment`
1120
+ # @return [String]
1121
+ attr_accessor :creator_comment
1122
+
1123
+ # Identify who (or what, in the case of a tool) created the SPDX file. If the
1124
+ # SPDX file was created by an individual, indicate the person's name
1125
+ # Corresponds to the JSON property `creators`
1126
+ # @return [Array<String>]
1127
+ attr_accessor :creators
1128
+
1129
+ # A field for creators of the SPDX file content to provide comments to the
1130
+ # consumers of the SPDX document
1131
+ # Corresponds to the JSON property `documentComment`
1132
+ # @return [String]
1133
+ attr_accessor :document_comment
1134
+
1135
+ # Identify any external SPDX documents referenced within this SPDX document
1136
+ # Corresponds to the JSON property `externalDocumentRefs`
1137
+ # @return [Array<String>]
1138
+ attr_accessor :external_document_refs
1139
+
1140
+ # Identify the current SPDX document which may be referenced in relationships by
1141
+ # other files, packages internally and documents externally
1142
+ # Corresponds to the JSON property `id`
1143
+ # @return [String]
1144
+ attr_accessor :id
1145
+
1146
+ # A field for creators of the SPDX file to provide the version of the SPDX
1147
+ # License List used when the SPDX file was created
1148
+ # Corresponds to the JSON property `licenseListVersion`
1149
+ # @return [String]
1150
+ attr_accessor :license_list_version
1151
+
1152
+ # Provide an SPDX document specific namespace as a unique absolute Uniform
1153
+ # Resource Identifier (URI) as specified in RFC-3986, with the exception of the ‘
1154
+ # #’ delimiter
1155
+ # Corresponds to the JSON property `namespace`
1156
+ # @return [String]
1157
+ attr_accessor :namespace
1158
+
1159
+ # Identify name of this document as designated by creator
1160
+ # Corresponds to the JSON property `title`
1161
+ # @return [String]
1162
+ attr_accessor :title
1163
+
1164
+ def initialize(**args)
1165
+ update!(**args)
1166
+ end
1167
+
1168
+ # Update properties of this object
1169
+ def update!(**args)
1170
+ @create_time = args[:create_time] if args.key?(:create_time)
1171
+ @creator_comment = args[:creator_comment] if args.key?(:creator_comment)
1172
+ @creators = args[:creators] if args.key?(:creators)
1173
+ @document_comment = args[:document_comment] if args.key?(:document_comment)
1174
+ @external_document_refs = args[:external_document_refs] if args.key?(:external_document_refs)
1175
+ @id = args[:id] if args.key?(:id)
1176
+ @license_list_version = args[:license_list_version] if args.key?(:license_list_version)
1177
+ @namespace = args[:namespace] if args.key?(:namespace)
1178
+ @title = args[:title] if args.key?(:title)
1179
+ end
1180
+ end
1181
+
1076
1182
  # A generic empty message that you can re-use to avoid defining duplicated empty
1077
1183
  # messages in your APIs. A typical example is to use it as the request or the
1078
1184
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -1164,6 +1270,48 @@ module Google
1164
1270
  end
1165
1271
  end
1166
1272
 
1273
+ # An External Reference allows a Package to reference an external source of
1274
+ # additional information, metadata, enumerations, asset identifiers, or
1275
+ # downloadable content believed to be relevant to the Package
1276
+ class ExternalRef
1277
+ include Google::Apis::Core::Hashable
1278
+
1279
+ # An External Reference allows a Package to reference an external source of
1280
+ # additional information, metadata, enumerations, asset identifiers, or
1281
+ # downloadable content believed to be relevant to the Package
1282
+ # Corresponds to the JSON property `category`
1283
+ # @return [String]
1284
+ attr_accessor :category
1285
+
1286
+ # Human-readable information about the purpose and target of the reference
1287
+ # Corresponds to the JSON property `comment`
1288
+ # @return [String]
1289
+ attr_accessor :comment
1290
+
1291
+ # The unique string with no spaces necessary to access the package-specific
1292
+ # information, metadata, or content within the target location
1293
+ # Corresponds to the JSON property `locator`
1294
+ # @return [String]
1295
+ attr_accessor :locator
1296
+
1297
+ # Type of category (e.g. 'npm' for the PACKAGE_MANAGER category)
1298
+ # Corresponds to the JSON property `type`
1299
+ # @return [String]
1300
+ attr_accessor :type
1301
+
1302
+ def initialize(**args)
1303
+ update!(**args)
1304
+ end
1305
+
1306
+ # Update properties of this object
1307
+ def update!(**args)
1308
+ @category = args[:category] if args.key?(:category)
1309
+ @comment = args[:comment] if args.key?(:comment)
1310
+ @locator = args[:locator] if args.key?(:locator)
1311
+ @type = args[:type] if args.key?(:type)
1312
+ end
1313
+ end
1314
+
1167
1315
  # Container message for hashes of byte content of files, used in source messages
1168
1316
  # to verify integrity of source input to the build.
1169
1317
  class FileHashes
@@ -1184,6 +1332,117 @@ module Google
1184
1332
  end
1185
1333
  end
1186
1334
 
1335
+ # FileNote represents an SPDX File Information section: https://spdx.github.io/
1336
+ # spdx-spec/4-file-information/
1337
+ class FileNote
1338
+ include Google::Apis::Core::Hashable
1339
+
1340
+ # Provide a unique identifier to match analysis information on each specific
1341
+ # file in a package
1342
+ # Corresponds to the JSON property `checksum`
1343
+ # @return [Array<String>]
1344
+ attr_accessor :checksum
1345
+
1346
+ # This field provides information about the type of file identified
1347
+ # Corresponds to the JSON property `fileType`
1348
+ # @return [String]
1349
+ attr_accessor :file_type
1350
+
1351
+ # Identify the full path and filename that corresponds to the file information
1352
+ # in this section
1353
+ # Corresponds to the JSON property `title`
1354
+ # @return [String]
1355
+ attr_accessor :title
1356
+
1357
+ def initialize(**args)
1358
+ update!(**args)
1359
+ end
1360
+
1361
+ # Update properties of this object
1362
+ def update!(**args)
1363
+ @checksum = args[:checksum] if args.key?(:checksum)
1364
+ @file_type = args[:file_type] if args.key?(:file_type)
1365
+ @title = args[:title] if args.key?(:title)
1366
+ end
1367
+ end
1368
+
1369
+ # FileOccurrence represents an SPDX File Information section: https://spdx.
1370
+ # github.io/spdx-spec/4-file-information/
1371
+ class FileOccurrence
1372
+ include Google::Apis::Core::Hashable
1373
+
1374
+ # This field provides a place for the SPDX data creator to record, at the file
1375
+ # level, acknowledgements that may be needed to be communicated in some contexts
1376
+ # Corresponds to the JSON property `attributions`
1377
+ # @return [Array<String>]
1378
+ attr_accessor :attributions
1379
+
1380
+ # This field provides a place for the SPDX file creator to record any general
1381
+ # comments about the file
1382
+ # Corresponds to the JSON property `comment`
1383
+ # @return [String]
1384
+ attr_accessor :comment
1385
+
1386
+ # This field provides a place for the SPDX file creator to record file
1387
+ # contributors
1388
+ # Corresponds to the JSON property `contributors`
1389
+ # @return [Array<String>]
1390
+ attr_accessor :contributors
1391
+
1392
+ # Identify the copyright holder of the file, as well as any dates present
1393
+ # Corresponds to the JSON property `copyright`
1394
+ # @return [String]
1395
+ attr_accessor :copyright
1396
+
1397
+ # This field contains the license information actually found in the file, if any
1398
+ # Corresponds to the JSON property `filesLicenseInfo`
1399
+ # @return [Array<String>]
1400
+ attr_accessor :files_license_info
1401
+
1402
+ # Uniquely identify any element in an SPDX document which may be referenced by
1403
+ # other elements
1404
+ # Corresponds to the JSON property `id`
1405
+ # @return [String]
1406
+ attr_accessor :id
1407
+
1408
+ # This field provides a place for the SPDX file creator to record any relevant
1409
+ # background references or analysis that went in to arriving at the Concluded
1410
+ # License for a file
1411
+ # Corresponds to the JSON property `licenseComments`
1412
+ # @return [String]
1413
+ attr_accessor :license_comments
1414
+
1415
+ # This field contains the license the SPDX file creator has concluded as
1416
+ # governing the file or alternative values if the governing license cannot be
1417
+ # determined
1418
+ # Corresponds to the JSON property `licenseConcluded`
1419
+ # @return [String]
1420
+ attr_accessor :license_concluded
1421
+
1422
+ # This field provides a place for the SPDX file creator to record license
1423
+ # notices or other such related notices found in the file
1424
+ # Corresponds to the JSON property `notice`
1425
+ # @return [String]
1426
+ attr_accessor :notice
1427
+
1428
+ def initialize(**args)
1429
+ update!(**args)
1430
+ end
1431
+
1432
+ # Update properties of this object
1433
+ def update!(**args)
1434
+ @attributions = args[:attributions] if args.key?(:attributions)
1435
+ @comment = args[:comment] if args.key?(:comment)
1436
+ @contributors = args[:contributors] if args.key?(:contributors)
1437
+ @copyright = args[:copyright] if args.key?(:copyright)
1438
+ @files_license_info = args[:files_license_info] if args.key?(:files_license_info)
1439
+ @id = args[:id] if args.key?(:id)
1440
+ @license_comments = args[:license_comments] if args.key?(:license_comments)
1441
+ @license_concluded = args[:license_concluded] if args.key?(:license_concluded)
1442
+ @notice = args[:notice] if args.key?(:notice)
1443
+ end
1444
+ end
1445
+
1187
1446
  # A set of properties that uniquely identify a given Docker image.
1188
1447
  class Fingerprint
1189
1448
  include Google::Apis::Core::Hashable
@@ -2149,11 +2408,35 @@ module Google
2149
2408
  # @return [Array<Google::Apis::ContaineranalysisV1beta1::RelatedUrl>]
2150
2409
  attr_accessor :related_url
2151
2410
 
2411
+ # DocumentNote represents an SPDX Document Creation Infromation section: https://
2412
+ # spdx.github.io/spdx-spec/2-document-creation-information/
2413
+ # Corresponds to the JSON property `sbom`
2414
+ # @return [Google::Apis::ContaineranalysisV1beta1::DocumentNote]
2415
+ attr_accessor :sbom
2416
+
2152
2417
  # A one sentence description of this note.
2153
2418
  # Corresponds to the JSON property `shortDescription`
2154
2419
  # @return [String]
2155
2420
  attr_accessor :short_description
2156
2421
 
2422
+ # FileNote represents an SPDX File Information section: https://spdx.github.io/
2423
+ # spdx-spec/4-file-information/
2424
+ # Corresponds to the JSON property `spdxFile`
2425
+ # @return [Google::Apis::ContaineranalysisV1beta1::FileNote]
2426
+ attr_accessor :spdx_file
2427
+
2428
+ # PackageNote represents an SPDX Package Information section: https://spdx.
2429
+ # github.io/spdx-spec/3-package-information/
2430
+ # Corresponds to the JSON property `spdxPackage`
2431
+ # @return [Google::Apis::ContaineranalysisV1beta1::PackageNote]
2432
+ attr_accessor :spdx_package
2433
+
2434
+ # RelationshipNote represents an SPDX Relationship section: https://spdx.github.
2435
+ # io/spdx-spec/7-relationships-between-SPDX-elements/
2436
+ # Corresponds to the JSON property `spdxRelationship`
2437
+ # @return [Google::Apis::ContaineranalysisV1beta1::RelationshipNote]
2438
+ attr_accessor :spdx_relationship
2439
+
2157
2440
  # Output only. The time this note was last updated. This field can be used as a
2158
2441
  # filter in list requests.
2159
2442
  # Corresponds to the JSON property `updateTime`
@@ -2185,7 +2468,11 @@ module Google
2185
2468
  @package = args[:package] if args.key?(:package)
2186
2469
  @related_note_names = args[:related_note_names] if args.key?(:related_note_names)
2187
2470
  @related_url = args[:related_url] if args.key?(:related_url)
2471
+ @sbom = args[:sbom] if args.key?(:sbom)
2188
2472
  @short_description = args[:short_description] if args.key?(:short_description)
2473
+ @spdx_file = args[:spdx_file] if args.key?(:spdx_file)
2474
+ @spdx_package = args[:spdx_package] if args.key?(:spdx_package)
2475
+ @spdx_relationship = args[:spdx_relationship] if args.key?(:spdx_relationship)
2189
2476
  @update_time = args[:update_time] if args.key?(:update_time)
2190
2477
  @vulnerability = args[:vulnerability] if args.key?(:vulnerability)
2191
2478
  end
@@ -2266,6 +2553,30 @@ module Google
2266
2553
  # @return [Google::Apis::ContaineranalysisV1beta1::Resource]
2267
2554
  attr_accessor :resource
2268
2555
 
2556
+ # DocumentOccurrence represents an SPDX Document Creation Information section:
2557
+ # https://spdx.github.io/spdx-spec/2-document-creation-information/
2558
+ # Corresponds to the JSON property `sbom`
2559
+ # @return [Google::Apis::ContaineranalysisV1beta1::DocumentOccurrence]
2560
+ attr_accessor :sbom
2561
+
2562
+ # FileOccurrence represents an SPDX File Information section: https://spdx.
2563
+ # github.io/spdx-spec/4-file-information/
2564
+ # Corresponds to the JSON property `spdxFile`
2565
+ # @return [Google::Apis::ContaineranalysisV1beta1::FileOccurrence]
2566
+ attr_accessor :spdx_file
2567
+
2568
+ # PackageOccurrence represents an SPDX Package Information section: https://spdx.
2569
+ # github.io/spdx-spec/3-package-information/
2570
+ # Corresponds to the JSON property `spdxPackage`
2571
+ # @return [Google::Apis::ContaineranalysisV1beta1::PackageOccurrence]
2572
+ attr_accessor :spdx_package
2573
+
2574
+ # RelationshipOccurrence represents an SPDX Relationship section: https://spdx.
2575
+ # github.io/spdx-spec/7-relationships-between-SPDX-elements/
2576
+ # Corresponds to the JSON property `spdxRelationship`
2577
+ # @return [Google::Apis::ContaineranalysisV1beta1::RelationshipOccurrence]
2578
+ attr_accessor :spdx_relationship
2579
+
2269
2580
  # Output only. The time this occurrence was last updated.
2270
2581
  # Corresponds to the JSON property `updateTime`
2271
2582
  # @return [String]
@@ -2295,6 +2606,10 @@ module Google
2295
2606
  @note_name = args[:note_name] if args.key?(:note_name)
2296
2607
  @remediation = args[:remediation] if args.key?(:remediation)
2297
2608
  @resource = args[:resource] if args.key?(:resource)
2609
+ @sbom = args[:sbom] if args.key?(:sbom)
2610
+ @spdx_file = args[:spdx_file] if args.key?(:spdx_file)
2611
+ @spdx_package = args[:spdx_package] if args.key?(:spdx_package)
2612
+ @spdx_relationship = args[:spdx_relationship] if args.key?(:spdx_relationship)
2298
2613
  @update_time = args[:update_time] if args.key?(:update_time)
2299
2614
  @vulnerability = args[:vulnerability] if args.key?(:vulnerability)
2300
2615
  end
@@ -2359,6 +2674,189 @@ module Google
2359
2674
  end
2360
2675
  end
2361
2676
 
2677
+ # PackageNote represents an SPDX Package Information section: https://spdx.
2678
+ # github.io/spdx-spec/3-package-information/
2679
+ class PackageNote
2680
+ include Google::Apis::Core::Hashable
2681
+
2682
+ # Indicates whether the file content of this package has been available for or
2683
+ # subjected to analysis when creating the SPDX document
2684
+ # Corresponds to the JSON property `analyzed`
2685
+ # @return [Boolean]
2686
+ attr_accessor :analyzed
2687
+ alias_method :analyzed?, :analyzed
2688
+
2689
+ # A place for the SPDX data creator to record, at the package level,
2690
+ # acknowledgements that may be needed to be communicated in some contexts
2691
+ # Corresponds to the JSON property `attribution`
2692
+ # @return [String]
2693
+ attr_accessor :attribution
2694
+
2695
+ # Provide an independently reproducible mechanism that permits unique
2696
+ # identification of a specific package that correlates to the data in this SPDX
2697
+ # file
2698
+ # Corresponds to the JSON property `checksum`
2699
+ # @return [String]
2700
+ attr_accessor :checksum
2701
+
2702
+ # Identify the copyright holders of the package, as well as any dates present
2703
+ # Corresponds to the JSON property `copyright`
2704
+ # @return [String]
2705
+ attr_accessor :copyright
2706
+
2707
+ # A more detailed description of the package
2708
+ # Corresponds to the JSON property `detailedDescription`
2709
+ # @return [String]
2710
+ attr_accessor :detailed_description
2711
+
2712
+ # This section identifies the download Universal Resource Locator (URL), or a
2713
+ # specific location within a version control system (VCS) for the package at the
2714
+ # time that the SPDX file was created
2715
+ # Corresponds to the JSON property `downloadLocation`
2716
+ # @return [String]
2717
+ attr_accessor :download_location
2718
+
2719
+ # ExternalRef
2720
+ # Corresponds to the JSON property `externalRefs`
2721
+ # @return [Array<Google::Apis::ContaineranalysisV1beta1::ExternalRef>]
2722
+ attr_accessor :external_refs
2723
+
2724
+ # Contain the license the SPDX file creator has concluded as governing the This
2725
+ # field is to contain a list of all licenses found in the package. The
2726
+ # relationship between licenses (i.e., conjunctive, disjunctive) is not
2727
+ # specified in this field – it is simply a listing of all licenses found
2728
+ # Corresponds to the JSON property `filesLicenseInfo`
2729
+ # @return [Array<String>]
2730
+ attr_accessor :files_license_info
2731
+
2732
+ # Provide a place for the SPDX file creator to record a web site that serves as
2733
+ # the package's home page
2734
+ # Corresponds to the JSON property `homePage`
2735
+ # @return [String]
2736
+ attr_accessor :home_page
2737
+
2738
+ # List the licenses that have been declared by the authors of the package
2739
+ # Corresponds to the JSON property `licenseDeclared`
2740
+ # @return [String]
2741
+ attr_accessor :license_declared
2742
+
2743
+ # If the package identified in the SPDX file originated from a different person
2744
+ # or organization than identified as Package Supplier, this field identifies
2745
+ # from where or whom the package originally came
2746
+ # Corresponds to the JSON property `originator`
2747
+ # @return [String]
2748
+ attr_accessor :originator
2749
+
2750
+ # A short description of the package
2751
+ # Corresponds to the JSON property `summaryDescription`
2752
+ # @return [String]
2753
+ attr_accessor :summary_description
2754
+
2755
+ # Identify the actual distribution source for the package/directory identified
2756
+ # in the SPDX file
2757
+ # Corresponds to the JSON property `supplier`
2758
+ # @return [String]
2759
+ attr_accessor :supplier
2760
+
2761
+ # Identify the full name of the package as given by the Package Originator
2762
+ # Corresponds to the JSON property `title`
2763
+ # @return [String]
2764
+ attr_accessor :title
2765
+
2766
+ # This field provides an independently reproducible mechanism identifying
2767
+ # specific contents of a package based on the actual files (except the SPDX file
2768
+ # itself, if it is included in the package) that make up each package and that
2769
+ # correlates to the data in this SPDX file
2770
+ # Corresponds to the JSON property `verificationCode`
2771
+ # @return [String]
2772
+ attr_accessor :verification_code
2773
+
2774
+ # Identify the version of the package
2775
+ # Corresponds to the JSON property `version`
2776
+ # @return [String]
2777
+ attr_accessor :version
2778
+
2779
+ def initialize(**args)
2780
+ update!(**args)
2781
+ end
2782
+
2783
+ # Update properties of this object
2784
+ def update!(**args)
2785
+ @analyzed = args[:analyzed] if args.key?(:analyzed)
2786
+ @attribution = args[:attribution] if args.key?(:attribution)
2787
+ @checksum = args[:checksum] if args.key?(:checksum)
2788
+ @copyright = args[:copyright] if args.key?(:copyright)
2789
+ @detailed_description = args[:detailed_description] if args.key?(:detailed_description)
2790
+ @download_location = args[:download_location] if args.key?(:download_location)
2791
+ @external_refs = args[:external_refs] if args.key?(:external_refs)
2792
+ @files_license_info = args[:files_license_info] if args.key?(:files_license_info)
2793
+ @home_page = args[:home_page] if args.key?(:home_page)
2794
+ @license_declared = args[:license_declared] if args.key?(:license_declared)
2795
+ @originator = args[:originator] if args.key?(:originator)
2796
+ @summary_description = args[:summary_description] if args.key?(:summary_description)
2797
+ @supplier = args[:supplier] if args.key?(:supplier)
2798
+ @title = args[:title] if args.key?(:title)
2799
+ @verification_code = args[:verification_code] if args.key?(:verification_code)
2800
+ @version = args[:version] if args.key?(:version)
2801
+ end
2802
+ end
2803
+
2804
+ # PackageOccurrence represents an SPDX Package Information section: https://spdx.
2805
+ # github.io/spdx-spec/3-package-information/
2806
+ class PackageOccurrence
2807
+ include Google::Apis::Core::Hashable
2808
+
2809
+ # A place for the SPDX file creator to record any general comments about the
2810
+ # package being described
2811
+ # Corresponds to the JSON property `comment`
2812
+ # @return [String]
2813
+ attr_accessor :comment
2814
+
2815
+ # Provide the actual file name of the package, or path of the directory being
2816
+ # treated as a package
2817
+ # Corresponds to the JSON property `filename`
2818
+ # @return [String]
2819
+ attr_accessor :filename
2820
+
2821
+ # Uniquely identify any element in an SPDX document which may be referenced by
2822
+ # other elements
2823
+ # Corresponds to the JSON property `id`
2824
+ # @return [String]
2825
+ attr_accessor :id
2826
+
2827
+ # This field provides a place for the SPDX file creator to record any relevant
2828
+ # background information or analysis that went in to arriving at the Concluded
2829
+ # License for a package
2830
+ # Corresponds to the JSON property `licenseComments`
2831
+ # @return [String]
2832
+ attr_accessor :license_comments
2833
+
2834
+ # package or alternative values, if the governing license cannot be determined
2835
+ # Corresponds to the JSON property `licenseConcluded`
2836
+ # @return [String]
2837
+ attr_accessor :license_concluded
2838
+
2839
+ # Provide a place for the SPDX file creator to record any relevant background
2840
+ # information or additional comments about the origin of the package
2841
+ # Corresponds to the JSON property `sourceInfo`
2842
+ # @return [String]
2843
+ attr_accessor :source_info
2844
+
2845
+ def initialize(**args)
2846
+ update!(**args)
2847
+ end
2848
+
2849
+ # Update properties of this object
2850
+ def update!(**args)
2851
+ @comment = args[:comment] if args.key?(:comment)
2852
+ @filename = args[:filename] if args.key?(:filename)
2853
+ @id = args[:id] if args.key?(:id)
2854
+ @license_comments = args[:license_comments] if args.key?(:license_comments)
2855
+ @license_concluded = args[:license_concluded] if args.key?(:license_concluded)
2856
+ @source_info = args[:source_info] if args.key?(:source_info)
2857
+ end
2858
+ end
2859
+
2362
2860
  # An attestation wrapper with a PGP-compatible signature. This message only
2363
2861
  # supports `ATTACHED` signatures, where the payload that is signed is included
2364
2862
  # alongside the signature itself in the same file.
@@ -2547,6 +3045,63 @@ module Google
2547
3045
  end
2548
3046
  end
2549
3047
 
3048
+ # RelationshipNote represents an SPDX Relationship section: https://spdx.github.
3049
+ # io/spdx-spec/7-relationships-between-SPDX-elements/
3050
+ class RelationshipNote
3051
+ include Google::Apis::Core::Hashable
3052
+
3053
+ def initialize(**args)
3054
+ update!(**args)
3055
+ end
3056
+
3057
+ # Update properties of this object
3058
+ def update!(**args)
3059
+ end
3060
+ end
3061
+
3062
+ # RelationshipOccurrence represents an SPDX Relationship section: https://spdx.
3063
+ # github.io/spdx-spec/7-relationships-between-SPDX-elements/
3064
+ class RelationshipOccurrence
3065
+ include Google::Apis::Core::Hashable
3066
+
3067
+ # A place for the SPDX file creator to record any general comments about the
3068
+ # relationship
3069
+ # Corresponds to the JSON property `comment`
3070
+ # @return [String]
3071
+ attr_accessor :comment
3072
+
3073
+ # Also referred to as SPDXRef-A The source SPDX element (file, package, etc)
3074
+ # Corresponds to the JSON property `source`
3075
+ # @return [String]
3076
+ attr_accessor :source
3077
+
3078
+ # Also referred to as SPDXRef-B The target SPDC element (file, package, etc) In
3079
+ # cases where there are "known unknowns", the use of the keyword NOASSERTION can
3080
+ # be used The keywords NONE can be used to indicate that an SPDX element (
3081
+ # package/file/snippet) has no other elements connected by some relationship to
3082
+ # it
3083
+ # Corresponds to the JSON property `target`
3084
+ # @return [String]
3085
+ attr_accessor :target
3086
+
3087
+ # The type of relationship between the source and target SPDX elements
3088
+ # Corresponds to the JSON property `type`
3089
+ # @return [String]
3090
+ attr_accessor :type
3091
+
3092
+ def initialize(**args)
3093
+ update!(**args)
3094
+ end
3095
+
3096
+ # Update properties of this object
3097
+ def update!(**args)
3098
+ @comment = args[:comment] if args.key?(:comment)
3099
+ @source = args[:source] if args.key?(:source)
3100
+ @target = args[:target] if args.key?(:target)
3101
+ @type = args[:type] if args.key?(:type)
3102
+ end
3103
+ end
3104
+
2550
3105
  # A unique identifier for a Cloud Repo.
2551
3106
  class RepoId
2552
3107
  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.7.0"
19
+ GEM_VERSION = "0.8.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
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 = "20210723"
26
26
  end
27
27
  end
28
28
  end
@@ -184,6 +184,18 @@ module Google
184
184
  include Google::Apis::Core::JsonObjectSupport
185
185
  end
186
186
 
187
+ class DocumentNote
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class DocumentOccurrence
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
187
199
  class Empty
188
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
201
 
@@ -202,12 +214,30 @@ module Google
202
214
  include Google::Apis::Core::JsonObjectSupport
203
215
  end
204
216
 
217
+ class ExternalRef
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
205
223
  class FileHashes
206
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
225
 
208
226
  include Google::Apis::Core::JsonObjectSupport
209
227
  end
210
228
 
229
+ class FileNote
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class FileOccurrence
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
211
241
  class Fingerprint
212
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
243
 
@@ -406,6 +436,18 @@ module Google
406
436
  include Google::Apis::Core::JsonObjectSupport
407
437
  end
408
438
 
439
+ class PackageNote
440
+ class Representation < Google::Apis::Core::JsonRepresentation; end
441
+
442
+ include Google::Apis::Core::JsonObjectSupport
443
+ end
444
+
445
+ class PackageOccurrence
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
409
451
  class PgpSignedAttestation
410
452
  class Representation < Google::Apis::Core::JsonRepresentation; end
411
453
 
@@ -430,6 +472,18 @@ module Google
430
472
  include Google::Apis::Core::JsonObjectSupport
431
473
  end
432
474
 
475
+ class RelationshipNote
476
+ class Representation < Google::Apis::Core::JsonRepresentation; end
477
+
478
+ include Google::Apis::Core::JsonObjectSupport
479
+ end
480
+
481
+ class RelationshipOccurrence
482
+ class Representation < Google::Apis::Core::JsonRepresentation; end
483
+
484
+ include Google::Apis::Core::JsonObjectSupport
485
+ end
486
+
433
487
  class RepoId
434
488
  class Representation < Google::Apis::Core::JsonRepresentation; end
435
489
 
@@ -806,6 +860,29 @@ module Google
806
860
  end
807
861
  end
808
862
 
863
+ class DocumentNote
864
+ # @private
865
+ class Representation < Google::Apis::Core::JsonRepresentation
866
+ property :data_licence, as: 'dataLicence'
867
+ property :spdx_version, as: 'spdxVersion'
868
+ end
869
+ end
870
+
871
+ class DocumentOccurrence
872
+ # @private
873
+ class Representation < Google::Apis::Core::JsonRepresentation
874
+ property :create_time, as: 'createTime'
875
+ property :creator_comment, as: 'creatorComment'
876
+ collection :creators, as: 'creators'
877
+ property :document_comment, as: 'documentComment'
878
+ collection :external_document_refs, as: 'externalDocumentRefs'
879
+ property :id, as: 'id'
880
+ property :license_list_version, as: 'licenseListVersion'
881
+ property :namespace, as: 'namespace'
882
+ property :title, as: 'title'
883
+ end
884
+ end
885
+
809
886
  class Empty
810
887
  # @private
811
888
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -829,6 +906,16 @@ module Google
829
906
  end
830
907
  end
831
908
 
909
+ class ExternalRef
910
+ # @private
911
+ class Representation < Google::Apis::Core::JsonRepresentation
912
+ property :category, as: 'category'
913
+ property :comment, as: 'comment'
914
+ property :locator, as: 'locator'
915
+ property :type, as: 'type'
916
+ end
917
+ end
918
+
832
919
  class FileHashes
833
920
  # @private
834
921
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -837,6 +924,30 @@ module Google
837
924
  end
838
925
  end
839
926
 
927
+ class FileNote
928
+ # @private
929
+ class Representation < Google::Apis::Core::JsonRepresentation
930
+ collection :checksum, as: 'checksum'
931
+ property :file_type, as: 'fileType'
932
+ property :title, as: 'title'
933
+ end
934
+ end
935
+
936
+ class FileOccurrence
937
+ # @private
938
+ class Representation < Google::Apis::Core::JsonRepresentation
939
+ collection :attributions, as: 'attributions'
940
+ property :comment, as: 'comment'
941
+ collection :contributors, as: 'contributors'
942
+ property :copyright, as: 'copyright'
943
+ collection :files_license_info, as: 'filesLicenseInfo'
944
+ property :id, as: 'id'
945
+ property :license_comments, as: 'licenseComments'
946
+ property :license_concluded, as: 'licenseConcluded'
947
+ property :notice, as: 'notice'
948
+ end
949
+ end
950
+
840
951
  class Fingerprint
841
952
  # @private
842
953
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1134,7 +1245,15 @@ module Google
1134
1245
  collection :related_note_names, as: 'relatedNoteNames'
1135
1246
  collection :related_url, as: 'relatedUrl', class: Google::Apis::ContaineranalysisV1beta1::RelatedUrl, decorator: Google::Apis::ContaineranalysisV1beta1::RelatedUrl::Representation
1136
1247
 
1248
+ property :sbom, as: 'sbom', class: Google::Apis::ContaineranalysisV1beta1::DocumentNote, decorator: Google::Apis::ContaineranalysisV1beta1::DocumentNote::Representation
1249
+
1137
1250
  property :short_description, as: 'shortDescription'
1251
+ property :spdx_file, as: 'spdxFile', class: Google::Apis::ContaineranalysisV1beta1::FileNote, decorator: Google::Apis::ContaineranalysisV1beta1::FileNote::Representation
1252
+
1253
+ property :spdx_package, as: 'spdxPackage', class: Google::Apis::ContaineranalysisV1beta1::PackageNote, decorator: Google::Apis::ContaineranalysisV1beta1::PackageNote::Representation
1254
+
1255
+ property :spdx_relationship, as: 'spdxRelationship', class: Google::Apis::ContaineranalysisV1beta1::RelationshipNote, decorator: Google::Apis::ContaineranalysisV1beta1::RelationshipNote::Representation
1256
+
1138
1257
  property :update_time, as: 'updateTime'
1139
1258
  property :vulnerability, as: 'vulnerability', class: Google::Apis::ContaineranalysisV1beta1::Vulnerability, decorator: Google::Apis::ContaineranalysisV1beta1::Vulnerability::Representation
1140
1259
 
@@ -1165,6 +1284,14 @@ module Google
1165
1284
  property :remediation, as: 'remediation'
1166
1285
  property :resource, as: 'resource', class: Google::Apis::ContaineranalysisV1beta1::Resource, decorator: Google::Apis::ContaineranalysisV1beta1::Resource::Representation
1167
1286
 
1287
+ property :sbom, as: 'sbom', class: Google::Apis::ContaineranalysisV1beta1::DocumentOccurrence, decorator: Google::Apis::ContaineranalysisV1beta1::DocumentOccurrence::Representation
1288
+
1289
+ property :spdx_file, as: 'spdxFile', class: Google::Apis::ContaineranalysisV1beta1::FileOccurrence, decorator: Google::Apis::ContaineranalysisV1beta1::FileOccurrence::Representation
1290
+
1291
+ property :spdx_package, as: 'spdxPackage', class: Google::Apis::ContaineranalysisV1beta1::PackageOccurrence, decorator: Google::Apis::ContaineranalysisV1beta1::PackageOccurrence::Representation
1292
+
1293
+ property :spdx_relationship, as: 'spdxRelationship', class: Google::Apis::ContaineranalysisV1beta1::RelationshipOccurrence, decorator: Google::Apis::ContaineranalysisV1beta1::RelationshipOccurrence::Representation
1294
+
1168
1295
  property :update_time, as: 'updateTime'
1169
1296
  property :vulnerability, as: 'vulnerability', class: Google::Apis::ContaineranalysisV1beta1::GrafeasV1beta1VulnerabilityDetails, decorator: Google::Apis::ContaineranalysisV1beta1::GrafeasV1beta1VulnerabilityDetails::Representation
1170
1297
 
@@ -1191,6 +1318,41 @@ module Google
1191
1318
  end
1192
1319
  end
1193
1320
 
1321
+ class PackageNote
1322
+ # @private
1323
+ class Representation < Google::Apis::Core::JsonRepresentation
1324
+ property :analyzed, as: 'analyzed'
1325
+ property :attribution, as: 'attribution'
1326
+ property :checksum, as: 'checksum'
1327
+ property :copyright, as: 'copyright'
1328
+ property :detailed_description, as: 'detailedDescription'
1329
+ property :download_location, as: 'downloadLocation'
1330
+ collection :external_refs, as: 'externalRefs', class: Google::Apis::ContaineranalysisV1beta1::ExternalRef, decorator: Google::Apis::ContaineranalysisV1beta1::ExternalRef::Representation
1331
+
1332
+ collection :files_license_info, as: 'filesLicenseInfo'
1333
+ property :home_page, as: 'homePage'
1334
+ property :license_declared, as: 'licenseDeclared'
1335
+ property :originator, as: 'originator'
1336
+ property :summary_description, as: 'summaryDescription'
1337
+ property :supplier, as: 'supplier'
1338
+ property :title, as: 'title'
1339
+ property :verification_code, as: 'verificationCode'
1340
+ property :version, as: 'version'
1341
+ end
1342
+ end
1343
+
1344
+ class PackageOccurrence
1345
+ # @private
1346
+ class Representation < Google::Apis::Core::JsonRepresentation
1347
+ property :comment, as: 'comment'
1348
+ property :filename, as: 'filename'
1349
+ property :id, as: 'id'
1350
+ property :license_comments, as: 'licenseComments'
1351
+ property :license_concluded, as: 'licenseConcluded'
1352
+ property :source_info, as: 'sourceInfo'
1353
+ end
1354
+ end
1355
+
1194
1356
  class PgpSignedAttestation
1195
1357
  # @private
1196
1358
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1226,6 +1388,22 @@ module Google
1226
1388
  end
1227
1389
  end
1228
1390
 
1391
+ class RelationshipNote
1392
+ # @private
1393
+ class Representation < Google::Apis::Core::JsonRepresentation
1394
+ end
1395
+ end
1396
+
1397
+ class RelationshipOccurrence
1398
+ # @private
1399
+ class Representation < Google::Apis::Core::JsonRepresentation
1400
+ property :comment, as: 'comment'
1401
+ property :source, as: 'source'
1402
+ property :target, as: 'target'
1403
+ property :type, as: 'type'
1404
+ end
1405
+ end
1406
+
1229
1407
  class RepoId
1230
1408
  # @private
1231
1409
  class Representation < Google::Apis::Core::JsonRepresentation
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.7.0
4
+ version: 0.8.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-07-05 00:00:00.000000000 Z
11
+ date: 2021-08-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -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.7.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1beta1/v0.8.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: []