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

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
Name Description
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
Type Description
string

setKind

This is always sql#truncateLogContext.

Parameter
Name Description
var string
Returns
Type Description
$this

getLogType

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

Returns
Type Description
string

setLogType

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

Parameter
Name Description
var string
Returns
Type Description
$this