google-apis-assuredworkloads_v1beta1 0.13.0 → 0.15.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: 9deb21ee1ac5d8b6da2bbebc0d46b6eed065d3e2e924e79aae31cfb76cd171f4
4
- data.tar.gz: '098a368ffa8d426daee4f656de6ec39ef858d654e4644d05b2e31d7c27b670d8'
3
+ metadata.gz: 5619b3a9b0e5895f6565879a2e52b09696a29aba19f6029d582ec7746185056c
4
+ data.tar.gz: 407ddba1df30ae2a3d644174cb7a81727f58353b9f28694ded85533c8dfba117
5
5
  SHA512:
6
- metadata.gz: 04aa8269acd164cc32ef8081a6d124e4f8853a42ae464856fbb4a62975f493cf6dd50c6eced0ff07417cbb2bceeec25742bf8ba5f2edb4b2b8bd4f51843252df
7
- data.tar.gz: 597f0b00c40f335f98f089a3b496ea20f5f574a7f79d460b7e0a22afc5b151a670533ca3d77121c3af96e1918e41a80d08ec0f21b066545080c863e5429fa38e
6
+ metadata.gz: 312bbb932442d6cf138f1d89407368c803ca4c6d68a21225b05c89f270e37fd033ea9de07d8108abd008d9b77aeac00f5467468a32907177844b51d66a26f7a9
7
+ data.tar.gz: 46cfcf07f48da579aea4ebf346b67918625bd634da9797903c608a1236622c7bddb4ff01350af668eada8c208169632215085e62ca1100461db67fed9c4fbf50
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-assuredworkloads_v1beta1
2
2
 
3
+ ### v0.15.0 (2023-07-23)
4
+
5
+ * Regenerated from discovery document revision 20230714
6
+
7
+ ### v0.14.0 (2023-07-16)
8
+
9
+ * Regenerated from discovery document revision 20230707
10
+
3
11
  ### v0.13.0 (2023-07-02)
4
12
 
5
13
  * 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
@@ -479,11 +516,6 @@ module Google
479
516
  # @return [Array<String>]
480
517
  attr_accessor :compliant_but_disallowed_services
481
518
 
482
- # Controls enabled to the user associated with this workload
483
- # Corresponds to the JSON property `controls`
484
- # @return [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControls]
485
- attr_accessor :controls
486
-
487
519
  # Output only. Immutable. The Workload creation timestamp.
488
520
  # Corresponds to the JSON property `createTime`
489
521
  # @return [String]
@@ -608,7 +640,6 @@ module Google
608
640
  @compliance_regime = args[:compliance_regime] if args.key?(:compliance_regime)
609
641
  @compliance_status = args[:compliance_status] if args.key?(:compliance_status)
610
642
  @compliant_but_disallowed_services = args[:compliant_but_disallowed_services] if args.key?(:compliant_but_disallowed_services)
611
- @controls = args[:controls] if args.key?(:controls)
612
643
  @create_time = args[:create_time] if args.key?(:create_time)
613
644
  @display_name = args[:display_name] if args.key?(:display_name)
614
645
  @ekm_provisioning_response = args[:ekm_provisioning_response] if args.key?(:ekm_provisioning_response)
@@ -650,51 +681,6 @@ module Google
650
681
  end
651
682
  end
652
683
 
653
- # Controls enabled to the user associated with this workload
654
- class GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControls
655
- include Google::Apis::Core::Hashable
656
-
657
- # Output only. Org policies currently applied by this Assured Workload
658
- # Corresponds to the JSON property `appliedOrgPolicies`
659
- # @return [Array<Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControlsOrgPolicyControl>]
660
- attr_accessor :applied_org_policies
661
-
662
- def initialize(**args)
663
- update!(**args)
664
- end
665
-
666
- # Update properties of this object
667
- def update!(**args)
668
- @applied_org_policies = args[:applied_org_policies] if args.key?(:applied_org_policies)
669
- end
670
- end
671
-
672
- # An org policy control applied by Assured Workloads
673
- class GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControlsOrgPolicyControl
674
- include Google::Apis::Core::Hashable
675
-
676
- # Output only. Constraint name of the org policy control Example: constraints/
677
- # gcp.resourcelocations
678
- # Corresponds to the JSON property `constraint`
679
- # @return [String]
680
- attr_accessor :constraint
681
-
682
- # Output only. Org policy version
683
- # Corresponds to the JSON property `version`
684
- # @return [Fixnum]
685
- attr_accessor :version
686
-
687
- def initialize(**args)
688
- update!(**args)
689
- end
690
-
691
- # Update properties of this object
692
- def update!(**args)
693
- @constraint = args[:constraint] if args.key?(:constraint)
694
- @version = args[:version] if args.key?(:version)
695
- end
696
- end
697
-
698
684
  # Represents the Compliance Status of this workload
