Class: Google::Apis::CloudkmsV1::KeyAccessJustificationsEnrollmentConfig
- Inherits:
-
Object
- Object
- Google::Apis::CloudkmsV1::KeyAccessJustificationsEnrollmentConfig
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudkms_v1/classes.rb,
lib/google/apis/cloudkms_v1/representations.rb,
lib/google/apis/cloudkms_v1/representations.rb
Overview
The configuration of a protection level for a project's Key Access Justifications enrollment.
Instance Attribute Summary collapse
-
#audit_logging ⇒ Boolean
(also: #audit_logging?)
Whether the project has KAJ logging enabled.
-
#policy_enforcement ⇒ Boolean
(also: #policy_enforcement?)
Whether the project is enrolled in KAJ policy enforcement.
Instance Method Summary collapse
-
#initialize(**args) ⇒ KeyAccessJustificationsEnrollmentConfig
constructor
A new instance of KeyAccessJustificationsEnrollmentConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ KeyAccessJustificationsEnrollmentConfig
Returns a new instance of KeyAccessJustificationsEnrollmentConfig.
1906 1907 1908 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 1906 def initialize(**args) update!(**args) end |
Instance Attribute Details
#audit_logging ⇒ Boolean Also known as: audit_logging?
Whether the project has KAJ logging enabled.
Corresponds to the JSON property auditLogging
1897 1898 1899 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 1897 def audit_logging @audit_logging end |
#policy_enforcement ⇒ Boolean Also known as: policy_enforcement?
Whether the project is enrolled in KAJ policy enforcement.
Corresponds to the JSON property policyEnforcement
1903 1904 1905 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 1903 def policy_enforcement @policy_enforcement end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1911 1912 1913 1914 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 1911 def update!(**args) @audit_logging = args[:audit_logging] if args.key?(:audit_logging) @policy_enforcement = args[:policy_enforcement] if args.key?(:policy_enforcement) end |