google-apis-assuredworkloads_v1 0.28.0 → 0.30.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: c950502be73d1cd6c529d595c8a85a99f6cc5d01578000e8355fa01cb7a5d1d8
4
- data.tar.gz: ae6a0ffe0486501212193e0d60681767ffa997ae79ffc9b1a26f6e1037413cfc
3
+ metadata.gz: ef378fddf1a11b1046073ae866356ffd185ebd87831d1e09ab11ced0bab1af4a
4
+ data.tar.gz: e922bc90391b7ed989e19e3af41ee6825e7949559379e2d14a4482e87419dced
5
5
  SHA512:
6
- metadata.gz: 1a9747a40d330716c54bc6b609f7b93600b014f4e215f02b0b6f325510291c11c0029d94d676327b8ae75c27b26aa2912981bf3382bfcac3ded60a7376d6c12b
7
- data.tar.gz: 13356b1a91a0b2dd0944a3689879ae069b733cc17abedbbff3d871709def1a1110cea1f5d146c0645df882d71d032ae655d09ae4b40f383ba3bdc95267a7955a
6
+ metadata.gz: b0efc211c284a19f4ea407989a0f0a44e22890a6d8254560fdd4771f994079ede5c774bf0f516c34130cd72f8b3be45cc97943b9f97c9ce67ca507b2efd3dd84
7
+ data.tar.gz: fbd562bc416e7a68abc3bc08ac9d9dd0e435472be90ce94e9fc50a897989e0022dfbd641f263d5dee8df54115e83e7864de6a1195aeeb91fb060101487016bdd
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
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
+
7
+ ### v0.29.0 (2022-10-20)
8
+
9
+ * Regenerated from discovery document revision 20221014
10
+ * Regenerated using generator version 0.11.0
11
+
3
12
  ### v0.28.0 (2022-10-11)
4
13
 
5
14
  * Regenerated from discovery document revision 20220930
data/OVERVIEW.md CHANGED
@@ -79,7 +79,7 @@ Gem names for modern clients are often of the form `google-cloud-<service_name>`
79
79
 
80
80
  **For most users, we recommend the modern client, if one is available.** Compared with simple clients, modern clients are generally much easier to use and more Ruby-like, support more advanced features such as streaming and long-running operations, and often provide much better performance. You may consider using a simple client instead, if a modern client is not yet available for the service you want to use, or if you are not able to use gRPC on your infrastructure.
81
81
 
