Google Cloud Sql Admin V1 Client - Class InstancesTruncateLogRequest (0.6.0)

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

Instance truncate log request.

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

Namespace

Google \ Cloud \ Sql \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ truncate_log_context Google\Cloud\Sql\V1\TruncateLogContext

Contains details about the truncate log operation.

getTruncateLogContext

Contains details about the truncate log operation.

Returns
TypeDescription
Google\Cloud\Sql\V1\TruncateLogContext|null

hasTruncateLogContext

clearTruncateLogContext

setTruncateLogContext

Contains details about the truncate log operation.

Parameter
NameDescription
var Google\Cloud\Sql\V1\TruncateLogContext
Returns
TypeDescription
$this