Compute V1 Client - Class RegionInstanceGroupManagersListInstancesResponse (1.7.1)

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

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

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setManagedInstances

A list of managed instances.

Parameter
NameDescription
var array<Google\Cloud\Compute\V1\ManagedInstance>
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this