82
- The [product documentation](https://cloud.google.com) may provide guidance regarding the preferred client library to use.
82
+ The [product documentation](https://cloud.google.com/learnmoreurl) may provide guidance regarding the preferred client library to use.
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
@@ -32,6 +32,15 @@ module Google
32
32
  # @return [String]
33
33
  attr_accessor :comment
34
34
 
35
+ # Optional. This field is deprecated and will be removed in future version of
36
+ # the API. Name of the OrgPolicy which was modified with non-compliant change
37
+ # and resulted in this violation. Format: projects/`project_number`/policies/`
38
+ # constraint_name` folders/`folder_id`/policies/`constraint_name` organizations/`
39
+ # organization_id`/policies/`constraint_name`
40
+ # Corresponds to the JSON property `nonCompliantOrgPolicy`
41
+ # @return [String]
42
+ attr_accessor :non_compliant_org_policy
43
+
35
44
  def initialize(**args)
36
45
  update!(**args)
37
46
  end
@@ -39,6 +48,7 @@ module Google
39
48
  # Update properties of this object
40
49
  def update!(**args)
41
50
  @comment = args[:comment] if args.key?(:comment)
51
+ @non_compliant_org_policy = args[:non_compliant_org_policy] if args.key?(:non_compliant_org_policy)
42
52
  end
43
53
  end
44
54
 
@@ -410,7 +420,7 @@ module Google
410
420
  end
411
421
  end
412
422
 
413
- # An Workload object for managing highly regulated workloads of cloud customers.
423
+ # A Workload object for managing highly regulated workloads of cloud customers.
414
424
  class GoogleCloudAssuredworkloadsV1Workload
415
425
  include Google::Apis::Core::Hashable
416
426
 
@@ -429,6 +439,11 @@ module Google
429
439
  # @return [String]
430
440
  attr_accessor :compliance_regime
431
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
+
432
447
  # Output only. Urls for services which are compliant for this Assured Workload,
433
448
  # but which are currently disallowed by the ResourceUsageRestriction org policy.
434
449
  # Invoke RestrictAllowedResources endpoint to allow your project developers to
@@ -467,7 +482,9 @@ module Google
467
482
  # @return [String]
468
483
  attr_accessor :kaj_enrollment_state
469
484
 
470
- # Settings specific to the Key Management Service.
485
+ # Settings specific to the Key Management Service. This message is deprecated.
486
+ # In order to create a Keyring, callers should specify, ENCRYPTION_KEYS_PROJECT
487
+ # or KEYRING in ResourceSettings.resource_type field.
471
488
  # Corresponds to the JSON property `kmsSettings`
472
489
  # @return [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1WorkloadKmsSettings]
473
490
  attr_accessor :kms_settings
@@ -523,6 +540,7 @@ module Google
523
540
  def update!(**args)
524
541
  @billing_account = args[:billing_account] if args.key?(:billing_account)
525
542
  @compliance_regime = args[:compliance_regime] if args.key?(:compliance_regime)
543
+ @compliance_status = args[:compliance_status] if args.key?(:compliance_status)
526
544
  @compliant_but_disallowed_services = args[:compliant_but_disallowed_services] if args.key?(:compliant_but_disallowed_services)
527
545
  @create_time = args[:create_time] if args.key?(:create_time)
528
546
  @display_name = args[:display_name] if args.key?(:display_name)
@@ -540,7 +558,34 @@ module Google
540
558
  end
541
559
  end
542
560
 
543
- # Settings specific to the Key Management Service.
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
+
586
+ # Settings specific to the Key Management Service. This message is deprecated.
587
+ # In order to create a Keyring, callers should specify, ENCRYPTION_KEYS_PROJECT
588
+ # or KEYRING in ResourceSettings.resource_type field.
544
589
  class GoogleCloudAssuredworkloadsV1WorkloadKmsSettings
545
590
  include Google::Apis::Core::Hashable
546
591
 
@@ -613,7 +658,7 @@ module Google
613
658
  attr_accessor :resource_id
614
659
 
615
660
  # Indicates the type of resource. This field should be specified to correspond
616
- # the id to the right project type (CONSUMER_PROJECT or ENCRYPTION_KEYS_PROJECT)
661
+ # the id to the right resource type (CONSUMER_FOLDER or ENCRYPTION_KEYS_PROJECT)
617
662
  # Corresponds to the JSON property `resourceType`
618
663
  # @return [String]
619
664
  attr_accessor :resource_type
@@ -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.28.0"
19
+ GEM_VERSION = "0.30.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.10.0"
22
+ GENERATOR_VERSION = "0.11.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220930"
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
 
@@ -152,6 +158,7 @@ module Google
152
158
  # @private
153
159
  class Representation < Google::Apis::Core::JsonRepresentation
154
160
  property :comment, as: 'comment'
161
+ property :non_compliant_org_policy, as: 'nonCompliantOrgPolicy'
155
162
  end
156
163
  end
157
164
 
@@ -266,6 +273,8 @@ module Google
266
273
  class Representation < Google::Apis::Core::JsonRepresentation
267
274
  property :billing_account, as: 'billingAccount'
268
275
  property :compliance_regime, as: 'complianceRegime'
276
+ property :compliance_status, as: 'complianceStatus', class: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1WorkloadComplianceStatus, decorator: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1WorkloadComplianceStatus::Representation
277
+
269
278
  collection :compliant_but_disallowed_services, as: 'compliantButDisallowedServices'
270
279
  property :create_time, as: 'createTime'
271
280
  property :display_name, as: 'displayName'
@@ -287,6 +296,14 @@ module Google
287
296
  end
288
297
  end
289
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
+
290
307
  class GoogleCloudAssuredworkloadsV1WorkloadKmsSettings
291
308
  # @private
292
309
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -30,7 +30,7 @@ module Google
30
30
  # Assuredworkloads = Google::Apis::AssuredworkloadsV1 # Alias the module
31
31
  # service = Assuredworkloads::AssuredworkloadsService.new
32
32
  #
33
- # @see https://cloud.google.com
33
+ # @see https://cloud.google.com/learnmoreurl
34
34
  class AssuredworkloadsService < Google::Apis::Core::BaseService
35
35
  # @return [String]
36
36
  # API key. Your API key identifies your project and provides you with API access,
@@ -205,7 +205,7 @@ module Google
205
205
 
206
206
  # Gets Assured Workload associated with a CRM Node
207
207
  # @param [String] name
208
- # Required. The resource name of the Workload to fetch. This is the workloads's
208
+ # Required. The resource name of the Workload to fetch. This is the workload's
209
209
  # relative path in the API, formatted as "organizations/`organization_id`/
210
210
  # locations/`location_id`/workloads/`workload_id`". For example, "organizations/
211
211
  # 123/locations/us-east1/workloads/assured-workload-1".
@@ -23,7 +23,7 @@ module Google
23
23
  #
24
24
  #
25
25
  #
26
- # @see https://cloud.google.com
26
+ # @see https://cloud.google.com/learnmoreurl
27
27
  module AssuredworkloadsV1
28
28
  # Version of the Assured Workloads API this client connects to.
29
29
  # This is NOT the gem version.
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.28.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-17 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
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.9.0
19
+ version: 0.9.1
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.9.0
29
+ version: 0.9.1
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.28.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: []