# Class DataAgent (0.13.1)

0.13.1 (latest) 0.13.0 0.12.0 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0

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

Message describing a DataAgent object.

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

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `data_analytics_agent` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-geminidataanalytics/latest/google.cloud.geminidataanalytics_v1.types.DataAnalyticsAgent` Data analytics agent. This field is a member of `oneof`_ `type`. |
| `name` | `str` Optional. Identifier. The unique resource name of a DataAgent. Format: `projects/{project}/locations/{location}/dataAgents/{data_agent_id}` `{data_agent}` is the resource id and should be 63 characters or less and must match the format described in https://google.aip.dev/122#resource-id-segments Example: `projects/1234567890/locations/global/dataAgents/my-agent`. It is recommended to skip setting this field during agent creation as it will be inferred automatically and overwritten with the {parent}/dataAgents/{data_agent_id}. |
| `display_name` | `str` Optional. User friendly display name. - Must be between 1-256 characters. |
| `description` | `str` Optional. Description of the agent. - Must be between 1-1024 characters. |
| `labels` | `MutableMapping[str, str]` Optional. Labels to help users filter related agents. For example, "sales", "business", "etl", and so on. Note labels are used only for filtering and not for policies. See the \`labels documentation |
| `create_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The time when the data agent was created. |
| `update_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The time when the data agent was last updated. |
| `delete_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. \[Output only\] The time the data agent was soft deleted. |
| `purge_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. Timestamp in UTC of when this data agent is considered expired. This is \*always\* provided on output, regardless of what was sent on input. |
| `kms_key` | `str` Optional. Customer managed encryption key (CMEK) to use for encrypting the DataAgent resources. Cloud KMS CryptoKeys must reside in the same location as the DataAgent. The expected format is `projects/*/locations/*/keyRings/*/cryptoKeys/*`. This field is a member of `oneof`_ `_kms_key`. |

## Classes

### 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. |