Class: Google::Apis::ComputeBeta::NetworkAttachmentsScopedList
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::NetworkAttachmentsScopedList
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_beta/classes.rb,
lib/google/apis/compute_beta/representations.rb,
lib/google/apis/compute_beta/representations.rb
Defined Under Namespace
Classes: Warning
Instance Attribute Summary collapse
-
#network_attachments ⇒ Array<Google::Apis::ComputeBeta::NetworkAttachment>
A list of NetworkAttachments contained in this scope.
-
#warning ⇒ Google::Apis::ComputeBeta::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.
25612 25613 25614 |
# File 'lib/google/apis/compute_beta/classes.rb', line 25612 def initialize(**args) update!(**args) end |
Instance Attribute Details
#network_attachments ⇒ Array<Google::Apis::ComputeBeta::NetworkAttachment>
A list of NetworkAttachments contained in this scope.
Corresponds to the JSON property networkAttachments
25604 25605 25606 |
# File 'lib/google/apis/compute_beta/classes.rb', line 25604 def @network_attachments end |
#warning ⇒ Google::Apis::ComputeBeta::NetworkAttachmentsScopedList::Warning
Informational warning which replaces the list of network attachments when the
list is empty.
Corresponds to the JSON property warning
25610 25611 25612 |
# File 'lib/google/apis/compute_beta/classes.rb', line 25610 def warning @warning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
25617 25618 25619 25620 |
# File 'lib/google/apis/compute_beta/classes.rb', line 25617 def update!(**args) @network_attachments = args[:network_attachments] if args.key?(:network_attachments) @warning = args[:warning] if args.key?(:warning) end |