google-apis-assuredworkloads_v1beta1 0.40.0 → 0.41.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: 7e0538ffa6bf3c752e501acb41fb46363042a11683efe20d3f5c5708b093f556
4
- data.tar.gz: 1e7c2b10069616102bd49975250dc1c839b051e6bb3c25f633a1fc014863d1f2
3
+ metadata.gz: 53dd956b626dfbc4ad61029db392f9a9e24cfce9a09dcf321ab6d853e8218908
4
+ data.tar.gz: 4092979d4a03a625ac1d05d55ee32ae8943988388f936915c0abe75f35b414cb
5
5
  SHA512:
6
- metadata.gz: f07ac2dbacc05699c39dff0b9bcd22f5e814e3a97a08481f0f3b945e13765eed4e401d701d5cae07783e5c556462043630f3f6339ec2561478727d0c394103ff
7
- data.tar.gz: 0e4d7e9537e57d561f87878ff370109acc3d721d708e40f06795a4f4615d346907b781fae76046bfaeb18a46ddfa07e2ab7b05fd28823b932db277e9b2bd1b7b
6
+ metadata.gz: 106956320d5e2ccf8449a8e6e35ad71c9e990dfffd50cb81a5d4f38151cb84f49c83cc5bc20b1ceffbce458f7c9685339594c753168dce38fce15bd2e69b189f
7
+ data.tar.gz: 5eba0fb9d93817c452bc9547e5f01cbeb1339fa0e1e995fff2c7aecae0cae056239fb8be7ab7b2a7d5fa100993980acfe3ee4c9ab50257074bea84354f7976a0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-assuredworkloads_v1beta1
2
2
 
3
+ ### v0.41.0 (2026-10-04)
4
+
5
+ * Regenerated from discovery document revision 20260928
6
+
3
7
  ### v0.40.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
 
@@ -1658,6 +1665,13 @@ module Google
1658
1665
  # @return [String]
1659
1666
  attr_accessor :acknowledgement_time
1660
1667
 
1668
+ # Output only. List of compliance frameworks that are affected by this violation.
1669
+ # This field is only populated when using `VIOLATION_VIEW_DATA_BOUNDARY`. e.g. "
1670
+ # FedRAMP High", "NIST 800-53".
1671
+ # Corresponds to the JSON property `affectedFrameworks`
1672
+ # @return [Array<String>]
1673
+ attr_accessor :affected_frameworks
1674
+
1661
1675
  # Optional. Output only. Violation Id of the org-policy violation due to which
1662
1676
  # the resource violation is caused. Empty for org-policy violations.
1663
1677
  # Corresponds to the JSON property `associatedOrgPolicyViolationId`
@@ -1682,6 +1696,12 @@ module Google
1682
1696
  # @return [String]
1683
1697
  attr_accessor :category
1684
1698
 
1699
+ # Optional. Output only. The number of resource violations for particular org
1700
+ # policy violation. This will be 0 in case of resource violation.
1701
+ # Corresponds to the JSON property `childResourceViolationCount`
1702
+ # @return [Fixnum]
1703
+ attr_accessor :child_resource_violation_count
1704
+
1685
1705
  # Output only. Description for the Violation. e.g. OrgPolicy gcp.
1686
1706
  # resourceLocations has non compliant value.
1687
1707
  # Corresponds to the JSON property `description`
@@ -1734,6 +1754,12 @@ module Google
1734
1754
  # @return [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1ViolationRemediation]
1735
1755
  attr_accessor :remediation
1736
1756
 
1757
+ # Output only. Contains the remediation instructions for the violation in
1758
+ # markdown format.
1759
+ # Corresponds to the JSON property `remediationMarkdown`
1760
+ # @return [String]
1761
+ attr_accessor :remediation_markdown
1762
+
1737
1763
  # Output only. Time of the event which fixed the Violation. If the violation is
1738
1764
  # ACTIVE this will be empty.
1739
1765
  # Corresponds to the JSON property `resolveTime`
@@ -1775,10 +1801,12 @@ module Google
1775
1801
  def update!(**args)
1776
1802
  @acknowledged = args[:acknowledged] if args.key?(:acknowledged)
1777
1803
  @acknowledgement_time = args[:acknowledgement_time] if args.key?(:acknowledgement_time)
1804
+ @affected_frameworks = args[:affected_frameworks] if args.key?(:affected_frameworks)
1778
1805
  @associated_org_policy_violation_id = args[:associated_org_policy_violation_id] if args.key?(:associated_org_policy_violation_id)
1779
1806
  @audit_log_link = args[:audit_log_link] if args.key?(:audit_log_link)
1780
1807
  @begin_time = args[:begin_time] if args.key?(:begin_time)
1781
1808
  @category = args[:category] if args.key?(:category)
1809
+ @child_resource_violation_count = args[:child_resource_violation_count] if args.key?(:child_resource_violation_count)
1782
1810
  @description = args[:description] if args.key?(:description)
1783
1811
  @exception_audit_log_link = args[:exception_audit_log_link] if args.key?(:exception_audit_log_link)
1784
1812
  @exception_contexts = args[:exception_contexts] if args.key?(:exception_contexts)
@@ -1787,6 +1815,7 @@ module Google
1787
1815
  @org_policy_constraint = args[:org_policy_constraint] if args.key?(:org_policy_constraint)
