0.16.0 (latest) 0.15.0 0.14.1 0.11.1 0.10.0 0.9.0 0.8.0 0.7.1 0.6.0 0.5.0 0.4.0 0.3.1 0.2.0 0.1.1

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

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

Message representing references to BigQuery tables and property graphs.

At least one of `table_references`, `property_graph_references`, or
`search_scope` must be populated.

Generated from protobuf message `google.cloud.geminidataanalytics.v1beta.BigQueryTableReferences`

## Namespace

Google \\ Cloud \\ GeminiDataAnalytics \\ V1beta

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ table_references` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1beta.BigQueryTableReference>` Optional. References to BigQuery tables. |
| `↳ property_graph_references` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1beta.BigQueryPropertyGraphReference>` Optional. References to BigQuery graphs. Note: "property graph" is the former name for BigQuery Graph. The field and message names retain the original term for backward compatibility; both refer to the same resource. |
| `↳ search_scope` | `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1beta.SearchScope` Optional. Search over BigQuery resources to discover most relevant tables to the query. When set, at least one of `include_project_ids` or `include_dataset_references` must be populated with non-blank identifiers. Matches from the two fields are unioned (OR-ed). Note: `search_scope` is only supported for standalone conversations (`ChatRequest.inline_context` or `ClientManagedResourceContext.inline_context`) and is not supported in [DataAgent](https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1beta.DataAgent). |
| `↳ agent_context_reference` | `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1beta.AgentContextReference` Optional. Parameters for retrieving data from Agent Context. |

### getTableReferences

Optional. References to BigQuery tables.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1beta.BigQueryTableReference>` |   |

### setTableReferences

Optional. References to BigQuery tables.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1beta.BigQueryTableReference>` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getPropertyGraphReferences

Optional. References to BigQuery graphs.

Note: "property graph" is the former name for BigQuery Graph. The field and
message names retain the original term for backward compatibility; both
refer to the same resource.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1beta.BigQueryPropertyGraphReference>` |   |

### setPropertyGraphReferences

Optional. References to BigQuery graphs.

Note: "property graph" is the former name for BigQuery Graph. The field and
message names retain the original term for backward compatibility; both
refer to the same resource.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1beta.BigQueryPropertyGraphReference>` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getSearchScope

Optional. Search over BigQuery resources to discover most relevant tables
to the query.

When set, at least one of `include_project_ids` or
`include_dataset_references` must be populated with non-blank identifiers.
Matches from the two fields are unioned (OR-ed).
Note: `search_scope` is only supported for standalone conversations
(`ChatRequest.inline_context` or
`ClientManagedResourceContext.inline_context`) and is not supported in
[DataAgent](https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1beta.DataAgent).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1beta.SearchScope|null` |   |

### hasSearchScope

### clearSearchScope

### setSearchScope

Optional. Search over BigQuery resources to discover most relevant tables
to the query.

When set, at least one of `include_project_ids` or
`include_dataset_references` must be populated with non-blank identifiers.
Matches from the two fields are unioned (OR-ed).
Note: `search_scope` is only supported for standalone conversations
(`ChatRequest.inline_context` or
`ClientManagedResourceContext.inline_context`) and is not supported in
[DataAgent](https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1beta.DataAgent).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1beta.SearchScope` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getAgentContextReference

Optional. Parameters for retrieving data from Agent Context.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1beta.AgentContextReference|null` |   |

### hasAgentContextReference

### clearAgentContextReference

### setAgentContextReference

Optional. Parameters for retrieving data from Agent Context.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1beta.AgentContextReference` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |