google-apis-assuredworkloads_v1 0.71.0 → 0.73.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: c98680e8906c0aa5daf58aa50e0779cdb61df92b01d556927f4497ae551535a7
4
+ data.tar.gz: a28f07abab4e9bfc19b1538c27356bad0124aa25755e748daa90bdff1c96dca3
5
5
  SHA512:
6
- metadata.gz: 974d2c69a598185c6f77f8c68b592b6d3d5404df40ab75cb50fae7eae4f03f09a4207a1776a03dcb8703b495c8224ea9bc11b581b7b8724a6f65f2031f009cc1
7
- data.tar.gz: fb6736152b8f2358efe1eea1d93ebb94bec6f1cfac4d334a402d967e03a3ef05065cc95737114654e71bb49d6b13c1fad77397e46e14ce55dca14db7186bfc8d
6
+ metadata.gz: 5c7902983a11f39474dd5027d5331e52ec18686368cc5cbbc7350a574b44483d49e997daaa8bbd20b3f4579f54c9c60f323592c8cb1ade332a0fcdca15941525
7
+ data.tar.gz: 3ab12a86132e59923403dce4c178a82c42bcf213a8e2852e41dced2b91a9a6b1f5b0c462a40bb313b4b69983d69d8b3ca32558e69d217054e92afa197524ea6a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-assuredworkloads_v1
2
2
 
3
+ ### v0.73.0 (2026-10-21)
4
+
5
+ * Regenerated from discovery document revision 20261006
6
+ * Regenerated using generator version 0.19.1
7
+
8
+ ### v0.72.0 (2026-10-04)
9
+
10
+ * Regenerated from discovery document revision 20260928
11
+
3
12
  ### v0.71.0 (2026-09-20)
4
13
 
5
14
  * 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
 
@@ -209,76 +216,6 @@ module Google
209
216
  end
210
217
  end
211
218
 
212
- # Request for archiving resource events.
213
- class GoogleCloudAssuredworkloadsV1ArchiveResourceEventsRequest
214
- include Google::Apis::Core::Hashable
215
-
216
- # Optional. Time to set as ArchiveTime in the archive table. If not provided,
217
- # the current time is used.
218
- # Corresponds to the JSON property `archiveTime`
219
- # @return [String]
220
- attr_accessor :archive_time
221
-
222
- # Required. The number of events to process in a single transaction batch.
223
- # Corresponds to the JSON property `batchSize`
224
- # @return [Fixnum]
225
- attr_accessor :batch_size
226
-
227
- # Required. Only events with EventTime earlier than this cutoff will be archived.
228
- # Corresponds to the JSON property `eventCutoffTime`
229
- # @return [String]
230
- attr_accessor :event_cutoff_time
231
-
232
- # Required. The maximum total number of events to move in this request.
233
- # Corresponds to the JSON property `maxEventsMove`
234
- # @return [Fixnum]
235
- attr_accessor :max_events_move
236
-
237
- # Required. The organization ID for which to archive events.
238
- # Corresponds to the JSON property `organizationId`
239
- # @return [Fixnum]
240
- attr_accessor :organization_id
241
-
242
- # Required. The region of the workload(s) whose events should be archived. This
243
- # is used to filter workloads based on AssurantWorkloadData.region.
244
- # Corresponds to the JSON property `region`
245
- # @return [String]
246
- attr_accessor :region
247
-
248
- def initialize(**args)
249
- update!(**args)
250
- end
251
-
252
- # Update properties of this object
253
- def update!(**args)
254
- @archive_time = args[:archive_time] if args.key?(:archive_time)
255
- @batch_size = args[:batch_size] if args.key?(:batch_size)
256
- @event_cutoff_time = args[:event_cutoff_time] if args.key?(:event_cutoff_time)
257
- @max_events_move = args[:max_events_move] if args.key?(:max_events_move)
258
- @organization_id = args[:organization_id] if args.key?(:organization_id)
259
- @region = args[:region] if args.key?(:region)
260
- end
261
- end
262
-
263
- # Response for archiving resource events.
264
- class GoogleCloudAssuredworkloadsV1ArchiveResourceEventsResponse
265
- include Google::Apis::Core::Hashable
266
-
267
- # The total number of events successfully moved to the archive table.
268
- # Corresponds to the JSON property `movedEventsCount`
269
- # @return [Fixnum]
270
- attr_accessor :moved_events_count
271
-
272
- def initialize(**args)
273
- update!(**args)
274
- end
275
-
276
- # Update properties of this object
277
- def update!(**args)
278
- @moved_events_count = args[:moved_events_count] if args.key?(:moved_events_count)
279
- end
280
- end
281
-
282
219
  # Represents move analysis results for an asset.
283
220
  class GoogleCloudAssuredworkloadsV1AssetMoveAnalysis
284
221
  include Google::Apis::Core::Hashable
@@ -1415,77 +1352,6 @@ module Google
1415
1352
  end
1416
1353
  end
1417
1354
 
1418
- # Request for reverting archived resource events.
1419
- class GoogleCloudAssuredworkloadsV1RevertArchivedResourceEventsRequest
1420
- include Google::Apis::Core::Hashable
1421
-
1422
- # Required. Only events within this time range will be reverted. This helps
1423
- # prevent reverting everything when something goes wrong.
1424
- # Corresponds to the JSON property `archiveEndTime`
1425
- # @return [String]
1426
- attr_accessor :archive_end_time
1427
-
1428
- # Required. Only events within this time range will be reverted. This helps
1429
- # prevent reverting everything when something goes wrong.
1430
- # Corresponds to the JSON property `archiveStartTime`
1431
- # @return [String]
1432
- attr_accessor :archive_start_time
1433
-
1434
- # Required. The number of events to process in a single transaction batch.
1435
- # Corresponds to the JSON property `batchSize`
1436
- # @return [Fixnum]
1437
- attr_accessor :batch_size
1438
-
1439
- # Required. The maximum total number of events to move in this request.
1440
- # Corresponds to the JSON property `maxEventsMove`
1441
- # @return [Fixnum]
1442
- attr_accessor :max_events_move
1443
-
1444
- # Required. The organization ID for which to revert events.
1445
- # Corresponds to the JSON property `organizationId`
1446
- # @return [Fixnum]
1447
- attr_accessor :organization_id
1448
-
1449
- # Required. The region of the workload(s) whose events should be reverted. This
1450
- # is used to filter workloads based on AssurantWorkloadData.region.
1451
- # Corresponds to the JSON property `region`
1452
- # @return [String]
1453
- attr_accessor :region
1454
-
1455
- def initialize(**args)
1456
- update!(**args)
1457
- end
1458
-
1459
- # Update properties of this object
1460
- def update!(**args)
1461
- @archive_end_time = args[:archive_end_time] if args.key?(:archive_end_time)
1462
- @archive_start_time = args[:archive_start_time] if args.key?(:archive_start_time)
1463
- @batch_size = args[:batch_size] if args.key?(:batch_size)
1464
- @max_events_move = args[:max_events_move] if args.key?(:max_events_move)
1465
- @organization_id = args[:organization_id] if args.key?(:organization_id)
1466
- @region = args[:region] if args.key?(:region)
1467
- end
1468
- end
1469
-
1470
- # Response for reverting archived resource events.
1471
- class GoogleCloudAssuredworkloadsV1RevertArchivedResourceEventsResponse
1472
- include Google::Apis::Core::Hashable
1473
-
1474
- # The total number of events successfully moved to the original table.
1475
- # Corresponds to the JSON property `movedEventsCount`
1476
- # @return [Fixnum]
1477
- attr_accessor :moved_events_count
1478
-
1479
- def initialize(**args)
1480
- update!(**args)
1481
- end
1482
-
1483
- # Update properties of this object
1484
- def update!(**args)
1485
- @moved_events_count = args[:moved_events_count] if args.key?(:moved_events_count)
1486
- end
1487
- end
1488
-
1489
1355
  # A rule in the cloud control.
1490
1356
  class GoogleCloudAssuredworkloadsV1Rule
1491
1357
  include Google::Apis::Core::Hashable
@@ -1684,6 +1550,13 @@ module Google
1684
1550
  # @return [String]
1685
1551
  attr_accessor :acknowledgement_time
1686
1552
 
1553
+ # Output only. List of compliance frameworks that are affected by this violation.
1554
+ # This field is only populated when using `VIOLATION_VIEW_DATA_BOUNDARY`. e.g. "
1555
+ # FedRAMP High", "NIST 800-53".
1556
+ # Corresponds to the JSON property `affectedFrameworks`
1557
+ # @return [Array<String>]
1558
+ attr_accessor :affected_frameworks
1559
+
1687
1560
  # Optional. Output only. Violation Id of the org-policy violation due to which
1688
1561
  # the resource violation is caused. Empty for org-policy violations.
1689
1562
  # Corresponds to the JSON property `associatedOrgPolicyViolationId`
@@ -1708,6 +1581,12 @@ module Google
1708
1581
  # @return [String]
1709
1582
  attr_accessor :category
1710
1583
 
1584
+ # Optional. Output only. The number of resource violations for particular org
1585
+ # policy violation. This will be 0 in case of resource violation.
1586
+ # Corresponds to the JSON property `childResourceViolationCount`
1587
+ # @return [Fixnum]
1588
+ attr_accessor :child_resource_violation_count
1589
+
1711
1590
  # Output only. Description for the Violation. e.g. OrgPolicy gcp.
1712
1591
  # resourceLocations has non compliant value.
1713
1592
  # Corresponds to the JSON property `description`
@@ -1760,6 +1639,12 @@ module Google
1760
1639
  # @return [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ViolationRemediation]
1761
1640
  attr_accessor :remediation
1762
1641
 
1642
+ # Output only. Contains the remediation instructions for the violation in
1643
+ # markdown format.
1644
+ # Corresponds to the JSON property `remediationMarkdown`
1645
+ # @return [String]
1646
+ attr_accessor :remediation_markdown
1647
+
1763
1648
  # Output only. Time of the event which fixed the Violation. If the violation is
1764
1649
  # ACTIVE this will be empty.
1765
1650
  # Corresponds to the JSON property `resolveTime`
@@ -1801,10 +1686,12 @@ module Google
1801
1686
  def update!(**args)
1802
1687
  @acknowledged = args[:acknowledged] if args.key?(:acknowledged)
1803
1688
  @acknowledgement_time = args[:acknowledgement_time] if args.key?(:acknowledgement_time)
1689
+ @affected_frameworks = args[:affected_frameworks] if args.key?(:affected_frameworks)
1804
1690
  @associated_org_policy_violation_id = args[:associated_org_policy_violation_id] if args.key?(:associated_org_policy_violation_id)
1805
1691
  @audit_log_link = args[:audit_log_link] if args.key?(:audit_log_link)
1806
1692
  @begin_time = args[:begin_time] if args.key?(:begin_time)
1807
1693
  @category = args[:category] if args.key?(:category)
1694
+ @child_resource_violation_count = args[:child_resource_violation_count] if args.key?(:child_resource_violation_count)
1808
1695
  @description = args[:description] if args.key?(:description)
1809
1696
  @exception_audit_log_link = args[:exception_audit_log_link] if args.key?(:exception_audit_log_link)
1810
1697
  @exception_contexts = args[:exception_contexts] if args.key?(:exception_contexts)
@@ -1813,6 +1700,7 @@ module Google
1813
1700
  @org_policy_constraint = args[:org_policy_constraint] if args.key?(:org_policy_constraint)
1814
1701
  @parent_project_number = args[:parent_project_number] if args.key?(:parent_project_number)
1815
1702
  @remediation = args[:remediation] if args.key?(:remediation)
1703
+ @remediation_markdown = args[:remediation_markdown] if args.key?(:remediation_markdown)
1816
1704
  @resolve_time = args[:resolve_time] if args.key?(:resolve_time)
1817
1705
  @resource_name = args[:resource_name] if args.key?(:resource_name)
