google-apis-containeranalysis_v1 0.51.0 → 0.52.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: 49e41778f1d214f5b7874020954aa6e0c2ad38001cd3aad7cab3a292b4148fb0
4
- data.tar.gz: f454771a1c4819b9b00b56bd5f12e13eac98a1fa80420aaa526caa055326be19
3
+ metadata.gz: f756c3aec3da5fe14b19d4f932b2f98b9545f339e6aea586433624d411250a3c
4
+ data.tar.gz: 38d6791b241f3003ae44750509a84f59a001606ee7d279423d5d515abb973224
5
5
  SHA512:
6
- metadata.gz: 84bdbcdfc13bbce62b16648365c6189bf2ba5aafbfafa584061052785aecdb09ded03a607d06ddc69b89a2d9e4503a5e6ddb137bac6f611e9e1701ef9bcac0c9
7
- data.tar.gz: 42c285d34ec1aeac5d3a3bf07f8cbbaad71a43ec266bbb6cb4732b66b2376dbbe98a4af4b4b9b6c5a484183ce75df7ec47a6c418fb43d3f06d1dfd536884a8d3
6
+ metadata.gz: f983fb7db0d488e849967d43b436d9eee4f39504281930613aceef7a607ab3fc5d9f2f094d782edf46b542a04cddf5f0ef01975f65171ac215975a9da079fd25
7
+ data.tar.gz: '015882376046cd7987e6259e592d1bbc94784b38619519b74aaec19356d294203b6b536e16bc5979994fae06b82c92b915db078f244bf03ca8461c5128d18fa3'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-containeranalysis_v1
2
2
 
3
+ ### v0.52.0 (2024-06-30)
4
+
5
+ * Regenerated from discovery document revision 20240625
6
+
3
7
  ### v0.51.0 (2024-06-02)
4
8
 
5
9
  * Regenerated from discovery document revision 20240524
@@ -3470,6 +3470,11 @@ module Google
3470
3470
  # @return [Google::Apis::ContaineranalysisV1::SbomStatus]
3471
3471
  attr_accessor :sbom_status
3472
3472
 
3473
+ # The status of an vulnerability attestation generation.
3474
+ # Corresponds to the JSON property `vulnerabilityAttestation`
3475
+ # @return [Google::Apis::ContaineranalysisV1::VulnerabilityAttestation]
3476
+ attr_accessor :vulnerability_attestation
3477
+
3473
3478
  def initialize(**args)
3474
3479
  update!(**args)
3475
3480
  end
@@ -3485,6 +3490,7 @@ module Google
3485
3490
  @cpe = args[:cpe] if args.key?(:cpe)
3486
3491
  @last_scan_time = args[:last_scan_time] if args.key?(:last_scan_time)
3487
3492
  @sbom_status = args[:sbom_status] if args.key?(:sbom_status)
3493
+ @vulnerability_attestation = args[:vulnerability_attestation] if args.key?(:vulnerability_attestation)
3488
3494
  end
3489
3495
  end
3490
3496
 
@@ -6852,6 +6858,37 @@ module Google
6852
6858
  end
6853
6859
  end
6854
6860
 
6861
+ # The status of an vulnerability attestation generation.
6862
+ class VulnerabilityAttestation
6863
+ include Google::Apis::Core::Hashable
6864
+
6865
+ # If failure, the error reason for why the attestation generation failed.
6866
+ # Corresponds to the JSON property `error`
6867
+ # @return [String]
6868
+ attr_accessor :error
6869
+
6870
+ # The last time we attempted to generate an attestation.
6871
+ # Corresponds to the JSON property `lastAttemptTime`
6872
+ # @return [String]
6873
+ attr_accessor :last_attempt_time
6874
+
6875
+ # The success/failure state of the latest attestation attempt.
6876
+ # Corresponds to the JSON property `state`
6877
+ # @return [String]
6878
+ attr_accessor :state
6879
+
6880
+ def initialize(**args)
6881
+ update!(**args)
6882
+ end
6883
+
6884
+ # Update properties of this object
6885
+ def update!(**args)
6886
+ @error = args[:error] if args.key?(:error)
6887
+ @last_attempt_time = args[:last_attempt_time] if args.key?(:last_attempt_time)
6888
+ @state = args[:state] if args.key?(:state)
6889
+ end
6890
+ end
6891
+
6855
6892
  # A security vulnerability that can be found in resources.
6856
6893
  class VulnerabilityNote
6857
6894
  include Google::Apis::Core::Hashable
@@ -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.51.0"
19
+ GEM_VERSION = "0.52.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240524"
25
+ REVISION = "20240625"
26
26
  end
27
27
  end
28
28
  end
@@ -994,6 +994,12 @@ module Google
994
994
  include Google::Apis::Core::JsonObjectSupport
995
995
  end
996
996
 
997
+ class VulnerabilityAttestation
998
+ class Representation < Google::Apis::Core::JsonRepresentation; end
999
+
1000
+ include Google::Apis::Core::JsonObjectSupport
1001
+ end
1002
+
997
1003
  class VulnerabilityNote
998
1004
  class Representation < Google::Apis::Core::JsonRepresentation; end
999
1005
 
@@ -1903,6 +1909,8 @@ module Google
1903
1909
  property :last_scan_time, as: 'lastScanTime'
1904
1910
  property :sbom_status, as: 'sbomStatus', class: Google::Apis::ContaineranalysisV1::SbomStatus, decorator: Google::Apis::ContaineranalysisV1::SbomStatus::Representation
1905
1911
 
1912
+ property :vulnerability_attestation, as: 'vulnerabilityAttestation', class: Google::Apis::ContaineranalysisV1::VulnerabilityAttestation, decorator: Google::Apis::ContaineranalysisV1::VulnerabilityAttestation::Representation
1913
+
1906
1914
  end
1907
1915
  end
1908
1916
 
@@ -2829,6 +2837,15 @@ module Google
2829
2837
  end
2830
2838
  end
2831
2839
 
2840
+ class VulnerabilityAttestation
2841
+ # @private
2842
+ class Representation < Google::Apis::Core::JsonRepresentation
2843
+ property :error, as: 'error'
2844
+ property :last_attempt_time, as: 'lastAttemptTime'
2845
+ property :state, as: 'state'
2846
+ end
2847
+ end
2848
+
2832
2849
  class VulnerabilityNote
2833
2850
  # @private
2834
2851
  class Representation < Google::Apis::Core::JsonRepresentation
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.51.0
4
+ version: 0.52.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: 2024-06-02 00:00:00.000000000 Z
11
+ date: 2024-06-30 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.51.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1/v0.52.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: []