# Class ChangeRequest (2.20.0)

2.20.0 (latest) 2.19.0 2.16.0 2.15.0 2.14.0 2.13.0 2.12.0 2.11.0 2.10.2 2.9.0 2.8.0 2.7.1 2.6.0 2.5.0 2.4.0 2.3.1 2.2.2 2.1.0 2.0.1 1.13.0 1.12.3 1.11.0 1.10.0 1.9.0 1.8.1 1.7.0 1.6.2 1.5.1 1.4.3 1.3.0 1.2.0 1.1.3 1.0.1 0.2.1 0.1.0

    ChangeRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents a proposed change to a metadata resource.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` Identifier. The relative resource name of the ChangeRequest, of the form: projects/{project_number}/locations/{location_id}/changeRequests/{change_request_id} |
| `uid` | `str` Output only. System generated globally unique ID for the ChangeRequest. |
| `create_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The time when the ChangeRequest was created. |
| `update_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The time when the ChangeRequest was last updated. |
| `justification` | `str` Optional. Justification of the ChangeRequest. This should explain \*why\* the change is needed or why it should be approved. |
| `labels` | `MutableMapping[str, str]` Optional. User-defined labels for the ChangeRequest. |
| `author` | `str` Output only. The email address of the user who created the ChangeRequest. |
| `state` | `https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.ChangeRequest.State` Output only. The current state of the ChangeRequest. |
| `resource` | `str` Output only. The full resource name of the target resource to be modified. Example: //dataplex.googleapis.com/projects/my-project/locations/us-central1/entryGroups/my-group/entries/my-entry |
| `create_entry` | `https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.CreateEntryRequest` Payload for creating an Entry. This field is a member of `oneof`_ `change_payload`. |
| `update_entry` | `https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.UpdateEntryRequest` Payload for updating an Entry. This field is a member of `oneof`_ `change_payload`. |
| `delete_entry` | `https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.DeleteEntryRequest` Payload for deleting an Entry. This field is a member of `oneof`_ `change_payload`. |
| `create_entry_link` | `https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.CreateEntryLinkRequest` Payload for creating an EntryLink. This field is a member of `oneof`_ `change_payload`. |
| `delete_entry_link` | `https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.DeleteEntryLinkRequest` Payload for deleting an EntryLink. This field is a member of `oneof`_ `change_payload`. |
| `create_glossary` | `https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.CreateGlossaryRequest` Payload for creating a Glossary. This field is a member of `oneof`_ `change_payload`. |
| `update_glossary` | `https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.UpdateGlossaryRequest` Payload for updating a Glossary. This field is a member of `oneof`_ `change_payload`. |
| `delete_glossary` | `https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.DeleteGlossaryRequest` Payload for deleting a Glossary. This field is a member of `oneof`_ `change_payload`. |
| `create_glossary_category` | `https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.CreateGlossaryCategoryRequest` Payload for creating a GlossaryCategory. This field is a member of `oneof`_ `change_payload`. |
| `update_glossary_category` | `https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.UpdateGlossaryCategoryRequest` Payload for updating a GlossaryCategory. This field is a member of `oneof`_ `change_payload`. |
| `delete_glossary_category` | `https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.DeleteGlossaryCategoryRequest` Payload for deleting a GlossaryCategory. This field is a member of `oneof`_ `change_payload`. |
| `create_glossary_term` | `https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.CreateGlossaryTermRequest` Payload for creating a GlossaryTerm. This field is a member of `oneof`_ `change_payload`. |
| `update_glossary_term` | `https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.UpdateGlossaryTermRequest` Payload for updating a GlossaryTerm. This field is a member of `oneof`_ `change_payload`. |
| `delete_glossary_term` | `https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.DeleteGlossaryTermRequest` Payload for deleting a GlossaryTerm. This field is a member of `oneof`_ `change_payload`. |
| `data_product_access_request` | `https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.DataProductAccessRequest` Payload for Data Product access request. This field is a member of `oneof`_ `change_payload`. |
| `change_type` | `https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.ChangeRequest.ChangeType` Output only. The type of change represented by the change_payload. This field is derived from the populated field in the change_payload oneof. |
| `rejection_comment` | `str` Output only. The reason provided for rejecting the ChangeRequest. |
| `approver` | `str` Output only. The email address of the user who approved/rejected the ChangeRequest. |
| `etag` | `str` Optional. This checksum is computed by the service. It can be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. |

## Classes

### ChangeType

    ChangeType(value)

Enum representing the type of change in the payload.

### LabelsEntry

    LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `kwargs` | `dict` Keys and values corresponding to the fields of the message. |
| `mapping` | ``Union[dict, `.Message`]`` A dictionary or message to be used to determine the values for this message. |
| `ignore_unknown_fields` | `Optional(bool)` If True, do not raise errors for unknown fields. Only applied if `mapping` is a mapping type or there are keyword parameters. |

### State

    State(value)

Possible states of a ChangeRequest.