google-apis-containeranalysis_v1 0.7.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: 6b6cc33806be10821e68fe453bb4357f378d86ce1cf3184be6f0bf87a5ea9c8a
4
- data.tar.gz: 867523fa4a6f6a77e61d3d64bbb9613203f74b5778e4562289a8b6c81feb10c2
3
+ metadata.gz: e57f09456983070fbd5c691428a4896ae8b9d20cb5f2d5da2605eb7df74b9682
4
+ data.tar.gz: feaa069bac82b2caacf00287ea7819e9f9f1515c790b4e38871cab0813eed3ee
5
5
  SHA512:
6
- metadata.gz: 0c14d17807f940e5ba70726adc97d6ed78cc0388cc547b57151c69800255fa40d37fa09f447da83cae5698891b9d9cb1ade723c06d28e99f74b35194380a7b5a
7
- data.tar.gz: 775a662c961085ef878124adf0719a5b34c1e980aa80aeacf197ad87103be551094fa4f1479f5054c010bdd7cfb31062a385592af0dc6f6b0f88d233e63ffbd2
6
+ metadata.gz: 6f3375b70bf5b19c8d9ae644991c7db3f23bae42fcd407b89e92f723a5cd7c18689c32d2158acb09604a05f5db0933184781f7647db85432c727c6b4cec150cc
7
+ data.tar.gz: af3888f66317868c209e9ea08023d23323c65b54f727fd3a8891e0b7648deb50ede34f828e76b685206cd02dc5ff855d71957b85a1d31161bc78f419893365c7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
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
+
7
+ ### v0.9.0 (2022-04-21)
8
+
9
+ * Regenerated from discovery document revision 20220414
10
+
11
+ ### v0.8.0 (2022-03-23)
12
+
13
+ * Regenerated from discovery document revision 20220318
14
+
3
15
  ### v0.7.0 (2022-02-10)
4
16
 
5
17
  * Regenerated from discovery document revision 20220204
@@ -261,7 +261,7 @@ module Google
261
261
  # @return [Google::Apis::ContaineranalysisV1::Expr]
262
262
  attr_accessor :condition
263
263
 
264
- # Specifies the principals requesting access for a Cloud Platform resource. `
264
+ # Specifies the principals requesting access for a Google Cloud resource. `
265
265
  # members` can have the following values: * `allUsers`: A special identifier
266
266
  # that represents anyone who is on the internet; with or without a Google
267
267
  # account. * `allAuthenticatedUsers`: A special identifier that represents
@@ -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
 
@@ -920,6 +919,12 @@ module Google
920
919
  class ComplianceVersion
921
920
  include Google::Apis::Core::Hashable
922
921
 
922
+ # The name of the document that defines this benchmark, e.g. "CIS Container-
923
+ # Optimized OS".
924
+ # Corresponds to the JSON property `benchmarkDocument`
925
+ # @return [String]
926
+ attr_accessor :benchmark_document
927
+
923
928
  # The CPE URI (https://cpe.mitre.org/specification/) this benchmark is
924
929
  # applicable to.
925
930
  # Corresponds to the JSON property `cpeUri`
@@ -938,6 +943,7 @@ module Google
938
943
 
939
944
  # Update properties of this object
940
945
  def update!(**args)
946
+ @benchmark_document = args[:benchmark_document] if args.key?(:benchmark_document)
941
947
  @cpe_uri = args[:cpe_uri] if args.key?(:cpe_uri)
942
948
  @version = args[:version] if args.key?(:version)
943
949
  end
@@ -2570,8 +2576,7 @@ module Google
2570
2576
  # A generic empty message that you can re-use to avoid defining duplicated empty
2571
2577
  # messages in your APIs. A typical example is to use it as the request or the
2572
2578
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
2573
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
2574
- # `Empty` is empty JSON object ````.
2579
+ # protobuf.Empty) returns (google.protobuf.Empty); `
2575
2580
  class Empty
2576
2581
  include Google::Apis::Core::Hashable
2577
2582
 
@@ -2926,6 +2931,26 @@ module Google
2926
2931
  end
