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.



48139
48140
48141
# File 'lib/google/apis/compute_alpha/classes.rb', line 48139

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



48131
48132
48133
# File 'lib/google/apis/compute_alpha/classes.rb', line 48131

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



48137
48138
48139
# File 'lib/google/apis/compute_alpha/classes.rb', line 48137

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



48144
48145
48146
48147
# File 'lib/google/apis/compute_alpha/classes.rb', line 48144

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