1818
1706
  @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.73.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.19.0"
22
+ GENERATOR_VERSION = "0.19.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260914"
25
+ REVISION = "20261006"
26
26
  end
27
27
  end
28
28
  end
@@ -70,18 +70,6 @@ module Google
70
70
  include Google::Apis::Core::JsonObjectSupport
71
71
  end
72
72
 
73
- class GoogleCloudAssuredworkloadsV1ArchiveResourceEventsRequest
74
- class Representation < Google::Apis::Core::JsonRepresentation; end
75
-
76
- include Google::Apis::Core::JsonObjectSupport
77
- end
78
-
79
- class GoogleCloudAssuredworkloadsV1ArchiveResourceEventsResponse
80
- class Representation < Google::Apis::Core::JsonRepresentation; end
81
-
82
- include Google::Apis::Core::JsonObjectSupport
83
- end
84
-
85
73
  class GoogleCloudAssuredworkloadsV1AssetMoveAnalysis
86
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
75
 
@@ -256,18 +244,6 @@ module Google
256
244
  include Google::Apis::Core::JsonObjectSupport
257
245
  end
258
246
 
259
- class GoogleCloudAssuredworkloadsV1RevertArchivedResourceEventsRequest
260
- class Representation < Google::Apis::Core::JsonRepresentation; end
261
-
262
- include Google::Apis::Core::JsonObjectSupport
263
- end
264
-
265
- class GoogleCloudAssuredworkloadsV1RevertArchivedResourceEventsResponse
266
- class Representation < Google::Apis::Core::JsonRepresentation; end
267
-
268
- include Google::Apis::Core::JsonObjectSupport
269
- end
270
-
271
247
  class GoogleCloudAssuredworkloadsV1Rule
272
248
  class Representation < Google::Apis::Core::JsonRepresentation; end
273
249
 
@@ -430,6 +406,7 @@ module Google
430
406
  property :acknowledge_type, as: 'acknowledgeType'
431
407
  property :comment, as: 'comment'
432
408
  property :non_compliant_org_policy, as: 'nonCompliantOrgPolicy'
409
+ property :view, as: 'view'
433
410
  end
434
411
  end
435
412
 
@@ -489,25 +466,6 @@ module Google
489
466
  end
490
467
  end
491
468
 
492
- class GoogleCloudAssuredworkloadsV1ArchiveResourceEventsRequest
493
- # @private
494
- class Representation < Google::Apis::Core::JsonRepresentation
495
- property :archive_time, as: 'archiveTime'
496
- property :batch_size, as: 'batchSize'
497
- property :event_cutoff_time, as: 'eventCutoffTime'
498
- property :max_events_move, as: 'maxEventsMove'
499
- property :organization_id, :numeric_string => true, as: 'organizationId'
500
- property :region, as: 'region'
501
- end
502
- end
503
-
504
- class GoogleCloudAssuredworkloadsV1ArchiveResourceEventsResponse
505
- # @private
506
- class Representation < Google::Apis::Core::JsonRepresentation
507
- property :moved_events_count, as: 'movedEventsCount'
508
- end
509
- end
510
-
511
469
  class GoogleCloudAssuredworkloadsV1AssetMoveAnalysis
512
470
  # @private
513
471
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -830,25 +788,6 @@ module Google
830
788
  end
831
789
  end
832
790
 
833
- class GoogleCloudAssuredworkloadsV1RevertArchivedResourceEventsRequest
834
- # @private
835
- class Representation < Google::Apis::Core::JsonRepresentation
836
- property :archive_end_time, as: 'archiveEndTime'
837
- property :archive_start_time, as: 'archiveStartTime'
838
- property :batch_size, as: 'batchSize'
839
- property :max_events_move, as: 'maxEventsMove'
840
- property :organization_id, :numeric_string => true, as: 'organizationId'
841
- property :region, as: 'region'
842
- end
843
- end
844
-
845
- class GoogleCloudAssuredworkloadsV1RevertArchivedResourceEventsResponse
846
- # @private
847
- class Representation < Google::Apis::Core::JsonRepresentation
848
- property :moved_events_count, as: 'movedEventsCount'
849
- end
850
- end
851
-
852
791
  class GoogleCloudAssuredworkloadsV1Rule
