Class: Fog::Compute::Google::Project

Inherits:
Model
  • Object
show all
Defined in:
lib/fog/google/models/compute/project.rb

Overview

Represents a Project resource

Instance Method Summary collapse

Instance Method Details

#set_metadata(metadata = {}) ⇒ Object



21
22
23
24
25
26
# File 'lib/fog/google/models/compute/project.rb', line 21

def ( = {})
  requires :identity

  data = service.(identity, self.['fingerprint'], )
  Fog::Compute::Google::Operations.new(:service => service).get(data.body['name'])
end