def create(self, model_name):
    """Create a model.

    Args:
      model_name: the short name of the model, such as "iris".
    Returns:
      If successful, returns informaiton of the model, such as
      {u'regions': [u'us-central1'], u'name': u'projects/myproject/models/mymodel'}
    Raises:
      If the model creation failed.
    """
    body = {'name': model_name}
    parent = 'projects/' + self._project_id
    # Model creation is instant. If anything goes wrong, Exception will be thrown.
    return self._api.projects().models().create(body=body, parent=parent).execute()
Create a model.

    Args:
      model_name: the short name of the model, such as "iris".
    Returns:
      If successful, returns informaiton of the model, such as
      {u'regions': [u'us-central1'], u'name': u'projects/myproject/models/mymodel'}
    Raises:
      If the model creation failed.