google-apis-assuredworkloads_v1beta1 0.7.0 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: abcb488a59d2256af194e45dd9b1a5b30b3d6ac29c8f7a72427f64559757876e
4
- data.tar.gz: 82ec07dbe0c00c2f2425e89e19aa07d2159817aeb40eba721c2fc1b486454005
3
+ metadata.gz: 69b530c1d65ca7373407f431320d6813233085109a00a165e107368b11d1f8be
4
+ data.tar.gz: 7a67b2d66ff30332b8c12247bac3884d22960e5872f327a2170970e345c8d015
5
5
  SHA512:
6
- metadata.gz: fccc522e475ab71fe30a20920859ff0c36413d7728459bca44613829a15eb18594e9f8d8a866253636bbfd825aeb3d1a8989fb494f1033273d1278bd88cb2942
7
- data.tar.gz: fa596ab106d3575f91c25ced33537ed3af00965cb7dd95e2cbcbdb40557c86abd0d8e338c15e53cdb4ebc37ef4c8b0de290f322a24f552549cca941a467b1835
6
+ metadata.gz: 4681d2556dde1c75de6713c9abff75e39b84efd66e6ca94e783d9913e5eaf73e6a33d0e76c4291b233271872080ac33b35c0b3028cd9b72ec36711ef3ab7fd24
7
+ data.tar.gz: 8f7f75480f1fa34fa0c374a5454ccf55321e9aeb69985bf365546604bb9b2a578413f25d5d0408b2cdc53451be073ba2cd51598ff6b31face6ea642afd9da320
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-assuredworkloads_v1beta1
2
2
 
3
+ ### v0.9.0 (2023-04-23)
4
+
5
+ * Regenerated from discovery document revision 20230414
6
+
7
+ ### v0.8.0 (2023-04-16)
8
+
9
+ * Regenerated from discovery document revision 20230406
10
+
3
11
  ### v0.7.0 (2023-03-19)
4
12
 
5
13
  * Regenerated from discovery document revision 20230310
@@ -178,8 +178,10 @@ module Google
178
178
  attr_accessor :acknowledged
179
179
  alias_method :acknowledged?, :acknowledged
180
180
 
181
- # Optional. Timestamp when this violation was acknowledged last. This will be
182
- # absent when acknowledged field is marked as false.
181
+ # Optional. Timestamp when this violation was acknowledged first. Check
182
+ # exception_contexts to find the last time the violation was acknowledged when
183
+ # there are more than one violations. This field will be absent when
184
+ # acknowledged field is marked as false.
183
185
  # Corresponds to the JSON property `acknowledgementTime`
184
186
  # @return [String]
185
187
  attr_accessor :acknowledgement_time
@@ -216,6 +218,11 @@ module Google
216
218
  # @return [String]
217
219
  attr_accessor :exception_audit_log_link
218
220
 
221
+ # Output only. List of all the exception detail added for the violation.
222
+ # Corresponds to the JSON property `exceptionContexts`
223
+ # @return [Array<Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1ViolationExceptionContext>]
224
+ attr_accessor :exception_contexts
225
+
219
226
  # Output only. Immutable. Name of the Violation. Format: organizations/`
220
227
  # organization`/locations/`location`/workloads/`workload_id`/violations/`
221
228
  # violations_id`
@@ -272,6 +279,7 @@ module Google
272
279
  @category = args[:category] if args.key?(:category)
273
280
  @description = args[:description] if args.key?(:description)
274
281
  @exception_audit_log_link = args[:exception_audit_log_link] if args.key?(:exception_audit_log_link)
282
+ @exception_contexts = args[:exception_contexts] if args.key?(:exception_contexts)
275
283
  @name = args[:name] if args.key?(:name)
276
284
  @non_compliant_org_policy = args[:non_compliant_org_policy] if args.key?(:non_compliant_org_policy)
277
285
  @org_policy_constraint = args[:org_policy_constraint] if args.key?(:org_policy_constraint)
@@ -282,6 +290,37 @@ module Google
282
290
  end
283
291
  end
284
292
 
293
+ # Violation exception detail. Next Id: 5
294
+ class GoogleCloudAssuredworkloadsV1beta1ViolationExceptionContext
295
+ include Google::Apis::Core::Hashable
296
+
297
+ # Timestamp when the violation was acknowledged.
298
+ # Corresponds to the JSON property `acknowledgementTime`
299
+ # @return [String]
300
+ attr_accessor :acknowledgement_time
301
+
302
+ # Business justification provided towards the acknowledgement of the violation.
303
+ # Corresponds to the JSON property `comment`
304
+ # @return [String]
305
+ attr_accessor :comment
306
+
307
+ # Email address of the user (or service account) who acknowledged the violation.
308
+ # Corresponds to the JSON property `principalEmail`
309
+ # @return [String]
310
+ attr_accessor :principal_email
311
+
312
+ def initialize(**args)
313
+ update!(**args)
314
+ end
315
+
316
+ # Update properties of this object
317
+ def update!(**args)
318
+ @acknowledgement_time = args[:acknowledgement_time] if args.key?(:acknowledgement_time)
319
+ @comment = args[:comment] if args.key?(:comment)
320
+ @principal_email = args[:principal_email] if args.key?(:principal_email)
321
+ end
322
+ end
323
+
285
324
  # Represents remediation guidance to resolve compliance violation for
286
325
  # AssuredWorkload
287
326
  class GoogleCloudAssuredworkloadsV1beta1ViolationRemediation
@@ -537,6 +576,16 @@ module Google
537
576
  # @return [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadSaaEnrollmentResponse]
538
577
  attr_accessor :saa_enrollment_response
539
578
 
579
+ # Optional. Indicates whether the e-mail notification for a violation is enabled
580
+ # for a workload. This value will be by default True, and if not present will be
581
+ # considered as true. This should only be updated via updateWorkload call. Any
582
+ # Changes to this field during the createWorkload call will not be honored. This
583
+ # will always be true while creating the workload.
584
+ # Corresponds to the JSON property `violationNotificationsEnabled`
585
+ # @return [Boolean]
586
+ attr_accessor :violation_notifications_enabled
587
+ alias_method :violation_notifications_enabled?, :violation_notifications_enabled
588
+
540
589
  def initialize(**args)
541
590
  update!(**args)
542
591
  end
@@ -565,6 +614,7 @@ module Google
565
614
  @resource_settings = args[:resource_settings] if args.key?(:resource_settings)
566
615
  @resources = args[:resources] if args.key?(:resources)
567
616
  @saa_enrollment_response = args[:saa_enrollment_response] if args.key?(:saa_enrollment_response)
617
+ @violation_notifications_enabled = args[:violation_notifications_enabled] if args.key?(:violation_notifications_enabled)
568
618
  end
569
619
  end
570
620
 
@@ -622,9 +672,9 @@ module Google
622
672
  attr_accessor :ekm_provisioning_error_domain
623
673
 
624
674
  # Detailed error message if Ekm provisioning fails
625
- # Corresponds to the JSON property `ekmProvisioningErrorMessage`
675
+ # Corresponds to the JSON property `ekmProvisioningErrorMapping`
626
676
  # @return [String]
627
- attr_accessor :ekm_provisioning_error_message
677
+ attr_accessor :ekm_provisioning_error_mapping
628
678
 
629
679
  # Indicates Ekm enrollment Provisioning of a given workload.
630
680
  # Corresponds to the JSON property `ekmProvisioningState`
@@ -638,7 +688,7 @@ module Google
638
688
  # Update properties of this object
639
689
  def update!(**args)
640
690
  @ekm_provisioning_error_domain = args[:ekm_provisioning_error_domain] if args.key?(:ekm_provisioning_error_domain)
641
- @ekm_provisioning_error_message = args[:ekm_provisioning_error_message] if args.key?(:ekm_provisioning_error_message)
691
+ @ekm_provisioning_error_mapping = args[:ekm_provisioning_error_mapping] if args.key?(:ekm_provisioning_error_mapping)
642
692
  @ekm_provisioning_state = args[:ekm_provisioning_state] if args.key?(:ekm_provisioning_state)
643
693
  end
644
694
  end
@@ -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.7.0"
19
+ GEM_VERSION = "0.9.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230310"
25
+ REVISION = "20230414"
26
26
  end
27
27
  end
28
28
  end
@@ -70,6 +70,12 @@ module Google
70
70
  include Google::Apis::Core::JsonObjectSupport
71
71
  end
72
72
 
73
+ class GoogleCloudAssuredworkloadsV1beta1ViolationExceptionContext
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
73
79
  class GoogleCloudAssuredworkloadsV1beta1ViolationRemediation
74
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
81
 
@@ -246,6 +252,8 @@ module Google
246
252
  property :category, as: 'category'
247
253
  property :description, as: 'description'
248
254
  property :exception_audit_log_link, as: 'exceptionAuditLogLink'
255
+ collection :exception_contexts, as: 'exceptionContexts', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1ViolationExceptionContext, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1ViolationExceptionContext::Representation
256
+
249
257
  property :name, as: 'name'
250
258
  property :non_compliant_org_policy, as: 'nonCompliantOrgPolicy'
251
259
  property :org_policy_constraint, as: 'orgPolicyConstraint'
@@ -257,6 +265,15 @@ module Google
257
265
  end
258
266
  end
259
267
 
268
+ class GoogleCloudAssuredworkloadsV1beta1ViolationExceptionContext
269
+ # @private
270
+ class Representation < Google::Apis::Core::JsonRepresentation
271
+ property :acknowledgement_time, as: 'acknowledgementTime'
272
+ property :comment, as: 'comment'
273
+ property :principal_email, as: 'principalEmail'
274
+ end
275
+ end
276
+
260
277
  class GoogleCloudAssuredworkloadsV1beta1ViolationRemediation
261
278
  # @private
262
279
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -330,6 +347,7 @@ module Google
330
347
 
331
348
  property :saa_enrollment_response, as: 'saaEnrollmentResponse', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadSaaEnrollmentResponse, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadSaaEnrollmentResponse::Representation
332
349
 
350
+ property :violation_notifications_enabled, as: 'violationNotificationsEnabled'
333
351
  end
334
352
  end
335
353
 
@@ -353,7 +371,7 @@ module Google
353
371
  # @private
354
372
  class Representation < Google::Apis::Core::JsonRepresentation
355
373
  property :ekm_provisioning_error_domain, as: 'ekmProvisioningErrorDomain'
356
- property :ekm_provisioning_error_message, as: 'ekmProvisioningErrorMessage'
374
+ property :ekm_provisioning_error_mapping, as: 'ekmProvisioningErrorMapping'
357
375
  property :ekm_provisioning_state, as: 'ekmProvisioningState'
358
376
  end
359
377
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-assuredworkloads_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-19 00:00:00.000000000 Z
11
+ date: 2023-04-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-assuredworkloads_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-assuredworkloads_v1beta1/v0.7.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-assuredworkloads_v1beta1/v0.9.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-assuredworkloads_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []