code: @BetaApi
    public final Snapshot getSnapshot(ProjectGlobalSnapshotName snapshot) {
  
      GetSnapshotHttpRequest request =
          GetSnapshotHttpRequest.newBuilder()
              .setSnapshot(snapshot == null ? null : snapshot.toString())
              .build();
      return getSnapshot(request);
    }
docs: 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);
  }
  </code></pre>
  
  @param snapshot Name of the Snapshot resource to return.
  @throws com.google.api.gax.rpc.ApiException if the remote call fails