# Google Cloud Dataplex V1 Client - Class ModifyEntryRequest (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 ModifyEntryRequest.

Modify Entry request using permissions in the source system.

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

## Namespace

Google \\ Cloud \\ Dataplex \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Required. The project to which the request should be attributed in the following form: `projects/{project}/locations/{location}`. |
| `↳ entry` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataplex/latest/V1.Entry` Required. The entry to modify. |
| `↳ update_mask` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` Optional. Mask of fields to update. To update Aspects, the update_mask must contain the value "aspects". If the update_mask is empty, the service will update all modifiable fields present in the request. |
| `↳ delete_missing_aspects` | `bool` Optional. If set to true, any aspects not specified in the request will be deleted. The default is false. |
| `↳ aspect_keys` | `string[]` Optional. The aspect keys which the service should modify. It supports the following syntaxes: \* \* `<aspect_type_reference>` - matches an aspect of the given type and empty path. \* \* `<aspect_type_reference>\@path` - matches an aspect of the given type and specified path. For example, to attach an aspect to a field that is specified by the `schema` aspect, the path should have the format `Schema.<field_name>`. \* \* `<aspect_type_reference>\@*` - matches aspects of the given type for all paths. \* \* `*\@path` - matches aspects of all types on the given path. The service will not remove existing aspects matching the syntax unless `delete_missing_aspects` is set to true. If this field is left empty, the service treats it as specifying exactly those Aspects present in the request. |

### getName

Required. The project to which the request should be attributed in the
following form: `projects/{project}/locations/{location}`.

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

### setName

Required. The project to which the request should be attributed in the
following form: `projects/{project}/locations/{location}`.

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

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

### getEntry

Required. The entry to modify.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dataplex/latest/V1.Entry|null` |   |

### hasEntry

### clearEntry

### setEntry

Required. The entry to modify.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataplex/latest/V1.Entry` |

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

### getUpdateMask

Optional. Mask of fields to update. To update Aspects, the update_mask must
contain the value "aspects".

If the update_mask is empty, the service will update all modifiable fields
present in the request.

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

### hasUpdateMask

### clearUpdateMask

### setUpdateMask

Optional. Mask of fields to update. To update Aspects, the update_mask must
contain the value "aspects".

If the update_mask is empty, the service will update all modifiable fields
present in the request.

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

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

### getDeleteMissingAspects

Optional. If set to true, any aspects not specified in the request will be
deleted. The default is false.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setDeleteMissingAspects

Optional. If set to true, any aspects not specified in the request will be
deleted. The default is false.

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

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

### getAspectKeys

Optional. The aspect keys which the service should modify. It supports
the following syntaxes:

- `<aspect_type_reference>` - matches an aspect of the given type and empty
  path.

- `<aspect_type_reference>\@path` - matches an aspect of the given type and
  specified path. For example, to attach an aspect to a field that is
  specified by the `schema` aspect, the path should have the format
  `Schema.<field_name>`.

- `<aspect_type_reference>\@*` - matches aspects of the given type for all paths.
- `*\@path` - matches aspects of all types on the given path. The service will not remove existing aspects matching the syntax unless `delete_missing_aspects` is set to true. If this field is left empty, the service treats it as specifying exactly those Aspects present in the request.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setAspectKeys

Optional. The aspect keys which the service should modify. It supports
the following syntaxes:

- `<aspect_type_reference>` - matches an aspect of the given type and empty
  path.

- `<aspect_type_reference>\@path` - matches an aspect of the given type and
  specified path. For example, to attach an aspect to a field that is
  specified by the `schema` aspect, the path should have the format
  `Schema.<field_name>`.

- `<aspect_type_reference>\@*` - matches aspects of the given type for all paths.
- `*\@path` - matches aspects of all types on the given path. The service will not remove existing aspects matching the syntax unless `delete_missing_aspects` is set to true. If this field is left empty, the service treats it as specifying exactly those Aspects present in the request.

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

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