Class ChangeRequest (2.20.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 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 google.cloud.dataplex_v1.types.CreateEntryRequest
Payload for creating an Entry. This field is a member of oneof_ change_payload.
update_entry google.cloud.dataplex_v1.types.UpdateEntryRequest
Payload for updating an Entry. This field is a member of oneof_ change_payload.
delete_entry google.cloud.dataplex_v1.types.DeleteEntryRequest
Payload for deleting an Entry. This field is a member of oneof_ change_payload.
create_entry_link google.cloud.dataplex_v1.types.CreateEntryLinkRequest
Payload for creating an EntryLink. This field is a member of oneof_ change_payload.
delete_entry_link google.cloud.dataplex_v1.types.DeleteEntryLinkRequest
Payload for deleting an EntryLink. This field is a member of oneof_ change_payload.
create_glossary google.cloud.dataplex_v1.types.CreateGlossaryRequest
Payload for creating a Glossary. This field is a member of oneof_ change_payload.
update_glossary google.cloud.dataplex_v1.types.UpdateGlossaryRequest
Payload for updating a Glossary. This field is a member of oneof_ change_payload.
delete_glossary google.cloud.dataplex_v1.types.DeleteGlossaryRequest
Payload for deleting a Glossary. This field is a member of oneof_ change_payload.
create_glossary_category google.cloud.dataplex_v1.types.CreateGlossaryCategoryRequest
Payload for creating a GlossaryCategory. This field is a member of oneof_ change_payload.
update_glossary_category google.cloud.dataplex_v1.types.UpdateGlossaryCategoryRequest
Payload for updating a GlossaryCategory. This field is a member of oneof_ change_payload.
delete_glossary_category google.cloud.dataplex_v1.types.DeleteGlossaryCategoryRequest
Payload for deleting a GlossaryCategory. This field is a member of oneof_ change_payload.
create_glossary_term google.cloud.dataplex_v1.types.CreateGlossaryTermRequest
Payload for creating a GlossaryTerm. This field is a member of oneof_ change_payload.
update_glossary_term google.cloud.dataplex_v1.types.UpdateGlossaryTermRequest
Payload for updating a GlossaryTerm. This field is a member of oneof_ change_payload.
delete_glossary_term google.cloud.dataplex_v1.types.DeleteGlossaryTermRequest
Payload for deleting a GlossaryTerm. This field is a member of oneof_ change_payload.
data_product_access_request google.cloud.dataplex_v1.types.DataProductAccessRequest
Payload for Data Product access request. This field is a member of oneof_ change_payload.
change_type 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.