google-apis-ondemandscanning_v1 0.26.0 → 0.27.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: b1ebb5f2a9f00fa7d1804b802ac1910ddd2dd6e639a715397e383d3d82ac1b52
4
- data.tar.gz: eaf29ee917d498a2f278c81a9928e093b004c71452ac0c661a6b9c20769ff644
3
+ metadata.gz: c5530f00855a68f64fcd8a2c8397bb0dac27c52406c8b1dff688828a5e4528cb
4
+ data.tar.gz: 7e2b07161412e0863a856b1698d081ef4bd4118c9defd23fd74349a5837536b2
5
5
  SHA512:
6
- metadata.gz: bba0e932c082e6f4822986129c084661371e8d70c4da8808e683ef50ed8f9fcd9344fbec0057dc44c03bf6415eb15553c1e977c471bc834878ef55c930a82266
7
- data.tar.gz: b38d2306c980d6764820b3a50854f8c12b2734502a68f5fde05e630bc29f04385df3acf22a234d44e76a3db75055bee1d5c5633ac843458de91b20960aa02a7b
6
+ metadata.gz: 6bec8a02494f90854820327d0eed1f8610d893efbdff2654ed8697eaa7d134940e76aa9e6eff942055e1b0115647530e88b3867e748826fe33b9539040416397
7
+ data.tar.gz: 0e61b67680f07b4bd167d622ee950bc3e40e74f3a15f96c10762a17110124ac2bcfc402440e73e70c094785681635695952a9ef24138c987835b8c5457329842
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-ondemandscanning_v1
2
2
 
3
+ ### v0.27.0 (2022-07-13)
4
+
5
+ * Regenerated from discovery document revision 20220711
6
+ * Regenerated using generator version 0.9.0
7
+
3
8
  ### v0.26.0 (2022-07-03)
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
@@ -769,6 +789,18 @@ module Google
769
789
  class DiscoveryOccurrence
770
790
  include Google::Apis::Core::Hashable
771
791
 
792
+ # Indicates which analysis completed successfully. Multiple types of analysis
793
+ # can be performed on a single resource.
794
+ # Corresponds to the JSON property `analysisCompleted`
795
+ # @return [Google::Apis::OndemandscanningV1::AnalysisCompleted]
796
+ attr_accessor :analysis_completed
797
+
798
+ # Indicates any errors encountered during analysis of a resource. There could be
799
+ # 0 or more of these errors.
800
+ # Corresponds to the JSON property `analysisError`
801
+ # @return [Array<Google::Apis::OndemandscanningV1::Status>]
802
+ attr_accessor :analysis_error
803
+
772
804
  # The status of discovery for the resource.
773
805
  # Corresponds to the JSON property `analysisStatus`
774
806
  # @return [String]
@@ -811,6 +843,8 @@ module Google
811
843
 
812
844
  # Update properties of this object
813
845
  def update!(**args)
846
+ @analysis_completed = args[:analysis_completed] if args.key?(:analysis_completed)
847
+ @analysis_error = args[:analysis_error] if args.key?(:analysis_error)
814
848
  @analysis_status = args[:analysis_status] if args.key?(:analysis_status)
815
849
  @analysis_status_error = args[:analysis_status_error] if args.key?(:analysis_status_error)
816
850
  @archive_time = args[:archive_time] if args.key?(:archive_time)
@@ -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.26.0"
19
+ GEM_VERSION = "0.27.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
@@ -675,6 +688,10 @@ module Google
675
688
  class DiscoveryOccurrence
676
689
  # @private
677
690
  class Representation < Google::Apis::Core::JsonRepresentation
691
+ property :analysis_completed, as: 'analysisCompleted', class: Google::Apis::OndemandscanningV1::AnalysisCompleted, decorator: Google::Apis::OndemandscanningV1::AnalysisCompleted::Representation
692
+
693
+ collection :analysis_error, as: 'analysisError', class: Google::Apis::OndemandscanningV1::Status, decorator: Google::Apis::OndemandscanningV1::Status::Representation
694
+
678
695
  property :analysis_status, as: 'analysisStatus'
679
696
  property :analysis_status_error, as: 'analysisStatusError', class: Google::Apis::OndemandscanningV1::Status, decorator: Google::Apis::OndemandscanningV1::Status::Representation
680
697
 
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.26.0
4
+ version: 0.27.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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1/v0.26.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1/v0.27.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: []