google-apis-assuredworkloads_v1 0.67.0 → 0.68.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: 2874b38449ae04a53f71192d0bcc4a27a89db61f7573285b75b3e5456b795dae
4
- data.tar.gz: f2703320c72de83f4ecfb2be1602d707e9fd5d99c9902f7daf5625b4ef3314a0
3
+ metadata.gz: 2aa21d4c4abdd646524ae38fe755bd9bd09cf035ab8660ab1124ba7c3fdde8a5
4
+ data.tar.gz: f71ff8999943b385e6d94f9f0e7a5c26affbddfc0b634672004e651ea195c33c
5
5
  SHA512:
6
- metadata.gz: 764b36079ae27c10c2ad7252281ea04db97aa9db28e20069ace072d8e19566f651bc7bd32db3700e6d626ceeb496bde7b43a7e9e786464490bd065ca6b2f89c6
7
- data.tar.gz: 90ef71ac14d54e07dafe303cbcf012f72ce7fe78dd402b20a38104b30bcfd673459808ec5605b8b0857298a3aa86d98c4567a59e4efd533196a197b1ddec993b
6
+ metadata.gz: fb42af793ee6f1423714ef1eb2fea383437dd3d03287cfc9427901474509d3765c25529ee99754b23a016acb0031369238920cb00a0babd8b628b12d4a5f9747
7
+ data.tar.gz: e4a6134d62c91b26905ab3778410ccc025b3d807675a9c7e95feea7cf5b605b785cc4c155de40b36f1b56d16ccb19984ba08d4755a3176b60a27b27a05f6fcc9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-assuredworkloads_v1
2
2
 
3
+ ### v0.68.0 (2026-07-05)
4
+
5
+ * Regenerated from discovery document revision 20260623
6
+
3
7
  ### v0.67.0 (2026-06-21)
4
8
 
5
9
  * Regenerated from discovery document revision 20260615
@@ -307,12 +307,18 @@ module Google
307
307
  class GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponse
308
308
  include Google::Apis::Core::Hashable
309
309
 
310
+ # Count of acknowledged violations.
311
+ # Corresponds to the JSON property `acknowledgedViolationsCount`
312
+ # @return [Fixnum]
313
+ attr_accessor :acknowledged_violations_count
314
+
310
315
  def initialize(**args)
311
316
  update!(**args)
312
317
  end
313
318
 
314
319
  # Update properties of this object
315
320
  def update!(**args)
321
+ @acknowledged_violations_count = args[:acknowledged_violations_count] if args.key?(:acknowledged_violations_count)
316
322
  end
317
323
  end
318
324
 
@@ -354,6 +360,61 @@ module Google
354
360
  end
355
361
  end
356
362
 
363
+ # The details for a finding.
364
+ class GoogleCloudAssuredworkloadsV1DbFindingSummary
365
+ include Google::Apis::Core::Hashable
366
+
367
+ # Output only. The category of the finding.
368
+ # Corresponds to the JSON property `findingCategory`
369
+ # @return [String]
370
+ attr_accessor :finding_category
371
+
372
+ # Output only. The class of the finding.
373
+ # Corresponds to the JSON property `findingClass`
374
+ # @return [String]
375
+ attr_accessor :finding_class
376
+
377
+ # Output only. The count of the finding.
378
+ # Corresponds to the JSON property `findingCount`
379
+ # @return [Fixnum]
380
+ attr_accessor :finding_count
381
+
382
+ # Identifier. The name of the finding summary.
383
+ # Corresponds to the JSON property `name`
384
+ # @return [String]
385
+ attr_accessor :name
386
+
387
+ # Optional. The list of compliance frameworks that the finding belongs to.
388
+ # Corresponds to the JSON property `relatedFrameworks`
389
+ # @return [Array<String>]
390
+ attr_accessor :related_frameworks
391
+
392
+ # Output only. The severity of the finding.
393
+ # Corresponds to the JSON property `severity`
394
+ # @return [String]
395
+ attr_accessor :severity
396
+
397
+ # Output only. The last updated time of the finding.
398
+ # Corresponds to the JSON property `updateTime`
399
+ # @return [String]
400
+ attr_accessor :update_time
401
+
402
+ def initialize(**args)
403
+ update!(**args)
404
+ end
405
+
406
+ # Update properties of this object
407
+ def update!(**args)
408
+ @finding_category = args[:finding_category] if args.key?(:finding_category)
409
+ @finding_class = args[:finding_class] if args.key?(:finding_class)
410
+ @finding_count = args[:finding_count] if args.key?(:finding_count)
411
+ @name = args[:name] if args.key?(:name)
412
+ @related_frameworks = args[:related_frameworks] if args.key?(:related_frameworks)
413
+ @severity = args[:severity] if args.key?(:severity)
414
+ @update_time = args[:update_time] if args.key?(:update_time)
415
+ end
416
+ end
417
+
357
418
  # Response for EnableComplianceUpdates endpoint.
