google-apis-ondemandscanning_v1beta1 0.27.0 → 0.29.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: f4dc3c3cb5f2b02b58728d5875524654476d6e1cf74373afc6b798fdf9f9046d
4
- data.tar.gz: da9e696b24826601334416dfa041a0a26475883054f58c82c3390247dd686cb3
3
+ metadata.gz: 0ea2dbfc4ee2550e09a83225df3330023dbe201b1a4bc08f91b5e253e982686a
4
+ data.tar.gz: 6959e67cbfc40f4a2340d929a0b73ea175cfe2b101e7bc7d9a8d6e1a6ab1de59
5
5
  SHA512:
6
- metadata.gz: aed7e63cc6373896015d93bbddd342d9c9461773a860201a6280489063202b2db8a2acd9230f312ae2071218c46892635c147b3b3d5adc25dc4715b4fa2ce019
7
- data.tar.gz: b7b0ab679a19f2a155015145aea58f0e63f92defd5b530fa1696b21fb09660ae90bb1455e1a1cd343a17b122b3bba6bcec13242bc78e57e20f7902250bdb6106
6
+ metadata.gz: 8a878281b7d1f2e70437d8dba266c8f3ad885bdb228416914908e3a5887b10c2bedc08ab7c8d781ec4146f17d3062343de0d54d39a043a713d556cd4aa9161aa
7
+ data.tar.gz: a857d1b8b2ce7cf9a73b6f3cd34664e9e1dd179b3c02847f1024aa6a1ea4f93c105ae4e56e174e56d5d5780305b8d2d3fbcee60482c3a5db83fc6061736ae995
data/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Release history for google-apis-ondemandscanning_v1beta1
2
2
 
3
+ ### v0.29.0 (2022-10-10)
4
+
5
+ * Regenerated from discovery document revision 20220917
6
+ * Regenerated using generator version 0.10.0
7
+
8
+ ### v0.28.0 (2022-07-13)
9
+
10
+ * Regenerated from discovery document revision 20220711
11
+ * Regenerated using generator version 0.9.0
12
+
3
13
  ### v0.27.0 (2022-06-30)
4
14
 
5
15
  * Regenerated using generator version 0.8.0
@@ -47,6 +47,26 @@ module Google
47
47
  end
48
48
  end
49
49
 
50
+ # Indicates which analysis completed successfully. Multiple types of analysis
51
+ # can be performed on a single resource.
52
+ class AnalysisCompleted
53
+ include Google::Apis::Core::Hashable
54
+
55
+ #
56
+ # Corresponds to the JSON property `analysisType`
57
+ # @return [Array<String>]
58
+ attr_accessor :analysis_type
59
+
60
+ def initialize(**args)
61
+ update!(**args)
62
+ end
63
+
64
+ # Update properties of this object
65
+ def update!(**args)
66
+ @analysis_type = args[:analysis_type] if args.key?(:analysis_type)
67
+ end
68
+ end
69
+
50
70
  # AnalyzePackagesMetadata contains metadata for an active scan of a container
51
71
  # image.
52
72
  class AnalyzePackagesMetadata
@@ -761,6 +781,18 @@ module Google
761
781
  class DiscoveryOccurrence
762
782
  include Google::Apis::Core::Hashable
763
783
 
784
+ # Indicates which analysis completed successfully. Multiple types of analysis
785
+ # can be performed on a single resource.
786
+ # Corresponds to the JSON property `analysisCompleted`
787
+ # @return [Google::Apis::OndemandscanningV1beta1::AnalysisCompleted]
788
+ attr_accessor :analysis_completed
789
+
790
+ # Indicates any errors encountered during analysis of a resource. There could be
791
+ # 0 or more of these errors.
792
+ # Corresponds to the JSON property `analysisError`
793
+ # @return [Array<Google::Apis::OndemandscanningV1beta1::Status>]
794
+ attr_accessor :analysis_error
795
+
764
796
  # The status of discovery for the resource.
765
797
  # Corresponds to the JSON property `analysisStatus`
766
798
  # @return [String]
@@ -803,6 +835,8 @@ module Google
803
835
 
804
836
  # Update properties of this object
805
837
  def update!(**args)
