@BetaApi
  public final RegionInstanceGroupManagersListInstancesResponse
      listManagedInstancesRegionInstanceGroupManagers(String instanceGroupManager) {

    ListManagedInstancesRegionInstanceGroupManagersHttpRequest request =
        ListManagedInstancesRegionInstanceGroupManagersHttpRequest.newBuilder()
            .setInstanceGroupManager(instanceGroupManager)
            .build();
    return listManagedInstancesRegionInstanceGroupManagers(request);
  }
@ BetaApi public final RegionInstanceGroupManagersListInstancesResponse listManagedInstancesRegionInstanceGroupManagers ( String instanceGroupManager ) { ListManagedInstancesRegionInstanceGroupManagersHttpRequest request = ListManagedInstancesRegionInstanceGroupManagersHttpRequest . newBuilder ( ) . setInstanceGroupManager ( instanceGroupManager ) . build ( ) ; return listManagedInstancesRegionInstanceGroupManagers ( request ) ; }
Lists the instances in the managed instance group and instances that are scheduled to be
created. The list includes any current actions that the group has scheduled for its instances.

<p>Sample code:

<pre><code>
try (RegionInstanceGroupManagerClient regionInstanceGroupManagerClient = RegionInstanceGroupManagerClient.create()) {
ProjectRegionInstanceGroupManagerName instanceGroupManager = ProjectRegionInstanceGroupManagerName.of("[PROJECT]", "[REGION]", "[INSTANCE_GROUP_MANAGER]");
RegionInstanceGroupManagersListInstancesResponse response = regionInstanceGroupManagerClient.listManagedInstancesRegionInstanceGroupManagers(instanceGroupManager.toString());
}
</code></pre>

@param instanceGroupManager The name of the managed instance group.
@throws com.google.api.gax.rpc.ApiException if the remote call fails