google-apis-assuredworkloads_v1beta1 0.38.0 → 0.39.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: 9984ac042a017fb3fe7a43503428739ba03f12bce62ff645ead638d13245d345
4
- data.tar.gz: 772d842e279ab8c8d673da68ebc27a889c6bc71957cec32b1f0da03fa898317e
3
+ metadata.gz: 8866d9e598aa006c0454766488f871911699d869daf16acd23ac32db7bd118ce
4
+ data.tar.gz: a6e53fb9027fe274b11b618b5e1384a97737332c5aeefc8a2520b34c4308cee9
5
5
  SHA512:
6
- metadata.gz: 5da99287b27cdbc70648f6bcc8b91397a1d70cc3943928af10cc2d630a59aa840909c3b39652705476887713381d2b0050a3bb5ecae7a32112d54bd2b39b9783
7
- data.tar.gz: 93138ca80d89b6356df1011a294ceb901e641d8b3b3c9b653884f4ec7df53066a3f9c3204b29a72e3fd78365df47b1fcf4009f4e67c02a55f0393aada655b3f4
6
+ metadata.gz: 63015db6f0ce3452ea0ac0eb6d89151015b9e0e8c243ef279155affa368f80e7ba74aa192033cf525efad1f3f3ddf0eb442587770375a2ee8db33f784f6d1083
7
+ data.tar.gz: 05ccf73dc94cd948d02a99171cdacf6434edf65f6ecdf2b2e976745972b9ec6ec3384c72e3052921fd2a58d12b26fb48bf0a07c1c3ceef0f8006436b2f4dda36
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-assuredworkloads_v1beta1
2
2
 
3
+ ### v0.39.0 (2026-08-16)
4
+
5
+ * Regenerated from discovery document revision 20260810
6
+
3
7
  ### v0.38.0 (2026-07-26)
4
8
 
5
9
  * Regenerated from discovery document revision 20260719
@@ -313,59 +313,6 @@ module Google
313
313
  end
314
314
  end
315
315
 
316
- # Request for acknowledging the violations in a batch
317
- class GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsRequest
318
- include Google::Apis::Core::Hashable
319
-
320
- # Optional. Acknowledge type of specified violations.
321
- # Corresponds to the JSON property `acknowledgeType`
322
- # @return [String]
323
- attr_accessor :acknowledge_type
324
-
325
- # Required. Business justification explaining the need for violations
326
- # acknowledgement
327
- # Corresponds to the JSON property `comment`
328
- # @return [String]
329
- attr_accessor :comment
330
-
331
- # Required. The resource names of the Violations to acknowledge. Format for each
332
- # name: organizations/`organization`/locations/`location`/workloads/`workload`/
333
- # violations/`violation`
334
- # Corresponds to the JSON property `names`
335
- # @return [Array<String>]
336
- attr_accessor :names
337
-
338
- def initialize(**args)
339
- update!(**args)
340
- end
341
-
342
- # Update properties of this object
343
- def update!(**args)
344
- @acknowledge_type = args[:acknowledge_type] if args.key?(:acknowledge_type)
345
- @comment = args[:comment] if args.key?(:comment)
346
- @names = args[:names] if args.key?(:names)
347
- end
348
- end
349
-
350
- # Response for batch violation acknowledgement
351
- class GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse
352
- include Google::Apis::Core::Hashable
353
-
354
- # Count of acknowledged violations.
355
- # Corresponds to the JSON property `acknowledgedViolationsCount`
356
- # @return [Fixnum]
357
- attr_accessor :acknowledged_violations_count
358
-
359
- def initialize(**args)
360
- update!(**args)
361
- end
362
-
363
- # Update properties of this object
364
- def update!(**args)
365
- @acknowledged_violations_count = args[:acknowledged_violations_count] if args.key?(:acknowledged_violations_count)
366
- end
367
- end
368
-
369
316
  # A Common Expression Language (CEL) expression that's used to create a rule.
370
317
  class GoogleCloudAssuredworkloadsV1beta1CelExpression
371
318
  include Google::Apis::Core::Hashable
@@ -739,11 +686,21 @@ module Google
739
686
  # @return [String]
740
687
  attr_accessor :name
741
688
 
689
+ # Output only. Number of active organization policy findings for this category.
690
+ # Corresponds to the JSON property `organizationPolicyFindingCount`
691
+ # @return [Fixnum]
692
+ attr_accessor :organization_policy_finding_count
693
+
742
694
  # Optional. The list of compliance frameworks that the finding belongs to.
743
695
  # Corresponds to the JSON property `relatedFrameworks`
744
696
  # @return [Array<String>]
745
697
  attr_accessor :related_frameworks
746
698
 
699
+ # Output only. Number of active resource findings for this category.
700
+ # Corresponds to the JSON property `resourceFindingCount`
701
+ # @return [Fixnum]
702
+ attr_accessor :resource_finding_count
703
+
747
704
  # Output only. The severity of the finding.
748
705
  # Corresponds to the JSON property `severity`
749
706
  # @return [String]
@@ -764,7 +721,9 @@ module Google
764
721
  @finding_class = args[:finding_class] if args.key?(:finding_class)
765
722
  @finding_count = args[:finding_count] if args.key?(:finding_count)
766
723
  @name = args[:name] if args.key?(:name)
724
+ @organization_policy_finding_count = args[:organization_policy_finding_count] if args.key?(:organization_policy_finding_count)
767
725
  @related_frameworks = args[:related_frameworks] if args.key?(:related_frameworks)
726
+ @resource_finding_count = args[:resource_finding_count] if args.key?(:resource_finding_count)
768
727
  @severity = args[:severity] if args.key?(:severity)
769
728
  @update_time = args[:update_time] if args.key?(:update_time)
770
729
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AssuredworkloadsV1beta1
18
18
  # Version of the google-apis-assuredworkloads_v1beta1 gem
19
- GEM_VERSION = "0.38.0"
19
+ GEM_VERSION = "0.39.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 = "20260719"
25
+ REVISION = "20260810"
26
26
  end
27
27
  end
28
28
  end
@@ -88,18 +88,6 @@ module Google
88
88
  include Google::Apis::Core::JsonObjectSupport
89
89
  end
90
90
 
91
- class GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsRequest
92
- class Representation < Google::Apis::Core::JsonRepresentation; end
93
-
94
- include Google::Apis::Core::JsonObjectSupport
95
- end
96
-
97
- class GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse
98
- class Representation < Google::Apis::Core::JsonRepresentation; end
99
-
100
- include Google::Apis::Core::JsonObjectSupport
101
- end
102
-
103
91
  class GoogleCloudAssuredworkloadsV1beta1CelExpression
104
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
93
 
@@ -548,22 +536,6 @@ module Google
548
536
  end
549
537
  end
550
538
 
551
- class GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsRequest
552
- # @private
553
- class Representation < Google::Apis::Core::JsonRepresentation
554
- property :acknowledge_type, as: 'acknowledgeType'
555
- property :comment, as: 'comment'
556
- collection :names, as: 'names'
557
- end
558
- end
559
-
560
- class GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse
561
- # @private
562
- class Representation < Google::Apis::Core::JsonRepresentation
563
- property :acknowledged_violations_count, as: 'acknowledgedViolationsCount'
564
- end
565
- end
566
-
567
539
  class GoogleCloudAssuredworkloadsV1beta1CelExpression
568
540
  # @private
569
541
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -659,7 +631,9 @@ module Google
659
631
  property :finding_class, as: 'findingClass'
660
632
  property :finding_count, :numeric_string => true, as: 'findingCount'
661
633
  property :name, as: 'name'
634
+ property :organization_policy_finding_count, :numeric_string => true, as: 'organizationPolicyFindingCount'
662
635
  collection :related_frameworks, as: 'relatedFrameworks'
636
+ property :resource_finding_count, :numeric_string => true, as: 'resourceFindingCount'
663
637
  property :severity, as: 'severity'
664
638
  property :update_time, as: 'updateTime'
665
639
  end
@@ -625,44 +625,6 @@ module Google
625
625
  execute_or_queue_command(command, &block)
626
626
  end
627
627
 
