Class: Google::Apis::ComputeAlpha::NetworkAttachmentsScopedList
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::NetworkAttachmentsScopedList
- 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
-
#network_attachments ⇒ Array<Google::Apis::ComputeAlpha::NetworkAttachment>
A list of NetworkAttachments contained in this scope.
-
#warning ⇒ Google::Apis::ComputeAlpha::NetworkAttachmentsScopedList::Warning
Informational warning which replaces the list of network attachments when the list is empty.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NetworkAttachmentsScopedList
constructor
A new instance of NetworkAttachmentsScopedList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ NetworkAttachmentsScopedList
Returns a new instance of NetworkAttachmentsScopedList.
31215 31216 31217 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 31215 def initialize(**args) update!(**args) end |
Instance Attribute Details
#network_attachments ⇒ Array<Google::Apis::ComputeAlpha::NetworkAttachment>
A list of NetworkAttachments contained in this scope.
Corresponds to the JSON property networkAttachments
31207 31208 31209 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 31207 def @network_attachments end |
#warning ⇒ Google::Apis::ComputeAlpha::NetworkAttachmentsScopedList::Warning
Informational warning which replaces the list of network attachments when the
list is empty.
Corresponds to the JSON property warning
31213 31214 31215 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 31213 def warning @warning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
31220 31221 31222 31223 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 31220 def update!(**args) @network_attachments = args[:network_attachments] if args.key?(:network_attachments) @warning = args[:warning] if args.key?(:warning) end |