1788
1816
  @parent_project_number = args[:parent_project_number] if args.key?(:parent_project_number)
1789
1817
  @remediation = args[:remediation] if args.key?(:remediation)
1818
+ @remediation_markdown = args[:remediation_markdown] if args.key?(:remediation_markdown)
1790
1819
  @resolve_time = args[:resolve_time] if args.key?(:resolve_time)
1791
1820
  @resource_name = args[:resource_name] if args.key?(:resource_name)
1792
1821
  @resource_type = args[:resource_type] if args.key?(:resource_type)
@@ -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.40.0"
19
+ GEM_VERSION = "0.41.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
@@ -448,6 +448,7 @@ module Google
448
448
  property :acknowledge_type, as: 'acknowledgeType'
449
449
  property :comment, as: 'comment'
450
450
  property :non_compliant_org_policy, as: 'nonCompliantOrgPolicy'
451
+ property :view, as: 'view'
451
452
  end
452
453
  end
453
454
 
@@ -918,10 +919,12 @@ module Google
918
919
  class Representation < Google::Apis::Core::JsonRepresentation
919
920
  property :acknowledged, as: 'acknowledged'
920
921
  property :acknowledgement_time, as: 'acknowledgementTime'
922
+ collection :affected_frameworks, as: 'affectedFrameworks'
921
923
  property :associated_org_policy_violation_id, as: 'associatedOrgPolicyViolationId'
922
924
  property :audit_log_link, as: 'auditLogLink'
923
925
  property :begin_time, as: 'beginTime'
924
926
  property :category, as: 'category'
927
+ property :child_resource_violation_count, as: 'childResourceViolationCount'
925
928
  property :description, as: 'description'
926
929
  property :exception_audit_log_link, as: 'exceptionAuditLogLink'
927
930
  collection :exception_contexts, as: 'exceptionContexts', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1ViolationExceptionContext, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1ViolationExceptionContext::Representation
@@ -932,6 +935,7 @@ module Google
932
935
  property :parent_project_number, as: 'parentProjectNumber'
933
936
  property :remediation, as: 'remediation', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1ViolationRemediation, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1ViolationRemediation::Representation
934
937
 
938
+ property :remediation_markdown, as: 'remediationMarkdown'
935
939
  property :resolve_time, as: 'resolveTime'
936
940
  property :resource_name, as: 'resourceName'
937
941
  property :resource_type, as: 'resourceType'
@@ -1097,6 +1097,9 @@ module Google
1097
1097
  # Required. The resource name of the Violation to fetch (ie. Violation.name).
1098
1098
  # Format: organizations/`organization`/locations/`location`/workloads/`workload`/
1099
1099
  # violations/`violation`
1100
+ # @param [String] view
1101
+ # Optional. Specifies the violation view (`AssuredWorkloads` or `DataBoundary`)
1102
+ # for fetching violations.
1100
1103
  # @param [String] fields
1101
1104
  # Selector specifying which fields to include in a partial response.
1102
1105
  # @param [String] quota_user
@@ -1114,11 +1117,12 @@ module Google
1114
1117
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1115
1118
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1116
1119
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1117
- def get_organization_location_workload_violation(name, fields: nil, quota_user: nil, options: nil, &block)
1120
+ def get_organization_location_workload_violation(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
1118
1121
  command = make_simple_command(:get, 'v1beta1/{+name}', options)
1119
1122
  command.response_representation = Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1Violation::Representation
1120
1123
  command.response_class = Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1Violation
1121
1124
  command.params['name'] = name unless name.nil?
1125
+ command.query['view'] = view unless view.nil?
1122
1126
  command.query['fields'] = fields unless fields.nil?
1123
1127
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1124
1128
  execute_or_queue_command(command, &block)
@@ -1144,6 +1148,9 @@ module Google
1144
1148
  # Optional. Page size.
1145
1149
  # @param [String] page_token
1146
1150
  # Optional. Page token returned from previous request.
1151
+ # @param [String] view
1152
+ # Optional. Specifies the violation view(AssuredWorkloads or DataBoundary) for
1153
+ # fetching violations.
1147
1154
  # @param [String] fields
1148
1155
  # Selector specifying which fields to include in a partial response.
1149
1156
  # @param [String] quota_user
@@ -1161,7 +1168,7 @@ module Google
1161
1168
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1162
1169
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1163
1170
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1164
- 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)
1171
+ 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)
1165
1172
  command = make_simple_command(:get, 'v1beta1/{+parent}/violations', options)
1166
1173
  command.response_representation = Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1ListViolationsResponse::Representation
1167
1174
  command.response_class = Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1ListViolationsResponse
@@ -1172,6 +1179,7 @@ module Google
1172
1179
  command.query['orderBy'] = order_by unless order_by.nil?
1173
1180
  command.query['pageSize'] = page_size unless page_size.nil?
1174
1181
  command.query['pageToken'] = page_token unless page_token.nil?
1182
+ command.query['view'] = view unless view.nil?
1175
1183
  command.query['fields'] = fields unless fields.nil?
1176
1184
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1177
1185
  execute_or_queue_command(command, &block)
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.40.0
4
+ version: 0.41.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.40.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-assuredworkloads_v1beta1/v0.41.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: