google-apis-assuredworkloads_v1 0.35.0 → 0.37.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: cc0ececb16039117e7f96fd443aaf5202e0283109d089bf4317f3d2a90d5d281
4
- data.tar.gz: 6f204248d517758a9e98a780226980cb37dfc1230b1c3298bb658164ff03beed
3
+ metadata.gz: 3403deb9e65bdf8b3da1090db317fd610f435f1f3acf8214c3369ea6e5add939
4
+ data.tar.gz: 6b364eb285a0c4f22913b3a93b599a6b5cf3de8ad491360d7b16022503e40e80
5
5
  SHA512:
6
- metadata.gz: 637fdfd9730daec83485ac3ef92c15272a699689fff0603fea70868880539cb0a68fedc1338afdc34a895e94e6b5b8f3763630859f52d95166de3ce5f997b218
7
- data.tar.gz: 1769d4364ff6817bb7b3566857234451b3c92c598f368d631fb9d13f67512cf5944e951067c0f787bb1c151614a0e2fbf0449691e023bbe97cd07877b7a95919
6
+ metadata.gz: 9f6ca06a9d94420b37056beaf7827403b5dc670eaeb42fa12b2e01ee7f1657d8ebcc7f21847b9447239734f8b988b4d40464634813b6f6c5f2fbb8c1b4c56c17
7
+ data.tar.gz: 530ea78149f0f2e7cdcd515d6348bfdf5102a3bd8b905ef91978ea0ff1e8d9fc06fcccd11a564846ab667a6d15e3b58427cccfe0d9ac3f99e5b9caec4e6fb6a8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-assuredworkloads_v1
2
2
 
3
+ ### v0.37.0 (2023-04-23)
4
+
5
+ * Regenerated from discovery document revision 20230414
6
+
7
+ ### v0.36.0 (2023-04-16)
8
+
9
+ * Regenerated from discovery document revision 20230406
10
+
3
11
  ### v0.35.0 (2023-03-19)
4
12
 
5
13
  * Regenerated from discovery document revision 20230310
@@ -229,8 +229,10 @@ module Google
229
229
  attr_accessor :acknowledged
230
230
  alias_method :acknowledged?, :acknowledged
231
231
 
232
- # Optional. Timestamp when this violation was acknowledged last. This will be
233
- # absent when acknowledged field is marked as false.
232
+ # Optional. Timestamp when this violation was acknowledged first. Check
233
+ # exception_contexts to find the last time the violation was acknowledged when
234
+ # there are more than one violations. This field will be absent when
235
+ # acknowledged field is marked as false.
234
236
  # Corresponds to the JSON property `acknowledgementTime`
235
237
  # @return [String]
236
238
  attr_accessor :acknowledgement_time
@@ -267,6 +269,11 @@ module Google
267
269
  # @return [String]
268
270
  attr_accessor :exception_audit_log_link
269
271
 
272
+ # Output only. List of all the exception detail added for the violation.
273
+ # Corresponds to the JSON property `exceptionContexts`
274
+ # @return [Array<Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ViolationExceptionContext>]
275
+ attr_accessor :exception_contexts
276
+
270
277
  # Output only. Immutable. Name of the Violation. Format: organizations/`
271
278
  # organization`/locations/`location`/workloads/`workload_id`/violations/`
272
279
  # violations_id`
@@ -323,6 +330,7 @@ module Google
323
330
  @category = args[:category] if args.key?(:category)
324
331
  @description = args[:description] if args.key?(:description)
325
332
  @exception_audit_log_link = args[:exception_audit_log_link] if args.key?(:exception_audit_log_link)
333
+ @exception_contexts = args[:exception_contexts] if args.key?(:exception_contexts)
326
334
  @name = args[:name] if args.key?(:name)
327
335
  @non_compliant_org_policy = args[:non_compliant_org_policy] if args.key?(:non_compliant_org_policy)
328
336
  @org_policy_constraint = args[:org_policy_constraint] if args.key?(:org_policy_constraint)
@@ -333,6 +341,37 @@ module Google
333
341
  end
334
342
  end
335
343
 
344
+ # Violation exception detail. Next Id: 5
345
+ class GoogleCloudAssuredworkloadsV1ViolationExceptionContext
346
+ include Google::Apis::Core::Hashable
347
+
348
+ # Timestamp when the violation was acknowledged.
349
+ # Corresponds to the JSON property `acknowledgementTime`
350
+ # @return [String]
351
+ attr_accessor :acknowledgement_time
352
+
353
+ # Business justification provided towards the acknowledgement of the violation.
354
+ # Corresponds to the JSON property `comment`
355
+ # @return [String]
356
+ attr_accessor :comment
357
+
358
+ # Email address of the user (or service account) who acknowledged the violation.
359
+ # Corresponds to the JSON property `principalEmail`
360
+ # @return [String]
361
+ attr_accessor :principal_email
362
+
363
+ def initialize(**args)
364
+ update!(**args)
365
+ end
366
+
367
+ # Update properties of this object
368
+ def update!(**args)
369
+ @acknowledgement_time = args[:acknowledgement_time] if args.key?(:acknowledgement_time)
370
+ @comment = args[:comment] if args.key?(:comment)
371
+ @principal_email = args[:principal_email] if args.key?(:principal_email)
372
+ end
373
+ end
374
+
336
375
  # Represents remediation guidance to resolve compliance violation for
337
376
  # AssuredWorkload
338
377
  class GoogleCloudAssuredworkloadsV1ViolationRemediation
@@ -570,6 +609,15 @@ module Google
570
609
  # @return [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1WorkloadSaaEnrollmentResponse]
571
610
  attr_accessor :saa_enrollment_response
572
611
 
612
+ # Optional. Indicates whether the e-mail notification for a violation is enabled
613
+ # for a workload. This value will be by default True, and if not present will be
614
+ # considered as true. This should only be updated via updateWorkload call. Any
615
+ # Changes to this field during the createWorkload call will not be honored.
616
+ # Corresponds to the JSON property `violationNotificationsEnabled`
617
+ # @return [Boolean]
618
+ attr_accessor :violation_notifications_enabled
619
+ alias_method :violation_notifications_enabled?, :violation_notifications_enabled
620
+
573
621
  def initialize(**args)
574
622
  update!(**args)
575
623
  end
@@ -594,6 +642,7 @@ module Google
594
642
  @resource_settings = args[:resource_settings] if args.key?(:resource_settings)
595
643
  @resources = args[:resources] if args.key?(:resources)
596
644
  @saa_enrollment_response = args[:saa_enrollment_response] if args.key?(:saa_enrollment_response)
645
+ @violation_notifications_enabled = args[:violation_notifications_enabled] if args.key?(:violation_notifications_enabled)
597
646
  end
598
647
  end
599
648
 
@@ -632,9 +681,9 @@ module Google
632
681
  attr_accessor :ekm_provisioning_error_domain
633
682
 
634
683
  # Detailed error message if Ekm provisioning fails
635
- # Corresponds to the JSON property `ekmProvisioningErrorMessage`
684
+ # Corresponds to the JSON property `ekmProvisioningErrorMapping`
636
685
  # @return [String]
637
- attr_accessor :ekm_provisioning_error_message
686
+ attr_accessor :ekm_provisioning_error_mapping
638
687
 
639
688
  # Indicates Ekm enrollment Provisioning of a given workload.
640
689
  # Corresponds to the JSON property `ekmProvisioningState`
@@ -648,7 +697,7 @@ module Google
648
697
  # Update properties of this object
649
698
  def update!(**args)
650
699
  @ekm_provisioning_error_domain = args[:ekm_provisioning_error_domain] if args.key?(:ekm_provisioning_error_domain)
651
- @ekm_provisioning_error_message = args[:ekm_provisioning_error_message] if args.key?(:ekm_provisioning_error_message)
700
+ @ekm_provisioning_error_mapping = args[:ekm_provisioning_error_mapping] if args.key?(:ekm_provisioning_error_mapping)
652
701
  @ekm_provisioning_state = args[:ekm_provisioning_state] if args.key?(:ekm_provisioning_state)
653
702
  end
654
703
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AssuredworkloadsV1
18
18
  # Version of the google-apis-assuredworkloads_v1 gem
19
- GEM_VERSION = "0.35.0"
19
+ GEM_VERSION = "0.37.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
@@ -76,6 +76,12 @@ module Google
76
76
  include Google::Apis::Core::JsonObjectSupport
77
77
  end
78
78
 
79
+ class GoogleCloudAssuredworkloadsV1ViolationExceptionContext
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
79
85
  class GoogleCloudAssuredworkloadsV1ViolationRemediation
80
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
87
 
@@ -247,6 +253,8 @@ module Google
247
253
  property :category, as: 'category'
248
254
  property :description, as: 'description'
249
255
  property :exception_audit_log_link, as: 'exceptionAuditLogLink'
256
+ collection :exception_contexts, as: 'exceptionContexts', class: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ViolationExceptionContext, decorator: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ViolationExceptionContext::Representation
257
+
250
258
  property :name, as: 'name'
251
259
  property :non_compliant_org_policy, as: 'nonCompliantOrgPolicy'
252
260
  property :org_policy_constraint, as: 'orgPolicyConstraint'
@@ -258,6 +266,15 @@ module Google
258
266
  end
259
267
  end
260
268
 
269
+ class GoogleCloudAssuredworkloadsV1ViolationExceptionContext
270
+ # @private
271
+ class Representation < Google::Apis::Core::JsonRepresentation
272
+ property :acknowledgement_time, as: 'acknowledgementTime'
273
+ property :comment, as: 'comment'
274
+ property :principal_email, as: 'principalEmail'
275
+ end
276
+ end
277
+
261
278
  class GoogleCloudAssuredworkloadsV1ViolationRemediation
262
279
  # @private
263
280
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -323,6 +340,7 @@ module Google
323
340
 
324
341
  property :saa_enrollment_response, as: 'saaEnrollmentResponse', class: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1WorkloadSaaEnrollmentResponse, decorator: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1WorkloadSaaEnrollmentResponse::Representation
325
342
 
343
+ property :violation_notifications_enabled, as: 'violationNotificationsEnabled'
326
344
  end
327
345
  end
328
346
 
@@ -338,7 +356,7 @@ module Google
338
356
  # @private
339
357
  class Representation < Google::Apis::Core::JsonRepresentation
340
358
  property :ekm_provisioning_error_domain, as: 'ekmProvisioningErrorDomain'
341
- property :ekm_provisioning_error_message, as: 'ekmProvisioningErrorMessage'
359
+ property :ekm_provisioning_error_mapping, as: 'ekmProvisioningErrorMapping'
342
360
  property :ekm_provisioning_state, as: 'ekmProvisioningState'
343
361
  end
344
362
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-assuredworkloads_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.35.0
4
+ version: 0.37.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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-assuredworkloads_v1/v0.35.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-assuredworkloads_v1/v0.37.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-assuredworkloads_v1
63
63
  post_install_message:
64
64
  rdoc_options: []