google-apis-containeranalysis_v1beta1 0.63.0 → 0.65.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 +8 -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 +37 -8
- data/lib/google/apis/containeranalysis_v1beta1.rb +1 -2
- 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: 7b214e832aa2ce4922b6f3027e2c506e9910bfe6ff15d4ea4aaac8a1a197f861
|
4
|
+
data.tar.gz: a070b3ed01e6681bbc9a09cd4443cbcc5d758f5e8d8a8c5067bdc3d56a0c7955
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 361afa3833700ef84ec46ea792fed3999e98e83d9699182cd0e319808f645392485a6bf31d9c1ff45cbc44585456af1bbfb4fbd5e312ecb8450722a9b6ded8b9
|
7
|
+
data.tar.gz: ad5624731e4d2bb221592f2fb9d2fee2aa0cf2cb9101a253dd8f2b77d746114cbb669e5147fc0aa3be15fb022905c912bf5556d6e7d1364e7ef14a6567339cd6
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-containeranalysis_v1beta1
|
2
2
|
|
3
|
+
### v0.65.0 (2025-07-13)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250704
|
6
|
+
|
7
|
+
### v0.64.0 (2025-06-22)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250616
|
10
|
+
|
3
11
|
### v0.63.0 (2025-06-08)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250528
|
@@ -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.65.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 = "20250704"
|
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
|
|
@@ -23,8 +23,7 @@ module Google
|
|
23
23
|
# Container Analysis API
|
24
24
|
#
|
25
25
|
# This API is a prerequisite for leveraging Artifact Analysis scanning
|
26
|
-
# capabilities in
|
27
|
-
# Insights (runtime scanning) in GKE. In addition, the Container Analysis API is
|
26
|
+
# capabilities in Artifact Registry. In addition, the Container Analysis API is
|
28
27
|
# an implementation of the Grafeas API, which enables storing, querying, and
|
29
28
|
# retrieval of critical metadata about all of your software artifacts.
|
30
29
|
#
|
@@ -238,6 +237,10 @@ module Google
|
|
238
237
|
# is 1000. If not specified, page size defaults to 20.
|
239
238
|
# @param [String] page_token
|
240
239
|
# Token to provide to skip to a particular spot in the list.
|
240
|
+
# @param [Boolean] return_partial_success
|
241
|
+
# If set, the request will return all reachable Notes and report all unreachable
|
242
|
+
# regions in the `unreachable` field in the response. Only applicable for
|
243
|
+
# requests in the global region.
|
241
244
|
# @param [String] fields
|
242
245
|
# Selector specifying which fields to include in a partial response.
|
243
246
|
# @param [String] quota_user
|
@@ -255,7 +258,7 @@ module Google
|
|
255
258
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
256
259
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
257
260
|
# @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)
|
261
|
+
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
262
|
command = make_simple_command(:get, 'v1beta1/{+parent}/notes', options)
|
260
263
|
command.response_representation = Google::Apis::ContaineranalysisV1beta1::ListNotesResponse::Representation
|
261
264
|
command.response_class = Google::Apis::ContaineranalysisV1beta1::ListNotesResponse
|
@@ -263,6 +266,7 @@ module Google
|
|
263
266
|
command.query['filter'] = filter unless filter.nil?
|
264
267
|
command.query['pageSize'] = page_size unless page_size.nil?
|
265
268
|
command.query['pageToken'] = page_token unless page_token.nil?
|
269
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
266
270
|
command.query['fields'] = fields unless fields.nil?
|
267
271
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
268
272
|
execute_or_queue_command(command, &block)
|
@@ -634,6 +638,10 @@ module Google
|
|
634
638
|
# form of `projects/[PROJECT_ID]`.
|
635
639
|
# @param [String] filter
|
636
640
|
# The filter expression.
|
641
|
+
# @param [Boolean] return_partial_success
|
642
|
+
# If set, the request will return all reachable occurrence summaries and report
|
643
|
+
# all unreachable regions in the `unreachable` field in the response. Only
|
644
|
+
# applicable for requests in the global region.
|
637
645
|
# @param [String] fields
|
638
646
|
# Selector specifying which fields to include in a partial response.
|
639
647
|
# @param [String] quota_user
|
@@ -651,12 +659,13 @@ module Google
|
|
651
659
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
652
660
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
653
661
|
# @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)
|
662
|
+
def get_project_location_occurrence_vulnerability_summary(parent, filter: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
655
663
|
command = make_simple_command(:get, 'v1beta1/{+parent}/occurrences:vulnerabilitySummary', options)
|
656
664
|
command.response_representation = Google::Apis::ContaineranalysisV1beta1::VulnerabilityOccurrencesSummary::Representation
|
657
665
|
command.response_class = Google::Apis::ContaineranalysisV1beta1::VulnerabilityOccurrencesSummary
|
658
666
|
command.params['parent'] = parent unless parent.nil?
|
659
667
|
command.query['filter'] = filter unless filter.nil?
|
668
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
660
669
|
command.query['fields'] = fields unless fields.nil?
|
661
670
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
662
671
|
execute_or_queue_command(command, &block)
|
@@ -673,6 +682,10 @@ module Google
|
|
673
682
|
# page size is 1000. If not specified, page size defaults to 20.
|
674
683
|
# @param [String] page_token
|
675
684
|
# Token to provide to skip to a particular spot in the list.
|
685
|
+
# @param [Boolean] return_partial_success
|
686
|
+
# If set, the request will return all reachable Occurrences and report all
|
687
|
+
# unreachable regions in the `unreachable` field in the response. Only
|
688
|
+
# applicable for requests in the global region.
|
676
689
|
# @param [String] fields
|
677
690
|
# Selector specifying which fields to include in a partial response.
|
678
691
|
# @param [String] quota_user
|
@@ -690,7 +703,7 @@ module Google
|
|
690
703
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
691
704
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
692
705
|
# @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)
|
706
|
+
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
707
|
command = make_simple_command(:get, 'v1beta1/{+parent}/occurrences', options)
|
695
708
|
command.response_representation = Google::Apis::ContaineranalysisV1beta1::ListOccurrencesResponse::Representation
|
696
709
|
command.response_class = Google::Apis::ContaineranalysisV1beta1::ListOccurrencesResponse
|
@@ -698,6 +711,7 @@ module Google
|
|
698
711
|
command.query['filter'] = filter unless filter.nil?
|
699
712
|
command.query['pageSize'] = page_size unless page_size.nil?
|
700
713
|
command.query['pageToken'] = page_token unless page_token.nil?
|
714
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
701
715
|
command.query['fields'] = fields unless fields.nil?
|
702
716
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
703
717
|
execute_or_queue_command(command, &block)
|
@@ -1070,6 +1084,10 @@ module Google
|
|
1070
1084
|
# is 1000. If not specified, page size defaults to 20.
|
1071
1085
|
# @param [String] page_token
|
1072
1086
|
# Token to provide to skip to a particular spot in the list.
|
1087
|
+
# @param [Boolean] return_partial_success
|
1088
|
+
# If set, the request will return all reachable Notes and report all unreachable
|
1089
|
+
# regions in the `unreachable` field in the response. Only applicable for
|
1090
|
+
# requests in the global region.
|
1073
1091
|
# @param [String] fields
|
1074
1092
|
# Selector specifying which fields to include in a partial response.
|
1075
1093
|
# @param [String] quota_user
|
@@ -1087,7 +1105,7 @@ module Google
|
|
1087
1105
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1088
1106
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1089
1107
|
# @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)
|
1108
|
+
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
1109
|
command = make_simple_command(:get, 'v1beta1/{+parent}/notes', options)
|
1092
1110
|
command.response_representation = Google::Apis::ContaineranalysisV1beta1::ListNotesResponse::Representation
|
1093
1111
|
command.response_class = Google::Apis::ContaineranalysisV1beta1::ListNotesResponse
|
@@ -1095,6 +1113,7 @@ module Google
|
|
1095
1113
|
command.query['filter'] = filter unless filter.nil?
|
1096
1114
|
command.query['pageSize'] = page_size unless page_size.nil?
|
1097
1115
|
command.query['pageToken'] = page_token unless page_token.nil?
|
1116
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
1098
1117
|
command.query['fields'] = fields unless fields.nil?
|
1099
1118
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1100
1119
|
execute_or_queue_command(command, &block)
|
@@ -1466,6 +1485,10 @@ module Google
|
|
1466
1485
|
# form of `projects/[PROJECT_ID]`.
|
1467
1486
|
# @param [String] filter
|
1468
1487
|
# The filter expression.
|
1488
|
+
# @param [Boolean] return_partial_success
|
1489
|
+
# If set, the request will return all reachable occurrence summaries and report
|
1490
|
+
# all unreachable regions in the `unreachable` field in the response. Only
|
1491
|
+
# applicable for requests in the global region.
|
1469
1492
|
# @param [String] fields
|
1470
1493
|
# Selector specifying which fields to include in a partial response.
|
1471
1494
|
# @param [String] quota_user
|
@@ -1483,12 +1506,13 @@ module Google
|
|
1483
1506
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1484
1507
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1485
1508
|
# @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)
|
1509
|
+
def get_project_occurrence_vulnerability_summary(parent, filter: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1487
1510
|
command = make_simple_command(:get, 'v1beta1/{+parent}/occurrences:vulnerabilitySummary', options)
|
1488
1511
|
command.response_representation = Google::Apis::ContaineranalysisV1beta1::VulnerabilityOccurrencesSummary::Representation
|
1489
1512
|
command.response_class = Google::Apis::ContaineranalysisV1beta1::VulnerabilityOccurrencesSummary
|
1490
1513
|
command.params['parent'] = parent unless parent.nil?
|
1491
1514
|
command.query['filter'] = filter unless filter.nil?
|
1515
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
1492
1516
|
command.query['fields'] = fields unless fields.nil?
|
1493
1517
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1494
1518
|
execute_or_queue_command(command, &block)
|
@@ -1505,6 +1529,10 @@ module Google
|
|
1505
1529
|
# page size is 1000. If not specified, page size defaults to 20.
|
1506
1530
|
# @param [String] page_token
|
1507
1531
|
# Token to provide to skip to a particular spot in the list.
|
1532
|
+
# @param [Boolean] return_partial_success
|
1533
|
+
# If set, the request will return all reachable Occurrences and report all
|
1534
|
+
# unreachable regions in the `unreachable` field in the response. Only
|
1535
|
+
# applicable for requests in the global region.
|
1508
1536
|
# @param [String] fields
|
1509
1537
|
# Selector specifying which fields to include in a partial response.
|
1510
1538
|
# @param [String] quota_user
|
@@ -1522,7 +1550,7 @@ module Google
|
|
1522
1550
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1523
1551
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1524
1552
|
# @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)
|
1553
|
+
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
1554
|
command = make_simple_command(:get, 'v1beta1/{+parent}/occurrences', options)
|
1527
1555
|
command.response_representation = Google::Apis::ContaineranalysisV1beta1::ListOccurrencesResponse::Representation
|
1528
1556
|
command.response_class = Google::Apis::ContaineranalysisV1beta1::ListOccurrencesResponse
|
@@ -1530,6 +1558,7 @@ module Google
|
|
1530
1558
|
command.query['filter'] = filter unless filter.nil?
|
1531
1559
|
command.query['pageSize'] = page_size unless page_size.nil?
|
1532
1560
|
command.query['pageToken'] = page_token unless page_token.nil?
|
1561
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
1533
1562
|
command.query['fields'] = fields unless fields.nil?
|
1534
1563
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1535
1564
|
execute_or_queue_command(command, &block)
|
@@ -22,8 +22,7 @@ module Google
|
|
22
22
|
# Container Analysis API
|
23
23
|
#
|
24
24
|
# This API is a prerequisite for leveraging Artifact Analysis scanning
|
25
|
-
# capabilities in
|
26
|
-
# Insights (runtime scanning) in GKE. In addition, the Container Analysis API is
|
25
|
+
# capabilities in Artifact Registry. In addition, the Container Analysis API is
|
27
26
|
# an implementation of the Grafeas API, which enables storing, querying, and
|
28
27
|
# retrieval of critical metadata about all of your software artifacts.
|
29
28
|
#
|
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.65.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.65.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:
|