Google Cloud Sql Admin V1beta4 Client - Class SqlInstancesListRequest (0.17.1)

Reference documentation and code samples for the Google Cloud Sql Admin V1beta4 Client class SqlInstancesListRequest.

Generated from protobuf message google.cloud.sql.v1beta4.SqlInstancesListRequest

Namespace

Google \ Cloud \ Sql \ V1beta4

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ filter string

A filter expression that filters resources listed in the response. The expression is in the form of field:value. For example, 'instanceType:CLOUD_SQL_INSTANCE'. Fields can be nested as needed as per their JSON representation, such as 'settings.userLabels.auto_start:true'. Multiple filter queries are space-separated. For example. 'state:RUNNABLE instanceType:CLOUD_SQL_INSTANCE'. By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly.

↳ max_results int

The maximum number of instances to return. The service may return fewer than this value. If unspecified, at most 500 instances are returned. The maximum value is 1000; values above 1000 are coerced to 1000.

↳ page_token string

A previously-returned page token representing part of the larger set of results to view.

↳ project string

Project ID of the project for which to list Cloud SQL instances.

getFilter

A filter expression that filters resources listed in the response.

The expression is in the form of field:value. For example, 'instanceType:CLOUD_SQL_INSTANCE'. Fields can be nested as needed as per their JSON representation, such as 'settings.userLabels.auto_start:true'. Multiple filter queries are space-separated. For example. 'state:RUNNABLE instanceType:CLOUD_SQL_INSTANCE'. By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly.

Returns
Type Description
string

setFilter

A filter expression that filters resources listed in the response.

The expression is in the form of field:value. For example, 'instanceType:CLOUD_SQL_INSTANCE'. Fields can be nested as needed as per their JSON representation, such as 'settings.userLabels.auto_start:true'. Multiple filter queries are space-separated. For example. 'state:RUNNABLE instanceType:CLOUD_SQL_INSTANCE'. By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly.

Parameter
Name Description
var string
Returns
Type Description
$this

getMaxResults

The maximum number of instances to return. The service may return fewer than this value.

If unspecified, at most 500 instances are returned. The maximum value is 1000; values above 1000 are coerced to 1000.

Returns
Type Description
int

setMaxResults

The maximum number of instances to return. The service may return fewer than this value.

If unspecified, at most 500 instances are returned. The maximum value is 1000; values above 1000 are coerced to 1000.

Parameter
Name Description
var int
Returns
Type Description
$this

getPageToken

A previously-returned page token representing part of the larger set of results to view.

Returns
Type Description
string

setPageToken

A previously-returned page token representing part of the larger set of results to view.

Parameter
Name Description
var string
Returns
Type Description
$this

getProject

Project ID of the project for which to list Cloud SQL instances.

Returns
Type Description
string

setProject

Project ID of the project for which to list Cloud SQL instances.

Parameter
Name Description
var string
Returns
Type Description
$this