Google Cloud Ai Platform V1 Client - Class FeatureValueDestination (0.10.0)

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

A destination location for Feature values and format.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ bigquery_destination Google\Cloud\AIPlatform\V1\BigQueryDestination

Output in BigQuery format. BigQueryDestination.output_uri in FeatureValueDestination.bigquery_destination must refer to a table.

↳ tfrecord_destination Google\Cloud\AIPlatform\V1\TFRecordDestination

Output in TFRecord format. Below are the mapping from Feature value type in Featurestore to Feature value type in TFRecord: Value type in Featurestore | Value type in TFRecord DOUBLE, DOUBLE_ARRAY | FLOAT_LIST INT64, INT64_ARRAY | INT64_LIST STRING, STRING_ARRAY, BYTES | BYTES_LIST true -> byte_string("true"), false -> byte_string("false") BOOL, BOOL_ARRAY (true, false) | BYTES_LIST

↳ csv_destination Google\Cloud\AIPlatform\V1\CsvDestination

Output in CSV format. Array Feature value types are not allowed in CSV format.

getBigqueryDestination

Output in BigQuery format.

BigQueryDestination.output_uri in FeatureValueDestination.bigquery_destination must refer to a table.

Generated from protobuf field .google.cloud.aiplatform.v1.BigQueryDestination bigquery_destination = 1;

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\BigQueryDestination|null

hasBigqueryDestination

setBigqueryDestination

Output in BigQuery format.

BigQueryDestination.output_uri in FeatureValueDestination.bigquery_destination must refer to a table.

Generated from protobuf field .google.cloud.aiplatform.v1.BigQueryDestination bigquery_destination = 1;

Parameter
NameDescription
var Google\Cloud\AIPlatform\V1\BigQueryDestination
Returns
TypeDescription
$this

getTfrecordDestination

Output in TFRecord format.

Below are the mapping from Feature value type in Featurestore to Feature value type in TFRecord: Value type in Featurestore | Value type in TFRecord DOUBLE, DOUBLE_ARRAY | FLOAT_LIST INT64, INT64_ARRAY | INT64_LIST STRING, STRING_ARRAY, BYTES | BYTES_LIST true -> byte_string("true"), false -> byte_string("false") BOOL, BOOL_ARRAY (true, false) | BYTES_LIST

Generated from protobuf field .google.cloud.aiplatform.v1.TFRecordDestination tfrecord_destination = 2;

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\TFRecordDestination|null

hasTfrecordDestination

setTfrecordDestination

Output in TFRecord format.

Below are the mapping from Feature value type in Featurestore to Feature value type in TFRecord: Value type in Featurestore | Value type in TFRecord DOUBLE, DOUBLE_ARRAY | FLOAT_LIST INT64, INT64_ARRAY | INT64_LIST STRING, STRING_ARRAY, BYTES | BYTES_LIST true -> byte_string("true"), false -> byte_string("false") BOOL, BOOL_ARRAY (true, false) | BYTES_LIST

Generated from protobuf field .google.cloud.aiplatform.v1.TFRecordDestination tfrecord_destination = 2;

Parameter
NameDescription
var Google\Cloud\AIPlatform\V1\TFRecordDestination
Returns
TypeDescription
$this

getCsvDestination

Output in CSV format. Array Feature value types are not allowed in CSV format.

Generated from protobuf field .google.cloud.aiplatform.v1.CsvDestination csv_destination = 3;

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\CsvDestination|null

hasCsvDestination

setCsvDestination

Output in CSV format. Array Feature value types are not allowed in CSV format.

Generated from protobuf field .google.cloud.aiplatform.v1.CsvDestination csv_destination = 3;

Parameter
NameDescription
var Google\Cloud\AIPlatform\V1\CsvDestination
Returns
TypeDescription
$this

getDestination

Returns
TypeDescription
string