google-apis-containeranalysis_v1 0.60.0 → 0.62.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: ea0ae0ba5cbce6b8385fc0cf7827920660670064414598b6e0fb74061a63ae78
4
- data.tar.gz: f030dc50bc6aadabeceb665f5367389cf4b598350e25763a4841a65632c430f6
3
+ metadata.gz: 7b84bb6d05a66a4fe2c1d3f612de8382b37b2bbbf06d88287738cda6969e440f
4
+ data.tar.gz: e1e5d4a4800cf05c2016bc6d68a41a574df1d3047c60a93816600841896a3af9
5
5
  SHA512:
6
- metadata.gz: ff02377a3f85806193330c7adfb163803fe33286c4193bd576e5217a15e588b3d89e8a6639eeb0cbfb54fa07dc27a874ee978e7512bf5f105a21ea759929b07c
7
- data.tar.gz: 50106ad0bf0f23dde177801485237c4a3e7654fb65f47de07bad24c74205e5eadf0e28a1054b5e782be4db4b607ae968488d36957a9525544229c589e9c1c6c1
6
+ metadata.gz: 1f0174fb2fb9367d5b5a4f1191099f70a88c8adeca46ab30330930c57425069dec5e76dd4675f247bf6e9cf0572daeb2644cd7d49c8d4b34991e310c4a12bb92
7
+ data.tar.gz: 23d8ee1e25f8b5b09e1a259f22edfe44f554fcc4243a46f10dea2ffba867c1f8a5c28f7eaabe555b2e0601ebf9c4288590a8c90ece3b57f184f73a5abd69c98f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-containeranalysis_v1
2
2
 
3
+ ### v0.62.0 (2025-07-13)
4
+
5
+ * Regenerated from discovery document revision 20250704
6
+
7
+ ### v0.61.0 (2025-06-22)
8
+
9
+ * Regenerated from discovery document revision 20250616
10
+
3
11
  ### v0.60.0 (2025-06-08)
4
12
 
5
13
  * Regenerated from discovery document revision 20250528
@@ -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.60.0"
19
+ GEM_VERSION = "0.62.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 = "20250528"
25
+ REVISION = "20250704"
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
 
@@ -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 both Artifact Registry and with Advanced Vulnerability
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, 'v1/{+parent}/notes', options)
260
263
  command.response_representation = Google::Apis::ContaineranalysisV1::ListNotesResponse::Representation
261
264
  command.response_class = Google::Apis::ContaineranalysisV1::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, 'v1/{+parent}/occurrences:vulnerabilitySummary', options)
656
664
  command.response_representation = Google::Apis::ContaineranalysisV1::VulnerabilityOccurrencesSummary::Representation
657
665
  command.response_class = Google::Apis::ContaineranalysisV1::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, 'v1/{+parent}/occurrences', options)
695
708
  command.response_representation = Google::Apis::ContaineranalysisV1::ListOccurrencesResponse::Representation
696
709
  command.response_class = Google::Apis::ContaineranalysisV1::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)
@@ -1036,6 +1050,10 @@ module Google
1036
1050
  # is 1000. If not specified, page size defaults to 20.
1037
1051
  # @param [String] page_token
1038
1052
  # Token to provide to skip to a particular spot in the list.
1053
+ # @param [Boolean] return_partial_success
1054
+ # If set, the request will return all reachable Notes and report all unreachable
1055
+ # regions in the `unreachable` field in the response. Only applicable for
1056
+ # requests in the global region.
1039
1057
  # @param [String] fields
1040
1058
  # Selector specifying which fields to include in a partial response.
1041
1059
  # @param [String] quota_user
@@ -1053,7 +1071,7 @@ module Google
1053
1071
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1054
1072
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1055
1073
  # @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)
1074
+ 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
1075
  command = make_simple_command(:get, 'v1/{+parent}/notes', options)
1058
1076
  command.response_representation = Google::Apis::ContaineranalysisV1::ListNotesResponse::Representation
1059
1077
  command.response_class = Google::Apis::ContaineranalysisV1::ListNotesResponse
@@ -1061,6 +1079,7 @@ module Google
1061
1079
  command.query['filter'] = filter unless filter.nil?
1062
1080
  command.query['pageSize'] = page_size unless page_size.nil?
1063
1081
  command.query['pageToken'] = page_token unless page_token.nil?
1082
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
1064
1083
  command.query['fields'] = fields unless fields.nil?
1065
1084
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1066
1085
  execute_or_queue_command(command, &block)
@@ -1432,6 +1451,10 @@ module Google
1432
1451
  # form of `projects/[PROJECT_ID]`.
1433
1452
  # @param [String] filter
1434
1453
  # The filter expression.
1454
+ # @param [Boolean] return_partial_success
1455
+ # If set, the request will return all reachable occurrence summaries and report
1456
+ # all unreachable regions in the `unreachable` field in the response. Only
1457
+ # applicable for requests in the global region.
1435
1458
  # @param [String] fields
1436
1459
  # Selector specifying which fields to include in a partial response.
1437
1460
  # @param [String] quota_user
@@ -1449,12 +1472,13 @@ module Google
1449
1472
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1450
1473
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1451
1474
  # @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)
1475
+ def get_project_occurrence_vulnerability_summary(parent, filter: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
1453
1476
  command = make_simple_command(:get, 'v1/{+parent}/occurrences:vulnerabilitySummary', options)
1454
1477
  command.response_representation = Google::Apis::ContaineranalysisV1::VulnerabilityOccurrencesSummary::Representation
1455
1478
  command.response_class = Google::Apis::ContaineranalysisV1::VulnerabilityOccurrencesSummary
1456
1479
  command.params['parent'] = parent unless parent.nil?
1457
1480
  command.query['filter'] = filter unless filter.nil?
1481
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
1458
1482
  command.query['fields'] = fields unless fields.nil?
1459
1483
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1460
1484
  execute_or_queue_command(command, &block)
@@ -1471,6 +1495,10 @@ module Google
1471
1495
  # page size is 1000. If not specified, page size defaults to 20.
1472
1496
  # @param [String] page_token
1473
1497
  # Token to provide to skip to a particular spot in the list.
1498
+ # @param [Boolean] return_partial_success
1499
+ # If set, the request will return all reachable Occurrences and report all
1500
+ # unreachable regions in the `unreachable` field in the response. Only
1501
+ # applicable for requests in the global region.
1474
1502
  # @param [String] fields
1475
1503
  # Selector specifying which fields to include in a partial response.
1476
1504
  # @param [String] quota_user
@@ -1488,7 +1516,7 @@ module Google
1488
1516
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1489
1517
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1490
1518
  # @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)
1519
+ 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
1520
  command = make_simple_command(:get, 'v1/{+parent}/occurrences', options)
1493
1521
  command.response_representation = Google::Apis::ContaineranalysisV1::ListOccurrencesResponse::Representation
1494
1522
  command.response_class = Google::Apis::ContaineranalysisV1::ListOccurrencesResponse
@@ -1496,6 +1524,7 @@ module Google
1496
1524
  command.query['filter'] = filter unless filter.nil?
1497
1525
  command.query['pageSize'] = page_size unless page_size.nil?
1498
1526
  command.query['pageToken'] = page_token unless page_token.nil?
1527
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
1499
1528
  command.query['fields'] = fields unless fields.nil?
1500
1529
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1501
1530
  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 both Artifact Registry and with Advanced Vulnerability
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_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.60.0
4
+ version: 0.62.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.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1/v0.62.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: