code: @BetaApi(
        "The surface for long-running operations is not stable yet and may change in the future.")
    public final OperationFuture<Glossary, CreateGlossaryMetadata> createGlossaryAsync(
        String parent, Glossary glossary) {
      LOCATION_PATH_TEMPLATE.validate(parent, "createGlossary");
      CreateGlossaryRequest request =
          CreateGlossaryRequest.newBuilder().setParent(parent).setGlossary(glossary).build();
      return createGlossaryAsync(request);
    }
docs: Creates a glossary and returns the long-running operation. Returns NOT_FOUND, if the project
  doesn't exist.
  
  <p>Sample code:
  
  <pre><code>
  try (TranslationServiceClient translationServiceClient = TranslationServiceClient.create()) {
  String formattedParent = TranslationServiceClient.formatLocationName("[PROJECT]", "[LOCATION]");
  Glossary glossary = Glossary.newBuilder().build();
  Glossary response = translationServiceClient.createGlossaryAsync(formattedParent, glossary).get();
  }
  </code></pre>
  
  @param parent Required. The project name.
  @param glossary Required. The glossary to create.
  @throws com.google.api.gax.rpc.ApiException if the remote call fails