google-apis-assuredworkloads_v1 0.25.0 → 0.27.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -22,294 +22,23 @@ module Google
22
22
  module Apis
23
23
  module AssuredworkloadsV1
24
24
 
25
- # Operation metadata to give request details of CreateWorkload.
26
- class GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata
27
- include Google::Apis::Core::Hashable
28
-
29
- # Optional. Compliance controls that should be applied to the resources managed
30
- # by the workload.
31
- # Corresponds to the JSON property `complianceRegime`
32
- # @return [String]
33
- attr_accessor :compliance_regime
34
-
35
- # Optional. Time when the operation was created.
36
- # Corresponds to the JSON property `createTime`
37
- # @return [String]
38
- attr_accessor :create_time
39
-
40
- # Optional. The display name of the workload.
41
- # Corresponds to the JSON property `displayName`
42
- # @return [String]
43
- attr_accessor :display_name
44
-
45
- # Optional. The parent of the workload.
46
- # Corresponds to the JSON property `parent`
47
- # @return [String]
48
- attr_accessor :parent
49
-
50
- def initialize(**args)
51
- update!(**args)
52
- end
53
-
54
- # Update properties of this object
55
- def update!(**args)
56
- @compliance_regime = args[:compliance_regime] if args.key?(:compliance_regime)
57
- @create_time = args[:create_time] if args.key?(:create_time)
58
- @display_name = args[:display_name] if args.key?(:display_name)
59
- @parent = args[:parent] if args.key?(:parent)
60
- end
61
- end
62
-
63
- # Response of ListWorkloads endpoint.
64
- class GoogleCloudAssuredworkloadsV1ListWorkloadsResponse
65
- include Google::Apis::Core::Hashable
66
-
67
- # The next page token. Return empty if reached the last page.
68
- # Corresponds to the JSON property `nextPageToken`
69
- # @return [String]
70
- attr_accessor :next_page_token
71
-
72
- # List of Workloads under a given parent.
73
- # Corresponds to the JSON property `workloads`
74
- # @return [Array<Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1Workload>]
75
- attr_accessor :workloads
76
-
77
- def initialize(**args)
78
- update!(**args)
79
- end
80
-
81
- # Update properties of this object
82
- def update!(**args)
83
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
84
- @workloads = args[:workloads] if args.key?(:workloads)
85
- end
86
- end
87
-
88
- # Request for restricting list of available resources in Workload environment.
89
- class GoogleCloudAssuredworkloadsV1RestrictAllowedResourcesRequest
90
- include Google::Apis::Core::Hashable
91
-
92
- # Required. The type of restriction for using gcp products in the Workload
93
- # environment.
94
- # Corresponds to the JSON property `restrictionType`
95
- # @return [String]
96
- attr_accessor :restriction_type
97
-
98
- def initialize(**args)
99
- update!(**args)
100
- end
101
-
102
- # Update properties of this object
103
- def update!(**args)
104
- @restriction_type = args[:restriction_type] if args.key?(:restriction_type)
105
- end
106
- end
107
-
108
- # Response for restricting the list of allowed resources.
109
- class GoogleCloudAssuredworkloadsV1RestrictAllowedResourcesResponse
110
- include Google::Apis::Core::Hashable
111
-
112
- def initialize(**args)
113
- update!(**args)
114
- end
115
-
116
- # Update properties of this object
117
- def update!(**args)
118
- end
119
- end
120
-
121
- # An Workload object for managing highly regulated workloads of cloud customers.
122
- class GoogleCloudAssuredworkloadsV1Workload
123
- include Google::Apis::Core::Hashable
124
-
125
- # Optional. The billing account used for the resources which are direct children
126
- # of workload. This billing account is initially associated with the resources
127
- # created as part of Workload creation. After the initial creation of these
128
- # resources, the customer can change the assigned billing account. The resource
129
- # name has the form `billingAccounts/`billing_account_id``. For example, `
130
- # billingAccounts/012345-567890-ABCDEF`.
131
- # Corresponds to the JSON property `billingAccount`
132
- # @return [String]
133
- attr_accessor :billing_account
134
-
135
- # Required. Immutable. Compliance Regime associated with this workload.
136
- # Corresponds to the JSON property `complianceRegime`
137
- # @return [String]
138
- attr_accessor :compliance_regime
139
-
140
- # Output only. Immutable. The Workload creation timestamp.
141
- # Corresponds to the JSON property `createTime`
142
- # @return [String]
143
- attr_accessor :create_time
144
-
145
- # Required. The user-assigned display name of the Workload. When present it must
146
- # be between 4 to 30 characters. Allowed characters are: lowercase and uppercase
147
- # letters, numbers, hyphen, and spaces. Example: My Workload
148
- # Corresponds to the JSON property `displayName`
149
- # @return [String]
150
- attr_accessor :display_name
151
-
152
- # Optional. Indicates the sovereignty status of the given workload. Currently
153
- # meant to be used by Europe/Canada customers.
154
- # Corresponds to the JSON property `enableSovereignControls`
155
- # @return [Boolean]
156
- attr_accessor :enable_sovereign_controls
157
- alias_method :enable_sovereign_controls?, :enable_sovereign_controls
158
-
159
- # Optional. ETag of the workload, it is calculated on the basis of the Workload
160
- # contents. It will be used in Update & Delete operations.
161
- # Corresponds to the JSON property `etag`
162
- # @return [String]
163
- attr_accessor :etag
164
-
165
- # Output only. Represents the KAJ enrollment state of the given workload.
166
- # Corresponds to the JSON property `kajEnrollmentState`
167
- # @return [String]
168
- attr_accessor :kaj_enrollment_state
169
-
170
- # Settings specific to the Key Management Service.
171
- # Corresponds to the JSON property `kmsSettings`
172
- # @return [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1WorkloadKmsSettings]
173
- attr_accessor :kms_settings
174
-
175
- # Optional. Labels applied to the workload.
176
- # Corresponds to the JSON property `labels`
177
- # @return [Hash<String,String>]
178
- attr_accessor :labels
179
-
180
- # Optional. The resource name of the workload. Format: organizations/`
181
- # organization`/locations/`location`/workloads/`workload` Read-only.
182
- # Corresponds to the JSON property `name`
183
- # @return [String]
184
- attr_accessor :name
185
-
186
- # Input only. The parent resource for the resources managed by this Assured
187
- # Workload. May be either empty or a folder resource which is a child of the
188
- # Workload parent. If not specified all resources are created under the parent
189
- # organization. Format: folders/`folder_id`
190
- # Corresponds to the JSON property `provisionedResourcesParent`
191
- # @return [String]
192
- attr_accessor :provisioned_resources_parent
193
-
194
- # Input only. Resource properties that are used to customize workload resources.
195
- # These properties (such as custom project id) will be used to create workload
196
- # resources if possible. This field is optional.
197
- # Corresponds to the JSON property `resourceSettings`
198
- # @return [Array<Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1WorkloadResourceSettings>]
199
- attr_accessor :resource_settings
200
-
201
- # Output only. The resources associated with this workload. These resources will
202
- # be created when creating the workload. If any of the projects already exist,
203
- # the workload creation will fail. Always read only.
204
- # Corresponds to the JSON property `resources`
205
- # @return [Array<Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1WorkloadResourceInfo>]
206
- attr_accessor :resources
207
-
208
- # Signed Access Approvals (SAA) enrollment response.
209
- # Corresponds to the JSON property `saaEnrollmentResponse`
210
- # @return [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1WorkloadSaaEnrollmentResponse]
211
- attr_accessor :saa_enrollment_response
212
-
213
- def initialize(**args)
214
- update!(**args)
215
- end
216
-
217
- # Update properties of this object
218
- def update!(**args)
219
- @billing_account = args[:billing_account] if args.key?(:billing_account)
220
- @compliance_regime = args[:compliance_regime] if args.key?(:compliance_regime)
221
- @create_time = args[:create_time] if args.key?(:create_time)
222
- @display_name = args[:display_name] if args.key?(:display_name)
223
- @enable_sovereign_controls = args[:enable_sovereign_controls] if args.key?(:enable_sovereign_controls)
224
- @etag = args[:etag] if args.key?(:etag)
225
- @kaj_enrollment_state = args[:kaj_enrollment_state] if args.key?(:kaj_enrollment_state)
226
- @kms_settings = args[:kms_settings] if args.key?(:kms_settings)
227
- @labels = args[:labels] if args.key?(:labels)
228
- @name = args[:name] if args.key?(:name)
229
- @provisioned_resources_parent = args[:provisioned_resources_parent] if args.key?(:provisioned_resources_parent)
230
- @resource_settings = args[:resource_settings] if args.key?(:resource_settings)
231
- @resources = args[:resources] if args.key?(:resources)
232
- @saa_enrollment_response = args[:saa_enrollment_response] if args.key?(:saa_enrollment_response)
233
- end
234
- end
235
-
236
- # Settings specific to the Key Management Service.
237
- class GoogleCloudAssuredworkloadsV1WorkloadKmsSettings
238
- include Google::Apis::Core::Hashable
239
-
240
- # Required. Input only. Immutable. The time at which the Key Management Service
241
- # will automatically create a new version of the crypto key and mark it as the
242
- # primary.
243
- # Corresponds to the JSON property `nextRotationTime`
244
- # @return [String]
245
- attr_accessor :next_rotation_time
246
-
247
- # Required. Input only. Immutable. [next_rotation_time] will be advanced by this
248
- # period when the Key Management Service automatically rotates a key. Must be at
249
- # least 24 hours and at most 876,000 hours.
250
- # Corresponds to the JSON property `rotationPeriod`
251
- # @return [String]
252
- attr_accessor :rotation_period
253
-
254
- def initialize(**args)
255
- update!(**args)
256
- end
257
-
258
- # Update properties of this object
259
- def update!(**args)
260
- @next_rotation_time = args[:next_rotation_time] if args.key?(:next_rotation_time)
261
- @rotation_period = args[:rotation_period] if args.key?(:rotation_period)
262
- end
263
- end
264
-
265
- # Represent the resources that are children of this Workload.
266
- class GoogleCloudAssuredworkloadsV1WorkloadResourceInfo
25
+ # Request for acknowledging the violation Next Id: 4
26
+ class GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest
267
27
  include Google::Apis::Core::Hashable