358
419
  class GoogleCloudAssuredworkloadsV1EnableComplianceUpdatesResponse
359
420
  include Google::Apis::Core::Hashable
@@ -380,6 +441,31 @@ module Google
380
441
  end
381
442
  end
382
443
 
444
+ # The response message for ListDbFindingSummaries.
445
+ class GoogleCloudAssuredworkloadsV1ListDbFindingSummariesResponse
446
+ include Google::Apis::Core::Hashable
447
+
448
+ # List of finding summary by category.
449
+ # Corresponds to the JSON property `dbFindingSummaries`
450
+ # @return [Array<Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1DbFindingSummary>]
451
+ attr_accessor :db_finding_summaries
452
+
453
+ # Output only. The token to retrieve the next page of results.
454
+ # Corresponds to the JSON property `nextPageToken`
455
+ # @return [String]
456
+ attr_accessor :next_page_token
457
+
458
+ def initialize(**args)
459
+ update!(**args)
460
+ end
461
+
462
+ # Update properties of this object
463
+ def update!(**args)
464
+ @db_finding_summaries = args[:db_finding_summaries] if args.key?(:db_finding_summaries)
465
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
466
+ end
467
+ end
468
+
383
469
  # Response of ListViolations endpoint.
384
470
  class GoogleCloudAssuredworkloadsV1ListViolationsResponse
385
471
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AssuredworkloadsV1
18
18
  # Version of the google-apis-assuredworkloads_v1 gem
19
- GEM_VERSION = "0.67.0"
19
+ GEM_VERSION = "0.68.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260615"
25
+ REVISION = "20260623"
26
26
  end
27
27
  end
28
28
  end
@@ -94,6 +94,12 @@ module Google
94
94
  include Google::Apis::Core::JsonObjectSupport
95
95
  end
96
96
 
97
+ class GoogleCloudAssuredworkloadsV1DbFindingSummary
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
97
103
  class GoogleCloudAssuredworkloadsV1EnableComplianceUpdatesResponse
98
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
105
 
@@ -106,6 +112,12 @@ module Google
106
112
  include Google::Apis::Core::JsonObjectSupport
107
113
  end
108
114
 
115
+ class GoogleCloudAssuredworkloadsV1ListDbFindingSummariesResponse
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
109
121
  class GoogleCloudAssuredworkloadsV1ListViolationsResponse
110
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
123
 
@@ -411,6 +423,7 @@ module Google
411
423
  class GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponse
412
424
  # @private
413
425
  class Representation < Google::Apis::Core::JsonRepresentation
426
+ property :acknowledged_violations_count, as: 'acknowledgedViolationsCount'
414
427
  end
415
428
  end
416
429
 
@@ -424,6 +437,19 @@ module Google
424
437
  end
425
438
  end
426
439
 
