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 \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ kind |
string
This is always |
↳ log_type |
string
The type of log to truncate. Valid values are |
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 |
|