google-apis-assuredworkloads_v1beta1 0.38.0 → 0.40.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 +36 -53
- data/lib/google/apis/assuredworkloads_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/assuredworkloads_v1beta1/representations.rb +6 -28
- data/lib/google/apis/assuredworkloads_v1beta1/service.rb +6 -120
- 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: 7e0538ffa6bf3c752e501acb41fb46363042a11683efe20d3f5c5708b093f556
|
|
4
|
+
data.tar.gz: 1e7c2b10069616102bd49975250dc1c839b051e6bb3c25f633a1fc014863d1f2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f07ac2dbacc05699c39dff0b9bcd22f5e814e3a97a08481f0f3b945e13765eed4e401d701d5cae07783e5c556462043630f3f6339ec2561478727d0c394103ff
|
|
7
|
+
data.tar.gz: 0e4d7e9537e57d561f87878ff370109acc3d721d708e40f06795a4f4615d346907b781fae76046bfaeb18a46ddfa07e2ab7b05fd28823b932db277e9b2bd1b7b
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-assuredworkloads_v1beta1
|
|
2
2
|
|
|
3
|
+
### v0.40.0 (2026-09-20)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260914
|
|
6
|
+
|
|
7
|
+
### v0.39.0 (2026-08-16)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20260810
|
|
10
|
+
|
|
3
11
|
### v0.38.0 (2026-07-26)
|
|
4
12
|
|
|
5
13
|
* 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
|
|
@@ -408,6 +355,16 @@ module Google
|
|
|
408
355
|
# @return [Fixnum]
|
|
409
356
|
attr_accessor :findings_count
|
|
410
357
|
|
|
358
|
+
# Output only. Number of organization policy findings for the cloud control.
|
|
359
|
+
# Corresponds to the JSON property `orgPolicyFindingCount`
|
|
360
|
+
# @return [Fixnum]
|
|
361
|
+
attr_accessor :org_policy_finding_count
|
|
362
|
+
|
|
363
|
+
# Output only. Number of resource findings for the cloud control.
|
|
364
|
+
# Corresponds to the JSON property `resourceFindingCount`
|
|
365
|
+
# @return [Fixnum]
|
|
366
|
+
attr_accessor :resource_finding_count
|
|
367
|
+
|
|
411
368
|
def initialize(**args)
|
|
412
369
|
update!(**args)
|
|
413
370
|
end
|
|
@@ -416,6 +373,8 @@ module Google
|
|
|
416
373
|
def update!(**args)
|
|
417
374
|
@evaluation_state = args[:evaluation_state] if args.key?(:evaluation_state)
|
|
418
375
|
@findings_count = args[:findings_count] if args.key?(:findings_count)
|
|
376
|
+
@org_policy_finding_count = args[:org_policy_finding_count] if args.key?(:org_policy_finding_count)
|
|
377
|
+
@resource_finding_count = args[:resource_finding_count] if args.key?(:resource_finding_count)
|
|
419
378
|
end
|
|
420
379
|
end
|
|
421
380
|
|
|
@@ -680,11 +639,21 @@ module Google
|
|
|
680
639
|
# @return [String]
|
|
681
640
|
attr_accessor :name
|
|
682
641
|
|
|
642
|
+
# Output only. Number of organization policy findings for this control.
|
|
643
|
+
# Corresponds to the JSON property `orgPolicyFindingCount`
|
|
644
|
+
# @return [Fixnum]
|
|
645
|
+
attr_accessor :org_policy_finding_count
|
|
646
|
+
|
|
683
647
|
# Output only. The overall evaluation status of the control.
|
|
684
648
|
# Corresponds to the JSON property `overallEvaluationState`
|
|
685
649
|
# @return [String]
|
|
686
650
|
attr_accessor :overall_evaluation_state
|
|
687
651
|
|
|
652
|
+
# Output only. Number of resource findings for this control.
|
|
653
|
+
# Corresponds to the JSON property `resourceFindingCount`
|
|
654
|
+
# @return [Fixnum]
|
|
655
|
+
attr_accessor :resource_finding_count
|
|
656
|
+
|
|
688
657
|
# The list of similar controls.
|
|
689
658
|
# Corresponds to the JSON property `similarControls`
|
|
690
659
|
# @return [Array<Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1SimilarControls>]
|
|
@@ -709,7 +678,9 @@ module Google
|
|
|
709
678
|
@display_name = args[:display_name] if args.key?(:display_name)
|
|
710
679
|
@is_fake_control = args[:is_fake_control] if args.key?(:is_fake_control)
|
|
711
680
|
@name = args[:name] if args.key?(:name)
|
|
681
|
+
@org_policy_finding_count = args[:org_policy_finding_count] if args.key?(:org_policy_finding_count)
|
|
712
682
|
@overall_evaluation_state = args[:overall_evaluation_state] if args.key?(:overall_evaluation_state)
|
|
683
|
+
@resource_finding_count = args[:resource_finding_count] if args.key?(:resource_finding_count)
|
|
713
684
|
@similar_controls = args[:similar_controls] if args.key?(:similar_controls)
|
|
714
685
|
@total_findings_count = args[:total_findings_count] if args.key?(:total_findings_count)
|
|
715
686
|
end
|
|
@@ -739,11 +710,21 @@ module Google
|
|
|
739
710
|
# @return [String]
|
|
740
711
|
attr_accessor :name
|
|
741
712
|
|
|
713
|
+
# Output only. Number of active organization policy findings for this category.
|
|
714
|
+
# Corresponds to the JSON property `organizationPolicyFindingCount`
|
|
715
|
+
# @return [Fixnum]
|
|
716
|
+
attr_accessor :organization_policy_finding_count
|
|
717
|
+
|
|
742
718
|
# Optional. The list of compliance frameworks that the finding belongs to.
|
|
743
719
|
# Corresponds to the JSON property `relatedFrameworks`
|
|
744
720
|
# @return [Array<String>]
|
|
745
721
|
attr_accessor :related_frameworks
|
|
746
722
|
|
|
723
|
+
# Output only. Number of active resource findings for this category.
|
|
724
|
+
# Corresponds to the JSON property `resourceFindingCount`
|
|
725
|
+
# @return [Fixnum]
|
|
726
|
+
attr_accessor :resource_finding_count
|
|
727
|
+
|
|
747
728
|
# Output only. The severity of the finding.
|
|
748
729
|
# Corresponds to the JSON property `severity`
|
|
749
730
|
# @return [String]
|
|
@@ -764,7 +745,9 @@ module Google
|
|
|
764
745
|
@finding_class = args[:finding_class] if args.key?(:finding_class)
|
|
765
746
|
@finding_count = args[:finding_count] if args.key?(:finding_count)
|
|
766
747
|
@name = args[:name] if args.key?(:name)
|
|
748
|
+
@organization_policy_finding_count = args[:organization_policy_finding_count] if args.key?(:organization_policy_finding_count)
|
|
767
749
|
@related_frameworks = args[:related_frameworks] if args.key?(:related_frameworks)
|
|
750
|
+
@resource_finding_count = args[:resource_finding_count] if args.key?(:resource_finding_count)
|
|
768
751
|
@severity = args[:severity] if args.key?(:severity)
|
|
769
752
|
@update_time = args[:update_time] if args.key?(:update_time)
|
|
770
753
|
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.40.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 = "20260914"
|
|
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
|
|
@@ -578,6 +550,8 @@ module Google
|
|
|
578
550
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
579
551
|
property :evaluation_state, as: 'evaluationState'
|
|
580
552
|
property :findings_count, as: 'findingsCount'
|
|
553
|
+
property :org_policy_finding_count, :numeric_string => true, as: 'orgPolicyFindingCount'
|
|
554
|
+
property :resource_finding_count, :numeric_string => true, as: 'resourceFindingCount'
|
|
581
555
|
end
|
|
582
556
|
end
|
|
583
557
|
|
|
@@ -645,7 +619,9 @@ module Google
|
|
|
645
619
|
property :display_name, as: 'displayName'
|
|
646
620
|
property :is_fake_control, as: 'isFakeControl'
|
|
647
621
|
property :name, as: 'name'
|
|
622
|
+
property :org_policy_finding_count, :numeric_string => true, as: 'orgPolicyFindingCount'
|
|
648
623
|
property :overall_evaluation_state, as: 'overallEvaluationState'
|
|
624
|
+
property :resource_finding_count, :numeric_string => true, as: 'resourceFindingCount'
|
|
649
625
|
collection :similar_controls, as: 'similarControls', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1SimilarControls, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1SimilarControls::Representation
|
|
650
626
|
|
|
651
627
|
property :total_findings_count, as: 'totalFindingsCount'
|
|
@@ -659,7 +635,9 @@ module Google
|
|
|
659
635
|
property :finding_class, as: 'findingClass'
|
|
660
636
|
property :finding_count, :numeric_string => true, as: 'findingCount'
|
|
661
637
|
property :name, as: 'name'
|
|
638
|
+
property :organization_policy_finding_count, :numeric_string => true, as: 'organizationPolicyFindingCount'
|
|
662
639
|
collection :related_frameworks, as: 'relatedFrameworks'
|
|
640
|
+
property :resource_finding_count, :numeric_string => true, as: 'resourceFindingCount'
|
|
663
641
|
property :severity, as: 'severity'
|
|
664
642
|
property :update_time, as: 'updateTime'
|
|
665
643
|
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.
|
|
@@ -904,14 +866,14 @@ module Google
|
|
|
904
866
|
# Required. Parent Resource to list workloads from. Must be of the form `
|
|
905
867
|
# organizations/`org_id`/locations/`location``.
|
|
906
868
|
# @param [String] filter
|
|
907
|
-
# A custom filter for filtering by properties of a workload. At this
|
|
908
|
-
# filtering by labels is supported.
|
|
869
|
+
# Optional. A custom filter for filtering by properties of a workload. At this
|
|
870
|
+
# time, only filtering by labels is supported.
|
|
909
871
|
# @param [Fixnum] page_size
|
|
910
|
-
# Page size.
|
|
872
|
+
# Optional. Page size.
|
|
911
873
|
# @param [String] page_token
|
|
912
|
-
# Page token returned from previous request. Page token contains
|
|
913
|
-
# previous request. Page token needs to be passed in the second and
|
|
914
|
-
# requests.
|
|
874
|
+
# Optional. Page token returned from previous request. Page token contains
|
|
875
|
+
# context from previous request. Page token needs to be passed in the second and
|
|
876
|
+
# following requests.
|
|
915
877
|
# @param [String] fields
|
|
916
878
|
# Selector specifying which fields to include in a partial response.
|
|
917
879
|
# @param [String] quota_user
|
|
@@ -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.
|
|
4
|
+
version: 0.40.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.40.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:
|