Class: Google::Apis::ComputeAlpha::AddressesScopedList
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::AddressesScopedList
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/compute_alpha/classes.rb,
generated/google/apis/compute_alpha/representations.rb,
generated/google/apis/compute_alpha/representations.rb
Defined Under Namespace
Classes: Warning
Instance Attribute Summary collapse
-
#addresses ⇒ Array<Google::Apis::ComputeAlpha::Address>
[Output Only] A list of addresses contained in this scope.
-
#warning ⇒ Google::Apis::ComputeAlpha::AddressesScopedList::Warning
[Output Only] Informational warning which replaces the list of addresses when the list is empty.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AddressesScopedList
constructor
A new instance of AddressesScopedList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AddressesScopedList
Returns a new instance of AddressesScopedList.
1017 1018 1019 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 1017 def initialize(**args) update!(**args) end |
Instance Attribute Details
#addresses ⇒ Array<Google::Apis::ComputeAlpha::Address>
[Output Only] A list of addresses contained in this scope.
Corresponds to the JSON property addresses
1009 1010 1011 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 1009 def addresses @addresses end |
#warning ⇒ Google::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
1015 1016 1017 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 1015 def warning @warning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1022 1023 1024 1025 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 1022 def update!(**args) @addresses = args[:addresses] if args.key?(:addresses) @warning = args[:warning] if args.key?(:warning) end |