google-apis-assuredworkloads_v1 0.72.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: 1c1340c04a1f14456a12d07c1db9030fa81272d036b68dcaae97567d90b72d71
4
- data.tar.gz: 020f9c48b4ef8fe8d7ae8e83368d67584dffbac139e162e19ff07037e864e3f8
3
+ metadata.gz: c98680e8906c0aa5daf58aa50e0779cdb61df92b01d556927f4497ae551535a7
4
+ data.tar.gz: a28f07abab4e9bfc19b1538c27356bad0124aa25755e748daa90bdff1c96dca3
5
5
  SHA512:
6
- metadata.gz: 9b2acbcf9f78b025bae9afd3d88246fcf63bf6be5bbb65f3992842aa92e83b969240cdd1fe4d7db32d272e894036b0c11c4fe56a3bacfd8c340edbb538639ea7
7
- data.tar.gz: b4ff8b8c429e71636d5bf5c40ddf2c9a6a50daebc936dd6226fc10ef8aaa531e42f55f9f0e427c8ff08568081ad07b699d15f8c0c6217ea77563e960fb1e3ce5
6
+ metadata.gz: 5c7902983a11f39474dd5027d5331e52ec18686368cc5cbbc7350a574b44483d49e997daaa8bbd20b3f4579f54c9c60f323592c8cb1ade332a0fcdca15941525
7
+ data.tar.gz: 3ab12a86132e59923403dce4c178a82c42bcf213a8e2852e41dced2b91a9a6b1f5b0c462a40bb313b4b69983d69d8b3ca32558e69d217054e92afa197524ea6a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
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
+
3
8
  ### v0.72.0 (2026-10-04)
4
9
 
5
10
  * Regenerated from discovery document revision 20260928
@@ -216,76 +216,6 @@ module Google
216
216
  end
217
217
  end
218
218
 
219
- # Request for archiving resource events.
220
- class GoogleCloudAssuredworkloadsV1ArchiveResourceEventsRequest
221
- include Google::Apis::Core::Hashable
222
-
223
- # Optional. Time to set as ArchiveTime in the archive table. If not provided,
224
- # the current time is used.
225
- # Corresponds to the JSON property `archiveTime`
226
- # @return [String]
227
- attr_accessor :archive_time
228
-
229
- # Required. The number of events to process in a single transaction batch.
230
- # Corresponds to the JSON property `batchSize`
231
- # @return [Fixnum]
232
- attr_accessor :batch_size
233
-
234
- # Required. Only events with EventTime earlier than this cutoff will be archived.
235
- # Corresponds to the JSON property `eventCutoffTime`
236
- # @return [String]
237
- attr_accessor :event_cutoff_time
238
-
239
- # Required. The maximum total number of events to move in this request.
240
- # Corresponds to the JSON property `maxEventsMove`
241
- # @return [Fixnum]
242
- attr_accessor :max_events_move
243
-
244
- # Required. The organization ID for which to archive events.
245
- # Corresponds to the JSON property `organizationId`
246
- # @return [Fixnum]
247
- attr_accessor :organization_id
248
-
249
- # Required. The region of the workload(s) whose events should be archived. This
250
- # is used to filter workloads based on AssurantWorkloadData.region.
251
- # Corresponds to the JSON property `region`
252
- # @return [String]
253
- attr_accessor :region
254
-
255
- def initialize(**args)
256
- update!(**args)
257
- end
258
-
259
- # Update properties of this object
260
- def update!(**args)
261
- @archive_time = args[:archive_time] if args.key?(:archive_time)
262
- @batch_size = args[:batch_size] if args.key?(:batch_size)
263
- @event_cutoff_time = args[:event_cutoff_time] if args.key?(:event_cutoff_time)
264
- @max_events_move = args[:max_events_move] if args.key?(:max_events_move)
265
- @organization_id = args[:organization_id] if args.key?(:organization_id)
266
- @region = args[:region] if args.key?(:region)
267
- end
268
- end
269
-
270
- # Response for archiving resource events.
271
- class GoogleCloudAssuredworkloadsV1ArchiveResourceEventsResponse
272
- include Google::Apis::Core::Hashable
273
-
274
- # The total number of events successfully moved to the archive table.
275
- # Corresponds to the JSON property `movedEventsCount`
276
- # @return [Fixnum]
277
- attr_accessor :moved_events_count
278
-
279
- def initialize(**args)
280
- update!(**args)
281
- end
282
-
283
- # Update properties of this object
284
- def update!(**args)
285
- @moved_events_count = args[:moved_events_count] if args.key?(:moved_events_count)
286
- end
287
- end
288
-
289
219
  # Represents move analysis results for an asset.
290
220
  class GoogleCloudAssuredworkloadsV1AssetMoveAnalysis
291
221
  include Google::Apis::Core::Hashable
@@ -1422,77 +1352,6 @@ module Google
1422
1352
  end
1423
1353
  end
1424
1354
 
