Reference documentation and code samples for the Google Cloud AlloyDB for PostgreSQL V1 Client class QueryInsightsInstanceConfig.
QueryInsights Instance specific configuration.
Generated from protobuf message google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig
Namespace
Google \ Cloud \ AlloyDb \ V1 \ Instance
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ record_application_tags
bool
Record application tags for an instance. This flag is turned "on" by default.
↳ record_client_address
bool
Record client address for an instance. Client address is PII information. This flag is turned "on" by default.
↳ query_string_length
int
Query string length. The default value is 1024. Any integer between 256 and 4500 is considered valid.
↳ query_plans_per_minute
int
Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 and 20 is considered valid.
getRecordApplicationTags
Record application tags for an instance.
This flag is turned "on" by default.
Returns
Type
Description
bool
hasRecordApplicationTags
clearRecordApplicationTags
setRecordApplicationTags
Record application tags for an instance.
This flag is turned "on" by default.
Parameter
Name
Description
var
bool
Returns
Type
Description
$this
getRecordClientAddress
Record client address for an instance. Client address is PII information.
This flag is turned "on" by default.
Returns
Type
Description
bool
hasRecordClientAddress
clearRecordClientAddress
setRecordClientAddress
Record client address for an instance. Client address is PII information.
This flag is turned "on" by default.
Parameter
Name
Description
var
bool
Returns
Type
Description
$this
getQueryStringLength
Query string length. The default value is 1024.
Any integer between 256 and 4500 is considered valid.
Returns
Type
Description
int
setQueryStringLength
Query string length. The default value is 1024.
Any integer between 256 and 4500 is considered valid.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getQueryPlansPerMinute
Number of query execution plans captured by Insights per minute
for all queries combined. The default value is 5.
Any integer between 0 and 20 is considered valid.
Returns
Type
Description
int
hasQueryPlansPerMinute
clearQueryPlansPerMinute
setQueryPlansPerMinute
Number of query execution plans captured by Insights per minute
for all queries combined. The default value is 5.
[[["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 2025-09-04 UTC."],[],[],null,["# Google Cloud AlloyDB for PostgreSQL V1 Client - Class QueryInsightsInstanceConfig (1.4.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.1 (latest)](/php/docs/reference/cloud-alloydb/latest/V1.Instance.QueryInsightsInstanceConfig)\n- [1.4.0](/php/docs/reference/cloud-alloydb/1.4.0/V1.Instance.QueryInsightsInstanceConfig)\n- [1.3.0](/php/docs/reference/cloud-alloydb/1.3.0/V1.Instance.QueryInsightsInstanceConfig)\n- [1.2.0](/php/docs/reference/cloud-alloydb/1.2.0/V1.Instance.QueryInsightsInstanceConfig)\n- [1.1.3](/php/docs/reference/cloud-alloydb/1.1.3/V1.Instance.QueryInsightsInstanceConfig)\n- [1.0.0](/php/docs/reference/cloud-alloydb/1.0.0/V1.Instance.QueryInsightsInstanceConfig)\n- [0.10.3](/php/docs/reference/cloud-alloydb/0.10.3/V1.Instance.QueryInsightsInstanceConfig)\n- [0.9.0](/php/docs/reference/cloud-alloydb/0.9.0/V1.Instance.QueryInsightsInstanceConfig)\n- [0.8.0](/php/docs/reference/cloud-alloydb/0.8.0/V1.Instance.QueryInsightsInstanceConfig)\n- [0.7.1](/php/docs/reference/cloud-alloydb/0.7.1/V1.Instance.QueryInsightsInstanceConfig)\n- [0.6.0](/php/docs/reference/cloud-alloydb/0.6.0/V1.Instance.QueryInsightsInstanceConfig)\n- [0.5.0](/php/docs/reference/cloud-alloydb/0.5.0/V1.Instance.QueryInsightsInstanceConfig)\n- [0.4.0](/php/docs/reference/cloud-alloydb/0.4.0/V1.Instance.QueryInsightsInstanceConfig)\n- [0.3.0](/php/docs/reference/cloud-alloydb/0.3.0/V1.Instance.QueryInsightsInstanceConfig)\n- [0.2.1](/php/docs/reference/cloud-alloydb/0.2.1/V1.Instance.QueryInsightsInstanceConfig)\n- [0.1.3](/php/docs/reference/cloud-alloydb/0.1.3/V1.Instance.QueryInsightsInstanceConfig) \nReference documentation and code samples for the Google Cloud AlloyDB for PostgreSQL V1 Client class QueryInsightsInstanceConfig.\n\nQueryInsights Instance specific configuration.\n\nGenerated from protobuf message `google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ AlloyDb \\\\ V1 \\\\ Instance\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getRecordApplicationTags\n\nRecord application tags for an instance.\n\nThis flag is turned \"on\" by default.\n\n### hasRecordApplicationTags\n\n### clearRecordApplicationTags\n\n### setRecordApplicationTags\n\nRecord application tags for an instance.\n\nThis flag is turned \"on\" by default.\n\n### getRecordClientAddress\n\nRecord client address for an instance. Client address is PII information.\n\nThis flag is turned \"on\" by default.\n\n### hasRecordClientAddress\n\n### clearRecordClientAddress\n\n### setRecordClientAddress\n\nRecord client address for an instance. Client address is PII information.\n\nThis flag is turned \"on\" by default.\n\n### getQueryStringLength\n\nQuery string length. The default value is 1024.\n\nAny integer between 256 and 4500 is considered valid.\n\n### setQueryStringLength\n\nQuery string length. The default value is 1024.\n\nAny integer between 256 and 4500 is considered valid.\n\n### getQueryPlansPerMinute\n\nNumber of query execution plans captured by Insights per minute\nfor all queries combined. The default value is 5.\n\nAny integer between 0 and 20 is considered valid.\n\n### hasQueryPlansPerMinute\n\n### clearQueryPlansPerMinute\n\n### setQueryPlansPerMinute\n\nNumber of query execution plans captured by Insights per minute\nfor all queries combined. The default value is 5.\n\nAny integer between 0 and 20 is considered valid."]]