Class: Google::Apis::ComputeV1::SubnetworksScopedList
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::SubnetworksScopedList
- 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
-
#subnetworks ⇒ Array<Google::Apis::ComputeV1::Subnetwork>
A list of subnetworks contained in this scope.
-
#warning ⇒ Google::Apis::ComputeV1::SubnetworksScopedList::Warning
An informational warning that appears when the list of addresses is empty.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SubnetworksScopedList
constructor
A new instance of SubnetworksScopedList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SubnetworksScopedList
Returns a new instance of SubnetworksScopedList.
43001 43002 43003 |
# File 'lib/google/apis/compute_v1/classes.rb', line 43001 def initialize(**args) update!(**args) end |
Instance Attribute Details
#subnetworks ⇒ Array<Google::Apis::ComputeV1::Subnetwork>
A list of subnetworks contained in this scope.
Corresponds to the JSON property subnetworks
42994 42995 42996 |
# File 'lib/google/apis/compute_v1/classes.rb', line 42994 def subnetworks @subnetworks end |
#warning ⇒ Google::Apis::ComputeV1::SubnetworksScopedList::Warning
An informational warning that appears when the list of addresses is empty.
Corresponds to the JSON property warning
42999 43000 43001 |
# File 'lib/google/apis/compute_v1/classes.rb', line 42999 def warning @warning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
43006 43007 43008 43009 |
# File 'lib/google/apis/compute_v1/classes.rb', line 43006 def update!(**args) @subnetworks = args[:subnetworks] if args.key?(:subnetworks) @warning = args[:warning] if args.key?(:warning) end |