google-apis-containeranalysis_v1alpha1 0.9.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: eca2824b5d5c9546cdead456b95585e9c8489a28c84811565beca742089c32ae
4
- data.tar.gz: 196da3ebb70cde99f45d9be4d2dc3704dd75b9ace72211ee7120738d4ce90f44
3
+ metadata.gz: 9d986addccc272f154ea16ad8e8da0e65a766413f3ff016e929c7543dfac3f65
4
+ data.tar.gz: b3e951bcfa7fd8904793ced24f97b012980541fdd4ec5e5f7063d74c5c389129
5
5
  SHA512:
6
- metadata.gz: dbdddfd8fc58edf8d74c00f0dc42dba6998fd4ae1ace23b7296e04b7a10de4ab5609f467461334faeab9e984eca3a9762a1dd7a756c2ddf42079bb4ec8913d3a
7
- data.tar.gz: 70e2821e96c6fac23cdd85e402fb267c39729f5233709f143406f70471f14843748dec9dba4c670b9b7c4d2d42b8bfcb90d07bcc16db32ed5db31ff64fd250b5
6
+ metadata.gz: c601d1ee3c3b0a888e8e238be01bb7d8c16f765921f571ffc353b6a6f63ced18da4f9e158f5ed18a17bca477c64ad7a56199c7f7471291ee13749820a54f313f
7
+ data.tar.gz: b554785aef8723e4d1238da962259fcc1baf683dfd8491641d726b491b9a82920162a42f3573113516fd9d6df14bd3f19e023982e05e0052cb5bb2f4b57533b8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-containeranalysis_v1alpha1
2
2
 
3
+ ### v0.10.0 (2021-07-29)
4
+
5
+ * Regenerated from discovery document revision 20210723
6
+
3
7
  ### v0.9.0 (2021-06-29)
4
8
 
5
9
  * Regenerated using generator version 0.4.0
@@ -1007,6 +1007,112 @@ module Google
1007
1007
  end
1008
1008
  end
1009
1009
 
1010
+ # DocumentNote represents an SPDX Document Creation Infromation section: https://
1011
+ # spdx.github.io/spdx-spec/2-document-creation-information/
1012
+ class DocumentNote
1013
+ include Google::Apis::Core::Hashable
1014
+
1015
+ # Compliance with the SPDX specification includes populating the SPDX fields
1016
+ # therein with data related to such fields ("SPDX-Metadata")
1017
+ # Corresponds to the JSON property `dataLicence`
1018
+ # @return [String]
1019
+ attr_accessor :data_licence
1020
+
1021
+ # Provide a reference number that can be used to understand how to parse and
1022
+ # interpret the rest of the file
1023
+ # Corresponds to the JSON property `spdxVersion`
1024
+ # @return [String]
1025
+ attr_accessor :spdx_version
1026
+
1027
+ def initialize(**args)
1028
+ update!(**args)
1029
+ end
1030
+
1031
+ # Update properties of this object
1032
+ def update!(**args)
1033
+ @data_licence = args[:data_licence] if args.key?(:data_licence)
1034
+ @spdx_version = args[:spdx_version] if args.key?(:spdx_version)
1035
+ end
1036
+ end
1037
+
1038
+ # DocumentOccurrence represents an SPDX Document Creation Information section:
1039
+ # https://spdx.github.io/spdx-spec/2-document-creation-information/
1040
+ class DocumentOccurrence
1041
+ include Google::Apis::Core::Hashable
1042
+
1043
+ # Identify when the SPDX file was originally created. The date is to be
1044
+ # specified according to combined date and time in UTC format as specified in
1045
+ # ISO 8601 standard
1046
+ # Corresponds to the JSON property `createTime`
1047
+ # @return [String]
1048
+ attr_accessor :create_time
1049
+
1050
+ # A field for creators of the SPDX file to provide general comments about the
1051
+ # creation of the SPDX file or any other relevant comment not included in the
1052
+ # other fields
1053
+ # Corresponds to the JSON property `creatorComment`
1054
+ # @return [String]
1055
+ attr_accessor :creator_comment
1056
+
1057
+ # Identify who (or what, in the case of a tool) created the SPDX file. If the
1058
+ # SPDX file was created by an individual, indicate the person's name
1059
+ # Corresponds to the JSON property `creators`
1060
+ # @return [Array<String>]
1061
+ attr_accessor :creators
1062
+
1063
+ # A field for creators of the SPDX file content to provide comments to the
1064
+ # consumers of the SPDX document
1065
+ # Corresponds to the JSON property `documentComment`
1066
+ # @return [String]
1067
+ attr_accessor :document_comment
1068
+
1069
+ # Identify any external SPDX documents referenced within this SPDX document
1070
+ # Corresponds to the JSON property `externalDocumentRefs`
1071
+ # @return [Array<String>]
1072
+ attr_accessor :external_document_refs
1073
+
1074
+ # Identify the current SPDX document which may be referenced in relationships by
1075
+ # other files, packages internally and documents externally
1076
+ # Corresponds to the JSON property `id`
1077
+ # @return [String]
1078
+ attr_accessor :id
1079
+
1080
+ # A field for creators of the SPDX file to provide the version of the SPDX
1081
+ # License List used when the SPDX file was created
1082
+ # Corresponds to the JSON property `licenseListVersion`
1083
+ # @return [String]
1084
+ attr_accessor :license_list_version
1085
+
1086
+ # Provide an SPDX document specific namespace as a unique absolute Uniform
1087
+ # Resource Identifier (URI) as specified in RFC-3986, with the exception of the ‘
1088
+ # #’ delimiter
1089
+ # Corresponds to the JSON property `namespace`
1090
+ # @return [String]
1091
+ attr_accessor :namespace
1092
+
1093
+ # Identify name of this document as designated by creator
1094
+ # Corresponds to the JSON property `title`
1095
+ # @return [String]
1096
+ attr_accessor :title
1097
+
1098
+ def initialize(**args)
1099
+ update!(**args)
1100
+ end
1101
+
1102
+ # Update properties of this object
1103
+ def update!(**args)
1104
+ @create_time = args[:create_time] if args.key?(:create_time)
1105
+ @creator_comment = args[:creator_comment] if args.key?(:creator_comment)
1106
+ @creators = args[:creators] if args.key?(:creators)
1107
+ @document_comment = args[:document_comment] if args.key?(:document_comment)
1108
+ @external_document_refs = args[:external_document_refs] if args.key?(:external_document_refs)
1109
+ @id = args[:id] if args.key?(:id)
1110
+ @license_list_version = args[:license_list_version] if args.key?(:license_list_version)
1111
+ @namespace = args[:namespace] if args.key?(:namespace)
1112
+ @title = args[:title] if args.key?(:title)
1113
+ end
1114
+ end
1115
+
1010
1116
  # A generic empty message that you can re-use to avoid defining duplicated empty
