google-apis-assuredworkloads_v1 0.69.0 → 0.71.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_v1/classes.rb +36 -53
- data/lib/google/apis/assuredworkloads_v1/gem_version.rb +2 -2
- data/lib/google/apis/assuredworkloads_v1/representations.rb +6 -28
- data/lib/google/apis/assuredworkloads_v1/service.rb +6 -44
- 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: f4f9c3fb48fcca58ee2a2c874c85dda72f8a27c807ccf4950c3f3125fc04d41f
|
|
4
|
+
data.tar.gz: 9cade96eb0e80f1ceb696956043b9aa0e5478981e128538ec94f11287cfed774
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 974d2c69a598185c6f77f8c68b592b6d3d5404df40ab75cb50fae7eae4f03f09a4207a1776a03dcb8703b495c8224ea9bc11b581b7b8724a6f65f2031f009cc1
|
|
7
|
+
data.tar.gz: fb6736152b8f2358efe1eea1d93ebb94bec6f1cfac4d334a402d967e03a3ef05065cc95737114654e71bb49d6b13c1fad77397e46e14ce55dca14db7186bfc8d
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-assuredworkloads_v1
|
|
2
2
|
|
|
3
|
+
### v0.71.0 (2026-09-20)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260914
|
|
6
|
+
|
|
7
|
+
### v0.70.0 (2026-08-16)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20260810
|
|
10
|
+
|
|
3
11
|
### v0.69.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 GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsRequest
|
|
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 GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponse
|
|
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 GoogleCloudAssuredworkloadsV1CelExpression
|
|
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
|
|
|
@@ -673,11 +632,21 @@ module Google
|
|
|
673
632
|
# @return [String]
|
|
674
633
|
attr_accessor :name
|
|
675
634
|
|
|
635
|
+
# Output only. Number of organization policy findings for this control.
|
|
636
|
+
# Corresponds to the JSON property `orgPolicyFindingCount`
|
|
637
|
+
# @return [Fixnum]
|
|
638
|
+
attr_accessor :org_policy_finding_count
|
|
639
|
+
|
|
676
640
|
# Output only. The overall evaluation status of the control.
|
|
677
641
|
# Corresponds to the JSON property `overallEvaluationState`
|
|
678
642
|
# @return [String]
|
|
679
643
|
attr_accessor :overall_evaluation_state
|
|
680
644
|
|
|
645
|
+
# Output only. Number of resource findings for this control.
|
|
646
|
+
# Corresponds to the JSON property `resourceFindingCount`
|
|
647
|
+
# @return [Fixnum]
|
|
648
|
+
attr_accessor :resource_finding_count
|
|
649
|
+
|
|
681
650
|
# The list of similar controls.
|
|
682
651
|
# Corresponds to the JSON property `similarControls`
|
|
683
652
|
# @return [Array<Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1SimilarControls>]
|
|
@@ -702,7 +671,9 @@ module Google
|
|
|
702
671
|
@display_name = args[:display_name] if args.key?(:display_name)
|
|
703
672
|
@is_fake_control = args[:is_fake_control] if args.key?(:is_fake_control)
|
|
704
673
|
@name = args[:name] if args.key?(:name)
|
|
674
|
+
@org_policy_finding_count = args[:org_policy_finding_count] if args.key?(:org_policy_finding_count)
|
|
705
675
|
@overall_evaluation_state = args[:overall_evaluation_state] if args.key?(:overall_evaluation_state)
|
|
676
|
+
@resource_finding_count = args[:resource_finding_count] if args.key?(:resource_finding_count)
|
|
706
677
|
@similar_controls = args[:similar_controls] if args.key?(:similar_controls)
|
|
707
678
|
@total_findings_count = args[:total_findings_count] if args.key?(:total_findings_count)
|
|
708
679
|
end
|
|
@@ -732,11 +703,21 @@ module Google
|
|
|
732
703
|
# @return [String]
|
|
733
704
|
attr_accessor :name
|
|
734
705
|
|
|
706
|
+
# Output only. Number of active organization policy findings for this category.
|
|
707
|
+
# Corresponds to the JSON property `organizationPolicyFindingCount`
|
|
708
|
+
# @return [Fixnum]
|
|
709
|
+
attr_accessor :organization_policy_finding_count
|
|
710
|
+
|
|
735
711
|
# Optional. The list of compliance frameworks that the finding belongs to.
|
|
736
712
|
# Corresponds to the JSON property `relatedFrameworks`
|
|
737
713
|
# @return [Array<String>]
|
|
738
714
|
attr_accessor :related_frameworks
|
|
739
715
|
|
|
716
|
+
# Output only. Number of active resource findings for this category.
|
|
717
|
+
# Corresponds to the JSON property `resourceFindingCount`
|
|
718
|
+
# @return [Fixnum]
|
|
719
|
+
attr_accessor :resource_finding_count
|
|
720
|
+
|
|
740
721
|
# Output only. The severity of the finding.
|
|
741
722
|
# Corresponds to the JSON property `severity`
|
|
742
723
|
# @return [String]
|
|
@@ -757,7 +738,9 @@ module Google
|
|
|
757
738
|
@finding_class = args[:finding_class] if args.key?(:finding_class)
|
|
758
739
|
@finding_count = args[:finding_count] if args.key?(:finding_count)
|
|
759
740
|
@name = args[:name] if args.key?(:name)
|
|
741
|
+
@organization_policy_finding_count = args[:organization_policy_finding_count] if args.key?(:organization_policy_finding_count)
|
|
760
742
|
@related_frameworks = args[:related_frameworks] if args.key?(:related_frameworks)
|
|
743
|
+
@resource_finding_count = args[:resource_finding_count] if args.key?(:resource_finding_count)
|
|
761
744
|
@severity = args[:severity] if args.key?(:severity)
|
|
762
745
|
@update_time = args[:update_time] if args.key?(:update_time)
|
|
763
746
|
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.
|
|
19
|
+
GEM_VERSION = "0.71.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 GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsRequest
|
|
92
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
93
|
-
|
|
94
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
95
|
-
end
|
|
96
|
-
|
|
97
|
-
class GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponse
|
|
98
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
99
|
-
|
|
100
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
101
|
-
end
|
|
102
|
-
|
|
103
91
|
class GoogleCloudAssuredworkloadsV1CelExpression
|
|
104
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
105
93
|
|
|
@@ -530,22 +518,6 @@ module Google
|
|
|
530
518
|
end
|
|
531
519
|
end
|
|
532
520
|
|
|
533
|
-
class GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsRequest
|
|
534
|
-
# @private
|
|
535
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
536
|
-
property :acknowledge_type, as: 'acknowledgeType'
|
|
537
|
-
property :comment, as: 'comment'
|
|
538
|
-
collection :names, as: 'names'
|
|
539
|
-
end
|
|
540
|
-
end
|
|
541
|
-
|
|
542
|
-
class GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponse
|
|
543
|
-
# @private
|
|
544
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
545
|
-
property :acknowledged_violations_count, as: 'acknowledgedViolationsCount'
|
|
546
|
-
end
|
|
547
|
-
end
|
|
548
|
-
|
|
549
521
|
class GoogleCloudAssuredworkloadsV1CelExpression
|
|
550
522
|
# @private
|
|
551
523
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -560,6 +532,8 @@ module Google
|
|
|
560
532
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
561
533
|
property :evaluation_state, as: 'evaluationState'
|
|
562
534
|
property :findings_count, as: 'findingsCount'
|
|
535
|
+
property :org_policy_finding_count, :numeric_string => true, as: 'orgPolicyFindingCount'
|
|
536
|
+
property :resource_finding_count, :numeric_string => true, as: 'resourceFindingCount'
|
|
563
537
|
end
|
|
564
538
|
end
|
|
565
539
|
|
|
@@ -625,7 +599,9 @@ module Google
|
|
|
625
599
|
property :display_name, as: 'displayName'
|
|
626
600
|
property :is_fake_control, as: 'isFakeControl'
|
|
627
601
|
property :name, as: 'name'
|
|
602
|
+
property :org_policy_finding_count, :numeric_string => true, as: 'orgPolicyFindingCount'
|
|
628
603
|
property :overall_evaluation_state, as: 'overallEvaluationState'
|
|
604
|
+
property :resource_finding_count, :numeric_string => true, as: 'resourceFindingCount'
|
|
629
605
|
collection :similar_controls, as: 'similarControls', class: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1SimilarControls, decorator: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1SimilarControls::Representation
|
|
630
606
|
|
|
631
607
|
property :total_findings_count, as: 'totalFindingsCount'
|
|
@@ -639,7 +615,9 @@ module Google
|
|
|
639
615
|
property :finding_class, as: 'findingClass'
|
|
640
616
|
property :finding_count, :numeric_string => true, as: 'findingCount'
|
|
641
617
|
property :name, as: 'name'
|
|
618
|
+
property :organization_policy_finding_count, :numeric_string => true, as: 'organizationPolicyFindingCount'
|
|
642
619
|
collection :related_frameworks, as: 'relatedFrameworks'
|
|
620
|
+
property :resource_finding_count, :numeric_string => true, as: 'resourceFindingCount'
|
|
643
621
|
property :severity, as: 'severity'
|
|
644
622
|
property :update_time, as: 'updateTime'
|
|
645
623
|
end
|
|
@@ -866,14 +866,14 @@ module Google
|
|
|
866
866
|
# Required. Parent Resource to list workloads from. Must be of the form `
|
|
867
867
|
# organizations/`org_id`/locations/`location``.
|
|
868
868
|
# @param [String] filter
|
|
869
|
-
# A custom filter for filtering by properties of a workload. At this
|
|
870
|
-
# 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.
|
|
871
871
|
# @param [Fixnum] page_size
|
|
872
|
-
# Page size.
|
|
872
|
+
# Optional. Page size.
|
|
873
873
|
# @param [String] page_token
|
|
874
|
-
# Page token returned from previous request. Page token contains
|
|
875
|
-
# previous request. Page token needs to be passed in the second and
|
|
876
|
-
# 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.
|
|
877
877
|
# @param [String] fields
|
|
878
878
|
# Selector specifying which fields to include in a partial response.
|
|
879
879
|
# @param [String] quota_user
|
|
@@ -1128,44 +1128,6 @@ module Google
|
|
|
1128
1128
|
execute_or_queue_command(command, &block)
|
|
1129
1129
|
end
|
|
1130
1130
|
|
|
1131
|
-
# Acknowledges multiple existing violations. By acknowledging violations, users
|
|
1132
|
-
# acknowledge the existence of compliance violations in their workload and
|
|
1133
|
-
# decide to ignore them due to a valid business justification. Acknowledgement
|
|
1134
|
-
# is a permanent operation and it cannot be reverted. This is a batch version of
|
|
1135
|
-
# AcknowledgeViolation.
|
|
1136
|
-
# @param [String] parent
|
|
1137
|
-
# Optional. The parent resource shared by all violations being acknowledged.
|
|
1138
|
-
# Format: organizations/`organization`/locations/`location`/workloads/`workload`
|
|
1139
|
-
# @param [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsRequest] google_cloud_assuredworkloads_v1_batch_acknowledge_violations_request_object
|
|
1140
|
-
# @param [String] fields
|
|
1141
|
-
# Selector specifying which fields to include in a partial response.
|
|
1142
|
-
# @param [String] quota_user
|
|
1143
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
1144
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1145
|
-
# @param [Google::Apis::RequestOptions] options
|
|
1146
|
-
# Request-specific options
|
|
1147
|
-
#
|
|
1148
|
-
# @yield [result, err] Result & error if block supplied
|
|
1149
|
-
# @yieldparam result [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponse] parsed result object
|
|
1150
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
1151
|
-
#
|
|
1152
|
-
# @return [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponse]
|
|
1153
|
-
#
|
|
1154
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1155
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1156
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1157
|
-
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)
|
|
1158
|
-
command = make_simple_command(:post, 'v1/{+parent}/violations:batchAcknowledgeViolations', options)
|
|
1159
|
-
command.request_representation = Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsRequest::Representation
|
|
1160
|
-
command.request_object = google_cloud_assuredworkloads_v1_batch_acknowledge_violations_request_object
|
|
1161
|
-
command.response_representation = Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponse::Representation
|
|
1162
|
-
command.response_class = Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponse
|
|
1163
|
-
command.params['parent'] = parent unless parent.nil?
|
|
1164
|
-
command.query['fields'] = fields unless fields.nil?
|
|
1165
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1166
|
-
execute_or_queue_command(command, &block)
|
|
1167
|
-
end
|
|
1168
|
-
|
|
1169
1131
|
# Retrieves Assured Workload Violation based on ID.
|
|
1170
1132
|
# @param [String] name
|
|
1171
1133
|
# 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.
|
|
4
|
+
version: 0.71.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.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-assuredworkloads_v1/v0.71.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:
|