Compute V1 Client - Class RegionInstanceGroupManagersListInstancesResponse (1.19.0)

Reference documentation and code samples for the Compute V1 Client class RegionInstanceGroupManagersListInstancesResponse.

Generated from protobuf message google.cloud.compute.v1.RegionInstanceGroupManagersListInstancesResponse

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ managed_instances array<Google\Cloud\Compute\V1\ManagedInstance>

A list of managed instances.

↳ next_page_token string

[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.

getManagedInstances

A list of managed instances.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setManagedInstances

A list of managed instances.

Parameter
Name Description
var array<Google\Cloud\Compute\V1\ManagedInstance>
Returns
Type Description
$this

getNextPageToken

[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.

Returns
Type Description
string

hasNextPageToken

clearNextPageToken

setNextPageToken

[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.

Parameter
Name Description
var string
Returns
Type Description
$this