2927
2932
  end
2928
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
+
2929
2954
  # Container message for hash values.
2930
2955
  class HashProp
2931
2956
  include Google::Apis::Core::Hashable
@@ -3763,6 +3788,11 @@ module Google
3763
3788
  # @return [String]
3764
3789
  attr_accessor :effective_severity
3765
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
+
3766
3796
  # Output only. Whether a fix is available for this package.
3767
3797
  # Corresponds to the JSON property `fixAvailable`
3768
3798
  # @return [Boolean]
@@ -3801,6 +3831,7 @@ module Google
3801
3831
  @affected_package = args[:affected_package] if args.key?(:affected_package)
3802
3832
  @affected_version = args[:affected_version] if args.key?(:affected_version)
3803
3833
  @effective_severity = args[:effective_severity] if args.key?(:effective_severity)
3834
+ @file_location = args[:file_location] if args.key?(:file_location)
3804
3835
  @fix_available = args[:fix_available] if args.key?(:fix_available)
3805
3836
  @fixed_cpe_uri = args[:fixed_cpe_uri] if args.key?(:fixed_cpe_uri)
3806
3837
  @fixed_package = args[:fixed_package] if args.key?(:fixed_package)
@@ -4547,7 +4578,7 @@ module Google
4547
4578
  include Google::Apis::Core::Hashable
4548
4579
 
4549
4580
  # The set of permissions to check for the `resource`. Permissions with wildcards
4550
- # (such as '*' or 'storage.*') are not allowed. For more information see [IAM
4581
+ # (such as `*` or `storage.*`) are not allowed. For more information see [IAM
4551
4582
  # Overview](https://cloud.google.com/iam/docs/overview#permissions).
4552
4583
  # Corresponds to the JSON property `permissions`
4553
4584
  # @return [Array<String>]
@@ -4838,9 +4869,8 @@ module Google
4838
4869
 
4839
4870
  # Common Vulnerability Scoring System. For details, see https://www.first.org/
4840
4871
  # cvss/specification-document This is a message we will try to use for storing
4841
- # multiple versions of CVSS. The intention is that as new versions of CVSS
4842
- # scores get added, we will be able to modify this message rather than adding
4843
- # 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.
4844
4874
  # Corresponds to the JSON property `cvssv3`
4845
4875
  # @return [Google::Apis::ContaineranalysisV1::Cvss]
4846
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.7.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 = "20220204"
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
 
@@ -973,6 +979,7 @@ module Google
973
979
  class ComplianceVersion
974
980
  # @private
975
981
  class Representation < Google::Apis::Core::JsonRepresentation
982
+ property :benchmark_document, as: 'benchmarkDocument'
976
983
  property :cpe_uri, as: 'cpeUri'
977
984
  property :version, as: 'version'
978
985
  end
@@ -1492,6 +1499,13 @@ module Google
1492
1499
  end
1493
1500
  end
1494
1501
 
1502
+ class GrafeasV1FileLocation
1503
+ # @private
1504
+ class Representation < Google::Apis::Core::JsonRepresentation
1505
+ property :file_path, as: 'filePath'
1506
+ end
1507
+ end
1508
+
1495
1509
  class HashProp
1496
1510
  # @private
1497
1511
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1731,6 +1745,8 @@ module Google
1731
1745
  property :affected_version, as: 'affectedVersion', class: Google::Apis::ContaineranalysisV1::Version, decorator: Google::Apis::ContaineranalysisV1::Version::Representation
1732
1746
 
1733
1747
  property :effective_severity, as: 'effectiveSeverity'
1748
+ collection :file_location, as: 'fileLocation', class: Google::Apis::ContaineranalysisV1::GrafeasV1FileLocation, decorator: Google::Apis::ContaineranalysisV1::GrafeasV1FileLocation::Representation
1749
+
1734
1750
  property :fix_available, as: 'fixAvailable'
1735
1751
  property :fixed_cpe_uri, as: 'fixedCpeUri'
1736
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.7.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-02-14 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.7.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: []