268
28
 
269
- # Resource identifier. For a project this represents project_number.
270
- # Corresponds to the JSON property `resourceId`
271
- # @return [Fixnum]
272
- attr_accessor :resource_id
273
-
274
- # Indicates the type of resource.
275
- # Corresponds to the JSON property `resourceType`
276
- # @return [String]
277
- attr_accessor :resource_type
278
-
279
- def initialize(**args)
280
- update!(**args)
281
- end
282
-
283
- # Update properties of this object
284
- def update!(**args)
285
- @resource_id = args[:resource_id] if args.key?(:resource_id)
286
- @resource_type = args[:resource_type] if args.key?(:resource_type)
287
- end
288
- end
289
-
290
- # Represent the custom settings for the resources to be created.
291
- class GoogleCloudAssuredworkloadsV1WorkloadResourceSettings
292
- include Google::Apis::Core::Hashable
293
-
294
- # User-assigned resource display name. If not empty it will be used to create a
295
- # resource with the specified name.
296
- # Corresponds to the JSON property `displayName`
297
- # @return [String]
298
- attr_accessor :display_name
299
-
300
- # Resource identifier. For a project this represents project_id. If the project
301
- # is already taken, the workload creation will fail. For KeyRing, this
302
- # represents the keyring_id. For a folder, don't set this value as folder_id is
303
- # assigned by Google.
304
- # Corresponds to the JSON property `resourceId`
29
+ # Required. Business justification explaining the need for violation
30
+ # acknowledgement
31
+ # Corresponds to the JSON property `comment`
305
32
  # @return [String]
306
- attr_accessor :resource_id
33
+ attr_accessor :comment
307
34
 
308
- # Indicates the type of resource. This field should be specified to correspond
309
- # the id to the right project type (CONSUMER_PROJECT or ENCRYPTION_KEYS_PROJECT)
310
- # Corresponds to the JSON property `resourceType`
35
+ # Optional. Name of the OrgPolicy which was modified with non-compliant change
36
+ # and resulted in this violation. Format: projects/`project_number`/policies/`
37
+ # constraint_name` folders/`folder_id`/policies/`constraint_name` organizations/`
38
+ # organization_id`/policies/`constraint_name`
39
+ # Corresponds to the JSON property `nonCompliantOrgPolicy`
311
40
  # @return [String]
312
- attr_accessor :resource_type
41
+ attr_accessor :non_compliant_org_policy
313
42
 
314
43
  def initialize(**args)
315
44
  update!(**args)
@@ -317,39 +46,26 @@ module Google
317
46
 
318
47
  # Update properties of this object
319
48
  def update!(**args)
320
- @display_name = args[:display_name] if args.key?(:display_name)
321
- @resource_id = args[:resource_id] if args.key?(:resource_id)
322
- @resource_type = args[:resource_type] if args.key?(:resource_type)
49
+ @comment = args[:comment] if args.key?(:comment)
50
+ @non_compliant_org_policy = args[:non_compliant_org_policy] if args.key?(:non_compliant_org_policy)
323
51
  end
324
52
  end
325
53
 
326
- # Signed Access Approvals (SAA) enrollment response.
327
- class GoogleCloudAssuredworkloadsV1WorkloadSaaEnrollmentResponse
54
+ # Response for violation acknowledgement
55
+ class GoogleCloudAssuredworkloadsV1AcknowledgeViolationResponse
328
56
  include Google::Apis::Core::Hashable
329
57
 
330
- # Indicates SAA enrollment setup error if any.
331
- # Corresponds to the JSON property `setupErrors`
332
- # @return [Array<String>]
333
- attr_accessor :setup_errors
334
-
335
- # Indicates SAA enrollment status of a given workload.
336
- # Corresponds to the JSON property `setupStatus`
337
- # @return [String]
338
- attr_accessor :setup_status
339
-
340
58
  def initialize(**args)
341
59
  update!(**args)
342
60
  end
343
61
 
344
62
  # Update properties of this object
345
63
  def update!(**args)
346
- @setup_errors = args[:setup_errors] if args.key?(:setup_errors)
347
- @setup_status = args[:setup_status] if args.key?(:setup_status)
348
64
  end
349
65
  end
350
66
 
351
67
  # Operation metadata to give request details of CreateWorkload.
352
- class GoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata
68
+ class GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata
353
69
  include Google::Apis::Core::Hashable
354
70
 
355
71
  # Optional. Compliance controls that should be applied to the resources managed
@@ -373,12 +89,6 @@ module Google
373
89
  # @return [String]
374
90
  attr_accessor :parent
375
91
 
376
- # Optional. Resource properties in the input that are used for creating/
377
- # customizing workload resources.
378
- # Corresponds to the JSON property `resourceSettings`
379
- # @return [Array<Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings>]
380
- attr_accessor :resource_settings
381
-
382
92
  def initialize(**args)
383
93
  update!(**args)
384
94
  end
@@ -387,168 +97,24 @@ module Google
387
97
  def update!(**args)
388
98
  @compliance_regime = args[:compliance_regime] if args.key?(:compliance_regime)
389
99
  @create_time = args[:create_time] if args.key?(:create_time)
390
- @display_name = args[:display_name] if args.key?(:display_name)
391
- @parent = args[:parent] if args.key?(:parent)
392
- @resource_settings = args[:resource_settings] if args.key?(:resource_settings)
393
- end
394
- end
395
-
396
- # An Workload object for managing highly regulated workloads of cloud customers.
397
- class GoogleCloudAssuredworkloadsV1beta1Workload
398
- include Google::Apis::Core::Hashable
399
-
400
- # Optional. The billing account used for the resources which are direct children
401
- # of workload. This billing account is initially associated with the resources
402
- # created as part of Workload creation. After the initial creation of these
403
- # resources, the customer can change the assigned billing account. The resource
404
- # name has the form `billingAccounts/`billing_account_id``. For example, `
405
- # billingAccounts/012345-567890-ABCDEF`.
406
- # Corresponds to the JSON property `billingAccount`
407
- # @return [String]
408
- attr_accessor :billing_account
409
-
410
- # Settings specific to resources needed for CJIS.
411
- # Corresponds to the JSON property `cjisSettings`
412
- # @return [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1beta1WorkloadCjisSettings]
413
- attr_accessor :cjis_settings
414
-
415
- # Required. Immutable. Compliance Regime associated with this workload.
416
- # Corresponds to the JSON property `complianceRegime`
417
- # @return [String]
418
- attr_accessor :compliance_regime
419
-
420
- # Output only. Urls for services which are compliant for this Assured Workload,
421
- # but which are currently disallowed by the ResourceUsageRestriction org policy.
422
- # Invoke RestrictAllowedResources endpoint to allow your project developers to
423
- # use these services in their environment."
424
- # Corresponds to the JSON property `compliantButDisallowedServices`
425
- # @return [Array<String>]
426
- attr_accessor :compliant_but_disallowed_services
427
-
428
- # Output only. Immutable. The Workload creation timestamp.
429
- # Corresponds to the JSON property `createTime`
430
- # @return [String]
431
- attr_accessor :create_time
432
-
433
- # Required. The user-assigned display name of the Workload. When present it must
434
- # be between 4 to 30 characters. Allowed characters are: lowercase and uppercase
435
- # letters, numbers, hyphen, and spaces. Example: My Workload
436
- # Corresponds to the JSON property `displayName`
437
- # @return [String]
438
- attr_accessor :display_name
439
-
440
- # Optional. Indicates the sovereignty status of the given workload. Currently
441
- # meant to be used by Europe/Canada customers.
442
- # Corresponds to the JSON property `enableSovereignControls`
443
- # @return [Boolean]
444
- attr_accessor :enable_sovereign_controls
445
- alias_method :enable_sovereign_controls?, :enable_sovereign_controls
446
-
447
- # Optional. ETag of the workload, it is calculated on the basis of the Workload
448
- # contents. It will be used in Update & Delete operations.
449
- # Corresponds to the JSON property `etag`
450
- # @return [String]
451
- attr_accessor :etag
452
-
453
- # Settings specific to resources needed for FedRAMP High.
454
- # Corresponds to the JSON property `fedrampHighSettings`
455
- # @return [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampHighSettings]
456
- attr_accessor :fedramp_high_settings
457
-
458
- # Settings specific to resources needed for FedRAMP Moderate.
459
- # Corresponds to the JSON property `fedrampModerateSettings`
460
- # @return [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampModerateSettings]
461
- attr_accessor :fedramp_moderate_settings
462
-
463
- # Settings specific to resources needed for IL4.
464
- # Corresponds to the JSON property `il4Settings`
465
- # @return [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1beta1WorkloadIl4Settings]
466
- attr_accessor :il4_settings
467
-
468
- # Output only. Represents the KAJ enrollment state of the given workload.
469
- # Corresponds to the JSON property `kajEnrollmentState`
470
- # @return [String]
471
- attr_accessor :kaj_enrollment_state
472
-
473
- # Settings specific to the Key Management Service.
474
- # Corresponds to the JSON property `kmsSettings`
475
- # @return [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1beta1WorkloadKmsSettings]
476
- attr_accessor :kms_settings
477
-
478
- # Optional. Labels applied to the workload.
479
- # Corresponds to the JSON property `labels`
480
- # @return [Hash<String,String>]
481
- attr_accessor :labels
482
-
483
- # Optional. The resource name of the workload. Format: organizations/`
484
- # organization`/locations/`location`/workloads/`workload` Read-only.
485
- # Corresponds to the JSON property `name`
486
- # @return [String]
487
- attr_accessor :name
488
-
489
- # Input only. The parent resource for the resources managed by this Assured
490
- # Workload. May be either empty or a folder resource which is a child of the
491
- # Workload parent. If not specified all resources are created under the parent
492
- # organization. Format: folders/`folder_id`
493
- # Corresponds to the JSON property `provisionedResourcesParent`
494
- # @return [String]
495
- attr_accessor :provisioned_resources_parent
496
-
497
- # Input only. Resource properties that are used to customize workload resources.
498
- # These properties (such as custom project id) will be used to create workload
499
- # resources if possible. This field is optional.
500
- # Corresponds to the JSON property `resourceSettings`
501
- # @return [Array<Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings>]
502
- attr_accessor :resource_settings
503
-
504
- # Output only. The resources associated with this workload. These resources will
505
- # be created when creating the workload. If any of the projects already exist,
506
- # the workload creation will fail. Always read only.
507
- # Corresponds to the JSON property `resources`
508
- # @return [Array<Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1beta1WorkloadResourceInfo>]
509
- attr_accessor :resources
510
-
511
- # Signed Access Approvals (SAA) enrollment response.
512
- # Corresponds to the JSON property `saaEnrollmentResponse`
513
- # @return [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1beta1WorkloadSaaEnrollmentResponse]
514
- attr_accessor :saa_enrollment_response
515
-
516
- def initialize(**args)
517
- update!(**args)
518
- end
519
-
520
- # Update properties of this object
521
- def update!(**args)
522
- @billing_account = args[:billing_account] if args.key?(:billing_account)
523
- @cjis_settings = args[:cjis_settings] if args.key?(:cjis_settings)
524
- @compliance_regime = args[:compliance_regime] if args.key?(:compliance_regime)
525
- @compliant_but_disallowed_services = args[:compliant_but_disallowed_services] if args.key?(:compliant_but_disallowed_services)
526
- @create_time = args[:create_time] if args.key?(:create_time)
527
- @display_name = args[:display_name] if args.key?(:display_name)
528
- @enable_sovereign_controls = args[:enable_sovereign_controls] if args.key?(:enable_sovereign_controls)
529
- @etag = args[:etag] if args.key?(:etag)
530
- @fedramp_high_settings = args[:fedramp_high_settings] if args.key?(:fedramp_high_settings)
531
- @fedramp_moderate_settings = args[:fedramp_moderate_settings] if args.key?(:fedramp_moderate_settings)
532
- @il4_settings = args[:il4_settings] if args.key?(:il4_settings)
533
- @kaj_enrollment_state = args[:kaj_enrollment_state] if args.key?(:kaj_enrollment_state)
534
- @kms_settings = args[:kms_settings] if args.key?(:kms_settings)
535
- @labels = args[:labels] if args.key?(:labels)
536
- @name = args[:name] if args.key?(:name)
537
- @provisioned_resources_parent = args[:provisioned_resources_parent] if args.key?(:provisioned_resources_parent)
538
- @resource_settings = args[:resource_settings] if args.key?(:resource_settings)
539
- @resources = args[:resources] if args.key?(:resources)
540
- @saa_enrollment_response = args[:saa_enrollment_response] if args.key?(:saa_enrollment_response)
100
+ @display_name = args[:display_name] if args.key?(:display_name)
101
+ @parent = args[:parent] if args.key?(:parent)
541
102
  end
542
103
  end
543
104
 
544
- # Settings specific to resources needed for CJIS.
545
- class GoogleCloudAssuredworkloadsV1beta1WorkloadCjisSettings
105
+ # Response of ListViolations endpoint.
106
+ class GoogleCloudAssuredworkloadsV1ListViolationsResponse
546
107
  include Google::Apis::Core::Hashable
547
108
 
548
- # Settings specific to the Key Management Service.
549
- # Corresponds to the JSON property `kmsSettings`
550
- # @return [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1beta1WorkloadKmsSettings]
551
- attr_accessor :kms_settings
109
+ # The next page token. Returns empty if reached the last page.
110
+ # Corresponds to the JSON property `nextPageToken`
111
+ # @return [String]
112
+ attr_accessor :next_page_token
113
+
114
+ # List of Violations under a Workload.
115
+ # Corresponds to the JSON property `violations`
116
+ # @return [Array<Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1Violation>]
117
+ attr_accessor :violations
552
118
 
553
119
  def initialize(**args)
554
120
  update!(**args)
@@ -556,18 +122,24 @@ module Google
556
122
 
557
123
  # Update properties of this object
558
124
  def update!(**args)
559
- @kms_settings = args[:kms_settings] if args.key?(:kms_settings)
125
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
126
+ @violations = args[:violations] if args.key?(:violations)
560
127
  end
561
128
  end
562
129
 
563
- # Settings specific to resources needed for FedRAMP High.
564
- class GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampHighSettings
130
+ # Response of ListWorkloads endpoint.
131
+ class GoogleCloudAssuredworkloadsV1ListWorkloadsResponse
565
132
  include Google::Apis::Core::Hashable
566
133
 
567
- # Settings specific to the Key Management Service.
568
- # Corresponds to the JSON property `kmsSettings`
569
- # @return [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1beta1WorkloadKmsSettings]
570
- attr_accessor :kms_settings
134
+ # The next page token. Return empty if reached the last page.
135
+ # Corresponds to the JSON property `nextPageToken`
136
+ # @return [String]
137
+ attr_accessor :next_page_token
138
+
139
+ # List of Workloads under a given parent.
140
+ # Corresponds to the JSON property `workloads`
141
+ # @return [Array<Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1Workload>]
142
+ attr_accessor :workloads
571
143
 
572
144
  def initialize(**args)
573
145
  update!(**args)
@@ -575,18 +147,20 @@ module Google
575
147
 
576
148
  # Update properties of this object
577
149
  def update!(**args)
578
- @kms_settings = args[:kms_settings] if args.key?(:kms_settings)
150
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
151
+ @workloads = args[:workloads] if args.key?(:workloads)
579
152
  end
580
153
  end
581
154
 
582
- # Settings specific to resources needed for FedRAMP Moderate.
583
- class GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampModerateSettings
155
+ # Request for restricting list of available resources in Workload environment.
156
+ class GoogleCloudAssuredworkloadsV1RestrictAllowedResourcesRequest
584
157
  include Google::Apis::Core::Hashable
585
158
 
586
- # Settings specific to the Key Management Service.
587
- # Corresponds to the JSON property `kmsSettings`
588
- # @return [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1beta1WorkloadKmsSettings]
589
- attr_accessor :kms_settings
159
+ # Required. The type of restriction for using gcp products in the Workload
160
+ # environment.
161
+ # Corresponds to the JSON property `restrictionType`
162
+ # @return [String]
163
+ attr_accessor :restriction_type
590
164
 
591
165
  def initialize(**args)
592
166
  update!(**args)
@@ -594,46 +168,105 @@ module Google
594
168
 
595
169
  # Update properties of this object
596
170
  def update!(**args)
597
- @kms_settings = args[:kms_settings] if args.key?(:kms_settings)
171
+ @restriction_type = args[:restriction_type] if args.key?(:restriction_type)
598
172
  end
599
173
  end
600
174
 
601
- # Settings specific to resources needed for IL4.
602
- class GoogleCloudAssuredworkloadsV1beta1WorkloadIl4Settings
175
+ # Response for restricting the list of allowed resources.
176
+ class GoogleCloudAssuredworkloadsV1RestrictAllowedResourcesResponse
603
177
  include Google::Apis::Core::Hashable
604
178
 
605
- # Settings specific to the Key Management Service.
606
- # Corresponds to the JSON property `kmsSettings`
607
- # @return [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1beta1WorkloadKmsSettings]
608
- attr_accessor :kms_settings
609
-
610
179
  def initialize(**args)
611
180
  update!(**args)
612
181
  end
613
182
 
614
183
  # Update properties of this object
615
184
  def update!(**args)
616
- @kms_settings = args[:kms_settings] if args.key?(:kms_settings)
617
185
  end
618
186
  end
619
187
 
620
- # Settings specific to the Key Management Service.
621
- class GoogleCloudAssuredworkloadsV1beta1WorkloadKmsSettings
188
+ # Workload monitoring Violation.
189
+ class GoogleCloudAssuredworkloadsV1Violation
622
190
  include Google::Apis::Core::Hashable
623
191
 
624
- # Required. Input only. Immutable. The time at which the Key Management Service
625
- # will automatically create a new version of the crypto key and mark it as the
626
- # primary.
627
- # Corresponds to the JSON property `nextRotationTime`
192
+ # A boolean that indicates if the violation is acknowledged
193
+ # Corresponds to the JSON property `acknowledged`
194
+ # @return [Boolean]
195
+ attr_accessor :acknowledged
196
+ alias_method :acknowledged?, :acknowledged
197
+
198
+ # Optional. Timestamp when this violation was acknowledged last. This will be
199
+ # absent when acknowledged field is marked as false.
200
+ # Corresponds to the JSON property `acknowledgementTime`
628
201
  # @return [String]
629
- attr_accessor :next_rotation_time
202
+ attr_accessor :acknowledgement_time
630
203
 
631
- # Required. Input only. Immutable. [next_rotation_time] will be advanced by this
632
- # period when the Key Management Service automatically rotates a key. Must be at
633
- # least 24 hours and at most 876,000 hours.
634
- # Corresponds to the JSON property `rotationPeriod`
204
+ # Output only. Immutable. Audit Log Link for violated resource Format: https://
205
+ # console.cloud.google.com/logs/query;query=`logName``protoPayload.resourceName``
206
+ # timeRange``folder`
207
+ # Corresponds to the JSON property `auditLogLink`
635
208
  # @return [String]
636
- attr_accessor :rotation_period
209
+ attr_accessor :audit_log_link
210
+
211
+ # Output only. Time of the event which triggered the Violation.
212
+ # Corresponds to the JSON property `beginTime`
213
+ # @return [String]
214
+ attr_accessor :begin_time
215
+
216
+ # Output only. Category under which this violation is mapped. e.g. Location,
217
+ # Service Usage, Access, Encryption, etc.
218
+ # Corresponds to the JSON property `category`
219
+ # @return [String]
220
+ attr_accessor :category
221
+
222
+ # Output only. Description for the Violation. e.g. OrgPolicy gcp.
223
+ # resourceLocations has non compliant value.
224
+ # Corresponds to the JSON property `description`
225
+ # @return [String]
226
+ attr_accessor :description
227
+
228
+ # Output only. Immutable. Name of the Violation. Format: organizations/`
229
+ # organization`/locations/`location`/workloads/`workload_id`/violations/`
230
+ # violations_id`
231
+ # Corresponds to the JSON property `name`
232
+ # @return [String]
233
+ attr_accessor :name
234
+
235
+ # Output only. Immutable. Name of the OrgPolicy which was modified with non-
236
+ # compliant change and resulted this violation. Format: projects/`project_number`
237
+ # /policies/`constraint_name` folders/`folder_id`/policies/`constraint_name`
238
+ # organizations/`organization_id`/policies/`constraint_name`
239
+ # Corresponds to the JSON property `nonCompliantOrgPolicy`
240
+ # @return [String]
241
+ attr_accessor :non_compliant_org_policy
242
+
243
+ # Output only. Immutable. The org-policy-constraint that was incorrectly changed,
244
+ # which resulted in this violation.
245
+ # Corresponds to the JSON property `orgPolicyConstraint`
246
+ # @return [String]
247
+ attr_accessor :org_policy_constraint
248
+
249
+ # Represents remediation guidance to resolve compliance violation for
250
+ # AssuredWorkload
251
+ # Corresponds to the JSON property `remediation`
252
+ # @return [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ViolationRemediation]
253
+ attr_accessor :remediation
254
+
255
+ # Output only. Time of the event which fixed the Violation. If the violation is
256
+ # ACTIVE this will be empty.
257
+ # Corresponds to the JSON property `resolveTime`
258
+ # @return [String]
259
+ attr_accessor :resolve_time
260
+
261
+ # Output only. State of the violation
262
+ # Corresponds to the JSON property `state`
263
+ # @return [String]
264
+ attr_accessor :state
265
+
266
+ # Output only. The last time when the Violation record was updated.
267
+ # Corresponds to the JSON property `updateTime`
268
+ # @return [String]
269
+ attr_accessor :update_time
637
270
 
638
271
  def initialize(**args)
639
272
  update!(**args)
@@ -641,24 +274,42 @@ module Google
641
274
 
642
275
  # Update properties of this object
643
276
  def update!(**args)
644
- @next_rotation_time = args[:next_rotation_time] if args.key?(:next_rotation_time)
645
- @rotation_period = args[:rotation_period] if args.key?(:rotation_period)
277
+ @acknowledged = args[:acknowledged] if args.key?(:acknowledged)
278
+ @acknowledgement_time = args[:acknowledgement_time] if args.key?(:acknowledgement_time)
279
+ @audit_log_link = args[:audit_log_link] if args.key?(:audit_log_link)
280
+ @begin_time = args[:begin_time] if args.key?(:begin_time)
281
+ @category = args[:category] if args.key?(:category)
282
+ @description = args[:description] if args.key?(:description)
283
+ @name = args[:name] if args.key?(:name)
284
+ @non_compliant_org_policy = args[:non_compliant_org_policy] if args.key?(:non_compliant_org_policy)
285
+ @org_policy_constraint = args[:org_policy_constraint] if args.key?(:org_policy_constraint)
286
+ @remediation = args[:remediation] if args.key?(:remediation)
287
+ @resolve_time = args[:resolve_time] if args.key?(:resolve_time)
288
+ @state = args[:state] if args.key?(:state)
289
+ @update_time = args[:update_time] if args.key?(:update_time)
646
290
  end
647
291
  end
648
292
 
649
- # Represent the resources that are children of this Workload.
650
- class GoogleCloudAssuredworkloadsV1beta1WorkloadResourceInfo
293
+ # Represents remediation guidance to resolve compliance violation for
294
+ # AssuredWorkload
295
+ class GoogleCloudAssuredworkloadsV1ViolationRemediation
651
296
  include Google::Apis::Core::Hashable
652
297
 
653
- # Resource identifier. For a project this represents project_number.
654
- # Corresponds to the JSON property `resourceId`
655
- # @return [Fixnum]
656
- attr_accessor :resource_id
298
+ # Values that can resolve the violation For example: for list org policy
299
+ # violations, this will either be the list of allowed or denied values
300
+ # Corresponds to the JSON property `compliantValues`
301
+ # @return [Array<String>]
302
+ attr_accessor :compliant_values
657
303
 
658
- # Indicates the type of resource.
659
- # Corresponds to the JSON property `resourceType`
304
+ # Instructions to remediate violation
305
+ # Corresponds to the JSON property `instructions`
306
+ # @return [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ViolationRemediationInstructions]
307
+ attr_accessor :instructions
308
+
309
+ # Output only. Reemediation type based on the type of org policy values violated
310
+ # Corresponds to the JSON property `remediationType`
660
311
  # @return [String]
661
- attr_accessor :resource_type
312
+ attr_accessor :remediation_type
662
313
 
663
314
  def initialize(**args)
664
315
  update!(**args)
@@ -666,34 +317,25 @@ module Google
666
317
 
667
318
  # Update properties of this object
668
319
  def update!(**args)
669
- @resource_id = args[:resource_id] if args.key?(:resource_id)
670
- @resource_type = args[:resource_type] if args.key?(:resource_type)
320
+ @compliant_values = args[:compliant_values] if args.key?(:compliant_values)
321
+ @instructions = args[:instructions] if args.key?(:instructions)
322
+ @remediation_type = args[:remediation_type] if args.key?(:remediation_type)
671
323
  end
672
324
  end
673
325
 
674
- # Represent the custom settings for the resources to be created.
675
- class GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings
326
+ # Instructions to remediate violation
327
+ class GoogleCloudAssuredworkloadsV1ViolationRemediationInstructions
676
328
  include Google::Apis::Core::Hashable
677
329
 
678
- # User-assigned resource display name. If not empty it will be used to create a
679
- # resource with the specified name.
680
- # Corresponds to the JSON property `displayName`
681
- # @return [String]
682
- attr_accessor :display_name
683
-
684
- # Resource identifier. For a project this represents project_id. If the project
685
- # is already taken, the workload creation will fail. For KeyRing, this
686
- # represents the keyring_id. For a folder, don't set this value as folder_id is
687
- # assigned by Google.
688
- # Corresponds to the JSON property `resourceId`
689
- # @return [String]
690
- attr_accessor :resource_id
330
+ # Remediation instructions to resolve violation via cloud console
331
+ # Corresponds to the JSON property `consoleInstructions`
332
+ # @return [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ViolationRemediationInstructionsConsole]
333
+ attr_accessor :console_instructions
691
334
 
692
- # Indicates the type of resource. This field should be specified to correspond
693
- # the id to the right project type (CONSUMER_PROJECT or ENCRYPTION_KEYS_PROJECT)
694
- # Corresponds to the JSON property `resourceType`
695
- # @return [String]
696
- attr_accessor :resource_type
335
+ # Remediation instructions to resolve violation via gcloud cli
336
+ # Corresponds to the JSON property `gcloudInstructions`
337
+ # @return [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ViolationRemediationInstructionsGcloud]
338
+ attr_accessor :gcloud_instructions
697
339
 
698
340
  def initialize(**args)
699
341
  update!(**args)
@@ -701,25 +343,29 @@ module Google
701
343
 
702
344
  # Update properties of this object
703
345
  def update!(**args)
704
- @display_name = args[:display_name] if args.key?(:display_name)
705
- @resource_id = args[:resource_id] if args.key?(:resource_id)
706
- @resource_type = args[:resource_type] if args.key?(:resource_type)
346
+ @console_instructions = args[:console_instructions] if args.key?(:console_instructions)
347
+ @gcloud_instructions = args[:gcloud_instructions] if args.key?(:gcloud_instructions)
707
348
  end
708
349
  end
709
350
 
710
- # Signed Access Approvals (SAA) enrollment response.
711
- class GoogleCloudAssuredworkloadsV1beta1WorkloadSaaEnrollmentResponse
351
+ # Remediation instructions to resolve violation via cloud console
352
+ class GoogleCloudAssuredworkloadsV1ViolationRemediationInstructionsConsole
712
353
  include Google::Apis::Core::Hashable
713
354
 
714
- # Indicates SAA enrollment setup error if any.
715
- # Corresponds to the JSON property `setupErrors`
355
+ # Additional urls for more information about steps
356
+ # Corresponds to the JSON property `additionalLinks`
716
357
  # @return [Array<String>]
717
- attr_accessor :setup_errors
358
+ attr_accessor :additional_links
718
359
 
719
- # Indicates SAA enrollment status of a given workload.
720
- # Corresponds to the JSON property `setupStatus`
721
- # @return [String]
722
- attr_accessor :setup_status
360
+ # Link to console page where violations can be resolved
361
+ # Corresponds to the JSON property `consoleUris`
362
+ # @return [Array<String>]
363
+ attr_accessor :console_uris
364
+
365
+ # Steps to resolve violation via cloud console
366
+ # Corresponds to the JSON property `steps`
367
+ # @return [Array<String>]
368
+ attr_accessor :steps
723
369
 
724
370
  def initialize(**args)
725
371
  update!(**args)
@@ -727,41 +373,30 @@ module Google
727
373
 
728
374
  # Update properties of this object
729
375
  def update!(**args)
730
- @setup_errors = args[:setup_errors] if args.key?(:setup_errors)
731
- @setup_status = args[:setup_status] if args.key?(:setup_status)
376
+ @additional_links = args[:additional_links] if args.key?(:additional_links)
377
+ @console_uris = args[:console_uris] if args.key?(:console_uris)
378
+ @steps = args[:steps] if args.key?(:steps)
732
379
  end
733
380
  end
734
381
 
735
- # Operation metadata to give request details of CreateWorkload.
736
- class GoogleCloudAssuredworkloadsVersioningV1mainCreateWorkloadOperationMetadata
382
+ # Remediation instructions to resolve violation via gcloud cli
383
+ class GoogleCloudAssuredworkloadsV1ViolationRemediationInstructionsGcloud
737
384
  include Google::Apis::Core::Hashable
738
385
 
739
- # Optional. Compliance controls that should be applied to the resources managed
740
- # by the workload.
741
- # Corresponds to the JSON property `complianceRegime`
742
- # @return [String]
743
- attr_accessor :compliance_regime
744
-
745
- # Optional. Time when the operation was created.
746
- # Corresponds to the JSON property `createTime`
747
- # @return [String]
748
- attr_accessor :create_time
749
-
750
- # Optional. The display name of the workload.
751
- # Corresponds to the JSON property `displayName`
752
- # @return [String]
753
- attr_accessor :display_name
386
+ # Additional urls for more information about steps
387
+ # Corresponds to the JSON property `additionalLinks`
388
+ # @return [Array<String>]
389
+ attr_accessor :additional_links
754
390
 
755
- # Optional. The parent of the workload.
756
- # Corresponds to the JSON property `parent`
757
- # @return [String]
758
- attr_accessor :parent
391
+ # Gcloud command to resolve violation
392
+ # Corresponds to the JSON property `gcloudCommands`
393
+ # @return [Array<String>]
394
+ attr_accessor :gcloud_commands
759
395
 
