google-apis-assuredworkloads_v1beta1 0.8.0 → 0.10.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: 5b8582d7980f01745d3374be38288314359417783d38f0a280e0d91ada6a43af
4
- data.tar.gz: 538bf026fe1601b1aab1b4bb84439242556f9c355021a4bbe9bfafe5c992c702
3
+ metadata.gz: b378be0be77b813c7cfebc5eaa85d2c2cd522a139db50bcc0e1e9349330eb64d
4
+ data.tar.gz: a3ebc5804c760dfd3f23c38ebe7bea349c21c59c909234ade672bcd3f15f5eb0
5
5
  SHA512:
6
- metadata.gz: ef2c0392fc22c27d5b4caa5958e41bf067b86d36543e3cfb2132d364baadd665f97bdaf3879f47b201148e6c63f1dce2ce7a73597b85619d34dbcffccf0f9727
7
- data.tar.gz: ab66067c25a4fba70d68bc774cb04fa783ee24f7507e6ff2c79bcc926fc187dfbedec8eab06623bbbab0b47170556ce1e2b04314e46fe200e88b6bb947712f80
6
+ metadata.gz: 2bdbf37979027df6595032a06fd2dd132d65f8b740224310821c8db09b4d59cdcd85d6b5eba150bb32335301241d65bc285834cb7c65bd7dc00a667d08bba928
7
+ data.tar.gz: 25b03a7fcbc0863ce40e0ccb94b808aed396633d0af4b31bc3d35f7d07ed82016fcf8372b87f058b3054b8805e70d53758721b6cf925fe04ffb7d3c74c1d48d7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.9.0 (2023-04-23)
8
+
9
+ * Regenerated from discovery document revision 20230414
10
+
3
11
  ### v0.8.0 (2023-04-16)
4
12
 
5
13
  * Regenerated from discovery document revision 20230406
@@ -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
 
@@ -441,6 +441,11 @@ module Google
441
441
  # @return [Array<String>]
442
442
  attr_accessor :compliant_but_disallowed_services
443
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
+
444
449
  # Output only. Immutable. The Workload creation timestamp.
445
450
  # Corresponds to the JSON property `createTime`
446
451
  # @return [String]
@@ -539,6 +544,16 @@ module Google
539
544
  # @return [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadSaaEnrollmentResponse]
540
545
  attr_accessor :saa_enrollment_response
541
546
 
547
+ # Optional. Indicates whether the e-mail notification for a violation is enabled
548
+ # for a workload. This value will be by default True, and if not present will be
549
+ # considered as true. This should only be updated via updateWorkload call. Any
550
+ # Changes to this field during the createWorkload call will not be honored. This
551
+ # will always be true while creating the workload.
552
+ # Corresponds to the JSON property `violationNotificationsEnabled`
553
+ # @return [Boolean]
554
+ attr_accessor :violation_notifications_enabled
555
+ alias_method :violation_notifications_enabled?, :violation_notifications_enabled
556
+
542
557
  def initialize(**args)
543
558
  update!(**args)
544
559
  end
@@ -550,6 +565,7 @@ module Google
550
565
  @compliance_regime = args[:compliance_regime] if args.key?(:compliance_regime)
551
566
  @compliance_status = args[:compliance_status] if args.key?(:compliance_status)
552
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)
553
569
  @create_time = args[:create_time] if args.key?(:create_time)
554
570
  @display_name = args[:display_name] if args.key?(:display_name)
555
571
  @ekm_provisioning_response = args[:ekm_provisioning_response] if args.key?(:ekm_provisioning_response)
@@ -567,6 +583,7 @@ module Google
567
583
  @resource_settings = args[:resource_settings] if args.key?(:resource_settings)
568
584
  @resources = args[:resources] if args.key?(:resources)
569
585
  @saa_enrollment_response = args[:saa_enrollment_response] if args.key?(:saa_enrollment_response)
586
+ @violation_notifications_enabled = args[:violation_notifications_enabled] if args.key?(:violation_notifications_enabled)
570
587
  end
571
588
  end
572
589
 
@@ -589,6 +606,51 @@ module Google
589
606
  end
590
607
  end
591
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
+
592
654
  # Represents the Compliance Status of this workload
593
655
  class GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceStatus
594
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.8.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 = "20230406"
25
+ REVISION = "20230420"
26
26
  end
27
27
  end
28
28
  end
@@ -106,6 +106,18 @@ module Google
106
106
  include Google::Apis::Core::JsonObjectSupport
107
107
  end
108
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
+
109
121
  class GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceStatus
110
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
123
 
@@ -305,6 +317,8 @@ module Google
305
317
  property :compliance_status, as: 'complianceStatus', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceStatus, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceStatus::Representation
306
318
 
307
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
+
308
322
  property :create_time, as: 'createTime'
309
323
  property :display_name, as: 'displayName'
310
324
  property :ekm_provisioning_response, as: 'ekmProvisioningResponse', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponse, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponse::Representation
@@ -330,6 +344,7 @@ module Google
330
344
 
331
345
  property :saa_enrollment_response, as: 'saaEnrollmentResponse', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadSaaEnrollmentResponse, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadSaaEnrollmentResponse::Representation
332
346
 
347
+ property :violation_notifications_enabled, as: 'violationNotificationsEnabled'
333
348
  end
334
349
  end
335
350
 
@@ -341,6 +356,22 @@ module Google
341
356
  end
342
357
  end
343
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
+
344
375
  class GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceStatus
345
376
  # @private
346
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.8.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-16 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.8.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: []