Google Cloud AlloyDB for PostgreSQL V1 Client - Class QueryInsightsInstanceInfo (1.9.0)

Reference documentation and code samples for the Google Cloud AlloyDB for PostgreSQL V1 Client class QueryInsightsInstanceInfo.

Instance level Query Insights information, which is read-only and available in the output only.

Generated from protobuf message google.cloud.alloydb.v1.Instance.QueryInsightsInstanceInfo

Namespace

Google \ Cloud \ AlloyDb \ V1 \ Instance

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ enabled bool

Output only. Whether Query Insights is enabled.

↳ record_application_tags bool

Output only. Whether to record application tags.

↳ record_client_address bool

Output only. Whether to record client address.

↳ query_string_length int

Output only. Maximum query string length.

↳ query_plans_per_minute int

Output only. Number of query execution plans captured per minute.

getEnabled

Output only. Whether Query Insights is enabled.

Returns
Type Description
bool

setEnabled

Output only. Whether Query Insights is enabled.

Parameter
Name Description
var bool
Returns
Type Description
$this

getRecordApplicationTags

Output only. Whether to record application tags.

Returns
Type Description
bool

setRecordApplicationTags

Output only. Whether to record application tags.

Parameter
Name Description
var bool
Returns
Type Description
$this

getRecordClientAddress

Output only. Whether to record client address.

Returns
Type Description
bool

setRecordClientAddress

Output only. Whether to record client address.

Parameter
Name Description
var bool
Returns
Type Description
$this

getQueryStringLength

Output only. Maximum query string length.

Returns
Type Description
int

setQueryStringLength

Output only. Maximum query string length.

Parameter
Name Description
var int
Returns
Type Description
$this

getQueryPlansPerMinute

Output only. Number of query execution plans captured per minute.

Returns
Type Description
int

setQueryPlansPerMinute

Output only. Number of query execution plans captured per minute.

Parameter
Name Description
var int
Returns
Type Description
$this