google-apis-assuredworkloads_v1 0.65.0 → 0.67.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: 7ec86a460bf45615de261ace6f5b57cb1f38321787d932aa3b3c1140c79a2cec
4
- data.tar.gz: 52fd5547ffee528b84f03e124343ace837f73bc927f479a814f59b3b80f5a4b8
3
+ metadata.gz: 2874b38449ae04a53f71192d0bcc4a27a89db61f7573285b75b3e5456b795dae
4
+ data.tar.gz: f2703320c72de83f4ecfb2be1602d707e9fd5d99c9902f7daf5625b4ef3314a0
5
5
  SHA512:
6
- metadata.gz: d8130f2734ba48a5461cfb1f405bb5c393c1ae30ae9cb71b2cac02a6ea73f81858460ee3600f52daa8c544dd4790675073dc18b034405af7ccd9cfe571670f8d
7
- data.tar.gz: 543191fb7cc6dd8d5376a83cba8d63d1c9e0cb3ba3daae22f8079bd53f7099ff6a375dc3cbbc5cbd5056d0869288b8500cb951f4c23e312fce0f810620ba8ee9
6
+ metadata.gz: 764b36079ae27c10c2ad7252281ea04db97aa9db28e20069ace072d8e19566f651bc7bd32db3700e6d626ceeb496bde7b43a7e9e786464490bd065ca6b2f89c6
7
+ data.tar.gz: 90ef71ac14d54e07dafe303cbcf012f72ce7fe78dd402b20a38104b30bcfd673459808ec5605b8b0857298a3aa86d98c4567a59e4efd533196a197b1ddec993b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-assuredworkloads_v1
2
2
 
3
+ ### v0.67.0 (2026-06-21)
4
+
5
+ * Regenerated from discovery document revision 20260615
6
+
7
+ ### v0.66.0 (2026-06-14)
8
+
9
+ * Regenerated from discovery document revision 20260601
10
+ * Regenerated using generator version 0.19.0
11
+
3
12
  ### v0.65.0 (2026-05-10)
4
13
 
5
14
  * Regenerated from discovery document revision 20260504
