Class: Google::Apis::CloudkmsV1::KeyAccessJustificationsEnrollmentConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_loggingBoolean Also known as: audit_logging?

Whether the project has KAJ logging enabled. Corresponds to the JSON property auditLogging

Returns:

  • (Boolean)


1897
1898
1899
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 1897

def audit_logging
  @audit_logging
end

#policy_enforcementBoolean Also known as: policy_enforcement?

Whether the project is enrolled in KAJ policy enforcement. Corresponds to the JSON property policyEnforcement

Returns:

  • (Boolean)


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