# Maintenance V1 API - Class Google::Cloud::Maintenance::Api::V1::ResourceMaintenance::Resource (v0.4.0)

0.4.0 (latest) 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Maintenance V1 API class Google::Cloud::Maintenance::Api::V1::ResourceMaintenance::Resource.

Resource contains information about the resource affected by maintenance.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #location

    def location() -> ::String

**Returns**

- (::String) --- Output only. The location of the resource. Format: `us-central1`

### #resource_name

    def resource_name() -> ::String

**Returns**

- (::String) --- 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

### #type

    def type() -> ::String

**Returns**

- (::String) --- 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.