760
- # Optional. Resource properties in the input that are used for creating/
761
- # customizing workload resources.
762
- # Corresponds to the JSON property `resourceSettings`
763
- # @return [Array<Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsVersioningV1mainWorkloadResourceSettings>]
764
- attr_accessor :resource_settings
396
+ # Steps to resolve violation via gcloud cli
397
+ # Corresponds to the JSON property `steps`
398
+ # @return [Array<String>]
399
+ attr_accessor :steps
765
400
 
766
401
  def initialize(**args)
767
402
  update!(**args)
@@ -769,16 +404,14 @@ module Google
769
404
 
770
405
  # Update properties of this object
771
406
  def update!(**args)
772
- @compliance_regime = args[:compliance_regime] if args.key?(:compliance_regime)
773
- @create_time = args[:create_time] if args.key?(:create_time)
774
- @display_name = args[:display_name] if args.key?(:display_name)
775
- @parent = args[:parent] if args.key?(:parent)
776
- @resource_settings = args[:resource_settings] if args.key?(:resource_settings)
407
+ @additional_links = args[:additional_links] if args.key?(:additional_links)
408
+ @gcloud_commands = args[:gcloud_commands] if args.key?(:gcloud_commands)
409
+ @steps = args[:steps] if args.key?(:steps)
777
410
  end
778
411
  end
779
412
 
780
413
  # An Workload object for managing highly regulated workloads of cloud customers.
781
- class GoogleCloudAssuredworkloadsVersioningV1mainWorkload
414
+ class GoogleCloudAssuredworkloadsV1Workload
782
415
  include Google::Apis::Core::Hashable
783
416
 
784
417
  # Optional. The billing account used for the resources which are direct children
@@ -791,21 +424,11 @@ module Google
791
424
  # @return [String]
792
425
  attr_accessor :billing_account
793
426
 
794
- # Settings specific to resources needed for CJIS.
795
- # Corresponds to the JSON property `cjisSettings`
796
- # @return [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsVersioningV1mainWorkloadCjisSettings]
797
- attr_accessor :cjis_settings
798
-
799
427
  # Required. Immutable. Compliance Regime associated with this workload.
800
428
  # Corresponds to the JSON property `complianceRegime`
801
429
  # @return [String]
802
430
  attr_accessor :compliance_regime
803
431
 
804
- # Represents the Compliance Status of this workload
805
- # Corresponds to the JSON property `complianceStatus`
806
- # @return [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsVersioningV1mainWorkloadComplianceStatus]
807
- attr_accessor :compliance_status
808
-
809
432
  # Output only. Urls for services which are compliant for this Assured Workload,
810
433
  # but which are currently disallowed by the ResourceUsageRestriction org policy.
811
434
  # Invoke RestrictAllowedResources endpoint to allow your project developers to
@@ -839,21 +462,6 @@ module Google
839
462
  # @return [String]
840
463
  attr_accessor :etag
841
464
 
842
- # Settings specific to resources needed for FedRAMP High.
843
- # Corresponds to the JSON property `fedrampHighSettings`
844
- # @return [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsVersioningV1mainWorkloadFedrampHighSettings]
845
- attr_accessor :fedramp_high_settings
846
-
847
- # Settings specific to resources needed for FedRAMP Moderate.
848
- # Corresponds to the JSON property `fedrampModerateSettings`
849
- # @return [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsVersioningV1mainWorkloadFedrampModerateSettings]
850
- attr_accessor :fedramp_moderate_settings
851
-
852
- # Settings specific to resources needed for IL4.
853
- # Corresponds to the JSON property `il4Settings`
854
- # @return [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsVersioningV1mainWorkloadIl4Settings]
855
- attr_accessor :il4_settings
856
-
857
465
  # Output only. Represents the KAJ enrollment state of the given workload.
858
466
  # Corresponds to the JSON property `kajEnrollmentState`
859
467
  # @return [String]
@@ -861,7 +469,7 @@ module Google
861
469
 
862
470
  # Settings specific to the Key Management Service.
863
471
  # Corresponds to the JSON property `kmsSettings`
864
- # @return [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsVersioningV1mainWorkloadKmsSettings]
472
+ # @return [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1WorkloadKmsSettings]
865
473
  attr_accessor :kms_settings
866
474
 
867
475
  # Optional. Labels applied to the workload.
@@ -875,6 +483,11 @@ module Google
875
483
  # @return [String]
876
484
  attr_accessor :name
877
485
 
486
+ # Optional. Compliance Regime associated with this workload.
487
+ # Corresponds to the JSON property `partner`
488
+ # @return [String]
489
+ attr_accessor :partner
490
+
878
491
  # Input only. The parent resource for the resources managed by this Assured
879
492
  # Workload. May be either empty or a folder resource which is a child of the
880
493
  # Workload parent. If not specified all resources are created under the parent
@@ -887,19 +500,19 @@ module Google
887
500
  # These properties (such as custom project id) will be used to create workload
888
501
  # resources if possible. This field is optional.
889
502
  # Corresponds to the JSON property `resourceSettings`
890
- # @return [Array<Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsVersioningV1mainWorkloadResourceSettings>]
503
+ # @return [Array<Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1WorkloadResourceSettings>]
891
504
  attr_accessor :resource_settings
892
505
 
893
506
  # Output only. The resources associated with this workload. These resources will
894
507
  # be created when creating the workload. If any of the projects already exist,
895
508
  # the workload creation will fail. Always read only.
896
509
  # Corresponds to the JSON property `resources`
897
- # @return [Array<Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsVersioningV1mainWorkloadResourceInfo>]
510
+ # @return [Array<Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1WorkloadResourceInfo>]
898
511
  attr_accessor :resources
899
512
 
900
513
  # Signed Access Approvals (SAA) enrollment response.
901
514
  # Corresponds to the JSON property `saaEnrollmentResponse`
902
- # @return [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsVersioningV1mainWorkloadSaaEnrollmentResponse]
515
+ # @return [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1WorkloadSaaEnrollmentResponse]
903
516
  attr_accessor :saa_enrollment_response
904
517
 
905
518
  def initialize(**args)
@@ -909,21 +522,17 @@ module Google
909
522
  # Update properties of this object
910
523
  def update!(**args)
911
524
  @billing_account = args[:billing_account] if args.key?(:billing_account)
912
- @cjis_settings = args[:cjis_settings] if args.key?(:cjis_settings)
913
525
  @compliance_regime = args[:compliance_regime] if args.key?(:compliance_regime)
914
- @compliance_status = args[:compliance_status] if args.key?(:compliance_status)
915
526
  @compliant_but_disallowed_services = args[:compliant_but_disallowed_services] if args.key?(:compliant_but_disallowed_services)
916
527
  @create_time = args[:create_time] if args.key?(:create_time)
917
528
  @display_name = args[:display_name] if args.key?(:display_name)
918
529
  @enable_sovereign_controls = args[:enable_sovereign_controls] if args.key?(:enable_sovereign_controls)
