Cloud AutoML V1beta1 Client - Class OutputConfig (1.5.4)

Reference documentation and code samples for the Cloud AutoML V1beta1 Client class OutputConfig.

  • For Translation: CSV file translation.csv, with each line in format: ML_USE,GCS_FILE_PATH GCS_FILE_PATH leads to a .TSV file which describes examples that have given ML_USE, using the following row format per line: TEXT_SNIPPET (in source language) \t TEXT_SNIPPET (in target language)
    • For Tables: Output depends on whether the dataset was imported from GCS or BigQuery.

GCS case: gcs_destination must be set. Exported are CSV file(s) tables_1.csv, tables_2.csv,...,tables_N.csv with each having as header line the table's column names, and all other lines contain values for the header columns. BigQuery case: bigquery_destination pointing to a BigQuery project must be set. In the given project a new dataset will be created with name export_data_<automl-dataset-display-name>_<timestamp-of-export-call> where

Generated from protobuf message google.cloud.automl.v1beta1.OutputConfig

Namespace

Google \ Cloud \ AutoMl \ V1beta1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ gcs_destination Google\Cloud\AutoMl\V1beta1\GcsDestination

The Google Cloud Storage location where the output is to be written to. For Image Object Detection, Text Extraction, Video Classification and Tables, in the given directory a new directory will be created with name: export_data-

↳ bigquery_destination Google\Cloud\AutoMl\V1beta1\BigQueryDestination

The BigQuery location where the output is to be written to.

getGcsDestination

The Google Cloud Storage location where the output is to be written to.

For Image Object Detection, Text Extraction, Video Classification and Tables, in the given directory a new directory will be created with name: export_data-

Returns
TypeDescription
Google\Cloud\AutoMl\V1beta1\GcsDestination|null

hasGcsDestination

setGcsDestination

The Google Cloud Storage location where the output is to be written to.

For Image Object Detection, Text Extraction, Video Classification and Tables, in the given directory a new directory will be created with name: export_data-

Parameter
NameDescription
var Google\Cloud\AutoMl\V1beta1\GcsDestination
Returns
TypeDescription
$this

getBigqueryDestination

The BigQuery location where the output is to be written to.

Returns
TypeDescription
Google\Cloud\AutoMl\V1beta1\BigQueryDestination|null

hasBigqueryDestination

setBigqueryDestination

The BigQuery location where the output is to be written to.

Parameter
NameDescription
var Google\Cloud\AutoMl\V1beta1\BigQueryDestination
Returns
TypeDescription
$this

getDestination

Returns
TypeDescription
string