google-apis-ondemandscanning_v1 0.47.0 → 0.48.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: 3f09d39d13d0f129ba7180cd9355eb63940a160dde64bc5d28f688f5884183ea
4
- data.tar.gz: fb84635a6e7c4a1f6f001f7bc21bcbf471d46d0ce687b52b2036ed8dedcebdd1
3
+ metadata.gz: bae9076e10d54e1fc39a979b79b630a73bc9ef8684fab574453fe7bb4e606711
4
+ data.tar.gz: fa3726d880fb8581896e3d935c5f3d3bb9089f895536583e9790d0dd78828ee7
5
5
  SHA512:
6
- metadata.gz: 48672365bf5c42df9c2b65ffb72df37bbed3735d610a125146e7bee00c855e0401c711714f3c847ce05c13179baf774f3b69561e73d472e0e40d0a52aca66e28
7
- data.tar.gz: 299d665947ea8fa4d00ee3c3a73ab6c886578a406f6d4c1a31cf355ac3fa2ca173a2f18f2c934cf50bc96a009a7db23ec1165fe593f8cfb4f30f82d27302634f
6
+ metadata.gz: d8d652d3419d9936032f555a180239170ea3966d02f1d4338e252ea2ad087fd46e79fc41d68298fcdaad349e1a27f9425de812941da9ee755dbc4f518d259032
7
+ data.tar.gz: 6a4c73748fd5220eddcffe0b418be4125c7c525e1b5f277c9d2ce2bce31606db41c2ce05d57a3e1a5f575e50eb7edd283d581943a33146a2baadfc37c82270f5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-ondemandscanning_v1
2
2
 
3
+ ### v0.48.0 (2024-05-05)
4
+
5
+ * Regenerated from discovery document revision 20240429
6
+
3
7
  ### v0.47.0 (2024-02-24)
4
8
 
5
9
  * Regenerated using generator version 0.14.0
@@ -797,6 +797,12 @@ module Google
797
797
  # @return [Array<Google::Apis::OndemandscanningV1::NonCompliantFile>]
798
798
  attr_accessor :non_compliant_files
799
799
 
800
+ # Describes the CIS benchmark version that is applicable to a given OS and os
801
+ # version.
802
+ # Corresponds to the JSON property `version`
803
+ # @return [Google::Apis::OndemandscanningV1::ComplianceVersion]
804
+ attr_accessor :version
805
+
800
806
  def initialize(**args)
801
807
  update!(**args)
802
808
  end
@@ -805,6 +811,42 @@ module Google
805
811
  def update!(**args)
806
812
  @non_compliance_reason = args[:non_compliance_reason] if args.key?(:non_compliance_reason)
807
813
  @non_compliant_files = args[:non_compliant_files] if args.key?(:non_compliant_files)
814
+ @version = args[:version] if args.key?(:version)
815
+ end
816
+ end
817
+
818
+ # Describes the CIS benchmark version that is applicable to a given OS and os
819
+ # version.
820
+ class ComplianceVersion
821
+ include Google::Apis::Core::Hashable
822
+
823
+ # The name of the document that defines this benchmark, e.g. "CIS Container-
824
+ # Optimized OS".
825
+ # Corresponds to the JSON property `benchmarkDocument`
826
+ # @return [String]
827
+ attr_accessor :benchmark_document
828
+
829
+ # The CPE URI (https://cpe.mitre.org/specification/) this benchmark is
830
+ # applicable to.
831
+ # Corresponds to the JSON property `cpeUri`
832
+ # @return [String]
833
+ attr_accessor :cpe_uri
834
+
835
+ # The version of the benchmark. This is set to the version of the OS-specific
836
+ # CIS document the benchmark is defined in.
837
+ # Corresponds to the JSON property `version`
838
+ # @return [String]
839
+ attr_accessor :version
840
+
841
+ def initialize(**args)
842
+ update!(**args)
843
+ end
844
+
845
+ # Update properties of this object
846
+ def update!(**args)
847
+ @benchmark_document = args[:benchmark_document] if args.key?(:benchmark_document)
848
+ @cpe_uri = args[:cpe_uri] if args.key?(:cpe_uri)
849
+ @version = args[:version] if args.key?(:version)
808
850
  end
809
851
  end
810
852
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module OndemandscanningV1
18
18
  # Version of the google-apis-ondemandscanning_v1 gem
19
- GEM_VERSION = "0.47.0"
19
+ GEM_VERSION = "0.48.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
 
@@ -793,6 +799,17 @@ module Google
793
799
  property :non_compliance_reason, as: 'nonComplianceReason'
794
800
  collection :non_compliant_files, as: 'nonCompliantFiles', class: Google::Apis::OndemandscanningV1::NonCompliantFile, decorator: Google::Apis::OndemandscanningV1::NonCompliantFile::Representation
795
801
 
802
+ property :version, as: 'version', class: Google::Apis::OndemandscanningV1::ComplianceVersion, decorator: Google::Apis::OndemandscanningV1::ComplianceVersion::Representation
803
+
804
+ end
805
+ end
806
+
807
+ class ComplianceVersion
808
+ # @private
809
+ class Representation < Google::Apis::Core::JsonRepresentation
810
+ property :benchmark_document, as: 'benchmarkDocument'
811
+ property :cpe_uri, as: 'cpeUri'
812
+ property :version, as: 'version'
796
813
  end
797
814
  end
798
815
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-ondemandscanning_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.47.0
4
+ version: 0.48.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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1/v0.47.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1/v0.48.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-ondemandscanning_v1
63
63
  post_install_message:
64
64
  rdoc_options: []