google-apis-assuredworkloads_v1 0.65.0 → 0.66.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: 504a53d7ccb68dcf27bd2dec8cf22ae3583e8d5245263d04c6628d64a588e3ca
4
+ data.tar.gz: b2d76c312ab9c824711623636d6284a57727853fc700c1df85541dbc7033d9bf
5
5
  SHA512:
6
- metadata.gz: d8130f2734ba48a5461cfb1f405bb5c393c1ae30ae9cb71b2cac02a6ea73f81858460ee3600f52daa8c544dd4790675073dc18b034405af7ccd9cfe571670f8d
7
- data.tar.gz: 543191fb7cc6dd8d5376a83cba8d63d1c9e0cb3ba3daae22f8079bd53f7099ff6a375dc3cbbc5cbd5056d0869288b8500cb951f4c23e312fce0f810620ba8ee9
6
+ metadata.gz: 346d76d2198a1b9cd3e477151542e287bcb4d2ef404d84a621c28099a42fe20db7c2161f5f99cc5ed065de81c13eaa29bce95109428706da6cf39ff0a16cb5ed
7
+ data.tar.gz: 133258f23818d70c6c2c4aa48adae08bf7140932ad844a2aff65d57590031f5f81288798963e460e00e406984f3e2434264e3c85a7332b78ad33e8582f428170
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-assuredworkloads_v1
2
2
 
3
+ ### v0.66.0 (2026-06-14)
4
+
5
+ * Regenerated from discovery document revision 20260601
6
+ * Regenerated using generator version 0.19.0
7
+
3
8
  ### v0.65.0 (2026-05-10)
4
9
 
5
10
  * 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
@@ -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.66.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 = "20260601"
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
@@ -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).
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.66.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.66.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
  - - ">="