Class: Google::Apis::ComputeAlpha::StoragePoolTypesScopedList

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb

Defined Under Namespace

Classes: Warning

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StoragePoolTypesScopedList

Returns a new instance of StoragePoolTypesScopedList.



48839
48840
48841
# File 'lib/google/apis/compute_alpha/classes.rb', line 48839

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#storage_pool_typesArray<Google::Apis::ComputeAlpha::StoragePoolType>

[Output Only] A list of storage pool types contained in this scope. Corresponds to the JSON property storagePoolTypes



48831
48832
48833
# File 'lib/google/apis/compute_alpha/classes.rb', line 48831

def storage_pool_types
  @storage_pool_types
end

#warningGoogle::Apis::ComputeAlpha::StoragePoolTypesScopedList::Warning

[Output Only] Informational warning which replaces the list of storage pool types when the list is empty. Corresponds to the JSON property warning



48837
48838
48839
# File 'lib/google/apis/compute_alpha/classes.rb', line 48837

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



48844
48845
48846
48847
# File 'lib/google/apis/compute_alpha/classes.rb', line 48844

def update!(**args)
  @storage_pool_types = args[:storage_pool_types] if args.key?(:storage_pool_types)
  @warning = args[:warning] if args.key?(:warning)
end