Class: Google::Apis::ComputeV1::AddressesScopedList
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::AddressesScopedList
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/representations.rb
Defined Under Namespace
Classes: Warning
Instance Attribute Summary collapse
-
#addresses ⇒ Array<Google::Apis::ComputeV1::Address>
[Output Only] A list of addresses contained in this scope.
-
#warning ⇒ Google::Apis::ComputeV1::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.
1052 1053 1054 |
# File 'lib/google/apis/compute_v1/classes.rb', line 1052 def initialize(**args) update!(**args) end |
Instance Attribute Details
#addresses ⇒ Array<Google::Apis::ComputeV1::Address>
[Output Only] A list of addresses contained in this scope.
Corresponds to the JSON property addresses
1044 1045 1046 |
# File 'lib/google/apis/compute_v1/classes.rb', line 1044 def addresses @addresses end |
#warning ⇒ Google::Apis::ComputeV1::AddressesScopedList::Warning
[Output Only] Informational warning which replaces the list of addresses when
the list is empty.
Corresponds to the JSON property warning
1050 1051 1052 |
# File 'lib/google/apis/compute_v1/classes.rb', line 1050 def warning @warning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1057 1058 1059 1060 |
# File 'lib/google/apis/compute_v1/classes.rb', line 1057 def update!(**args) @addresses = args[:addresses] if args.key?(:addresses) @warning = args[:warning] if args.key?(:warning) end |