Maintenance V1BETA API - Class Google::Cloud::Maintenance::Api::V1beta::ResourceMaintenance::Resource (v0.1.0)

Reference documentation and code samples for the Maintenance V1BETA API class Google::Cloud::Maintenance::Api::V1beta::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.