google-apis-ondemandscanning_v1beta1 0.45.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: 6be69654be0110516052a07d4ef16344ae1fc5a85588231e16ce3b3065c29bb4
4
- data.tar.gz: f712b74ddce50f8f9a7f8ff3e06c282b522900e685aa768db274480f07af4969
3
+ metadata.gz: d6b0f37148f76a129da6db1d200b8b5ffb74c1da683582490cd08a3b1dd71d22
4
+ data.tar.gz: 05b519f7353cbabdc6f6349730f05d96dcaadd1e21e8049ca4201d7d437e8378
5
5
  SHA512:
6
- metadata.gz: b998cd9ba7bab870f4fc02d88f7e055af0b7e48fb70626d80e3e570ce553f0e58452a6f193a39963bc67f159aea99481ec7f4a881d7a08259f40a16bb38fd51b
7
- data.tar.gz: 989a07a3bc67bf267735297a483737db6fb0bee45e11993c91603674af71e3a45ea95bf93d6532a4527e8b5a81b2bfc1b2019a2fdd079fb541b7d564ec75c10d
6
+ metadata.gz: cd406addbe4356259bca2b933bd2413e4791642b05a6b499ff336093c4c672430f828580a21fe1a94696c982d7db081598cab4557d69af9de89ecda281edc5ac
7
+ data.tar.gz: 4f6d11fef499010232c489d17f44d19c0897a7e52385af32589333ed3d8b53b3dc4b91d652043e8671ef1ee3097023352955381e93c083fea3b2bd9a2ddb6d70
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.45.0 (2024-02-24)
4
8
 
5
9
  * Regenerated using generator version 0.14.0
@@ -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.45.0"
19
+ GEM_VERSION = "0.46.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
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.45.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-02-25 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
@@ -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.45.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: []