1011
1117
  # messages in your APIs. A typical example is to use it as the request or the
1012
1118
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -1078,6 +1184,48 @@ module Google
1078
1184
  end
1079
1185
  end
1080
1186
 
1187
+ # An External Reference allows a Package to reference an external source of
1188
+ # additional information, metadata, enumerations, asset identifiers, or
1189
+ # downloadable content believed to be relevant to the Package
1190
+ class ExternalRef
1191
+ include Google::Apis::Core::Hashable
1192
+
1193
+ # An External Reference allows a Package to reference an external source of
1194
+ # additional information, metadata, enumerations, asset identifiers, or
1195
+ # downloadable content believed to be relevant to the Package
1196
+ # Corresponds to the JSON property `category`
1197
+ # @return [String]
1198
+ attr_accessor :category
1199
+
1200
+ # Human-readable information about the purpose and target of the reference
1201
+ # Corresponds to the JSON property `comment`
1202
+ # @return [String]
1203
+ attr_accessor :comment
1204
+
1205
+ # The unique string with no spaces necessary to access the package-specific
1206
+ # information, metadata, or content within the target location
1207
+ # Corresponds to the JSON property `locator`
1208
+ # @return [String]
1209
+ attr_accessor :locator
1210
+
1211
+ # Type of category (e.g. 'npm' for the PACKAGE_MANAGER category)
1212
+ # Corresponds to the JSON property `type`
1213
+ # @return [String]
1214
+ attr_accessor :type
1215
+
1216
+ def initialize(**args)
1217
+ update!(**args)
1218
+ end
1219
+
1220
+ # Update properties of this object
1221
+ def update!(**args)
1222
+ @category = args[:category] if args.key?(:category)
1223
+ @comment = args[:comment] if args.key?(:comment)
1224
+ @locator = args[:locator] if args.key?(:locator)
1225
+ @type = args[:type] if args.key?(:type)
1226
+ end
1227
+ end
1228
+
1081
1229
  # Container message for hashes of byte content of files, used in Source messages
1082
1230
  # to verify integrity of source input to the build.
1083
1231
  class FileHashes
@@ -1098,6 +1246,117 @@ module Google
1098
1246
  end
1099
1247
  end
1100
1248
 
