Reference documentation and code samples for the Google Cloud Notebooks V2 Client class ListInstancesResponse.
Response for listing notebook instances.
Generated from protobuf message google.cloud.notebooks.v2.ListInstancesResponse
Namespace
Google \ Cloud \ Notebooks \ V2Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ instances |
array<Google\Cloud\Notebooks\V2\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 | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setInstances
A list of returned instances.
| Parameter | |
|---|---|
| Name | Description |
var |
array<Google\Cloud\Notebooks\V2\Instance>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getNextPageToken
Page token that can be used to continue listing from the last result in the next list call.
| Returns | |
|---|---|
| Type | Description |
string |
|
setNextPageToken
Page token that can be used to continue listing from the last result in the next list call.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|