1425
- # Request for reverting archived resource events.
1426
- class GoogleCloudAssuredworkloadsV1RevertArchivedResourceEventsRequest
1427
- include Google::Apis::Core::Hashable
1428
-
1429
- # Required. Only events within this time range will be reverted. This helps
1430
- # prevent reverting everything when something goes wrong.
1431
- # Corresponds to the JSON property `archiveEndTime`
1432
- # @return [String]
1433
- attr_accessor :archive_end_time
1434
-
1435
- # Required. Only events within this time range will be reverted. This helps
1436
- # prevent reverting everything when something goes wrong.
1437
- # Corresponds to the JSON property `archiveStartTime`
1438
- # @return [String]
1439
- attr_accessor :archive_start_time
1440
-
1441
- # Required. The number of events to process in a single transaction batch.
1442
- # Corresponds to the JSON property `batchSize`
1443
- # @return [Fixnum]
1444
- attr_accessor :batch_size
1445
-
1446
- # Required. The maximum total number of events to move in this request.
1447
- # Corresponds to the JSON property `maxEventsMove`
1448
- # @return [Fixnum]
1449
- attr_accessor :max_events_move
1450
-
1451
- # Required. The organization ID for which to revert events.
1452
- # Corresponds to the JSON property `organizationId`
1453
- # @return [Fixnum]
1454
- attr_accessor :organization_id
1455
-
1456
- # Required. The region of the workload(s) whose events should be reverted. This
1457
- # is used to filter workloads based on AssurantWorkloadData.region.
1458
- # Corresponds to the JSON property `region`
1459
- # @return [String]
1460
- attr_accessor :region
1461
-
1462
- def initialize(**args)
1463
- update!(**args)
1464
- end
1465
-
1466
- # Update properties of this object
1467
- def update!(**args)
1468
- @archive_end_time = args[:archive_end_time] if args.key?(:archive_end_time)
1469
- @archive_start_time = args[:archive_start_time] if args.key?(:archive_start_time)
1470
- @batch_size = args[:batch_size] if args.key?(:batch_size)
1471
- @max_events_move = args[:max_events_move] if args.key?(:max_events_move)
1472
- @organization_id = args[:organization_id] if args.key?(:organization_id)
1473
- @region = args[:region] if args.key?(:region)
1474
- end
1475
- end
1476
-
1477
- # Response for reverting archived resource events.
1478
- class GoogleCloudAssuredworkloadsV1RevertArchivedResourceEventsResponse
1479
- include Google::Apis::Core::Hashable
1480
-
1481
- # The total number of events successfully moved to the original table.
1482
- # Corresponds to the JSON property `movedEventsCount`
1483
- # @return [Fixnum]
1484
- attr_accessor :moved_events_count
1485
-
1486
- def initialize(**args)
1487
- update!(**args)
1488
- end
1489
-
1490
- # Update properties of this object
1491
- def update!(**args)
1492
- @moved_events_count = args[:moved_events_count] if args.key?(:moved_events_count)
1493
- end
1494
- end
1495
-
1496
1355
  # A rule in the cloud control.
1497
1356
  class GoogleCloudAssuredworkloadsV1Rule
1498
1357
  include Google::Apis::Core::Hashable
@@ -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.72.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 = "20260928"
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
 
@@ -490,25 +466,6 @@ module Google
490
466
  end
491
467
  end
492
468
 
493
- class GoogleCloudAssuredworkloadsV1ArchiveResourceEventsRequest
494
- # @private
495
- class Representation < Google::Apis::Core::JsonRepresentation
496
- property :archive_time, as: 'archiveTime'
497
- property :batch_size, as: 'batchSize'
498
- property :event_cutoff_time, as: 'eventCutoffTime'
499
- property :max_events_move, as: 'maxEventsMove'
500
- property :organization_id, :numeric_string => true, as: 'organizationId'
501
- property :region, as: 'region'
502
- end
503
- end
504
-
505
- class GoogleCloudAssuredworkloadsV1ArchiveResourceEventsResponse
506
- # @private
507
- class Representation < Google::Apis::Core::JsonRepresentation
508
- property :moved_events_count, as: 'movedEventsCount'
509
- end
510
- end
511
-
512
469
  class GoogleCloudAssuredworkloadsV1AssetMoveAnalysis
513
470
  # @private
514
471
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -831,25 +788,6 @@ module Google
831
788
  end
832
789
  end
833
790
 
834
- class GoogleCloudAssuredworkloadsV1RevertArchivedResourceEventsRequest
835
- # @private
836
- class Representation < Google::Apis::Core::JsonRepresentation
837
- property :archive_end_time, as: 'archiveEndTime'
838
- property :archive_start_time, as: 'archiveStartTime'
839
- property :batch_size, as: 'batchSize'
840
- property :max_events_move, as: 'maxEventsMove'
841
- property :organization_id, :numeric_string => true, as: 'organizationId'
842
- property :region, as: 'region'
843
- end
844
- end
845
-
846
- class GoogleCloudAssuredworkloadsV1RevertArchivedResourceEventsResponse
847
- # @private
848
- class Representation < Google::Apis::Core::JsonRepresentation
849
- property :moved_events_count, as: 'movedEventsCount'
850
- end
851
- end
852
-
853
791
  class GoogleCloudAssuredworkloadsV1Rule
854
792
  # @private
855
793
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -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: -
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.72.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.72.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: