instances = $instances; } /** * @return array[] */ public function getInstances() { return $this->instances; } /** * Optional. The user labels for Imagen billing usage only. Only Imagen * supports labels. For other use cases, it will be ignored. * * @param string[] $labels */ public function setLabels($labels) { $this->labels = $labels; } /** * @return string[] */ public function getLabels() { return $this->labels; } /** * The parameters that govern the prediction. The schema of the parameters may * be specified via Endpoint's DeployedModels' Model's PredictSchemata's * parameters_schema_uri. * * @param array $parameters */ public function setParameters($parameters) { $this->parameters = $parameters; } /** * @return array */ public function getParameters() { return $this->parameters; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudAiplatformV1PredictRequest::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1PredictRequest');