google-apis-assuredworkloads_v1 0.28.0 → 0.30.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/assuredworkloads_v1/classes.rb +49 -4
- data/lib/google/apis/assuredworkloads_v1/gem_version.rb +3 -3
- data/lib/google/apis/assuredworkloads_v1/representations.rb +17 -0
- data/lib/google/apis/assuredworkloads_v1/service.rb +2 -2
- data/lib/google/apis/assuredworkloads_v1.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ef378fddf1a11b1046073ae866356ffd185ebd87831d1e09ab11ced0bab1af4a
|
4
|
+
data.tar.gz: e922bc90391b7ed989e19e3af41ee6825e7949559379e2d14a4482e87419dced
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
#
|
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
|
-
#
|
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
|
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.
|
19
|
+
GEM_VERSION = "0.30.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.11.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
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
|
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".
|
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.
|
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-
|
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.
|
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.
|
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.
|
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: []
|