1249
+ # FileNote represents an SPDX File Information section: https://spdx.github.io/
1250
+ # spdx-spec/4-file-information/
1251
+ class FileNote
1252
+ include Google::Apis::Core::Hashable
1253
+
1254
+ # Provide a unique identifier to match analysis information on each specific
1255
+ # file in a package
1256
+ # Corresponds to the JSON property `checksum`
1257
+ # @return [Array<String>]
1258
+ attr_accessor :checksum
1259
+
1260
+ # This field provides information about the type of file identified
1261
+ # Corresponds to the JSON property `fileType`
1262
+ # @return [String]
1263
+ attr_accessor :file_type
1264
+
1265
+ # Identify the full path and filename that corresponds to the file information
1266
+ # in this section
1267
+ # Corresponds to the JSON property `title`
1268
+ # @return [String]
1269
+ attr_accessor :title
1270
+
1271
+ def initialize(**args)
1272
+ update!(**args)
1273
+ end
1274
+
1275
+ # Update properties of this object
1276
+ def update!(**args)
1277
+ @checksum = args[:checksum] if args.key?(:checksum)
1278
+ @file_type = args[:file_type] if args.key?(:file_type)
1279
+ @title = args[:title] if args.key?(:title)
1280
+ end
1281
+ end
1282
+
1283
+ # FileOccurrence represents an SPDX File Information section: https://spdx.
1284
+ # github.io/spdx-spec/4-file-information/
1285
+ class FileOccurrence
1286
+ include Google::Apis::Core::Hashable
1287
+
1288
+ # This field provides a place for the SPDX data creator to record, at the file
1289
+ # level, acknowledgements that may be needed to be communicated in some contexts
1290
+ # Corresponds to the JSON property `attributions`
1291
+ # @return [Array<String>]
1292
+ attr_accessor :attributions
1293
+
1294
+ # This field provides a place for the SPDX file creator to record any general
1295
+ # comments about the file
1296
+ # Corresponds to the JSON property `comment`
1297
+ # @return [String]
1298
+ attr_accessor :comment
1299
+
1300
+ # This field provides a place for the SPDX file creator to record file
1301
+ # contributors
1302
+ # Corresponds to the JSON property `contributors`
1303
+ # @return [Array<String>]
1304
+ attr_accessor :contributors
1305
+
1306
+ # Identify the copyright holder of the file, as well as any dates present
1307
+ # Corresponds to the JSON property `copyright`
1308
+ # @return [String]
1309
+ attr_accessor :copyright
1310
+
1311
+ # This field contains the license information actually found in the file, if any
1312
+ # Corresponds to the JSON property `filesLicenseInfo`
1313
+ # @return [Array<String>]
1314
+ attr_accessor :files_license_info
1315
+
1316
+ # Uniquely identify any element in an SPDX document which may be referenced by
1317
+ # other elements
1318
+ # Corresponds to the JSON property `id`
1319
+ # @return [String]
1320
+ attr_accessor :id
1321
+
1322
+ # This field provides a place for the SPDX file creator to record any relevant
1323
+ # background references or analysis that went in to arriving at the Concluded
1324
+ # License for a file
1325
+ # Corresponds to the JSON property `licenseComments`
1326
+ # @return [String]
1327
+ attr_accessor :license_comments
1328
+
1329
+ # This field contains the license the SPDX file creator has concluded as
1330
+ # governing the file or alternative values if the governing license cannot be
1331
+ # determined
1332
+ # Corresponds to the JSON property `licenseConcluded`
1333
+ # @return [String]
1334
+ attr_accessor :license_concluded
1335
+
1336
+ # This field provides a place for the SPDX file creator to record license
1337
+ # notices or other such related notices found in the file
1338
+ # Corresponds to the JSON property `notice`
1339
+ # @return [String]
1340
+ attr_accessor :notice
1341
+
1342
+ def initialize(**args)
1343
+ update!(**args)
1344
+ end
1345
+
1346
+ # Update properties of this object
1347
+ def update!(**args)
1348
+ @attributions = args[:attributions] if args.key?(:attributions)
1349
+ @comment = args[:comment] if args.key?(:comment)
1350
+ @contributors = args[:contributors] if args.key?(:contributors)
1351
+ @copyright = args[:copyright] if args.key?(:copyright)
1352
+ @files_license_info = args[:files_license_info] if args.key?(:files_license_info)
1353
+ @id = args[:id] if args.key?(:id)
1354
+ @license_comments = args[:license_comments] if args.key?(:license_comments)
1355
+ @license_concluded = args[:license_concluded] if args.key?(:license_concluded)
1356
+ @notice = args[:notice] if args.key?(:notice)
1357
+ end
1358
+ end
1359
+
1101
1360
  # A set of properties that uniquely identify a given Docker image.
1102
1361
  class Fingerprint
1103
1362
  include Google::Apis::Core::Hashable
@@ -1770,11 +2029,35 @@ module Google
1770
2029
  # @return [Array<Google::Apis::ContaineranalysisV1alpha1::RelatedUrl>]
1771
2030
  attr_accessor :related_url
1772
2031
 
2032
+ # DocumentNote represents an SPDX Document Creation Infromation section: https://
2033
+ # spdx.github.io/spdx-spec/2-document-creation-information/
2034
+ # Corresponds to the JSON property `sbom`
2035
+ # @return [Google::Apis::ContaineranalysisV1alpha1::DocumentNote]
2036
+ attr_accessor :sbom
2037
+
1773
2038
  # A one sentence description of this `Note`.
1774
2039
  # Corresponds to the JSON property `shortDescription`
1775
2040
  # @return [String]
1776
2041
  attr_accessor :short_description
1777
2042
 
2043
+ # FileNote represents an SPDX File Information section: https://spdx.github.io/
2044
+ # spdx-spec/4-file-information/
2045
+ # Corresponds to the JSON property `spdxFile`
2046
+ # @return [Google::Apis::ContaineranalysisV1alpha1::FileNote]
2047
+ attr_accessor :spdx_file
2048
+
2049
+ # PackageNote represents an SPDX Package Information section: https://spdx.
2050
+ # github.io/spdx-spec/3-package-information/
2051
+ # Corresponds to the JSON property `spdxPackage`
2052
+ # @return [Google::Apis::ContaineranalysisV1alpha1::PackageNote]
2053
+ attr_accessor :spdx_package
2054
+
2055
+ # RelationshipNote represents an SPDX Relationship section: https://spdx.github.
2056
+ # io/spdx-spec/7-relationships-between-SPDX-elements/
2057
+ # Corresponds to the JSON property `spdxRelationship`
2058
+ # @return [Google::Apis::ContaineranalysisV1alpha1::RelationshipNote]
2059
+ attr_accessor :spdx_relationship
2060
+
1778
2061
  # Output only. The time this note was last updated. This field can be used as a
1779
2062
  # filter in list requests.
1780
2063
  # Corresponds to the JSON property `updateTime`
@@ -1812,7 +2095,11 @@ module Google
1812
2095
  @name = args[:name] if args.key?(:name)
1813
2096
  @package = args[:package] if args.key?(:package)
1814
2097
  @related_url = args[:related_url] if args.key?(:related_url)
2098
+ @sbom = args[:sbom] if args.key?(:sbom)
1815
2099
  @short_description = args[:short_description] if args.key?(:short_description)
2100
+ @spdx_file = args[:spdx_file] if args.key?(:spdx_file)
2101
+ @spdx_package = args[:spdx_package] if args.key?(:spdx_package)
2102
+ @spdx_relationship = args[:spdx_relationship] if args.key?(:spdx_relationship)
1816
2103
  @update_time = args[:update_time] if args.key?(:update_time)
1817
2104
  @upgrade = args[:upgrade] if args.key?(:upgrade)
1818
2105
  @vulnerability_type = args[:vulnerability_type] if args.key?(:vulnerability_type)
@@ -1908,6 +2195,30 @@ module Google
1908
2195
  # @return [String]
1909
2196
  attr_accessor :resource_url
1910
2197
 
2198
+ # DocumentOccurrence represents an SPDX Document Creation Information section:
2199
+ # https://spdx.github.io/spdx-spec/2-document-creation-information/
2200
+ # Corresponds to the JSON property `sbom`
2201
+ # @return [Google::Apis::ContaineranalysisV1alpha1::DocumentOccurrence]
2202
+ attr_accessor :sbom
2203
+
2204
+ # FileOccurrence represents an SPDX File Information section: https://spdx.
2205
+ # github.io/spdx-spec/4-file-information/
2206
+ # Corresponds to the JSON property `spdxFile`
2207
+ # @return [Google::Apis::ContaineranalysisV1alpha1::FileOccurrence]
2208
+ attr_accessor :spdx_file
2209
+
2210
+ # PackageOccurrence represents an SPDX Package Information section: https://spdx.
2211
+ # github.io/spdx-spec/3-package-information/
2212
+ # Corresponds to the JSON property `spdxPackage`
2213
+ # @return [Google::Apis::ContaineranalysisV1alpha1::PackageOccurrence]
2214
+ attr_accessor :spdx_package
2215
+
2216
+ # RelationshipOccurrence represents an SPDX Relationship section: https://spdx.
2217
+ # github.io/spdx-spec/7-relationships-between-SPDX-elements/
2218
+ # Corresponds to the JSON property `spdxRelationship`
2219
+ # @return [Google::Apis::ContaineranalysisV1alpha1::RelationshipOccurrence]
2220
+ attr_accessor :spdx_relationship
2221
+
1911
2222
  # Output only. The time this `Occurrence` was last updated.
1912
2223
  # Corresponds to the JSON property `updateTime`
1913
2224
  # @return [String]
@@ -1946,6 +2257,10 @@ module Google
1946
2257
  @remediation = args[:remediation] if args.key?(:remediation)
1947
2258
  @resource = args[:resource] if args.key?(:resource)
1948
2259
  @resource_url = args[:resource_url] if args.key?(:resource_url)
2260
+ @sbom = args[:sbom] if args.key?(:sbom)
2261
+ @spdx_file = args[:spdx_file] if args.key?(:spdx_file)
2262
+ @spdx_package = args[:spdx_package] if args.key?(:spdx_package)
2263
+ @spdx_relationship = args[:spdx_relationship] if args.key?(:spdx_relationship)
1949
2264
  @update_time = args[:update_time] if args.key?(:update_time)
1950
2265
  @upgrade = args[:upgrade] if args.key?(:upgrade)
1951
2266
  @vulnerability_details = args[:vulnerability_details] if args.key?(:vulnerability_details)
@@ -2072,6 +2387,189 @@ module Google
2072
2387
  end
2073
2388
  end
2074
2389
 
2390
+ # PackageNote represents an SPDX Package Information section: https://spdx.
2391
+ # github.io/spdx-spec/3-package-information/
2392
+ class PackageNote
2393
+ include Google::Apis::Core::Hashable
2394
+
2395
+ # Indicates whether the file content of this package has been available for or
2396
+ # subjected to analysis when creating the SPDX document
2397
+ # Corresponds to the JSON property `analyzed`
2398
+ # @return [Boolean]
2399
+ attr_accessor :analyzed
2400
+ alias_method :analyzed?, :analyzed
2401
+
2402
+ # A place for the SPDX data creator to record, at the package level,
2403
+ # acknowledgements that may be needed to be communicated in some contexts
2404
+ # Corresponds to the JSON property `attribution`
2405
+ # @return [String]
2406
+ attr_accessor :attribution
2407
+
2408
+ # Provide an independently reproducible mechanism that permits unique
2409
+ # identification of a specific package that correlates to the data in this SPDX
2410
+ # file
2411
+ # Corresponds to the JSON property `checksum`
2412
+ # @return [String]
2413
+ attr_accessor :checksum
2414
+
2415
+ # Identify the copyright holders of the package, as well as any dates present
2416
+ # Corresponds to the JSON property `copyright`
2417
+ # @return [String]
2418
+ attr_accessor :copyright
2419
+
2420
+ # A more detailed description of the package
2421
+ # Corresponds to the JSON property `detailedDescription`
2422
+ # @return [String]
2423
+ attr_accessor :detailed_description
2424
+
2425
+ # This section identifies the download Universal Resource Locator (URL), or a
2426
+ # specific location within a version control system (VCS) for the package at the
2427
+ # time that the SPDX file was created
2428
+ # Corresponds to the JSON property `downloadLocation`
2429
+ # @return [String]
2430
+ attr_accessor :download_location
2431
+
2432
+ # ExternalRef
2433
+ # Corresponds to the JSON property `externalRefs`
2434
+ # @return [Array<Google::Apis::ContaineranalysisV1alpha1::ExternalRef>]
2435
+ attr_accessor :external_refs
2436
+
2437
+ # Contain the license the SPDX file creator has concluded as governing the This
2438
+ # field is to contain a list of all licenses found in the package. The
2439
+ # relationship between licenses (i.e., conjunctive, disjunctive) is not
2440
+ # specified in this field – it is simply a listing of all licenses found
2441
+ # Corresponds to the JSON property `filesLicenseInfo`
2442
+ # @return [Array<String>]
2443
+ attr_accessor :files_license_info
2444
+
2445
+ # Provide a place for the SPDX file creator to record a web site that serves as
2446
+ # the package's home page
2447
+ # Corresponds to the JSON property `homePage`
2448
+ # @return [String]
2449
+ attr_accessor :home_page
2450
+
2451
+ # List the licenses that have been declared by the authors of the package
2452
+ # Corresponds to the JSON property `licenseDeclared`
2453
+ # @return [String]
2454
+ attr_accessor :license_declared
2455
+
2456
+ # If the package identified in the SPDX file originated from a different person
2457
+ # or organization than identified as Package Supplier, this field identifies
2458
+ # from where or whom the package originally came
2459
+ # Corresponds to the JSON property `originator`
2460
+ # @return [String]
2461
+ attr_accessor :originator
2462
+
2463
+ # A short description of the package
2464
+ # Corresponds to the JSON property `summaryDescription`
2465
+ # @return [String]
2466
+ attr_accessor :summary_description
2467
+
2468
+ # Identify the actual distribution source for the package/directory identified
2469
+ # in the SPDX file
2470
+ # Corresponds to the JSON property `supplier`
2471
+ # @return [String]
2472
+ attr_accessor :supplier
2473
+
2474
+ # Identify the full name of the package as given by the Package Originator
2475
+ # Corresponds to the JSON property `title`
2476
+ # @return [String]
2477
+ attr_accessor :title
2478
+
2479
+ # This field provides an independently reproducible mechanism identifying
2480
+ # specific contents of a package based on the actual files (except the SPDX file
2481
+ # itself, if it is included in the package) that make up each package and that
2482
+ # correlates to the data in this SPDX file
2483
+ # Corresponds to the JSON property `verificationCode`
2484
+ # @return [String]
2485
+ attr_accessor :verification_code
2486
+
2487
+ # Identify the version of the package
2488
+ # Corresponds to the JSON property `version`
2489
+ # @return [String]
2490
+ attr_accessor :version
2491
+
2492
+ def initialize(**args)
2493
+ update!(**args)
2494
+ end
2495
+
2496
+ # Update properties of this object
2497
+ def update!(**args)
2498
+ @analyzed = args[:analyzed] if args.key?(:analyzed)
2499
+ @attribution = args[:attribution] if args.key?(:attribution)
2500
+ @checksum = args[:checksum] if args.key?(:checksum)
2501
+ @copyright = args[:copyright] if args.key?(:copyright)
2502
+ @detailed_description = args[:detailed_description] if args.key?(:detailed_description)
2503
+ @download_location = args[:download_location] if args.key?(:download_location)
2504
+ @external_refs = args[:external_refs] if args.key?(:external_refs)
2505
+ @files_license_info = args[:files_license_info] if args.key?(:files_license_info)
2506
+ @home_page = args[:home_page] if args.key?(:home_page)
2507
+ @license_declared = args[:license_declared] if args.key?(:license_declared)
2508
+ @originator = args[:originator] if args.key?(:originator)
2509
+ @summary_description = args[:summary_description] if args.key?(:summary_description)
2510
+ @supplier = args[:supplier] if args.key?(:supplier)
2511
+ @title = args[:title] if args.key?(:title)
2512
+ @verification_code = args[:verification_code] if args.key?(:verification_code)
2513
+ @version = args[:version] if args.key?(:version)
2514
+ end
2515
+ end
2516
+
2517
+ # PackageOccurrence represents an SPDX Package Information section: https://spdx.
2518
+ # github.io/spdx-spec/3-package-information/
2519
+ class PackageOccurrence
2520
+ include Google::Apis::Core::Hashable
2521
+
2522
+ # A place for the SPDX file creator to record any general comments about the
2523
+ # package being described
2524
+ # Corresponds to the JSON property `comment`
2525
+ # @return [String]
2526
+ attr_accessor :comment
2527
+
2528
+ # Provide the actual file name of the package, or path of the directory being
2529
+ # treated as a package
2530
+ # Corresponds to the JSON property `filename`
2531
+ # @return [String]
2532
+ attr_accessor :filename
2533
+
2534
+ # Uniquely identify any element in an SPDX document which may be referenced by
2535
+ # other elements
2536
+ # Corresponds to the JSON property `id`
2537
+ # @return [String]
2538
+ attr_accessor :id
2539
+
2540
+ # This field provides a place for the SPDX file creator to record any relevant
2541
+ # background information or analysis that went in to arriving at the Concluded
2542
+ # License for a package
2543
+ # Corresponds to the JSON property `licenseComments`
2544
+ # @return [String]
2545
+ attr_accessor :license_comments
2546
+
2547
+ # package or alternative values, if the governing license cannot be determined
2548
+ # Corresponds to the JSON property `licenseConcluded`
2549
+ # @return [String]
2550
+ attr_accessor :license_concluded
2551
+
2552
+ # Provide a place for the SPDX file creator to record any relevant background
2553
+ # information or additional comments about the origin of the package
2554
+ # Corresponds to the JSON property `sourceInfo`
2555
+ # @return [String]
2556
+ attr_accessor :source_info
2557
+
2558
+ def initialize(**args)
2559
+ update!(**args)
2560
+ end
2561
+
2562
+ # Update properties of this object
2563
+ def update!(**args)
2564
+ @comment = args[:comment] if args.key?(:comment)
2565
+ @filename = args[:filename] if args.key?(:filename)
2566
+ @id = args[:id] if args.key?(:id)
2567
+ @license_comments = args[:license_comments] if args.key?(:license_comments)
2568
+ @license_concluded = args[:license_concluded] if args.key?(:license_concluded)
2569
+ @source_info = args[:source_info] if args.key?(:source_info)
2570
+ end
2571
+ end
2572
+
2075
2573
  # An attestation wrapper with a PGP-compatible signature. This message only
2076
2574
  # supports `ATTACHED` signatures, where the payload that is signed is included
2077
2575
  # alongside the signature itself in the same file.
@@ -2234,6 +2732,63 @@ module Google
2234
2732
  end
2235
2733
  end
2236
2734
 
2735
+ # RelationshipNote represents an SPDX Relationship section: https://spdx.github.
2736
+ # io/spdx-spec/7-relationships-between-SPDX-elements/
2737
+ class RelationshipNote
2738
+ include Google::Apis::Core::Hashable
2739
+
2740
+ def initialize(**args)
2741
+ update!(**args)
2742
+ end
2743
+
2744
+ # Update properties of this object
2745
+ def update!(**args)
2746
+ end
2747
+ end
2748
+
2749
+ # RelationshipOccurrence represents an SPDX Relationship section: https://spdx.
2750
+ # github.io/spdx-spec/7-relationships-between-SPDX-elements/
2751
+ class RelationshipOccurrence
2752
+ include Google::Apis::Core::Hashable
2753
+
2754
+ # A place for the SPDX file creator to record any general comments about the
2755
+ # relationship
2756
+ # Corresponds to the JSON property `comment`
2757
+ # @return [String]
2758
+ attr_accessor :comment
2759
+
2760
+ # Also referred to as SPDXRef-A The source SPDX element (file, package, etc)
2761
+ # Corresponds to the JSON property `source`
2762
+ # @return [String]
2763
+ attr_accessor :source
2764
+
2765
+ # Also referred to as SPDXRef-B The target SPDC element (file, package, etc) In
2766
+ # cases where there are "known unknowns", the use of the keyword NOASSERTION can
2767
+ # be used The keywords NONE can be used to indicate that an SPDX element (
2768
+ # package/file/snippet) has no other elements connected by some relationship to
2769
+ # it
2770
+ # Corresponds to the JSON property `target`
2771
+ # @return [String]
2772
+ attr_accessor :target
2773
+
2774
+ # The type of relationship between the source and target SPDX elements
2775
+ # Corresponds to the JSON property `type`
2776
+ # @return [String]
2777
+ attr_accessor :type
2778
+
2779
+ def initialize(**args)
2780
+ update!(**args)
2781
+ end
2782
+
2783
+ # Update properties of this object
2784
+ def update!(**args)
2785
+ @comment = args[:comment] if args.key?(:comment)
2786
+ @source = args[:source] if args.key?(:source)
2787
+ @target = args[:target] if args.key?(:target)
2788
+ @type = args[:type] if args.key?(:type)
2789
+ end
2790
+ end
2791
+
2237
2792
  # RepoSource describes the location of the source in a Google Cloud Source
2238
2793
  # Repository.
2239
2794
  class RepoSource
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContaineranalysisV1alpha1
18
18
  # Version of the google-apis-containeranalysis_v1alpha1 gem
19
- GEM_VERSION = "0.9.0"
19
+ GEM_VERSION = "0.10.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 = "20210604"
25
+ REVISION = "20210723"
26
26
  end
27
27
  end
28
28
  end
@@ -160,6 +160,18 @@ module Google
160
160
  include Google::Apis::Core::JsonObjectSupport
161
161
  end
162
162
 
163
+ class DocumentNote
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class DocumentOccurrence
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
163
175
  class Empty
164
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
177
 
@@ -172,12 +184,30 @@ module Google
172
184
  include Google::Apis::Core::JsonObjectSupport
173
185
  end
174
186
 
187
+ class ExternalRef
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
175
193
  class FileHashes
176
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
195
 
178
196
  include Google::Apis::Core::JsonObjectSupport
179
197
  end
180
198
 
199
+ class FileNote
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class FileOccurrence
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
181
211
  class Fingerprint
182
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
213
 
@@ -334,6 +364,18 @@ module Google
334
364
  include Google::Apis::Core::JsonObjectSupport
335
365
  end
336
366
 
367
+ class PackageNote
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
373
+ class PackageOccurrence
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
337
379
  class PgpSignedAttestation
338
380
  class Representation < Google::Apis::Core::JsonRepresentation; end
339
381
 
@@ -352,6 +394,18 @@ module Google
352
394
  include Google::Apis::Core::JsonObjectSupport
353
395
  end
354
396
 
397
+ class RelationshipNote
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ include Google::Apis::Core::JsonObjectSupport
401
+ end
402
+
403
+ class RelationshipOccurrence
404
+ class Representation < Google::Apis::Core::JsonRepresentation; end
405
+
406
+ include Google::Apis::Core::JsonObjectSupport
407
+ end
408
+
355
409
  class RepoSource
356
410
  class Representation < Google::Apis::Core::JsonRepresentation; end
357
411
 
@@ -708,6 +762,29 @@ module Google
708
762
  end
709
763
  end
710
764
 
765
+ class DocumentNote
766
+ # @private
767
+ class Representation < Google::Apis::Core::JsonRepresentation
768
+ property :data_licence, as: 'dataLicence'
769
+ property :spdx_version, as: 'spdxVersion'
770
+ end
771
+ end
772
+
773
+ class DocumentOccurrence
774
+ # @private
775
+ class Representation < Google::Apis::Core::JsonRepresentation
776
+ property :create_time, as: 'createTime'
777
+ property :creator_comment, as: 'creatorComment'
778
+ collection :creators, as: 'creators'
779
+ property :document_comment, as: 'documentComment'
780
+ collection :external_document_refs, as: 'externalDocumentRefs'
781
+ property :id, as: 'id'
782
+ property :license_list_version, as: 'licenseListVersion'
783
+ property :namespace, as: 'namespace'
784
+ property :title, as: 'title'
785
+ end
786
+ end
787
+
711
788
  class Empty
712
789
  # @private
713
790
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -724,6 +801,16 @@ module Google
724
801
  end
725
802
  end
726
803
 
804
+ class ExternalRef
805
+ # @private
806
+ class Representation < Google::Apis::Core::JsonRepresentation
807
+ property :category, as: 'category'
808
+ property :comment, as: 'comment'
809
+ property :locator, as: 'locator'
810
+ property :type, as: 'type'
811
+ end
812
+ end
813
+
727
814
  class FileHashes
728
815
  # @private
729
816
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -732,6 +819,30 @@ module Google
732
819
  end
733
820
  end
734
821
 
822
+ class FileNote
823
+ # @private
824
+ class Representation < Google::Apis::Core::JsonRepresentation
825
+ collection :checksum, as: 'checksum'
826
+ property :file_type, as: 'fileType'
827
+ property :title, as: 'title'
828
+ end
829
+ end
830
+
831
+ class FileOccurrence
832
+ # @private
833
+ class Representation < Google::Apis::Core::JsonRepresentation
834
+ collection :attributions, as: 'attributions'
835
+ property :comment, as: 'comment'
836
+ collection :contributors, as: 'contributors'
837
+ property :copyright, as: 'copyright'
838
+ collection :files_license_info, as: 'filesLicenseInfo'
839
+ property :id, as: 'id'
840
+ property :license_comments, as: 'licenseComments'
841
+ property :license_concluded, as: 'licenseConcluded'
842
+ property :notice, as: 'notice'
843
+ end
844
+ end
845
+
735
846
  class Fingerprint
736
847
  # @private
737
848
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -944,7 +1055,15 @@ module Google
944
1055
 
945
1056
  collection :related_url, as: 'relatedUrl', class: Google::Apis::ContaineranalysisV1alpha1::RelatedUrl, decorator: Google::Apis::ContaineranalysisV1alpha1::RelatedUrl::Representation
946
1057
 
1058
+ property :sbom, as: 'sbom', class: Google::Apis::ContaineranalysisV1alpha1::DocumentNote, decorator: Google::Apis::ContaineranalysisV1alpha1::DocumentNote::Representation
1059
+
947
1060
  property :short_description, as: 'shortDescription'