628
- # Acknowledges multiple existing violations. By acknowledging violations, users
629
- # acknowledge the existence of compliance violations in their workload and
630
- # decide to ignore them due to a valid business justification. Acknowledgement
631
- # is a permanent operation and it cannot be reverted. This is a batch version of
632
- # AcknowledgeViolation.
633
- # @param [String] parent
634
- # Optional. The parent resource shared by all violations being acknowledged.
635
- # Format: organizations/`organization`/locations/`location`/workloads/`workload`
636
- # @param [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsRequest] google_cloud_assuredworkloads_v1beta1_batch_acknowledge_violations_request_object
637
- # @param [String] fields
638
- # Selector specifying which fields to include in a partial response.
639
- # @param [String] quota_user
640
- # Available to use for quota purposes for server-side applications. Can be any
641
- # arbitrary string assigned to a user, but should not exceed 40 characters.
642
- # @param [Google::Apis::RequestOptions] options
643
- # Request-specific options
644
- #
645
- # @yield [result, err] Result & error if block supplied
646
- # @yieldparam result [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse] parsed result object
647
- # @yieldparam err [StandardError] error object if request failed
648
- #
649
- # @return [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse]
650
- #
651
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
652
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
653
- # @raise [Google::Apis::AuthorizationError] Authorization is required
654
- def batch_organization_location_violation_acknowledge_violations(parent, google_cloud_assuredworkloads_v1beta1_batch_acknowledge_violations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
655
- command = make_simple_command(:post, 'v1beta1/{+parent}/violations:batchAcknowledgeViolations', options)
656
- command.request_representation = Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsRequest::Representation
657
- command.request_object = google_cloud_assuredworkloads_v1beta1_batch_acknowledge_violations_request_object
658
- command.response_representation = Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse::Representation
659
- command.response_class = Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse
660
- command.params['parent'] = parent unless parent.nil?
661
- command.query['fields'] = fields unless fields.nil?
662
- command.query['quotaUser'] = quota_user unless quota_user.nil?
663
- execute_or_queue_command(command, &block)
664
- end
665
-
666
628
  # Analyzes a hypothetical move of a source resource to a target workload to
667
629
  # surface compliance risks. The analysis is best effort and is not guaranteed to
668
630
  # be exhaustive.
@@ -1130,44 +1092,6 @@ module Google
1130
1092
  execute_or_queue_command(command, &block)
1131
1093
  end
1132
1094
 
1133
- # Acknowledges multiple existing violations. By acknowledging violations, users
1134
- # acknowledge the existence of compliance violations in their workload and
1135
- # decide to ignore them due to a valid business justification. Acknowledgement
1136
- # is a permanent operation and it cannot be reverted. This is a batch version of
1137
- # AcknowledgeViolation.
1138
- # @param [String] parent
1139
- # Optional. The parent resource shared by all violations being acknowledged.
1140
- # Format: organizations/`organization`/locations/`location`/workloads/`workload`
1141
- # @param [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsRequest] google_cloud_assuredworkloads_v1beta1_batch_acknowledge_violations_request_object
1142
- # @param [String] fields
1143
- # Selector specifying which fields to include in a partial response.
1144
- # @param [String] quota_user
1145
- # Available to use for quota purposes for server-side applications. Can be any
1146
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1147
- # @param [Google::Apis::RequestOptions] options
1148
- # Request-specific options
1149
- #
1150
- # @yield [result, err] Result & error if block supplied
1151
- # @yieldparam result [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse] parsed result object
1152
- # @yieldparam err [StandardError] error object if request failed
1153
- #
1154
- # @return [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse]
1155
- #
1156
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1157
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1158
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1159
- def batch_organization_location_workload_violation_acknowledge_violations(parent, google_cloud_assuredworkloads_v1beta1_batch_acknowledge_violations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1160
- command = make_simple_command(:post, 'v1beta1/{+parent}/violations:batchAcknowledgeViolations', options)
1161
- command.request_representation = Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsRequest::Representation
1162
- command.request_object = google_cloud_assuredworkloads_v1beta1_batch_acknowledge_violations_request_object
1163
- command.response_representation = Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse::Representation
1164
- command.response_class = Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse
1165
- command.params['parent'] = parent unless parent.nil?
1166
- command.query['fields'] = fields unless fields.nil?
1167
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1168
- execute_or_queue_command(command, &block)
1169
- end
1170
-
1171
1095
  # Retrieves Assured Workload Violation based on ID.
1172
1096
  # @param [String] name
1173
1097
  # Required. The resource name of the Violation to fetch (ie. Violation.name).
@@ -1253,44 +1177,6 @@ module Google
1253
1177
  execute_or_queue_command(command, &block)
1254
1178
  end
1255
1179
 
1256
- # Acknowledges multiple existing violations. By acknowledging violations, users
1257
- # acknowledge the existence of compliance violations in their workload and
1258
- # decide to ignore them due to a valid business justification. Acknowledgement
1259
- # is a permanent operation and it cannot be reverted. This is a batch version of
1260
- # AcknowledgeViolation.
1261
- # @param [String] parent
1262
- # Optional. The parent resource shared by all violations being acknowledged.
1263
- # Format: organizations/`organization`/locations/`location`/workloads/`workload`
1264
- # @param [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsRequest] google_cloud_assuredworkloads_v1beta1_batch_acknowledge_violations_request_object
1265
- # @param [String] fields
1266
- # Selector specifying which fields to include in a partial response.
1267
- # @param [String] quota_user
1268
- # Available to use for quota purposes for server-side applications. Can be any
1269
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1270
- # @param [Google::Apis::RequestOptions] options
1271
- # Request-specific options
1272
- #
1273
- # @yield [result, err] Result & error if block supplied
1274
- # @yieldparam result [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse] parsed result object
1275
- # @yieldparam err [StandardError] error object if request failed
1276
- #
1277
- # @return [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse]
1278
- #
1279
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1280
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1281
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1282
- def batch_organization_violation_acknowledge_violations(parent, google_cloud_assuredworkloads_v1beta1_batch_acknowledge_violations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1283
- command = make_simple_command(:post, 'v1beta1/{+parent}/violations:batchAcknowledgeViolations', options)
1284
- command.request_representation = Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsRequest::Representation
1285
- command.request_object = google_cloud_assuredworkloads_v1beta1_batch_acknowledge_violations_request_object
1286
- command.response_representation = Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse::Representation
1287
- command.response_class = Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse
1288
- command.params['parent'] = parent unless parent.nil?
1289
- command.query['fields'] = fields unless fields.nil?
1290
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1291
- execute_or_queue_command(command, &block)
1292
- end
1293
-
1294
1180
  # Lists the finding summary by category for a given scope.
1295
1181
  # @param [String] parent
1296
1182
  # Required. The parent scope for the framework overview page. Formats: -
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-assuredworkloads_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.38.0
4
+ version: 0.39.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_v1beta1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-assuredworkloads_v1beta1/v0.38.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-assuredworkloads_v1beta1/v0.39.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-assuredworkloads_v1beta1
62
62
  rdoc_options: []
63
63
  require_paths: