Class: Google::Apis::ComputeV1::NetworkAttachmentsScopedList
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::NetworkAttachmentsScopedList
- 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
-
#network_attachments ⇒ Array<Google::Apis::ComputeV1::NetworkAttachment>
A list of NetworkAttachments contained in this scope.
-
#warning ⇒ Google::Apis::ComputeV1::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.
23883 23884 23885 |
# File 'lib/google/apis/compute_v1/classes.rb', line 23883 def initialize(**args) update!(**args) end |
Instance Attribute Details
#network_attachments ⇒ Array<Google::Apis::ComputeV1::NetworkAttachment>
A list of NetworkAttachments contained in this scope.
Corresponds to the JSON property networkAttachments
23875 23876 23877 |
# File 'lib/google/apis/compute_v1/classes.rb', line 23875 def @network_attachments end |
#warning ⇒ Google::Apis::ComputeV1::NetworkAttachmentsScopedList::Warning
Informational warning which replaces the list of network attachments when the
list is empty.
Corresponds to the JSON property warning
23881 23882 23883 |
# File 'lib/google/apis/compute_v1/classes.rb', line 23881 def warning @warning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
23888 23889 23890 23891 |
# File 'lib/google/apis/compute_v1/classes.rb', line 23888 def update!(**args) @network_attachments = args[:network_attachments] if args.key?(:network_attachments) @warning = args[:warning] if args.key?(:warning) end |