Google Cloud Sql Admin V1 Client - Class TruncateLogContext (1.9.0)Stay organized with collectionsSave and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class TruncateLogContext.
Database Instance truncate log context.
Generated from protobuf messagegoogle.cloud.sql.v1.TruncateLogContext
Namespace
Google \ Cloud \ Sql \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ kind
string
This is alwayssql#truncateLogContext.
↳ log_type
string
The type of log to truncate. Valid values areMYSQL_GENERAL_TABLEandMYSQL_SLOW_TABLE.
getKind
This is alwayssql#truncateLogContext.
Returns
Type
Description
string
setKind
This is alwayssql#truncateLogContext.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getLogType
The type of log to truncate. Valid values areMYSQL_GENERAL_TABLEandMYSQL_SLOW_TABLE.
Returns
Type
Description
string
setLogType
The type of log to truncate. Valid values areMYSQL_GENERAL_TABLEandMYSQL_SLOW_TABLE.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-06-03 UTC."],[],[]]