google-apis-assuredworkloads_v1beta1 0.9.0 → 0.10.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: 69b530c1d65ca7373407f431320d6813233085109a00a165e107368b11d1f8be
4
- data.tar.gz: 7a67b2d66ff30332b8c12247bac3884d22960e5872f327a2170970e345c8d015
3
+ metadata.gz: b378be0be77b813c7cfebc5eaa85d2c2cd522a139db50bcc0e1e9349330eb64d
4
+ data.tar.gz: a3ebc5804c760dfd3f23c38ebe7bea349c21c59c909234ade672bcd3f15f5eb0
5
5
  SHA512:
6
- metadata.gz: 4681d2556dde1c75de6713c9abff75e39b84efd66e6ca94e783d9913e5eaf73e6a33d0e76c4291b233271872080ac33b35c0b3028cd9b72ec36711ef3ab7fd24
7
- data.tar.gz: 8f7f75480f1fa34fa0c374a5454ccf55321e9aeb69985bf365546604bb9b2a578413f25d5d0408b2cdc53451be073ba2cd51598ff6b31face6ea642afd9da320
6
+ metadata.gz: 2bdbf37979027df6595032a06fd2dd132d65f8b740224310821c8db09b4d59cdcd85d6b5eba150bb32335301241d65bc285834cb7c65bd7dc00a667d08bba928
7
+ data.tar.gz: 25b03a7fcbc0863ce40e0ccb94b808aed396633d0af4b31bc3d35f7d07ed82016fcf8372b87f058b3054b8805e70d53758721b6cf925fe04ffb7d3c74c1d48d7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-assuredworkloads_v1beta1
2
2
 
3
+ ### v0.10.0 (2023-04-30)
4
+
5
+ * Regenerated from discovery document revision 20230420
6
+
3
7
  ### v0.9.0 (2023-04-23)
4
8
 
5
9
  * Regenerated from discovery document revision 20230414
@@ -168,7 +168,7 @@ module Google
168
168
  end
169
169
  end
170
170
 
171
- # Workload monitoring Violation. Next Id: 22
171
+ # Workload monitoring Violation. Next Id: 27
172
172
  class GoogleCloudAssuredworkloadsV1beta1Violation
173
173
  include Google::Apis::Core::Hashable
174
174
 
@@ -218,11 +218,6 @@ module Google
218
218
  # @return [String]
219
219
  attr_accessor :exception_audit_log_link
220
220
 
221
- # Output only. List of all the exception detail added for the violation.
222
- # Corresponds to the JSON property `exceptionContexts`
223
- # @return [Array<Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1ViolationExceptionContext>]
224
- attr_accessor :exception_contexts
225
-
226
221
  # Output only. Immutable. Name of the Violation. Format: organizations/`
227
222
  # organization`/locations/`location`/workloads/`workload_id`/violations/`
228
223
  # violations_id`
@@ -279,7 +274,6 @@ module Google
279
274
  @category = args[:category] if args.key?(:category)
280
275
  @description = args[:description] if args.key?(:description)
281
276
  @exception_audit_log_link = args[:exception_audit_log_link] if args.key?(:exception_audit_log_link)
282
- @exception_contexts = args[:exception_contexts] if args.key?(:exception_contexts)
283
277
  @name = args[:name] if args.key?(:name)
284
278
  @non_compliant_org_policy = args[:non_compliant_org_policy] if args.key?(:non_compliant_org_policy)
285
279
  @org_policy_constraint = args[:org_policy_constraint] if args.key?(:org_policy_constraint)
@@ -290,37 +284,6 @@ module Google
290
284
  end
291
285
  end
292
286
 
