google-apis-assuredworkloads_v1 0.41.0 → 0.43.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: 6ab1163c3b9285027d7572f531e349942197214d58f5b18bf21db029fba85791
4
- data.tar.gz: b079d1447a0b0ad93bbdc8de40f348b68c2276a0e11b38f16be2f102c565add8
3
+ metadata.gz: d64aabcba9e405b8494d0f7652fc6e06804f41baed8ac98610fca00c50338f98
4
+ data.tar.gz: 137aea2c532e332f48e43c200ab42f28a85243e048a47edc919452ef3a298dae
5
5
  SHA512:
6
- metadata.gz: 8baa8742c26cb435151fe6cf59f4673e7f9838a7ea97b2192a2d11a96925afb8850852af67c78d63153392919b1ee0b510be5d44cff00e3934221eaf1996b317
7
- data.tar.gz: 69d34fd9c2140736bbe8d99b988c7365433a9c10066df9c4b1a425375418be32d7bcd8cfb4222771508c914544d56c84c06dbe350ca082210be0255c8eb032fb
6
+ metadata.gz: 0e1362c3f69c0879d5e3c47ab30f3510e80abe9b0f69f3a2b4b944b77be6c01acfc74d26c97b1cf721c2fe4d5c2cfe8ac71c04ad59d671b4d561ed7ac9273439
7
+ data.tar.gz: abea32e29666e98aacbb09b86168e6fe7b22f20e4dae83a120e7b433d282d5182e957b4ad266eb9ebf9295d416c2878e8a4f4650006f122903cc2fbd3c4b7c67
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-assuredworkloads_v1
2
2
 
3
+ ### v0.43.0 (2023-08-06)
4
+
5
+ * Regenerated from discovery document revision 20230731
6
+
7
+ ### v0.42.0 (2023-07-16)
8
+
9
+ * Regenerated from discovery document revision 20230707
10
+
3
11
  ### v0.41.0 (2023-07-02)
4
12
 
5
13
  * 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`
@@ -284,6 +289,12 @@ module Google
284
289
  # @return [String]
285
290
  attr_accessor :non_compliant_org_policy
286
291
 
292
+ # Output only. Immutable. The org-policy-constraint that was incorrectly changed,
293
+ # which resulted in this violation.
294
+ # Corresponds to the JSON property `orgPolicyConstraint`
295
+ # @return [String]
296
+ attr_accessor :org_policy_constraint
297
+
287
298
  # Represents remediation guidance to resolve compliance violation for
288
299
  # AssuredWorkload
289
300
  # Corresponds to the JSON property `remediation`
@@ -319,8 +330,10 @@ module Google
319
330
  @category = args[:category] if args.key?(:category)
320
331
  @description = args[:description] if args.key?(:description)
321
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)
322
334
  @name = args[:name] if args.key?(:name)
323
335
  @non_compliant_org_policy = args[:non_compliant_org_policy] if args.key?(:non_compliant_org_policy)
336
+ @org_policy_constraint = args[:org_policy_constraint] if args.key?(:org_policy_constraint)
324
337
  @remediation = args[:remediation] if args.key?(:remediation)
325
338
  @resolve_time = args[:resolve_time] if args.key?(:resolve_time)
326
339
  @state = args[:state] if args.key?(:state)
@@ -328,6 +341,37 @@ module Google
328
341
  end
329
342
  end
330
343
 
344
+ # Violation exception detail. Next Id: 6
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
+ # Name of the user (or service account) who acknowledged the violation.
359
+ # Corresponds to the JSON property `userName`
360
+ # @return [String]
361
+ attr_accessor :user_name
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
+ @user_name = args[:user_name] if args.key?(:user_name)
372
+ end
373
+ end
374
+
331
375
  # Represents remediation guidance to resolve compliance violation for
332
376
  # AssuredWorkload
333
377
  class GoogleCloudAssuredworkloadsV1ViolationRemediation
@@ -696,17 +740,23 @@ module Google
696
740
  class GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions
697
741
  include Google::Apis::Core::Hashable
698
742
 
743
+ # Optional. Allow partner to view violation alerts.
744
+ # Corresponds to the JSON property `assuredWorkloadsMonitoring`
745
+ # @return [Boolean]
746
+ attr_accessor :assured_workloads_monitoring
747
+ alias_method :assured_workloads_monitoring?, :assured_workloads_monitoring
748
+
699
749
  # Allow the partner to view inspectability logs and monitoring violations.
700
750
  # Corresponds to the JSON property `dataLogsViewer`
701
751
  # @return [Boolean]
702
752
  attr_accessor :data_logs_viewer
703
753
  alias_method :data_logs_viewer?, :data_logs_viewer
704
754
 
705
- # Allow partner to monitor folder and remediate violations
706
- # Corresponds to the JSON property `remediateFolderViolations`
755
+ # Optional. Allow partner to view access approval logs.
756
+ # Corresponds to the JSON property `serviceAccessApprover`
707
757
  # @return [Boolean]
708
- attr_accessor :remediate_folder_violations
709
- alias_method :remediate_folder_violations?, :remediate_folder_violations
758
+ attr_accessor :service_access_approver
759
+ alias_method :service_access_approver?, :service_access_approver
710
760
 
711
761
  def initialize(**args)
712
762
  update!(**args)
@@ -714,8 +764,9 @@ module Google
714
764
 
715
765
  # Update properties of this object
716
766
  def update!(**args)
767
+ @assured_workloads_monitoring = args[:assured_workloads_monitoring] if args.key?(:assured_workloads_monitoring)
717
768
  @data_logs_viewer = args[:data_logs_viewer] if args.key?(:data_logs_viewer)
718
- @remediate_folder_violations = args[:remediate_folder_violations] if args.key?(:remediate_folder_violations)
769
+ @service_access_approver = args[:service_access_approver] if args.key?(:service_access_approver)
719
770
  end
720
771
  end
721
772
 
@@ -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.43.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 = "20230731"
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,8 +253,11 @@ 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'
260
+ property :org_policy_constraint, as: 'orgPolicyConstraint'
252
261
  property :remediation, as: 'remediation', class: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ViolationRemediation, decorator: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ViolationRemediation::Representation
253
262
 
254
263
  property :resolve_time, as: 'resolveTime'
@@ -257,6 +266,15 @@ module Google
257
266
  end
258
267
  end
259
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 :user_name, as: 'userName'
275
+ end
276
+ end
277
+
260
278
  class GoogleCloudAssuredworkloadsV1ViolationRemediation
261
279
  # @private
262
280
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -356,8 +374,9 @@ module Google
356
374
  class GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions
357
375
  # @private
358
376
  class Representation < Google::Apis::Core::JsonRepresentation
377
+ property :assured_workloads_monitoring, as: 'assuredWorkloadsMonitoring'
359
378
  property :data_logs_viewer, as: 'dataLogsViewer'
360
- property :remediate_folder_violations, as: 'remediateFolderViolations'
379
+ property :service_access_approver, as: 'serviceAccessApprover'
361
380
  end
362
381
  end
363
382
 
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.43.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-08-06 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.43.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: []