public function setDefault($name, Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1SetDefaultVersionRequest $postBody, $optParams = array())
  {
    $params = array('name' => $name, 'postBody' => $postBody);
    $params = array_merge($params, $optParams);
    return $this->call('setDefault', array($params), "Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1Version");
  }
public function setDefault($name, Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1SetDefaultVersionRequest $postBody, $optParams = array())
  {
    $params = array('name' => $name, 'postBody' => $postBody);
    $params = array_merge($params, $optParams);
    return $this->call('setDefault', array($params), "Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1Version");
  }
public function setDefault ( $ name , Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1SetDefaultVersionRequest $ postBody , $ optParams = array ( ) ) { $ params = array ( 'name' => $ name , 'postBody' => $ postBody ) ; $ params = array_merge ( $ params , $ optParams ) ; return $ this -> call ( 'setDefault' , array ( $ params ) , "Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1Version" ) ; }
Designates a version to be the default for the model.

The default version is used for prediction requests made against the model
that don't specify a version.

The first version to be created for a model is automatically set as the
default. You must make any subsequent changes to the default version setting
manually using this method. (versions.setDefault)

@param string $name Required. The name of the version to make the default for
the model. You can get the names of all the versions of a model by calling [p
rojects.models.versions.list](/ml/reference/rest/v1beta1/projects.models.vers
ions/list).

Authorization: requires `Editor` role on the parent project.
@param Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1SetDefaultVersionRequest $postBody
@param array $optParams Optional parameters.
@return Google_Service_CloudMachineLearning_GoogleCloudMlV1beta1Version
Designates a version to be the default for the model .