@BetaApi
  public final ListRegionInstanceGroupsPagedResponse listRegionInstanceGroups(String region) {
    ListRegionInstanceGroupsHttpRequest request =
        ListRegionInstanceGroupsHttpRequest.newBuilder().setRegion(region).build();
    return listRegionInstanceGroups(request);
  }
@ BetaApi public final ListRegionInstanceGroupsPagedResponse listRegionInstanceGroups ( String region ) { ListRegionInstanceGroupsHttpRequest request = ListRegionInstanceGroupsHttpRequest . newBuilder ( ) . setRegion ( region ) . build ( ) ; return listRegionInstanceGroups ( request ) ; }
Retrieves the list of instance group resources contained within the specified region.

<p>Sample code:

<pre><code>
try (RegionInstanceGroupClient regionInstanceGroupClient = RegionInstanceGroupClient.create()) {
ProjectRegionName region = ProjectRegionName.of("[PROJECT]", "[REGION]");
for (InstanceGroup element : regionInstanceGroupClient.listRegionInstanceGroups(region.toString()).iterateAll()) {
// doThingsWith(element);
}
}
</code></pre>

@param region Name of the region scoping this request.
@throws com.google.api.gax.rpc.ApiException if the remote call fails