google-apis-ondemandscanning_v1beta1 0.55.0 → 0.57.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: 00752a1867d7faf7faae8ff59896df4d9666118414e0b6a372ef00add84fab3d
4
- data.tar.gz: 1f71431cf88b023c810d22dae770e430a0f37ad3d589c61ecc39432f4246c792
3
+ metadata.gz: b9b40e0f7dd692a3b2f04acbfd50edea5eaa03b6ab28393426d0fad2ac3a736f
4
+ data.tar.gz: 9d52c5748ef0aefb6502cf96f869986963826a5fc17a3c590bc9ee4606c5dc6a
5
5
  SHA512:
6
- metadata.gz: df0265a0c9d99249c0013fa2b3a84f4b2728e4f5f7cf2c9c9dc43ec48c33bdbb606ea7cc7b63427f33672ab8398ba81c2d1b113d6fa79c4fe6fbe7e4b22374f4
7
- data.tar.gz: cdb6b9f06f2adccaf3ee135e6d6ea3d1d1604adc411794c3e536157c914e0304289b6201c7c1e7a36642fc62057f4151f94a7ac5b3d5453b286b96829e0314dd
6
+ metadata.gz: af71a51c2379e816b16ce02194f824376f26c29a8712dd6c8e6f694c69d49c24d3bc72281a324abdf36d8759bce1039dabcf3fc8253a4491a24b94de427a065c
7
+ data.tar.gz: 2d9d95976ba6fdbf4442f883d433ca8058efb8ad9830eb6f6cce4a86fbd99f74c1080a3c05b316a549af9060f55b12a5beea83e4f1b0b1e308d9613dfbf65974
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-ondemandscanning_v1beta1
2
2
 
3
+ ### v0.57.0 (2025-10-05)
4
+
5
+ * Regenerated from discovery document revision 20250929
6
+
7
+ ### v0.56.0 (2025-08-24)
8
+
9
+ * Regenerated from discovery document revision 20250815
10
+ * Regenerated using generator version 0.18.0
11
+
3
12
  ### v0.55.0 (2025-05-21)
4
13
 
5
14
  * Regenerated from discovery document revision 20250519
@@ -569,6 +569,26 @@ module Google
569
569
  end
570
570
  end
571
571
 
572
+ #
573
+ class CisaKnownExploitedVulnerabilities
574
+ include Google::Apis::Core::Hashable
575
+
576
+ # Whether the vulnerability is known to have been leveraged as part of a
577
+ # ransomware campaign.
578
+ # Corresponds to the JSON property `knownRansomwareCampaignUse`
579
+ # @return [String]
580
+ attr_accessor :known_ransomware_campaign_use
581
+
582
+ def initialize(**args)
583
+ update!(**args)
584
+ end
585
+
586
+ # Update properties of this object
587
+ def update!(**args)
588
+ @known_ransomware_campaign_use = args[:known_ransomware_campaign_use] if args.key?(:known_ransomware_campaign_use)
589
+ end
590
+ end
591
+
572
592
  # Common Vulnerability Scoring System. For details, see https://www.first.org/
573
593
  # cvss/specification-document This is a message we will try to use for storing
574
594
  # various versions of CVSS rather than making a separate proto for storing a
@@ -1113,6 +1133,33 @@ module Google
1113
1133
  end
1114
1134
  end
1115
1135
 
1136
+ #
1137
+ class ExploitPredictionScoringSystem
1138
+ include Google::Apis::Core::Hashable
1139
+
1140
+ # The percentile of the current score, the proportion of all scored
1141
+ # vulnerabilities with the same or a lower EPSS score
1142
+ # Corresponds to the JSON property `percentile`
1143
+ # @return [Float]
1144
+ attr_accessor :percentile
1145
+
1146
+ # The EPSS score representing the probability [0-1] of exploitation in the wild
1147
+ # in the next 30 days
1148
+ # Corresponds to the JSON property `score`
1149
+ # @return [Float]
1150
+ attr_accessor :score
1151
+
1152
+ def initialize(**args)
1153
+ update!(**args)
1154
+ end
1155
+
1156
+ # Update properties of this object
1157
+ def update!(**args)
1158
+ @percentile = args[:percentile] if args.key?(:percentile)
1159
+ @score = args[:score] if args.key?(:score)
1160
+ end
1161
+ end
1162
+
1116
1163
  #
1117
1164
  class File
1118
1165
  include Google::Apis::Core::Hashable
@@ -1984,6 +2031,13 @@ module Google
1984
2031
  # @return [Array<Google::Apis::OndemandscanningV1beta1::Operation>]
1985
2032
  attr_accessor :operations
1986
2033
 
2034
+ # Unordered list. Unreachable resources. Populated when the request sets `
2035
+ # ListOperationsRequest.return_partial_success` and reads across collections e.g.
2036
+ # when attempting to list all resources across all supported locations.
2037
+ # Corresponds to the JSON property `unreachable`
2038
+ # @return [Array<String>]
2039
+ attr_accessor :unreachable
2040
+
1987
2041
  def initialize(**args)
1988
2042
  update!(**args)
1989
2043
  end
@@ -1992,6 +2046,7 @@ module Google
1992
2046
  def update!(**args)
1993
2047
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1994
2048
  @operations = args[:operations] if args.key?(:operations)
2049
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1995
2050
  end
1996
2051
  end
1997
2052
 
@@ -2976,6 +3031,33 @@ module Google
2976
3031
  end
2977
3032
  end
2978
3033
 
3034
+ #
3035
+ class Risk
3036
+ include Google::Apis::Core::Hashable
3037
+
3038
+ # CISA maintains the authoritative source of vulnerabilities that have been
3039
+ # exploited in the wild.
3040
+ # Corresponds to the JSON property `cisaKev`
3041
+ # @return [Google::Apis::OndemandscanningV1beta1::CisaKnownExploitedVulnerabilities]
3042
+ attr_accessor :cisa_kev
3043
+
3044
+ # The Exploit Prediction Scoring System (EPSS) estimates the likelihood (
3045
+ # probability) that a software vulnerability will be exploited in the wild.
3046
+ # Corresponds to the JSON property `epss`
3047
+ # @return [Google::Apis::OndemandscanningV1beta1::ExploitPredictionScoringSystem]
3048
+ attr_accessor :epss
3049
+
3050
+ def initialize(**args)
3051
+ update!(**args)
3052
+ end
3053
+
3054
+ # Update properties of this object
3055
+ def update!(**args)
3056
+ @cisa_kev = args[:cisa_kev] if args.key?(:cisa_kev)
3057
+ @epss = args[:epss] if args.key?(:epss)
3058
+ end
3059
+ end
3060
+
2979
3061
  #
2980
3062
  class RunDetails
2981
3063
  include Google::Apis::Core::Hashable
@@ -3997,6 +4079,11 @@ module Google
3997
4079
  # @return [Array<Google::Apis::OndemandscanningV1beta1::RelatedUrl>]
3998
4080
  attr_accessor :related_urls
3999
4081
 
4082
+ # Risk information about the vulnerability, such as CISA, EPSS, etc.
4083
+ # Corresponds to the JSON property `risk`
4084
+ # @return [Google::Apis::OndemandscanningV1beta1::Risk]
4085
+ attr_accessor :risk
4086
+
4000
4087
  # Output only. The note provider assigned severity of this vulnerability.
4001
4088
  # Corresponds to the JSON property `severity`
4002
4089
  # @return [String]
@@ -4035,6 +4122,7 @@ module Google
4035
4122
  @long_description = args[:long_description] if args.key?(:long_description)
4036
4123
  @package_issue = args[:package_issue] if args.key?(:package_issue)
4037
4124
  @related_urls = args[:related_urls] if args.key?(:related_urls)
4125
+ @risk = args[:risk] if args.key?(:risk)
4038
4126
  @severity = args[:severity] if args.key?(:severity)
4039
4127
  @short_description = args[:short_description] if args.key?(:short_description)
4040
4128
  @type = args[:type] if args.key?(:type)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module OndemandscanningV1beta1
18
18
  # Version of the google-apis-ondemandscanning_v1beta1 gem
19
- GEM_VERSION = "0.55.0"
19
+ GEM_VERSION = "0.57.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.17.0"
22
+ GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250519"
25
+ REVISION = "20250929"
26
26
  end
27
27
  end
28
28
  end
@@ -118,6 +118,12 @@ module Google
118
118
  include Google::Apis::Core::JsonObjectSupport
119
119
  end
120
120
 
121
+ class CisaKnownExploitedVulnerabilities
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
121
127
  class Cvss
122
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
129
 
@@ -196,6 +202,12 @@ module Google
196
202
  include Google::Apis::Core::JsonObjectSupport
197
203
  end
198
204
 
205
+ class ExploitPredictionScoringSystem
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
199
211
  class File
200
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
213
 
@@ -478,6 +490,12 @@ module Google
478
490
  include Google::Apis::Core::JsonObjectSupport
479
491
  end
480
492
 
493
+ class Risk
494
+ class Representation < Google::Apis::Core::JsonRepresentation; end
495
+
496
+ include Google::Apis::Core::JsonObjectSupport
497
+ end
498
+
481
499
  class RunDetails
482
500
  class Representation < Google::Apis::Core::JsonRepresentation; end
483
501
 
