google-apis-assuredworkloads_v1beta1 0.14.0 → 0.16.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 +8 -0
- data/lib/google/apis/assuredworkloads_v1beta1/classes.rb +19 -56
- data/lib/google/apis/assuredworkloads_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/assuredworkloads_v1beta1/representations.rb +3 -31
- data/lib/google/apis/assuredworkloads_v1beta1/service.rb +6 -6
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 590256386290fd40faa0fdc2f67ed5d1e596b5a99d219236a527ef3a782ed95c
|
4
|
+
data.tar.gz: e4f43307324b540065d9c72c8d93bfe92f5897d4fa0d3498e0100b5595232c89
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d26fbe98697a0a105267e8d10a04f2768ee3d57508ebeb9433cdab28b332307d1e4c69598d6b52280f695dea2108fe05a54726a44172d57f7d38968bf43ae3a
|
7
|
+
data.tar.gz: fec3f19977bdc88e9c496d5ed65c72069ca93aa7b3be12763297d58cc002001e42fad08636e27151bc768212e5337c07c795eff81c8bcd15459629cfa2dd5a26
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-assuredworkloads_v1beta1
|
2
2
|
|
3
|
+
### v0.16.0 (2023-08-06)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230731
|
6
|
+
|
7
|
+
### v0.15.0 (2023-07-23)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230714
|
10
|
+
|
3
11
|
### v0.14.0 (2023-07-16)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230707
|
@@ -283,6 +283,12 @@ module Google
|
|
283
283
|
# @return [String]
|
284
284
|
attr_accessor :non_compliant_org_policy
|
285
285
|
|
286
|
+
# Output only. Immutable. The org-policy-constraint that was incorrectly changed,
|
287
|
+
# which resulted in this violation.
|
288
|
+
# Corresponds to the JSON property `orgPolicyConstraint`
|
289
|
+
# @return [String]
|
290
|
+
attr_accessor :org_policy_constraint
|
291
|
+
|
286
292
|
# Represents remediation guidance to resolve compliance violation for
|
287
293
|
# AssuredWorkload
|
288
294
|
# Corresponds to the JSON property `remediation`
|
@@ -321,6 +327,7 @@ module Google
|
|
321
327
|
@exception_contexts = args[:exception_contexts] if args.key?(:exception_contexts)
|
322
328
|
@name = args[:name] if args.key?(:name)
|
323
329
|
@non_compliant_org_policy = args[:non_compliant_org_policy] if args.key?(:non_compliant_org_policy)
|
330
|
+
@org_policy_constraint = args[:org_policy_constraint] if args.key?(:org_policy_constraint)
|
324
331
|
@remediation = args[:remediation] if args.key?(:remediation)
|
325
332
|
@resolve_time = args[:resolve_time] if args.key?(:resolve_time)
|
326
333
|
@state = args[:state] if args.key?(:state)
|
@@ -516,11 +523,6 @@ module Google
|
|
516
523
|
# @return [Array<String>]
|
517
524
|
attr_accessor :compliant_but_disallowed_services
|
518
525
|
|
519
|
-
# Controls enabled to the user associated with this workload
|
520
|
-
# Corresponds to the JSON property `controls`
|
521
|
-
# @return [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControls]
|
522
|
-
attr_accessor :controls
|
523
|
-
|
524
526
|
# Output only. Immutable. The Workload creation timestamp.
|
525
527
|
# Corresponds to the JSON property `createTime`
|
526
528
|
# @return [String]
|
@@ -645,7 +647,6 @@ module Google
|
|
645
647
|
@compliance_regime = args[:compliance_regime] if args.key?(:compliance_regime)
|
646
648
|
@compliance_status = args[:compliance_status] if args.key?(:compliance_status)
|
647
649
|
@compliant_but_disallowed_services = args[:compliant_but_disallowed_services] if args.key?(:compliant_but_disallowed_services)
|
648
|
-
@controls = args[:controls] if args.key?(:controls)
|
649
650
|
@create_time = args[:create_time] if args.key?(:create_time)
|
650
651
|
@display_name = args[:display_name] if args.key?(:display_name)
|
651
652
|
@ekm_provisioning_response = args[:ekm_provisioning_response] if args.key?(:ekm_provisioning_response)
|
@@ -687,51 +688,6 @@ module Google
|
|
687
688
|
end
|
688
689
|
end
|
689
690
|
|
690
|
-
# Controls enabled to the user associated with this workload
|
691
|
-
class GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControls
|
692
|
-
include Google::Apis::Core::Hashable
|
693
|
-
|
694
|
-
# Output only. Org policies currently applied by this Assured Workload
|
695
|
-
# Corresponds to the JSON property `appliedOrgPolicies`
|
696
|
-
# @return [Array<Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControlsOrgPolicyControl>]
|
697
|
-
attr_accessor :applied_org_policies
|
698
|
-
|
699
|
-
def initialize(**args)
|
700
|
-
update!(**args)
|
701
|
-
end
|
702
|
-
|
703
|
-
# Update properties of this object
|
704
|
-
def update!(**args)
|
705
|
-
@applied_org_policies = args[:applied_org_policies] if args.key?(:applied_org_policies)
|
706
|
-
end
|
707
|
-
end
|
708
|
-
|
709
|
-
# An org policy control applied by Assured Workloads
|
710
|
-
class GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControlsOrgPolicyControl
|
711
|
-
include Google::Apis::Core::Hashable
|
712
|
-
|
713
|
-
# Output only. Constraint name of the org policy control Example: constraints/
|
714
|
-
# gcp.resourcelocations
|
715
|
-
# Corresponds to the JSON property `constraint`
|
716
|
-
# @return [String]
|
717
|
-
attr_accessor :constraint
|
718
|
-
|
719
|
-
# Output only. Org policy version
|
720
|
-
# Corresponds to the JSON property `version`
|
721
|
-
# @return [Fixnum]
|
722
|
-
attr_accessor :version
|
723
|
-
|
724
|
-
def initialize(**args)
|
725
|
-
update!(**args)
|
726
|
-
end
|
727
|
-
|
728
|
-
# Update properties of this object
|
729
|
-
def update!(**args)
|
730
|
-
@constraint = args[:constraint] if args.key?(:constraint)
|
731
|
-
@version = args[:version] if args.key?(:version)
|
732
|
-
end
|
733
|
-
end
|
734
|
-
|
735
691
|
# Represents the Compliance Status of this workload
|
736
692
|
class GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceStatus
|
737
693
|
include Google::Apis::Core::Hashable
|
@@ -878,17 +834,23 @@ module Google
|
|
878
834
|
class GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissions
|
879
835
|
include Google::Apis::Core::Hashable
|
880
836
|
|
837
|
+
# Optional. Allow partner to view violation alerts.
|
838
|
+
# Corresponds to the JSON property `assuredWorkloadsMonitoring`
|
839
|
+
# @return [Boolean]
|
840
|
+
attr_accessor :assured_workloads_monitoring
|
841
|
+
alias_method :assured_workloads_monitoring?, :assured_workloads_monitoring
|
842
|
+
|
881
843
|
# Allow the partner to view inspectability logs and monitoring violations.
|
882
844
|
# Corresponds to the JSON property `dataLogsViewer`
|
883
845
|
# @return [Boolean]
|
884
846
|
attr_accessor :data_logs_viewer
|
885
847
|
alias_method :data_logs_viewer?, :data_logs_viewer
|
886
848
|
|
887
|
-
# Allow partner to
|
888
|
-
# Corresponds to the JSON property `
|
849
|
+
# Optional. Allow partner to view access approval logs.
|
850
|
+
# Corresponds to the JSON property `serviceAccessApprover`
|
889
851
|
# @return [Boolean]
|
890
|
-
attr_accessor :
|
891
|
-
alias_method :
|
852
|
+
attr_accessor :service_access_approver
|
853
|
+
alias_method :service_access_approver?, :service_access_approver
|
892
854
|
|
893
855
|
def initialize(**args)
|
894
856
|
update!(**args)
|
@@ -896,8 +858,9 @@ module Google
|
|
896
858
|
|
897
859
|
# Update properties of this object
|
898
860
|
def update!(**args)
|
861
|
+
@assured_workloads_monitoring = args[:assured_workloads_monitoring] if args.key?(:assured_workloads_monitoring)
|
899
862
|
@data_logs_viewer = args[:data_logs_viewer] if args.key?(:data_logs_viewer)
|
900
|
-
@
|
863
|
+
@service_access_approver = args[:service_access_approver] if args.key?(:service_access_approver)
|
901
864
|
end
|
902
865
|
end
|
903
866
|
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.16.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 = "
|
25
|
+
REVISION = "20230731"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -118,18 +118,6 @@ module Google
|
|
118
118
|
include Google::Apis::Core::JsonObjectSupport
|
119
119
|
end
|
120
120
|
|
121
|
-
class GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControls
|
122
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
-
|
124
|
-
include Google::Apis::Core::JsonObjectSupport
|
125
|
-
end
|
126
|
-
|
127
|
-
class GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControlsOrgPolicyControl
|
128
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
-
|
130
|
-
include Google::Apis::Core::JsonObjectSupport
|
131
|
-
end
|
132
|
-
|
133
121
|
class GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceStatus
|
134
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
123
|
|
@@ -292,6 +280,7 @@ module Google
|
|
292
280
|
|
293
281
|
property :name, as: 'name'
|
294
282
|
property :non_compliant_org_policy, as: 'nonCompliantOrgPolicy'
|
283
|
+
property :org_policy_constraint, as: 'orgPolicyConstraint'
|
295
284
|
property :remediation, as: 'remediation', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1ViolationRemediation, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1ViolationRemediation::Representation
|
296
285
|
|
297
286
|
property :resolve_time, as: 'resolveTime'
|
@@ -357,8 +346,6 @@ module Google
|
|
357
346
|
property :compliance_status, as: 'complianceStatus', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceStatus, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceStatus::Representation
|
358
347
|
|
359
348
|
collection :compliant_but_disallowed_services, as: 'compliantButDisallowedServices'
|
360
|
-
property :controls, as: 'controls', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControls, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControls::Representation
|
361
|
-
|
362
349
|
property :create_time, as: 'createTime'
|
363
350
|
property :display_name, as: 'displayName'
|
364
351
|
property :ekm_provisioning_response, as: 'ekmProvisioningResponse', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponse, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponse::Representation
|
@@ -398,22 +385,6 @@ module Google
|
|
398
385
|
end
|
399
386
|
end
|
400
387
|
|
401
|
-
class GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControls
|
402
|
-
# @private
|
403
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
404
|
-
collection :applied_org_policies, as: 'appliedOrgPolicies', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControlsOrgPolicyControl, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControlsOrgPolicyControl::Representation
|
405
|
-
|
406
|
-
end
|
407
|
-
end
|
408
|
-
|
409
|
-
class GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControlsOrgPolicyControl
|
410
|
-
# @private
|
411
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
412
|
-
property :constraint, as: 'constraint'
|
413
|
-
property :version, as: 'version'
|
414
|
-
end
|
415
|
-
end
|
416
|
-
|
417
388
|
class GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceStatus
|
418
389
|
# @private
|
419
390
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -466,8 +437,9 @@ module Google
|
|
466
437
|
class GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissions
|
467
438
|
# @private
|
468
439
|
class Representation < Google::Apis::Core::JsonRepresentation
|
440
|
+
property :assured_workloads_monitoring, as: 'assuredWorkloadsMonitoring'
|
469
441
|
property :data_logs_viewer, as: 'dataLogsViewer'
|
470
|
-
property :
|
442
|
+
property :service_access_approver, as: 'serviceAccessApprover'
|
471
443
|
end
|
472
444
|
end
|
473
445
|
|
@@ -354,13 +354,13 @@ module Google
|
|
354
354
|
execute_or_queue_command(command, &block)
|
355
355
|
end
|
356
356
|
|
357
|
-
# Analyzes a hypothetical move of a source project
|
358
|
-
#
|
357
|
+
# Analyzes a hypothetical move of a source project to a target (destination)
|
358
|
+
# folder-based workload.
|
359
359
|
# @param [String] source
|
360
360
|
# The source type is a project-based workload. Specify the workloads's relative
|
361
361
|
# resource name, formatted as: "organizations/`ORGANIZATION_ID`/locations/`
|
362
362
|
# LOCATION_ID`/workloads/`WORKLOAD_ID`" For example: "organizations/123/
|
363
|
-
# locations/us-east1/workloads/assured-workload-1"
|
363
|
+
# locations/us-east1/workloads/assured-workload-1" This option is now deprecated
|
364
364
|
# @param [String] target
|
365
365
|
# Required. The resource ID of the folder-based destination workload. This
|
366
366
|
# workload is where the source project will hypothetically be moved to. Specify
|
@@ -522,8 +522,8 @@ module Google
|
|
522
522
|
execute_or_queue_command(command, &block)
|
523
523
|
end
|
524
524
|
|
525
|
-
# Analyzes a hypothetical move of a source project
|
526
|
-
#
|
525
|
+
# Analyzes a hypothetical move of a source project to a target (destination)
|
526
|
+
# folder-based workload.
|
527
527
|
# @param [String] project
|
528
528
|
# The source type is a project. Specify the project's relative resource name,
|
529
529
|
# formatted as either a project number or a project ID: "projects/`
|
@@ -540,7 +540,7 @@ module Google
|
|
540
540
|
# The source type is a project-based workload. Specify the workloads's relative
|
541
541
|
# resource name, formatted as: "organizations/`ORGANIZATION_ID`/locations/`
|
542
542
|
# LOCATION_ID`/workloads/`WORKLOAD_ID`" For example: "organizations/123/
|
543
|
-
# locations/us-east1/workloads/assured-workload-1"
|
543
|
+
# locations/us-east1/workloads/assured-workload-1" This option is now deprecated
|
544
544
|
# @param [String] fields
|
545
545
|
# Selector specifying which fields to include in a partial response.
|
546
546
|
# @param [String] quota_user
|
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.
|
4
|
+
version: 0.16.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-
|
11
|
+
date: 2023-08-06 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-assuredworkloads_v1beta1/v0.16.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: []
|