853
792
  # @private
854
793
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -908,10 +847,12 @@ module Google
908
847
  class Representation < Google::Apis::Core::JsonRepresentation
909
848
  property :acknowledged, as: 'acknowledged'
910
849
  property :acknowledgement_time, as: 'acknowledgementTime'
850
+ collection :affected_frameworks, as: 'affectedFrameworks'
911
851
  property :associated_org_policy_violation_id, as: 'associatedOrgPolicyViolationId'
912
852
  property :audit_log_link, as: 'auditLogLink'
913
853
  property :begin_time, as: 'beginTime'
914
854
  property :category, as: 'category'
855
+ property :child_resource_violation_count, as: 'childResourceViolationCount'
915
856
  property :description, as: 'description'
916
857
  property :exception_audit_log_link, as: 'exceptionAuditLogLink'
917
858
  collection :exception_contexts, as: 'exceptionContexts', class: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ViolationExceptionContext, decorator: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ViolationExceptionContext::Representation
@@ -922,6 +863,7 @@ module Google
922
863
  property :parent_project_number, as: 'parentProjectNumber'
923
864
  property :remediation, as: 'remediation', class: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ViolationRemediation, decorator: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ViolationRemediation::Representation
924
865
 
866
+ property :remediation_markdown, as: 'remediationMarkdown'
925
867
  property :resolve_time, as: 'resolveTime'
926
868
  property :resource_name, as: 'resourceName'
927
869
  property :resource_type, as: 'resourceType'
@@ -51,68 +51,6 @@ module Google
51
51
  @batch_path = 'batch'
52
52
  end
53
53
 