1061
+ property :spdx_file, as: 'spdxFile', class: Google::Apis::ContaineranalysisV1alpha1::FileNote, decorator: Google::Apis::ContaineranalysisV1alpha1::FileNote::Representation
1062
+
1063
+ property :spdx_package, as: 'spdxPackage', class: Google::Apis::ContaineranalysisV1alpha1::PackageNote, decorator: Google::Apis::ContaineranalysisV1alpha1::PackageNote::Representation
1064
+
1065
+ property :spdx_relationship, as: 'spdxRelationship', class: Google::Apis::ContaineranalysisV1alpha1::RelationshipNote, decorator: Google::Apis::ContaineranalysisV1alpha1::RelationshipNote::Representation
1066
+
948
1067
  property :update_time, as: 'updateTime'
949
1068
  property :upgrade, as: 'upgrade', class: Google::Apis::ContaineranalysisV1alpha1::UpgradeNote, decorator: Google::Apis::ContaineranalysisV1alpha1::UpgradeNote::Representation
950
1069
 
@@ -978,6 +1097,14 @@ module Google
978
1097
  property :resource, as: 'resource', class: Google::Apis::ContaineranalysisV1alpha1::Resource, decorator: Google::Apis::ContaineranalysisV1alpha1::Resource::Representation
979
1098
 
980
1099
  property :resource_url, as: 'resourceUrl'
1100
+ property :sbom, as: 'sbom', class: Google::Apis::ContaineranalysisV1alpha1::DocumentOccurrence, decorator: Google::Apis::ContaineranalysisV1alpha1::DocumentOccurrence::Representation
1101
+
1102
+ property :spdx_file, as: 'spdxFile', class: Google::Apis::ContaineranalysisV1alpha1::FileOccurrence, decorator: Google::Apis::ContaineranalysisV1alpha1::FileOccurrence::Representation
1103
+
1104
+ property :spdx_package, as: 'spdxPackage', class: Google::Apis::ContaineranalysisV1alpha1::PackageOccurrence, decorator: Google::Apis::ContaineranalysisV1alpha1::PackageOccurrence::Representation
1105
+
1106
+ property :spdx_relationship, as: 'spdxRelationship', class: Google::Apis::ContaineranalysisV1alpha1::RelationshipOccurrence, decorator: Google::Apis::ContaineranalysisV1alpha1::RelationshipOccurrence::Representation
1107
+
981
1108
  property :update_time, as: 'updateTime'
982
1109
  property :upgrade, as: 'upgrade', class: Google::Apis::ContaineranalysisV1alpha1::UpgradeOccurrence, decorator: Google::Apis::ContaineranalysisV1alpha1::UpgradeOccurrence::Representation
983
1110
 
@@ -1018,6 +1145,41 @@ module Google
1018
1145
  end
1019
1146
  end
1020
1147
 
1148
+ class PackageNote
1149
+ # @private
1150
+ class Representation < Google::Apis::Core::JsonRepresentation
1151
+ property :analyzed, as: 'analyzed'
1152
+ property :attribution, as: 'attribution'
1153
+ property :checksum, as: 'checksum'
1154
+ property :copyright, as: 'copyright'
1155
+ property :detailed_description, as: 'detailedDescription'
1156
+ property :download_location, as: 'downloadLocation'
1157
+ collection :external_refs, as: 'externalRefs', class: Google::Apis::ContaineranalysisV1alpha1::ExternalRef, decorator: Google::Apis::ContaineranalysisV1alpha1::ExternalRef::Representation
1158
+
1159
+ collection :files_license_info, as: 'filesLicenseInfo'
1160
+ property :home_page, as: 'homePage'
1161
+ property :license_declared, as: 'licenseDeclared'
1162
+ property :originator, as: 'originator'
1163
+ property :summary_description, as: 'summaryDescription'
1164
+ property :supplier, as: 'supplier'
1165
+ property :title, as: 'title'
1166
+ property :verification_code, as: 'verificationCode'
1167
+ property :version, as: 'version'
1168
+ end
1169
+ end
1170
+
1171
+ class PackageOccurrence
1172
+ # @private
1173
+ class Representation < Google::Apis::Core::JsonRepresentation
1174
+ property :comment, as: 'comment'
1175
+ property :filename, as: 'filename'
1176
+ property :id, as: 'id'
1177
+ property :license_comments, as: 'licenseComments'
1178
+ property :license_concluded, as: 'licenseConcluded'
1179
+ property :source_info, as: 'sourceInfo'
1180
+ end
1181
+ end
1182
+
1021
1183
  class PgpSignedAttestation
1022
1184
  # @private
1023
1185
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1045,6 +1207,22 @@ module Google
1045
1207
  end
1046
1208
  end
1047
1209
 
1210
+ class RelationshipNote
1211
+ # @private
1212
+ class Representation < Google::Apis::Core::JsonRepresentation
1213
+ end
1214
+ end
1215
+
1216
+ class RelationshipOccurrence
1217
+ # @private
1218
+ class Representation < Google::Apis::Core::JsonRepresentation
1219
+ property :comment, as: 'comment'
1220
+ property :source, as: 'source'
1221
+ property :target, as: 'target'
1222
+ property :type, as: 'type'
1223
+ end
1224
+ end
1225
+
1048
1226
  class RepoSource
1049
1227
  # @private
1050
1228
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-containeranalysis_v1alpha1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.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-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_v1alpha1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1alpha1/v0.9.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1alpha1/v0.10.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-containeranalysis_v1alpha1
63
63
  post_install_message:
64
64
  rdoc_options: []