# Google Cloud Dataplex V1 Client - Class EntrySource (1.14.0)

1.14.0 (latest) 1.13.0 1.12.0 1.11.0 1.10.0 1.9.1 1.8.0 1.7.1 1.6.1 1.4.0 1.3.0 1.2.1 1.1.1 1.0.1 0.16.1 0.15.1 0.14.0 0.13.0 0.12.0 0.11.1 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.1 0.4.0 0.3.0 0.2.3 0.1.6 Reference documentation and code samples for the Google Cloud Dataplex V1 Client class EntrySource.

Information related to the source system of the data resource that is
represented by the entry.

Generated from protobuf message `google.cloud.dataplex.v1.EntrySource`

## Namespace

Google \\ Cloud \\ Dataplex \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ resource` | `string` The name of the resource in the source system. Maximum length is 4,000 characters. |
| `↳ system` | `string` The name of the source system. Maximum length is 64 characters. |
| `↳ platform` | `string` The platform containing the source system. Maximum length is 64 characters. |
| `↳ display_name` | `string` A user-friendly display name. Maximum length is 500 characters. |
| `↳ description` | `string` A description of the data resource. Maximum length is 2,000 characters. |
| `↳ labels` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` User-defined labels. The maximum size of keys and values is 128 characters each. |
| `↳ ancestors` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-dataplex/latest/V1.EntrySource.Ancestor>` Immutable. The entries representing the ancestors of the data resource in the source system. |
| `↳ create_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` The time when the resource was created in the source system. |
| `↳ update_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` The time when the resource was last updated in the source system. If the entry exists in the system and its `EntrySource` has `update_time` populated, further updates to the `EntrySource` of the entry must provide incremental updates to its `update_time`. |
| `↳ location` | `string` Output only. Location of the resource in the source system. You can search the entry by this location. By default, this should match the location of the entry group containing this entry. A different value allows capturing the source location for data external to Google Cloud. |

### getResource

The name of the resource in the source system.

Maximum length is 4,000 characters.

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

### setResource

The name of the resource in the source system.

Maximum length is 4,000 characters.

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

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

### getSystem

The name of the source system.

Maximum length is 64 characters.

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

### setSystem

The name of the source system.

Maximum length is 64 characters.

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

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

### getPlatform

The platform containing the source system.

Maximum length is 64 characters.

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

### setPlatform

The platform containing the source system.

Maximum length is 64 characters.

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

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

### getDisplayName

A user-friendly display name.

Maximum length is 500 characters.

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

### setDisplayName

A user-friendly display name.

Maximum length is 500 characters.

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

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

### getDescription

A description of the data resource.

Maximum length is 2,000 characters.

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

### setDescription

A description of the data resource.

Maximum length is 2,000 characters.

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

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

### getLabels

User-defined labels.

The maximum size of keys and values is 128 characters each.

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

### setLabels

User-defined labels.

The maximum size of keys and values is 128 characters each.

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

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

### getAncestors

Immutable. The entries representing the ancestors of the data resource in
the source system.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-dataplex/latest/V1.EntrySource.Ancestor>` |   |

### setAncestors

Immutable. The entries representing the ancestors of the data resource in
the source system.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-dataplex/latest/V1.EntrySource.Ancestor>` |

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

### getCreateTime

The time when the resource was created in the source system.

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

### hasCreateTime

### clearCreateTime

### setCreateTime

The time when the resource was created in the source system.

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

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

### getUpdateTime

The time when the resource was last updated in the source system. If the
entry exists in the system and its `EntrySource` has `update_time`
populated, further updates to the `EntrySource` of the entry must provide
incremental updates to its `update_time`.

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

### hasUpdateTime

### clearUpdateTime

### setUpdateTime

The time when the resource was last updated in the source system. If the
entry exists in the system and its `EntrySource` has `update_time`
populated, further updates to the `EntrySource` of the entry must provide
incremental updates to its `update_time`.

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

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

### getLocation

Output only. Location of the resource in the source system. You can search
the entry by this location. By default, this should match the location of
the entry group containing this entry. A different value allows capturing
the source location for data external to Google Cloud.

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

### setLocation

Output only. Location of the resource in the source system. You can search
the entry by this location. By default, this should match the location of
the entry group containing this entry. A different value allows capturing
the source location for data external to Google Cloud.

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

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