@@ -791,6 +809,13 @@ module Google
791
809
  end
792
810
  end
793
811
 
812
+ class CisaKnownExploitedVulnerabilities
813
+ # @private
814
+ class Representation < Google::Apis::Core::JsonRepresentation
815
+ property :known_ransomware_campaign_use, as: 'knownRansomwareCampaignUse'
816
+ end
817
+ end
818
+
794
819
  class Cvss
795
820
  # @private
796
821
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -937,6 +962,14 @@ module Google
937
962
  end
938
963
  end
939
964
 
965
+ class ExploitPredictionScoringSystem
966
+ # @private
967
+ class Representation < Google::Apis::Core::JsonRepresentation
968
+ property :percentile, as: 'percentile'
969
+ property :score, as: 'score'
970
+ end
971
+ end
972
+
940
973
  class File
941
974
  # @private
942
975
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1201,6 +1234,7 @@ module Google
1201
1234
  property :next_page_token, as: 'nextPageToken'
1202
1235
  collection :operations, as: 'operations', class: Google::Apis::OndemandscanningV1beta1::Operation, decorator: Google::Apis::OndemandscanningV1beta1::Operation::Representation
1203
1236
 
1237
+ collection :unreachable, as: 'unreachable'
1204
1238
  end
1205
1239
  end
1206
1240
 
@@ -1457,6 +1491,16 @@ module Google
1457
1491
  end
1458
1492
  end
1459
1493
 
1494
+ class Risk
1495
+ # @private
1496
+ class Representation < Google::Apis::Core::JsonRepresentation
1497
+ property :cisa_kev, as: 'cisaKev', class: Google::Apis::OndemandscanningV1beta1::CisaKnownExploitedVulnerabilities, decorator: Google::Apis::OndemandscanningV1beta1::CisaKnownExploitedVulnerabilities::Representation
1498
+
1499
+ property :epss, as: 'epss', class: Google::Apis::OndemandscanningV1beta1::ExploitPredictionScoringSystem, decorator: Google::Apis::OndemandscanningV1beta1::ExploitPredictionScoringSystem::Representation
1500
+
1501
+ end
1502
+ end
1503
+
1460
1504
  class RunDetails
1461
1505
  # @private
1462
1506
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1737,6 +1781,8 @@ module Google
1737
1781
 
1738
1782
  collection :related_urls, as: 'relatedUrls', class: Google::Apis::OndemandscanningV1beta1::RelatedUrl, decorator: Google::Apis::OndemandscanningV1beta1::RelatedUrl::Representation
1739
1783
 
1784
+ property :risk, as: 'risk', class: Google::Apis::OndemandscanningV1beta1::Risk, decorator: Google::Apis::OndemandscanningV1beta1::Risk::Representation
1785
+
1740
1786
  property :severity, as: 'severity'
1741
1787
  property :short_description, as: 'shortDescription'
1742
1788
  property :type, as: 'type'
@@ -162,6 +162,13 @@ module Google
162
162
  # The standard list page size.
163
163
  # @param [String] page_token
164
164
  # The standard list page token.
165
+ # @param [Boolean] return_partial_success
166
+ # When set to `true`, operations that are reachable are returned as normal, and
167
+ # those that are unreachable are returned in the [ListOperationsResponse.
168
+ # unreachable] field. This can only be `true` when reading across collections e.
169
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
170
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
171
+ # explicitly documented otherwise in service or product specific documentation.
165
172
  # @param [String] fields
166
173
  # Selector specifying which fields to include in a partial response.
167
174
  # @param [String] quota_user
@@ -179,7 +186,7 @@ module Google
179
186
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
180
187
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
181
188
  # @raise [Google::Apis::AuthorizationError] Authorization is required
182
- def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
189
+ def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
183
190
  command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
184
191
  command.response_representation = Google::Apis::OndemandscanningV1beta1::ListOperationsResponse::Representation
185
192
  command.response_class = Google::Apis::OndemandscanningV1beta1::ListOperationsResponse
@@ -187,6 +194,7 @@ module Google
187
194
  command.query['filter'] = filter unless filter.nil?
188
195
  command.query['pageSize'] = page_size unless page_size.nil?
189
196
  command.query['pageToken'] = page_token unless page_token.nil?
197
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
190
198
  command.query['fields'] = fields unless fields.nil?
191
199
  command.query['quotaUser'] = quota_user unless quota_user.nil?
192
200
  execute_or_queue_command(command, &block)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-ondemandscanning_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.55.0
4
+ version: 0.57.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-ondemandscanning_v1beta1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1beta1/v0.55.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1beta1/v0.57.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-ondemandscanning_v1beta1
62
62
  rdoc_options: []
63
63
  require_paths: