Google Cloud Sql Admin V1 Client - Class TruncateLogContext (0.11.0)

Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class TruncateLogContext.

Database Instance truncate log context.

Generated from protobuf message google.cloud.sql.v1.TruncateLogContext

Namespace

Google \ Cloud \ Sql \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ kind string

This is always sql#truncateLogContext.

↳ log_type string

The type of log to truncate. Valid values are MYSQL_GENERAL_TABLE and MYSQL_SLOW_TABLE.

getKind

This is always sql#truncateLogContext.

Returns
TypeDescription
string

setKind

This is always sql#truncateLogContext.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getLogType

The type of log to truncate. Valid values are MYSQL_GENERAL_TABLE and MYSQL_SLOW_TABLE.

Returns
TypeDescription
string

setLogType

The type of log to truncate. Valid values are MYSQL_GENERAL_TABLE and MYSQL_SLOW_TABLE.

Parameter
NameDescription
var string
Returns
TypeDescription
$this