📄 Source: GoogleCloudAiplatformV1PredictLongRunningRequest.php
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1PredictLongRunningRequest extends \Google\Collection
{
protected $collection_key = 'instances';
/**
* Required. The instances that are the input to the prediction call. A
* DeployedModel may have an upper limit on the number of instances it
* supports per request, and when it is exceeded the prediction call errors in
* case of AutoML Models, or, in case of customer created Models, the
* behaviour is as documented by that Model. The schema of any single instance
* may be specified via Endpoint's DeployedModels' Model's PredictSchemata's
* instance_schema_uri.
*
* @var array[]
*/
public $instances;
/**
* Optional. The labels with user-defined metadata for the request. It is used
* for billing and reporting only. Label keys and values can be no longer than
* 63 characters (Unicode codepoints) and can only contain lowercase letters,
* numeric characters, underscores, and dashes. International characters are
* allowed. Label values are optional. Label keys must start with a letter.
*
* @var string[]
*/
public $labels;
/**
* Optional. 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.
*
* @var array
*/
public $parameters;
/**
* Required. The instances that are the input to the prediction call. A
* DeployedModel may have an upper limit on the number of instances it
* supports per request, and when it is exceeded the prediction call errors in
* case of AutoML Models, or, in case of customer created Models, the
* behaviour is as documented by that Model. The schema of any single instance
* may be specified via Endpoint's DeployedModels' Model's PredictSchemata's
* instance_schema_uri.
*
* @param array[] $instances
*/
public function setInstances($instances)
{
$this->instances = $instances;
}
/**
* @return array[]
*/
public function getInstances()
{
return $this->instances;
}
/**
* Optional. The labels with user-defined metadata for the request. It is used
* for billing and reporting only. Label keys and values can be no longer than
* 63 characters (Unicode codepoints) and can only contain lowercase letters,
* numeric characters, underscores, and dashes. International characters are
* allowed. Label values are optional. Label keys must start with a letter.
*
* @param string[] $labels
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* Optional. 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(GoogleCloudAiplatformV1PredictLongRunningRequest::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1PredictLongRunningRequest');
← Back