google-apis-containeranalysis_v1beta1 0.63.0 → 0.64.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/containeranalysis_v1beta1/classes.rb +21 -0
- data/lib/google/apis/containeranalysis_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/containeranalysis_v1beta1/representations.rb +3 -0
- data/lib/google/apis/containeranalysis_v1beta1/service.rb +36 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: facb635f87f5effb1bc4673460698f37a7726a71e448c7586b780a796546e6dc
|
4
|
+
data.tar.gz: baf4c246404398db229d5596347696781390144a41db71f8942c1e8bd7ad754d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d61f0678ad8c0af468855d2d4f287cf7602442f0c2ebdb1b2caf7c0a5ee90c60dfa5fc54805c23dda45322f58174988eed0777b5f580c042660fc84f17222e6
|
7
|
+
data.tar.gz: 18095f011ce816056417cb5b1d4adeadeedfc7478e9ff13d4298939a989e073b26fcd79845fdbd1a199f431c09c73f81e021d07fa7d6ca5e80db49bf40224f85
|
data/CHANGELOG.md
CHANGED
@@ -5017,6 +5017,12 @@ module Google
|
|
5017
5017
|
# @return [Array<Google::Apis::ContaineranalysisV1beta1::Note>]
|
5018
5018
|
attr_accessor :notes
|
5019
5019
|
|
5020
|
+
# Unordered list. Unreachable regions. Populated for requests from the global
|
5021
|
+
# region when `return_partial_success` is set. Format: projects//locations/
|
5022
|
+
# Corresponds to the JSON property `unreachable`
|
5023
|
+
# @return [Array<String>]
|
5024
|
+
attr_accessor :unreachable
|
5025
|
+
|
5020
5026
|
def initialize(**args)
|
5021
5027
|
update!(**args)
|
5022
5028
|
end
|
@@ -5025,6 +5031,7 @@ module Google
|
|
5025
5031
|
def update!(**args)
|
5026
5032
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
5027
5033
|
@notes = args[:notes] if args.key?(:notes)
|
5034
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
5028
5035
|
end
|
5029
5036
|
end
|
5030
5037
|
|
@@ -5043,6 +5050,12 @@ module Google
|
|
5043
5050
|
# @return [Array<Google::Apis::ContaineranalysisV1beta1::Occurrence>]
|
5044
5051
|
attr_accessor :occurrences
|
5045
5052
|
|
5053
|
+
# Unordered list. Unreachable regions. Populated for requests from the global
|
5054
|
+
# region when `return_partial_success` is set. Format: projects//locations/
|
5055
|
+
# Corresponds to the JSON property `unreachable`
|
5056
|
+
# @return [Array<String>]
|
5057
|
+
attr_accessor :unreachable
|
5058
|
+
|
5046
5059
|
def initialize(**args)
|
5047
5060
|
update!(**args)
|
5048
5061
|
end
|
@@ -5051,6 +5064,7 @@ module Google
|
|
5051
5064
|
def update!(**args)
|
5052
5065
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
5053
5066
|
@occurrences = args[:occurrences] if args.key?(:occurrences)
|
5067
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
5054
5068
|
end
|
5055
5069
|
end
|
5056
5070
|
|
@@ -7227,6 +7241,12 @@ module Google
|
|
7227
7241
|
# @return [Array<Google::Apis::ContaineranalysisV1beta1::FixableTotalByDigest>]
|
7228
7242
|
attr_accessor :counts
|
7229
7243
|
|
7244
|
+
# Unordered list. Unreachable regions. Populated for requests from the global
|
7245
|
+
# region when `return_partial_success` is set. Format: projects//locations/
|
7246
|
+
# Corresponds to the JSON property `unreachable`
|
7247
|
+
# @return [Array<String>]
|
7248
|
+
attr_accessor :unreachable
|
7249
|
+
|
7230
7250
|
def initialize(**args)
|
7231
7251
|
update!(**args)
|
7232
7252
|
end
|
@@ -7234,6 +7254,7 @@ module Google
|
|
7234
7254
|
# Update properties of this object
|
7235
7255
|
def update!(**args)
|
7236
7256
|
@counts = args[:counts] if args.key?(:counts)
|
7257
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
7237
7258
|
end
|
7238
7259
|
end
|
7239
7260
|
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ContaineranalysisV1beta1
|
18
18
|
# Version of the google-apis-containeranalysis_v1beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.64.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250616"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -2355,6 +2355,7 @@ module Google
|
|
2355
2355
|
property :next_page_token, as: 'nextPageToken'
|
2356
2356
|
collection :notes, as: 'notes', class: Google::Apis::ContaineranalysisV1beta1::Note, decorator: Google::Apis::ContaineranalysisV1beta1::Note::Representation
|
2357
2357
|
|
2358
|
+
collection :unreachable, as: 'unreachable'
|
2358
2359
|
end
|
2359
2360
|
end
|
2360
2361
|
|
@@ -2364,6 +2365,7 @@ module Google
|
|
2364
2365
|
property :next_page_token, as: 'nextPageToken'
|
2365
2366
|
collection :occurrences, as: 'occurrences', class: Google::Apis::ContaineranalysisV1beta1::Occurrence, decorator: Google::Apis::ContaineranalysisV1beta1::Occurrence::Representation
|
2366
2367
|
|
2368
|
+
collection :unreachable, as: 'unreachable'
|
2367
2369
|
end
|
2368
2370
|
end
|
2369
2371
|
|
@@ -2927,6 +2929,7 @@ module Google
|
|
2927
2929
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2928
2930
|
collection :counts, as: 'counts', class: Google::Apis::ContaineranalysisV1beta1::FixableTotalByDigest, decorator: Google::Apis::ContaineranalysisV1beta1::FixableTotalByDigest::Representation
|
2929
2931
|
|
2932
|
+
collection :unreachable, as: 'unreachable'
|
2930
2933
|
end
|
2931
2934
|
end
|
2932
2935
|
|
@@ -238,6 +238,10 @@ module Google
|
|
238
238
|
# is 1000. If not specified, page size defaults to 20.
|
239
239
|
# @param [String] page_token
|
240
240
|
# Token to provide to skip to a particular spot in the list.
|
241
|
+
# @param [Boolean] return_partial_success
|
242
|
+
# If set, the request will return all reachable Notes and report all unreachable
|
243
|
+
# regions in the `unreachable` field in the response. Only applicable for
|
244
|
+
# requests in the global region.
|
241
245
|
# @param [String] fields
|
242
246
|
# Selector specifying which fields to include in a partial response.
|
243
247
|
# @param [String] quota_user
|
@@ -255,7 +259,7 @@ module Google
|
|
255
259
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
256
260
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
257
261
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
258
|
-
def list_project_location_notes(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
262
|
+
def list_project_location_notes(parent, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
259
263
|
command = make_simple_command(:get, 'v1beta1/{+parent}/notes', options)
|
260
264
|
command.response_representation = Google::Apis::ContaineranalysisV1beta1::ListNotesResponse::Representation
|
261
265
|
command.response_class = Google::Apis::ContaineranalysisV1beta1::ListNotesResponse
|
@@ -263,6 +267,7 @@ module Google
|
|
263
267
|
command.query['filter'] = filter unless filter.nil?
|
264
268
|
command.query['pageSize'] = page_size unless page_size.nil?
|
265
269
|
command.query['pageToken'] = page_token unless page_token.nil?
|
270
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
266
271
|
command.query['fields'] = fields unless fields.nil?
|
267
272
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
268
273
|
execute_or_queue_command(command, &block)
|
@@ -634,6 +639,10 @@ module Google
|
|
634
639
|
# form of `projects/[PROJECT_ID]`.
|
635
640
|
# @param [String] filter
|
636
641
|
# The filter expression.
|
642
|
+
# @param [Boolean] return_partial_success
|
643
|
+
# If set, the request will return all reachable occurrence summaries and report
|
644
|
+
# all unreachable regions in the `unreachable` field in the response. Only
|
645
|
+
# applicable for requests in the global region.
|
637
646
|
# @param [String] fields
|
638
647
|
# Selector specifying which fields to include in a partial response.
|
639
648
|
# @param [String] quota_user
|
@@ -651,12 +660,13 @@ module Google
|
|
651
660
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
652
661
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
653
662
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
654
|
-
def get_project_location_occurrence_vulnerability_summary(parent, filter: nil, fields: nil, quota_user: nil, options: nil, &block)
|
663
|
+
def get_project_location_occurrence_vulnerability_summary(parent, filter: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
655
664
|
command = make_simple_command(:get, 'v1beta1/{+parent}/occurrences:vulnerabilitySummary', options)
|
656
665
|
command.response_representation = Google::Apis::ContaineranalysisV1beta1::VulnerabilityOccurrencesSummary::Representation
|
657
666
|
command.response_class = Google::Apis::ContaineranalysisV1beta1::VulnerabilityOccurrencesSummary
|
658
667
|
command.params['parent'] = parent unless parent.nil?
|
659
668
|
command.query['filter'] = filter unless filter.nil?
|
669
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
660
670
|
command.query['fields'] = fields unless fields.nil?
|
661
671
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
662
672
|
execute_or_queue_command(command, &block)
|
@@ -673,6 +683,10 @@ module Google
|
|
673
683
|
# page size is 1000. If not specified, page size defaults to 20.
|
674
684
|
# @param [String] page_token
|
675
685
|
# Token to provide to skip to a particular spot in the list.
|
686
|
+
# @param [Boolean] return_partial_success
|
687
|
+
# If set, the request will return all reachable Occurrences and report all
|
688
|
+
# unreachable regions in the `unreachable` field in the response. Only
|
689
|
+
# applicable for requests in the global region.
|
676
690
|
# @param [String] fields
|
677
691
|
# Selector specifying which fields to include in a partial response.
|
678
692
|
# @param [String] quota_user
|
@@ -690,7 +704,7 @@ module Google
|
|
690
704
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
691
705
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
692
706
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
693
|
-
def list_project_location_occurrences(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
707
|
+
def list_project_location_occurrences(parent, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
694
708
|
command = make_simple_command(:get, 'v1beta1/{+parent}/occurrences', options)
|
695
709
|
command.response_representation = Google::Apis::ContaineranalysisV1beta1::ListOccurrencesResponse::Representation
|
696
710
|
command.response_class = Google::Apis::ContaineranalysisV1beta1::ListOccurrencesResponse
|
@@ -698,6 +712,7 @@ module Google
|
|
698
712
|
command.query['filter'] = filter unless filter.nil?
|
699
713
|
command.query['pageSize'] = page_size unless page_size.nil?
|
700
714
|
command.query['pageToken'] = page_token unless page_token.nil?
|
715
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
701
716
|
command.query['fields'] = fields unless fields.nil?
|
702
717
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
703
718
|
execute_or_queue_command(command, &block)
|
@@ -1070,6 +1085,10 @@ module Google
|
|
1070
1085
|
# is 1000. If not specified, page size defaults to 20.
|
1071
1086
|
# @param [String] page_token
|
1072
1087
|
# Token to provide to skip to a particular spot in the list.
|
1088
|
+
# @param [Boolean] return_partial_success
|
1089
|
+
# If set, the request will return all reachable Notes and report all unreachable
|
1090
|
+
# regions in the `unreachable` field in the response. Only applicable for
|
1091
|
+
# requests in the global region.
|
1073
1092
|
# @param [String] fields
|
1074
1093
|
# Selector specifying which fields to include in a partial response.
|
1075
1094
|
# @param [String] quota_user
|
@@ -1087,7 +1106,7 @@ module Google
|
|
1087
1106
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1088
1107
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1089
1108
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1090
|
-
def list_project_notes(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1109
|
+
def list_project_notes(parent, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1091
1110
|
command = make_simple_command(:get, 'v1beta1/{+parent}/notes', options)
|
1092
1111
|
command.response_representation = Google::Apis::ContaineranalysisV1beta1::ListNotesResponse::Representation
|
1093
1112
|
command.response_class = Google::Apis::ContaineranalysisV1beta1::ListNotesResponse
|
@@ -1095,6 +1114,7 @@ module Google
|
|
1095
1114
|
command.query['filter'] = filter unless filter.nil?
|
1096
1115
|
command.query['pageSize'] = page_size unless page_size.nil?
|
1097
1116
|
command.query['pageToken'] = page_token unless page_token.nil?
|
1117
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
1098
1118
|
command.query['fields'] = fields unless fields.nil?
|
1099
1119
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1100
1120
|
execute_or_queue_command(command, &block)
|
@@ -1466,6 +1486,10 @@ module Google
|
|
1466
1486
|
# form of `projects/[PROJECT_ID]`.
|
1467
1487
|
# @param [String] filter
|
1468
1488
|
# The filter expression.
|
1489
|
+
# @param [Boolean] return_partial_success
|
1490
|
+
# If set, the request will return all reachable occurrence summaries and report
|
1491
|
+
# all unreachable regions in the `unreachable` field in the response. Only
|
1492
|
+
# applicable for requests in the global region.
|
1469
1493
|
# @param [String] fields
|
1470
1494
|
# Selector specifying which fields to include in a partial response.
|
1471
1495
|
# @param [String] quota_user
|
@@ -1483,12 +1507,13 @@ module Google
|
|
1483
1507
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1484
1508
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1485
1509
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1486
|
-
def get_project_occurrence_vulnerability_summary(parent, filter: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1510
|
+
def get_project_occurrence_vulnerability_summary(parent, filter: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1487
1511
|
command = make_simple_command(:get, 'v1beta1/{+parent}/occurrences:vulnerabilitySummary', options)
|
1488
1512
|
command.response_representation = Google::Apis::ContaineranalysisV1beta1::VulnerabilityOccurrencesSummary::Representation
|
1489
1513
|
command.response_class = Google::Apis::ContaineranalysisV1beta1::VulnerabilityOccurrencesSummary
|
1490
1514
|
command.params['parent'] = parent unless parent.nil?
|
1491
1515
|
command.query['filter'] = filter unless filter.nil?
|
1516
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
1492
1517
|
command.query['fields'] = fields unless fields.nil?
|
1493
1518
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1494
1519
|
execute_or_queue_command(command, &block)
|
@@ -1505,6 +1530,10 @@ module Google
|
|
1505
1530
|
# page size is 1000. If not specified, page size defaults to 20.
|
1506
1531
|
# @param [String] page_token
|
1507
1532
|
# Token to provide to skip to a particular spot in the list.
|
1533
|
+
# @param [Boolean] return_partial_success
|
1534
|
+
# If set, the request will return all reachable Occurrences and report all
|
1535
|
+
# unreachable regions in the `unreachable` field in the response. Only
|
1536
|
+
# applicable for requests in the global region.
|
1508
1537
|
# @param [String] fields
|
1509
1538
|
# Selector specifying which fields to include in a partial response.
|
1510
1539
|
# @param [String] quota_user
|
@@ -1522,7 +1551,7 @@ module Google
|
|
1522
1551
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1523
1552
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1524
1553
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1525
|
-
def list_project_occurrences(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1554
|
+
def list_project_occurrences(parent, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1526
1555
|
command = make_simple_command(:get, 'v1beta1/{+parent}/occurrences', options)
|
1527
1556
|
command.response_representation = Google::Apis::ContaineranalysisV1beta1::ListOccurrencesResponse::Representation
|
1528
1557
|
command.response_class = Google::Apis::ContaineranalysisV1beta1::ListOccurrencesResponse
|
@@ -1530,6 +1559,7 @@ module Google
|
|
1530
1559
|
command.query['filter'] = filter unless filter.nil?
|
1531
1560
|
command.query['pageSize'] = page_size unless page_size.nil?
|
1532
1561
|
command.query['pageToken'] = page_token unless page_token.nil?
|
1562
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
1533
1563
|
command.query['fields'] = fields unless fields.nil?
|
1534
1564
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1535
1565
|
execute_or_queue_command(command, &block)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-containeranalysis_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.64.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-containeranalysis_v1beta1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1beta1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1beta1/v0.64.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1beta1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|