# Class Resource (0.4.1)

0.4.1 (latest) 0.4.0 0.3.0 0.2.0 0.1.1

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

Resource contains information about the resource affected by
maintenance.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `resource_name` | `str` Output only. Name is the reference to the consumer resource affected by the maintenance. Available values can be found here: https://cloud.google.com/asset-inventory/docs/asset-names |
| `location` | `str` Output only. The location of the resource. Format: `us-central1` |
| `type_` | `str` Output only. The type of the resource. Available values can be found here: https://cloud.google.com/asset-inventory/docs/asset-types#supported_resource_types Please note that not all the resource types will have their maintenances reported. |