google-apis-assuredworkloads_v1beta1 0.33.0 → 0.35.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 +9 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/assuredworkloads_v1beta1/classes.rb +188 -0
- data/lib/google/apis/assuredworkloads_v1beta1/gem_version.rb +3 -3
- data/lib/google/apis/assuredworkloads_v1beta1/representations.rb +89 -0
- data/lib/google/apis/assuredworkloads_v1beta1/service.rb +100 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 17722816f8e6612ac21c5774966566095c0e0c25e3e1e84f5f04526149b81191
|
|
4
|
+
data.tar.gz: fe6dccc9e9ac50396395b48adcd2f0a03b482aedc2af35bd2e6e4ea19f2c33a5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cbf0be5ce7c39a0c053347704619ba0dfc5eb1a7d413c08ee8c10dc9140e807cd72b92b63d22bd2ea09f96fb98880cf3789d93fa883925efeab993ea36d369c5
|
|
7
|
+
data.tar.gz: c12f51d4cee3b8d2fc6d52cd5bbd20a26fe617db914c9a6ced98de20b09383e6e664333619e9553fdfa9321b57374f019fdd406a1d1aabf80f670d77dfc78085
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Release history for google-apis-assuredworkloads_v1beta1
|
|
2
2
|
|
|
3
|
+
### v0.35.0 (2026-06-14)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260601
|
|
6
|
+
* Regenerated using generator version 0.19.0
|
|
7
|
+
|
|
8
|
+
### v0.34.0 (2026-05-10)
|
|
9
|
+
|
|
10
|
+
* Regenerated from discovery document revision 20260504
|
|
11
|
+
|
|
3
12
|
### v0.33.0 (2026-04-19)
|
|
4
13
|
|
|
5
14
|
* Regenerated from discovery document revision 20260321
|
data/OVERVIEW.md
CHANGED
|
@@ -83,7 +83,7 @@ The [product documentation](https://cloud.google.com/learnmoreurl) may provide g
|
|
|
83
83
|
|
|
84
84
|
## Supported Ruby versions
|
|
85
85
|
|
|
86
|
-
This library is supported on Ruby 3.
|
|
86
|
+
This library is supported on Ruby 3.2+.
|
|
87
87
|
|
|
88
88
|
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
|
|
89
89
|
|
|
@@ -165,6 +165,76 @@ module Google
|
|
|
165
165
|
end
|
|
166
166
|
end
|
|
167
167
|
|
|
168
|
+
# Request for archiving resource events.
|
|
169
|
+
class GoogleCloudAssuredworkloadsV1beta1ArchiveResourceEventsRequest
|
|
170
|
+
include Google::Apis::Core::Hashable
|
|
171
|
+
|
|
172
|
+
# Optional. Time to set as ArchiveTime in the archive table. If not provided,
|
|
173
|
+
# the current time is used.
|
|
174
|
+
# Corresponds to the JSON property `archiveTime`
|
|
175
|
+
# @return [String]
|
|
176
|
+
attr_accessor :archive_time
|
|
177
|
+
|
|
178
|
+
# Required. The number of events to process in a single transaction batch.
|
|
179
|
+
# Corresponds to the JSON property `batchSize`
|
|
180
|
+
# @return [Fixnum]
|
|
181
|
+
attr_accessor :batch_size
|
|
182
|
+
|
|
183
|
+
# Required. Only events with EventTime earlier than this cutoff will be archived.
|
|
184
|
+
# Corresponds to the JSON property `eventCutoffTime`
|
|
185
|
+
# @return [String]
|
|
186
|
+
attr_accessor :event_cutoff_time
|
|
187
|
+
|
|
188
|
+
# Required. The maximum total number of events to move in this request.
|
|
189
|
+
# Corresponds to the JSON property `maxEventsMove`
|
|
190
|
+
# @return [Fixnum]
|
|
191
|
+
attr_accessor :max_events_move
|
|
192
|
+
|
|
193
|
+
# Required. The organization ID for which to archive events.
|
|
194
|
+
# Corresponds to the JSON property `organizationId`
|
|
195
|
+
# @return [Fixnum]
|
|
196
|
+
attr_accessor :organization_id
|
|
197
|
+
|
|
198
|
+
# Required. The region of the workload(s) whose events should be archived. This
|
|
199
|
+
# is used to filter workloads based on AssurantWorkloadData.region.
|
|
200
|
+
# Corresponds to the JSON property `region`
|
|
201
|
+
# @return [String]
|
|
202
|
+
attr_accessor :region
|
|
203
|
+
|
|
204
|
+
def initialize(**args)
|
|
205
|
+
update!(**args)
|
|
206
|
+
end
|
|
207
|
+
|
|
208
|
+
# Update properties of this object
|
|
209
|
+
def update!(**args)
|
|
210
|
+
@archive_time = args[:archive_time] if args.key?(:archive_time)
|
|
211
|
+
@batch_size = args[:batch_size] if args.key?(:batch_size)
|
|
212
|
+
@event_cutoff_time = args[:event_cutoff_time] if args.key?(:event_cutoff_time)
|
|
213
|
+
@max_events_move = args[:max_events_move] if args.key?(:max_events_move)
|
|
214
|
+
@organization_id = args[:organization_id] if args.key?(:organization_id)
|
|
215
|
+
@region = args[:region] if args.key?(:region)
|
|
216
|
+
end
|
|
217
|
+
end
|
|
218
|
+
|
|
219
|
+
# Response for archiving resource events.
|
|
220
|
+
class GoogleCloudAssuredworkloadsV1beta1ArchiveResourceEventsResponse
|
|
221
|
+
include Google::Apis::Core::Hashable
|
|
222
|
+
|
|
223
|
+
# The total number of events successfully moved to the archive table.
|
|
224
|
+
# Corresponds to the JSON property `movedEventsCount`
|
|
225
|
+
# @return [Fixnum]
|
|
226
|
+
attr_accessor :moved_events_count
|
|
227
|
+
|
|
228
|
+
def initialize(**args)
|
|
229
|
+
update!(**args)
|
|
230
|
+
end
|
|
231
|
+
|
|
232
|
+
# Update properties of this object
|
|
233
|
+
def update!(**args)
|
|
234
|
+
@moved_events_count = args[:moved_events_count] if args.key?(:moved_events_count)
|
|
235
|
+
end
|
|
236
|
+
end
|
|
237
|
+
|
|
168
238
|
# Represents move analysis results for an asset.
|
|
169
239
|
class GoogleCloudAssuredworkloadsV1beta1AssetMoveAnalysis
|
|
170
240
|
include Google::Apis::Core::Hashable
|
|
@@ -199,6 +269,53 @@ module Google
|
|
|
199
269
|
end
|
|
200
270
|
end
|
|
201
271
|
|
|
272
|
+
# Request for acknowledging the violations in a batch
|
|
273
|
+
class GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsRequest
|
|
274
|
+
include Google::Apis::Core::Hashable
|
|
275
|
+
|
|
276
|
+
# Optional. Acknowledge type of specified violations.
|
|
277
|
+
# Corresponds to the JSON property `acknowledgeType`
|
|
278
|
+
# @return [String]
|
|
279
|
+
attr_accessor :acknowledge_type
|
|
280
|
+
|
|
281
|
+
# Required. Business justification explaining the need for violations
|
|
282
|
+
# acknowledgement
|
|
283
|
+
# Corresponds to the JSON property `comment`
|
|
284
|
+
# @return [String]
|
|
285
|
+
attr_accessor :comment
|
|
286
|
+
|
|
287
|
+
# Required. The resource names of the Violations to acknowledge. Format for each
|
|
288
|
+
# name: organizations/`organization`/locations/`location`/workloads/`workload`/
|
|
289
|
+
# violations/`violation`
|
|
290
|
+
# Corresponds to the JSON property `names`
|
|
291
|
+
# @return [Array<String>]
|
|
292
|
+
attr_accessor :names
|
|
293
|
+
|
|
294
|
+
def initialize(**args)
|
|
295
|
+
update!(**args)
|
|
296
|
+
end
|
|
297
|
+
|
|
298
|
+
# Update properties of this object
|
|
299
|
+
def update!(**args)
|
|
300
|
+
@acknowledge_type = args[:acknowledge_type] if args.key?(:acknowledge_type)
|
|
301
|
+
@comment = args[:comment] if args.key?(:comment)
|
|
302
|
+
@names = args[:names] if args.key?(:names)
|
|
303
|
+
end
|
|
304
|
+
end
|
|
305
|
+
|
|
306
|
+
# Response for batch violation acknowledgement
|
|
307
|
+
class GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse
|
|
308
|
+
include Google::Apis::Core::Hashable
|
|
309
|
+
|
|
310
|
+
def initialize(**args)
|
|
311
|
+
update!(**args)
|
|
312
|
+
end
|
|
313
|
+
|
|
314
|
+
# Update properties of this object
|
|
315
|
+
def update!(**args)
|
|
316
|
+
end
|
|
317
|
+
end
|
|
318
|
+
|
|
202
319
|
# Operation metadata to give request details of CreateWorkload.
|
|
203
320
|
class GoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata
|
|
204
321
|
include Google::Apis::Core::Hashable
|
|
@@ -610,6 +727,77 @@ module Google
|
|
|
610
727
|
end
|
|
611
728
|
end
|
|
612
729
|
|
|
730
|
+
# Request for reverting archived resource events.
|
|
731
|
+
class GoogleCloudAssuredworkloadsV1beta1RevertArchivedResourceEventsRequest
|
|
732
|
+
include Google::Apis::Core::Hashable
|
|
733
|
+
|
|
734
|
+
# Required. Only events within this time range will be reverted. This helps
|
|
735
|
+
# prevent reverting everything when something goes wrong.
|
|
736
|
+
# Corresponds to the JSON property `archiveEndTime`
|
|
737
|
+
# @return [String]
|
|
738
|
+
attr_accessor :archive_end_time
|
|
739
|
+
|
|
740
|
+
# Required. Only events within this time range will be reverted. This helps
|
|
741
|
+
# prevent reverting everything when something goes wrong.
|
|
742
|
+
# Corresponds to the JSON property `archiveStartTime`
|
|
743
|
+
# @return [String]
|
|
744
|
+
attr_accessor :archive_start_time
|
|
745
|
+
|
|
746
|
+
# Required. The number of events to process in a single transaction batch.
|
|
747
|
+
# Corresponds to the JSON property `batchSize`
|
|
748
|
+
# @return [Fixnum]
|
|
749
|
+
attr_accessor :batch_size
|
|
750
|
+
|
|
751
|
+
# Required. The maximum total number of events to move in this request.
|
|
752
|
+
# Corresponds to the JSON property `maxEventsMove`
|
|
753
|
+
# @return [Fixnum]
|
|
754
|
+
attr_accessor :max_events_move
|
|
755
|
+
|
|
756
|
+
# Required. The organization ID for which to revert events.
|
|
757
|
+
# Corresponds to the JSON property `organizationId`
|
|
758
|
+
# @return [Fixnum]
|
|
759
|
+
attr_accessor :organization_id
|
|
760
|
+
|
|
761
|
+
# Required. The region of the workload(s) whose events should be reverted. This
|
|
762
|
+
# is used to filter workloads based on AssurantWorkloadData.region.
|
|
763
|
+
# Corresponds to the JSON property `region`
|
|
764
|
+
# @return [String]
|
|
765
|
+
attr_accessor :region
|
|
766
|
+
|
|
767
|
+
def initialize(**args)
|
|
768
|
+
update!(**args)
|
|
769
|
+
end
|
|
770
|
+
|
|
771
|
+
# Update properties of this object
|
|
772
|
+
def update!(**args)
|
|
773
|
+
@archive_end_time = args[:archive_end_time] if args.key?(:archive_end_time)
|
|
774
|
+
@archive_start_time = args[:archive_start_time] if args.key?(:archive_start_time)
|
|
775
|
+
@batch_size = args[:batch_size] if args.key?(:batch_size)
|
|
776
|
+
@max_events_move = args[:max_events_move] if args.key?(:max_events_move)
|
|
777
|
+
@organization_id = args[:organization_id] if args.key?(:organization_id)
|
|
778
|
+
@region = args[:region] if args.key?(:region)
|
|
779
|
+
end
|
|
780
|
+
end
|
|
781
|
+
|
|
782
|
+
# Response for reverting archived resource events.
|
|
783
|
+
class GoogleCloudAssuredworkloadsV1beta1RevertArchivedResourceEventsResponse
|
|
784
|
+
include Google::Apis::Core::Hashable
|
|
785
|
+
|
|
786
|
+
# The total number of events successfully moved to the original table.
|
|
787
|
+
# Corresponds to the JSON property `movedEventsCount`
|
|
788
|
+
# @return [Fixnum]
|
|
789
|
+
attr_accessor :moved_events_count
|
|
790
|
+
|
|
791
|
+
def initialize(**args)
|
|
792
|
+
update!(**args)
|
|
793
|
+
end
|
|
794
|
+
|
|
795
|
+
# Update properties of this object
|
|
796
|
+
def update!(**args)
|
|
797
|
+
@moved_events_count = args[:moved_events_count] if args.key?(:moved_events_count)
|
|
798
|
+
end
|
|
799
|
+
end
|
|
800
|
+
|
|
613
801
|
# The details of the update.
|
|
614
802
|
class GoogleCloudAssuredworkloadsV1beta1UpdateDetails
|
|
615
803
|
include Google::Apis::Core::Hashable
|
|
@@ -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.
|
|
19
|
+
GEM_VERSION = "0.35.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
|
-
GENERATOR_VERSION = "0.
|
|
22
|
+
GENERATOR_VERSION = "0.19.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260601"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -58,12 +58,36 @@ module Google
|
|
|
58
58
|
include Google::Apis::Core::JsonObjectSupport
|
|
59
59
|
end
|
|
60
60
|
|
|
61
|
+
class GoogleCloudAssuredworkloadsV1beta1ArchiveResourceEventsRequest
|
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
63
|
+
|
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
class GoogleCloudAssuredworkloadsV1beta1ArchiveResourceEventsResponse
|
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
69
|
+
|
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
71
|
+
end
|
|
72
|
+
|
|
61
73
|
class GoogleCloudAssuredworkloadsV1beta1AssetMoveAnalysis
|
|
62
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
63
75
|
|
|
64
76
|
include Google::Apis::Core::JsonObjectSupport
|
|
65
77
|
end
|
|
66
78
|
|
|
79
|
+
class GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsRequest
|
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
81
|
+
|
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
class GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse
|
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
87
|
+
|
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
89
|
+
end
|
|
90
|
+
|
|
67
91
|
class GoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata
|
|
68
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
69
93
|
|
|
@@ -154,6 +178,18 @@ module Google
|
|
|
154
178
|
include Google::Apis::Core::JsonObjectSupport
|
|
155
179
|
end
|
|
156
180
|
|
|
181
|
+
class GoogleCloudAssuredworkloadsV1beta1RevertArchivedResourceEventsRequest
|
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
183
|
+
|
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
185
|
+
end
|
|
186
|
+
|
|
187
|
+
class GoogleCloudAssuredworkloadsV1beta1RevertArchivedResourceEventsResponse
|
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
189
|
+
|
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
191
|
+
end
|
|
192
|
+
|
|
157
193
|
class GoogleCloudAssuredworkloadsV1beta1UpdateDetails
|
|
158
194
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
159
195
|
|
|
@@ -352,6 +388,25 @@ module Google
|
|
|
352
388
|
end
|
|
353
389
|
end
|
|
354
390
|
|
|
391
|
+
class GoogleCloudAssuredworkloadsV1beta1ArchiveResourceEventsRequest
|
|
392
|
+
# @private
|
|
393
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
394
|
+
property :archive_time, as: 'archiveTime'
|
|
395
|
+
property :batch_size, as: 'batchSize'
|
|
396
|
+
property :event_cutoff_time, as: 'eventCutoffTime'
|
|
397
|
+
property :max_events_move, as: 'maxEventsMove'
|
|
398
|
+
property :organization_id, :numeric_string => true, as: 'organizationId'
|
|
399
|
+
property :region, as: 'region'
|
|
400
|
+
end
|
|
401
|
+
end
|
|
402
|
+
|
|
403
|
+
class GoogleCloudAssuredworkloadsV1beta1ArchiveResourceEventsResponse
|
|
404
|
+
# @private
|
|
405
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
406
|
+
property :moved_events_count, as: 'movedEventsCount'
|
|
407
|
+
end
|
|
408
|
+
end
|
|
409
|
+
|
|
355
410
|
class GoogleCloudAssuredworkloadsV1beta1AssetMoveAnalysis
|
|
356
411
|
# @private
|
|
357
412
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -362,6 +417,21 @@ module Google
|
|
|
362
417
|
end
|
|
363
418
|
end
|
|
364
419
|
|
|
420
|
+
class GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsRequest
|
|
421
|
+
# @private
|
|
422
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
423
|
+
property :acknowledge_type, as: 'acknowledgeType'
|
|
424
|
+
property :comment, as: 'comment'
|
|
425
|
+
collection :names, as: 'names'
|
|
426
|
+
end
|
|
427
|
+
end
|
|
428
|
+
|
|
429
|
+
class GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse
|
|
430
|
+
# @private
|
|
431
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
432
|
+
end
|
|
433
|
+
end
|
|
434
|
+
|
|
365
435
|
class GoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata
|
|
366
436
|
# @private
|
|
367
437
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -495,6 +565,25 @@ module Google
|
|
|
495
565
|
end
|
|
496
566
|
end
|
|
497
567
|
|
|
568
|
+
class GoogleCloudAssuredworkloadsV1beta1RevertArchivedResourceEventsRequest
|
|
569
|
+
# @private
|
|
570
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
571
|
+
property :archive_end_time, as: 'archiveEndTime'
|
|
572
|
+
property :archive_start_time, as: 'archiveStartTime'
|
|
573
|
+
property :batch_size, as: 'batchSize'
|
|
574
|
+
property :max_events_move, as: 'maxEventsMove'
|
|
575
|
+
property :organization_id, :numeric_string => true, as: 'organizationId'
|
|
576
|
+
property :region, as: 'region'
|
|
577
|
+
end
|
|
578
|
+
end
|
|
579
|
+
|
|
580
|
+
class GoogleCloudAssuredworkloadsV1beta1RevertArchivedResourceEventsResponse
|
|
581
|
+
# @private
|
|
582
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
583
|
+
property :moved_events_count, as: 'movedEventsCount'
|
|
584
|
+
end
|
|
585
|
+
end
|
|
586
|
+
|
|
498
587
|
class GoogleCloudAssuredworkloadsV1beta1UpdateDetails
|
|
499
588
|
# @private
|
|
500
589
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -51,6 +51,68 @@ 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::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1ArchiveResourceEventsRequest] google_cloud_assuredworkloads_v1beta1_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::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1ArchiveResourceEventsResponse] parsed result object
|
|
67
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
68
|
+
#
|
|
69
|
+
# @return [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1ArchiveResourceEventsResponse]
|
|
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_v1beta1_archive_resource_events_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
75
|
+
command = make_simple_command(:post, 'v1beta1/assuredworkloads:archiveResourceEvents', options)
|
|
76
|
+
command.request_representation = Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1ArchiveResourceEventsRequest::Representation
|
|
77
|
+
command.request_object = google_cloud_assuredworkloads_v1beta1_archive_resource_events_request_object
|
|
78
|
+
command.response_representation = Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1ArchiveResourceEventsResponse::Representation
|
|
79
|
+
command.response_class = Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1ArchiveResourceEventsResponse
|
|
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::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1RevertArchivedResourceEventsRequest] google_cloud_assuredworkloads_v1beta1_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::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1RevertArchivedResourceEventsResponse] parsed result object
|
|
98
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
99
|
+
#
|
|
100
|
+
# @return [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1RevertArchivedResourceEventsResponse]
|
|
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_v1beta1_revert_archived_resource_events_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
106
|
+
command = make_simple_command(:post, 'v1beta1/assuredworkloads:revertArchivedResourceEvents', options)
|
|
107
|
+
command.request_representation = Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1RevertArchivedResourceEventsRequest::Representation
|
|
108
|
+
command.request_object = google_cloud_assuredworkloads_v1beta1_revert_archived_resource_events_request_object
|
|
109
|
+
command.response_representation = Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1RevertArchivedResourceEventsResponse::Representation
|
|
110
|
+
command.response_class = Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1RevertArchivedResourceEventsResponse
|
|
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
|
+
|
|
54
116
|
# Gets the latest state of a long-running operation. Clients can use this method
|
|
55
117
|
# to poll the operation result at intervals as recommended by the API service.
|
|
56
118
|
# @param [String] name
|
|
@@ -598,6 +660,44 @@ module Google
|
|
|
598
660
|
execute_or_queue_command(command, &block)
|
|
599
661
|
end
|
|
600
662
|
|
|
663
|
+
# Acknowledges multiple existing violations. By acknowledging violations, users
|
|
664
|
+
# acknowledge the existence of compliance violations in their workload and
|
|
665
|
+
# decide to ignore them due to a valid business justification. Acknowledgement
|
|
666
|
+
# is a permanent operation and it cannot be reverted. This is a batch version of
|
|
667
|
+
# AcknowledgeViolation.
|
|
668
|
+
# @param [String] parent
|
|
669
|
+
# Optional. The parent resource shared by all violations being acknowledged.
|
|
670
|
+
# Format: organizations/`organization`/locations/`location`/workloads/`workload`
|
|
671
|
+
# @param [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsRequest] google_cloud_assuredworkloads_v1beta1_batch_acknowledge_violations_request_object
|
|
672
|
+
# @param [String] fields
|
|
673
|
+
# Selector specifying which fields to include in a partial response.
|
|
674
|
+
# @param [String] quota_user
|
|
675
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
676
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
677
|
+
# @param [Google::Apis::RequestOptions] options
|
|
678
|
+
# Request-specific options
|
|
679
|
+
#
|
|
680
|
+
# @yield [result, err] Result & error if block supplied
|
|
681
|
+
# @yieldparam result [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse] parsed result object
|
|
682
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
683
|
+
#
|
|
684
|
+
# @return [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse]
|
|
685
|
+
#
|
|
686
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
687
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
688
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
689
|
+
def batch_organization_location_workload_violation_acknowledge_violations(parent, google_cloud_assuredworkloads_v1beta1_batch_acknowledge_violations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
690
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/violations:batchAcknowledgeViolations', options)
|
|
691
|
+
command.request_representation = Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsRequest::Representation
|
|
692
|
+
command.request_object = google_cloud_assuredworkloads_v1beta1_batch_acknowledge_violations_request_object
|
|
693
|
+
command.response_representation = Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse::Representation
|
|
694
|
+
command.response_class = Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse
|
|
695
|
+
command.params['parent'] = parent unless parent.nil?
|
|
696
|
+
command.query['fields'] = fields unless fields.nil?
|
|
697
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
698
|
+
execute_or_queue_command(command, &block)
|
|
699
|
+
end
|
|
700
|
+
|
|
601
701
|
# Retrieves Assured Workload Violation based on ID.
|
|
602
702
|
# @param [String] name
|
|
603
703
|
# Required. The resource name of the Violation to fetch (ie. Violation.name).
|
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.
|
|
4
|
+
version: 0.35.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.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-assuredworkloads_v1beta1/v0.35.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:
|
|
@@ -66,7 +66,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
66
66
|
requirements:
|
|
67
67
|
- - ">="
|
|
68
68
|
- !ruby/object:Gem::Version
|
|
69
|
-
version: '3.
|
|
69
|
+
version: '3.2'
|
|
70
70
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
71
71
|
requirements:
|
|
72
72
|
- - ">="
|