google-apis-ondemandscanning_v1 0.49.0 → 0.50.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: e8bf0f56f0878c94864b91522f2456fa4fdb3bc571f8a0c3c1831630f370d87f
4
- data.tar.gz: eb9258e3fe5090454b5638eef75228731605edd2e55197a976725eb3345dee4c
3
+ metadata.gz: 0e9967aaff4d0c4dffda8a018cb16137892114eb197d9bdf19d953474ab51e15
4
+ data.tar.gz: 928ea79ca434070502f036265e1db01381712eba26aeaa8467f87301a798ed1f
5
5
  SHA512:
6
- metadata.gz: b6cf5f0599f3b4cd0394a85c009463c6457ad7ec367ba40487da87e28e657be6c709e52baea5311c45a53896dbaa583e266dbff5a9177eeb1364dadbbd3a5c32
7
- data.tar.gz: c0259d3115ca9c4cfcb72ed3925d8cd53264dbfdeabd41a15087bcff9eec504ce35399641a2348f55bf74035a810cf67d3d60b538cfffa131897e5f193668e2f
6
+ metadata.gz: 11a2e1b3b8e847ba65d8eb008bf56041737780b79de1c45fa616a0eed07e5376310988914ae7108f9456a5ead1263cc81545c9164c48ab6233b47478affff44c
7
+ data.tar.gz: 7e068e0af90462bfd55650be94b6cceab867c9829859b859e99eb200596955158958b2935ead77d602178343ebe1035160f79d2b77ef65c6095ee8022deb6371
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-ondemandscanning_v1
2
2
 
3
+ ### v0.50.0 (2024-06-26)
4
+
5
+ * Regenerated from discovery document revision 20240624
6
+
3
7
  ### v0.49.0 (2024-05-19)
4
8
 
5
9
  * Regenerated using generator version 0.15.0
@@ -992,6 +992,11 @@ module Google
992
992
  # @return [Google::Apis::OndemandscanningV1::SbomStatus]
993
993
  attr_accessor :sbom_status
994
994
 
995
+ # The status of an vulnerability attestation generation.
996
+ # Corresponds to the JSON property `vulnerabilityAttestation`
997
+ # @return [Google::Apis::OndemandscanningV1::VulnerabilityAttestation]
998
+ attr_accessor :vulnerability_attestation
999
+
995
1000
  def initialize(**args)
996
1001
  update!(**args)
997
1002
  end
@@ -1007,6 +1012,7 @@ module Google
1007
1012
  @cpe = args[:cpe] if args.key?(:cpe)
1008
1013
  @last_scan_time = args[:last_scan_time] if args.key?(:last_scan_time)
1009
1014
  @sbom_status = args[:sbom_status] if args.key?(:sbom_status)
1015
+ @vulnerability_attestation = args[:vulnerability_attestation] if args.key?(:vulnerability_attestation)
1010
1016
  end
1011
1017
  end
1012
1018
 
@@ -3649,6 +3655,37 @@ module Google
3649
3655
  end
3650
3656
  end
3651
3657
 
3658
+ # The status of an vulnerability attestation generation.
3659
+ class VulnerabilityAttestation
3660
+ include Google::Apis::Core::Hashable
3661
+
3662
+ # If failure, the error reason for why the attestation generation failed.
3663
+ # Corresponds to the JSON property `error`
3664
+ # @return [String]
3665
+ attr_accessor :error
3666
+
3667
+ # The last time we attempted to generate an attestation.
3668
+ # Corresponds to the JSON property `lastAttemptTime`
3669
+ # @return [String]
3670
+ attr_accessor :last_attempt_time
3671
+
3672
+ # The success/failure state of the latest attestation attempt.
3673
+ # Corresponds to the JSON property `state`
3674
+ # @return [String]
3675
+ attr_accessor :state
3676
+
3677
+ def initialize(**args)
3678
+ update!(**args)
3679
+ end
3680
+
3681
+ # Update properties of this object
3682
+ def update!(**args)
3683
+ @error = args[:error] if args.key?(:error)
3684
+ @last_attempt_time = args[:last_attempt_time] if args.key?(:last_attempt_time)
3685
+ @state = args[:state] if args.key?(:state)
3686
+ end
3687
+ end
3688
+
3652
3689
  # An occurrence of a severity vulnerability on a resource.
3653
3690
  class VulnerabilityOccurrence
3654
3691
  include Google::Apis::Core::Hashable
@@ -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.49.0"
19
+ GEM_VERSION = "0.50.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 = "20240429"
25
+ REVISION = "20240624"
26
26
  end
27
27
  end
28
28
  end
@@ -574,6 +574,12 @@ module Google
574
574
  include Google::Apis::Core::JsonObjectSupport
575
575
  end
576
576
 
577
+ class VulnerabilityAttestation
578
+ class Representation < Google::Apis::Core::JsonRepresentation; end
579
+
580
+ include Google::Apis::Core::JsonObjectSupport
581
+ end
582
+
577
583
  class VulnerabilityOccurrence
578
584
  class Representation < Google::Apis::Core::JsonRepresentation; end
579
585
 
@@ -852,6 +858,8 @@ module Google
852
858
  property :last_scan_time, as: 'lastScanTime'
853
859
  property :sbom_status, as: 'sbomStatus', class: Google::Apis::OndemandscanningV1::SbomStatus, decorator: Google::Apis::OndemandscanningV1::SbomStatus::Representation
854
860
 
861
+ property :vulnerability_attestation, as: 'vulnerabilityAttestation', class: Google::Apis::OndemandscanningV1::VulnerabilityAttestation, decorator: Google::Apis::OndemandscanningV1::VulnerabilityAttestation::Representation
862
+
855
863
  end
856
864
  end
857
865
 
@@ -1585,6 +1593,15 @@ module Google
1585
1593
  end
1586
1594
  end
1587
1595
 
1596
+ class VulnerabilityAttestation
1597
+ # @private
1598
+ class Representation < Google::Apis::Core::JsonRepresentation
1599
+ property :error, as: 'error'
1600
+ property :last_attempt_time, as: 'lastAttemptTime'
1601
+ property :state, as: 'state'
1602
+ end
1603
+ end
1604
+
1588
1605
  class VulnerabilityOccurrence
1589
1606
  # @private
1590
1607
  class Representation < Google::Apis::Core::JsonRepresentation
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.49.0
4
+ version: 0.50.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-05-26 00:00:00.000000000 Z
11
+ date: 2024-06-27 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.49.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1/v0.50.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: []