google-apis-assuredworkloads_v1beta1 0.35.0 → 0.37.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/assuredworkloads_v1beta1/classes.rb +12 -0
- data/lib/google/apis/assuredworkloads_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/assuredworkloads_v1beta1/representations.rb +2 -0
- data/lib/google/apis/assuredworkloads_v1beta1/service.rb +80 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c44d97a9514077d84ff011a3cbf8d2614f2f54641cffb19e7e86c47894c1ab6b
|
|
4
|
+
data.tar.gz: '079d3cf265f8b653c76553194ade313aa4db97b2bed652db74e013697324002c'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6976adaa46df4f74000c52ef45cadad3e9121cdda0b23041c27dbcadbfa9a59c230aadca3310b89eab6b1e597130a9efae9bb304652d1a7b04c01359c8497152
|
|
7
|
+
data.tar.gz: 7212d48ed5a773c021886865e3abd33621d1c4dd83a9670d18e9e39b71ae71bf917a454ff99eb6c9656210b3dc8f6590cb2a2218cccbdcc3197b6ace2d8d9420
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-assuredworkloads_v1beta1
|
|
2
2
|
|
|
3
|
+
### v0.37.0 (2026-07-05)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260623
|
|
6
|
+
|
|
7
|
+
### v0.36.0 (2026-06-21)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20260615
|
|
10
|
+
|
|
3
11
|
### v0.35.0 (2026-06-14)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20260601
|
|
@@ -307,12 +307,18 @@ module Google
|
|
|
307
307
|
class GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse
|
|
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
|
|
|
@@ -396,6 +402,11 @@ module Google
|
|
|
396
402
|
# @return [String]
|
|
397
403
|
attr_accessor :next_page_token
|
|
398
404
|
|
|
405
|
+
# The total number of violations.
|
|
406
|
+
# Corresponds to the JSON property `totalSize`
|
|
407
|
+
# @return [Fixnum]
|
|
408
|
+
attr_accessor :total_size
|
|
409
|
+
|
|
399
410
|
# List of Violations under a Workload.
|
|
400
411
|
# Corresponds to the JSON property `violations`
|
|
401
412
|
# @return [Array<Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1Violation>]
|
|
@@ -408,6 +419,7 @@ module Google
|
|
|
408
419
|
# Update properties of this object
|
|
409
420
|
def update!(**args)
|
|
410
421
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
422
|
+
@total_size = args[:total_size] if args.key?(:total_size)
|
|
411
423
|
@violations = args[:violations] if args.key?(:violations)
|
|
412
424
|
end
|
|
413
425
|
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.
|
|
19
|
+
GEM_VERSION = "0.37.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 = "
|
|
25
|
+
REVISION = "20260623"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -429,6 +429,7 @@ module Google
|
|
|
429
429
|
class GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse
|
|
430
430
|
# @private
|
|
431
431
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
432
|
+
property :acknowledged_violations_count, as: 'acknowledgedViolationsCount'
|
|
432
433
|
end
|
|
433
434
|
end
|
|
434
435
|
|
|
@@ -460,6 +461,7 @@ module Google
|
|
|
460
461
|
# @private
|
|
461
462
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
462
463
|
property :next_page_token, as: 'nextPageToken'
|
|
464
|
+
property :total_size, as: 'totalSize'
|
|
463
465
|
collection :violations, as: 'violations', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1Violation, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1Violation::Representation
|
|
464
466
|
|
|
465
467
|
end
|
|
@@ -193,6 +193,44 @@ module Google
|
|
|
193
193
|
execute_or_queue_command(command, &block)
|
|
194
194
|
end
|
|
195
195
|
|
|
196
|
+
# Acknowledges multiple existing violations. By acknowledging violations, users
|
|
197
|
+
# acknowledge the existence of compliance violations in their workload and
|
|
198
|
+
# decide to ignore them due to a valid business justification. Acknowledgement
|
|
199
|
+
# is a permanent operation and it cannot be reverted. This is a batch version of
|
|
200
|
+
# AcknowledgeViolation.
|
|
201
|
+
# @param [String] parent
|
|
202
|
+
# Optional. The parent resource shared by all violations being acknowledged.
|
|
203
|
+
# Format: organizations/`organization`/locations/`location`/workloads/`workload`
|
|
204
|
+
# @param [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsRequest] google_cloud_assuredworkloads_v1beta1_batch_acknowledge_violations_request_object
|
|
205
|
+
# @param [String] fields
|
|
206
|
+
# Selector specifying which fields to include in a partial response.
|
|
207
|
+
# @param [String] quota_user
|
|
208
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
209
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
210
|
+
# @param [Google::Apis::RequestOptions] options
|
|
211
|
+
# Request-specific options
|
|
212
|
+
#
|
|
213
|
+
# @yield [result, err] Result & error if block supplied
|
|
214
|
+
# @yieldparam result [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse] parsed result object
|
|
215
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
216
|
+
#
|
|
217
|
+
# @return [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse]
|
|
218
|
+
#
|
|
219
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
220
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
221
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
222
|
+
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)
|
|
223
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/violations:batchAcknowledgeViolations', options)
|
|
224
|
+
command.request_representation = Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsRequest::Representation
|
|
225
|
+
command.request_object = google_cloud_assuredworkloads_v1beta1_batch_acknowledge_violations_request_object
|
|
226
|
+
command.response_representation = Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse::Representation
|
|
227
|
+
command.response_class = Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse
|
|
228
|
+
command.params['parent'] = parent unless parent.nil?
|
|
229
|
+
command.query['fields'] = fields unless fields.nil?
|
|
230
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
231
|
+
execute_or_queue_command(command, &block)
|
|
232
|
+
end
|
|
233
|
+
|
|
196
234
|
# Analyzes a hypothetical move of a source resource to a target workload to
|
|
197
235
|
# surface compliance risks. The analysis is best effort and is not guaranteed to
|
|
198
236
|
# be exhaustive.
|
|
@@ -744,6 +782,8 @@ module Google
|
|
|
744
782
|
# The end of the time window.
|
|
745
783
|
# @param [String] interval_start_time
|
|
746
784
|
# The start of the time window.
|
|
785
|
+
# @param [String] order_by
|
|
786
|
+
# Optional. Actionable sorting delegation.
|
|
747
787
|
# @param [Fixnum] page_size
|
|
748
788
|
# Optional. Page size.
|
|
749
789
|
# @param [String] page_token
|
|
@@ -765,7 +805,7 @@ module Google
|
|
|
765
805
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
766
806
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
767
807
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
768
|
-
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)
|
|
808
|
+
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)
|
|
769
809
|
command = make_simple_command(:get, 'v1beta1/{+parent}/violations', options)
|
|
770
810
|
command.response_representation = Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1ListViolationsResponse::Representation
|
|
771
811
|
command.response_class = Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1ListViolationsResponse
|
|
@@ -773,12 +813,51 @@ module Google
|
|
|
773
813
|
command.query['filter'] = filter unless filter.nil?
|
|
774
814
|
command.query['interval.endTime'] = interval_end_time unless interval_end_time.nil?
|
|
775
815
|
command.query['interval.startTime'] = interval_start_time unless interval_start_time.nil?
|
|
816
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
776
817
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
777
818
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
778
819
|
command.query['fields'] = fields unless fields.nil?
|
|
779
820
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
780
821
|
execute_or_queue_command(command, &block)
|
|
781
822
|
end
|
|
823
|
+
|
|
824
|
+
# Acknowledges multiple existing violations. By acknowledging violations, users
|
|
825
|
+
# acknowledge the existence of compliance violations in their workload and
|
|
826
|
+
# decide to ignore them due to a valid business justification. Acknowledgement
|
|
827
|
+
# is a permanent operation and it cannot be reverted. This is a batch version of
|
|
828
|
+
# AcknowledgeViolation.
|
|
829
|
+
# @param [String] parent
|
|
830
|
+
# Optional. The parent resource shared by all violations being acknowledged.
|
|
831
|
+
# Format: organizations/`organization`/locations/`location`/workloads/`workload`
|
|
832
|
+
# @param [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsRequest] google_cloud_assuredworkloads_v1beta1_batch_acknowledge_violations_request_object
|
|
833
|
+
# @param [String] fields
|
|
834
|
+
# Selector specifying which fields to include in a partial response.
|
|
835
|
+
# @param [String] quota_user
|
|
836
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
837
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
838
|
+
# @param [Google::Apis::RequestOptions] options
|
|
839
|
+
# Request-specific options
|
|
840
|
+
#
|
|
841
|
+
# @yield [result, err] Result & error if block supplied
|
|
842
|
+
# @yieldparam result [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse] parsed result object
|
|
843
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
844
|
+
#
|
|
845
|
+
# @return [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse]
|
|
846
|
+
#
|
|
847
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
848
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
849
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
850
|
+
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)
|
|
851
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/violations:batchAcknowledgeViolations', options)
|
|
852
|
+
command.request_representation = Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsRequest::Representation
|
|
853
|
+
command.request_object = google_cloud_assuredworkloads_v1beta1_batch_acknowledge_violations_request_object
|
|
854
|
+
command.response_representation = Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse::Representation
|
|
855
|
+
command.response_class = Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse
|
|
856
|
+
command.params['parent'] = parent unless parent.nil?
|
|
857
|
+
command.query['fields'] = fields unless fields.nil?
|
|
858
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
859
|
+
execute_or_queue_command(command, &block)
|
|
860
|
+
end
|
|
782
861
|
|
|
783
862
|
protected
|
|
784
863
|
|
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.
|
|
4
|
+
version: 0.37.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.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-assuredworkloads_v1beta1/v0.37.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:
|