google-apis-assuredworkloads_v1beta1 0.8.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: 5b8582d7980f01745d3374be38288314359417783d38f0a280e0d91ada6a43af
4
- data.tar.gz: 538bf026fe1601b1aab1b4bb84439242556f9c355021a4bbe9bfafe5c992c702
3
+ metadata.gz: 69b530c1d65ca7373407f431320d6813233085109a00a165e107368b11d1f8be
4
+ data.tar.gz: 7a67b2d66ff30332b8c12247bac3884d22960e5872f327a2170970e345c8d015
5
5
  SHA512:
6
- metadata.gz: ef2c0392fc22c27d5b4caa5958e41bf067b86d36543e3cfb2132d364baadd665f97bdaf3879f47b201148e6c63f1dce2ce7a73597b85619d34dbcffccf0f9727
7
- data.tar.gz: ab66067c25a4fba70d68bc774cb04fa783ee24f7507e6ff2c79bcc926fc187dfbedec8eab06623bbbab0b47170556ce1e2b04314e46fe200e88b6bb947712f80
6
+ metadata.gz: 4681d2556dde1c75de6713c9abff75e39b84efd66e6ca94e783d9913e5eaf73e6a33d0e76c4291b233271872080ac33b35c0b3028cd9b72ec36711ef3ab7fd24
7
+ data.tar.gz: 8f7f75480f1fa34fa0c374a5454ccf55321e9aeb69985bf365546604bb9b2a578413f25d5d0408b2cdc53451be073ba2cd51598ff6b31face6ea642afd9da320
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.8.0 (2023-04-16)
4
8
 
5
9
  * Regenerated from discovery document revision 20230406
@@ -218,6 +218,11 @@ module Google
218
218
  # @return [String]
219
219
  attr_accessor :exception_audit_log_link
220
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
+
221
226
  # Output only. Immutable. Name of the Violation. Format: organizations/`
222
227
  # organization`/locations/`location`/workloads/`workload_id`/violations/`
223
228
  # violations_id`
@@ -274,6 +279,7 @@ module Google
274
279
  @category = args[:category] if args.key?(:category)
275
280
  @description = args[:description] if args.key?(:description)
276
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)
277
283
  @name = args[:name] if args.key?(:name)
278
284
  @non_compliant_org_policy = args[:non_compliant_org_policy] if args.key?(:non_compliant_org_policy)
279
285
  @org_policy_constraint = args[:org_policy_constraint] if args.key?(:org_policy_constraint)
@@ -284,6 +290,37 @@ module Google
284
290
  end
285
291
  end
286
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
+
287
324
  # Represents remediation guidance to resolve compliance violation for
288
325
  # AssuredWorkload
289
326
  class GoogleCloudAssuredworkloadsV1beta1ViolationRemediation
@@ -539,6 +576,16 @@ module Google
539
576
  # @return [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadSaaEnrollmentResponse]
540
577
  attr_accessor :saa_enrollment_response
541
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
+
542
589
  def initialize(**args)
543
590
  update!(**args)
544
591
  end
@@ -567,6 +614,7 @@ module Google
567
614
  @resource_settings = args[:resource_settings] if args.key?(:resource_settings)
568
615
  @resources = args[:resources] if args.key?(:resources)
569
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)
570
618
  end
571
619
  end
572
620
 
@@ -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.8.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 = "20230406"
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
 
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.8.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-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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-assuredworkloads_v1beta1/v0.8.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: []