google-apis-containeranalysis_v1alpha1 0.29.0 → 0.32.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: 38d7cf95bfa0b70ce3ce10233fb07fe693ec4647951f7b811e763536322c4198
4
- data.tar.gz: 3196b2090ddaa3102a27997a6cbee9c93c86125e1063dc2700b636b228ccb3ce
3
+ metadata.gz: 8253c3db7481771b5a52954bbda5b9365892b973364762f9391bfc050a87d92d
4
+ data.tar.gz: abfc2d39b5824c1356c163988c695ddc77c8ad574a555979e664f99151eebc4c
5
5
  SHA512:
6
- metadata.gz: f1d93cb299f56bae1df83385a81a08e18f9b615eb2e1a068706d1c60b6447e6cee74fa1d5c7065d77604714accade994bb9ab98d136e95880deaddcdc68b24aa
7
- data.tar.gz: 88d144cb22e8e8cd2a736d7ac2fb4fa889c7132ce6951dd1614230a39788d366b090c89d19e0655466e1f1e50441789469d1d9018cec9f153bf4640370dfedcf
6
+ metadata.gz: 64d6bc4986895569e26af527a18ed630998f79057ee523b9d32869bf1ca15f06fa23c370f6278a642d864fb2b25906dbaaa6cab90d21b9b060df7944039ee447
7
+ data.tar.gz: 185f967dc722041f522124f057e602026a20d13640445503a9c0ef15b1ac2c1ae6451bf3c004d7c7f06035ad3f629a4d4607297f32166e51fd959b7ca9851992
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-containeranalysis_v1alpha1
2
2
 
3
+ ### v0.32.0 (2022-08-04)
4
+
5
+ * Regenerated from discovery document revision 20220727
6
+
7
+ ### v0.31.0 (2022-07-13)
8
+
9
+ * Regenerated from discovery document revision 20220707
10
+ * Regenerated using generator version 0.9.0
11
+
12
+ ### v0.30.0 (2022-07-01)
13
+
14
+ * Regenerated using generator version 0.8.0
15
+
3
16
  ### v0.29.0 (2022-06-17)
4
17
 
5
18
  * Regenerated using generator version 0.6.0
@@ -22,6 +22,26 @@ module Google
22
22
  module Apis
23
23
  module ContaineranalysisV1alpha1
24
24
 
25
+ # Indicates which analysis completed successfully. Multiple types of analysis
26
+ # can be performed on a single resource.
27
+ class AnalysisCompleted
28
+ include Google::Apis::Core::Hashable
29
+
30
+ # type of analysis that were completed on a resource.
31
+ # Corresponds to the JSON property `analysisType`
32
+ # @return [Array<String>]
33
+ attr_accessor :analysis_type
34
+
35
+ def initialize(**args)
36
+ update!(**args)
37
+ end
38
+
39
+ # Update properties of this object
40
+ def update!(**args)
41
+ @analysis_type = args[:analysis_type] if args.key?(:analysis_type)
42
+ end
43
+ end
44
+
25
45
  # Artifact describes a build product.
26
46
  class Artifact
27
47
  include Google::Apis::Core::Hashable
@@ -784,6 +804,12 @@ module Google
784
804
  class ComplianceVersion
785
805
  include Google::Apis::Core::Hashable
786
806
 
807
+ # The name of the document that defines this benchmark, e.g. "CIS Container-
808
+ # Optimized OS".
809
+ # Corresponds to the JSON property `benchmarkDocument`
810
+ # @return [String]
811
+ attr_accessor :benchmark_document
812
+
787
813
  # The CPE URI (https://cpe.mitre.org/specification/) this benchmark is
788
814
  # applicable to.
789
815
  # Corresponds to the JSON property `cpeUri`
@@ -802,6 +828,7 @@ module Google
802
828
 
803
829
  # Update properties of this object
804
830
  def update!(**args)
831
+ @benchmark_document = args[:benchmark_document] if args.key?(:benchmark_document)
805
832
  @cpe_uri = args[:cpe_uri] if args.key?(:cpe_uri)
806
833
  @version = args[:version] if args.key?(:version)
807
834
  end
@@ -2384,6 +2411,18 @@ module Google
2384
2411
  class Discovered
2385
2412
  include Google::Apis::Core::Hashable
2386
2413
 
2414
+ # Indicates which analysis completed successfully. Multiple types of analysis
2415
+ # can be performed on a single resource.
2416
+ # Corresponds to the JSON property `analysisCompleted`
2417
+ # @return [Google::Apis::ContaineranalysisV1alpha1::AnalysisCompleted]
2418
+ attr_accessor :analysis_completed
2419
+
2420
+ # Indicates any errors encountered during analysis of a resource. There could be
2421
+ # 0 or more of these errors.
2422
+ # Corresponds to the JSON property `analysisError`
2423
+ # @return [Array<Google::Apis::ContaineranalysisV1alpha1::Status>]
2424
+ attr_accessor :analysis_error
2425
+
2387
2426
  # The status of discovery for the resource.
2388
2427
  # Corresponds to the JSON property `analysisStatus`
2389
2428
  # @return [String]
@@ -2431,6 +2470,8 @@ module Google
2431
2470
 
2432
2471
  # Update properties of this object
2433
2472
  def update!(**args)
2473
+ @analysis_completed = args[:analysis_completed] if args.key?(:analysis_completed)
2474
+ @analysis_error = args[:analysis_error] if args.key?(:analysis_error)
2434
2475
  @analysis_status = args[:analysis_status] if args.key?(:analysis_status)
2435
2476
  @analysis_status_error = args[:analysis_status_error] if args.key?(:analysis_status_error)
2436
2477
  @archive_time = args[:archive_time] if args.key?(:archive_time)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContaineranalysisV1alpha1
18
18
  # Version of the google-apis-containeranalysis_v1alpha1 gem
19
- GEM_VERSION = "0.29.0"
19
+ GEM_VERSION = "0.32.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.6.0"
22
+ GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220602"
25
+ REVISION = "20220727"
26
26
  end
27
27
  end
28
28
  end
@@ -22,6 +22,12 @@ module Google
22
22
  module Apis
23
23
  module ContaineranalysisV1alpha1
24
24
 
25
+ class AnalysisCompleted
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
25
31
  class Artifact
26
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
33
 
@@ -844,6 +850,13 @@ module Google
844
850
  include Google::Apis::Core::JsonObjectSupport
845
851
  end
846
852
 
853
+ class AnalysisCompleted
854
+ # @private
855
+ class Representation < Google::Apis::Core::JsonRepresentation
856
+ collection :analysis_type, as: 'analysisType'
857
+ end
858
+ end
859
+
847
860
  class Artifact
848
861
  # @private
849
862
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1031,6 +1044,7 @@ module Google
1031
1044
  class ComplianceVersion
1032
1045
  # @private
1033
1046
  class Representation < Google::Apis::Core::JsonRepresentation
1047
+ property :benchmark_document, as: 'benchmarkDocument'
1034
1048
  property :cpe_uri, as: 'cpeUri'
1035
1049
  property :version, as: 'version'
1036
1050
  end
@@ -1443,6 +1457,10 @@ module Google
1443
1457
  class Discovered
1444
1458
  # @private
1445
1459
  class Representation < Google::Apis::Core::JsonRepresentation
1460
+ property :analysis_completed, as: 'analysisCompleted', class: Google::Apis::ContaineranalysisV1alpha1::AnalysisCompleted, decorator: Google::Apis::ContaineranalysisV1alpha1::AnalysisCompleted::Representation
1461
+
1462
+ collection :analysis_error, as: 'analysisError', class: Google::Apis::ContaineranalysisV1alpha1::Status, decorator: Google::Apis::ContaineranalysisV1alpha1::Status::Representation
1463
+
1446
1464
  property :analysis_status, as: 'analysisStatus'
1447
1465
  property :analysis_status_error, as: 'analysisStatusError', class: Google::Apis::ContaineranalysisV1alpha1::Status, decorator: Google::Apis::ContaineranalysisV1alpha1::Status::Representation
1448
1466
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-containeranalysis_v1alpha1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.29.0
4
+ version: 0.32.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-06-20 00:00:00.000000000 Z
11
+ date: 2022-08-08 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.6'
19
+ version: '0.7'
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.6'
29
+ version: '0.7'
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-containeranalysis_v1alpha1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1alpha1/v0.29.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1alpha1/v0.32.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1alpha1
63
63
  post_install_message:
64
64
  rdoc_options: []