google-apis-containeranalysis_v1 0.60.0 → 0.61.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_v1/classes.rb +21 -0
- data/lib/google/apis/containeranalysis_v1/gem_version.rb +2 -2
- data/lib/google/apis/containeranalysis_v1/representations.rb +3 -0
- data/lib/google/apis/containeranalysis_v1/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: f1a72efc7e4ad6dab7c8e164da1e48a417af54753fef1a7ffd9a1b14fccc6b87
|
4
|
+
data.tar.gz: baa4de9edef8d73a835a3c9dc984a3cf3b635a4716ae384b85b1348c7b2bf898
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f5093d1cda80a54385c1afba39df1b62d0cc8b3daf84d3462a801f2cb01ca330067e753f39ecca3dc63071be5d8c172d8bec3beda40297fe5fc56dce325b6448
|
7
|
+
data.tar.gz: 9761ac728771f6601fe75e12a6c869d96ed261f86846095779f303a45508a115cd97308cd19ad7b07aced4ef792355767f6b94d7b2ccc9f89d24325e4dcd0a30
|
data/CHANGELOG.md
CHANGED
@@ -4900,6 +4900,12 @@ module Google
|
|
4900
4900
|
# @return [Array<Google::Apis::ContaineranalysisV1::Note>]
|
4901
4901
|
attr_accessor :notes
|
4902
4902
|
|
4903
|
+
# Unordered list. Unreachable regions. Populated for requests from the global
|
4904
|
+
# region when `return_partial_success` is set. Format: projects//locations/
|
4905
|
+
# Corresponds to the JSON property `unreachable`
|
4906
|
+
# @return [Array<String>]
|
4907
|
+
attr_accessor :unreachable
|
4908
|
+
|
4903
4909
|
def initialize(**args)
|
4904
4910
|
update!(**args)
|
4905
4911
|
end
|
@@ -4908,6 +4914,7 @@ module Google
|
|
4908
4914
|
def update!(**args)
|
4909
4915
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
4910
4916
|
@notes = args[:notes] if args.key?(:notes)
|
4917
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
4911
4918
|
end
|
4912
4919
|
end
|
4913
4920
|
|
@@ -4926,6 +4933,12 @@ module Google
|
|
4926
4933
|
# @return [Array<Google::Apis::ContaineranalysisV1::Occurrence>]
|
4927
4934
|
attr_accessor :occurrences
|
4928
4935
|
|
4936
|
+
# Unordered list. Unreachable regions. Populated for requests from the global
|
4937
|
+
# region when `return_partial_success` is set. Format: projects//locations/
|
4938
|
+
# Corresponds to the JSON property `unreachable`
|
4939
|
+
# @return [Array<String>]
|
4940
|
+
attr_accessor :unreachable
|
4941
|
+
|
4929
4942
|
def initialize(**args)
|
4930
4943
|
update!(**args)
|
4931
4944
|
end
|
@@ -4934,6 +4947,7 @@ module Google
|
|
4934
4947
|
def update!(**args)
|
4935
4948
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
4936
4949
|
@occurrences = args[:occurrences] if args.key?(:occurrences)
|
4950
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
4937
4951
|
end
|
4938
4952
|
end
|
4939
4953
|
|
@@ -7492,6 +7506,12 @@ module Google
|
|
7492
7506
|
# @return [Array<Google::Apis::ContaineranalysisV1::FixableTotalByDigest>]
|
7493
7507
|
attr_accessor :counts
|
7494
7508
|
|
7509
|
+
# Unordered list. Unreachable regions. Populated for requests from the global
|
7510
|
+
# region when `return_partial_success` is set. Format: projects//locations/
|
7511
|
+
# Corresponds to the JSON property `unreachable`
|
7512
|
+
# @return [Array<String>]
|
7513
|
+
attr_accessor :unreachable
|
7514
|
+
|
7495
7515
|
def initialize(**args)
|
7496
7516
|
update!(**args)
|
7497
7517
|
end
|
@@ -7499,6 +7519,7 @@ module Google
|
|
7499
7519
|
# Update properties of this object
|
7500
7520
|
def update!(**args)
|
7501
7521
|
@counts = args[:counts] if args.key?(:counts)
|
7522
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
7502
7523
|
end
|
7503
7524
|
end
|
7504
7525
|
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.61.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
|
@@ -2394,6 +2394,7 @@ module Google
|
|
2394
2394
|
property :next_page_token, as: 'nextPageToken'
|
2395
2395
|
collection :notes, as: 'notes', class: Google::Apis::ContaineranalysisV1::Note, decorator: Google::Apis::ContaineranalysisV1::Note::Representation
|
2396
2396
|
|
2397
|
+
collection :unreachable, as: 'unreachable'
|
2397
2398
|
end
|
2398
2399
|
end
|
2399
2400
|
|
@@ -2403,6 +2404,7 @@ module Google
|
|
2403
2404
|
property :next_page_token, as: 'nextPageToken'
|
2404
2405
|
collection :occurrences, as: 'occurrences', class: Google::Apis::ContaineranalysisV1::Occurrence, decorator: Google::Apis::ContaineranalysisV1::Occurrence::Representation
|
2405
2406
|
|
2407
|
+
collection :unreachable, as: 'unreachable'
|
2406
2408
|
end
|
2407
2409
|
end
|
2408
2410
|
|
@@ -3080,6 +3082,7 @@ module Google
|
|
3080
3082
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3081
3083
|
collection :counts, as: 'counts', class: Google::Apis::ContaineranalysisV1::FixableTotalByDigest, decorator: Google::Apis::ContaineranalysisV1::FixableTotalByDigest::Representation
|
3082
3084
|
|
3085
|
+
collection :unreachable, as: 'unreachable'
|
3083
3086
|
end
|
3084
3087
|
end
|
3085
3088
|
|
@@ -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, 'v1/{+parent}/notes', options)
|
260
264
|
command.response_representation = Google::Apis::ContaineranalysisV1::ListNotesResponse::Representation
|
261
265
|
command.response_class = Google::Apis::ContaineranalysisV1::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, 'v1/{+parent}/occurrences:vulnerabilitySummary', options)
|
656
665
|
command.response_representation = Google::Apis::ContaineranalysisV1::VulnerabilityOccurrencesSummary::Representation
|
657
666
|
command.response_class = Google::Apis::ContaineranalysisV1::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, 'v1/{+parent}/occurrences', options)
|
695
709
|
command.response_representation = Google::Apis::ContaineranalysisV1::ListOccurrencesResponse::Representation
|
696
710
|
command.response_class = Google::Apis::ContaineranalysisV1::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)
|
@@ -1036,6 +1051,10 @@ module Google
|
|
1036
1051
|
# is 1000. If not specified, page size defaults to 20.
|
1037
1052
|
# @param [String] page_token
|
1038
1053
|
# Token to provide to skip to a particular spot in the list.
|
1054
|
+
# @param [Boolean] return_partial_success
|
1055
|
+
# If set, the request will return all reachable Notes and report all unreachable
|
1056
|
+
# regions in the `unreachable` field in the response. Only applicable for
|
1057
|
+
# requests in the global region.
|
1039
1058
|
# @param [String] fields
|
1040
1059
|
# Selector specifying which fields to include in a partial response.
|
1041
1060
|
# @param [String] quota_user
|
@@ -1053,7 +1072,7 @@ module Google
|
|
1053
1072
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1054
1073
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1055
1074
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1056
|
-
def list_project_notes(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1075
|
+
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)
|
1057
1076
|
command = make_simple_command(:get, 'v1/{+parent}/notes', options)
|
1058
1077
|
command.response_representation = Google::Apis::ContaineranalysisV1::ListNotesResponse::Representation
|
1059
1078
|
command.response_class = Google::Apis::ContaineranalysisV1::ListNotesResponse
|
@@ -1061,6 +1080,7 @@ module Google
|
|
1061
1080
|
command.query['filter'] = filter unless filter.nil?
|
1062
1081
|
command.query['pageSize'] = page_size unless page_size.nil?
|
1063
1082
|
command.query['pageToken'] = page_token unless page_token.nil?
|
1083
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
1064
1084
|
command.query['fields'] = fields unless fields.nil?
|
1065
1085
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1066
1086
|
execute_or_queue_command(command, &block)
|
@@ -1432,6 +1452,10 @@ module Google
|
|
1432
1452
|
# form of `projects/[PROJECT_ID]`.
|
1433
1453
|
# @param [String] filter
|
1434
1454
|
# The filter expression.
|
1455
|
+
# @param [Boolean] return_partial_success
|
1456
|
+
# If set, the request will return all reachable occurrence summaries and report
|
1457
|
+
# all unreachable regions in the `unreachable` field in the response. Only
|
1458
|
+
# applicable for requests in the global region.
|
1435
1459
|
# @param [String] fields
|
1436
1460
|
# Selector specifying which fields to include in a partial response.
|
1437
1461
|
# @param [String] quota_user
|
@@ -1449,12 +1473,13 @@ module Google
|
|
1449
1473
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1450
1474
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1451
1475
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1452
|
-
def get_project_occurrence_vulnerability_summary(parent, filter: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1476
|
+
def get_project_occurrence_vulnerability_summary(parent, filter: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1453
1477
|
command = make_simple_command(:get, 'v1/{+parent}/occurrences:vulnerabilitySummary', options)
|
1454
1478
|
command.response_representation = Google::Apis::ContaineranalysisV1::VulnerabilityOccurrencesSummary::Representation
|
1455
1479
|
command.response_class = Google::Apis::ContaineranalysisV1::VulnerabilityOccurrencesSummary
|
1456
1480
|
command.params['parent'] = parent unless parent.nil?
|
1457
1481
|
command.query['filter'] = filter unless filter.nil?
|
1482
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
1458
1483
|
command.query['fields'] = fields unless fields.nil?
|
1459
1484
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1460
1485
|
execute_or_queue_command(command, &block)
|
@@ -1471,6 +1496,10 @@ module Google
|
|
1471
1496
|
# page size is 1000. If not specified, page size defaults to 20.
|
1472
1497
|
# @param [String] page_token
|
1473
1498
|
# Token to provide to skip to a particular spot in the list.
|
1499
|
+
# @param [Boolean] return_partial_success
|
1500
|
+
# If set, the request will return all reachable Occurrences and report all
|
1501
|
+
# unreachable regions in the `unreachable` field in the response. Only
|
1502
|
+
# applicable for requests in the global region.
|
1474
1503
|
# @param [String] fields
|
1475
1504
|
# Selector specifying which fields to include in a partial response.
|
1476
1505
|
# @param [String] quota_user
|
@@ -1488,7 +1517,7 @@ module Google
|
|
1488
1517
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1489
1518
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1490
1519
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1491
|
-
def list_project_occurrences(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1520
|
+
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)
|
1492
1521
|
command = make_simple_command(:get, 'v1/{+parent}/occurrences', options)
|
1493
1522
|
command.response_representation = Google::Apis::ContaineranalysisV1::ListOccurrencesResponse::Representation
|
1494
1523
|
command.response_class = Google::Apis::ContaineranalysisV1::ListOccurrencesResponse
|
@@ -1496,6 +1525,7 @@ module Google
|
|
1496
1525
|
command.query['filter'] = filter unless filter.nil?
|
1497
1526
|
command.query['pageSize'] = page_size unless page_size.nil?
|
1498
1527
|
command.query['pageToken'] = page_token unless page_token.nil?
|
1528
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
1499
1529
|
command.query['fields'] = fields unless fields.nil?
|
1500
1530
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1501
1531
|
execute_or_queue_command(command, &block)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-containeranalysis_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.61.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_v1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1/v0.61.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|