Class: Google::Apis::ComputeBeta::DiskTypesScopedList

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

Defined Under Namespace

Classes: Warning

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DiskTypesScopedList

Returns a new instance of DiskTypesScopedList.



6454
6455
6456
# File 'generated/google/apis/compute_beta/classes.rb', line 6454

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

Instance Attribute Details

#disk_typesArray<Google::Apis::ComputeBeta::DiskType>

[Output Only] A list of disk types contained in this scope. Corresponds to the JSON property diskTypes



6446
6447
6448
# File 'generated/google/apis/compute_beta/classes.rb', line 6446

def disk_types
  @disk_types
end

#warningGoogle::Apis::ComputeBeta::DiskTypesScopedList::Warning

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



6452
6453
6454
# File 'generated/google/apis/compute_beta/classes.rb', line 6452

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6459
6460
6461
6462
# File 'generated/google/apis/compute_beta/classes.rb', line 6459

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