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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Class Resource (0.1.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.1.1 (latest)](/python/docs/reference/google-cloud-maintenance-api/latest/google.cloud.maintenance_api_v1beta.types.ResourceMaintenance.Resource)\n- [0.1.0](/python/docs/reference/google-cloud-maintenance-api/0.1.0/google.cloud.maintenance_api_v1beta.types.ResourceMaintenance.Resource) \n\n Resource(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nResource contains information about the resource affected by\nmaintenance."]]