Google Cloud Sql Admin V1beta4 Client - Class TruncateLogContext (0.7.0)

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

Database Instance truncate log context.

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

Namespace

Google \ Cloud \ Sql \ V1beta4

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