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

Message representing a reference to a single Firestore database.

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

## Namespace

Google \\ Cloud \\ GeminiDataAnalytics \\ V1beta

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ project_id` | `string` Required. Project the firestore database belongs to. |
| `↳ database_id` | `string` Required. The database id. |
| `↳ collection_ids` | `string[]` Optional. The collection ids. Denotes all collections if unset. |
| `↳ database_table_references` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1beta.DatabaseTableReference>` Optional. References to collections within the database. Each reference specifies a collection and can optionally include the collection's schema to provide context for the query. |

### getProjectId

Required. Project the firestore database belongs to.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setProjectId

Required. Project the firestore database belongs to.

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

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

### getDatabaseId

Required. The database id.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setDatabaseId

Required. The database id.

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

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

### getCollectionIds

Optional. The collection ids. Denotes all collections if unset.

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

### setCollectionIds

Optional. The collection ids. Denotes all collections if unset.

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

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

### getDatabaseTableReferences

Optional. References to collections within the database. Each reference
specifies a collection and can optionally include the collection's schema
to provide context for the query.

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

### setDatabaseTableReferences

Optional. References to collections within the database. Each reference
specifies a collection and can optionally include the collection's schema
to provide context for the query.

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

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