699
685
  class GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceStatus
700
686
  include Google::Apis::Core::Hashable
@@ -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.15.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 = "20230714"
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
 
@@ -112,18 +118,6 @@ module Google
112
118
  include Google::Apis::Core::JsonObjectSupport
113
119
  end
114
120
 
115
- class GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControls
116
- class Representation < Google::Apis::Core::JsonRepresentation; end
117
-
118
- include Google::Apis::Core::JsonObjectSupport
119
- end
120
-
121
- class GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControlsOrgPolicyControl
122
- class Representation < Google::Apis::Core::JsonRepresentation; end
123
-
124
- include Google::Apis::Core::JsonObjectSupport
125
- end
126
-
127
121
  class GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceStatus
128
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
123
 
@@ -282,6 +276,8 @@ module Google
282
276
  property :category, as: 'category'
283
277
  property :description, as: 'description'
284
278
  property :exception_audit_log_link, as: 'exceptionAuditLogLink'
279
+ collection :exception_contexts, as: 'exceptionContexts', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1ViolationExceptionContext, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1ViolationExceptionContext::Representation
280
+
285
281
  property :name, as: 'name'
286
282
  property :non_compliant_org_policy, as: 'nonCompliantOrgPolicy'
287
283
  property :remediation, as: 'remediation', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1ViolationRemediation, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1ViolationRemediation::Representation
@@ -292,6 +288,15 @@ module Google
292
288
  end
293
289
  end
294
290
 
291
+ class GoogleCloudAssuredworkloadsV1beta1ViolationExceptionContext
292
+ # @private
293
+ class Representation < Google::Apis::Core::JsonRepresentation
294
+ property :acknowledgement_time, as: 'acknowledgementTime'
295
+ property :comment, as: 'comment'
296
+ property :user_name, as: 'userName'
297
+ end
298
+ end
299
+
295
300
  class GoogleCloudAssuredworkloadsV1beta1ViolationRemediation
296
301
  # @private
297
302
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -340,8 +345,6 @@ module Google
340
345
  property :compliance_status, as: 'complianceStatus', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceStatus, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceStatus::Representation
341
346
 
342
347
  collection :compliant_but_disallowed_services, as: 'compliantButDisallowedServices'
343
- property :controls, as: 'controls', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControls, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControls::Representation
344
-
345
348
  property :create_time, as: 'createTime'
346
349
  property :display_name, as: 'displayName'
347
350
  property :ekm_provisioning_response, as: 'ekmProvisioningResponse', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponse, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponse::Representation
@@ -381,22 +384,6 @@ module Google
381
384
  end
382
385
  end
383
386
 
384
- class GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControls
385
- # @private
386
- class Representation < Google::Apis::Core::JsonRepresentation
387
- collection :applied_org_policies, as: 'appliedOrgPolicies', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControlsOrgPolicyControl, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControlsOrgPolicyControl::Representation
388
-
389
- end
390
- end
391
-
392
- class GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControlsOrgPolicyControl
393
- # @private
394
- class Representation < Google::Apis::Core::JsonRepresentation
395
- property :constraint, as: 'constraint'
396
- property :version, as: 'version'
397
- end
398
- end
399
-
400
387
  class GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceStatus
401
388
  # @private
402
389
  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.15.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_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.15.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: []