293
- # Violation exception detail. Next Id: 5
294
- class GoogleCloudAssuredworkloadsV1beta1ViolationExceptionContext
295
- include Google::Apis::Core::Hashable
296
-
297
- # Timestamp when the violation was acknowledged.
298
- # Corresponds to the JSON property `acknowledgementTime`
299
- # @return [String]
300
- attr_accessor :acknowledgement_time
301
-
302
- # Business justification provided towards the acknowledgement of the violation.
303
- # Corresponds to the JSON property `comment`
304
- # @return [String]
305
- attr_accessor :comment
306
-
307
- # Email address of the user (or service account) who acknowledged the violation.
308
- # Corresponds to the JSON property `principalEmail`
309
- # @return [String]
310
- attr_accessor :principal_email
311
-
312
- def initialize(**args)
313
- update!(**args)
314
- end
315
-
316
- # Update properties of this object
317
- def update!(**args)
318
- @acknowledgement_time = args[:acknowledgement_time] if args.key?(:acknowledgement_time)
319
- @comment = args[:comment] if args.key?(:comment)
320
- @principal_email = args[:principal_email] if args.key?(:principal_email)
321
- end
322
- end
323
-
324
287
  # Represents remediation guidance to resolve compliance violation for
325
288
  # AssuredWorkload
326
289
  class GoogleCloudAssuredworkloadsV1beta1ViolationRemediation
@@ -478,6 +441,11 @@ module Google
478
441
  # @return [Array<String>]
479
442
  attr_accessor :compliant_but_disallowed_services
480
443
 
444
+ # Controls enabled to the user associated with this workload
445
+ # Corresponds to the JSON property `controls`
446
+ # @return [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControls]
447
+ attr_accessor :controls
448
+
481
449
  # Output only. Immutable. The Workload creation timestamp.
482
450
  # Corresponds to the JSON property `createTime`
483
451
  # @return [String]
@@ -597,6 +565,7 @@ module Google
597
565
  @compliance_regime = args[:compliance_regime] if args.key?(:compliance_regime)
598
566
  @compliance_status = args[:compliance_status] if args.key?(:compliance_status)
599
567
  @compliant_but_disallowed_services = args[:compliant_but_disallowed_services] if args.key?(:compliant_but_disallowed_services)
568
+ @controls = args[:controls] if args.key?(:controls)
600
569
  @create_time = args[:create_time] if args.key?(:create_time)
601
570
  @display_name = args[:display_name] if args.key?(:display_name)
602
571
  @ekm_provisioning_response = args[:ekm_provisioning_response] if args.key?(:ekm_provisioning_response)
@@ -637,6 +606,51 @@ module Google
637
606
  end
638
607
  end
639
608
 
609
+ # Controls enabled to the user associated with this workload
610
+ class GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControls
611
+ include Google::Apis::Core::Hashable
612
+
613
+ # Output only. Org policies currently applied by this Assured Workload
614
+ # Corresponds to the JSON property `appliedOrgPolicies`
615
+ # @return [Array<Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControlsOrgPolicyControl>]
616
+ attr_accessor :applied_org_policies
617
+
618
+ def initialize(**args)
619
+ update!(**args)
620
+ end
621
+
622
+ # Update properties of this object
623
+ def update!(**args)
624
+ @applied_org_policies = args[:applied_org_policies] if args.key?(:applied_org_policies)
625
+ end
626
+ end
627
+
628
+ # An org policy control applied by Assured Workloads
629
+ class GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControlsOrgPolicyControl
630
+ include Google::Apis::Core::Hashable
631
+
632
+ # Output only. Constraint name of the org policy control Example: constraints/
633
+ # gcp.resourcelocations
634
+ # Corresponds to the JSON property `constraint`
635
+ # @return [String]
636
+ attr_accessor :constraint
637
+
638
+ # Output only. Org policy version
639
+ # Corresponds to the JSON property `version`
640
+ # @return [Fixnum]
641
+ attr_accessor :version
642
+
643
+ def initialize(**args)
644
+ update!(**args)
645
+ end
646
+
647
+ # Update properties of this object
648
+ def update!(**args)
649
+ @constraint = args[:constraint] if args.key?(:constraint)
650
+ @version = args[:version] if args.key?(:version)
651
+ end
652
+ end
653
+
640
654
  # Represents the Compliance Status of this workload
