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

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

Retrieved data.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` Optional. A snake-case name for the data result that reflects its contents. The name is used to pass the result around by reference, and serves as a signal about its meaning. - Example: "total_sales_by_product" - Example: "sales_for_product_12345". |
| `schema` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-geminidataanalytics/latest/google.cloud.geminidataanalytics_v1.types.Schema` Optional. The schema of the data. |
| `data` | `MutableSequence[google.protobuf.struct_pb2.Struct]` Optional. The content of the data. Each row is a struct that matches the schema. Simple values are represented as strings, while nested structures are represented as lists or structs. |
| `formatted_data` | `MutableSequence[google.protobuf.struct_pb2.Struct]` Optional. Formatted representation of the data, when applicable. Each row is a struct that directly corresponds to the row at the same index within the `data` field. Its values are string representations of the original data, formatted according to data source specifications (e.g., "$1,234.56" for currency). Columns without formatting will default to their raw value representation. If no columns have formatting rules, this field will be empty. |