Compute V1 Client - Class InstanceGroupManagersListManagedInstancesResponse (1.5.0)

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

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

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.

Generated from protobuf field repeated .google.cloud.compute.v1.ManagedInstance managed_instances = 336219614;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setManagedInstances

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

Generated from protobuf field repeated .google.cloud.compute.v1.ManagedInstance managed_instances = 336219614;

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.

Generated from protobuf field optional string next_page_token = 79797525;

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.

Generated from protobuf field optional string next_page_token = 79797525;

Parameter
NameDescription
var string
Returns
TypeDescription
$this