google-apis-containeranalysis_v1 0.15.0 → 0.16.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: 24f6f9020c79e71450f92875940069dadec7fa56be950861f2cc72d4079e4f26
4
- data.tar.gz: ac45c56801ac689341c313fdd0bb5ef8531f85bc6b812af4775152d9dd13fa6f
3
+ metadata.gz: 2835270bfe7c1d2a2e11e7a7401dac89246ee40c8c8d55bcf7121185c9541bdc
4
+ data.tar.gz: 01a9c4e896067a46f1c6799de9a8f803678d8ee3484f276586aef2e0dd2af071
5
5
  SHA512:
6
- metadata.gz: 56365dac50894645e31dd275de0e2d3ca6f464f277996e383a8b017b5663b7dc45c75342fa244a522dede9c919e182337089f241d5b4f26fff1b0a96df642b6f
7
- data.tar.gz: 6d6d93ee4cf9dfeafa3221bbdf3d4889b860a4db6b8656bf9abbfeefbe027b69465189c92807f2c2c44563e97f873d844d4f0046052a0589ab22b99a018bdcdd
6
+ metadata.gz: 8e9a320126bc10cba202fa778e56b75dc975fe116f8589cfc0550278a55924f6e42bd820953171a935430665dfeaaf135969095fa9f7aa845286ebdfc015a5f5
7
+ data.tar.gz: 963237b7d4306381179657dba4d878e0166911fd0b0033c937151bfb77b8565153842d614de9ea3359fd6ad5e806fb4740836347c61d3a666f043c341ad71e6a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-containeranalysis_v1
2
2
 
3
+ ### v0.16.0 (2022-07-13)
4
+
5
+ * Regenerated from discovery document revision 20220707
6
+ * Regenerated using generator version 0.9.0
7
+
3
8
  ### v0.15.0 (2022-07-01)
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
  # Artifact describes a build product.
51
71
  class Artifact
52
72
  include Google::Apis::Core::Hashable
@@ -2496,6 +2516,18 @@ module Google
2496
2516
  class DiscoveryOccurrence
2497
2517
  include Google::Apis::Core::Hashable
2498
2518
 
2519
+ # Indicates which analysis completed successfully. Multiple types of analysis
2520
+ # can be performed on a single resource.
2521
+ # Corresponds to the JSON property `analysisCompleted`
2522
+ # @return [Google::Apis::ContaineranalysisV1::AnalysisCompleted]
2523
+ attr_accessor :analysis_completed
2524
+
2525
+ # Indicates any errors encountered during analysis of a resource. There could be
2526
+ # 0 or more of these errors.
2527
+ # Corresponds to the JSON property `analysisError`
2528
+ # @return [Array<Google::Apis::ContaineranalysisV1::Status>]
2529
+ attr_accessor :analysis_error
2530
+
2499
2531
  # The status of discovery for the resource.
2500
2532
  # Corresponds to the JSON property `analysisStatus`
2501
2533
  # @return [String]
@@ -2538,6 +2570,8 @@ module Google
2538
2570
 
2539
2571
  # Update properties of this object
2540
2572
  def update!(**args)
2573
+ @analysis_completed = args[:analysis_completed] if args.key?(:analysis_completed)
2574
+ @analysis_error = args[:analysis_error] if args.key?(:analysis_error)
2541
2575
  @analysis_status = args[:analysis_status] if args.key?(:analysis_status)
2542
2576
  @analysis_status_error = args[:analysis_status_error] if args.key?(:analysis_status_error)
2543
2577
  @archive_time = args[:archive_time] if args.key?(:archive_time)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContaineranalysisV1
18
18
  # Version of the google-apis-containeranalysis_v1 gem
19
- GEM_VERSION = "0.15.0"
19
+ GEM_VERSION = "0.16.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 = "20220602"
25
+ REVISION = "20220707"
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 Artifact
32
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
39
 
@@ -804,6 +810,13 @@ module Google
804
810
  end
805
811
  end
806
812
 
813
+ class AnalysisCompleted
814
+ # @private
815
+ class Representation < Google::Apis::Core::JsonRepresentation
816
+ collection :analysis_type, as: 'analysisType'
817
+ end
818
+ end
819
+
807
820
  class Artifact
808
821
  # @private
809
822
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1435,6 +1448,10 @@ module Google
1435
1448
  class DiscoveryOccurrence
1436
1449
  # @private
1437
1450
  class Representation < Google::Apis::Core::JsonRepresentation
1451
+ property :analysis_completed, as: 'analysisCompleted', class: Google::Apis::ContaineranalysisV1::AnalysisCompleted, decorator: Google::Apis::ContaineranalysisV1::AnalysisCompleted::Representation
1452
+
1453
+ collection :analysis_error, as: 'analysisError', class: Google::Apis::ContaineranalysisV1::Status, decorator: Google::Apis::ContaineranalysisV1::Status::Representation
1454
+
1438
1455
  property :analysis_status, as: 'analysisStatus'
1439
1456
  property :analysis_status_error, as: 'analysisStatusError', class: Google::Apis::ContaineranalysisV1::Status, decorator: Google::Apis::ContaineranalysisV1::Status::Representation
1440
1457
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-containeranalysis_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.16.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-containeranalysis_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1/v0.15.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1/v0.16.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1
63
63
  post_install_message:
64
64
  rdoc_options: []