google-apis-assuredworkloads_v1beta1 0.34.0 → 0.35.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: de06c1fdd7d43605085dc987fa07bbdd4952f8fb91faaa08dea3e92dd5a0a850
4
- data.tar.gz: 4e503d5b523675b31e5d3a3dae8fec1c4c660a2f15f87da23847d6ae0096a432
3
+ metadata.gz: 17722816f8e6612ac21c5774966566095c0e0c25e3e1e84f5f04526149b81191
4
+ data.tar.gz: fe6dccc9e9ac50396395b48adcd2f0a03b482aedc2af35bd2e6e4ea19f2c33a5
5
5
  SHA512:
6
- metadata.gz: 0126afdb05470ed78a468ef5102fca9a4c8d7c6cc6ec678940c8b145127e8f190b6227c998729fbb4608c6161a3f17f4fe117140ecd8d9feae19f37287e39636
7
- data.tar.gz: 76049daf3746d1c01e61b8998eda6bed6a0dd2550976e259406ae8d75adfdee46a1fb6214a85a5948bf78a72c2c5261b0f24d1288a30271e58901ed1b58885c7
6
+ metadata.gz: cbf0be5ce7c39a0c053347704619ba0dfc5eb1a7d413c08ee8c10dc9140e807cd72b92b63d22bd2ea09f96fb98880cf3789d93fa883925efeab993ea36d369c5
7
+ data.tar.gz: c12f51d4cee3b8d2fc6d52cd5bbd20a26fe617db914c9a6ced98de20b09383e6e664333619e9553fdfa9321b57374f019fdd406a1d1aabf80f670d77dfc78085
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-assuredworkloads_v1beta1
2
2
 
3
+ ### v0.35.0 (2026-06-14)
4
+
5
+ * Regenerated from discovery document revision 20260601
6
+ * Regenerated using generator version 0.19.0
7
+
3
8
  ### v0.34.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 GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsRequest
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 GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse
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 GoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata
274
321
  include Google::Apis::Core::Hashable
@@ -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.34.0"
19
+ GEM_VERSION = "0.35.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 GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsRequest
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
79
91
  class GoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata
80
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
93
 
@@ -405,6 +417,21 @@ module Google
405
417
  end
406
418
  end
407
419
 
420
+ class GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsRequest
421
+ # @private
422
+ class Representation < Google::Apis::Core::JsonRepresentation
423
+ property :acknowledge_type, as: 'acknowledgeType'
424
+ property :comment, as: 'comment'
425
+ collection :names, as: 'names'
426
+ end
427
+ end
428
+
429
+ class GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse
430
+ # @private
431
+ class Representation < Google::Apis::Core::JsonRepresentation
432
+ end
433
+ end
434
+
408
435
  class GoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata
409
436
  # @private
410
437
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -660,6 +660,44 @@ module Google
660
660
  execute_or_queue_command(command, &block)
661
661
  end
662
662
 
663
+ # Acknowledges multiple existing violations. By acknowledging violations, users
664
+ # acknowledge the existence of compliance violations in their workload and
665
+ # decide to ignore them due to a valid business justification. Acknowledgement
666
+ # is a permanent operation and it cannot be reverted. This is a batch version of
667
+ # AcknowledgeViolation.
668
+ # @param [String] parent
669
+ # Optional. The parent resource shared by all violations being acknowledged.
670
+ # Format: organizations/`organization`/locations/`location`/workloads/`workload`
671
+ # @param [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsRequest] google_cloud_assuredworkloads_v1beta1_batch_acknowledge_violations_request_object
672
+ # @param [String] fields
673
+ # Selector specifying which fields to include in a partial response.
674
+ # @param [String] quota_user
675
+ # Available to use for quota purposes for server-side applications. Can be any
676
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
677
+ # @param [Google::Apis::RequestOptions] options
678
+ # Request-specific options
679
+ #
680
+ # @yield [result, err] Result & error if block supplied
681
+ # @yieldparam result [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse] parsed result object
682
+ # @yieldparam err [StandardError] error object if request failed
683
+ #
684
+ # @return [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse]
685
+ #
686
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
687
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
688
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
689
+ 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)
690
+ command = make_simple_command(:post, 'v1beta1/{+parent}/violations:batchAcknowledgeViolations', options)
691
+ command.request_representation = Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsRequest::Representation
692
+ command.request_object = google_cloud_assuredworkloads_v1beta1_batch_acknowledge_violations_request_object
693
+ command.response_representation = Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse::Representation
694
+ command.response_class = Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse
695
+ command.params['parent'] = parent unless parent.nil?
696
+ command.query['fields'] = fields unless fields.nil?
697
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
698
+ execute_or_queue_command(command, &block)
699
+ end
700
+
663
701
  # Retrieves Assured Workload Violation based on ID.
664
702
  # @param [String] name
665
703
  # 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_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.34.0
4
+ version: 0.35.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.34.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-assuredworkloads_v1beta1/v0.35.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:
@@ -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
  - - ">="