Sha256: b799541fea5afde6839036e1cb776e2afc5b80881a8a37a36cc4d4a191ebdc90

Contents?: true

Size: 521 Bytes

Versions: 14

Compression:

Stored size: 521 Bytes

Contents

module Fog
  module Compute
    class Google
      class Zone < Fog::Model
        identity :name
        attribute :description
        attribute :status
        attribute :maintenance_windows, :aliases => "maintenanceWindows"
        attribute :begin_time, :aliases => "beginTime"
        attribute :end_time, :aliases => "endTime"
        attribute :quotas
        attribute :region
        attribute :self_link, :aliases => "selfLink"

        def up?
          status == "UP"
        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
fog-google-0.6.0 lib/fog/compute/google/models/zone.rb
fog-google-0.5.5 lib/fog/compute/google/models/zone.rb
fog-google-0.5.4 lib/fog/compute/google/models/zone.rb
fog-google-0.5.3 lib/fog/compute/google/models/zone.rb
fog-google-0.5.2 lib/fog/compute/google/models/zone.rb
fog-google-0.5.1 lib/fog/compute/google/models/zone.rb
fog-google-0.5.0 lib/fog/compute/google/models/zone.rb
fog-google-0.4.2 lib/fog/compute/google/models/zone.rb
fog-google-0.4.1 lib/fog/compute/google/models/zone.rb
fog-google-0.4.0 lib/fog/compute/google/models/zone.rb
fog-google-0.3.2 lib/fog/compute/google/models/zone.rb
fog-google-0.3.1 lib/fog/compute/google/models/zone.rb
fog-google-0.3.0 lib/fog/compute/google/models/zone.rb
fog-google-0.2.0 lib/fog/compute/google/models/zone.rb