54
- # Finds orphan ResourceEvents matching the criteria and moves them to the
55
- # ArchivedResourceEvents table.
56
- # @param [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ArchiveResourceEventsRequest] google_cloud_assuredworkloads_v1_archive_resource_events_request_object
57
- # @param [String] fields
58
- # Selector specifying which fields to include in a partial response.
59
- # @param [String] quota_user
60
- # Available to use for quota purposes for server-side applications. Can be any
61
- # arbitrary string assigned to a user, but should not exceed 40 characters.
62
- # @param [Google::Apis::RequestOptions] options
63
- # Request-specific options
64
- #
65
- # @yield [result, err] Result & error if block supplied
66
- # @yieldparam result [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ArchiveResourceEventsResponse] parsed result object
67
- # @yieldparam err [StandardError] error object if request failed
68
- #
69
- # @return [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ArchiveResourceEventsResponse]
70
- #
71
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
72
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
73
- # @raise [Google::Apis::AuthorizationError] Authorization is required
74
- def archive_assuredworkload_resource_events(google_cloud_assuredworkloads_v1_archive_resource_events_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
75
- command = make_simple_command(:post, 'v1/assuredworkloads:archiveResourceEvents', options)
76
- command.request_representation = Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ArchiveResourceEventsRequest::Representation
77
- command.request_object = google_cloud_assuredworkloads_v1_archive_resource_events_request_object
78
- command.response_representation = Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ArchiveResourceEventsResponse::Representation
79
- command.response_class = Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ArchiveResourceEventsResponse
80
- command.query['fields'] = fields unless fields.nil?
81
- command.query['quotaUser'] = quota_user unless quota_user.nil?
82
- execute_or_queue_command(command, &block)
83
- end
84
-
85
- # Finds matching ArchivedResourceEvents and moves them back to the
86
- # ResourceEvents table.
87
- # @param [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1RevertArchivedResourceEventsRequest] google_cloud_assuredworkloads_v1_revert_archived_resource_events_request_object
88
- # @param [String] fields
89
- # Selector specifying which fields to include in a partial response.
90
- # @param [String] quota_user
91
- # Available to use for quota purposes for server-side applications. Can be any
92
- # arbitrary string assigned to a user, but should not exceed 40 characters.
93
- # @param [Google::Apis::RequestOptions] options
94
- # Request-specific options
95
- #
96
- # @yield [result, err] Result & error if block supplied
97
- # @yieldparam result [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1RevertArchivedResourceEventsResponse] parsed result object
98
- # @yieldparam err [StandardError] error object if request failed
99
- #
100
- # @return [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1RevertArchivedResourceEventsResponse]
101
- #
102
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
103
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
104
- # @raise [Google::Apis::AuthorizationError] Authorization is required
105
- def revert_assuredworkload_archived_resource_events(google_cloud_assuredworkloads_v1_revert_archived_resource_events_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
106
- command = make_simple_command(:post, 'v1/assuredworkloads:revertArchivedResourceEvents', options)
107
- command.request_representation = Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1RevertArchivedResourceEventsRequest::Representation
108
- command.request_object = google_cloud_assuredworkloads_v1_revert_archived_resource_events_request_object
109
- command.response_representation = Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1RevertArchivedResourceEventsResponse::Representation
110
- command.response_class = Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1RevertArchivedResourceEventsResponse
111
- command.query['fields'] = fields unless fields.nil?
112
- command.query['quotaUser'] = quota_user unless quota_user.nil?
113
- execute_or_queue_command(command, &block)
114
- end
115
-
116
54
  # Lists the finding summary by category for a given scope.
117
55
  # @param [String] parent
118
56
  # Required. The parent scope for the framework overview page. Formats: -
@@ -1133,6 +1071,9 @@ module Google
1133
1071
  # Required. The resource name of the Violation to fetch (ie. Violation.name).
1134
1072
  # Format: organizations/`organization`/locations/`location`/workloads/`workload`/
1135
1073
  # violations/`violation`
1074
+ # @param [String] view
1075
+ # Optional. Specifies the violation view (`AssuredWorkloads` or `DataBoundary`)
1076
+ # for fetching violations.
1136
1077
  # @param [String] fields
1137
1078
  # Selector specifying which fields to include in a partial response.
1138
1079
  # @param [String] quota_user
@@ -1150,11 +1091,12 @@ module Google
1150
1091
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1151
1092
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1152
1093
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1153
- def get_organization_location_workload_violation(name, fields: nil, quota_user: nil, options: nil, &block)
1094
+ def get_organization_location_workload_violation(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
1154
1095
  command = make_simple_command(:get, 'v1/{+name}', options)
1155
1096
  command.response_representation = Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1Violation::Representation
1156
1097
  command.response_class = Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1Violation
1157
1098
  command.params['name'] = name unless name.nil?
1099
+ command.query['view'] = view unless view.nil?
1158
1100
  command.query['fields'] = fields unless fields.nil?
1159
1101
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1160
1102
  execute_or_queue_command(command, &block)
@@ -1180,6 +1122,9 @@ module Google
1180
1122
  # Optional. Page size.
1181
1123
  # @param [String] page_token
1182
1124
  # Optional. Page token returned from previous request.
1125
+ # @param [String] view
1126
+ # Optional. Specifies the violation view(AssuredWorkloads or DataBoundary) for
1127
+ # fetching violations.
1183
1128
  # @param [String] fields
1184
1129
  # Selector specifying which fields to include in a partial response.
1185
1130
  # @param [String] quota_user
@@ -1197,7 +1142,7 @@ module Google
1197
1142
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1198
1143
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1199
1144
  # @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)
1145
+ 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
1146
  command = make_simple_command(:get, 'v1/{+parent}/violations', options)
1202
1147
  command.response_representation = Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ListViolationsResponse::Representation
1203
1148
  command.response_class = Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ListViolationsResponse
@@ -1208,6 +1153,7 @@ module Google
1208
1153
  command.query['orderBy'] = order_by unless order_by.nil?
1209
1154
  command.query['pageSize'] = page_size unless page_size.nil?
1210
1155
  command.query['pageToken'] = page_token unless page_token.nil?
1156
+ command.query['view'] = view unless view.nil?
1211
1157
  command.query['fields'] = fields unless fields.nil?
1212
1158
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1213
1159
  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.73.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.73.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: