code: public final TableSpec getTableSpec(String name) {
  
      GetTableSpecRequest request = GetTableSpecRequest.newBuilder().setName(name).build();
      return getTableSpec(request);
    }
docs: Gets a table spec.
  
  <p>Sample code:
  
  <pre><code>
  try (AutoMlClient autoMlClient = AutoMlClient.create()) {
  TableSpecName name = TableSpecName.of("[PROJECT]", "[LOCATION]", "[DATASET]", "[TABLE_SPEC]");
  TableSpec response = autoMlClient.getTableSpec(name.toString());
  }
  </code></pre>
  
  @param name The resource name of the table spec to retrieve.
  @throws com.google.api.gax.rpc.ApiException if the remote call fails