google-apis-assuredworkloads_v1 0.41.0 → 0.42.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: 6ab1163c3b9285027d7572f531e349942197214d58f5b18bf21db029fba85791
4
- data.tar.gz: b079d1447a0b0ad93bbdc8de40f348b68c2276a0e11b38f16be2f102c565add8
3
+ metadata.gz: 9af8d51994cd940cb3a083bc89945ca7419f14916ab6372556b5ba83556205ab
4
+ data.tar.gz: '05203631931a5100d10aa39a52fbd8c910865e57d42af21c9adf95f3f8857a69'
5
5
  SHA512:
6
- metadata.gz: 8baa8742c26cb435151fe6cf59f4673e7f9838a7ea97b2192a2d11a96925afb8850852af67c78d63153392919b1ee0b510be5d44cff00e3934221eaf1996b317
7
- data.tar.gz: 69d34fd9c2140736bbe8d99b988c7365433a9c10066df9c4b1a425375418be32d7bcd8cfb4222771508c914544d56c84c06dbe350ca082210be0255c8eb032fb
6
+ metadata.gz: ca5782e52acdf347d344f098841e24447e67ed741cb3fb03ce8ec173274c79c8ffd9d446b2980eb58e12e673049c34f058054633e0bcddb29ad401f382096d36
7
+ data.tar.gz: 39240274ec380aa4176053ecfdc75febc28317484637b185038122f77c2d22f9feec682b8a21e34565c83f7a442e94d6c12767622f1a8dfc06f24e447bd32107
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-assuredworkloads_v1
2
2
 
3
+ ### v0.42.0 (2023-07-16)
4
+
5
+ * Regenerated from discovery document revision 20230707
6
+
3
7
  ### v0.41.0 (2023-07-02)
4
8
 
5
9
  * Regenerated from discovery document revision 20230623
@@ -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`
@@ -319,6 +324,7 @@ module Google
319
324
  @category = args[:category] if args.key?(:category)
320
325
  @description = args[:description] if args.key?(:description)
321
326
  @exception_audit_log_link = args[:exception_audit_log_link] if args.key?(:exception_audit_log_link)
327
+ @exception_contexts = args[:exception_contexts] if args.key?(:exception_contexts)
322
328
  @name = args[:name] if args.key?(:name)
323
329
  @non_compliant_org_policy = args[:non_compliant_org_policy] if args.key?(:non_compliant_org_policy)
324
330
  @remediation = args[:remediation] if args.key?(:remediation)
@@ -328,6 +334,37 @@ module Google
328
334
  end
329
335
  end
330
336
 
337
+ # Violation exception detail. Next Id: 6
338
+ class GoogleCloudAssuredworkloadsV1ViolationExceptionContext
339
+ include Google::Apis::Core::Hashable
340
+
341
+ # Timestamp when the violation was acknowledged.
342
+ # Corresponds to the JSON property `acknowledgementTime`
343
+ # @return [String]
344
+ attr_accessor :acknowledgement_time
345
+
346
+ # Business justification provided towards the acknowledgement of the violation.
347
+ # Corresponds to the JSON property `comment`
348
+ # @return [String]
349
+ attr_accessor :comment
350
+
351
+ # Name of the user (or service account) who acknowledged the violation.
352
+ # Corresponds to the JSON property `userName`
353
+ # @return [String]
354
+ attr_accessor :user_name
355
+
356
+ def initialize(**args)
357
+ update!(**args)
358
+ end
359
+
360
+ # Update properties of this object
361
+ def update!(**args)
362
+ @acknowledgement_time = args[:acknowledgement_time] if args.key?(:acknowledgement_time)
363
+ @comment = args[:comment] if args.key?(:comment)
364
+ @user_name = args[:user_name] if args.key?(:user_name)
365
+ end
366
+ end
367
+
331
368
  # Represents remediation guidance to resolve compliance violation for
332
369
  # AssuredWorkload
333
370
  class GoogleCloudAssuredworkloadsV1ViolationRemediation
@@ -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.41.0"
19
+ GEM_VERSION = "0.42.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 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 :remediation, as: 'remediation', class: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ViolationRemediation, decorator: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ViolationRemediation::Representation
@@ -257,6 +265,15 @@ module Google
257
265
  end
258
266
  end
259
267
 
268
+ class GoogleCloudAssuredworkloadsV1ViolationExceptionContext
269
+ # @private
270
+ class Representation < Google::Apis::Core::JsonRepresentation
271
+ property :acknowledgement_time, as: 'acknowledgementTime'
272
+ property :comment, as: 'comment'
273
+ property :user_name, as: 'userName'
274
+ end
275
+ end
276
+
260
277
  class GoogleCloudAssuredworkloadsV1ViolationRemediation
261
278
  # @private
262
279
  class Representation < Google::Apis::Core::JsonRepresentation
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.41.0
4
+ version: 0.42.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-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.41.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-assuredworkloads_v1/v0.42.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: []