google-apis-assuredworkloads_v1beta1 0.12.0 → 0.14.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: ec1bca9e1f89f8c113f352e6266f624a0cfd1cd738e856b729358dc5c3e197a5
4
- data.tar.gz: cd6e2def8b92c15d7ec9c2fa59897fcbbf8863f8d1e62b1c65b50805c61aae9a
3
+ metadata.gz: 0e75ca520f00703c30549380d88e1e1ca2226e331ca8fa18e02b1abbbd66493e
4
+ data.tar.gz: 446e98b9e704bd3e2a108038985aa076771a6d9471810a7751ba1435a8b0c9f2
5
5
  SHA512:
6
- metadata.gz: e1d26eaa64064c526b860563a6427632cd67adb92bde5f69f88f5dec17f34cdd27262dbecfffeb2a532f7bb2ae200efd82bebbae6a92cf17ffd1d347092211cb
7
- data.tar.gz: d39c47cef431c4de88e04fe4a912f60ecca678e6065fcbb846c9984ba759836fb9c0a9b0512bd742582669b66b2d31edcffecb3e8794caf02474f8221d60e70f
6
+ metadata.gz: 99d375bdac1e6f6a6e535277a0abfd83f3ebdaabdd024ed05bf659e85678bf24bb9c2df454b216ee2e65eb5680559b628aa75cf00a69e545f96050121b7892b5
7
+ data.tar.gz: 64da66ac54d5175b88b6ac0282daf05c01b8a5822baa935563feb7b329dc6a55214e7aa11ed2b251fbfa8695dc4e4ef7a2f380364a19e7237661e8ea802a6f29
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.13.0 (2023-07-02)
8
+
9
+ * Regenerated from discovery document revision 20230623
10
+
3
11
  ### v0.12.0 (2023-06-18)
4
12
 
5
13
  * Regenerated from discovery document revision 20230612
@@ -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`
@@ -278,12 +283,6 @@ module Google
278
283
  # @return [String]
279
284
  attr_accessor :non_compliant_org_policy
280
285
 
281
- # Output only. Immutable. The org-policy-constraint that was incorrectly changed,
282
- # which resulted in this violation.
283
- # Corresponds to the JSON property `orgPolicyConstraint`
284
- # @return [String]
285
- attr_accessor :org_policy_constraint
286
-
287
286
  # Represents remediation guidance to resolve compliance violation for
288
287
  # AssuredWorkload
289
288
  # Corresponds to the JSON property `remediation`
@@ -319,9 +318,9 @@ module Google
319
318
  @category = args[:category] if args.key?(:category)
320
319
  @description = args[:description] if args.key?(:description)
321
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)
322
322
  @name = args[:name] if args.key?(:name)
323
323
  @non_compliant_org_policy = args[:non_compliant_org_policy] if args.key?(:non_compliant_org_policy)
324
- @org_policy_constraint = args[:org_policy_constraint] if args.key?(:org_policy_constraint)
325
324
  @remediation = args[:remediation] if args.key?(:remediation)
326
325
  @resolve_time = args[:resolve_time] if args.key?(:resolve_time)
327
326
  @state = args[:state] if args.key?(:state)
@@ -329,6 +328,37 @@ module Google
329
328
  end
330
329
  end
331
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
+
332
362
  # Represents remediation guidance to resolve compliance violation for
333
363
  # AssuredWorkload
334
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.12.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 = "20230612"
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,9 +288,10 @@ 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
- property :org_policy_constraint, as: 'orgPolicyConstraint'
288
295
  property :remediation, as: 'remediation', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1ViolationRemediation, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1ViolationRemediation::Representation
289
296
 
290
297
  property :resolve_time, as: 'resolveTime'
@@ -293,6 +300,15 @@ module Google
293
300
  end
294
301
  end
295
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
+
296
312
  class GoogleCloudAssuredworkloadsV1beta1ViolationRemediation
297
313
  # @private
298
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.12.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-06-18 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.12.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: []