105 lines
3.2 KiB
PHP
105 lines
3.2 KiB
PHP
|
|
<?php
|
||
|
|
/*
|
||
|
|
* Copyright 2014 Google Inc.
|
||
|
|
*
|
||
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||
|
|
* use this file except in compliance with the License. You may obtain a copy of
|
||
|
|
* the License at
|
||
|
|
*
|
||
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||
|
|
*
|
||
|
|
* Unless required by applicable law or agreed to in writing, software
|
||
|
|
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||
|
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||
|
|
* License for the specific language governing permissions and limitations under
|
||
|
|
* the License.
|
||
|
|
*/
|
||
|
|
|
||
|
|
namespace Google\Service\Aiplatform;
|
||
|
|
|
||
|
|
class GoogleCloudAiplatformV1CreateFeatureRequest extends \Google\Model
|
||
|
|
{
|
||
|
|
protected $featureType = GoogleCloudAiplatformV1Feature::class;
|
||
|
|
protected $featureDataType = '';
|
||
|
|
/**
|
||
|
|
* Required. The ID to use for the Feature, which will become the final
|
||
|
|
* component of the Feature's resource name. This value may be up to 128
|
||
|
|
* characters, and valid characters are `[a-z0-9_]`. The first character
|
||
|
|
* cannot be a number. The value must be unique within an
|
||
|
|
* EntityType/FeatureGroup.
|
||
|
|
*
|
||
|
|
* @var string
|
||
|
|
*/
|
||
|
|
public $featureId;
|
||
|
|
/**
|
||
|
|
* Required. The resource name of the EntityType or FeatureGroup to create a
|
||
|
|
* Feature. Format for entity_type as parent: `projects/{project}/locations/{l
|
||
|
|
* ocation}/featurestores/{featurestore}/entityTypes/{entity_type}` Format for
|
||
|
|
* feature_group as parent:
|
||
|
|
* `projects/{project}/locations/{location}/featureGroups/{feature_group}`
|
||
|
|
*
|
||
|
|
* @var string
|
||
|
|
*/
|
||
|
|
public $parent;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Required. The Feature to create.
|
||
|
|
*
|
||
|
|
* @param GoogleCloudAiplatformV1Feature $feature
|
||
|
|
*/
|
||
|
|
public function setFeature(GoogleCloudAiplatformV1Feature $feature)
|
||
|
|
{
|
||
|
|
$this->feature = $feature;
|
||
|
|
}
|
||
|
|
/**
|
||
|
|
* @return GoogleCloudAiplatformV1Feature
|
||
|
|
*/
|
||
|
|
public function getFeature()
|
||
|
|
{
|
||
|
|
return $this->feature;
|
||
|
|
}
|
||
|
|
/**
|
||
|
|
* Required. The ID to use for the Feature, which will become the final
|
||
|
|
* component of the Feature's resource name. This value may be up to 128
|
||
|
|
* characters, and valid characters are `[a-z0-9_]`. The first character
|
||
|
|
* cannot be a number. The value must be unique within an
|
||
|
|
* EntityType/FeatureGroup.
|
||
|
|
*
|
||
|
|
* @param string $featureId
|
||
|
|
*/
|
||
|
|
public function setFeatureId($featureId)
|
||
|
|
{
|
||
|
|
$this->featureId = $featureId;
|
||
|
|
}
|
||
|
|
/**
|
||
|
|
* @return string
|
||
|
|
*/
|
||
|
|
public function getFeatureId()
|
||
|
|
{
|
||
|
|
return $this->featureId;
|
||
|
|
}
|
||
|
|
/**
|
||
|
|
* Required. The resource name of the EntityType or FeatureGroup to create a
|
||
|
|
* Feature. Format for entity_type as parent: `projects/{project}/locations/{l
|
||
|
|
* ocation}/featurestores/{featurestore}/entityTypes/{entity_type}` Format for
|
||
|
|
* feature_group as parent:
|
||
|
|
* `projects/{project}/locations/{location}/featureGroups/{feature_group}`
|
||
|
|
*
|
||
|
|
* @param string $parent
|
||
|
|
*/
|
||
|
|
public function setParent($parent)
|
||
|
|
{
|
||
|
|
$this->parent = $parent;
|
||
|
|
}
|
||
|
|
/**
|
||
|
|
* @return string
|
||
|
|
*/
|
||
|
|
public function getParent()
|
||
|
|
{
|
||
|
|
return $this->parent;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
// Adding a class alias for backwards compatibility with the previous class name.
|
||
|
|
class_alias(GoogleCloudAiplatformV1CreateFeatureRequest::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1CreateFeatureRequest');
|