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

Represents 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.



1925
1926
1927
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 1925

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#audit_loggingBoolean Also known as: audit_logging?

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

Returns:

  • (Boolean)


1916
1917
1918
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 1916

def audit_logging
  @audit_logging
end

#policy_enforcementBoolean Also known as: policy_enforcement?

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

Returns:

  • (Boolean)


1922
1923
1924
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 1922

def policy_enforcement
  @policy_enforcement
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1930
1931
1932
1933
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 1930

def update!(**args)
  @audit_logging = args[:audit_logging] if args.key?(:audit_logging)
  @policy_enforcement = args[:policy_enforcement] if args.key?(:policy_enforcement)
end