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 SearchScope.

Message representing filters to apply to search over BigQuery tables.

At least one of `include_project_ids` or `include_dataset_references` must be
populated with non-blank identifiers. Tables matching either field are
included, so the two fields are unioned (OR-ed) rather than intersected.
Note: `SearchScope` 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).

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

## Namespace

Google \\ Cloud \\ GeminiDataAnalytics \\ V1beta

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ include_project_ids` | `string[]` Optional. The BigQuery project ids to search over. |
| `↳ include_dataset_references` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1beta.BigQueryDatasetReference>` Optional. The BigQuery dataset references to search over. |

### getIncludeProjectIds

Optional. The BigQuery project ids to search over.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<string>` |   |

### setIncludeProjectIds

Optional. The BigQuery project ids to search over.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string[]` |

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

### getIncludeDatasetReferences

Optional. The BigQuery dataset references to search over.

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

### setIncludeDatasetReferences

Optional. The BigQuery dataset references to search over.

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

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