google-apis-ondemandscanning_v1 0.46.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: cb671d70d614e21b6632363c8abc78c567fc27fac4c64c5bdc90ee851b076f90
4
- data.tar.gz: 7fef4873ae45cb331eaab85f19264a2a2041194bf097270a94e48ef56b9e2360
3
+ metadata.gz: bae9076e10d54e1fc39a979b79b630a73bc9ef8684fab574453fe7bb4e606711
4
+ data.tar.gz: fa3726d880fb8581896e3d935c5f3d3bb9089f895536583e9790d0dd78828ee7
5
5
  SHA512:
6
- metadata.gz: 05dc7a770e153c71d50835d39c81244805f7da3b699fc3efd84a3e5adbe718b669d717e7aabb16e720717d31fd322eb5df4d386712ec9273c2eac65ecc2ff4e4
7
- data.tar.gz: f20f4782b21b3c87e2029fc90d076f19f8dabe30b62e7481f9c75e2298a85e8bcc9795f3edc366c550ca056af83ec3acc3fc111bf20e123da099f84c4be1babe
6
+ metadata.gz: d8d652d3419d9936032f555a180239170ea3966d02f1d4338e252ea2ad087fd46e79fc41d68298fcdaad349e1a27f9425de812941da9ee755dbc4f518d259032
7
+ data.tar.gz: 6a4c73748fd5220eddcffe0b418be4125c7c525e1b5f277c9d2ce2bce31606db41c2ce05d57a3e1a5f575e50eb7edd283d581943a33146a2baadfc37c82270f5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.47.0 (2024-02-24)
8
+
9
+ * Regenerated using generator version 0.14.0
10
+
3
11
  ### v0.46.0 (2024-01-23)
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
 
@@ -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.46.0"
19
+ GEM_VERSION = "0.48.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
 
@@ -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.46.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-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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1/v0.46.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: []
@@ -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 V1