440
+ class GoogleCloudAssuredworkloadsV1DbFindingSummary
441
+ # @private
442
+ class Representation < Google::Apis::Core::JsonRepresentation
443
+ property :finding_category, as: 'findingCategory'
444
+ property :finding_class, as: 'findingClass'
445
+ property :finding_count, :numeric_string => true, as: 'findingCount'
446
+ property :name, as: 'name'
447
+ collection :related_frameworks, as: 'relatedFrameworks'
448
+ property :severity, as: 'severity'
449
+ property :update_time, as: 'updateTime'
450
+ end
451
+ end
452
+
427
453
  class GoogleCloudAssuredworkloadsV1EnableComplianceUpdatesResponse
428
454
  # @private
429
455
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -436,6 +462,15 @@ module Google
436
462
  end
437
463
  end
438
464
 
465
+ class GoogleCloudAssuredworkloadsV1ListDbFindingSummariesResponse
466
+ # @private
467
+ class Representation < Google::Apis::Core::JsonRepresentation
468
+ collection :db_finding_summaries, as: 'dbFindingSummaries', class: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1DbFindingSummary, decorator: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1DbFindingSummary::Representation
469
+
470
+ property :next_page_token, as: 'nextPageToken'
471
+ end
472
+ end
473
+
439
474
  class GoogleCloudAssuredworkloadsV1ListViolationsResponse
440
475
  # @private
441
476
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -113,6 +113,92 @@ module Google
113
113
  execute_or_queue_command(command, &block)
114
114
  end
115
115
 
