Google Cloud Notebooks V1beta1 Client - Class ListInstancesResponse (0.3.6)

Reference documentation and code samples for the Google Cloud Notebooks V1beta1 Client class ListInstancesResponse.

Response for listing notebook instances.

Generated from protobuf message google.cloud.notebooks.v1beta1.ListInstancesResponse

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ instances array<Google\Cloud\Notebooks\V1beta1\Instance>

A list of returned instances.

↳ next_page_token string

Page token that can be used to continue listing from the last result in the next list call.

↳ unreachable array

Locations that could not be reached. For example, ['us-west1-a', 'us-central1-b']. A ListInstancesResponse will only contain either instances or unreachables,

getInstances

A list of returned instances.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setInstances

A list of returned instances.

Parameter
NameDescription
var array<Google\Cloud\Notebooks\V1beta1\Instance>
Returns
TypeDescription
$this

getNextPageToken

Page token that can be used to continue listing from the last result in the next list call.

Returns
TypeDescription
string

setNextPageToken

Page token that can be used to continue listing from the last result in the next list call.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getUnreachable

Locations that could not be reached. For example, ['us-west1-a', 'us-central1-b'].

A ListInstancesResponse will only contain either instances or unreachables,

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setUnreachable

Locations that could not be reached. For example, ['us-west1-a', 'us-central1-b'].

A ListInstancesResponse will only contain either instances or unreachables,

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this