class Google::Apis::SqladminV1beta4::TruncateLogContext
Database
Instance truncate log context.
Attributes
kind[RW]
This is always *sql#truncateLogContext*. Corresponds to the JSON property `kind` @return [String]
log_type[RW]
The type of log to truncate. Valid values are MYSQL_GENERAL_TABLE and * MYSQL_SLOW_TABLE*. Corresponds to the JSON property `logType` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/sqladmin_v1beta4/classes.rb, line 3451 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/sqladmin_v1beta4/classes.rb, line 3456 def update!(**args) @kind = args[:kind] if args.key?(:kind) @log_type = args[:log_type] if args.key?(:log_type) end