data/OVERVIEW.md CHANGED
@@ -83,7 +83,7 @@ The [product documentation](https://cloud.google.com/learnmoreurl) may provide g
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 3.1+.
86
+ This library is supported on Ruby 3.2+.
87
87
 
88
88
  Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
@@ -269,6 +269,53 @@ module Google
269
269
  end
270
270
  end
271
271
 
272
+ # Request for acknowledging the violations in a batch
273
+ class GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsRequest
274
+ include Google::Apis::Core::Hashable
275
+
276
+ # Optional. Acknowledge type of specified violations.
277
+ # Corresponds to the JSON property `acknowledgeType`
278
+ # @return [String]
279
+ attr_accessor :acknowledge_type
280
+
281
+ # Required. Business justification explaining the need for violations
282
+ # acknowledgement
283
+ # Corresponds to the JSON property `comment`
284
+ # @return [String]
285
+ attr_accessor :comment
286
+
287
+ # Required. The resource names of the Violations to acknowledge. Format for each
288
+ # name: organizations/`organization`/locations/`location`/workloads/`workload`/
289
+ # violations/`violation`
290
+ # Corresponds to the JSON property `names`
291
+ # @return [Array<String>]
292
+ attr_accessor :names
293
+
294
+ def initialize(**args)
295
+ update!(**args)
296
+ end
297
+
298
+ # Update properties of this object
299
+ def update!(**args)
300
+ @acknowledge_type = args[:acknowledge_type] if args.key?(:acknowledge_type)
301
+ @comment = args[:comment] if args.key?(:comment)
302
+ @names = args[:names] if args.key?(:names)
303
+ end
304
+ end
305
+
306
+ # Response for batch violation acknowledgement
307
+ class GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponse
308
+ include Google::Apis::Core::Hashable
309
+
310
+ def initialize(**args)
311
+ update!(**args)
312
+ end
313
+
314
+ # Update properties of this object
315
+ def update!(**args)
316
+ end
317
+ end
318
+
272
319
  # Operation metadata to give request details of CreateWorkload.
273
320
  class GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata
274
321
  include Google::Apis::Core::Hashable
@@ -342,6 +389,11 @@ module Google
342
389
  # @return [String]
343
390
  attr_accessor :next_page_token
344
391
 
392
+ # The total number of violations.
393
+ # Corresponds to the JSON property `totalSize`
394
+ # @return [Fixnum]
395
+ attr_accessor :total_size
396
+
345
397
  # List of Violations under a Workload.
346
398
  # Corresponds to the JSON property `violations`
347
399
  # @return [Array<Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1Violation>]
@@ -354,6 +406,7 @@ module Google
354
406
  # Update properties of this object
355
407
  def update!(**args)
356
408
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
409
+ @total_size = args[:total_size] if args.key?(:total_size)
357
410
  @violations = args[:violations] if args.key?(:violations)
358
411
  end
359
412
  end
@@ -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.65.0"
19
+ GEM_VERSION = "0.67.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.18.0"
22
+ GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260504"
25
+ REVISION = "20260615"
26
26
  end
27
27
  end
28
28
  end
@@ -76,6 +76,18 @@ module Google
76
76
  include Google::Apis::Core::JsonObjectSupport
77
77
  end
78
78
 
79
+ class GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsRequest
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponse
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
79
91
  class GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata
80
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
93
 
@@ -387,6 +399,21 @@ module Google
387
399
  end
388
400
  end
389
401
 
402
+ class GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsRequest
403
+ # @private
404
+ class Representation < Google::Apis::Core::JsonRepresentation
405
+ property :acknowledge_type, as: 'acknowledgeType'
406
+ property :comment, as: 'comment'
407
+ collection :names, as: 'names'
408
+ end
409
+ end
410
+
411
+ class GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponse
412
+ # @private
413
+ class Representation < Google::Apis::Core::JsonRepresentation
414
+ end
415
+ end
416
+
390
417
  class GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata
391
418
  # @private
392
419
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -413,6 +440,7 @@ module Google
413
440
  # @private
414
441
  class Representation < Google::Apis::Core::JsonRepresentation
415
442
  property :next_page_token, as: 'nextPageToken'
443
+ property :total_size, as: 'totalSize'
416
444
  collection :violations, as: 'violations', class: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1Violation, decorator: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1Violation::Representation
417
445
 
418
446
  end
@@ -696,6 +696,44 @@ module Google
696
696
  execute_or_queue_command(command, &block)
697
697
  end
698
698
 
699
+ # Acknowledges multiple existing violations. By acknowledging violations, users
700
+ # acknowledge the existence of compliance violations in their workload and
701
+ # decide to ignore them due to a valid business justification. Acknowledgement
702
+ # is a permanent operation and it cannot be reverted. This is a batch version of
703
+ # AcknowledgeViolation.
704
+ # @param [String] parent
705
+ # Optional. The parent resource shared by all violations being acknowledged.
706
+ # Format: organizations/`organization`/locations/`location`/workloads/`workload`
707
+ # @param [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsRequest] google_cloud_assuredworkloads_v1_batch_acknowledge_violations_request_object
708
+ # @param [String] fields
709
+ # Selector specifying which fields to include in a partial response.
710
+ # @param [String] quota_user
711
+ # Available to use for quota purposes for server-side applications. Can be any
712
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
713
+ # @param [Google::Apis::RequestOptions] options
714
+ # Request-specific options
715
+ #
716
+ # @yield [result, err] Result & error if block supplied
717
+ # @yieldparam result [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponse] parsed result object
718
+ # @yieldparam err [StandardError] error object if request failed
719
+ #
720
+ # @return [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponse]
721
+ #
722
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
723
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
724
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
725
+ def batch_organization_location_workload_violation_acknowledge_violations(parent, google_cloud_assuredworkloads_v1_batch_acknowledge_violations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
726
+ command = make_simple_command(:post, 'v1/{+parent}/violations:batchAcknowledgeViolations', options)
727
+ command.request_representation = Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsRequest::Representation
728
+ command.request_object = google_cloud_assuredworkloads_v1_batch_acknowledge_violations_request_object
729
+ command.response_representation = Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponse::Representation
730
+ command.response_class = Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponse
731
+ command.params['parent'] = parent unless parent.nil?
732
+ command.query['fields'] = fields unless fields.nil?
733
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
734
+ execute_or_queue_command(command, &block)
735
+ end
736
+
699
737
  # Retrieves Assured Workload Violation based on ID.
700
738
  # @param [String] name
701
739
  # Required. The resource name of the Violation to fetch (ie. Violation.name).
@@ -742,6 +780,8 @@ module Google
742
780
  # The end of the time window.
743
781
  # @param [String] interval_start_time
744
782
  # The start of the time window.
783
+ # @param [String] order_by
784
+ # Optional. Actionable sorting delegation.
745
785
  # @param [Fixnum] page_size
746
786
  # Optional. Page size.
747
787
  # @param [String] page_token
@@ -763,7 +803,7 @@ module Google
763
803
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
764
804
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
765
805
  # @raise [Google::Apis::AuthorizationError] Authorization is required
766
- def list_organization_location_workload_violations(parent, filter: nil, interval_end_time: nil, interval_start_time: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
806
+ def list_organization_location_workload_violations(parent, filter: nil, interval_end_time: nil, interval_start_time: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
767
807
  command = make_simple_command(:get, 'v1/{+parent}/violations', options)
768
808
  command.response_representation = Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ListViolationsResponse::Representation
769
809
  command.response_class = Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ListViolationsResponse
@@ -771,6 +811,7 @@ module Google
771
811
  command.query['filter'] = filter unless filter.nil?
772
812
  command.query['interval.endTime'] = interval_end_time unless interval_end_time.nil?
773
813
  command.query['interval.startTime'] = interval_start_time unless interval_start_time.nil?
814
+ command.query['orderBy'] = order_by unless order_by.nil?
774
815
  command.query['pageSize'] = page_size unless page_size.nil?
775
816
  command.query['pageToken'] = page_token unless page_token.nil?
776
817
  command.query['fields'] = fields unless fields.nil?
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.65.0
4
+ version: 0.67.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.65.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-assuredworkloads_v1/v0.67.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:
@@ -66,7 +66,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: '3.1'
69
+ version: '3.2'
70
70
  required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - ">="