Class: Google::Apis::ComputeBeta::AddressesScopedList
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::AddressesScopedList
- 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
-
#addresses ⇒ Array<Google::Apis::ComputeBeta::Address>
[Output Only] A list of addresses contained in this scope.
-
#warning ⇒ Google::Apis::ComputeBeta::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.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ AddressesScopedList
Returns a new instance of AddressesScopedList
937 938 939 |
# File 'generated/google/apis/compute_beta/classes.rb', line 937 def initialize(**args) update!(**args) end |
Instance Attribute Details
#addresses ⇒ Array<Google::Apis::ComputeBeta::Address>
[Output Only] A list of addresses contained in this scope.
Corresponds to the JSON property addresses
929 930 931 |
# File 'generated/google/apis/compute_beta/classes.rb', line 929 def addresses @addresses end |
#warning ⇒ Google::Apis::ComputeBeta::AddressesScopedList::Warning
[Output Only] Informational warning which replaces the list of addresses when
the list is empty.
Corresponds to the JSON property warning
935 936 937 |
# File 'generated/google/apis/compute_beta/classes.rb', line 935 def warning @warning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
942 943 944 945 |
# File 'generated/google/apis/compute_beta/classes.rb', line 942 def update!(**args) @addresses = args[:addresses] if args.key?(:addresses) @warning = args[:warning] if args.key?(:warning) end |