google-apis-ondemandscanning_v1beta1 0.44.0 → 0.46.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: e5189640dfc0a92c4d5500b6efd30c7e0988c4ae2cc7e65d5024c4d792461ff0
4
- data.tar.gz: deb153120043b65657f663cca61e8691db293508a05c830a37871d54602255a7
3
+ metadata.gz: d6b0f37148f76a129da6db1d200b8b5ffb74c1da683582490cd08a3b1dd71d22
4
+ data.tar.gz: 05b519f7353cbabdc6f6349730f05d96dcaadd1e21e8049ca4201d7d437e8378
5
5
  SHA512:
6
- metadata.gz: be45acb0b2ad5a0f57f1d5874f1275bc8b08e1123a599d92810182fb0bb1f171f21d596b9f1e0f7dc4bd5ee85d75e1657b052408263fa663a2b58c94aaa6ec75
7
- data.tar.gz: 65f79d8f5ac3422e933ddffb8296b1152315ad51f6cc8a4ed61393a32fe985080aa978c1d53929b2785114b03052ff272994f421936c7bead5e8a089e76c068c
6
+ metadata.gz: cd406addbe4356259bca2b933bd2413e4791642b05a6b499ff336093c4c672430f828580a21fe1a94696c982d7db081598cab4557d69af9de89ecda281edc5ac
7
+ data.tar.gz: 4f6d11fef499010232c489d17f44d19c0897a7e52385af32589333ed3d8b53b3dc4b91d652043e8671ef1ee3097023352955381e93c083fea3b2bd9a2ddb6d70
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-ondemandscanning_v1beta1
2
2
 
3
+ ### v0.46.0 (2024-05-05)
4
+
5
+ * Regenerated from discovery document revision 20240429
6
+
7
+ ### v0.45.0 (2024-02-24)
8
+
9
+ * Regenerated using generator version 0.14.0
10
+
3
11
  ### v0.44.0 (2024-01-22)
4
12
 
5
13
  * Regenerated from discovery document revision 20231204
data/OVERVIEW.md CHANGED
@@ -83,9 +83,9 @@ The [product documentation](https://cloud.google.com/container-analysis/docs/on-
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.5+.
86
+ This library is supported on Ruby 2.7+.
87
87
 
88
- Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Currently, this means Ruby 2.5 and later. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
88
+ Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
90
90
  ## License
91
91
 
@@ -789,6 +789,12 @@ module Google
789
789
  # @return [Array<Google::Apis::OndemandscanningV1beta1::NonCompliantFile>]
790
790
  attr_accessor :non_compliant_files
791
791
 
792
+ # Describes the CIS benchmark version that is applicable to a given OS and os
793
+ # version.
794
+ # Corresponds to the JSON property `version`
795
+ # @return [Google::Apis::OndemandscanningV1beta1::ComplianceVersion]
796
+ attr_accessor :version
797
+
792
798
  def initialize(**args)
793
799
  update!(**args)
794
800
  end
@@ -797,6 +803,42 @@ module Google
797
803
  def update!(**args)
798
804
  @non_compliance_reason = args[:non_compliance_reason] if args.key?(:non_compliance_reason)
799
805
  @non_compliant_files = args[:non_compliant_files] if args.key?(:non_compliant_files)
806
+ @version = args[:version] if args.key?(:version)
807
+ end
808
+ end
809
+
810
+ # Describes the CIS benchmark version that is applicable to a given OS and os
811
+ # version.
812
+ class ComplianceVersion
813
+ include Google::Apis::Core::Hashable
814
+
815
+ # The name of the document that defines this benchmark, e.g. "CIS Container-
816
+ # Optimized OS".
817
+ # Corresponds to the JSON property `benchmarkDocument`
818
+ # @return [String]
819
+ attr_accessor :benchmark_document
820
+
821
+ # The CPE URI (https://cpe.mitre.org/specification/) this benchmark is
822
+ # applicable to.
823
+ # Corresponds to the JSON property `cpeUri`
824
+ # @return [String]
825
+ attr_accessor :cpe_uri
826
+
827
+ # The version of the benchmark. This is set to the version of the OS-specific
828
+ # CIS document the benchmark is defined in.
829
+ # Corresponds to the JSON property `version`
830
+ # @return [String]
831
+ attr_accessor :version
832
+
833
+ def initialize(**args)
834
+ update!(**args)
835
+ end
836
+
837
+ # Update properties of this object
838
+ def update!(**args)
839
+ @benchmark_document = args[:benchmark_document] if args.key?(:benchmark_document)
840
+ @cpe_uri = args[:cpe_uri] if args.key?(:cpe_uri)
841
+ @version = args[:version] if args.key?(:version)
800
842
  end
801
843
  end
802
844
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module OndemandscanningV1beta1
18
18
  # Version of the google-apis-ondemandscanning_v1beta1 gem
19
- GEM_VERSION = "0.44.0"
19
+ GEM_VERSION = "0.46.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.13.0"
22
+ GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231204"
25
+ REVISION = "20240429"
26
26
  end
27
27
  end
28
28
  end
@@ -148,6 +148,12 @@ module Google
148
148
  include Google::Apis::Core::JsonObjectSupport
149
149
  end
150
150
 
151
+ class ComplianceVersion
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
151
157
  class DsseAttestationOccurrence
152
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
159
 
@@ -792,6 +798,17 @@ module Google
792
798
  property :non_compliance_reason, as: 'nonComplianceReason'
793
799
  collection :non_compliant_files, as: 'nonCompliantFiles', class: Google::Apis::OndemandscanningV1beta1::NonCompliantFile, decorator: Google::Apis::OndemandscanningV1beta1::NonCompliantFile::Representation
794
800
 
801
+ property :version, as: 'version', class: Google::Apis::OndemandscanningV1beta1::ComplianceVersion, decorator: Google::Apis::OndemandscanningV1beta1::ComplianceVersion::Representation
802
+
803
+ end
804
+ end
805
+
806
+ class ComplianceVersion
807
+ # @private
808
+ class Representation < Google::Apis::Core::JsonRepresentation
809
+ property :benchmark_document, as: 'benchmarkDocument'
810
+ property :cpe_uri, as: 'cpeUri'
811
+ property :version, as: 'version'
795
812
  end
796
813
  end
797
814
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-ondemandscanning_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.44.0
4
+ version: 0.46.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: 2024-01-23 00:00:00.000000000 Z
11
+ date: 2024-05-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.12.0
19
+ version: 0.14.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.12.0
29
+ version: 0.14.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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-ondemandscanning_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1beta1/v0.44.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1beta1/v0.46.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-ondemandscanning_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -68,14 +68,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
68
68
  requirements:
69
69
  - - ">="
70
70
  - !ruby/object:Gem::Version
71
- version: '2.5'
71
+ version: '2.7'
72
72
  required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - ">="
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.3
78
+ rubygems_version: 3.5.6
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for On-Demand Scanning API V1beta1