google-apis-containeranalysis_v1 0.9.0 → 0.10.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d9e1a359b2cb5a66e3269d6838bb5d57aa96f84dbbb884c96915f4c20ff443e8
4
- data.tar.gz: 0f28aacb806c0840e676406ede0799fe1cc4ddf960946829bb32693bb6ccaf27
3
+ metadata.gz: e57f09456983070fbd5c691428a4896ae8b9d20cb5f2d5da2605eb7df74b9682
4
+ data.tar.gz: feaa069bac82b2caacf00287ea7819e9f9f1515c790b4e38871cab0813eed3ee
5
5
  SHA512:
6
- metadata.gz: 86165aafd0631ba9559184b5663ea546ac6a95726e2e86be9685b0cb78141f09533ffbb3248f43626388cc56de916eda267bcea916f0ab39c4dfea4929584242
7
- data.tar.gz: d3d86f7c0d4ffe38b8419caa5fa858449f41b2865299f7fb597ebbacd26f037271fabdbd427855e8b5a6bc504aaac3fea21fb9e004f72086bf3873c78fa80707
6
+ metadata.gz: 6f3375b70bf5b19c8d9ae644991c7db3f23bae42fcd407b89e92f723a5cd7c18689c32d2158acb09604a05f5db0933184781f7647db85432c727c6b4cec150cc
7
+ data.tar.gz: af3888f66317868c209e9ea08023d23323c65b54f727fd3a8891e0b7648deb50ede34f828e76b685206cd02dc5ff855d71957b85a1d31161bc78f419893365c7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-containeranalysis_v1
2
2
 
3
+ ### v0.10.0 (2022-05-04)
4
+
5
+ * Regenerated from discovery document revision 20220428
6
+
3
7
  ### v0.9.0 (2022-04-21)
4
8
 
5
9
  * Regenerated from discovery document revision 20220414
@@ -493,9 +493,8 @@ module Google
493
493
 
494
494
  # Common Vulnerability Scoring System. For details, see https://www.first.org/
495
495
  # cvss/specification-document This is a message we will try to use for storing
496
- # multiple versions of CVSS. The intention is that as new versions of CVSS
497
- # scores get added, we will be able to modify this message rather than adding
498
- # new protos for each new version of the score.
496
+ # various versions of CVSS rather than making a separate proto for storing a
497
+ # specific version.
499
498
  class Cvss
500
499
  include Google::Apis::Core::Hashable
501
500
 
@@ -2932,6 +2931,26 @@ module Google
2932
2931
  end
2933
2932
  end
2934
2933
 
2934
+ # Indicates the location at which a package was found.
2935
+ class GrafeasV1FileLocation
2936
+ include Google::Apis::Core::Hashable
2937
+
2938
+ # For jars that are contained inside .war files, this filepath can indicate the
2939
+ # path to war file combined with the path to jar file.
2940
+ # Corresponds to the JSON property `filePath`
2941
+ # @return [String]
2942
+ attr_accessor :file_path
2943
+
2944
+ def initialize(**args)
2945
+ update!(**args)
2946
+ end
2947
+
2948
+ # Update properties of this object
2949
+ def update!(**args)
2950
+ @file_path = args[:file_path] if args.key?(:file_path)
2951
+ end
2952
+ end
2953
+
2935
2954
  # Container message for hash values.
2936
2955
  class HashProp
2937
2956
  include Google::Apis::Core::Hashable
@@ -3769,6 +3788,11 @@ module Google
3769
3788
  # @return [String]
3770
3789
  attr_accessor :effective_severity
3771
3790
 
3791
+ # The location at which this package was found.
3792
+ # Corresponds to the JSON property `fileLocation`
3793
+ # @return [Array<Google::Apis::ContaineranalysisV1::GrafeasV1FileLocation>]
3794
+ attr_accessor :file_location
3795
+
3772
3796
  # Output only. Whether a fix is available for this package.
3773
3797
  # Corresponds to the JSON property `fixAvailable`
3774
3798
  # @return [Boolean]
@@ -3807,6 +3831,7 @@ module Google
3807
3831
  @affected_package = args[:affected_package] if args.key?(:affected_package)
3808
3832
  @affected_version = args[:affected_version] if args.key?(:affected_version)
3809
3833
  @effective_severity = args[:effective_severity] if args.key?(:effective_severity)
3834
+ @file_location = args[:file_location] if args.key?(:file_location)
3810
3835
  @fix_available = args[:fix_available] if args.key?(:fix_available)
3811
3836
  @fixed_cpe_uri = args[:fixed_cpe_uri] if args.key?(:fixed_cpe_uri)
3812
3837
  @fixed_package = args[:fixed_package] if args.key?(:fixed_package)
@@ -4844,9 +4869,8 @@ module Google
4844
4869
 
4845
4870
  # Common Vulnerability Scoring System. For details, see https://www.first.org/
4846
4871
  # cvss/specification-document This is a message we will try to use for storing
4847
- # multiple versions of CVSS. The intention is that as new versions of CVSS
4848
- # scores get added, we will be able to modify this message rather than adding
4849
- # new protos for each new version of the score.
4872
+ # various versions of CVSS rather than making a separate proto for storing a
4873
+ # specific version.
4850
4874
  # Corresponds to the JSON property `cvssv3`
4851
4875
  # @return [Google::Apis::ContaineranalysisV1::Cvss]
4852
4876
  attr_accessor :cvssv3
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContaineranalysisV1
18
18
  # Version of the google-apis-containeranalysis_v1 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.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220414"
25
+ REVISION = "20220428"
26
26
  end
27
27
  end
28
28
  end
@@ -442,6 +442,12 @@ module Google
442
442
  include Google::Apis::Core::JsonObjectSupport
443
443
  end
444
444
 
445
+ class GrafeasV1FileLocation
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
445
451
  class HashProp
446
452
  class Representation < Google::Apis::Core::JsonRepresentation; end
447
453
 
@@ -1493,6 +1499,13 @@ module Google
1493
1499
  end
1494
1500
  end
1495
1501
 
1502
+ class GrafeasV1FileLocation
1503
+ # @private
1504
+ class Representation < Google::Apis::Core::JsonRepresentation
1505
+ property :file_path, as: 'filePath'
1506
+ end
1507
+ end
1508
+
1496
1509
  class HashProp
1497
1510
  # @private
1498
1511
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1732,6 +1745,8 @@ module Google
1732
1745
  property :affected_version, as: 'affectedVersion', class: Google::Apis::ContaineranalysisV1::Version, decorator: Google::Apis::ContaineranalysisV1::Version::Representation
1733
1746
 
1734
1747
  property :effective_severity, as: 'effectiveSeverity'
1748
+ collection :file_location, as: 'fileLocation', class: Google::Apis::ContaineranalysisV1::GrafeasV1FileLocation, decorator: Google::Apis::ContaineranalysisV1::GrafeasV1FileLocation::Representation
1749
+
1735
1750
  property :fix_available, as: 'fixAvailable'
1736
1751
  property :fixed_cpe_uri, as: 'fixedCpeUri'
1737
1752
  property :fixed_package, as: 'fixedPackage'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-containeranalysis_v1
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: 2022-04-25 00:00:00.000000000 Z
11
+ date: 2022-05-09 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/main/generated/google-apis-containeranalysis_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1/v0.9.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1/v0.10.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1
63
63
  post_install_message:
64
64
  rdoc_options: []