Cloud SQL Admin V1 API - Class Google::Cloud::Sql::V1::TruncateLogContext (v0.1.0)

Reference documentation and code samples for the Cloud SQL Admin V1 API class Google::Cloud::Sql::V1::TruncateLogContext.

Database Instance truncate log context.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#kind

def kind() -> ::String
Returns
  • (::String) — This is always sql#truncateLogContext.

#kind=

def kind=(value) -> ::String
Parameter
  • value (::String) — This is always sql#truncateLogContext.
Returns
  • (::String) — This is always sql#truncateLogContext.

#log_type

def log_type() -> ::String
Returns
  • (::String) — The type of log to truncate. Valid values are MYSQL_GENERAL_TABLE and MYSQL_SLOW_TABLE.

#log_type=

def log_type=(value) -> ::String
Parameter
  • value (::String) — The type of log to truncate. Valid values are MYSQL_GENERAL_TABLE and MYSQL_SLOW_TABLE.
Returns
  • (::String) — The type of log to truncate. Valid values are MYSQL_GENERAL_TABLE and MYSQL_SLOW_TABLE.