641
655
  class GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceStatus
642
656
  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.9.0"
19
+ GEM_VERSION = "0.10.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 = "20230414"
25
+ REVISION = "20230420"
26
26
  end
27
27
  end
28
28
  end
@@ -70,12 +70,6 @@ module Google
70
70
  include Google::Apis::Core::JsonObjectSupport
71
71
  end
72
72
 
73
- class GoogleCloudAssuredworkloadsV1beta1ViolationExceptionContext
74
- class Representation < Google::Apis::Core::JsonRepresentation; end
75
-
76
- include Google::Apis::Core::JsonObjectSupport
77
- end
78
-
79
73
  class GoogleCloudAssuredworkloadsV1beta1ViolationRemediation
80
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
75
 
@@ -112,6 +106,18 @@ module Google
112
106
  include Google::Apis::Core::JsonObjectSupport
113
107
  end
114
108
 
109
+ class GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControls
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControlsOrgPolicyControl
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
115
121
  class GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceStatus
116
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
123
 
@@ -252,8 +258,6 @@ module Google
252
258
  property :category, as: 'category'
253
259
  property :description, as: 'description'
254
260
  property :exception_audit_log_link, as: 'exceptionAuditLogLink'
255
- collection :exception_contexts, as: 'exceptionContexts', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1ViolationExceptionContext, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1ViolationExceptionContext::Representation
256
-
257
261
  property :name, as: 'name'
258
262
  property :non_compliant_org_policy, as: 'nonCompliantOrgPolicy'
259
263
  property :org_policy_constraint, as: 'orgPolicyConstraint'
@@ -265,15 +269,6 @@ module Google
265
269
  end
266
270
  end
267
271
 
268
- class GoogleCloudAssuredworkloadsV1beta1ViolationExceptionContext
269
- # @private
270
- class Representation < Google::Apis::Core::JsonRepresentation
271
- property :acknowledgement_time, as: 'acknowledgementTime'
272
- property :comment, as: 'comment'
273
- property :principal_email, as: 'principalEmail'
274
- end
275
- end
276
-
277
272
  class GoogleCloudAssuredworkloadsV1beta1ViolationRemediation
278
273
  # @private
279
274
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -322,6 +317,8 @@ module Google
322
317
  property :compliance_status, as: 'complianceStatus', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceStatus, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceStatus::Representation
323
318
 
324
319
  collection :compliant_but_disallowed_services, as: 'compliantButDisallowedServices'
320
+ property :controls, as: 'controls', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControls, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControls::Representation
321
+
325
322
  property :create_time, as: 'createTime'
326
323
  property :display_name, as: 'displayName'
327
324
  property :ekm_provisioning_response, as: 'ekmProvisioningResponse', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponse, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponse::Representation
@@ -359,6 +356,22 @@ module Google
359
356
  end
360
357
  end
361
358
 
359
+ class GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControls
360
+ # @private
361
+ class Representation < Google::Apis::Core::JsonRepresentation
362
+ collection :applied_org_policies, as: 'appliedOrgPolicies', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControlsOrgPolicyControl, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControlsOrgPolicyControl::Representation
363
+
364
+ end
365
+ end
366
+
367
+ class GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControlsOrgPolicyControl
368
+ # @private
369
+ class Representation < Google::Apis::Core::JsonRepresentation
370
+ property :constraint, as: 'constraint'
371
+ property :version, as: 'version'
372
+ end
373
+ end
374
+
362
375
  class GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceStatus
363
376
  # @private
364
377
  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.9.0
4
+ version: 0.10.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-04-23 00:00:00.000000000 Z
11
+ date: 2023-04-30 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.9.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-assuredworkloads_v1beta1/v0.10.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: []