code: @BetaApi
    public final Operation deleteSnapshot(ProjectGlobalSnapshotName snapshot) {
  
      DeleteSnapshotHttpRequest request =
          DeleteSnapshotHttpRequest.newBuilder()
              .setSnapshot(snapshot == null ? null : snapshot.toString())
              .build();
      return deleteSnapshot(request);
    }
docs: Deletes the specified Snapshot resource. Keep in mind that deleting a single snapshot might not
  necessarily delete all the data on that snapshot. If any data on the snapshot that is marked
  for deletion is needed for subsequent snapshots, the data will be moved to the next
  corresponding snapshot.
  
  <p>For more information, see Deleting snapshots.
  
  <p>Sample code:
  
  <pre><code>
  try (SnapshotClient snapshotClient = SnapshotClient.create()) {
  ProjectGlobalSnapshotName snapshot = ProjectGlobalSnapshotName.of("[PROJECT]", "[SNAPSHOT]");
  Operation response = snapshotClient.deleteSnapshot(snapshot);
  }
  </code></pre>
  
  @param snapshot Name of the Snapshot resource to delete.
  @throws com.google.api.gax.rpc.ApiException if the remote call fails