Class: Google::Apis::CloudkmsV1::CloudAuditOptions

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/cloudkms_v1/classes.rb,
generated/google/apis/cloudkms_v1/representations.rb,
generated/google/apis/cloudkms_v1/representations.rb

Overview

Write a Cloud Audit log

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ CloudAuditOptions

Returns a new instance of CloudAuditOptions



524
525
526
# File 'generated/google/apis/cloudkms_v1/classes.rb', line 524

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

Instance Attribute Details

#log_nameString

The log_name to populate in the Cloud Audit Record. Corresponds to the JSON property logName

Returns:

  • (String)


522
523
524
# File 'generated/google/apis/cloudkms_v1/classes.rb', line 522

def log_name
  @log_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



529
530
531
# File 'generated/google/apis/cloudkms_v1/classes.rb', line 529

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