Sha256: 6a7a7e8e20618eb118650ac8e2d978ca2c86b2f52d3cb5d8ff28effbce7589bf

Contents?: true

Size: 626 Bytes

Versions: 14

Compression:

Stored size: 626 Bytes

Contents

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

        attribute :kind
        attribute :id
        attribute :creation_timestamp, :aliases => "creationTimestamp"
        attribute :deprecated
        attribute :description
        attribute :self_link, :aliases => "selfLink"
        attribute :valid_disk_size, :aliases => "validDiskSize"
        attribute :zone

        def reload
          requires :identity, :zone

          data = collection.get(identity, zone)
          merge_attributes(data.attributes)
          self
        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/disk_type.rb
fog-google-0.5.5 lib/fog/compute/google/models/disk_type.rb
fog-google-0.5.4 lib/fog/compute/google/models/disk_type.rb
fog-google-0.5.3 lib/fog/compute/google/models/disk_type.rb
fog-google-0.5.2 lib/fog/compute/google/models/disk_type.rb
fog-google-0.5.1 lib/fog/compute/google/models/disk_type.rb
fog-google-0.5.0 lib/fog/compute/google/models/disk_type.rb
fog-google-0.4.2 lib/fog/compute/google/models/disk_type.rb
fog-google-0.4.1 lib/fog/compute/google/models/disk_type.rb
fog-google-0.4.0 lib/fog/compute/google/models/disk_type.rb
fog-google-0.3.2 lib/fog/compute/google/models/disk_type.rb
fog-google-0.3.1 lib/fog/compute/google/models/disk_type.rb
fog-google-0.3.0 lib/fog/compute/google/models/disk_type.rb
fog-google-0.2.0 lib/fog/compute/google/models/disk_type.rb