@BetaApi
  public final Autoscaler getRegionAutoscaler(ProjectRegionAutoscalerName autoscaler) {

    GetRegionAutoscalerHttpRequest request =
        GetRegionAutoscalerHttpRequest.newBuilder()
            .setAutoscaler(autoscaler == null ? null : autoscaler.toString())
            .build();
    return getRegionAutoscaler(request);
  }
@ BetaApi public final Autoscaler getRegionAutoscaler ( ProjectRegionAutoscalerName autoscaler ) { GetRegionAutoscalerHttpRequest request = GetRegionAutoscalerHttpRequest . newBuilder ( ) . setAutoscaler ( autoscaler == null ? null : autoscaler . toString ( ) ) . build ( ) ; return getRegionAutoscaler ( request ) ; }
Returns the specified autoscaler.

<p>Sample code:

<pre><code>
try (RegionAutoscalerClient regionAutoscalerClient = RegionAutoscalerClient.create()) {
ProjectRegionAutoscalerName autoscaler = ProjectRegionAutoscalerName.of("[PROJECT]", "[REGION]", "[AUTOSCALER]");
Autoscaler response = regionAutoscalerClient.getRegionAutoscaler(autoscaler);
}
</code></pre>

@param autoscaler Name of the autoscaler to return.
@throws com.google.api.gax.rpc.ApiException if the remote call fails