919
530
  @etag = args[:etag] if args.key?(:etag)
920
- @fedramp_high_settings = args[:fedramp_high_settings] if args.key?(:fedramp_high_settings)
921
- @fedramp_moderate_settings = args[:fedramp_moderate_settings] if args.key?(:fedramp_moderate_settings)
922
- @il4_settings = args[:il4_settings] if args.key?(:il4_settings)
923
531
  @kaj_enrollment_state = args[:kaj_enrollment_state] if args.key?(:kaj_enrollment_state)
924
532
  @kms_settings = args[:kms_settings] if args.key?(:kms_settings)
925
533
  @labels = args[:labels] if args.key?(:labels)
926
534
  @name = args[:name] if args.key?(:name)
535
+ @partner = args[:partner] if args.key?(:partner)
927
536
  @provisioned_resources_parent = args[:provisioned_resources_parent] if args.key?(:provisioned_resources_parent)
928
537
  @resource_settings = args[:resource_settings] if args.key?(:resource_settings)
929
538
  @resources = args[:resources] if args.key?(:resources)
@@ -931,109 +540,8 @@ module Google
931
540
  end
932
541
  end
933
542
 
934
- # Settings specific to resources needed for CJIS.
935
- class GoogleCloudAssuredworkloadsVersioningV1mainWorkloadCjisSettings
936
- include Google::Apis::Core::Hashable
937
-
938
- # Settings specific to the Key Management Service.
939
- # Corresponds to the JSON property `kmsSettings`
940
- # @return [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsVersioningV1mainWorkloadKmsSettings]
941
- attr_accessor :kms_settings
942
-
943
- def initialize(**args)
944
- update!(**args)
945
- end
946
-
947
- # Update properties of this object
948
- def update!(**args)
949
- @kms_settings = args[:kms_settings] if args.key?(:kms_settings)
950
- end
951
- end
952
-
953
- # Represents the Compliance Status of this workload
954
- class GoogleCloudAssuredworkloadsVersioningV1mainWorkloadComplianceStatus
955
- include Google::Apis::Core::Hashable
956
-
957
- # Count of active Violations which are acknowledged in the Workload.
958
- # Corresponds to the JSON property `acknowledgedViolationCount`
959
- # @return [Fixnum]
960
- attr_accessor :acknowledged_violation_count
961
-
962
- # Count of active Violations which haven't been acknowledged.
963
- # Corresponds to the JSON property `activeViolationCount`
964
- # @return [Fixnum]
965
- attr_accessor :active_violation_count
966
-
967
- def initialize(**args)
968
- update!(**args)
969
- end
970
-
971
- # Update properties of this object
972
- def update!(**args)
973
- @acknowledged_violation_count = args[:acknowledged_violation_count] if args.key?(:acknowledged_violation_count)
974
- @active_violation_count = args[:active_violation_count] if args.key?(:active_violation_count)
975
- end
976
- end
977
-
978
- # Settings specific to resources needed for FedRAMP High.
979
- class GoogleCloudAssuredworkloadsVersioningV1mainWorkloadFedrampHighSettings
980
- include Google::Apis::Core::Hashable
981
-
982
- # Settings specific to the Key Management Service.
983
- # Corresponds to the JSON property `kmsSettings`
984
- # @return [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsVersioningV1mainWorkloadKmsSettings]
985
- attr_accessor :kms_settings
986
-
987
- def initialize(**args)
988
- update!(**args)
989
- end
990
-
991
- # Update properties of this object
992
- def update!(**args)
993
- @kms_settings = args[:kms_settings] if args.key?(:kms_settings)
994
- end
995
- end
996
-
997
- # Settings specific to resources needed for FedRAMP Moderate.
998
- class GoogleCloudAssuredworkloadsVersioningV1mainWorkloadFedrampModerateSettings
999
- include Google::Apis::Core::Hashable
1000
-
1001
- # Settings specific to the Key Management Service.
1002
- # Corresponds to the JSON property `kmsSettings`
1003
- # @return [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsVersioningV1mainWorkloadKmsSettings]
1004
- attr_accessor :kms_settings
1005
-
1006
- def initialize(**args)
1007
- update!(**args)
1008
- end
1009
-
1010
- # Update properties of this object
1011
- def update!(**args)
1012
- @kms_settings = args[:kms_settings] if args.key?(:kms_settings)
1013
- end
1014
- end
1015
-
1016
- # Settings specific to resources needed for IL4.
1017
- class GoogleCloudAssuredworkloadsVersioningV1mainWorkloadIl4Settings
1018
- include Google::Apis::Core::Hashable
1019
-
1020
- # Settings specific to the Key Management Service.
1021
- # Corresponds to the JSON property `kmsSettings`
1022
- # @return [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsVersioningV1mainWorkloadKmsSettings]
1023
- attr_accessor :kms_settings
1024
-
1025
- def initialize(**args)
1026
- update!(**args)
1027
- end
1028
-
1029
- # Update properties of this object
1030
- def update!(**args)
1031
- @kms_settings = args[:kms_settings] if args.key?(:kms_settings)
1032
- end
1033
- end
1034
-
1035
543
  # Settings specific to the Key Management Service.
1036
- class GoogleCloudAssuredworkloadsVersioningV1mainWorkloadKmsSettings
544
+ class GoogleCloudAssuredworkloadsV1WorkloadKmsSettings
1037
545
  include Google::Apis::Core::Hashable
1038
546
 
1039
547
  # Required. Input only. Immutable. The time at which the Key Management Service
@@ -1062,7 +570,7 @@ module Google
1062
570
  end
1063
571
 
1064
572
  # Represent the resources that are children of this Workload.
1065
- class GoogleCloudAssuredworkloadsVersioningV1mainWorkloadResourceInfo
573
+ class GoogleCloudAssuredworkloadsV1WorkloadResourceInfo
1066
574
  include Google::Apis::Core::Hashable
1067
575
 
1068
576
  # Resource identifier. For a project this represents project_number.
@@ -1087,7 +595,7 @@ module Google
1087
595
  end
1088
596
 
1089
597
  # Represent the custom settings for the resources to be created.
1090
- class GoogleCloudAssuredworkloadsVersioningV1mainWorkloadResourceSettings
598
+ class GoogleCloudAssuredworkloadsV1WorkloadResourceSettings
1091
599
  include Google::Apis::Core::Hashable
1092
600
 
1093
601
  # User-assigned resource display name. If not empty it will be used to create a
@@ -1123,7 +631,7 @@ module Google
1123
631
  end
1124
632
 
1125
633
  # Signed Access Approvals (SAA) enrollment response.
1126
- class GoogleCloudAssuredworkloadsVersioningV1mainWorkloadSaaEnrollmentResponse
634
+ class GoogleCloudAssuredworkloadsV1WorkloadSaaEnrollmentResponse
1127
635
  include Google::Apis::Core::Hashable
1128
636
 
1129
637
  # Indicates SAA enrollment setup error if any.