def train_project(project_id, training_type:nil, reserved_budget_in_hours:0, force_train:false, notification_email_address:nil, custom_headers:nil)
      response = train_project_async(project_id, training_type:training_type, reserved_budget_in_hours:reserved_budget_in_hours, force_train:force_train, notification_email_address:notification_email_address, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def train_project(project_id, training_type:nil, reserved_budget_in_hours:0, force_train:false, notification_email_address:nil, custom_headers:nil)
      response = train_project_async(project_id, training_type:training_type, reserved_budget_in_hours:reserved_budget_in_hours, force_train:force_train, notification_email_address:notification_email_address, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Queues project for training.

 @param project_id The project id.
 @param training_type [Enum] The type of training to use to train the project
 (default: Regular). Possible values include: 'Regular', 'Advanced'
 @param reserved_budget_in_hours [Integer] The number of hours reserved as
 budget for training (if applicable).
 @param force_train [Boolean] Whether to force train even if dataset and
 configuration does not change (default: false).
 @param notification_email_address [String] The email address to send
 notification to when training finishes (default: null).
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [Iteration] operation results.