# Class AssetFrame (0.4.1)

0.4.1 (latest) 0.4.0 0.3.0 0.2.0 0.1.15

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

Contains data reported from an inventory source on an asset.

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

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `machine_details` | `https://docs.cloud.google.com/python/docs/reference/migrationcenter/latest/google.cloud.migrationcenter_v1.types.MachineDetails` Asset information specific for virtual machines. This field is a member of `oneof`_ `FrameData`. |
| `report_time` | `google.protobuf.timestamp_pb2.Timestamp` The time the data was reported. |
| `labels` | `MutableMapping[str, str]` Labels as key value pairs. |
| `attributes` | `MutableMapping[str, str]` Generic asset attributes. |
| `performance_samples` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/migrationcenter/latest/google.cloud.migrationcenter_v1.types.PerformanceSample]` Asset performance data samples. Samples that are from more than 40 days ago or after tomorrow are ignored. |
| `trace_token` | `str` Optional. Trace token is optionally provided to assist with debugging and traceability. |

## Classes

### AttributesEntry

    AttributesEntry(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. |

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