google-apis-assuredworkloads_v1 0.71.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f4f9c3fb48fcca58ee2a2c874c85dda72f8a27c807ccf4950c3f3125fc04d41f
4
- data.tar.gz: 9cade96eb0e80f1ceb696956043b9aa0e5478981e128538ec94f11287cfed774
3
+ metadata.gz: 1c1340c04a1f14456a12d07c1db9030fa81272d036b68dcaae97567d90b72d71
4
+ data.tar.gz: 020f9c48b4ef8fe8d7ae8e83368d67584dffbac139e162e19ff07037e864e3f8
5
5
  SHA512:
6
- metadata.gz: 974d2c69a598185c6f77f8c68b592b6d3d5404df40ab75cb50fae7eae4f03f09a4207a1776a03dcb8703b495c8224ea9bc11b581b7b8724a6f65f2031f009cc1
7
- data.tar.gz: fb6736152b8f2358efe1eea1d93ebb94bec6f1cfac4d334a402d967e03a3ef05065cc95737114654e71bb49d6b13c1fad77397e46e14ce55dca14db7186bfc8d
6
+ metadata.gz: 9b2acbcf9f78b025bae9afd3d88246fcf63bf6be5bbb65f3992842aa92e83b969240cdd1fe4d7db32d272e894036b0c11c4fe56a3bacfd8c340edbb538639ea7
7
+ data.tar.gz: b4ff8b8c429e71636d5bf5c40ddf2c9a6a50daebc936dd6226fc10ef8aaa531e42f55f9f0e427c8ff08568081ad07b699d15f8c0c6217ea77563e960fb1e3ce5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.71.0 (2026-09-20)
4
8
 
5
9
  * Regenerated from discovery document revision 20260914
@@ -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
 
@@ -1684,6 +1691,13 @@ module Google
1684
1691
  # @return [String]
1685
1692
  attr_accessor :acknowledgement_time
1686
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
+
1687
1701
  # Optional. Output only. Violation Id of the org-policy violation due to which
1688
1702
  # the resource violation is caused. Empty for org-policy violations.
1689
1703
  # Corresponds to the JSON property `associatedOrgPolicyViolationId`
@@ -1708,6 +1722,12 @@ module Google
1708
1722
  # @return [String]
1709
1723
  attr_accessor :category
1710
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
+
1711
1731
  # Output only. Description for the Violation. e.g. OrgPolicy gcp.
1712
1732
  # resourceLocations has non compliant value.
1713
1733
  # Corresponds to the JSON property `description`
@@ -1760,6 +1780,12 @@ module Google
1760
1780
  # @return [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ViolationRemediation]
1761
1781
  attr_accessor :remediation
1762
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
+
1763
1789
  # Output only. Time of the event which fixed the Violation. If the violation is
1764
1790
  # ACTIVE this will be empty.
1765
1791
  # Corresponds to the JSON property `resolveTime`
@@ -1801,10 +1827,12 @@ module Google
1801
1827
  def update!(**args)
1802
1828
  @acknowledged = args[:acknowledged] if args.key?(:acknowledged)
1803
1829
  @acknowledgement_time = args[:acknowledgement_time] if args.key?(:acknowledgement_time)
1830
+ @affected_frameworks = args[:affected_frameworks] if args.key?(:affected_frameworks)
1804
1831
  @associated_org_policy_violation_id = args[:associated_org_policy_violation_id] if args.key?(:associated_org_policy_violation_id)
1805
1832
  @audit_log_link = args[:audit_log_link] if args.key?(:audit_log_link)
1806
1833
  @begin_time = args[:begin_time] if args.key?(:begin_time)
1807
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)
1808
1836
  @description = args[:description] if args.key?(:description)
1809
1837
  @exception_audit_log_link = args[:exception_audit_log_link] if args.key?(:exception_audit_log_link)
1810
1838
  @exception_contexts = args[:exception_contexts] if args.key?(:exception_contexts)
@@ -1813,6 +1841,7 @@ module Google
1813
1841
  @org_policy_constraint = args[:org_policy_constraint] if args.key?(:org_policy_constraint)
1814
1842
  @parent_project_number = args[:parent_project_number] if args.key?(:parent_project_number)
1815
1843
  @remediation = args[:remediation] if args.key?(:remediation)
1844
+ @remediation_markdown = args[:remediation_markdown] if args.key?(:remediation_markdown)
1816
1845
  @resolve_time = args[:resolve_time] if args.key?(:resolve_time)
1817
1846
  @resource_name = args[:resource_name] if args.key?(:resource_name)
1818
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.71.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 = "20260914"
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
 
@@ -908,10 +909,12 @@ module Google
908
909
  class Representation < Google::Apis::Core::JsonRepresentation
909
910
  property :acknowledged, as: 'acknowledged'
910
911
  property :acknowledgement_time, as: 'acknowledgementTime'
912
+ collection :affected_frameworks, as: 'affectedFrameworks'
911
913
  property :associated_org_policy_violation_id, as: 'associatedOrgPolicyViolationId'
912
914
  property :audit_log_link, as: 'auditLogLink'
913
915
  property :begin_time, as: 'beginTime'
914
916
  property :category, as: 'category'
917
+ property :child_resource_violation_count, as: 'childResourceViolationCount'
915
918
  property :description, as: 'description'
916
919
  property :exception_audit_log_link, as: 'exceptionAuditLogLink'
917
920
  collection :exception_contexts, as: 'exceptionContexts', class: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ViolationExceptionContext, decorator: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ViolationExceptionContext::Representation
@@ -922,6 +925,7 @@ module Google
922
925
  property :parent_project_number, as: 'parentProjectNumber'
923
926
  property :remediation, as: 'remediation', class: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ViolationRemediation, decorator: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ViolationRemediation::Representation
924
927
 
928
+ property :remediation_markdown, as: 'remediationMarkdown'
925
929
  property :resolve_time, as: 'resolveTime'
926
930
  property :resource_name, as: 'resourceName'
927
931
  property :resource_type, as: 'resourceType'
@@ -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.71.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.71.0
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: