google-apis-assuredworkloads_v1beta1 0.13.0 → 0.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9deb21ee1ac5d8b6da2bbebc0d46b6eed065d3e2e924e79aae31cfb76cd171f4
4
- data.tar.gz: '098a368ffa8d426daee4f656de6ec39ef858d654e4644d05b2e31d7c27b670d8'
3
+ metadata.gz: 0e75ca520f00703c30549380d88e1e1ca2226e331ca8fa18e02b1abbbd66493e
4
+ data.tar.gz: 446e98b9e704bd3e2a108038985aa076771a6d9471810a7751ba1435a8b0c9f2
5
5
  SHA512:
6
- metadata.gz: 04aa8269acd164cc32ef8081a6d124e4f8853a42ae464856fbb4a62975f493cf6dd50c6eced0ff07417cbb2bceeec25742bf8ba5f2edb4b2b8bd4f51843252df
7
- data.tar.gz: 597f0b00c40f335f98f089a3b496ea20f5f574a7f79d460b7e0a22afc5b151a670533ca3d77121c3af96e1918e41a80d08ec0f21b066545080c863e5429fa38e
6
+ metadata.gz: 99d375bdac1e6f6a6e535277a0abfd83f3ebdaabdd024ed05bf659e85678bf24bb9c2df454b216ee2e65eb5680559b628aa75cf00a69e545f96050121b7892b5
7
+ data.tar.gz: 64da66ac54d5175b88b6ac0282daf05c01b8a5822baa935563feb7b329dc6a55214e7aa11ed2b251fbfa8695dc4e4ef7a2f380364a19e7237661e8ea802a6f29
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-assuredworkloads_v1beta1
2
2
 
3
+ ### v0.14.0 (2023-07-16)
4
+
5
+ * Regenerated from discovery document revision 20230707
6
+
3
7
  ### v0.13.0 (2023-07-02)
4
8
 
5
9
  * Regenerated from discovery document revision 20230623
@@ -263,6 +263,11 @@ module Google
263
263
  # @return [String]
264
264
  attr_accessor :exception_audit_log_link
265
265
 
266
+ # Output only. List of all the exception detail added for the violation.
267
+ # Corresponds to the JSON property `exceptionContexts`
268
+ # @return [Array<Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1ViolationExceptionContext>]
269
+ attr_accessor :exception_contexts
270
+
266
271
  # Output only. Immutable. Name of the Violation. Format: organizations/`
267
272
  # organization`/locations/`location`/workloads/`workload_id`/violations/`
268
273
  # violations_id`
@@ -313,6 +318,7 @@ module Google
313
318
  @category = args[:category] if args.key?(:category)
314
319
  @description = args[:description] if args.key?(:description)
315
320
  @exception_audit_log_link = args[:exception_audit_log_link] if args.key?(:exception_audit_log_link)
321
+ @exception_contexts = args[:exception_contexts] if args.key?(:exception_contexts)
316
322
  @name = args[:name] if args.key?(:name)
317
323
  @non_compliant_org_policy = args[:non_compliant_org_policy] if args.key?(:non_compliant_org_policy)
318
324
  @remediation = args[:remediation] if args.key?(:remediation)
@@ -322,6 +328,37 @@ module Google
322
328
  end
323
329
  end
324
330
 
331
+ # Violation exception detail. Next Id: 6
332
+ class GoogleCloudAssuredworkloadsV1beta1ViolationExceptionContext
333
+ include Google::Apis::Core::Hashable
334
+
335
+ # Timestamp when the violation was acknowledged.
336
+ # Corresponds to the JSON property `acknowledgementTime`
337
+ # @return [String]
338
+ attr_accessor :acknowledgement_time
339
+
340
+ # Business justification provided towards the acknowledgement of the violation.
341
+ # Corresponds to the JSON property `comment`
342
+ # @return [String]
343
+ attr_accessor :comment
344
+
345
+ # Name of the user (or service account) who acknowledged the violation.
346
+ # Corresponds to the JSON property `userName`
347
+ # @return [String]
348
+ attr_accessor :user_name
349
+
350
+ def initialize(**args)
351
+ update!(**args)
352
+ end
353
+
354
+ # Update properties of this object
355
+ def update!(**args)
356
+ @acknowledgement_time = args[:acknowledgement_time] if args.key?(:acknowledgement_time)
357
+ @comment = args[:comment] if args.key?(:comment)
358
+ @user_name = args[:user_name] if args.key?(:user_name)
359
+ end
360
+ end
361
+
325
362
  # Represents remediation guidance to resolve compliance violation for
326
363
  # AssuredWorkload
327
364
  class GoogleCloudAssuredworkloadsV1beta1ViolationRemediation
@@ -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.13.0"
19
+ GEM_VERSION = "0.14.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 = "20230623"
25
+ REVISION = "20230707"
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 GoogleCloudAssuredworkloadsV1beta1ViolationExceptionContext
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
79
85
  class GoogleCloudAssuredworkloadsV1beta1ViolationRemediation
80
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
87
 
@@ -282,6 +288,8 @@ module Google
282
288
  property :category, as: 'category'
283
289
  property :description, as: 'description'
284
290
  property :exception_audit_log_link, as: 'exceptionAuditLogLink'
291
+ collection :exception_contexts, as: 'exceptionContexts', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1ViolationExceptionContext, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1ViolationExceptionContext::Representation
292
+
285
293
  property :name, as: 'name'
286
294
  property :non_compliant_org_policy, as: 'nonCompliantOrgPolicy'
287
295
  property :remediation, as: 'remediation', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1ViolationRemediation, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1ViolationRemediation::Representation
@@ -292,6 +300,15 @@ module Google
292
300
  end
293
301
  end
294
302
 
303
+ class GoogleCloudAssuredworkloadsV1beta1ViolationExceptionContext
304
+ # @private
305
+ class Representation < Google::Apis::Core::JsonRepresentation
306
+ property :acknowledgement_time, as: 'acknowledgementTime'
307
+ property :comment, as: 'comment'
308
+ property :user_name, as: 'userName'
309
+ end
310
+ end
311
+
295
312
  class GoogleCloudAssuredworkloadsV1beta1ViolationRemediation
296
313
  # @private
297
314
  class Representation < Google::Apis::Core::JsonRepresentation
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.13.0
4
+ version: 0.14.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-07-02 00:00:00.000000000 Z
11
+ date: 2023-07-16 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.13.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-assuredworkloads_v1beta1/v0.14.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: []