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.



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

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)


1914
1915
1916
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 1914

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)


1920
1921
1922
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 1920

def policy_enforcement
  @policy_enforcement
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1928
1929
1930
1931
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 1928

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