Compute V1 Client - Class InstanceGroupManagersListManagedInstancesResponse (1.14.0)

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

setManagedInstances

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

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