google-apis-assuredworkloads_v1 0.70.0 → 0.72.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 +53 -0
- data/lib/google/apis/assuredworkloads_v1/gem_version.rb +2 -2
- data/lib/google/apis/assuredworkloads_v1/representations.rb +8 -0
- data/lib/google/apis/assuredworkloads_v1/service.rb +16 -8
- 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: 1c1340c04a1f14456a12d07c1db9030fa81272d036b68dcaae97567d90b72d71
|
|
4
|
+
data.tar.gz: 020f9c48b4ef8fe8d7ae8e83368d67584dffbac139e162e19ff07037e864e3f8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9b2acbcf9f78b025bae9afd3d88246fcf63bf6be5bbb65f3992842aa92e83b969240cdd1fe4d7db32d272e894036b0c11c4fe56a3bacfd8c340edbb538639ea7
|
|
7
|
+
data.tar.gz: b4ff8b8c429e71636d5bf5c40ddf2c9a6a50daebc936dd6226fc10ef8aaa531e42f55f9f0e427c8ff08568081ad07b699d15f8c0c6217ea77563e960fb1e3ce5
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-assuredworkloads_v1
|
|
2
2
|
|
|
3
|
+
### v0.72.0 (2026-10-04)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260928
|
|
6
|
+
|
|
7
|
+
### v0.71.0 (2026-09-20)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20260914
|
|
10
|
+
|
|
3
11
|
### v0.70.0 (2026-08-16)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20260810
|
|
@@ -46,6 +46,12 @@ module Google
|
|
|
46
46
|
# @return [String]
|
|
47
47
|
attr_accessor :non_compliant_org_policy
|
|
48
48
|
|
|
49
|
+
# Optional. Specifies the violation view (`AssuredWorkloads` or `DataBoundary`)
|
|
50
|
+
# for acknowledging violations.
|
|
51
|
+
# Corresponds to the JSON property `view`
|
|
52
|
+
# @return [String]
|
|
53
|
+
attr_accessor :view
|
|
54
|
+
|
|
49
55
|
def initialize(**args)
|
|
50
56
|
update!(**args)
|
|
51
57
|
end
|
|
@@ -55,6 +61,7 @@ module Google
|
|
|
55
61
|
@acknowledge_type = args[:acknowledge_type] if args.key?(:acknowledge_type)
|
|
56
62
|
@comment = args[:comment] if args.key?(:comment)
|
|
57
63
|
@non_compliant_org_policy = args[:non_compliant_org_policy] if args.key?(:non_compliant_org_policy)
|
|
64
|
+
@view = args[:view] if args.key?(:view)
|
|
58
65
|
end
|
|
59
66
|
end
|
|
60
67
|
|
|
@@ -355,6 +362,16 @@ module Google
|
|
|
355
362
|
# @return [Fixnum]
|
|
356
363
|
attr_accessor :findings_count
|
|
357
364
|
|
|
365
|
+
# Output only. Number of organization policy findings for the cloud control.
|
|
366
|
+
# Corresponds to the JSON property `orgPolicyFindingCount`
|
|
367
|
+
# @return [Fixnum]
|
|
368
|
+
attr_accessor :org_policy_finding_count
|
|
369
|
+
|
|
370
|
+
# Output only. Number of resource findings for the cloud control.
|
|
371
|
+
# Corresponds to the JSON property `resourceFindingCount`
|
|
372
|
+
# @return [Fixnum]
|
|
373
|
+
attr_accessor :resource_finding_count
|
|
374
|
+
|
|
358
375
|
def initialize(**args)
|
|
359
376
|
update!(**args)
|
|
360
377
|
end
|
|
@@ -363,6 +380,8 @@ module Google
|
|
|
363
380
|
def update!(**args)
|
|
364
381
|
@evaluation_state = args[:evaluation_state] if args.key?(:evaluation_state)
|
|
365
382
|
@findings_count = args[:findings_count] if args.key?(:findings_count)
|
|
383
|
+
@org_policy_finding_count = args[:org_policy_finding_count] if args.key?(:org_policy_finding_count)
|
|
384
|
+
@resource_finding_count = args[:resource_finding_count] if args.key?(:resource_finding_count)
|
|
366
385
|
end
|
|
367
386
|
end
|
|
368
387
|
|
|
@@ -620,11 +639,21 @@ module Google
|
|
|
620
639
|
# @return [String]
|
|
621
640
|
attr_accessor :name
|
|
622
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
|
+
|
|
623
647
|
# Output only. The overall evaluation status of the control.
|
|
624
648
|
# Corresponds to the JSON property `overallEvaluationState`
|
|
625
649
|
# @return [String]
|
|
626
650
|
attr_accessor :overall_evaluation_state
|
|
627
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
|
+
|
|
628
657
|
# The list of similar controls.
|
|
629
658
|
# Corresponds to the JSON property `similarControls`
|
|
630
659
|
# @return [Array<Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1SimilarControls>]
|
|
@@ -649,7 +678,9 @@ module Google
|
|
|
649
678
|
@display_name = args[:display_name] if args.key?(:display_name)
|
|
650
679
|
@is_fake_control = args[:is_fake_control] if args.key?(:is_fake_control)
|
|
651
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)
|
|
652
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)
|
|
653
684
|
@similar_controls = args[:similar_controls] if args.key?(:similar_controls)
|
|
654
685
|
@total_findings_count = args[:total_findings_count] if args.key?(:total_findings_count)
|
|
655
686
|
end
|
|
@@ -1660,6 +1691,13 @@ module Google
|
|
|
1660
1691
|
# @return [String]
|
|
1661
1692
|
attr_accessor :acknowledgement_time
|
|
1662
1693
|
|
|
1694
|
+
# Output only. List of compliance frameworks that are affected by this violation.
|
|
1695
|
+
# This field is only populated when using `VIOLATION_VIEW_DATA_BOUNDARY`. e.g. "
|
|
1696
|
+
# FedRAMP High", "NIST 800-53".
|
|
1697
|
+
# Corresponds to the JSON property `affectedFrameworks`
|
|
1698
|
+
# @return [Array<String>]
|
|
1699
|
+
attr_accessor :affected_frameworks
|
|
1700
|
+
|
|
1663
1701
|
# Optional. Output only. Violation Id of the org-policy violation due to which
|
|
1664
1702
|
# the resource violation is caused. Empty for org-policy violations.
|
|
1665
1703
|
# Corresponds to the JSON property `associatedOrgPolicyViolationId`
|
|
@@ -1684,6 +1722,12 @@ module Google
|
|
|
1684
1722
|
# @return [String]
|
|
1685
1723
|
attr_accessor :category
|
|
1686
1724
|
|
|
1725
|
+
# Optional. Output only. The number of resource violations for particular org
|
|
1726
|
+
# policy violation. This will be 0 in case of resource violation.
|
|
1727
|
+
# Corresponds to the JSON property `childResourceViolationCount`
|
|
1728
|
+
# @return [Fixnum]
|
|
1729
|
+
attr_accessor :child_resource_violation_count
|
|
1730
|
+
|
|
1687
1731
|
# Output only. Description for the Violation. e.g. OrgPolicy gcp.
|
|
1688
1732
|
# resourceLocations has non compliant value.
|
|
1689
1733
|
# Corresponds to the JSON property `description`
|
|
@@ -1736,6 +1780,12 @@ module Google
|
|
|
1736
1780
|
# @return [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ViolationRemediation]
|
|
1737
1781
|
attr_accessor :remediation
|
|
1738
1782
|
|
|
1783
|
+
# Output only. Contains the remediation instructions for the violation in
|
|
1784
|
+
# markdown format.
|
|
1785
|
+
# Corresponds to the JSON property `remediationMarkdown`
|
|
1786
|
+
# @return [String]
|
|
1787
|
+
attr_accessor :remediation_markdown
|
|
1788
|
+
|
|
1739
1789
|
# Output only. Time of the event which fixed the Violation. If the violation is
|
|
1740
1790
|
# ACTIVE this will be empty.
|
|
1741
1791
|
# Corresponds to the JSON property `resolveTime`
|
|
@@ -1777,10 +1827,12 @@ module Google
|
|
|
1777
1827
|
def update!(**args)
|
|
1778
1828
|
@acknowledged = args[:acknowledged] if args.key?(:acknowledged)
|
|
1779
1829
|
@acknowledgement_time = args[:acknowledgement_time] if args.key?(:acknowledgement_time)
|
|
1830
|
+
@affected_frameworks = args[:affected_frameworks] if args.key?(:affected_frameworks)
|
|
1780
1831
|
@associated_org_policy_violation_id = args[:associated_org_policy_violation_id] if args.key?(:associated_org_policy_violation_id)
|
|
1781
1832
|
@audit_log_link = args[:audit_log_link] if args.key?(:audit_log_link)
|
|
1782
1833
|
@begin_time = args[:begin_time] if args.key?(:begin_time)
|
|
1783
1834
|
@category = args[:category] if args.key?(:category)
|
|
1835
|
+
@child_resource_violation_count = args[:child_resource_violation_count] if args.key?(:child_resource_violation_count)
|
|
1784
1836
|
@description = args[:description] if args.key?(:description)
|
|
1785
1837
|
@exception_audit_log_link = args[:exception_audit_log_link] if args.key?(:exception_audit_log_link)
|
|
1786
1838
|
@exception_contexts = args[:exception_contexts] if args.key?(:exception_contexts)
|
|
@@ -1789,6 +1841,7 @@ module Google
|
|
|
1789
1841
|
@org_policy_constraint = args[:org_policy_constraint] if args.key?(:org_policy_constraint)
|
|
1790
1842
|
@parent_project_number = args[:parent_project_number] if args.key?(:parent_project_number)
|
|
1791
1843
|
@remediation = args[:remediation] if args.key?(:remediation)
|
|
1844
|
+
@remediation_markdown = args[:remediation_markdown] if args.key?(:remediation_markdown)
|
|
1792
1845
|
@resolve_time = args[:resolve_time] if args.key?(:resolve_time)
|
|
1793
1846
|
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
|
1794
1847
|
@resource_type = args[:resource_type] if args.key?(:resource_type)
|
|
@@ -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.72.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 = "20260928"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -430,6 +430,7 @@ module Google
|
|
|
430
430
|
property :acknowledge_type, as: 'acknowledgeType'
|
|
431
431
|
property :comment, as: 'comment'
|
|
432
432
|
property :non_compliant_org_policy, as: 'nonCompliantOrgPolicy'
|
|
433
|
+
property :view, as: 'view'
|
|
433
434
|
end
|
|
434
435
|
end
|
|
435
436
|
|
|
@@ -532,6 +533,8 @@ module Google
|
|
|
532
533
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
533
534
|
property :evaluation_state, as: 'evaluationState'
|
|
534
535
|
property :findings_count, as: 'findingsCount'
|
|
536
|
+
property :org_policy_finding_count, :numeric_string => true, as: 'orgPolicyFindingCount'
|
|
537
|
+
property :resource_finding_count, :numeric_string => true, as: 'resourceFindingCount'
|
|
535
538
|
end
|
|
536
539
|
end
|
|
537
540
|
|
|
@@ -597,7 +600,9 @@ module Google
|
|
|
597
600
|
property :display_name, as: 'displayName'
|
|
598
601
|
property :is_fake_control, as: 'isFakeControl'
|
|
599
602
|
property :name, as: 'name'
|
|
603
|
+
property :org_policy_finding_count, :numeric_string => true, as: 'orgPolicyFindingCount'
|
|
600
604
|
property :overall_evaluation_state, as: 'overallEvaluationState'
|
|
605
|
+
property :resource_finding_count, :numeric_string => true, as: 'resourceFindingCount'
|
|
601
606
|
collection :similar_controls, as: 'similarControls', class: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1SimilarControls, decorator: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1SimilarControls::Representation
|
|
602
607
|
|
|
603
608
|
property :total_findings_count, as: 'totalFindingsCount'
|
|
@@ -904,10 +909,12 @@ module Google
|
|
|
904
909
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
905
910
|
property :acknowledged, as: 'acknowledged'
|
|
906
911
|
property :acknowledgement_time, as: 'acknowledgementTime'
|
|
912
|
+
collection :affected_frameworks, as: 'affectedFrameworks'
|
|
907
913
|
property :associated_org_policy_violation_id, as: 'associatedOrgPolicyViolationId'
|
|
908
914
|
property :audit_log_link, as: 'auditLogLink'
|
|
909
915
|
property :begin_time, as: 'beginTime'
|
|
910
916
|
property :category, as: 'category'
|
|
917
|
+
property :child_resource_violation_count, as: 'childResourceViolationCount'
|
|
911
918
|
property :description, as: 'description'
|
|
912
919
|
property :exception_audit_log_link, as: 'exceptionAuditLogLink'
|
|
913
920
|
collection :exception_contexts, as: 'exceptionContexts', class: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ViolationExceptionContext, decorator: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ViolationExceptionContext::Representation
|
|
@@ -918,6 +925,7 @@ module Google
|
|
|
918
925
|
property :parent_project_number, as: 'parentProjectNumber'
|
|
919
926
|
property :remediation, as: 'remediation', class: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ViolationRemediation, decorator: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ViolationRemediation::Representation
|
|
920
927
|
|
|
928
|
+
property :remediation_markdown, as: 'remediationMarkdown'
|
|
921
929
|
property :resolve_time, as: 'resolveTime'
|
|
922
930
|
property :resource_name, as: 'resourceName'
|
|
923
931
|
property :resource_type, as: 'resourceType'
|
|
@@ -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
|
|
@@ -1133,6 +1133,9 @@ module Google
|
|
|
1133
1133
|
# Required. The resource name of the Violation to fetch (ie. Violation.name).
|
|
1134
1134
|
# Format: organizations/`organization`/locations/`location`/workloads/`workload`/
|
|
1135
1135
|
# violations/`violation`
|
|
1136
|
+
# @param [String] view
|
|
1137
|
+
# Optional. Specifies the violation view (`AssuredWorkloads` or `DataBoundary`)
|
|
1138
|
+
# for fetching violations.
|
|
1136
1139
|
# @param [String] fields
|
|
1137
1140
|
# Selector specifying which fields to include in a partial response.
|
|
1138
1141
|
# @param [String] quota_user
|
|
@@ -1150,11 +1153,12 @@ module Google
|
|
|
1150
1153
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1151
1154
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1152
1155
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1153
|
-
def get_organization_location_workload_violation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
1156
|
+
def get_organization_location_workload_violation(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1154
1157
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
1155
1158
|
command.response_representation = Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1Violation::Representation
|
|
1156
1159
|
command.response_class = Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1Violation
|
|
1157
1160
|
command.params['name'] = name unless name.nil?
|
|
1161
|
+
command.query['view'] = view unless view.nil?
|
|
1158
1162
|
command.query['fields'] = fields unless fields.nil?
|
|
1159
1163
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1160
1164
|
execute_or_queue_command(command, &block)
|
|
@@ -1180,6 +1184,9 @@ module Google
|
|
|
1180
1184
|
# Optional. Page size.
|
|
1181
1185
|
# @param [String] page_token
|
|
1182
1186
|
# Optional. Page token returned from previous request.
|
|
1187
|
+
# @param [String] view
|
|
1188
|
+
# Optional. Specifies the violation view(AssuredWorkloads or DataBoundary) for
|
|
1189
|
+
# fetching violations.
|
|
1183
1190
|
# @param [String] fields
|
|
1184
1191
|
# Selector specifying which fields to include in a partial response.
|
|
1185
1192
|
# @param [String] quota_user
|
|
@@ -1197,7 +1204,7 @@ module Google
|
|
|
1197
1204
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1198
1205
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1199
1206
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1200
|
-
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)
|
|
1207
|
+
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, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1201
1208
|
command = make_simple_command(:get, 'v1/{+parent}/violations', options)
|
|
1202
1209
|
command.response_representation = Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ListViolationsResponse::Representation
|
|
1203
1210
|
command.response_class = Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ListViolationsResponse
|
|
@@ -1208,6 +1215,7 @@ module Google
|
|
|
1208
1215
|
command.query['orderBy'] = order_by unless order_by.nil?
|
|
1209
1216
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
1210
1217
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
1218
|
+
command.query['view'] = view unless view.nil?
|
|
1211
1219
|
command.query['fields'] = fields unless fields.nil?
|
|
1212
1220
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1213
1221
|
execute_or_queue_command(command, &block)
|
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.72.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.72.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:
|