Google Cloud Gemini Data Analytics V1beta Client - Class TableCandidate (0.1.1)

Reference documentation and code samples for the Google Cloud Gemini Data Analytics V1beta Client class TableCandidate.

A retrieved BigQuery table candidate.

Generated from protobuf message google.cloud.geminidataanalytics.v1beta.TableCandidate

Namespace

Google \ Cloud \ GeminiDataAnalytics \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ linked_resource string

The fully qualified resource name of the candidate in its source system, if applicable. E.g. for BigQuery tables, the format is: bigquery.googleapis.com/projects/{project_id}/datasets/{dataset_id}/tables/{table_id}.

↳ icl_string string

In-context-learning string. For example, could be in DDL format.

↳ field_suggestions array<TableCandidate\FieldSuggestion>

Suggested field descriptions for this candidate, if requested.

getLinkedResource

The fully qualified resource name of the candidate in its source system, if applicable. E.g. for BigQuery tables, the format is: bigquery.googleapis.com/projects/{project_id}/datasets/{dataset_id}/tables/{table_id}.

Returns
Type Description
string

setLinkedResource

The fully qualified resource name of the candidate in its source system, if applicable. E.g. for BigQuery tables, the format is: bigquery.googleapis.com/projects/{project_id}/datasets/{dataset_id}/tables/{table_id}.

Parameter
Name Description
var string
Returns
Type Description
$this

getIclString

In-context-learning string. For example, could be in DDL format.

Returns
Type Description
string

setIclString

In-context-learning string. For example, could be in DDL format.

Parameter
Name Description
var string
Returns
Type Description
$this

getFieldSuggestions

Suggested field descriptions for this candidate, if requested.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setFieldSuggestions

Suggested field descriptions for this candidate, if requested.

Parameter
Name Description
var array<TableCandidate\FieldSuggestion>
Returns
Type Description
$this