google-apis-assuredworkloads_v1 0.36.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: 5b96e5d441334d95afac7f8bbfd27bdc557ee7a3d1237b96454b1bd619258004
4
- data.tar.gz: a6abbeb7f993f33c20e78214453b686792eb99b080808610e393b5633c962896
3
+ metadata.gz: 3403deb9e65bdf8b3da1090db317fd610f435f1f3acf8214c3369ea6e5add939
4
+ data.tar.gz: 6b364eb285a0c4f22913b3a93b599a6b5cf3de8ad491360d7b16022503e40e80
5
5
  SHA512:
6
- metadata.gz: 323712954b945b882b08a7bbd21030f90d98e8617881abf03c43a070c3605a395ef1db3f37334cb6809d9e95e769ab80ef2bce7de7076e0ffeb8f6d4bd63da83
7
- data.tar.gz: 45e64c07690f17aec63c2110476adcc310b5decee735f225d647b512652a0d2ddbd73fb08bcbbc9a6a7ced4a25ee2382c7528891dce8fd530ddcde93fc3ce483
6
+ metadata.gz: 9f6ca06a9d94420b37056beaf7827403b5dc670eaeb42fa12b2e01ee7f1657d8ebcc7f21847b9447239734f8b988b4d40464634813b6f6c5f2fbb8c1b4c56c17
7
+ data.tar.gz: 530ea78149f0f2e7cdcd515d6348bfdf5102a3bd8b905ef91978ea0ff1e8d9fc06fcccd11a564846ab667a6d15e3b58427cccfe0d9ac3f99e5b9caec4e6fb6a8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.36.0 (2023-04-16)
4
8
 
5
9
  * Regenerated from discovery document revision 20230406
@@ -269,6 +269,11 @@ module Google
269
269
  # @return [String]
270
270
  attr_accessor :exception_audit_log_link
271
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
+
272
277
  # Output only. Immutable. Name of the Violation. Format: organizations/`
273
278
  # organization`/locations/`location`/workloads/`workload_id`/violations/`
274
279
  # violations_id`
@@ -325,6 +330,7 @@ module Google
325
330
  @category = args[:category] if args.key?(:category)
326
331
  @description = args[:description] if args.key?(:description)
327
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)
328
334
  @name = args[:name] if args.key?(:name)
329
335
  @non_compliant_org_policy = args[:non_compliant_org_policy] if args.key?(:non_compliant_org_policy)
330
336
  @org_policy_constraint = args[:org_policy_constraint] if args.key?(:org_policy_constraint)
@@ -335,6 +341,37 @@ module Google
335
341
  end
336
342
  end
337
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
+
338
375
  # Represents remediation guidance to resolve compliance violation for
339
376
  # AssuredWorkload
340
377
  class GoogleCloudAssuredworkloadsV1ViolationRemediation
@@ -572,6 +609,15 @@ module Google
572
609
  # @return [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1WorkloadSaaEnrollmentResponse]
573
610
  attr_accessor :saa_enrollment_response
574
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
+
575
621
  def initialize(**args)
576
622
  update!(**args)
577
623
  end
@@ -596,6 +642,7 @@ module Google
596
642
  @resource_settings = args[:resource_settings] if args.key?(:resource_settings)
597
643
  @resources = args[:resources] if args.key?(:resources)
598
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)
599
646
  end
600
647
  end
601
648
 
@@ -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.36.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 = "20230406"
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
 
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.36.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-04-16 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.36.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: []