code: public final TransferConfig createTransferConfig(String parent, TransferConfig transferConfig) {
  
      CreateTransferConfigRequest request =
          CreateTransferConfigRequest.newBuilder()
              .setParent(parent)
              .setTransferConfig(transferConfig)
              .build();
      return createTransferConfig(request);
    }
docs: Creates a new data transfer configuration.
  
  <p>Sample code:
  
  <pre><code>
  try (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) {
  ParentName parent = ProjectName.of("[PROJECT]");
  TransferConfig transferConfig = TransferConfig.newBuilder().build();
  TransferConfig response = dataTransferServiceClient.createTransferConfig(parent.toString(), transferConfig);
  }
  </code></pre>
  
  @param parent The BigQuery project id where the transfer configuration should be created. Must
  be in the format /projects/{project_id}/locations/{location_id} If specified location and
  location of the destination bigquery dataset do not match - the request will fail.
  @param transferConfig Data transfer configuration to create.
  @throws com.google.api.gax.rpc.ApiException if the remote call fails