Compute V1 Client - Class InstanceGroupManagersListManagedInstancesResponse (1.16.2)

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

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

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>

[Output Only] The list of instances in the managed instance group.

↳ 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

[Output Only] The list of instances in the managed instance group.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setManagedInstances

[Output Only] The list of instances in the managed instance group.

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