116
+ # Lists the finding summary by category for a given scope.
117
+ # @param [String] parent
118
+ # Required. The parent scope for the framework overview page. Formats: -
119
+ # projects/`project`/locations/`location` - folders/`folder`/locations/`location`
120
+ # - organizations/`organization`/locations/`location`
121
+ # @param [String] filter
122
+ # Optional. The filtering results.
123
+ # @param [Fixnum] page_size
124
+ # Optional. The requested page size. The server might return fewer items than
125
+ # requested. If unspecified, the server picks an appropriate default.
126
+ # @param [String] page_token
127
+ # Optional. A token that identifies the page of results that the server should
128
+ # return.
129
+ # @param [String] fields
130
+ # Selector specifying which fields to include in a partial response.
131
+ # @param [String] quota_user
132
+ # Available to use for quota purposes for server-side applications. Can be any
133
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
134
+ # @param [Google::Apis::RequestOptions] options
135
+ # Request-specific options
136
+ #
137
+ # @yield [result, err] Result & error if block supplied
138
+ # @yieldparam result [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ListDbFindingSummariesResponse] parsed result object
139
+ # @yieldparam err [StandardError] error object if request failed
140
+ #
141
+ # @return [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ListDbFindingSummariesResponse]
142
+ #
143
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
144
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
145
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
146
+ def list_folder_location_db_finding_summaries(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
147
+ command = make_simple_command(:get, 'v1/{+parent}/dbFindingSummaries', options)
148
+ command.response_representation = Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ListDbFindingSummariesResponse::Representation
149
+ command.response_class = Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ListDbFindingSummariesResponse
150
+ command.params['parent'] = parent unless parent.nil?
151
+ command.query['filter'] = filter unless filter.nil?
152
+ command.query['pageSize'] = page_size unless page_size.nil?
153
+ command.query['pageToken'] = page_token unless page_token.nil?
154
+ command.query['fields'] = fields unless fields.nil?
155
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
156
+ execute_or_queue_command(command, &block)
157
+ end
158
+
159
+ # Lists the finding summary by category for a given scope.
160
+ # @param [String] parent
161
+ # Required. The parent scope for the framework overview page. Formats: -
162
+ # projects/`project`/locations/`location` - folders/`folder`/locations/`location`
163
+ # - organizations/`organization`/locations/`location`
164
+ # @param [String] filter
165
+ # Optional. The filtering results.
166
+ # @param [Fixnum] page_size
167
+ # Optional. The requested page size. The server might return fewer items than
168
+ # requested. If unspecified, the server picks an appropriate default.
169
+ # @param [String] page_token
170
+ # Optional. A token that identifies the page of results that the server should
171
+ # return.
172
+ # @param [String] fields
173
+ # Selector specifying which fields to include in a partial response.
174
+ # @param [String] quota_user
175
+ # Available to use for quota purposes for server-side applications. Can be any
176
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
177
+ # @param [Google::Apis::RequestOptions] options
178
+ # Request-specific options
179
+ #
180
+ # @yield [result, err] Result & error if block supplied
181
+ # @yieldparam result [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ListDbFindingSummariesResponse] parsed result object
182
+ # @yieldparam err [StandardError] error object if request failed
183
+ #
184
+ # @return [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ListDbFindingSummariesResponse]
185
+ #
186
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
187
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
188
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
189
+ def list_organization_location_db_finding_summaries(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
190
+ command = make_simple_command(:get, 'v1/{+parent}/dbFindingSummaries', options)
191
+ command.response_representation = Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ListDbFindingSummariesResponse::Representation
192
+ command.response_class = Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ListDbFindingSummariesResponse
193
+ command.params['parent'] = parent unless parent.nil?
194
+ command.query['filter'] = filter unless filter.nil?
195
+ command.query['pageSize'] = page_size unless page_size.nil?
196
+ command.query['pageToken'] = page_token unless page_token.nil?
197
+ command.query['fields'] = fields unless fields.nil?
198
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
199
+ execute_or_queue_command(command, &block)
200
+ end
201
+
116
202
  # Gets the latest state of a long-running operation. Clients can use this method
117
203
  # to poll the operation result at intervals as recommended by the API service.
118
204
  # @param [String] name
@@ -818,6 +904,49 @@ module Google
818
904
  command.query['quotaUser'] = quota_user unless quota_user.nil?
819
905
  execute_or_queue_command(command, &block)
820
906
  end
907
+
908
+ # Lists the finding summary by category for a given scope.
909
+ # @param [String] parent
910
+ # Required. The parent scope for the framework overview page. Formats: -
911
+ # projects/`project`/locations/`location` - folders/`folder`/locations/`location`
912
+ # - organizations/`organization`/locations/`location`
913
+ # @param [String] filter
914
+ # Optional. The filtering results.
915
+ # @param [Fixnum] page_size
916
+ # Optional. The requested page size. The server might return fewer items than
917
+ # requested. If unspecified, the server picks an appropriate default.
918
+ # @param [String] page_token
919
+ # Optional. A token that identifies the page of results that the server should
920
+ # return.
921
+ # @param [String] fields
922
+ # Selector specifying which fields to include in a partial response.
923
+ # @param [String] quota_user
924
+ # Available to use for quota purposes for server-side applications. Can be any
925
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
926
+ # @param [Google::Apis::RequestOptions] options
927
+ # Request-specific options
928
+ #
929
+ # @yield [result, err] Result & error if block supplied
930
+ # @yieldparam result [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ListDbFindingSummariesResponse] parsed result object
931
+ # @yieldparam err [StandardError] error object if request failed
932
+ #
933
+ # @return [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ListDbFindingSummariesResponse]
934
+ #
935
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
936
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
937
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
938
+ def list_project_location_db_finding_summaries(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
939
+ command = make_simple_command(:get, 'v1/{+parent}/dbFindingSummaries', options)
940
+ command.response_representation = Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ListDbFindingSummariesResponse::Representation
941
+ command.response_class = Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ListDbFindingSummariesResponse
942
+ command.params['parent'] = parent unless parent.nil?
943
+ command.query['filter'] = filter unless filter.nil?
944
+ command.query['pageSize'] = page_size unless page_size.nil?
945
+ command.query['pageToken'] = page_token unless page_token.nil?
946
+ command.query['fields'] = fields unless fields.nil?
947
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
948
+ execute_or_queue_command(command, &block)
949
+ end
821
950
 
822
951
  protected
823
952
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-assuredworkloads_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.67.0
4
+ version: 0.68.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-assuredworkloads_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-assuredworkloads_v1/v0.67.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-assuredworkloads_v1/v0.68.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-assuredworkloads_v1
62
62
  rdoc_options: []
63
63
  require_paths: