@BetaApi
  public final Snapshot getSnapshot(String snapshot) {

    GetSnapshotHttpRequest request =
        GetSnapshotHttpRequest.newBuilder().setSnapshot(snapshot).build();
    return getSnapshot(request);
  }
@ BetaApi public final Snapshot getSnapshot ( String snapshot ) { GetSnapshotHttpRequest request = GetSnapshotHttpRequest . newBuilder ( ) . setSnapshot ( snapshot ) . build ( ) ; return getSnapshot ( request ) ; }
Returns the specified Snapshot resource. Gets a list of available snapshots by making a list()
request.

<p>Sample code:

<pre><code>
try (SnapshotClient snapshotClient = SnapshotClient.create()) {
ProjectGlobalSnapshotName snapshot = ProjectGlobalSnapshotName.of("[PROJECT]", "[SNAPSHOT]");
Snapshot response = snapshotClient.getSnapshot(snapshot.toString());
}
</code></pre>

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