google-apis-assuredworkloads_v1 0.29.0 → 0.30.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: f3a61a51f3769dda368b30891e7b0c0bb3aeb21a47f1810c4feb6f95821fe3e4
4
- data.tar.gz: 7004f8110ea69fe832cc11ca58b7b87e2938d4b7c6c38a654888ff2c29684c03
3
+ metadata.gz: ef378fddf1a11b1046073ae866356ffd185ebd87831d1e09ab11ced0bab1af4a
4
+ data.tar.gz: e922bc90391b7ed989e19e3af41ee6825e7949559379e2d14a4482e87419dced
5
5
  SHA512:
6
- metadata.gz: 78867928ca4b03e5b97bfd1ec2d0ca35fdadee212e2463564f5407037fb24d89d47920b5dc28f89490740fd1762ec31284888c007dedb12abe1b8209cfe3574b
7
- data.tar.gz: 7e72e5b2f4e9bf3f20dc32353aac9b20ee90f767f6b411a20e00ac58f58e14352ae7924f8e290fa2b7a2589f87acccb471c1dc3ee1509e17f7d6c9761497910b
6
+ metadata.gz: b0efc211c284a19f4ea407989a0f0a44e22890a6d8254560fdd4771f994079ede5c774bf0f516c34130cd72f8b3be45cc97943b9f97c9ce67ca507b2efd3dd84
7
+ data.tar.gz: fbd562bc416e7a68abc3bc08ac9d9dd0e435472be90ce94e9fc50a897989e0022dfbd641f263d5dee8df54115e83e7864de6a1195aeeb91fb060101487016bdd
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-assuredworkloads_v1
2
2
 
3
+ ### v0.30.0 (2022-10-28)
4
+
5
+ * Regenerated from discovery document revision 20221020
6
+
3
7
  ### v0.29.0 (2022-10-20)
4
8
 
5
9
  * Regenerated from discovery document revision 20221014
@@ -439,6 +439,11 @@ module Google
439
439
  # @return [String]
440
440
  attr_accessor :compliance_regime
441
441
 
442
+ # Represents the Compliance Status of this workload
443
+ # Corresponds to the JSON property `complianceStatus`
444
+ # @return [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1WorkloadComplianceStatus]
445
+ attr_accessor :compliance_status
446
+
442
447
  # Output only. Urls for services which are compliant for this Assured Workload,
443
448
  # but which are currently disallowed by the ResourceUsageRestriction org policy.
444
449
  # Invoke RestrictAllowedResources endpoint to allow your project developers to
@@ -535,6 +540,7 @@ module Google
535
540
  def update!(**args)
536
541
  @billing_account = args[:billing_account] if args.key?(:billing_account)
537
542
  @compliance_regime = args[:compliance_regime] if args.key?(:compliance_regime)
543
+ @compliance_status = args[:compliance_status] if args.key?(:compliance_status)
538
544
  @compliant_but_disallowed_services = args[:compliant_but_disallowed_services] if args.key?(:compliant_but_disallowed_services)
539
545
  @create_time = args[:create_time] if args.key?(:create_time)
540
546
  @display_name = args[:display_name] if args.key?(:display_name)
@@ -552,6 +558,31 @@ module Google
552
558
  end
553
559
  end
554
560
 
561
+ # Represents the Compliance Status of this workload
562
+ class GoogleCloudAssuredworkloadsV1WorkloadComplianceStatus
563
+ include Google::Apis::Core::Hashable
564
+
565
+ # Count of active Violations which are acknowledged in the Workload.
566
+ # Corresponds to the JSON property `acknowledgedViolationCount`
567
+ # @return [Fixnum]
568
+ attr_accessor :acknowledged_violation_count
569
+
570
+ # Count of active Violations which haven't been acknowledged.
571
+ # Corresponds to the JSON property `activeViolationCount`
572
+ # @return [Fixnum]
573
+ attr_accessor :active_violation_count
574
+
575
+ def initialize(**args)
576
+ update!(**args)
577
+ end
578
+
579
+ # Update properties of this object
580
+ def update!(**args)
581
+ @acknowledged_violation_count = args[:acknowledged_violation_count] if args.key?(:acknowledged_violation_count)
582
+ @active_violation_count = args[:active_violation_count] if args.key?(:active_violation_count)
583
+ end
584
+ end
585
+
555
586
  # Settings specific to the Key Management Service. This message is deprecated.
556
587
  # In order to create a Keyring, callers should specify, ENCRYPTION_KEYS_PROJECT
557
588
  # or KEYRING in ResourceSettings.resource_type field.
@@ -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.29.0"
19
+ GEM_VERSION = "0.30.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.11.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20221014"
25
+ REVISION = "20221020"
26
26
  end
27
27
  end
28
28
  end
@@ -100,6 +100,12 @@ module Google
100
100
  include Google::Apis::Core::JsonObjectSupport
101
101
  end
102
102
 
103
+ class GoogleCloudAssuredworkloadsV1WorkloadComplianceStatus
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
103
109
  class GoogleCloudAssuredworkloadsV1WorkloadKmsSettings
104
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
111
 
@@ -267,6 +273,8 @@ module Google
267
273
  class Representation < Google::Apis::Core::JsonRepresentation
268
274
  property :billing_account, as: 'billingAccount'
269
275
  property :compliance_regime, as: 'complianceRegime'
276
+ property :compliance_status, as: 'complianceStatus', class: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1WorkloadComplianceStatus, decorator: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1WorkloadComplianceStatus::Representation
277
+
270
278
  collection :compliant_but_disallowed_services, as: 'compliantButDisallowedServices'
271
279
  property :create_time, as: 'createTime'
272
280
  property :display_name, as: 'displayName'
@@ -288,6 +296,14 @@ module Google
288
296
  end
289
297
  end
290
298
 
299
+ class GoogleCloudAssuredworkloadsV1WorkloadComplianceStatus
300
+ # @private
301
+ class Representation < Google::Apis::Core::JsonRepresentation
302
+ property :acknowledged_violation_count, as: 'acknowledgedViolationCount'
303
+ property :active_violation_count, as: 'activeViolationCount'
304
+ end
305
+ end
306
+
291
307
  class GoogleCloudAssuredworkloadsV1WorkloadKmsSettings
292
308
  # @private
293
309
  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.29.0
4
+ version: 0.30.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: 2022-10-21 00:00:00.000000000 Z
11
+ date: 2022-10-31 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.29.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-assuredworkloads_v1/v0.30.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: []