Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
Google_Service_Prediction_Hostedmodels_Resource Class Reference

The "hostedmodels" collection of methods. More...

Inheritance diagram for Google_Service_Prediction_Hostedmodels_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 predict ($project, $hostedModelName, Google_Service_Prediction_Input $postBody, $optParams=array())
 Submit input and request an output against a hosted model.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "hostedmodels" collection of methods.

Typical usage is: $predictionService = new Google_Service_Prediction(...); $hostedmodels = $predictionService->hostedmodels;

Member Function Documentation

◆ call()

Google_Service_Resource::call ( $name,
$arguments,
$expected_class = null )
inherited

TODO: This function needs simplifying.

Parameters
$name
$arguments
$expected_class- optional, the expected class name
Return values
Google_Http_Request|expected_class
Exceptions
Google_Exception

◆ predict()

Google_Service_Prediction_Hostedmodels_Resource::predict ( $project,
$hostedModelName,
Google_Service_Prediction_Input $postBody,
$optParams = array() )

Submit input and request an output against a hosted model.

(hostedmodels.predict)

Parameters
string$projectThe project associated with the model.
string$hostedModelNameThe name of a hosted model.
Google_Input$postBody
array$optParamsOptional parameters.
Return values
Google_Service_Prediction_Output

The documentation for this class was generated from the following file: