# Class Principal (1.12.0)

1.12.0 (latest) 1.11.0 1.10.0 1.9.0 1.8.3 1.7.0 1.6.1 1.5.0 1.4.4 1.3.0 1.2.0 1.1.1 1.0.1 0.2.2 0.1.1

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

Users/Service accounts which have access for DNS binding on
the intranet VPC corresponding to the consumer project.

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** |
| `user` | `str` The user who needs to be granted permission. This field is a member of `oneof`_ `principal`. |
| `service_account` | `str` The service account which needs to be granted the permission. This field is a member of `oneof`_ `principal`. |