google-apis-ondemandscanning_v1beta1 0.27.0 → 0.28.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: f4dc3c3cb5f2b02b58728d5875524654476d6e1cf74373afc6b798fdf9f9046d
4
- data.tar.gz: da9e696b24826601334416dfa041a0a26475883054f58c82c3390247dd686cb3
3
+ metadata.gz: 3bcf094cdf64121a64e87afe1021f440a5041e17ce91a6557b8c8e100e58dfbf
4
+ data.tar.gz: 2b0a601acdef5b0418898fc7ecd508effbf1c1482ea3a449a81a93852c6b7704
5
5
  SHA512:
6
- metadata.gz: aed7e63cc6373896015d93bbddd342d9c9461773a860201a6280489063202b2db8a2acd9230f312ae2071218c46892635c147b3b3d5adc25dc4715b4fa2ce019
7
- data.tar.gz: b7b0ab679a19f2a155015145aea58f0e63f92defd5b530fa1696b21fb09660ae90bb1455e1a1cd343a17b122b3bba6bcec13242bc78e57e20f7902250bdb6106
6
+ metadata.gz: e023bc23f1f94bd555e34a7b6758bb3fc108ef3a254cbb3444113a2a1d9edb50e0760934bfcaf9ca6c8650da916e0837a4d1ffa05cda7986a534cc62415dd18f
7
+ data.tar.gz: 0f901c93eacec3ac5c1529e90f7e527109aef1bb30bcaae4c6a97bf75e43dc7ca98926c69709b055cf504465676546d8d19d843d74624221c6a5d848f1938342
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-ondemandscanning_v1beta1
2
2
 
3
+ ### v0.28.0 (2022-07-13)
4
+
5
+ * Regenerated from discovery document revision 20220711
6
+ * Regenerated using generator version 0.9.0
7
+
3
8
  ### v0.27.0 (2022-06-30)
4
9
 
5
10
  * 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)
@@ -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.28.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.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220612"
25
+ REVISION = "20220711"
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
 
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.28.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-07-18 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.27.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1beta1/v0.28.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: []