Sha256: 9d22392b59aa67ca741b76d485f39b3eebd00afe94bd93d57470932cbdf1ed8a

Contents?: true

Size: 535 Bytes

Versions: 41

Compression:

Stored size: 535 Bytes

Contents

module Fog
  module Compute
    class Google
      class Zone < Fog::Model
        identity :name

        attribute :creation_timestamp, :aliases => "creationTimestamp"
        attribute :deprecated
        attribute :description
        attribute :id
        attribute :kind
        attribute :region
        attribute :self_link, :aliases => "selfLink"
        attribute :status

        UP_STATE = "UP".freeze
        DOWN_STATE = "DOWN".freeze

        def up?
          status == UP_STATE
        end
      end
    end
  end
end

Version data entries

41 entries across 41 versions & 2 rubygems

Version Path
fog-google-1.24.1 lib/fog/compute/google/models/zone.rb
fog-google-1.24.0 lib/fog/compute/google/models/zone.rb
fog-google-1.23.0 lib/fog/compute/google/models/zone.rb
fog-google-1.22.0 lib/fog/compute/google/models/zone.rb
fog-google-1.21.1 lib/fog/compute/google/models/zone.rb
fog-google-1.21.0 lib/fog/compute/google/models/zone.rb
fog-google-1.20.0 lib/fog/compute/google/models/zone.rb
fog-google-1.19.0 lib/fog/compute/google/models/zone.rb
fog-google-1.18.0 lib/fog/compute/google/models/zone.rb
fog-google-1.17.0 lib/fog/compute/google/models/zone.rb
fog-google-1.16.1 lib/fog/compute/google/models/zone.rb
fog-google-1.16.0 lib/fog/compute/google/models/zone.rb
fog-google-1.15.0 lib/fog/compute/google/models/zone.rb
fog-google-1.14.0 lib/fog/compute/google/models/zone.rb
gitlab-fog-google-1.14.0 lib/fog/compute/google/models/zone.rb
fog-google-1.13.0 lib/fog/compute/google/models/zone.rb
gitlab-fog-google-1.13.0 lib/fog/compute/google/models/zone.rb
fog-google-1.12.1 lib/fog/compute/google/models/zone.rb
fog-google-1.12.0 lib/fog/compute/google/models/zone.rb
fog-google-1.11.0 lib/fog/compute/google/models/zone.rb