# Google Cloud Discovery Engine V1 Client - Class Project (1.11.1)

1.11.1 (latest) 1.11.0 1.10.1 1.9.1 1.8.0 1.7.0 1.6.1 1.5.1 1.4.0 1.3.3 1.2.0 1.1.0 1.0.0 0.11.3 0.8.0 0.7.1 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class Project.

Metadata and configurations for a Google Cloud project in the service.

Generated from protobuf message `google.cloud.discoveryengine.v1.Project`

## Namespace

Google \\ Cloud \\ DiscoveryEngine \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Output only. Full resource name of the project, for example `projects/{project}`. Note that when making requests, project number and project id are both acceptable, but the server will always respond in project number. |
| `↳ create_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Output only. The timestamp when this project is created. |
| `↳ provision_completion_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Output only. The timestamp when this project is successfully provisioned. Empty value means this project is still provisioning and is not ready for use. |
| `↳ service_terms_map` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` Output only. A map of terms of services. The key is the `id` of [ServiceTerms](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.Project.ServiceTerms). |

### getName

Output only. Full resource name of the project, for example
`projects/{project}`.

Note that when making requests, project number and project id are both
acceptable, but the server will always respond in project number.

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

### setName

Output only. Full resource name of the project, for example
`projects/{project}`.

Note that when making requests, project number and project id are both
acceptable, but the server will always respond in project number.

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

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

### getCreateTime

Output only. The timestamp when this project is created.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasCreateTime

### clearCreateTime

### setCreateTime

Output only. The timestamp when this project is created.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

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

### getProvisionCompletionTime

Output only. The timestamp when this project is successfully provisioned.

Empty value means this project is still provisioning and is not ready for
use.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasProvisionCompletionTime

### clearProvisionCompletionTime

### setProvisionCompletionTime

Output only. The timestamp when this project is successfully provisioned.

Empty value means this project is still provisioning and is not ready for
use.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

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

### getServiceTermsMap

Output only. A map of terms of services. The key is the `id` of
[ServiceTerms](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.Project.ServiceTerms).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` |   |

### setServiceTermsMap

Output only. A map of terms of services. The key is the `id` of
[ServiceTerms](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.Project.ServiceTerms).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` |

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