Reference documentation and code samples for the Google Cloud Net App V1 Client class ListSnapshotsResponse.
ListSnapshotsResponse is the result of ListSnapshotsRequest.
Generated from protobuf message google.cloud.netapp.v1.ListSnapshotsResponse
Namespace
Google \ Cloud \ NetApp \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ snapshots |
array<Snapshot>
A list of snapshots in the project for the specified volume. |
↳ next_page_token |
string
The token you can use to retrieve the next page of results. Not returned if there are no more results in the list. |
↳ unreachable |
array
Locations that could not be reached. |
getSnapshots
A list of snapshots in the project for the specified volume.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setSnapshots
A list of snapshots in the project for the specified volume.
| Parameter | |
|---|---|
| Name | Description |
var |
array<Snapshot>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getNextPageToken
The token you can use to retrieve the next page of results. Not returned if there are no more results in the list.
| Returns | |
|---|---|
| Type | Description |
string |
|
setNextPageToken
The token you can use to retrieve the next page of results. Not returned if there are no more results in the list.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUnreachable
Locations that could not be reached.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setUnreachable
Locations that could not be reached.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|