Google Cloud Sql Admin V1 Client - Class InstancesListResponse (0.11.0)

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

Database instances list response.

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

Namespace

Google \ Cloud \ Sql \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ kind string

This is always sql#instancesList.

↳ warnings array<Google\Cloud\Sql\V1\ApiWarning>

List of warnings that occurred while handling the request.

↳ items array<Google\Cloud\Sql\V1\DatabaseInstance>

List of database instance resources.

↳ next_page_token string

The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.

getKind

This is always sql#instancesList.

Returns
TypeDescription
string

setKind

This is always sql#instancesList.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getWarnings

List of warnings that occurred while handling the request.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setWarnings

List of warnings that occurred while handling the request.

Parameter
NameDescription
var array<Google\Cloud\Sql\V1\ApiWarning>
Returns
TypeDescription
$this

getItems

List of database instance resources.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setItems

List of database instance resources.

Parameter
NameDescription
var array<Google\Cloud\Sql\V1\DatabaseInstance>
Returns
TypeDescription
$this

getNextPageToken

The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.

Returns
TypeDescription
string

setNextPageToken

The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.

Parameter
NameDescription
var string
Returns
TypeDescription
$this