Class: Google::Apis::ComputeAlpha::AddressesScopedList

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) ⇒ AddressesScopedList

Returns a new instance of AddressesScopedList.



1073
1074
1075
# File 'lib/google/apis/compute_alpha/classes.rb', line 1073

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

Instance Attribute Details

#addressesArray<Google::Apis::ComputeAlpha::Address>

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



1065
1066
1067
# File 'lib/google/apis/compute_alpha/classes.rb', line 1065

def addresses
  @addresses
end

#warningGoogle::Apis::ComputeAlpha::AddressesScopedList::Warning

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



1071
1072
1073
# File 'lib/google/apis/compute_alpha/classes.rb', line 1071

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1078
1079
1080
1081
# File 'lib/google/apis/compute_alpha/classes.rb', line 1078

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