Google Cloud Ai Platform V1 Client - Class BatchCreateFeaturesRequest (0.20.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class BatchCreateFeaturesRequest.

Request message for FeaturestoreService.BatchCreateFeatures.

Generated from protobuf message google.cloud.aiplatform.v1.BatchCreateFeaturesRequest

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The resource name of the EntityType to create the batch of Features under. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

↳ requests array<Google\Cloud\AIPlatform\V1\CreateFeatureRequest>

Required. The request message specifying the Features to create. All Features must be created under the same parent EntityType. The parent field in each child request message can be omitted. If parent is set in a child request, then the value must match the parent value in this request message.

getParent

Required. The resource name of the EntityType to create the batch of Features under. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

Returns
TypeDescription
string

setParent

Required. The resource name of the EntityType to create the batch of Features under. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getRequests

Required. The request message specifying the Features to create. All Features must be created under the same parent EntityType. The parent field in each child request message can be omitted. If parent is set in a child request, then the value must match the parent value in this request message.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setRequests

Required. The request message specifying the Features to create. All Features must be created under the same parent EntityType. The parent field in each child request message can be omitted. If parent is set in a child request, then the value must match the parent value in this request message.

Parameter
NameDescription
var array<Google\Cloud\AIPlatform\V1\CreateFeatureRequest>
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
parent string

Required. The resource name of the EntityType to create the batch of Features under. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type} Please see Google\Cloud\AIPlatform\V1\FeaturestoreServiceClient::entityTypeName() for help formatting this field.

requests array<Google\Cloud\AIPlatform\V1\CreateFeatureRequest>

Required. The request message specifying the Features to create. All Features must be created under the same parent EntityType. The parent field in each child request message can be omitted. If parent is set in a child request, then the value must match the parent value in this request message.

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\BatchCreateFeaturesRequest