class Google::Apis::CloudsearchV1::AuditLoggingSettings

Represents the settings for Cloud audit logging

Attributes

log_admin_read_actions[RW]

Indicates whether audit logging is on/off for admin activity read APIs i.e. Get/List DataSources, Get/List SearchApplications etc. Corresponds to the JSON property `logAdminReadActions` @return [Boolean]

log_admin_read_actions?[RW]

Indicates whether audit logging is on/off for admin activity read APIs i.e. Get/List DataSources, Get/List SearchApplications etc. Corresponds to the JSON property `logAdminReadActions` @return [Boolean]

log_data_read_actions[RW]

Indicates whether audit logging is on/off for data access read APIs i.e. ListItems, GetItem etc. Corresponds to the JSON property `logDataReadActions` @return [Boolean]

log_data_read_actions?[RW]

Indicates whether audit logging is on/off for data access read APIs i.e. ListItems, GetItem etc. Corresponds to the JSON property `logDataReadActions` @return [Boolean]

log_data_write_actions[RW]

Indicates whether audit logging is on/off for data access write APIs i.e. IndexItem etc. Corresponds to the JSON property `logDataWriteActions` @return [Boolean]

log_data_write_actions?[RW]

Indicates whether audit logging is on/off for data access write APIs i.e. IndexItem etc. Corresponds to the JSON property `logDataWriteActions` @return [Boolean]

project[RW]

The resource name of the GCP Project to store audit logs. Cloud audit logging will be enabled after project_name has been updated through CustomerService. Format: projects/`project_id` Corresponds to the JSON property `project` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudsearch_v1/classes.rb, line 57
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudsearch_v1/classes.rb, line 62
def update!(**args)
  @log_admin_read_actions = args[:log_admin_read_actions] if args.key?(:log_admin_read_actions)
  @log_data_read_actions = args[:log_data_read_actions] if args.key?(:log_data_read_actions)
  @log_data_write_actions = args[:log_data_write_actions] if args.key?(:log_data_write_actions)
  @project = args[:project] if args.key?(:project)
end