google-apis-containeranalysis_v1beta1 0.7.0 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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.11.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 = "20211015"
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
 
@@ -346,6 +382,12 @@ module Google
346
382
  include Google::Apis::Core::JsonObjectSupport
347
383
  end
348
384
 
385
+ class License
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
389
+ end
390
+
349
391
  class Link
350
392
  class Representation < Google::Apis::Core::JsonRepresentation; end
351
393
 
@@ -400,6 +442,18 @@ module Google
400
442
  include Google::Apis::Core::JsonObjectSupport
401
443
  end
402
444
 
445
+ class PackageInfoNote
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
451
+ class PackageInfoOccurrence
452
+ class Representation < Google::Apis::Core::JsonRepresentation; end
453
+
454
+ include Google::Apis::Core::JsonObjectSupport
455
+ end
456
+
403
457
  class PackageIssue
404
458
  class Representation < Google::Apis::Core::JsonRepresentation; end
405
459
 
@@ -430,6 +484,18 @@ module Google
430
484
  include Google::Apis::Core::JsonObjectSupport
431
485
  end
432
486
 
487
+ class RelationshipNote
488
+ class Representation < Google::Apis::Core::JsonRepresentation; end
489
+
490
+ include Google::Apis::Core::JsonObjectSupport
491
+ end
492
+
493
+ class RelationshipOccurrence
494
+ class Representation < Google::Apis::Core::JsonRepresentation; end
495
+
496
+ include Google::Apis::Core::JsonObjectSupport
497
+ end
498
+
433
499
  class RepoId
434
500
  class Representation < Google::Apis::Core::JsonRepresentation; end
435
501
 
@@ -496,12 +562,24 @@ module Google
496
562
  include Google::Apis::Core::JsonObjectSupport
497
563
  end
498
564
 
565
+ class TimeSpan
566
+ class Representation < Google::Apis::Core::JsonRepresentation; end
567
+
568
+ include Google::Apis::Core::JsonObjectSupport
569
+ end
570
+
499
571
  class Version
500
572
  class Representation < Google::Apis::Core::JsonRepresentation; end
501
573
 
502
574
  include Google::Apis::Core::JsonObjectSupport
503
575
  end
504
576
 
577
+ class Volume
578
+ class Representation < Google::Apis::Core::JsonRepresentation; end
579
+
580
+ include Google::Apis::Core::JsonObjectSupport
581
+ end
582
+
505
583
  class Vulnerability
506
584
  class Representation < Google::Apis::Core::JsonRepresentation; end
507
585
 
@@ -667,6 +745,29 @@ module Google
667
745
  end
668
746
  end
669
747
 
748
+ class BuildStep
749
+ # @private
750
+ class Representation < Google::Apis::Core::JsonRepresentation
751
+ collection :args, as: 'args'
752
+ property :dir, as: 'dir'
753
+ property :entrypoint, as: 'entrypoint'
754
+ collection :env, as: 'env'
755
+ property :id, as: 'id'
756
+ property :name, as: 'name'
757
+ property :pull_timing, as: 'pullTiming', class: Google::Apis::ContaineranalysisV1beta1::TimeSpan, decorator: Google::Apis::ContaineranalysisV1beta1::TimeSpan::Representation
758
+
759
+ property :script, as: 'script'
760
+ collection :secret_env, as: 'secretEnv'
761
+ property :status, as: 'status'
762
+ property :timeout, as: 'timeout'
763
+ property :timing, as: 'timing', class: Google::Apis::ContaineranalysisV1beta1::TimeSpan, decorator: Google::Apis::ContaineranalysisV1beta1::TimeSpan::Representation
764
+
765
+ collection :volumes, as: 'volumes', class: Google::Apis::ContaineranalysisV1beta1::Volume, decorator: Google::Apis::ContaineranalysisV1beta1::Volume::Representation
766
+
767
+ collection :wait_for, as: 'waitFor'
768
+ end
769
+ end
770
+
670
771
  class ByProducts
671
772
  # @private
672
773
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -806,6 +907,29 @@ module Google
806
907
  end
807
908
  end
808
909
 
910
+ class DocumentNote
911
+ # @private
912
+ class Representation < Google::Apis::Core::JsonRepresentation
913
+ property :data_licence, as: 'dataLicence'
914
+ property :spdx_version, as: 'spdxVersion'
915
+ end
916
+ end
917
+
918
+ class DocumentOccurrence
919
+ # @private
920
+ class Representation < Google::Apis::Core::JsonRepresentation
921
+ property :create_time, as: 'createTime'
922
+ property :creator_comment, as: 'creatorComment'
923
+ collection :creators, as: 'creators'
924
+ property :document_comment, as: 'documentComment'
925
+ collection :external_document_refs, as: 'externalDocumentRefs'
926
+ property :id, as: 'id'
927
+ property :license_list_version, as: 'licenseListVersion'
928
+ property :namespace, as: 'namespace'
929
+ property :title, as: 'title'
930
+ end
931
+ end
932
+
809
933
  class Empty
810
934
  # @private
811
935
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -829,6 +953,16 @@ module Google
829
953
  end
830
954
  end
831
955
 
956
+ class ExternalRef
957
+ # @private
958
+ class Representation < Google::Apis::Core::JsonRepresentation
959
+ property :category, as: 'category'
960
+ property :comment, as: 'comment'
961
+ property :locator, as: 'locator'
962
+ property :type, as: 'type'
963
+ end
964
+ end
965
+
832
966
  class FileHashes
833
967
  # @private
834
968
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -837,6 +971,30 @@ module Google
837
971
  end
838
972
  end
839
973
 
974
+ class FileNote
975
+ # @private
976
+ class Representation < Google::Apis::Core::JsonRepresentation
977
+ collection :checksum, as: 'checksum'
978
+ property :file_type, as: 'fileType'
979
+ property :title, as: 'title'
980
+ end
981
+ end
982
+
983
+ class FileOccurrence
984
+ # @private
985
+ class Representation < Google::Apis::Core::JsonRepresentation
986
+ collection :attributions, as: 'attributions'
987
+ property :comment, as: 'comment'
988
+ collection :contributors, as: 'contributors'
989
+ property :copyright, as: 'copyright'
990
+ collection :files_license_info, as: 'filesLicenseInfo'
991
+ property :id, as: 'id'
992
+ property :license_concluded, as: 'licenseConcluded', class: Google::Apis::ContaineranalysisV1beta1::License, decorator: Google::Apis::ContaineranalysisV1beta1::License::Representation
993
+
994
+ property :notice, as: 'notice'
995
+ end
996
+ end
997
+
840
998
  class Fingerprint
841
999
  # @private
842
1000
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1048,6 +1206,14 @@ module Google
1048
1206
  end
1049
1207
  end
1050
1208
 
1209
+ class License
1210
+ # @private
1211
+ class Representation < Google::Apis::Core::JsonRepresentation
1212
+ property :comments, as: 'comments'
1213
+ property :expression, as: 'expression'
1214
+ end
1215
+ end
1216
+
1051
1217
  class Link
1052
1218
  # @private
1053
1219
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1134,7 +1300,15 @@ module Google
1134
1300
  collection :related_note_names, as: 'relatedNoteNames'
1135
1301
  collection :related_url, as: 'relatedUrl', class: Google::Apis::ContaineranalysisV1beta1::RelatedUrl, decorator: Google::Apis::ContaineranalysisV1beta1::RelatedUrl::Representation
1136
1302
 
1303
+ property :sbom, as: 'sbom', class: Google::Apis::ContaineranalysisV1beta1::DocumentNote, decorator: Google::Apis::ContaineranalysisV1beta1::DocumentNote::Representation
1304
+
1137
1305
  property :short_description, as: 'shortDescription'
1306
+ property :spdx_file, as: 'spdxFile', class: Google::Apis::ContaineranalysisV1beta1::FileNote, decorator: Google::Apis::ContaineranalysisV1beta1::FileNote::Representation
1307
+
1308
+ property :spdx_package, as: 'spdxPackage', class: Google::Apis::ContaineranalysisV1beta1::PackageInfoNote, decorator: Google::Apis::ContaineranalysisV1beta1::PackageInfoNote::Representation
1309
+
1310
+ property :spdx_relationship, as: 'spdxRelationship', class: Google::Apis::ContaineranalysisV1beta1::RelationshipNote, decorator: Google::Apis::ContaineranalysisV1beta1::RelationshipNote::Representation
1311
+
1138
1312
  property :update_time, as: 'updateTime'
1139
1313
  property :vulnerability, as: 'vulnerability', class: Google::Apis::ContaineranalysisV1beta1::Vulnerability, decorator: Google::Apis::ContaineranalysisV1beta1::Vulnerability::Representation
1140
1314
 
@@ -1165,6 +1339,14 @@ module Google
1165
1339
  property :remediation, as: 'remediation'
1166
1340
  property :resource, as: 'resource', class: Google::Apis::ContaineranalysisV1beta1::Resource, decorator: Google::Apis::ContaineranalysisV1beta1::Resource::Representation
1167
1341
 
1342
+ property :sbom, as: 'sbom', class: Google::Apis::ContaineranalysisV1beta1::DocumentOccurrence, decorator: Google::Apis::ContaineranalysisV1beta1::DocumentOccurrence::Representation
1343
+
1344
+ property :spdx_file, as: 'spdxFile', class: Google::Apis::ContaineranalysisV1beta1::FileOccurrence, decorator: Google::Apis::ContaineranalysisV1beta1::FileOccurrence::Representation
1345
+
1346
+ property :spdx_package, as: 'spdxPackage', class: Google::Apis::ContaineranalysisV1beta1::PackageInfoOccurrence, decorator: Google::Apis::ContaineranalysisV1beta1::PackageInfoOccurrence::Representation
1347
+
1348
+ property :spdx_relationship, as: 'spdxRelationship', class: Google::Apis::ContaineranalysisV1beta1::RelationshipOccurrence, decorator: Google::Apis::ContaineranalysisV1beta1::RelationshipOccurrence::Representation
1349
+
1168
1350
  property :update_time, as: 'updateTime'
1169
1351
  property :vulnerability, as: 'vulnerability', class: Google::Apis::ContaineranalysisV1beta1::GrafeasV1beta1VulnerabilityDetails, decorator: Google::Apis::ContaineranalysisV1beta1::GrafeasV1beta1VulnerabilityDetails::Representation
1170
1352
 
@@ -1180,13 +1362,57 @@ module Google
1180
1362
  end
1181
1363
  end
1182
1364
 
1365
+ class PackageInfoNote
1366
+ # @private
1367
+ class Representation < Google::Apis::Core::JsonRepresentation
1368
+ property :analyzed, as: 'analyzed'
1369
+ property :attribution, as: 'attribution'
1370
+ property :checksum, as: 'checksum'
1371
+ property :copyright, as: 'copyright'
1372
+ property :detailed_description, as: 'detailedDescription'
1373
+ property :download_location, as: 'downloadLocation'
1374
+ collection :external_refs, as: 'externalRefs', class: Google::Apis::ContaineranalysisV1beta1::ExternalRef, decorator: Google::Apis::ContaineranalysisV1beta1::ExternalRef::Representation
1375
+
1376
+ collection :files_license_info, as: 'filesLicenseInfo'
1377
+ property :home_page, as: 'homePage'
1378
+ property :license_declared, as: 'licenseDeclared', class: Google::Apis::ContaineranalysisV1beta1::License, decorator: Google::Apis::ContaineranalysisV1beta1::License::Representation
1379
+
1380
+ property :originator, as: 'originator'
1381
+ property :package_type, as: 'packageType'
1382
+ property :summary_description, as: 'summaryDescription'
1383
+ property :supplier, as: 'supplier'
1384
+ property :title, as: 'title'
1385
+ property :verification_code, as: 'verificationCode'
1386
+ property :version, as: 'version'
1387
+ end
1388
+ end
1389
+
1390
+ class PackageInfoOccurrence
1391
+ # @private
1392
+ class Representation < Google::Apis::Core::JsonRepresentation
1393
+ property :comment, as: 'comment'
1394
+ property :filename, as: 'filename'
1395
+ property :home_page, as: 'homePage'
1396
+ property :id, as: 'id'
1397
+ property :license_concluded, as: 'licenseConcluded', class: Google::Apis::ContaineranalysisV1beta1::License, decorator: Google::Apis::ContaineranalysisV1beta1::License::Representation
1398
+
1399
+ property :package_type, as: 'packageType'
1400
+ property :source_info, as: 'sourceInfo'
1401
+ property :summary_description, as: 'summaryDescription'
1402
+ property :title, as: 'title'
1403
+ property :version, as: 'version'
1404
+ end
1405
+ end
1406
+
1183
1407
  class PackageIssue
1184
1408
  # @private
1185
1409
  class Representation < Google::Apis::Core::JsonRepresentation
1186
1410
  property :affected_location, as: 'affectedLocation', class: Google::Apis::ContaineranalysisV1beta1::VulnerabilityLocation, decorator: Google::Apis::ContaineranalysisV1beta1::VulnerabilityLocation::Representation
1187
1411
 
1412
+ property :effective_severity, as: 'effectiveSeverity'
1188
1413
  property :fixed_location, as: 'fixedLocation', class: Google::Apis::ContaineranalysisV1beta1::VulnerabilityLocation, decorator: Google::Apis::ContaineranalysisV1beta1::VulnerabilityLocation::Representation
1189
1414
 
1415
+ property :package_type, as: 'packageType'
1190
1416
  property :severity_name, as: 'severityName'
1191
1417
  end
1192
1418
  end
@@ -1226,6 +1452,23 @@ module Google
1226
1452
  end
1227
1453
  end
1228
1454
 
1455
+ class RelationshipNote
1456
+ # @private
1457
+ class Representation < Google::Apis::Core::JsonRepresentation
1458
+ property :type, as: 'type'
1459
+ end
1460
+ end
1461
+
1462
+ class RelationshipOccurrence
1463
+ # @private
1464
+ class Representation < Google::Apis::Core::JsonRepresentation
1465
+ property :comment, as: 'comment'
1466
+ property :source, as: 'source'
1467
+ property :target, as: 'target'
1468
+ property :type, as: 'type'
1469
+ end
1470
+ end
1471
+
1229
1472
  class RepoId
1230
1473
  # @private
1231
1474
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1331,6 +1574,14 @@ module Google
1331
1574
  end
1332
1575
  end
1333
1576
 
1577
+ class TimeSpan
1578
+ # @private
1579
+ class Representation < Google::Apis::Core::JsonRepresentation
1580
+ property :end_time, as: 'endTime'
1581
+ property :start_time, as: 'startTime'
1582
+ end
1583
+ end
1584
+
1334
1585
  class Version
1335
1586
  # @private
1336
1587
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1342,6 +1593,14 @@ module Google
1342
1593
  end
1343
1594
  end
1344
1595
 
1596
+ class Volume
1597
+ # @private
1598
+ class Representation < Google::Apis::Core::JsonRepresentation
1599
+ property :name, as: 'name'
1600
+ property :path, as: 'path'
1601
+ end
1602
+ end
1603
+
1345
1604
  class Vulnerability
1346
1605
  # @private
1347
1606
  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.7.0
4
+ version: 0.11.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-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -57,9 +57,9 @@ licenses:
57
57
  - Apache-2.0
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
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
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-containeranalysis_v1beta1
60
+ changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1beta1/CHANGELOG.md
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1beta1/v0.11.0
62
+ source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []
65
65
  require_paths: