Initial commit

This commit is contained in:
Local Administrator
2025-04-18 10:32:42 +02:00
commit b83134aca3
29643 changed files with 3045897 additions and 0 deletions
@@ -0,0 +1,81 @@
<?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\CloudMachineLearningEngine;
class GoogleApiHttpBody extends \Google\Collection
{
protected $collection_key = 'extensions';
/**
* @var string
*/
public $contentType;
/**
* @var string
*/
public $data;
/**
* @var array[]
*/
public $extensions;
/**
* @param string
*/
public function setContentType($contentType)
{
$this->contentType = $contentType;
}
/**
* @return string
*/
public function getContentType()
{
return $this->contentType;
}
/**
* @param string
*/
public function setData($data)
{
$this->data = $data;
}
/**
* @return string
*/
public function getData()
{
return $this->data;
}
/**
* @param array[]
*/
public function setExtensions($extensions)
{
$this->extensions = $extensions;
}
/**
* @return array[]
*/
public function getExtensions()
{
return $this->extensions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleApiHttpBody::class, 'Google_Service_CloudMachineLearningEngine_GoogleApiHttpBody');
@@ -0,0 +1,62 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1AcceleratorConfig extends \Google\Model
{
/**
* @var string
*/
public $count;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setCount($count)
{
$this->count = $count;
}
/**
* @return string
*/
public function getCount()
{
return $this->count;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1AcceleratorConfig::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1AcceleratorConfig');
@@ -0,0 +1,42 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1AddTrialMeasurementRequest extends \Google\Model
{
protected $measurementType = GoogleCloudMlV1Measurement::class;
protected $measurementDataType = '';
/**
* @param GoogleCloudMlV1Measurement
*/
public function setMeasurement(GoogleCloudMlV1Measurement $measurement)
{
$this->measurement = $measurement;
}
/**
* @return GoogleCloudMlV1Measurement
*/
public function getMeasurement()
{
return $this->measurement;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1AddTrialMeasurementRequest::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1AddTrialMeasurementRequest');
@@ -0,0 +1,79 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1AutoScaling extends \Google\Collection
{
protected $collection_key = 'metrics';
/**
* @var int
*/
public $maxNodes;
protected $metricsType = GoogleCloudMlV1MetricSpec::class;
protected $metricsDataType = 'array';
/**
* @var int
*/
public $minNodes;
/**
* @param int
*/
public function setMaxNodes($maxNodes)
{
$this->maxNodes = $maxNodes;
}
/**
* @return int
*/
public function getMaxNodes()
{
return $this->maxNodes;
}
/**
* @param GoogleCloudMlV1MetricSpec[]
*/
public function setMetrics($metrics)
{
$this->metrics = $metrics;
}
/**
* @return GoogleCloudMlV1MetricSpec[]
*/
public function getMetrics()
{
return $this->metrics;
}
/**
* @param int
*/
public function setMinNodes($minNodes)
{
$this->minNodes = $minNodes;
}
/**
* @return int
*/
public function getMinNodes()
{
return $this->minNodes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1AutoScaling::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1AutoScaling');
@@ -0,0 +1,58 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1AutomatedStoppingConfig extends \Google\Model
{
protected $decayCurveStoppingConfigType = GoogleCloudMlV1AutomatedStoppingConfigDecayCurveAutomatedStoppingConfig::class;
protected $decayCurveStoppingConfigDataType = '';
protected $medianAutomatedStoppingConfigType = GoogleCloudMlV1AutomatedStoppingConfigMedianAutomatedStoppingConfig::class;
protected $medianAutomatedStoppingConfigDataType = '';
/**
* @param GoogleCloudMlV1AutomatedStoppingConfigDecayCurveAutomatedStoppingConfig
*/
public function setDecayCurveStoppingConfig(GoogleCloudMlV1AutomatedStoppingConfigDecayCurveAutomatedStoppingConfig $decayCurveStoppingConfig)
{
$this->decayCurveStoppingConfig = $decayCurveStoppingConfig;
}
/**
* @return GoogleCloudMlV1AutomatedStoppingConfigDecayCurveAutomatedStoppingConfig
*/
public function getDecayCurveStoppingConfig()
{
return $this->decayCurveStoppingConfig;
}
/**
* @param GoogleCloudMlV1AutomatedStoppingConfigMedianAutomatedStoppingConfig
*/
public function setMedianAutomatedStoppingConfig(GoogleCloudMlV1AutomatedStoppingConfigMedianAutomatedStoppingConfig $medianAutomatedStoppingConfig)
{
$this->medianAutomatedStoppingConfig = $medianAutomatedStoppingConfig;
}
/**
* @return GoogleCloudMlV1AutomatedStoppingConfigMedianAutomatedStoppingConfig
*/
public function getMedianAutomatedStoppingConfig()
{
return $this->medianAutomatedStoppingConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1AutomatedStoppingConfig::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1AutomatedStoppingConfig');
@@ -0,0 +1,44 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1AutomatedStoppingConfigDecayCurveAutomatedStoppingConfig extends \Google\Model
{
/**
* @var bool
*/
public $useElapsedTime;
/**
* @param bool
*/
public function setUseElapsedTime($useElapsedTime)
{
$this->useElapsedTime = $useElapsedTime;
}
/**
* @return bool
*/
public function getUseElapsedTime()
{
return $this->useElapsedTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1AutomatedStoppingConfigDecayCurveAutomatedStoppingConfig::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1AutomatedStoppingConfigDecayCurveAutomatedStoppingConfig');
@@ -0,0 +1,44 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1AutomatedStoppingConfigMedianAutomatedStoppingConfig extends \Google\Model
{
/**
* @var bool
*/
public $useElapsedTime;
/**
* @param bool
*/
public function setUseElapsedTime($useElapsedTime)
{
$this->useElapsedTime = $useElapsedTime;
}
/**
* @return bool
*/
public function getUseElapsedTime()
{
return $this->useElapsedTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1AutomatedStoppingConfigMedianAutomatedStoppingConfig::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1AutomatedStoppingConfigMedianAutomatedStoppingConfig');
@@ -0,0 +1,98 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1BuiltInAlgorithmOutput extends \Google\Model
{
/**
* @var string
*/
public $framework;
/**
* @var string
*/
public $modelPath;
/**
* @var string
*/
public $pythonVersion;
/**
* @var string
*/
public $runtimeVersion;
/**
* @param string
*/
public function setFramework($framework)
{
$this->framework = $framework;
}
/**
* @return string
*/
public function getFramework()
{
return $this->framework;
}
/**
* @param string
*/
public function setModelPath($modelPath)
{
$this->modelPath = $modelPath;
}
/**
* @return string
*/
public function getModelPath()
{
return $this->modelPath;
}
/**
* @param string
*/
public function setPythonVersion($pythonVersion)
{
$this->pythonVersion = $pythonVersion;
}
/**
* @return string
*/
public function getPythonVersion()
{
return $this->pythonVersion;
}
/**
* @param string
*/
public function setRuntimeVersion($runtimeVersion)
{
$this->runtimeVersion = $runtimeVersion;
}
/**
* @return string
*/
public function getRuntimeVersion()
{
return $this->runtimeVersion;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1BuiltInAlgorithmOutput::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1BuiltInAlgorithmOutput');
@@ -0,0 +1,25 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1CancelJobRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1CancelJobRequest::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1CancelJobRequest');
@@ -0,0 +1,63 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1Capability extends \Google\Collection
{
protected $collection_key = 'availableAccelerators';
/**
* @var string[]
*/
public $availableAccelerators;
/**
* @var string
*/
public $type;
/**
* @param string[]
*/
public function setAvailableAccelerators($availableAccelerators)
{
$this->availableAccelerators = $availableAccelerators;
}
/**
* @return string[]
*/
public function getAvailableAccelerators()
{
return $this->availableAccelerators;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1Capability::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1Capability');
@@ -0,0 +1,80 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1CheckTrialEarlyStoppingStateMetatdata extends \Google\Model
{
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $study;
/**
* @var string
*/
public $trial;
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setStudy($study)
{
$this->study = $study;
}
/**
* @return string
*/
public function getStudy()
{
return $this->study;
}
/**
* @param string
*/
public function setTrial($trial)
{
$this->trial = $trial;
}
/**
* @return string
*/
public function getTrial()
{
return $this->trial;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1CheckTrialEarlyStoppingStateMetatdata::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1CheckTrialEarlyStoppingStateMetatdata');
@@ -0,0 +1,25 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1CheckTrialEarlyStoppingStateRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1CheckTrialEarlyStoppingStateRequest::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1CheckTrialEarlyStoppingStateRequest');
@@ -0,0 +1,80 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1CheckTrialEarlyStoppingStateResponse extends \Google\Model
{
/**
* @var string
*/
public $endTime;
/**
* @var bool
*/
public $shouldStop;
/**
* @var string
*/
public $startTime;
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param bool
*/
public function setShouldStop($shouldStop)
{
$this->shouldStop = $shouldStop;
}
/**
* @return bool
*/
public function getShouldStop()
{
return $this->shouldStop;
}
/**
* @param string
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1CheckTrialEarlyStoppingStateResponse::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1CheckTrialEarlyStoppingStateResponse');
@@ -0,0 +1,78 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1CompleteTrialRequest extends \Google\Model
{
protected $finalMeasurementType = GoogleCloudMlV1Measurement::class;
protected $finalMeasurementDataType = '';
/**
* @var string
*/
public $infeasibleReason;
/**
* @var bool
*/
public $trialInfeasible;
/**
* @param GoogleCloudMlV1Measurement
*/
public function setFinalMeasurement(GoogleCloudMlV1Measurement $finalMeasurement)
{
$this->finalMeasurement = $finalMeasurement;
}
/**
* @return GoogleCloudMlV1Measurement
*/
public function getFinalMeasurement()
{
return $this->finalMeasurement;
}
/**
* @param string
*/
public function setInfeasibleReason($infeasibleReason)
{
$this->infeasibleReason = $infeasibleReason;
}
/**
* @return string
*/
public function getInfeasibleReason()
{
return $this->infeasibleReason;
}
/**
* @param bool
*/
public function setTrialInfeasible($trialInfeasible)
{
$this->trialInfeasible = $trialInfeasible;
}
/**
* @return bool
*/
public function getTrialInfeasible()
{
return $this->trialInfeasible;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1CompleteTrialRequest::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1CompleteTrialRequest');
@@ -0,0 +1,44 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1Config extends \Google\Model
{
/**
* @var string
*/
public $tpuServiceAccount;
/**
* @param string
*/
public function setTpuServiceAccount($tpuServiceAccount)
{
$this->tpuServiceAccount = $tpuServiceAccount;
}
/**
* @return string
*/
public function getTpuServiceAccount()
{
return $this->tpuServiceAccount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1Config::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1Config');
@@ -0,0 +1,44 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1ContainerPort extends \Google\Model
{
/**
* @var int
*/
public $containerPort;
/**
* @param int
*/
public function setContainerPort($containerPort)
{
$this->containerPort = $containerPort;
}
/**
* @return int
*/
public function getContainerPort()
{
return $this->containerPort;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1ContainerPort::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1ContainerPort');
@@ -0,0 +1,113 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1ContainerSpec extends \Google\Collection
{
protected $collection_key = 'ports';
/**
* @var string[]
*/
public $args;
/**
* @var string[]
*/
public $command;
protected $envType = GoogleCloudMlV1EnvVar::class;
protected $envDataType = 'array';
/**
* @var string
*/
public $image;
protected $portsType = GoogleCloudMlV1ContainerPort::class;
protected $portsDataType = 'array';
/**
* @param string[]
*/
public function setArgs($args)
{
$this->args = $args;
}
/**
* @return string[]
*/
public function getArgs()
{
return $this->args;
}
/**
* @param string[]
*/
public function setCommand($command)
{
$this->command = $command;
}
/**
* @return string[]
*/
public function getCommand()
{
return $this->command;
}
/**
* @param GoogleCloudMlV1EnvVar[]
*/
public function setEnv($env)
{
$this->env = $env;
}
/**
* @return GoogleCloudMlV1EnvVar[]
*/
public function getEnv()
{
return $this->env;
}
/**
* @param string
*/
public function setImage($image)
{
$this->image = $image;
}
/**
* @return string
*/
public function getImage()
{
return $this->image;
}
/**
* @param GoogleCloudMlV1ContainerPort[]
*/
public function setPorts($ports)
{
$this->ports = $ports;
}
/**
* @return GoogleCloudMlV1ContainerPort[]
*/
public function getPorts()
{
return $this->ports;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1ContainerSpec::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1ContainerSpec');
@@ -0,0 +1,62 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1DiskConfig extends \Google\Model
{
/**
* @var int
*/
public $bootDiskSizeGb;
/**
* @var string
*/
public $bootDiskType;
/**
* @param int
*/
public function setBootDiskSizeGb($bootDiskSizeGb)
{
$this->bootDiskSizeGb = $bootDiskSizeGb;
}
/**
* @return int
*/
public function getBootDiskSizeGb()
{
return $this->bootDiskSizeGb;
}
/**
* @param string
*/
public function setBootDiskType($bootDiskType)
{
$this->bootDiskType = $bootDiskType;
}
/**
* @return string
*/
public function getBootDiskType()
{
return $this->bootDiskType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1DiskConfig::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1DiskConfig');
@@ -0,0 +1,44 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1EncryptionConfig extends \Google\Model
{
/**
* @var string
*/
public $kmsKeyName;
/**
* @param string
*/
public function setKmsKeyName($kmsKeyName)
{
$this->kmsKeyName = $kmsKeyName;
}
/**
* @return string
*/
public function getKmsKeyName()
{
return $this->kmsKeyName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1EncryptionConfig::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1EncryptionConfig');
@@ -0,0 +1,62 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1EnvVar extends \Google\Model
{
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $value;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return string
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1EnvVar::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1EnvVar');
@@ -0,0 +1,42 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1ExplainRequest extends \Google\Model
{
protected $httpBodyType = GoogleApiHttpBody::class;
protected $httpBodyDataType = '';
/**
* @param GoogleApiHttpBody
*/
public function setHttpBody(GoogleApiHttpBody $httpBody)
{
$this->httpBody = $httpBody;
}
/**
* @return GoogleApiHttpBody
*/
public function getHttpBody()
{
return $this->httpBody;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1ExplainRequest::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1ExplainRequest');
@@ -0,0 +1,74 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1ExplanationConfig extends \Google\Model
{
protected $integratedGradientsAttributionType = GoogleCloudMlV1IntegratedGradientsAttribution::class;
protected $integratedGradientsAttributionDataType = '';
protected $sampledShapleyAttributionType = GoogleCloudMlV1SampledShapleyAttribution::class;
protected $sampledShapleyAttributionDataType = '';
protected $xraiAttributionType = GoogleCloudMlV1XraiAttribution::class;
protected $xraiAttributionDataType = '';
/**
* @param GoogleCloudMlV1IntegratedGradientsAttribution
*/
public function setIntegratedGradientsAttribution(GoogleCloudMlV1IntegratedGradientsAttribution $integratedGradientsAttribution)
{
$this->integratedGradientsAttribution = $integratedGradientsAttribution;
}
/**
* @return GoogleCloudMlV1IntegratedGradientsAttribution
*/
public function getIntegratedGradientsAttribution()
{
return $this->integratedGradientsAttribution;
}
/**
* @param GoogleCloudMlV1SampledShapleyAttribution
*/
public function setSampledShapleyAttribution(GoogleCloudMlV1SampledShapleyAttribution $sampledShapleyAttribution)
{
$this->sampledShapleyAttribution = $sampledShapleyAttribution;
}
/**
* @return GoogleCloudMlV1SampledShapleyAttribution
*/
public function getSampledShapleyAttribution()
{
return $this->sampledShapleyAttribution;
}
/**
* @param GoogleCloudMlV1XraiAttribution
*/
public function setXraiAttribution(GoogleCloudMlV1XraiAttribution $xraiAttribution)
{
$this->xraiAttribution = $xraiAttribution;
}
/**
* @return GoogleCloudMlV1XraiAttribution
*/
public function getXraiAttribution()
{
return $this->xraiAttribution;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1ExplanationConfig::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1ExplanationConfig');
@@ -0,0 +1,78 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1GetConfigResponse extends \Google\Model
{
protected $configType = GoogleCloudMlV1Config::class;
protected $configDataType = '';
/**
* @var string
*/
public $serviceAccount;
/**
* @var string
*/
public $serviceAccountProject;
/**
* @param GoogleCloudMlV1Config
*/
public function setConfig(GoogleCloudMlV1Config $config)
{
$this->config = $config;
}
/**
* @return GoogleCloudMlV1Config
*/
public function getConfig()
{
return $this->config;
}
/**
* @param string
*/
public function setServiceAccount($serviceAccount)
{
$this->serviceAccount = $serviceAccount;
}
/**
* @return string
*/
public function getServiceAccount()
{
return $this->serviceAccount;
}
/**
* @param string
*/
public function setServiceAccountProject($serviceAccountProject)
{
$this->serviceAccountProject = $serviceAccountProject;
}
/**
* @return string
*/
public function getServiceAccountProject()
{
return $this->serviceAccountProject;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1GetConfigResponse::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1GetConfigResponse');
@@ -0,0 +1,201 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1HyperparameterOutput extends \Google\Collection
{
protected $collection_key = 'allMetrics';
protected $allMetricsType = GoogleCloudMlV1HyperparameterOutputHyperparameterMetric::class;
protected $allMetricsDataType = 'array';
protected $builtInAlgorithmOutputType = GoogleCloudMlV1BuiltInAlgorithmOutput::class;
protected $builtInAlgorithmOutputDataType = '';
/**
* @var string
*/
public $endTime;
protected $finalMetricType = GoogleCloudMlV1HyperparameterOutputHyperparameterMetric::class;
protected $finalMetricDataType = '';
/**
* @var string[]
*/
public $hyperparameters;
/**
* @var bool
*/
public $isTrialStoppedEarly;
/**
* @var string
*/
public $startTime;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $trialId;
/**
* @var string[]
*/
public $webAccessUris;
/**
* @param GoogleCloudMlV1HyperparameterOutputHyperparameterMetric[]
*/
public function setAllMetrics($allMetrics)
{
$this->allMetrics = $allMetrics;
}
/**
* @return GoogleCloudMlV1HyperparameterOutputHyperparameterMetric[]
*/
public function getAllMetrics()
{
return $this->allMetrics;
}
/**
* @param GoogleCloudMlV1BuiltInAlgorithmOutput
*/
public function setBuiltInAlgorithmOutput(GoogleCloudMlV1BuiltInAlgorithmOutput $builtInAlgorithmOutput)
{
$this->builtInAlgorithmOutput = $builtInAlgorithmOutput;
}
/**
* @return GoogleCloudMlV1BuiltInAlgorithmOutput
*/
public function getBuiltInAlgorithmOutput()
{
return $this->builtInAlgorithmOutput;
}
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param GoogleCloudMlV1HyperparameterOutputHyperparameterMetric
*/
public function setFinalMetric(GoogleCloudMlV1HyperparameterOutputHyperparameterMetric $finalMetric)
{
$this->finalMetric = $finalMetric;
}
/**
* @return GoogleCloudMlV1HyperparameterOutputHyperparameterMetric
*/
public function getFinalMetric()
{
return $this->finalMetric;
}
/**
* @param string[]
*/
public function setHyperparameters($hyperparameters)
{
$this->hyperparameters = $hyperparameters;
}
/**
* @return string[]
*/
public function getHyperparameters()
{
return $this->hyperparameters;
}
/**
* @param bool
*/
public function setIsTrialStoppedEarly($isTrialStoppedEarly)
{
$this->isTrialStoppedEarly = $isTrialStoppedEarly;
}
/**
* @return bool
*/
public function getIsTrialStoppedEarly()
{
return $this->isTrialStoppedEarly;
}
/**
* @param string
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setTrialId($trialId)
{
$this->trialId = $trialId;
}
/**
* @return string
*/
public function getTrialId()
{
return $this->trialId;
}
/**
* @param string[]
*/
public function setWebAccessUris($webAccessUris)
{
$this->webAccessUris = $webAccessUris;
}
/**
* @return string[]
*/
public function getWebAccessUris()
{
return $this->webAccessUris;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1HyperparameterOutput::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1HyperparameterOutput');
@@ -0,0 +1,53 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1HyperparameterOutputHyperparameterMetric extends \Google\Model
{
public $objectiveValue;
/**
* @var string
*/
public $trainingStep;
public function setObjectiveValue($objectiveValue)
{
$this->objectiveValue = $objectiveValue;
}
public function getObjectiveValue()
{
return $this->objectiveValue;
}
/**
* @param string
*/
public function setTrainingStep($trainingStep)
{
$this->trainingStep = $trainingStep;
}
/**
* @return string
*/
public function getTrainingStep()
{
return $this->trainingStep;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1HyperparameterOutputHyperparameterMetric::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1HyperparameterOutputHyperparameterMetric');
@@ -0,0 +1,187 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1HyperparameterSpec extends \Google\Collection
{
protected $collection_key = 'params';
/**
* @var string
*/
public $algorithm;
/**
* @var bool
*/
public $enableTrialEarlyStopping;
/**
* @var string
*/
public $goal;
/**
* @var string
*/
public $hyperparameterMetricTag;
/**
* @var int
*/
public $maxFailedTrials;
/**
* @var int
*/
public $maxParallelTrials;
/**
* @var int
*/
public $maxTrials;
protected $paramsType = GoogleCloudMlV1ParameterSpec::class;
protected $paramsDataType = 'array';
/**
* @var string
*/
public $resumePreviousJobId;
/**
* @param string
*/
public function setAlgorithm($algorithm)
{
$this->algorithm = $algorithm;
}
/**
* @return string
*/
public function getAlgorithm()
{
return $this->algorithm;
}
/**
* @param bool
*/
public function setEnableTrialEarlyStopping($enableTrialEarlyStopping)
{
$this->enableTrialEarlyStopping = $enableTrialEarlyStopping;
}
/**
* @return bool
*/
public function getEnableTrialEarlyStopping()
{
return $this->enableTrialEarlyStopping;
}
/**
* @param string
*/
public function setGoal($goal)
{
$this->goal = $goal;
}
/**
* @return string
*/
public function getGoal()
{
return $this->goal;
}
/**
* @param string
*/
public function setHyperparameterMetricTag($hyperparameterMetricTag)
{
$this->hyperparameterMetricTag = $hyperparameterMetricTag;
}
/**
* @return string
*/
public function getHyperparameterMetricTag()
{
return $this->hyperparameterMetricTag;
}
/**
* @param int
*/
public function setMaxFailedTrials($maxFailedTrials)
{
$this->maxFailedTrials = $maxFailedTrials;
}
/**
* @return int
*/
public function getMaxFailedTrials()
{
return $this->maxFailedTrials;
}
/**
* @param int
*/
public function setMaxParallelTrials($maxParallelTrials)
{
$this->maxParallelTrials = $maxParallelTrials;
}
/**
* @return int
*/
public function getMaxParallelTrials()
{
return $this->maxParallelTrials;
}
/**
* @param int
*/
public function setMaxTrials($maxTrials)
{
$this->maxTrials = $maxTrials;
}
/**
* @return int
*/
public function getMaxTrials()
{
return $this->maxTrials;
}
/**
* @param GoogleCloudMlV1ParameterSpec[]
*/
public function setParams($params)
{
$this->params = $params;
}
/**
* @return GoogleCloudMlV1ParameterSpec[]
*/
public function getParams()
{
return $this->params;
}
/**
* @param string
*/
public function setResumePreviousJobId($resumePreviousJobId)
{
$this->resumePreviousJobId = $resumePreviousJobId;
}
/**
* @return string
*/
public function getResumePreviousJobId()
{
return $this->resumePreviousJobId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1HyperparameterSpec::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1HyperparameterSpec');
@@ -0,0 +1,44 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1IntegratedGradientsAttribution extends \Google\Model
{
/**
* @var int
*/
public $numIntegralSteps;
/**
* @param int
*/
public function setNumIntegralSteps($numIntegralSteps)
{
$this->numIntegralSteps = $numIntegralSteps;
}
/**
* @return int
*/
public function getNumIntegralSteps()
{
return $this->numIntegralSteps;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1IntegratedGradientsAttribution::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1IntegratedGradientsAttribution');
@@ -0,0 +1,252 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1Job extends \Google\Model
{
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $endTime;
/**
* @var string
*/
public $errorMessage;
/**
* @var string
*/
public $etag;
/**
* @var string
*/
public $jobId;
/**
* @var string
*/
public $jobPosition;
/**
* @var string[]
*/
public $labels;
protected $predictionInputType = GoogleCloudMlV1PredictionInput::class;
protected $predictionInputDataType = '';
protected $predictionOutputType = GoogleCloudMlV1PredictionOutput::class;
protected $predictionOutputDataType = '';
/**
* @var string
*/
public $startTime;
/**
* @var string
*/
public $state;
protected $trainingInputType = GoogleCloudMlV1TrainingInput::class;
protected $trainingInputDataType = '';
protected $trainingOutputType = GoogleCloudMlV1TrainingOutput::class;
protected $trainingOutputDataType = '';
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param string
*/
public function setErrorMessage($errorMessage)
{
$this->errorMessage = $errorMessage;
}
/**
* @return string
*/
public function getErrorMessage()
{
return $this->errorMessage;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param string
*/
public function setJobId($jobId)
{
$this->jobId = $jobId;
}
/**
* @return string
*/
public function getJobId()
{
return $this->jobId;
}
/**
* @param string
*/
public function setJobPosition($jobPosition)
{
$this->jobPosition = $jobPosition;
}
/**
* @return string
*/
public function getJobPosition()
{
return $this->jobPosition;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param GoogleCloudMlV1PredictionInput
*/
public function setPredictionInput(GoogleCloudMlV1PredictionInput $predictionInput)
{
$this->predictionInput = $predictionInput;
}
/**
* @return GoogleCloudMlV1PredictionInput
*/
public function getPredictionInput()
{
return $this->predictionInput;
}
/**
* @param GoogleCloudMlV1PredictionOutput
*/
public function setPredictionOutput(GoogleCloudMlV1PredictionOutput $predictionOutput)
{
$this->predictionOutput = $predictionOutput;
}
/**
* @return GoogleCloudMlV1PredictionOutput
*/
public function getPredictionOutput()
{
return $this->predictionOutput;
}
/**
* @param string
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param GoogleCloudMlV1TrainingInput
*/
public function setTrainingInput(GoogleCloudMlV1TrainingInput $trainingInput)
{
$this->trainingInput = $trainingInput;
}
/**
* @return GoogleCloudMlV1TrainingInput
*/
public function getTrainingInput()
{
return $this->trainingInput;
}
/**
* @param GoogleCloudMlV1TrainingOutput
*/
public function setTrainingOutput(GoogleCloudMlV1TrainingOutput $trainingOutput)
{
$this->trainingOutput = $trainingOutput;
}
/**
* @return GoogleCloudMlV1TrainingOutput
*/
public function getTrainingOutput()
{
return $this->trainingOutput;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1Job::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1Job');
@@ -0,0 +1,61 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1ListJobsResponse extends \Google\Collection
{
protected $collection_key = 'jobs';
protected $jobsType = GoogleCloudMlV1Job::class;
protected $jobsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param GoogleCloudMlV1Job[]
*/
public function setJobs($jobs)
{
$this->jobs = $jobs;
}
/**
* @return GoogleCloudMlV1Job[]
*/
public function getJobs()
{
return $this->jobs;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1ListJobsResponse::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1ListJobsResponse');
@@ -0,0 +1,61 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1ListLocationsResponse extends \Google\Collection
{
protected $collection_key = 'locations';
protected $locationsType = GoogleCloudMlV1Location::class;
protected $locationsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param GoogleCloudMlV1Location[]
*/
public function setLocations($locations)
{
$this->locations = $locations;
}
/**
* @return GoogleCloudMlV1Location[]
*/
public function getLocations()
{
return $this->locations;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1ListLocationsResponse::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1ListLocationsResponse');
@@ -0,0 +1,61 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1ListModelsResponse extends \Google\Collection
{
protected $collection_key = 'models';
protected $modelsType = GoogleCloudMlV1Model::class;
protected $modelsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param GoogleCloudMlV1Model[]
*/
public function setModels($models)
{
$this->models = $models;
}
/**
* @return GoogleCloudMlV1Model[]
*/
public function getModels()
{
return $this->models;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1ListModelsResponse::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1ListModelsResponse');
@@ -0,0 +1,25 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1ListOptimalTrialsRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1ListOptimalTrialsRequest::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1ListOptimalTrialsRequest');
@@ -0,0 +1,43 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1ListOptimalTrialsResponse extends \Google\Collection
{
protected $collection_key = 'trials';
protected $trialsType = GoogleCloudMlV1Trial::class;
protected $trialsDataType = 'array';
/**
* @param GoogleCloudMlV1Trial[]
*/
public function setTrials($trials)
{
$this->trials = $trials;
}
/**
* @return GoogleCloudMlV1Trial[]
*/
public function getTrials()
{
return $this->trials;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1ListOptimalTrialsResponse::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1ListOptimalTrialsResponse');
@@ -0,0 +1,43 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1ListStudiesResponse extends \Google\Collection
{
protected $collection_key = 'studies';
protected $studiesType = GoogleCloudMlV1Study::class;
protected $studiesDataType = 'array';
/**
* @param GoogleCloudMlV1Study[]
*/
public function setStudies($studies)
{
$this->studies = $studies;
}
/**
* @return GoogleCloudMlV1Study[]
*/
public function getStudies()
{
return $this->studies;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1ListStudiesResponse::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1ListStudiesResponse');
@@ -0,0 +1,43 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1ListTrialsResponse extends \Google\Collection
{
protected $collection_key = 'trials';
protected $trialsType = GoogleCloudMlV1Trial::class;
protected $trialsDataType = 'array';
/**
* @param GoogleCloudMlV1Trial[]
*/
public function setTrials($trials)
{
$this->trials = $trials;
}
/**
* @return GoogleCloudMlV1Trial[]
*/
public function getTrials()
{
return $this->trials;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1ListTrialsResponse::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1ListTrialsResponse');
@@ -0,0 +1,61 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1ListVersionsResponse extends \Google\Collection
{
protected $collection_key = 'versions';
/**
* @var string
*/
public $nextPageToken;
protected $versionsType = GoogleCloudMlV1Version::class;
protected $versionsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param GoogleCloudMlV1Version[]
*/
public function setVersions($versions)
{
$this->versions = $versions;
}
/**
* @return GoogleCloudMlV1Version[]
*/
public function getVersions()
{
return $this->versions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1ListVersionsResponse::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1ListVersionsResponse');
@@ -0,0 +1,61 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1Location extends \Google\Collection
{
protected $collection_key = 'capabilities';
protected $capabilitiesType = GoogleCloudMlV1Capability::class;
protected $capabilitiesDataType = 'array';
/**
* @var string
*/
public $name;
/**
* @param GoogleCloudMlV1Capability[]
*/
public function setCapabilities($capabilities)
{
$this->capabilities = $capabilities;
}
/**
* @return GoogleCloudMlV1Capability[]
*/
public function getCapabilities()
{
return $this->capabilities;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1Location::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1Location');
@@ -0,0 +1,44 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1ManualScaling extends \Google\Model
{
/**
* @var int
*/
public $nodes;
/**
* @param int
*/
public function setNodes($nodes)
{
$this->nodes = $nodes;
}
/**
* @return int
*/
public function getNodes()
{
return $this->nodes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1ManualScaling::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1ManualScaling');
@@ -0,0 +1,79 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1Measurement extends \Google\Collection
{
protected $collection_key = 'metrics';
/**
* @var string
*/
public $elapsedTime;
protected $metricsType = GoogleCloudMlV1MeasurementMetric::class;
protected $metricsDataType = 'array';
/**
* @var string
*/
public $stepCount;
/**
* @param string
*/
public function setElapsedTime($elapsedTime)
{
$this->elapsedTime = $elapsedTime;
}
/**
* @return string
*/
public function getElapsedTime()
{
return $this->elapsedTime;
}
/**
* @param GoogleCloudMlV1MeasurementMetric[]
*/
public function setMetrics($metrics)
{
$this->metrics = $metrics;
}
/**
* @return GoogleCloudMlV1MeasurementMetric[]
*/
public function getMetrics()
{
return $this->metrics;
}
/**
* @param string
*/
public function setStepCount($stepCount)
{
$this->stepCount = $stepCount;
}
/**
* @return string
*/
public function getStepCount()
{
return $this->stepCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1Measurement::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1Measurement');
@@ -0,0 +1,53 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1MeasurementMetric extends \Google\Model
{
/**
* @var string
*/
public $metric;
public $value;
/**
* @param string
*/
public function setMetric($metric)
{
$this->metric = $metric;
}
/**
* @return string
*/
public function getMetric()
{
return $this->metric;
}
public function setValue($value)
{
$this->value = $value;
}
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1MeasurementMetric::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1MeasurementMetric');
@@ -0,0 +1,62 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1MetricSpec extends \Google\Model
{
/**
* @var string
*/
public $name;
/**
* @var int
*/
public $target;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param int
*/
public function setTarget($target)
{
$this->target = $target;
}
/**
* @return int
*/
public function getTarget()
{
return $this->target;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1MetricSpec::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1MetricSpec');
@@ -0,0 +1,169 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1Model extends \Google\Collection
{
protected $collection_key = 'regions';
protected $defaultVersionType = GoogleCloudMlV1Version::class;
protected $defaultVersionDataType = '';
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $etag;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $name;
/**
* @var bool
*/
public $onlinePredictionConsoleLogging;
/**
* @var bool
*/
public $onlinePredictionLogging;
/**
* @var string[]
*/
public $regions;
/**
* @param GoogleCloudMlV1Version
*/
public function setDefaultVersion(GoogleCloudMlV1Version $defaultVersion)
{
$this->defaultVersion = $defaultVersion;
}
/**
* @return GoogleCloudMlV1Version
*/
public function getDefaultVersion()
{
return $this->defaultVersion;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param bool
*/
public function setOnlinePredictionConsoleLogging($onlinePredictionConsoleLogging)
{
$this->onlinePredictionConsoleLogging = $onlinePredictionConsoleLogging;
}
/**
* @return bool
*/
public function getOnlinePredictionConsoleLogging()
{
return $this->onlinePredictionConsoleLogging;
}
/**
* @param bool
*/
public function setOnlinePredictionLogging($onlinePredictionLogging)
{
$this->onlinePredictionLogging = $onlinePredictionLogging;
}
/**
* @return bool
*/
public function getOnlinePredictionLogging()
{
return $this->onlinePredictionLogging;
}
/**
* @param string[]
*/
public function setRegions($regions)
{
$this->regions = $regions;
}
/**
* @return string[]
*/
public function getRegions()
{
return $this->regions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1Model::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1Model');
@@ -0,0 +1,186 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1OperationMetadata extends \Google\Model
{
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $endTime;
/**
* @var bool
*/
public $isCancellationRequested;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $modelName;
/**
* @var string
*/
public $operationType;
/**
* @var string
*/
public $projectNumber;
/**
* @var string
*/
public $startTime;
protected $versionType = GoogleCloudMlV1Version::class;
protected $versionDataType = '';
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param bool
*/
public function setIsCancellationRequested($isCancellationRequested)
{
$this->isCancellationRequested = $isCancellationRequested;
}
/**
* @return bool
*/
public function getIsCancellationRequested()
{
return $this->isCancellationRequested;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setModelName($modelName)
{
$this->modelName = $modelName;
}
/**
* @return string
*/
public function getModelName()
{
return $this->modelName;
}
/**
* @param string
*/
public function setOperationType($operationType)
{
$this->operationType = $operationType;
}
/**
* @return string
*/
public function getOperationType()
{
return $this->operationType;
}
/**
* @param string
*/
public function setProjectNumber($projectNumber)
{
$this->projectNumber = $projectNumber;
}
/**
* @return string
*/
public function getProjectNumber()
{
return $this->projectNumber;
}
/**
* @param string
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
/**
* @param GoogleCloudMlV1Version
*/
public function setVersion(GoogleCloudMlV1Version $version)
{
$this->version = $version;
}
/**
* @return GoogleCloudMlV1Version
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1OperationMetadata::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1OperationMetadata');
@@ -0,0 +1,126 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1ParameterSpec extends \Google\Collection
{
protected $collection_key = 'discreteValues';
/**
* @var string[]
*/
public $categoricalValues;
public $discreteValues;
public $maxValue;
public $minValue;
/**
* @var string
*/
public $parameterName;
/**
* @var string
*/
public $scaleType;
/**
* @var string
*/
public $type;
/**
* @param string[]
*/
public function setCategoricalValues($categoricalValues)
{
$this->categoricalValues = $categoricalValues;
}
/**
* @return string[]
*/
public function getCategoricalValues()
{
return $this->categoricalValues;
}
public function setDiscreteValues($discreteValues)
{
$this->discreteValues = $discreteValues;
}
public function getDiscreteValues()
{
return $this->discreteValues;
}
public function setMaxValue($maxValue)
{
$this->maxValue = $maxValue;
}
public function getMaxValue()
{
return $this->maxValue;
}
public function setMinValue($minValue)
{
$this->minValue = $minValue;
}
public function getMinValue()
{
return $this->minValue;
}
/**
* @param string
*/
public function setParameterName($parameterName)
{
$this->parameterName = $parameterName;
}
/**
* @return string
*/
public function getParameterName()
{
return $this->parameterName;
}
/**
* @param string
*/
public function setScaleType($scaleType)
{
$this->scaleType = $scaleType;
}
/**
* @return string
*/
public function getScaleType()
{
return $this->scaleType;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1ParameterSpec::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1ParameterSpec');
@@ -0,0 +1,42 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1PredictRequest extends \Google\Model
{
protected $httpBodyType = GoogleApiHttpBody::class;
protected $httpBodyDataType = '';
/**
* @param GoogleApiHttpBody
*/
public function setHttpBody(GoogleApiHttpBody $httpBody)
{
$this->httpBody = $httpBody;
}
/**
* @return GoogleApiHttpBody
*/
public function getHttpBody()
{
return $this->httpBody;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1PredictRequest::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1PredictRequest');
@@ -0,0 +1,243 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1PredictionInput extends \Google\Collection
{
protected $collection_key = 'inputPaths';
/**
* @var string
*/
public $batchSize;
/**
* @var string
*/
public $dataFormat;
/**
* @var string[]
*/
public $inputPaths;
/**
* @var string
*/
public $maxWorkerCount;
/**
* @var string
*/
public $modelName;
/**
* @var string
*/
public $outputDataFormat;
/**
* @var string
*/
public $outputPath;
/**
* @var string
*/
public $region;
/**
* @var string
*/
public $runtimeVersion;
/**
* @var string
*/
public $signatureName;
/**
* @var string
*/
public $uri;
/**
* @var string
*/
public $versionName;
/**
* @param string
*/
public function setBatchSize($batchSize)
{
$this->batchSize = $batchSize;
}
/**
* @return string
*/
public function getBatchSize()
{
return $this->batchSize;
}
/**
* @param string
*/
public function setDataFormat($dataFormat)
{
$this->dataFormat = $dataFormat;
}
/**
* @return string
*/
public function getDataFormat()
{
return $this->dataFormat;
}
/**
* @param string[]
*/
public function setInputPaths($inputPaths)
{
$this->inputPaths = $inputPaths;
}
/**
* @return string[]
*/
public function getInputPaths()
{
return $this->inputPaths;
}
/**
* @param string
*/
public function setMaxWorkerCount($maxWorkerCount)
{
$this->maxWorkerCount = $maxWorkerCount;
}
/**
* @return string
*/
public function getMaxWorkerCount()
{
return $this->maxWorkerCount;
}
/**
* @param string
*/
public function setModelName($modelName)
{
$this->modelName = $modelName;
}
/**
* @return string
*/
public function getModelName()
{
return $this->modelName;
}
/**
* @param string
*/
public function setOutputDataFormat($outputDataFormat)
{
$this->outputDataFormat = $outputDataFormat;
}
/**
* @return string
*/
public function getOutputDataFormat()
{
return $this->outputDataFormat;
}
/**
* @param string
*/
public function setOutputPath($outputPath)
{
$this->outputPath = $outputPath;
}
/**
* @return string
*/
public function getOutputPath()
{
return $this->outputPath;
}
/**
* @param string
*/
public function setRegion($region)
{
$this->region = $region;
}
/**
* @return string
*/
public function getRegion()
{
return $this->region;
}
/**
* @param string
*/
public function setRuntimeVersion($runtimeVersion)
{
$this->runtimeVersion = $runtimeVersion;
}
/**
* @return string
*/
public function getRuntimeVersion()
{
return $this->runtimeVersion;
}
/**
* @param string
*/
public function setSignatureName($signatureName)
{
$this->signatureName = $signatureName;
}
/**
* @return string
*/
public function getSignatureName()
{
return $this->signatureName;
}
/**
* @param string
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
/**
* @param string
*/
public function setVersionName($versionName)
{
$this->versionName = $versionName;
}
/**
* @return string
*/
public function getVersionName()
{
return $this->versionName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1PredictionInput::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1PredictionInput');
@@ -0,0 +1,89 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1PredictionOutput extends \Google\Model
{
/**
* @var string
*/
public $errorCount;
public $nodeHours;
/**
* @var string
*/
public $outputPath;
/**
* @var string
*/
public $predictionCount;
/**
* @param string
*/
public function setErrorCount($errorCount)
{
$this->errorCount = $errorCount;
}
/**
* @return string
*/
public function getErrorCount()
{
return $this->errorCount;
}
public function setNodeHours($nodeHours)
{
$this->nodeHours = $nodeHours;
}
public function getNodeHours()
{
return $this->nodeHours;
}
/**
* @param string
*/
public function setOutputPath($outputPath)
{
$this->outputPath = $outputPath;
}
/**
* @return string
*/
public function getOutputPath()
{
return $this->outputPath;
}
/**
* @param string
*/
public function setPredictionCount($predictionCount)
{
$this->predictionCount = $predictionCount;
}
/**
* @return string
*/
public function getPredictionCount()
{
return $this->predictionCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1PredictionOutput::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1PredictionOutput');
@@ -0,0 +1,131 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1ReplicaConfig extends \Google\Collection
{
protected $collection_key = 'containerCommand';
protected $acceleratorConfigType = GoogleCloudMlV1AcceleratorConfig::class;
protected $acceleratorConfigDataType = '';
/**
* @var string[]
*/
public $containerArgs;
/**
* @var string[]
*/
public $containerCommand;
protected $diskConfigType = GoogleCloudMlV1DiskConfig::class;
protected $diskConfigDataType = '';
/**
* @var string
*/
public $imageUri;
/**
* @var string
*/
public $tpuTfVersion;
/**
* @param GoogleCloudMlV1AcceleratorConfig
*/
public function setAcceleratorConfig(GoogleCloudMlV1AcceleratorConfig $acceleratorConfig)
{
$this->acceleratorConfig = $acceleratorConfig;
}
/**
* @return GoogleCloudMlV1AcceleratorConfig
*/
public function getAcceleratorConfig()
{
return $this->acceleratorConfig;
}
/**
* @param string[]
*/
public function setContainerArgs($containerArgs)
{
$this->containerArgs = $containerArgs;
}
/**
* @return string[]
*/
public function getContainerArgs()
{
return $this->containerArgs;
}
/**
* @param string[]
*/
public function setContainerCommand($containerCommand)
{
$this->containerCommand = $containerCommand;
}
/**
* @return string[]
*/
public function getContainerCommand()
{
return $this->containerCommand;
}
/**
* @param GoogleCloudMlV1DiskConfig
*/
public function setDiskConfig(GoogleCloudMlV1DiskConfig $diskConfig)
{
$this->diskConfig = $diskConfig;
}
/**
* @return GoogleCloudMlV1DiskConfig
*/
public function getDiskConfig()
{
return $this->diskConfig;
}
/**
* @param string
*/
public function setImageUri($imageUri)
{
$this->imageUri = $imageUri;
}
/**
* @return string
*/
public function getImageUri()
{
return $this->imageUri;
}
/**
* @param string
*/
public function setTpuTfVersion($tpuTfVersion)
{
$this->tpuTfVersion = $tpuTfVersion;
}
/**
* @return string
*/
public function getTpuTfVersion()
{
return $this->tpuTfVersion;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1ReplicaConfig::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1ReplicaConfig');
@@ -0,0 +1,53 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1RequestLoggingConfig extends \Google\Model
{
/**
* @var string
*/
public $bigqueryTableName;
public $samplingPercentage;
/**
* @param string
*/
public function setBigqueryTableName($bigqueryTableName)
{
$this->bigqueryTableName = $bigqueryTableName;
}
/**
* @return string
*/
public function getBigqueryTableName()
{
return $this->bigqueryTableName;
}
public function setSamplingPercentage($samplingPercentage)
{
$this->samplingPercentage = $samplingPercentage;
}
public function getSamplingPercentage()
{
return $this->samplingPercentage;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1RequestLoggingConfig::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1RequestLoggingConfig');
@@ -0,0 +1,62 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1RouteMap extends \Google\Model
{
/**
* @var string
*/
public $health;
/**
* @var string
*/
public $predict;
/**
* @param string
*/
public function setHealth($health)
{
$this->health = $health;
}
/**
* @return string
*/
public function getHealth()
{
return $this->health;
}
/**
* @param string
*/
public function setPredict($predict)
{
$this->predict = $predict;
}
/**
* @return string
*/
public function getPredict()
{
return $this->predict;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1RouteMap::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1RouteMap');
@@ -0,0 +1,44 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1SampledShapleyAttribution extends \Google\Model
{
/**
* @var int
*/
public $numPaths;
/**
* @param int
*/
public function setNumPaths($numPaths)
{
$this->numPaths = $numPaths;
}
/**
* @return int
*/
public function getNumPaths()
{
return $this->numPaths;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1SampledShapleyAttribution::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1SampledShapleyAttribution');
@@ -0,0 +1,80 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1Scheduling extends \Google\Model
{
/**
* @var string
*/
public $maxRunningTime;
/**
* @var string
*/
public $maxWaitTime;
/**
* @var int
*/
public $priority;
/**
* @param string
*/
public function setMaxRunningTime($maxRunningTime)
{
$this->maxRunningTime = $maxRunningTime;
}
/**
* @return string
*/
public function getMaxRunningTime()
{
return $this->maxRunningTime;
}
/**
* @param string
*/
public function setMaxWaitTime($maxWaitTime)
{
$this->maxWaitTime = $maxWaitTime;
}
/**
* @return string
*/
public function getMaxWaitTime()
{
return $this->maxWaitTime;
}
/**
* @param int
*/
public function setPriority($priority)
{
$this->priority = $priority;
}
/**
* @return int
*/
public function getPriority()
{
return $this->priority;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1Scheduling::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1Scheduling');
@@ -0,0 +1,25 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1SetDefaultVersionRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1SetDefaultVersionRequest::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1SetDefaultVersionRequest');
@@ -0,0 +1,25 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1StopTrialRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1StopTrialRequest::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1StopTrialRequest');
@@ -0,0 +1,114 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1Study extends \Google\Model
{
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $inactiveReason;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $state;
protected $studyConfigType = GoogleCloudMlV1StudyConfig::class;
protected $studyConfigDataType = '';
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setInactiveReason($inactiveReason)
{
$this->inactiveReason = $inactiveReason;
}
/**
* @return string
*/
public function getInactiveReason()
{
return $this->inactiveReason;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param GoogleCloudMlV1StudyConfig
*/
public function setStudyConfig(GoogleCloudMlV1StudyConfig $studyConfig)
{
$this->studyConfig = $studyConfig;
}
/**
* @return GoogleCloudMlV1StudyConfig
*/
public function getStudyConfig()
{
return $this->studyConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1Study::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1Study');
@@ -0,0 +1,93 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1StudyConfig extends \Google\Collection
{
protected $collection_key = 'parameters';
/**
* @var string
*/
public $algorithm;
protected $automatedStoppingConfigType = GoogleCloudMlV1AutomatedStoppingConfig::class;
protected $automatedStoppingConfigDataType = '';
protected $metricsType = GoogleCloudMlV1StudyConfigMetricSpec::class;
protected $metricsDataType = 'array';
protected $parametersType = GoogleCloudMlV1StudyConfigParameterSpec::class;
protected $parametersDataType = 'array';
/**
* @param string
*/
public function setAlgorithm($algorithm)
{
$this->algorithm = $algorithm;
}
/**
* @return string
*/
public function getAlgorithm()
{
return $this->algorithm;
}
/**
* @param GoogleCloudMlV1AutomatedStoppingConfig
*/
public function setAutomatedStoppingConfig(GoogleCloudMlV1AutomatedStoppingConfig $automatedStoppingConfig)
{
$this->automatedStoppingConfig = $automatedStoppingConfig;
}
/**
* @return GoogleCloudMlV1AutomatedStoppingConfig
*/
public function getAutomatedStoppingConfig()
{
return $this->automatedStoppingConfig;
}
/**
* @param GoogleCloudMlV1StudyConfigMetricSpec[]
*/
public function setMetrics($metrics)
{
$this->metrics = $metrics;
}
/**
* @return GoogleCloudMlV1StudyConfigMetricSpec[]
*/
public function getMetrics()
{
return $this->metrics;
}
/**
* @param GoogleCloudMlV1StudyConfigParameterSpec[]
*/
public function setParameters($parameters)
{
$this->parameters = $parameters;
}
/**
* @return GoogleCloudMlV1StudyConfigParameterSpec[]
*/
public function getParameters()
{
return $this->parameters;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1StudyConfig::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1StudyConfig');
@@ -0,0 +1,62 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1StudyConfigMetricSpec extends \Google\Model
{
/**
* @var string
*/
public $goal;
/**
* @var string
*/
public $metric;
/**
* @param string
*/
public function setGoal($goal)
{
$this->goal = $goal;
}
/**
* @return string
*/
public function getGoal()
{
return $this->goal;
}
/**
* @param string
*/
public function setMetric($metric)
{
$this->metric = $metric;
}
/**
* @return string
*/
public function getMetric()
{
return $this->metric;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1StudyConfigMetricSpec::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1StudyConfigMetricSpec');
@@ -0,0 +1,209 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1StudyConfigParameterSpec extends \Google\Collection
{
protected $collection_key = 'childParameterSpecs';
protected $categoricalValueSpecType = GoogleCloudMlV1StudyConfigParameterSpecCategoricalValueSpec::class;
protected $categoricalValueSpecDataType = '';
protected $childParameterSpecsType = GoogleCloudMlV1StudyConfigParameterSpec::class;
protected $childParameterSpecsDataType = 'array';
protected $discreteValueSpecType = GoogleCloudMlV1StudyConfigParameterSpecDiscreteValueSpec::class;
protected $discreteValueSpecDataType = '';
protected $doubleValueSpecType = GoogleCloudMlV1StudyConfigParameterSpecDoubleValueSpec::class;
protected $doubleValueSpecDataType = '';
protected $integerValueSpecType = GoogleCloudMlV1StudyConfigParameterSpecIntegerValueSpec::class;
protected $integerValueSpecDataType = '';
/**
* @var string
*/
public $parameter;
protected $parentCategoricalValuesType = GoogleCloudMlV1StudyConfigParameterSpecMatchingParentCategoricalValueSpec::class;
protected $parentCategoricalValuesDataType = '';
protected $parentDiscreteValuesType = GoogleCloudMlV1StudyConfigParameterSpecMatchingParentDiscreteValueSpec::class;
protected $parentDiscreteValuesDataType = '';
protected $parentIntValuesType = GoogleCloudMlV1StudyConfigParameterSpecMatchingParentIntValueSpec::class;
protected $parentIntValuesDataType = '';
/**
* @var string
*/
public $scaleType;
/**
* @var string
*/
public $type;
/**
* @param GoogleCloudMlV1StudyConfigParameterSpecCategoricalValueSpec
*/
public function setCategoricalValueSpec(GoogleCloudMlV1StudyConfigParameterSpecCategoricalValueSpec $categoricalValueSpec)
{
$this->categoricalValueSpec = $categoricalValueSpec;
}
/**
* @return GoogleCloudMlV1StudyConfigParameterSpecCategoricalValueSpec
*/
public function getCategoricalValueSpec()
{
return $this->categoricalValueSpec;
}
/**
* @param GoogleCloudMlV1StudyConfigParameterSpec[]
*/
public function setChildParameterSpecs($childParameterSpecs)
{
$this->childParameterSpecs = $childParameterSpecs;
}
/**
* @return GoogleCloudMlV1StudyConfigParameterSpec[]
*/
public function getChildParameterSpecs()
{
return $this->childParameterSpecs;
}
/**
* @param GoogleCloudMlV1StudyConfigParameterSpecDiscreteValueSpec
*/
public function setDiscreteValueSpec(GoogleCloudMlV1StudyConfigParameterSpecDiscreteValueSpec $discreteValueSpec)
{
$this->discreteValueSpec = $discreteValueSpec;
}
/**
* @return GoogleCloudMlV1StudyConfigParameterSpecDiscreteValueSpec
*/
public function getDiscreteValueSpec()
{
return $this->discreteValueSpec;
}
/**
* @param GoogleCloudMlV1StudyConfigParameterSpecDoubleValueSpec
*/
public function setDoubleValueSpec(GoogleCloudMlV1StudyConfigParameterSpecDoubleValueSpec $doubleValueSpec)
{
$this->doubleValueSpec = $doubleValueSpec;
}
/**
* @return GoogleCloudMlV1StudyConfigParameterSpecDoubleValueSpec
*/
public function getDoubleValueSpec()
{
return $this->doubleValueSpec;
}
/**
* @param GoogleCloudMlV1StudyConfigParameterSpecIntegerValueSpec
*/
public function setIntegerValueSpec(GoogleCloudMlV1StudyConfigParameterSpecIntegerValueSpec $integerValueSpec)
{
$this->integerValueSpec = $integerValueSpec;
}
/**
* @return GoogleCloudMlV1StudyConfigParameterSpecIntegerValueSpec
*/
public function getIntegerValueSpec()
{
return $this->integerValueSpec;
}
/**
* @param string
*/
public function setParameter($parameter)
{
$this->parameter = $parameter;
}
/**
* @return string
*/
public function getParameter()
{
return $this->parameter;
}
/**
* @param GoogleCloudMlV1StudyConfigParameterSpecMatchingParentCategoricalValueSpec
*/
public function setParentCategoricalValues(GoogleCloudMlV1StudyConfigParameterSpecMatchingParentCategoricalValueSpec $parentCategoricalValues)
{
$this->parentCategoricalValues = $parentCategoricalValues;
}
/**
* @return GoogleCloudMlV1StudyConfigParameterSpecMatchingParentCategoricalValueSpec
*/
public function getParentCategoricalValues()
{
return $this->parentCategoricalValues;
}
/**
* @param GoogleCloudMlV1StudyConfigParameterSpecMatchingParentDiscreteValueSpec
*/
public function setParentDiscreteValues(GoogleCloudMlV1StudyConfigParameterSpecMatchingParentDiscreteValueSpec $parentDiscreteValues)
{
$this->parentDiscreteValues = $parentDiscreteValues;
}
/**
* @return GoogleCloudMlV1StudyConfigParameterSpecMatchingParentDiscreteValueSpec
*/
public function getParentDiscreteValues()
{
return $this->parentDiscreteValues;
}
/**
* @param GoogleCloudMlV1StudyConfigParameterSpecMatchingParentIntValueSpec
*/
public function setParentIntValues(GoogleCloudMlV1StudyConfigParameterSpecMatchingParentIntValueSpec $parentIntValues)
{
$this->parentIntValues = $parentIntValues;
}
/**
* @return GoogleCloudMlV1StudyConfigParameterSpecMatchingParentIntValueSpec
*/
public function getParentIntValues()
{
return $this->parentIntValues;
}
/**
* @param string
*/
public function setScaleType($scaleType)
{
$this->scaleType = $scaleType;
}
/**
* @return string
*/
public function getScaleType()
{
return $this->scaleType;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1StudyConfigParameterSpec::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1StudyConfigParameterSpec');
@@ -0,0 +1,45 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1StudyConfigParameterSpecCategoricalValueSpec extends \Google\Collection
{
protected $collection_key = 'values';
/**
* @var string[]
*/
public $values;
/**
* @param string[]
*/
public function setValues($values)
{
$this->values = $values;
}
/**
* @return string[]
*/
public function getValues()
{
return $this->values;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1StudyConfigParameterSpecCategoricalValueSpec::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1StudyConfigParameterSpecCategoricalValueSpec');
@@ -0,0 +1,36 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1StudyConfigParameterSpecDiscreteValueSpec extends \Google\Collection
{
protected $collection_key = 'values';
public $values;
public function setValues($values)
{
$this->values = $values;
}
public function getValues()
{
return $this->values;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1StudyConfigParameterSpecDiscreteValueSpec::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1StudyConfigParameterSpecDiscreteValueSpec');
@@ -0,0 +1,44 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1StudyConfigParameterSpecDoubleValueSpec extends \Google\Model
{
public $maxValue;
public $minValue;
public function setMaxValue($maxValue)
{
$this->maxValue = $maxValue;
}
public function getMaxValue()
{
return $this->maxValue;
}
public function setMinValue($minValue)
{
$this->minValue = $minValue;
}
public function getMinValue()
{
return $this->minValue;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1StudyConfigParameterSpecDoubleValueSpec::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1StudyConfigParameterSpecDoubleValueSpec');
@@ -0,0 +1,62 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1StudyConfigParameterSpecIntegerValueSpec extends \Google\Model
{
/**
* @var string
*/
public $maxValue;
/**
* @var string
*/
public $minValue;
/**
* @param string
*/
public function setMaxValue($maxValue)
{
$this->maxValue = $maxValue;
}
/**
* @return string
*/
public function getMaxValue()
{
return $this->maxValue;
}
/**
* @param string
*/
public function setMinValue($minValue)
{
$this->minValue = $minValue;
}
/**
* @return string
*/
public function getMinValue()
{
return $this->minValue;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1StudyConfigParameterSpecIntegerValueSpec::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1StudyConfigParameterSpecIntegerValueSpec');
@@ -0,0 +1,45 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1StudyConfigParameterSpecMatchingParentCategoricalValueSpec extends \Google\Collection
{
protected $collection_key = 'values';
/**
* @var string[]
*/
public $values;
/**
* @param string[]
*/
public function setValues($values)
{
$this->values = $values;
}
/**
* @return string[]
*/
public function getValues()
{
return $this->values;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1StudyConfigParameterSpecMatchingParentCategoricalValueSpec::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1StudyConfigParameterSpecMatchingParentCategoricalValueSpec');
@@ -0,0 +1,36 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1StudyConfigParameterSpecMatchingParentDiscreteValueSpec extends \Google\Collection
{
protected $collection_key = 'values';
public $values;
public function setValues($values)
{
$this->values = $values;
}
public function getValues()
{
return $this->values;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1StudyConfigParameterSpecMatchingParentDiscreteValueSpec::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1StudyConfigParameterSpecMatchingParentDiscreteValueSpec');
@@ -0,0 +1,45 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1StudyConfigParameterSpecMatchingParentIntValueSpec extends \Google\Collection
{
protected $collection_key = 'values';
/**
* @var string[]
*/
public $values;
/**
* @param string[]
*/
public function setValues($values)
{
$this->values = $values;
}
/**
* @return string[]
*/
public function getValues()
{
return $this->values;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1StudyConfigParameterSpecMatchingParentIntValueSpec::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1StudyConfigParameterSpecMatchingParentIntValueSpec');
@@ -0,0 +1,98 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1SuggestTrialsMetadata extends \Google\Model
{
/**
* @var string
*/
public $clientId;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $study;
/**
* @var int
*/
public $suggestionCount;
/**
* @param string
*/
public function setClientId($clientId)
{
$this->clientId = $clientId;
}
/**
* @return string
*/
public function getClientId()
{
return $this->clientId;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setStudy($study)
{
$this->study = $study;
}
/**
* @return string
*/
public function getStudy()
{
return $this->study;
}
/**
* @param int
*/
public function setSuggestionCount($suggestionCount)
{
$this->suggestionCount = $suggestionCount;
}
/**
* @return int
*/
public function getSuggestionCount()
{
return $this->suggestionCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1SuggestTrialsMetadata::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1SuggestTrialsMetadata');
@@ -0,0 +1,62 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1SuggestTrialsRequest extends \Google\Model
{
/**
* @var string
*/
public $clientId;
/**
* @var int
*/
public $suggestionCount;
/**
* @param string
*/
public function setClientId($clientId)
{
$this->clientId = $clientId;
}
/**
* @return string
*/
public function getClientId()
{
return $this->clientId;
}
/**
* @param int
*/
public function setSuggestionCount($suggestionCount)
{
$this->suggestionCount = $suggestionCount;
}
/**
* @return int
*/
public function getSuggestionCount()
{
return $this->suggestionCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1SuggestTrialsRequest::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1SuggestTrialsRequest');
@@ -0,0 +1,97 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1SuggestTrialsResponse extends \Google\Collection
{
protected $collection_key = 'trials';
/**
* @var string
*/
public $endTime;
/**
* @var string
*/
public $startTime;
/**
* @var string
*/
public $studyState;
protected $trialsType = GoogleCloudMlV1Trial::class;
protected $trialsDataType = 'array';
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param string
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
/**
* @param string
*/
public function setStudyState($studyState)
{
$this->studyState = $studyState;
}
/**
* @return string
*/
public function getStudyState()
{
return $this->studyState;
}
/**
* @param GoogleCloudMlV1Trial[]
*/
public function setTrials($trials)
{
$this->trials = $trials;
}
/**
* @return GoogleCloudMlV1Trial[]
*/
public function getTrials()
{
return $this->trials;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1SuggestTrialsResponse::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1SuggestTrialsResponse');
@@ -0,0 +1,481 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1TrainingInput extends \Google\Collection
{
protected $collection_key = 'packageUris';
/**
* @var string[]
*/
public $args;
/**
* @var bool
*/
public $enableWebAccess;
protected $encryptionConfigType = GoogleCloudMlV1EncryptionConfig::class;
protected $encryptionConfigDataType = '';
protected $evaluatorConfigType = GoogleCloudMlV1ReplicaConfig::class;
protected $evaluatorConfigDataType = '';
/**
* @var string
*/
public $evaluatorCount;
/**
* @var string
*/
public $evaluatorType;
protected $hyperparametersType = GoogleCloudMlV1HyperparameterSpec::class;
protected $hyperparametersDataType = '';
/**
* @var string
*/
public $jobDir;
protected $masterConfigType = GoogleCloudMlV1ReplicaConfig::class;
protected $masterConfigDataType = '';
/**
* @var string
*/
public $masterType;
/**
* @var string
*/
public $network;
/**
* @var string[]
*/
public $packageUris;
protected $parameterServerConfigType = GoogleCloudMlV1ReplicaConfig::class;
protected $parameterServerConfigDataType = '';
/**
* @var string
*/
public $parameterServerCount;
/**
* @var string
*/
public $parameterServerType;
/**
* @var string
*/
public $pythonModule;
/**
* @var string
*/
public $pythonVersion;
/**
* @var string
*/
public $region;
/**
* @var string
*/
public $runtimeVersion;
/**
* @var string
*/
public $scaleTier;
protected $schedulingType = GoogleCloudMlV1Scheduling::class;
protected $schedulingDataType = '';
/**
* @var string
*/
public $serviceAccount;
/**
* @var bool
*/
public $useChiefInTfConfig;
protected $workerConfigType = GoogleCloudMlV1ReplicaConfig::class;
protected $workerConfigDataType = '';
/**
* @var string
*/
public $workerCount;
/**
* @var string
*/
public $workerType;
/**
* @param string[]
*/
public function setArgs($args)
{
$this->args = $args;
}
/**
* @return string[]
*/
public function getArgs()
{
return $this->args;
}
/**
* @param bool
*/
public function setEnableWebAccess($enableWebAccess)
{
$this->enableWebAccess = $enableWebAccess;
}
/**
* @return bool
*/
public function getEnableWebAccess()
{
return $this->enableWebAccess;
}
/**
* @param GoogleCloudMlV1EncryptionConfig
*/
public function setEncryptionConfig(GoogleCloudMlV1EncryptionConfig $encryptionConfig)
{
$this->encryptionConfig = $encryptionConfig;
}
/**
* @return GoogleCloudMlV1EncryptionConfig
*/
public function getEncryptionConfig()
{
return $this->encryptionConfig;
}
/**
* @param GoogleCloudMlV1ReplicaConfig
*/
public function setEvaluatorConfig(GoogleCloudMlV1ReplicaConfig $evaluatorConfig)
{
$this->evaluatorConfig = $evaluatorConfig;
}
/**
* @return GoogleCloudMlV1ReplicaConfig
*/
public function getEvaluatorConfig()
{
return $this->evaluatorConfig;
}
/**
* @param string
*/
public function setEvaluatorCount($evaluatorCount)
{
$this->evaluatorCount = $evaluatorCount;
}
/**
* @return string
*/
public function getEvaluatorCount()
{
return $this->evaluatorCount;
}
/**
* @param string
*/
public function setEvaluatorType($evaluatorType)
{
$this->evaluatorType = $evaluatorType;
}
/**
* @return string
*/
public function getEvaluatorType()
{
return $this->evaluatorType;
}
/**
* @param GoogleCloudMlV1HyperparameterSpec
*/
public function setHyperparameters(GoogleCloudMlV1HyperparameterSpec $hyperparameters)
{
$this->hyperparameters = $hyperparameters;
}
/**
* @return GoogleCloudMlV1HyperparameterSpec
*/
public function getHyperparameters()
{
return $this->hyperparameters;
}
/**
* @param string
*/
public function setJobDir($jobDir)
{
$this->jobDir = $jobDir;
}
/**
* @return string
*/
public function getJobDir()
{
return $this->jobDir;
}
/**
* @param GoogleCloudMlV1ReplicaConfig
*/
public function setMasterConfig(GoogleCloudMlV1ReplicaConfig $masterConfig)
{
$this->masterConfig = $masterConfig;
}
/**
* @return GoogleCloudMlV1ReplicaConfig
*/
public function getMasterConfig()
{
return $this->masterConfig;
}
/**
* @param string
*/
public function setMasterType($masterType)
{
$this->masterType = $masterType;
}
/**
* @return string
*/
public function getMasterType()
{
return $this->masterType;
}
/**
* @param string
*/
public function setNetwork($network)
{
$this->network = $network;
}
/**
* @return string
*/
public function getNetwork()
{
return $this->network;
}
/**
* @param string[]
*/
public function setPackageUris($packageUris)
{
$this->packageUris = $packageUris;
}
/**
* @return string[]
*/
public function getPackageUris()
{
return $this->packageUris;
}
/**
* @param GoogleCloudMlV1ReplicaConfig
*/
public function setParameterServerConfig(GoogleCloudMlV1ReplicaConfig $parameterServerConfig)
{
$this->parameterServerConfig = $parameterServerConfig;
}
/**
* @return GoogleCloudMlV1ReplicaConfig
*/
public function getParameterServerConfig()
{
return $this->parameterServerConfig;
}
/**
* @param string
*/
public function setParameterServerCount($parameterServerCount)
{
$this->parameterServerCount = $parameterServerCount;
}
/**
* @return string
*/
public function getParameterServerCount()
{
return $this->parameterServerCount;
}
/**
* @param string
*/
public function setParameterServerType($parameterServerType)
{
$this->parameterServerType = $parameterServerType;
}
/**
* @return string
*/
public function getParameterServerType()
{
return $this->parameterServerType;
}
/**
* @param string
*/
public function setPythonModule($pythonModule)
{
$this->pythonModule = $pythonModule;
}
/**
* @return string
*/
public function getPythonModule()
{
return $this->pythonModule;
}
/**
* @param string
*/
public function setPythonVersion($pythonVersion)
{
$this->pythonVersion = $pythonVersion;
}
/**
* @return string
*/
public function getPythonVersion()
{
return $this->pythonVersion;
}
/**
* @param string
*/
public function setRegion($region)
{
$this->region = $region;
}
/**
* @return string
*/
public function getRegion()
{
return $this->region;
}
/**
* @param string
*/
public function setRuntimeVersion($runtimeVersion)
{
$this->runtimeVersion = $runtimeVersion;
}
/**
* @return string
*/
public function getRuntimeVersion()
{
return $this->runtimeVersion;
}
/**
* @param string
*/
public function setScaleTier($scaleTier)
{
$this->scaleTier = $scaleTier;
}
/**
* @return string
*/
public function getScaleTier()
{
return $this->scaleTier;
}
/**
* @param GoogleCloudMlV1Scheduling
*/
public function setScheduling(GoogleCloudMlV1Scheduling $scheduling)
{
$this->scheduling = $scheduling;
}
/**
* @return GoogleCloudMlV1Scheduling
*/
public function getScheduling()
{
return $this->scheduling;
}
/**
* @param string
*/
public function setServiceAccount($serviceAccount)
{
$this->serviceAccount = $serviceAccount;
}
/**
* @return string
*/
public function getServiceAccount()
{
return $this->serviceAccount;
}
/**
* @param bool
*/
public function setUseChiefInTfConfig($useChiefInTfConfig)
{
$this->useChiefInTfConfig = $useChiefInTfConfig;
}
/**
* @return bool
*/
public function getUseChiefInTfConfig()
{
return $this->useChiefInTfConfig;
}
/**
* @param GoogleCloudMlV1ReplicaConfig
*/
public function setWorkerConfig(GoogleCloudMlV1ReplicaConfig $workerConfig)
{
$this->workerConfig = $workerConfig;
}
/**
* @return GoogleCloudMlV1ReplicaConfig
*/
public function getWorkerConfig()
{
return $this->workerConfig;
}
/**
* @param string
*/
public function setWorkerCount($workerCount)
{
$this->workerCount = $workerCount;
}
/**
* @return string
*/
public function getWorkerCount()
{
return $this->workerCount;
}
/**
* @param string
*/
public function setWorkerType($workerType)
{
$this->workerType = $workerType;
}
/**
* @return string
*/
public function getWorkerType()
{
return $this->workerType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1TrainingInput::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1TrainingInput');
@@ -0,0 +1,158 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1TrainingOutput extends \Google\Collection
{
protected $collection_key = 'trials';
protected $builtInAlgorithmOutputType = GoogleCloudMlV1BuiltInAlgorithmOutput::class;
protected $builtInAlgorithmOutputDataType = '';
/**
* @var string
*/
public $completedTrialCount;
public $consumedMLUnits;
/**
* @var string
*/
public $hyperparameterMetricTag;
/**
* @var bool
*/
public $isBuiltInAlgorithmJob;
/**
* @var bool
*/
public $isHyperparameterTuningJob;
protected $trialsType = GoogleCloudMlV1HyperparameterOutput::class;
protected $trialsDataType = 'array';
/**
* @var string[]
*/
public $webAccessUris;
/**
* @param GoogleCloudMlV1BuiltInAlgorithmOutput
*/
public function setBuiltInAlgorithmOutput(GoogleCloudMlV1BuiltInAlgorithmOutput $builtInAlgorithmOutput)
{
$this->builtInAlgorithmOutput = $builtInAlgorithmOutput;
}
/**
* @return GoogleCloudMlV1BuiltInAlgorithmOutput
*/
public function getBuiltInAlgorithmOutput()
{
return $this->builtInAlgorithmOutput;
}
/**
* @param string
*/
public function setCompletedTrialCount($completedTrialCount)
{
$this->completedTrialCount = $completedTrialCount;
}
/**
* @return string
*/
public function getCompletedTrialCount()
{
return $this->completedTrialCount;
}
public function setConsumedMLUnits($consumedMLUnits)
{
$this->consumedMLUnits = $consumedMLUnits;
}
public function getConsumedMLUnits()
{
return $this->consumedMLUnits;
}
/**
* @param string
*/
public function setHyperparameterMetricTag($hyperparameterMetricTag)
{
$this->hyperparameterMetricTag = $hyperparameterMetricTag;
}
/**
* @return string
*/
public function getHyperparameterMetricTag()
{
return $this->hyperparameterMetricTag;
}
/**
* @param bool
*/
public function setIsBuiltInAlgorithmJob($isBuiltInAlgorithmJob)
{
$this->isBuiltInAlgorithmJob = $isBuiltInAlgorithmJob;
}
/**
* @return bool
*/
public function getIsBuiltInAlgorithmJob()
{
return $this->isBuiltInAlgorithmJob;
}
/**
* @param bool
*/
public function setIsHyperparameterTuningJob($isHyperparameterTuningJob)
{
$this->isHyperparameterTuningJob = $isHyperparameterTuningJob;
}
/**
* @return bool
*/
public function getIsHyperparameterTuningJob()
{
return $this->isHyperparameterTuningJob;
}
/**
* @param GoogleCloudMlV1HyperparameterOutput[]
*/
public function setTrials($trials)
{
$this->trials = $trials;
}
/**
* @return GoogleCloudMlV1HyperparameterOutput[]
*/
public function getTrials()
{
return $this->trials;
}
/**
* @param string[]
*/
public function setWebAccessUris($webAccessUris)
{
$this->webAccessUris = $webAccessUris;
}
/**
* @return string[]
*/
public function getWebAccessUris()
{
return $this->webAccessUris;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1TrainingOutput::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1TrainingOutput');
@@ -0,0 +1,201 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1Trial extends \Google\Collection
{
protected $collection_key = 'parameters';
/**
* @var string
*/
public $clientId;
/**
* @var string
*/
public $endTime;
protected $finalMeasurementType = GoogleCloudMlV1Measurement::class;
protected $finalMeasurementDataType = '';
/**
* @var string
*/
public $infeasibleReason;
protected $measurementsType = GoogleCloudMlV1Measurement::class;
protected $measurementsDataType = 'array';
/**
* @var string
*/
public $name;
protected $parametersType = GoogleCloudMlV1TrialParameter::class;
protected $parametersDataType = 'array';
/**
* @var string
*/
public $startTime;
/**
* @var string
*/
public $state;
/**
* @var bool
*/
public $trialInfeasible;
/**
* @param string
*/
public function setClientId($clientId)
{
$this->clientId = $clientId;
}
/**
* @return string
*/
public function getClientId()
{
return $this->clientId;
}
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param GoogleCloudMlV1Measurement
*/
public function setFinalMeasurement(GoogleCloudMlV1Measurement $finalMeasurement)
{
$this->finalMeasurement = $finalMeasurement;
}
/**
* @return GoogleCloudMlV1Measurement
*/
public function getFinalMeasurement()
{
return $this->finalMeasurement;
}
/**
* @param string
*/
public function setInfeasibleReason($infeasibleReason)
{
$this->infeasibleReason = $infeasibleReason;
}
/**
* @return string
*/
public function getInfeasibleReason()
{
return $this->infeasibleReason;
}
/**
* @param GoogleCloudMlV1Measurement[]
*/
public function setMeasurements($measurements)
{
$this->measurements = $measurements;
}
/**
* @return GoogleCloudMlV1Measurement[]
*/
public function getMeasurements()
{
return $this->measurements;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param GoogleCloudMlV1TrialParameter[]
*/
public function setParameters($parameters)
{
$this->parameters = $parameters;
}
/**
* @return GoogleCloudMlV1TrialParameter[]
*/
public function getParameters()
{
return $this->parameters;
}
/**
* @param string
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param bool
*/
public function setTrialInfeasible($trialInfeasible)
{
$this->trialInfeasible = $trialInfeasible;
}
/**
* @return bool
*/
public function getTrialInfeasible()
{
return $this->trialInfeasible;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1Trial::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1Trial');
@@ -0,0 +1,89 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1TrialParameter extends \Google\Model
{
public $floatValue;
/**
* @var string
*/
public $intValue;
/**
* @var string
*/
public $parameter;
/**
* @var string
*/
public $stringValue;
public function setFloatValue($floatValue)
{
$this->floatValue = $floatValue;
}
public function getFloatValue()
{
return $this->floatValue;
}
/**
* @param string
*/
public function setIntValue($intValue)
{
$this->intValue = $intValue;
}
/**
* @return string
*/
public function getIntValue()
{
return $this->intValue;
}
/**
* @param string
*/
public function setParameter($parameter)
{
$this->parameter = $parameter;
}
/**
* @return string
*/
public function getParameter()
{
return $this->parameter;
}
/**
* @param string
*/
public function setStringValue($stringValue)
{
$this->stringValue = $stringValue;
}
/**
* @return string
*/
public function getStringValue()
{
return $this->stringValue;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1TrialParameter::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1TrialParameter');
@@ -0,0 +1,481 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1Version extends \Google\Collection
{
protected $collection_key = 'packageUris';
protected $acceleratorConfigType = GoogleCloudMlV1AcceleratorConfig::class;
protected $acceleratorConfigDataType = '';
protected $autoScalingType = GoogleCloudMlV1AutoScaling::class;
protected $autoScalingDataType = '';
protected $containerType = GoogleCloudMlV1ContainerSpec::class;
protected $containerDataType = '';
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $deploymentUri;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $errorMessage;
/**
* @var string
*/
public $etag;
protected $explanationConfigType = GoogleCloudMlV1ExplanationConfig::class;
protected $explanationConfigDataType = '';
/**
* @var string
*/
public $framework;
/**
* @var bool
*/
public $isDefault;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $lastMigrationModelId;
/**
* @var string
*/
public $lastMigrationTime;
/**
* @var string
*/
public $lastUseTime;
/**
* @var string
*/
public $machineType;
protected $manualScalingType = GoogleCloudMlV1ManualScaling::class;
protected $manualScalingDataType = '';
/**
* @var string
*/
public $name;
/**
* @var string[]
*/
public $packageUris;
/**
* @var string
*/
public $predictionClass;
/**
* @var string
*/
public $pythonVersion;
protected $requestLoggingConfigType = GoogleCloudMlV1RequestLoggingConfig::class;
protected $requestLoggingConfigDataType = '';
protected $routesType = GoogleCloudMlV1RouteMap::class;
protected $routesDataType = '';
/**
* @var string
*/
public $runtimeVersion;
/**
* @var string
*/
public $serviceAccount;
/**
* @var string
*/
public $state;
/**
* @param GoogleCloudMlV1AcceleratorConfig
*/
public function setAcceleratorConfig(GoogleCloudMlV1AcceleratorConfig $acceleratorConfig)
{
$this->acceleratorConfig = $acceleratorConfig;
}
/**
* @return GoogleCloudMlV1AcceleratorConfig
*/
public function getAcceleratorConfig()
{
return $this->acceleratorConfig;
}
/**
* @param GoogleCloudMlV1AutoScaling
*/
public function setAutoScaling(GoogleCloudMlV1AutoScaling $autoScaling)
{
$this->autoScaling = $autoScaling;
}
/**
* @return GoogleCloudMlV1AutoScaling
*/
public function getAutoScaling()
{
return $this->autoScaling;
}
/**
* @param GoogleCloudMlV1ContainerSpec
*/
public function setContainer(GoogleCloudMlV1ContainerSpec $container)
{
$this->container = $container;
}
/**
* @return GoogleCloudMlV1ContainerSpec
*/
public function getContainer()
{
return $this->container;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDeploymentUri($deploymentUri)
{
$this->deploymentUri = $deploymentUri;
}
/**
* @return string
*/
public function getDeploymentUri()
{
return $this->deploymentUri;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setErrorMessage($errorMessage)
{
$this->errorMessage = $errorMessage;
}
/**
* @return string
*/
public function getErrorMessage()
{
return $this->errorMessage;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param GoogleCloudMlV1ExplanationConfig
*/
public function setExplanationConfig(GoogleCloudMlV1ExplanationConfig $explanationConfig)
{
$this->explanationConfig = $explanationConfig;
}
/**
* @return GoogleCloudMlV1ExplanationConfig
*/
public function getExplanationConfig()
{
return $this->explanationConfig;
}
/**
* @param string
*/
public function setFramework($framework)
{
$this->framework = $framework;
}
/**
* @return string
*/
public function getFramework()
{
return $this->framework;
}
/**
* @param bool
*/
public function setIsDefault($isDefault)
{
$this->isDefault = $isDefault;
}
/**
* @return bool
*/
public function getIsDefault()
{
return $this->isDefault;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setLastMigrationModelId($lastMigrationModelId)
{
$this->lastMigrationModelId = $lastMigrationModelId;
}
/**
* @return string
*/
public function getLastMigrationModelId()
{
return $this->lastMigrationModelId;
}
/**
* @param string
*/
public function setLastMigrationTime($lastMigrationTime)
{
$this->lastMigrationTime = $lastMigrationTime;
}
/**
* @return string
*/
public function getLastMigrationTime()
{
return $this->lastMigrationTime;
}
/**
* @param string
*/
public function setLastUseTime($lastUseTime)
{
$this->lastUseTime = $lastUseTime;
}
/**
* @return string
*/
public function getLastUseTime()
{
return $this->lastUseTime;
}
/**
* @param string
*/
public function setMachineType($machineType)
{
$this->machineType = $machineType;
}
/**
* @return string
*/
public function getMachineType()
{
return $this->machineType;
}
/**
* @param GoogleCloudMlV1ManualScaling
*/
public function setManualScaling(GoogleCloudMlV1ManualScaling $manualScaling)
{
$this->manualScaling = $manualScaling;
}
/**
* @return GoogleCloudMlV1ManualScaling
*/
public function getManualScaling()
{
return $this->manualScaling;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string[]
*/
public function setPackageUris($packageUris)
{
$this->packageUris = $packageUris;
}
/**
* @return string[]
*/
public function getPackageUris()
{
return $this->packageUris;
}
/**
* @param string
*/
public function setPredictionClass($predictionClass)
{
$this->predictionClass = $predictionClass;
}
/**
* @return string
*/
public function getPredictionClass()
{
return $this->predictionClass;
}
/**
* @param string
*/
public function setPythonVersion($pythonVersion)
{
$this->pythonVersion = $pythonVersion;
}
/**
* @return string
*/
public function getPythonVersion()
{
return $this->pythonVersion;
}
/**
* @param GoogleCloudMlV1RequestLoggingConfig
*/
public function setRequestLoggingConfig(GoogleCloudMlV1RequestLoggingConfig $requestLoggingConfig)
{
$this->requestLoggingConfig = $requestLoggingConfig;
}
/**
* @return GoogleCloudMlV1RequestLoggingConfig
*/
public function getRequestLoggingConfig()
{
return $this->requestLoggingConfig;
}
/**
* @param GoogleCloudMlV1RouteMap
*/
public function setRoutes(GoogleCloudMlV1RouteMap $routes)
{
$this->routes = $routes;
}
/**
* @return GoogleCloudMlV1RouteMap
*/
public function getRoutes()
{
return $this->routes;
}
/**
* @param string
*/
public function setRuntimeVersion($runtimeVersion)
{
$this->runtimeVersion = $runtimeVersion;
}
/**
* @return string
*/
public function getRuntimeVersion()
{
return $this->runtimeVersion;
}
/**
* @param string
*/
public function setServiceAccount($serviceAccount)
{
$this->serviceAccount = $serviceAccount;
}
/**
* @return string
*/
public function getServiceAccount()
{
return $this->serviceAccount;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1Version::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1Version');
@@ -0,0 +1,44 @@
<?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\CloudMachineLearningEngine;
class GoogleCloudMlV1XraiAttribution extends \Google\Model
{
/**
* @var int
*/
public $numIntegralSteps;
/**
* @param int
*/
public function setNumIntegralSteps($numIntegralSteps)
{
$this->numIntegralSteps = $numIntegralSteps;
}
/**
* @return int
*/
public function getNumIntegralSteps()
{
return $this->numIntegralSteps;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudMlV1XraiAttribution::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1XraiAttribution');
@@ -0,0 +1,61 @@
<?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\CloudMachineLearningEngine;
class GoogleIamV1AuditConfig extends \Google\Collection
{
protected $collection_key = 'auditLogConfigs';
protected $auditLogConfigsType = GoogleIamV1AuditLogConfig::class;
protected $auditLogConfigsDataType = 'array';
/**
* @var string
*/
public $service;
/**
* @param GoogleIamV1AuditLogConfig[]
*/
public function setAuditLogConfigs($auditLogConfigs)
{
$this->auditLogConfigs = $auditLogConfigs;
}
/**
* @return GoogleIamV1AuditLogConfig[]
*/
public function getAuditLogConfigs()
{
return $this->auditLogConfigs;
}
/**
* @param string
*/
public function setService($service)
{
$this->service = $service;
}
/**
* @return string
*/
public function getService()
{
return $this->service;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleIamV1AuditConfig::class, 'Google_Service_CloudMachineLearningEngine_GoogleIamV1AuditConfig');
@@ -0,0 +1,63 @@
<?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\CloudMachineLearningEngine;
class GoogleIamV1AuditLogConfig extends \Google\Collection
{
protected $collection_key = 'exemptedMembers';
/**
* @var string[]
*/
public $exemptedMembers;
/**
* @var string
*/
public $logType;
/**
* @param string[]
*/
public function setExemptedMembers($exemptedMembers)
{
$this->exemptedMembers = $exemptedMembers;
}
/**
* @return string[]
*/
public function getExemptedMembers()
{
return $this->exemptedMembers;
}
/**
* @param string
*/
public function setLogType($logType)
{
$this->logType = $logType;
}
/**
* @return string
*/
public function getLogType()
{
return $this->logType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleIamV1AuditLogConfig::class, 'Google_Service_CloudMachineLearningEngine_GoogleIamV1AuditLogConfig');
@@ -0,0 +1,79 @@
<?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\CloudMachineLearningEngine;
class GoogleIamV1Binding extends \Google\Collection
{
protected $collection_key = 'members';
protected $conditionType = GoogleTypeExpr::class;
protected $conditionDataType = '';
/**
* @var string[]
*/
public $members;
/**
* @var string
*/
public $role;
/**
* @param GoogleTypeExpr
*/
public function setCondition(GoogleTypeExpr $condition)
{
$this->condition = $condition;
}
/**
* @return GoogleTypeExpr
*/
public function getCondition()
{
return $this->condition;
}
/**
* @param string[]
*/
public function setMembers($members)
{
$this->members = $members;
}
/**
* @return string[]
*/
public function getMembers()
{
return $this->members;
}
/**
* @param string
*/
public function setRole($role)
{
$this->role = $role;
}
/**
* @return string
*/
public function getRole()
{
return $this->role;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleIamV1Binding::class, 'Google_Service_CloudMachineLearningEngine_GoogleIamV1Binding');
@@ -0,0 +1,95 @@
<?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\CloudMachineLearningEngine;
class GoogleIamV1Policy extends \Google\Collection
{
protected $collection_key = 'bindings';
protected $auditConfigsType = GoogleIamV1AuditConfig::class;
protected $auditConfigsDataType = 'array';
protected $bindingsType = GoogleIamV1Binding::class;
protected $bindingsDataType = 'array';
/**
* @var string
*/
public $etag;
/**
* @var int
*/
public $version;
/**
* @param GoogleIamV1AuditConfig[]
*/
public function setAuditConfigs($auditConfigs)
{
$this->auditConfigs = $auditConfigs;
}
/**
* @return GoogleIamV1AuditConfig[]
*/
public function getAuditConfigs()
{
return $this->auditConfigs;
}
/**
* @param GoogleIamV1Binding[]
*/
public function setBindings($bindings)
{
$this->bindings = $bindings;
}
/**
* @return GoogleIamV1Binding[]
*/
public function getBindings()
{
return $this->bindings;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param int
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return int
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleIamV1Policy::class, 'Google_Service_CloudMachineLearningEngine_GoogleIamV1Policy');
@@ -0,0 +1,60 @@
<?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\CloudMachineLearningEngine;
class GoogleIamV1SetIamPolicyRequest extends \Google\Model
{
protected $policyType = GoogleIamV1Policy::class;
protected $policyDataType = '';
/**
* @var string
*/
public $updateMask;
/**
* @param GoogleIamV1Policy
*/
public function setPolicy(GoogleIamV1Policy $policy)
{
$this->policy = $policy;
}
/**
* @return GoogleIamV1Policy
*/
public function getPolicy()
{
return $this->policy;
}
/**
* @param string
*/
public function setUpdateMask($updateMask)
{
$this->updateMask = $updateMask;
}
/**
* @return string
*/
public function getUpdateMask()
{
return $this->updateMask;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleIamV1SetIamPolicyRequest::class, 'Google_Service_CloudMachineLearningEngine_GoogleIamV1SetIamPolicyRequest');
@@ -0,0 +1,45 @@
<?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\CloudMachineLearningEngine;
class GoogleIamV1TestIamPermissionsRequest extends \Google\Collection
{
protected $collection_key = 'permissions';
/**
* @var string[]
*/
public $permissions;
/**
* @param string[]
*/
public function setPermissions($permissions)
{
$this->permissions = $permissions;
}
/**
* @return string[]
*/
public function getPermissions()
{
return $this->permissions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleIamV1TestIamPermissionsRequest::class, 'Google_Service_CloudMachineLearningEngine_GoogleIamV1TestIamPermissionsRequest');
@@ -0,0 +1,45 @@
<?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\CloudMachineLearningEngine;
class GoogleIamV1TestIamPermissionsResponse extends \Google\Collection
{
protected $collection_key = 'permissions';
/**
* @var string[]
*/
public $permissions;
/**
* @param string[]
*/
public function setPermissions($permissions)
{
$this->permissions = $permissions;
}
/**
* @return string[]
*/
public function getPermissions()
{
return $this->permissions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleIamV1TestIamPermissionsResponse::class, 'Google_Service_CloudMachineLearningEngine_GoogleIamV1TestIamPermissionsResponse');
@@ -0,0 +1,61 @@
<?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\CloudMachineLearningEngine;
class GoogleLongrunningListOperationsResponse extends \Google\Collection
{
protected $collection_key = 'operations';
/**
* @var string
*/
public $nextPageToken;
protected $operationsType = GoogleLongrunningOperation::class;
protected $operationsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param GoogleLongrunningOperation[]
*/
public function setOperations($operations)
{
$this->operations = $operations;
}
/**
* @return GoogleLongrunningOperation[]
*/
public function getOperations()
{
return $this->operations;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleLongrunningListOperationsResponse::class, 'Google_Service_CloudMachineLearningEngine_GoogleLongrunningListOperationsResponse');
@@ -0,0 +1,114 @@
<?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\CloudMachineLearningEngine;
class GoogleLongrunningOperation extends \Google\Model
{
/**
* @var bool
*/
public $done;
protected $errorType = GoogleRpcStatus::class;
protected $errorDataType = '';
/**
* @var array[]
*/
public $metadata;
/**
* @var string
*/
public $name;
/**
* @var array[]
*/
public $response;
/**
* @param bool
*/
public function setDone($done)
{
$this->done = $done;
}
/**
* @return bool
*/
public function getDone()
{
return $this->done;
}
/**
* @param GoogleRpcStatus
*/
public function setError(GoogleRpcStatus $error)
{
$this->error = $error;
}
/**
* @return GoogleRpcStatus
*/
public function getError()
{
return $this->error;
}
/**
* @param array[]
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param array[]
*/
public function setResponse($response)
{
$this->response = $response;
}
/**
* @return array[]
*/
public function getResponse()
{
return $this->response;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleLongrunningOperation::class, 'Google_Service_CloudMachineLearningEngine_GoogleLongrunningOperation');
@@ -0,0 +1,25 @@
<?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\CloudMachineLearningEngine;
class GoogleProtobufEmpty extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleProtobufEmpty::class, 'Google_Service_CloudMachineLearningEngine_GoogleProtobufEmpty');
@@ -0,0 +1,81 @@
<?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\CloudMachineLearningEngine;
class GoogleRpcStatus extends \Google\Collection
{
protected $collection_key = 'details';
/**
* @var int
*/
public $code;
/**
* @var array[]
*/
public $details;
/**
* @var string
*/
public $message;
/**
* @param int
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return int
*/
public function getCode()
{
return $this->code;
}
/**
* @param array[]
*/
public function setDetails($details)
{
$this->details = $details;
}
/**
* @return array[]
*/
public function getDetails()
{
return $this->details;
}
/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleRpcStatus::class, 'Google_Service_CloudMachineLearningEngine_GoogleRpcStatus');
@@ -0,0 +1,98 @@
<?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\CloudMachineLearningEngine;
class GoogleTypeExpr extends \Google\Model
{
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $expression;
/**
* @var string
*/
public $location;
/**
* @var string
*/
public $title;
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setExpression($expression)
{
$this->expression = $expression;
}
/**
* @return string
*/
public function getExpression()
{
return $this->expression;
}
/**
* @param string
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* @param string
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleTypeExpr::class, 'Google_Service_CloudMachineLearningEngine_GoogleTypeExpr');
@@ -0,0 +1,89 @@
<?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\CloudMachineLearningEngine\Resource;
use Google\Service\CloudMachineLearningEngine\GoogleApiHttpBody;
use Google\Service\CloudMachineLearningEngine\GoogleCloudMlV1ExplainRequest;
use Google\Service\CloudMachineLearningEngine\GoogleCloudMlV1GetConfigResponse;
use Google\Service\CloudMachineLearningEngine\GoogleCloudMlV1PredictRequest;
/**
* The "projects" collection of methods.
* Typical usage is:
* <code>
* $mlService = new Google\Service\CloudMachineLearningEngine(...);
* $projects = $mlService->projects;
* </code>
*/
class Projects extends \Google\Service\Resource
{
/**
* Performs explanation on the data in the request. {% dynamic include "/ai-
* platform/includes/___explain-request" %} (projects.explain)
*
* @param string $name Required. The resource name of a model or a version.
* Authorization: requires the `predict` permission on the specified resource.
* @param GoogleCloudMlV1ExplainRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleApiHttpBody
* @throws \Google\Service\Exception
*/
public function explain($name, GoogleCloudMlV1ExplainRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('explain', [$params], GoogleApiHttpBody::class);
}
/**
* Get the service account information associated with your project. You need
* this information in order to grant the service account permissions for the
* Google Cloud Storage location where you put your model training code for
* training the model with Google Cloud Machine Learning. (projects.getConfig)
*
* @param string $name Required. The project name.
* @param array $optParams Optional parameters.
* @return GoogleCloudMlV1GetConfigResponse
* @throws \Google\Service\Exception
*/
public function getConfig($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('getConfig', [$params], GoogleCloudMlV1GetConfigResponse::class);
}
/**
* Performs online prediction on the data in the request. {% dynamic include
* "/ai-platform/includes/___predict-request" %} (projects.predict)
*
* @param string $name Required. The resource name of a model or a version.
* Authorization: requires the `predict` permission on the specified resource.
* @param GoogleCloudMlV1PredictRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleApiHttpBody
* @throws \Google\Service\Exception
*/
public function predict($name, GoogleCloudMlV1PredictRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('predict', [$params], GoogleApiHttpBody::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Projects::class, 'Google_Service_CloudMachineLearningEngine_Resource_Projects');
@@ -0,0 +1,218 @@
<?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\CloudMachineLearningEngine\Resource;
use Google\Service\CloudMachineLearningEngine\GoogleCloudMlV1CancelJobRequest;
use Google\Service\CloudMachineLearningEngine\GoogleCloudMlV1Job;
use Google\Service\CloudMachineLearningEngine\GoogleCloudMlV1ListJobsResponse;
use Google\Service\CloudMachineLearningEngine\GoogleIamV1Policy;
use Google\Service\CloudMachineLearningEngine\GoogleIamV1SetIamPolicyRequest;
use Google\Service\CloudMachineLearningEngine\GoogleIamV1TestIamPermissionsRequest;
use Google\Service\CloudMachineLearningEngine\GoogleIamV1TestIamPermissionsResponse;
use Google\Service\CloudMachineLearningEngine\GoogleProtobufEmpty;
/**
* The "jobs" collection of methods.
* Typical usage is:
* <code>
* $mlService = new Google\Service\CloudMachineLearningEngine(...);
* $jobs = $mlService->projects_jobs;
* </code>
*/
class ProjectsJobs extends \Google\Service\Resource
{
/**
* Cancels a running job. (jobs.cancel)
*
* @param string $name Required. The name of the job to cancel.
* @param GoogleCloudMlV1CancelJobRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleProtobufEmpty
* @throws \Google\Service\Exception
*/
public function cancel($name, GoogleCloudMlV1CancelJobRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('cancel', [$params], GoogleProtobufEmpty::class);
}
/**
* Creates a training or a batch prediction job. (jobs.create)
*
* @param string $parent Required. The project name.
* @param GoogleCloudMlV1Job $postBody
* @param array $optParams Optional parameters.
* @return GoogleCloudMlV1Job
* @throws \Google\Service\Exception
*/
public function create($parent, GoogleCloudMlV1Job $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], GoogleCloudMlV1Job::class);
}
/**
* Describes a job. (jobs.get)
*
* @param string $name Required. The name of the job to get the description of.
* @param array $optParams Optional parameters.
* @return GoogleCloudMlV1Job
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], GoogleCloudMlV1Job::class);
}
/**
* Gets the access control policy for a resource. Returns an empty policy if the
* resource exists and does not have a policy set. (jobs.getIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* requested. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param array $optParams Optional parameters.
*
* @opt_param int options.requestedPolicyVersion Optional. The maximum policy
* version that will be used to format the policy. Valid values are 0, 1, and 3.
* Requests specifying an invalid value will be rejected. Requests for policies
* with any conditional role bindings must specify version 3. Policies with no
* conditional role bindings may specify any valid value or leave the field
* unset. The policy in the response might use the policy version that you
* specified, or it might use a lower policy version. For example, if you
* specify version 3, but the policy has no conditional role bindings, the
* response uses version 1. To learn which resources support conditions in their
* IAM policies, see the [IAM
* documentation](https://cloud.google.com/iam/help/conditions/resource-
* policies).
* @return GoogleIamV1Policy
* @throws \Google\Service\Exception
*/
public function getIamPolicy($resource, $optParams = [])
{
$params = ['resource' => $resource];
$params = array_merge($params, $optParams);
return $this->call('getIamPolicy', [$params], GoogleIamV1Policy::class);
}
/**
* Lists the jobs in the project. If there are no jobs that match the request
* parameters, the list request returns an empty response body: {}.
* (jobs.listProjectsJobs)
*
* @param string $parent Required. The name of the project for which to list
* jobs.
* @param array $optParams Optional parameters.
*
* @opt_param string filter Optional. Specifies the subset of jobs to retrieve.
* You can filter on the value of one or more attributes of the job object. For
* example, retrieve jobs with a job identifier that starts with 'census':
* gcloud ai-platform jobs list --filter='jobId:census*' List all failed jobs
* with names that start with 'rnn': gcloud ai-platform jobs list
* --filter='jobId:rnn* AND state:FAILED' For more examples, see the guide to
* monitoring jobs.
* @opt_param int pageSize Optional. The number of jobs to retrieve per "page"
* of results. If there are more remaining results than this number, the
* response message will contain a valid value in the `next_page_token` field.
* The default value is 20, and the maximum page size is 100.
* @opt_param string pageToken Optional. A page token to request the next page
* of results. You get the token from the `next_page_token` field of the
* response from the previous call.
* @return GoogleCloudMlV1ListJobsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsJobs($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], GoogleCloudMlV1ListJobsResponse::class);
}
/**
* Updates a specific job resource. Currently the only supported fields to
* update are `labels`. (jobs.patch)
*
* @param string $name Required. The job name.
* @param GoogleCloudMlV1Job $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Required. Specifies the path, relative to `Job`,
* of the field to update. To adopt etag mechanism, include `etag` field in the
* mask, and include the `etag` value in your job resource. For example, to
* change the labels of a job, the `update_mask` parameter would be specified as
* `labels`, `etag`, and the `PATCH` request body would specify the new value,
* as follows: { "labels": { "owner": "Google", "color": "Blue" } "etag":
* "33a64df551425fcc55e4d42a148795d9f25f89d4" } If `etag` matches the one on the
* server, the labels of the job will be replaced with the given ones, and the
* server end `etag` will be recalculated. Currently the only supported update
* masks are `labels` and `etag`.
* @return GoogleCloudMlV1Job
* @throws \Google\Service\Exception
*/
public function patch($name, GoogleCloudMlV1Job $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], GoogleCloudMlV1Job::class);
}
/**
* Sets the access control policy on the specified resource. Replaces any
* existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and
* `PERMISSION_DENIED` errors. (jobs.setIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* specified. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param GoogleIamV1SetIamPolicyRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleIamV1Policy
* @throws \Google\Service\Exception
*/
public function setIamPolicy($resource, GoogleIamV1SetIamPolicyRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('setIamPolicy', [$params], GoogleIamV1Policy::class);
}
/**
* Returns permissions that a caller has on the specified resource. If the
* resource does not exist, this will return an empty set of permissions, not a
* `NOT_FOUND` error. Note: This operation is designed to be used for building
* permission-aware UIs and command-line tools, not for authorization checking.
* This operation may "fail open" without warning. (jobs.testIamPermissions)
*
* @param string $resource REQUIRED: The resource for which the policy detail is
* being requested. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param GoogleIamV1TestIamPermissionsRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleIamV1TestIamPermissionsResponse
* @throws \Google\Service\Exception
*/
public function testIamPermissions($resource, GoogleIamV1TestIamPermissionsRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('testIamPermissions', [$params], GoogleIamV1TestIamPermissionsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsJobs::class, 'Google_Service_CloudMachineLearningEngine_Resource_ProjectsJobs');
@@ -0,0 +1,76 @@
<?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\CloudMachineLearningEngine\Resource;
use Google\Service\CloudMachineLearningEngine\GoogleCloudMlV1ListLocationsResponse;
use Google\Service\CloudMachineLearningEngine\GoogleCloudMlV1Location;
/**
* The "locations" collection of methods.
* Typical usage is:
* <code>
* $mlService = new Google\Service\CloudMachineLearningEngine(...);
* $locations = $mlService->projects_locations;
* </code>
*/
class ProjectsLocations extends \Google\Service\Resource
{
/**
* Get the complete list of CMLE capabilities in a location, along with their
* location-specific properties. (locations.get)
*
* @param string $name Required. The name of the location.
* @param array $optParams Optional parameters.
* @return GoogleCloudMlV1Location
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], GoogleCloudMlV1Location::class);
}
/**
* List all locations that provides at least one type of CMLE capability.
* (locations.listProjectsLocations)
*
* @param string $parent Required. The name of the project for which available
* locations are to be listed (since some locations might be whitelisted for
* specific projects).
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Optional. The number of locations to retrieve per
* "page" of results. If there are more remaining results than this number, the
* response message will contain a valid value in the `next_page_token` field.
* The default value is 20, and the maximum page size is 100.
* @opt_param string pageToken Optional. A page token to request the next page
* of results. You get the token from the `next_page_token` field of the
* response from the previous call.
* @return GoogleCloudMlV1ListLocationsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocations($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], GoogleCloudMlV1ListLocationsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocations::class, 'Google_Service_CloudMachineLearningEngine_Resource_ProjectsLocations');
@@ -0,0 +1,74 @@
<?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\CloudMachineLearningEngine\Resource;
use Google\Service\CloudMachineLearningEngine\GoogleLongrunningOperation;
use Google\Service\CloudMachineLearningEngine\GoogleProtobufEmpty;
/**
* The "operations" collection of methods.
* Typical usage is:
* <code>
* $mlService = new Google\Service\CloudMachineLearningEngine(...);
* $operations = $mlService->projects_locations_operations;
* </code>
*/
class ProjectsLocationsOperations extends \Google\Service\Resource
{
/**
* Starts asynchronous cancellation on a long-running operation. The server
* makes a best effort to cancel the operation, but success is not guaranteed.
* If the server doesn't support this method, it returns
* `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or
* other methods to check whether the cancellation succeeded or whether the
* operation completed despite cancellation. On successful cancellation, the
* operation is not deleted; instead, it becomes an operation with an
* Operation.error value with a google.rpc.Status.code of `1`, corresponding to
* `Code.CANCELLED`. (operations.cancel)
*
* @param string $name The name of the operation resource to be cancelled.
* @param array $optParams Optional parameters.
* @return GoogleProtobufEmpty
* @throws \Google\Service\Exception
*/
public function cancel($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('cancel', [$params], GoogleProtobufEmpty::class);
}
/**
* Gets the latest state of a long-running operation. Clients can use this
* method to poll the operation result at intervals as recommended by the API
* service. (operations.get)
*
* @param string $name The name of the operation resource.
* @param array $optParams Optional parameters.
* @return GoogleLongrunningOperation
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], GoogleLongrunningOperation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsOperations::class, 'Google_Service_CloudMachineLearningEngine_Resource_ProjectsLocationsOperations');
@@ -0,0 +1,100 @@
<?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\CloudMachineLearningEngine\Resource;
use Google\Service\CloudMachineLearningEngine\GoogleCloudMlV1ListStudiesResponse;
use Google\Service\CloudMachineLearningEngine\GoogleCloudMlV1Study;
use Google\Service\CloudMachineLearningEngine\GoogleProtobufEmpty;
/**
* The "studies" collection of methods.
* Typical usage is:
* <code>
* $mlService = new Google\Service\CloudMachineLearningEngine(...);
* $studies = $mlService->projects_locations_studies;
* </code>
*/
class ProjectsLocationsStudies extends \Google\Service\Resource
{
/**
* Creates a study. (studies.create)
*
* @param string $parent Required. The project and location that the study
* belongs to. Format: projects/{project}/locations/{location}
* @param GoogleCloudMlV1Study $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string studyId Required. The ID to use for the study, which will
* become the final component of the study's resource name.
* @return GoogleCloudMlV1Study
* @throws \Google\Service\Exception
*/
public function create($parent, GoogleCloudMlV1Study $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], GoogleCloudMlV1Study::class);
}
/**
* Deletes a study. (studies.delete)
*
* @param string $name Required. The study name.
* @param array $optParams Optional parameters.
* @return GoogleProtobufEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], GoogleProtobufEmpty::class);
}
/**
* Gets a study. (studies.get)
*
* @param string $name Required. The study name.
* @param array $optParams Optional parameters.
* @return GoogleCloudMlV1Study
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], GoogleCloudMlV1Study::class);
}
/**
* Lists all the studies in a region for an associated project.
* (studies.listProjectsLocationsStudies)
*
* @param string $parent Required. The project and location that the study
* belongs to. Format: projects/{project}/locations/{location}
* @param array $optParams Optional parameters.
* @return GoogleCloudMlV1ListStudiesResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsStudies($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], GoogleCloudMlV1ListStudiesResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsStudies::class, 'Google_Service_CloudMachineLearningEngine_Resource_ProjectsLocationsStudies');
@@ -0,0 +1,207 @@
<?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\CloudMachineLearningEngine\Resource;
use Google\Service\CloudMachineLearningEngine\GoogleCloudMlV1AddTrialMeasurementRequest;
use Google\Service\CloudMachineLearningEngine\GoogleCloudMlV1CheckTrialEarlyStoppingStateRequest;
use Google\Service\CloudMachineLearningEngine\GoogleCloudMlV1CompleteTrialRequest;
use Google\Service\CloudMachineLearningEngine\GoogleCloudMlV1ListOptimalTrialsRequest;
use Google\Service\CloudMachineLearningEngine\GoogleCloudMlV1ListOptimalTrialsResponse;
use Google\Service\CloudMachineLearningEngine\GoogleCloudMlV1ListTrialsResponse;
use Google\Service\CloudMachineLearningEngine\GoogleCloudMlV1StopTrialRequest;
use Google\Service\CloudMachineLearningEngine\GoogleCloudMlV1SuggestTrialsRequest;
use Google\Service\CloudMachineLearningEngine\GoogleCloudMlV1Trial;
use Google\Service\CloudMachineLearningEngine\GoogleLongrunningOperation;
use Google\Service\CloudMachineLearningEngine\GoogleProtobufEmpty;
/**
* The "trials" collection of methods.
* Typical usage is:
* <code>
* $mlService = new Google\Service\CloudMachineLearningEngine(...);
* $trials = $mlService->projects_locations_studies_trials;
* </code>
*/
class ProjectsLocationsStudiesTrials extends \Google\Service\Resource
{
/**
* Adds a measurement of the objective metrics to a trial. This measurement is
* assumed to have been taken before the trial is complete.
* (trials.addMeasurement)
*
* @param string $name Required. The trial name.
* @param GoogleCloudMlV1AddTrialMeasurementRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleCloudMlV1Trial
* @throws \Google\Service\Exception
*/
public function addMeasurement($name, GoogleCloudMlV1AddTrialMeasurementRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('addMeasurement', [$params], GoogleCloudMlV1Trial::class);
}
/**
* Checks whether a trial should stop or not. Returns a long-running operation.
* When the operation is successful, it will contain a
* CheckTrialEarlyStoppingStateResponse. (trials.checkEarlyStoppingState)
*
* @param string $name Required. The trial name.
* @param GoogleCloudMlV1CheckTrialEarlyStoppingStateRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleLongrunningOperation
* @throws \Google\Service\Exception
*/
public function checkEarlyStoppingState($name, GoogleCloudMlV1CheckTrialEarlyStoppingStateRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('checkEarlyStoppingState', [$params], GoogleLongrunningOperation::class);
}
/**
* Marks a trial as complete. (trials.complete)
*
* @param string $name Required. The trial name.metat
* @param GoogleCloudMlV1CompleteTrialRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleCloudMlV1Trial
* @throws \Google\Service\Exception
*/
public function complete($name, GoogleCloudMlV1CompleteTrialRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('complete', [$params], GoogleCloudMlV1Trial::class);
}
/**
* Adds a user provided trial to a study. (trials.create)
*
* @param string $parent Required. The name of the study that the trial belongs
* to.
* @param GoogleCloudMlV1Trial $postBody
* @param array $optParams Optional parameters.
* @return GoogleCloudMlV1Trial
* @throws \Google\Service\Exception
*/
public function create($parent, GoogleCloudMlV1Trial $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], GoogleCloudMlV1Trial::class);
}
/**
* Deletes a trial. (trials.delete)
*
* @param string $name Required. The trial name.
* @param array $optParams Optional parameters.
* @return GoogleProtobufEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], GoogleProtobufEmpty::class);
}
/**
* Gets a trial. (trials.get)
*
* @param string $name Required. The trial name.
* @param array $optParams Optional parameters.
* @return GoogleCloudMlV1Trial
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], GoogleCloudMlV1Trial::class);
}
/**
* Lists the trials associated with a study.
* (trials.listProjectsLocationsStudiesTrials)
*
* @param string $parent Required. The name of the study that the trial belongs
* to.
* @param array $optParams Optional parameters.
* @return GoogleCloudMlV1ListTrialsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsStudiesTrials($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], GoogleCloudMlV1ListTrialsResponse::class);
}
/**
* Lists the pareto-optimal trials for multi-objective study or the optimal
* trials for single-objective study. The definition of pareto-optimal can be
* checked in wiki page. https://en.wikipedia.org/wiki/Pareto_efficiency
* (trials.listOptimalTrials)
*
* @param string $parent Required. The name of the study that the pareto-optimal
* trial belongs to.
* @param GoogleCloudMlV1ListOptimalTrialsRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleCloudMlV1ListOptimalTrialsResponse
* @throws \Google\Service\Exception
*/
public function listOptimalTrials($parent, GoogleCloudMlV1ListOptimalTrialsRequest $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('listOptimalTrials', [$params], GoogleCloudMlV1ListOptimalTrialsResponse::class);
}
/**
* Stops a trial. (trials.stop)
*
* @param string $name Required. The trial name.
* @param GoogleCloudMlV1StopTrialRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleCloudMlV1Trial
* @throws \Google\Service\Exception
*/
public function stop($name, GoogleCloudMlV1StopTrialRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('stop', [$params], GoogleCloudMlV1Trial::class);
}
/**
* Adds one or more trials to a study, with parameter values suggested by AI
* Platform Vizier. Returns a long-running operation associated with the
* generation of trial suggestions. When this long-running operation succeeds,
* it will contain a SuggestTrialsResponse. (trials.suggest)
*
* @param string $parent Required. The name of the study that the trial belongs
* to.
* @param GoogleCloudMlV1SuggestTrialsRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleLongrunningOperation
* @throws \Google\Service\Exception
*/
public function suggest($parent, GoogleCloudMlV1SuggestTrialsRequest $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('suggest', [$params], GoogleLongrunningOperation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsStudiesTrials::class, 'Google_Service_CloudMachineLearningEngine_Resource_ProjectsLocationsStudiesTrials');
@@ -0,0 +1,215 @@
<?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\CloudMachineLearningEngine\Resource;
use Google\Service\CloudMachineLearningEngine\GoogleCloudMlV1ListModelsResponse;
use Google\Service\CloudMachineLearningEngine\GoogleCloudMlV1Model;
use Google\Service\CloudMachineLearningEngine\GoogleIamV1Policy;
use Google\Service\CloudMachineLearningEngine\GoogleIamV1SetIamPolicyRequest;
use Google\Service\CloudMachineLearningEngine\GoogleIamV1TestIamPermissionsRequest;
use Google\Service\CloudMachineLearningEngine\GoogleIamV1TestIamPermissionsResponse;
use Google\Service\CloudMachineLearningEngine\GoogleLongrunningOperation;
/**
* The "models" collection of methods.
* Typical usage is:
* <code>
* $mlService = new Google\Service\CloudMachineLearningEngine(...);
* $models = $mlService->projects_models;
* </code>
*/
class ProjectsModels extends \Google\Service\Resource
{
/**
* Creates a model which will later contain one or more versions. You must add
* at least one version before you can request predictions from the model. Add
* versions by calling projects.models.versions.create. (models.create)
*
* @param string $parent Required. The project name.
* @param GoogleCloudMlV1Model $postBody
* @param array $optParams Optional parameters.
* @return GoogleCloudMlV1Model
* @throws \Google\Service\Exception
*/
public function create($parent, GoogleCloudMlV1Model $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], GoogleCloudMlV1Model::class);
}
/**
* Deletes a model. You can only delete a model if there are no versions in it.
* You can delete versions by calling projects.models.versions.delete.
* (models.delete)
*
* @param string $name Required. The name of the model.
* @param array $optParams Optional parameters.
* @return GoogleLongrunningOperation
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], GoogleLongrunningOperation::class);
}
/**
* Gets information about a model, including its name, the description (if set),
* and the default version (if at least one version of the model has been
* deployed). (models.get)
*
* @param string $name Required. The name of the model.
* @param array $optParams Optional parameters.
* @return GoogleCloudMlV1Model
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], GoogleCloudMlV1Model::class);
}
/**
* Gets the access control policy for a resource. Returns an empty policy if the
* resource exists and does not have a policy set. (models.getIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* requested. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param array $optParams Optional parameters.
*
* @opt_param int options.requestedPolicyVersion Optional. The maximum policy
* version that will be used to format the policy. Valid values are 0, 1, and 3.
* Requests specifying an invalid value will be rejected. Requests for policies
* with any conditional role bindings must specify version 3. Policies with no
* conditional role bindings may specify any valid value or leave the field
* unset. The policy in the response might use the policy version that you
* specified, or it might use a lower policy version. For example, if you
* specify version 3, but the policy has no conditional role bindings, the
* response uses version 1. To learn which resources support conditions in their
* IAM policies, see the [IAM
* documentation](https://cloud.google.com/iam/help/conditions/resource-
* policies).
* @return GoogleIamV1Policy
* @throws \Google\Service\Exception
*/
public function getIamPolicy($resource, $optParams = [])
{
$params = ['resource' => $resource];
$params = array_merge($params, $optParams);
return $this->call('getIamPolicy', [$params], GoogleIamV1Policy::class);
}
/**
* Lists the models in a project. Each project can contain multiple models, and
* each model can have multiple versions. If there are no models that match the
* request parameters, the list request returns an empty response body: {}.
* (models.listProjectsModels)
*
* @param string $parent Required. The name of the project whose models are to
* be listed.
* @param array $optParams Optional parameters.
*
* @opt_param string filter Optional. Specifies the subset of models to
* retrieve.
* @opt_param int pageSize Optional. The number of models to retrieve per "page"
* of results. If there are more remaining results than this number, the
* response message will contain a valid value in the `next_page_token` field.
* The default value is 20, and the maximum page size is 100.
* @opt_param string pageToken Optional. A page token to request the next page
* of results. You get the token from the `next_page_token` field of the
* response from the previous call.
* @return GoogleCloudMlV1ListModelsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsModels($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], GoogleCloudMlV1ListModelsResponse::class);
}
/**
* Updates a specific model resource. Currently the only supported fields to
* update are `description` and `default_version.name`. (models.patch)
*
* @param string $name Required. The project name.
* @param GoogleCloudMlV1Model $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Required. Specifies the path, relative to
* `Model`, of the field to update. For example, to change the description of a
* model to "foo" and set its default version to "version_1", the `update_mask`
* parameter would be specified as `description`, `default_version.name`, and
* the `PATCH` request body would specify the new value, as follows: {
* "description": "foo", "defaultVersion": { "name":"version_1" } } Currently
* the supported update masks are `description` and `default_version.name`.
* @return GoogleLongrunningOperation
* @throws \Google\Service\Exception
*/
public function patch($name, GoogleCloudMlV1Model $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], GoogleLongrunningOperation::class);
}
/**
* Sets the access control policy on the specified resource. Replaces any
* existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and
* `PERMISSION_DENIED` errors. (models.setIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* specified. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param GoogleIamV1SetIamPolicyRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleIamV1Policy
* @throws \Google\Service\Exception
*/
public function setIamPolicy($resource, GoogleIamV1SetIamPolicyRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('setIamPolicy', [$params], GoogleIamV1Policy::class);
}
/**
* Returns permissions that a caller has on the specified resource. If the
* resource does not exist, this will return an empty set of permissions, not a
* `NOT_FOUND` error. Note: This operation is designed to be used for building
* permission-aware UIs and command-line tools, not for authorization checking.
* This operation may "fail open" without warning. (models.testIamPermissions)
*
* @param string $resource REQUIRED: The resource for which the policy detail is
* being requested. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param GoogleIamV1TestIamPermissionsRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleIamV1TestIamPermissionsResponse
* @throws \Google\Service\Exception
*/
public function testIamPermissions($resource, GoogleIamV1TestIamPermissionsRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('testIamPermissions', [$params], GoogleIamV1TestIamPermissionsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsModels::class, 'Google_Service_CloudMachineLearningEngine_Resource_ProjectsModels');
@@ -0,0 +1,172 @@
<?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\CloudMachineLearningEngine\Resource;
use Google\Service\CloudMachineLearningEngine\GoogleCloudMlV1ListVersionsResponse;
use Google\Service\CloudMachineLearningEngine\GoogleCloudMlV1SetDefaultVersionRequest;
use Google\Service\CloudMachineLearningEngine\GoogleCloudMlV1Version;
use Google\Service\CloudMachineLearningEngine\GoogleLongrunningOperation;
/**
* The "versions" collection of methods.
* Typical usage is:
* <code>
* $mlService = new Google\Service\CloudMachineLearningEngine(...);
* $versions = $mlService->projects_models_versions;
* </code>
*/
class ProjectsModelsVersions extends \Google\Service\Resource
{
/**
* Creates a new version of a model from a trained TensorFlow model. If the
* version created in the cloud by this call is the first deployed version of
* the specified model, it will be made the default version of the model. When
* you add a version to a model that already has one or more versions, the
* default version does not automatically change. If you want a new version to
* be the default, you must call projects.models.versions.setDefault.
* (versions.create)
*
* @param string $parent Required. The name of the model.
* @param GoogleCloudMlV1Version $postBody
* @param array $optParams Optional parameters.
* @return GoogleLongrunningOperation
* @throws \Google\Service\Exception
*/
public function create($parent, GoogleCloudMlV1Version $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], GoogleLongrunningOperation::class);
}
/**
* Deletes a model version. Each model can have multiple versions deployed and
* in use at any given time. Use this method to remove a single version. Note:
* You cannot delete the version that is set as the default version of the model
* unless it is the only remaining version. (versions.delete)
*
* @param string $name Required. The name of the version. You can get the names
* of all the versions of a model by calling projects.models.versions.list.
* @param array $optParams Optional parameters.
* @return GoogleLongrunningOperation
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], GoogleLongrunningOperation::class);
}
/**
* Gets information about a model version. Models can have multiple versions.
* You can call projects.models.versions.list to get the same information that
* this method returns for all of the versions of a model. (versions.get)
*
* @param string $name Required. The name of the version.
* @param array $optParams Optional parameters.
* @return GoogleCloudMlV1Version
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], GoogleCloudMlV1Version::class);
}
/**
* Gets basic information about all the versions of a model. If you expect that
* a model has many versions, or if you need to handle only a limited number of
* results at a time, you can request that the list be retrieved in batches
* (called pages). If there are no versions that match the request parameters,
* the list request returns an empty response body: {}.
* (versions.listProjectsModelsVersions)
*
* @param string $parent Required. The name of the model for which to list the
* version.
* @param array $optParams Optional parameters.
*
* @opt_param string filter Optional. Specifies the subset of versions to
* retrieve.
* @opt_param int pageSize Optional. The number of versions to retrieve per
* "page" of results. If there are more remaining results than this number, the
* response message will contain a valid value in the `next_page_token` field.
* The default value is 20, and the maximum page size is 100.
* @opt_param string pageToken Optional. A page token to request the next page
* of results. You get the token from the `next_page_token` field of the
* response from the previous call.
* @return GoogleCloudMlV1ListVersionsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsModelsVersions($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], GoogleCloudMlV1ListVersionsResponse::class);
}
/**
* Updates the specified Version resource. Currently the only update-able fields
* are `description`, `requestLoggingConfig`, `autoScaling.minNodes`, and
* `manualScaling.nodes`. (versions.patch)
*
* @param string $name Required. The name of the model.
* @param GoogleCloudMlV1Version $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Required. Specifies the path, relative to
* `Version`, of the field to update. Must be present and non-empty. For
* example, to change the description of a version to "foo", the `update_mask`
* parameter would be specified as `description`, and the `PATCH` request body
* would specify the new value, as follows: ``` { "description": "foo" } ```
* Currently the only supported update mask fields are `description`,
* `requestLoggingConfig`, `autoScaling.minNodes`, and `manualScaling.nodes`.
* However, you can only update `manualScaling.nodes` if the version uses a
* [Compute Engine (N1) machine type](/ml-engine/docs/machine-types-online-
* prediction).
* @return GoogleLongrunningOperation
* @throws \Google\Service\Exception
*/
public function patch($name, GoogleCloudMlV1Version $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], GoogleLongrunningOperation::class);
}
/**
* 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
* projects.models.versions.list.
* @param GoogleCloudMlV1SetDefaultVersionRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleCloudMlV1Version
* @throws \Google\Service\Exception
*/
public function setDefault($name, GoogleCloudMlV1SetDefaultVersionRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('setDefault', [$params], GoogleCloudMlV1Version::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsModelsVersions::class, 'Google_Service_CloudMachineLearningEngine_Resource_ProjectsModelsVersions');
@@ -0,0 +1,95 @@
<?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\CloudMachineLearningEngine\Resource;
use Google\Service\CloudMachineLearningEngine\GoogleLongrunningListOperationsResponse;
use Google\Service\CloudMachineLearningEngine\GoogleLongrunningOperation;
use Google\Service\CloudMachineLearningEngine\GoogleProtobufEmpty;
/**
* The "operations" collection of methods.
* Typical usage is:
* <code>
* $mlService = new Google\Service\CloudMachineLearningEngine(...);
* $operations = $mlService->projects_operations;
* </code>
*/
class ProjectsOperations extends \Google\Service\Resource
{
/**
* Starts asynchronous cancellation on a long-running operation. The server
* makes a best effort to cancel the operation, but success is not guaranteed.
* If the server doesn't support this method, it returns
* `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or
* other methods to check whether the cancellation succeeded or whether the
* operation completed despite cancellation. On successful cancellation, the
* operation is not deleted; instead, it becomes an operation with an
* Operation.error value with a google.rpc.Status.code of `1`, corresponding to
* `Code.CANCELLED`. (operations.cancel)
*
* @param string $name The name of the operation resource to be cancelled.
* @param array $optParams Optional parameters.
* @return GoogleProtobufEmpty
* @throws \Google\Service\Exception
*/
public function cancel($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('cancel', [$params], GoogleProtobufEmpty::class);
}
/**
* Gets the latest state of a long-running operation. Clients can use this
* method to poll the operation result at intervals as recommended by the API
* service. (operations.get)
*
* @param string $name The name of the operation resource.
* @param array $optParams Optional parameters.
* @return GoogleLongrunningOperation
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], GoogleLongrunningOperation::class);
}
/**
* Lists operations that match the specified filter in the request. If the
* server doesn't support this method, it returns `UNIMPLEMENTED`.
* (operations.listProjectsOperations)
*
* @param string $name The name of the operation's parent resource.
* @param array $optParams Optional parameters.
*
* @opt_param string filter The standard list filter.
* @opt_param int pageSize The standard list page size.
* @opt_param string pageToken The standard list page token.
* @return GoogleLongrunningListOperationsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsOperations($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], GoogleLongrunningListOperationsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsOperations::class, 'Google_Service_CloudMachineLearningEngine_Resource_ProjectsOperations');