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

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

Request message for FeaturestoreService.BatchCreateFeatures.

Request message for FeatureRegistryService.BatchCreateFeatures.

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

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

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

↳ requests array<CreateFeatureRequest>

Required. The request message specifying the Features to create. All Features must be created under the same parent EntityType / FeatureGroup. 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/FeatureGroup to create the batch of Features under. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type} projects/{project}/locations/{location}/featureGroups/{feature_group}

Returns
Type Description
string

setParent

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

Parameter
Name Description
var string
Returns
Type Description
$this

getRequests

Required. The request message specifying the Features to create. All Features must be created under the same parent EntityType / FeatureGroup.

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
Type Description
Google\Protobuf\Internal\RepeatedField

setRequests

Required. The request message specifying the Features to create. All Features must be created under the same parent EntityType / FeatureGroup.

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
Name Description
var array<CreateFeatureRequest>
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

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

requests array<CreateFeatureRequest>

Required. The request message specifying the Features to create. All Features must be created under the same parent EntityType / FeatureGroup. 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
Type Description
BatchCreateFeaturesRequest