838
+ @analysis_completed = args[:analysis_completed] if args.key?(:analysis_completed)
839
+ @analysis_error = args[:analysis_error] if args.key?(:analysis_error)
806
840
  @analysis_status = args[:analysis_status] if args.key?(:analysis_status)
807
841
  @analysis_status_error = args[:analysis_status_error] if args.key?(:analysis_status_error)
808
842
  @archive_time = args[:archive_time] if args.key?(:archive_time)
@@ -2893,6 +2927,11 @@ module Google
2893
2927
  # @return [Float]
2894
2928
  attr_accessor :cvss_score
2895
2929
 
2930
+ # Output only. CVSS version used to populate cvss_score and severity.
2931
+ # Corresponds to the JSON property `cvssVersion`
2932
+ # @return [String]
2933
+ attr_accessor :cvss_version
2934
+
2896
2935
  # Common Vulnerability Scoring System. For details, see https://www.first.org/
2897
2936
  # cvss/specification-document This is a message we will try to use for storing
2898
2937
  # various versions of CVSS rather than making a separate proto for storing a
@@ -2958,6 +2997,7 @@ module Google
2958
2997
  # Update properties of this object
2959
2998
  def update!(**args)
2960
2999
  @cvss_score = args[:cvss_score] if args.key?(:cvss_score)
3000
+ @cvss_version = args[:cvss_version] if args.key?(:cvss_version)
2961
3001
  @cvssv3 = args[:cvssv3] if args.key?(:cvssv3)
2962
3002
  @effective_severity = args[:effective_severity] if args.key?(:effective_severity)
2963
3003
  @fix_available = args[:fix_available] if args.key?(:fix_available)
@@ -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.27.0"
19
+ GEM_VERSION = "0.29.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.8.0"
22
+ GENERATOR_VERSION = "0.10.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220612"
25
+ REVISION = "20220917"
26
26
  end
27
27
  end
28
28
  end
@@ -28,6 +28,12 @@ module Google
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
30
 
31
+ class AnalysisCompleted
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
31
37
  class AnalyzePackagesMetadata
32
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
39
 
@@ -480,6 +486,13 @@ module Google
480
486
  end
481
487
  end
482
488
 
489
+ class AnalysisCompleted
490
+ # @private
491
+ class Representation < Google::Apis::Core::JsonRepresentation
492
+ collection :analysis_type, as: 'analysisType'
493
+ end
494
+ end
495
+
483
496
  class AnalyzePackagesMetadata
484
497
  # @private
485
498
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -674,6 +687,10 @@ module Google
674
687
  class DiscoveryOccurrence
675
688
  # @private
676
689
  class Representation < Google::Apis::Core::JsonRepresentation
690
+ property :analysis_completed, as: 'analysisCompleted', class: Google::Apis::OndemandscanningV1beta1::AnalysisCompleted, decorator: Google::Apis::OndemandscanningV1beta1::AnalysisCompleted::Representation
691
+
692
+ collection :analysis_error, as: 'analysisError', class: Google::Apis::OndemandscanningV1beta1::Status, decorator: Google::Apis::OndemandscanningV1beta1::Status::Representation
693
+
677
694
  property :analysis_status, as: 'analysisStatus'
678
695
  property :analysis_status_error, as: 'analysisStatusError', class: Google::Apis::OndemandscanningV1beta1::Status, decorator: Google::Apis::OndemandscanningV1beta1::Status::Representation
679
696
 
@@ -1254,6 +1271,7 @@ module Google
1254
1271
  # @private
1255
1272
  class Representation < Google::Apis::Core::JsonRepresentation
1256
1273
  property :cvss_score, as: 'cvssScore'
1274
+ property :cvss_version, as: 'cvssVersion'
1257
1275
  property :cvssv3, as: 'cvssv3', class: Google::Apis::OndemandscanningV1beta1::Cvss, decorator: Google::Apis::OndemandscanningV1beta1::Cvss::Representation
1258
1276
 
1259
1277
  property :effective_severity, as: 'effectiveSeverity'
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.27.0
4
+ version: 0.29.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-07-04 00:00:00.000000000 Z
11
+ date: 2022-10-17 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.7'
19
+ version: 0.9.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.7'
29
+ version: 0.9.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.27.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1beta1/v0.29.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: []