class Google::Cloud::Env
def instance_attribute key
-
(String, nil)-
Parameters:
-
key(String) -- Attribute key to look up.
def instance_attribute key compute_metadata.lookup "instance/attributes/#{key}" rescue MetadataServerNotResponding nil end