# Class ProfileInfo (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

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

The profile information for each field type.

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** |
| `null_ratio` | `float` Output only. Ratio of rows with null value against total scanned rows. |
| `distinct_ratio` | `float` Output only. Ratio of rows with distinct values against total scanned rows. Not available for complex non-groupable field type, including RECORD, ARRAY, GEOGRAPHY, and JSON, as well as fields with REPEATABLE mode. |
| `top_n_values` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.DataProfileResult.Profile.Field.ProfileInfo.TopNValue]` Output only. The list of top N non-null values, frequency and ratio with which they occur in the scanned data. N is 10 or equal to the number of distinct values in the field, whichever is smaller. Not available for complex non-groupable field type, including RECORD, ARRAY, GEOGRAPHY, and JSON, as well as fields with REPEATABLE mode. |
| `string_profile` | `https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo` String type field information. This field is a member of `oneof`_ `field_info`. |
| `integer_profile` | `https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo` Integer type field information. This field is a member of `oneof`_ `field_info`. |
| `double_profile` | `https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo` Double type field information. This field is a member of `oneof`_ `field_info`. |

## Classes

### DoubleFieldInfo

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

The profile information for a double type field.

### IntegerFieldInfo

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

The profile information for an integer type field.

### StringFieldInfo

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

The profile information for a string type field.

### TopNValue

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

Top N non-null values in the scanned data.