Class: Google::Apis::BaremetalsolutionV2::ListNetworkUsageResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/baremetalsolution_v2/classes.rb,
lib/google/apis/baremetalsolution_v2/representations.rb,
lib/google/apis/baremetalsolution_v2/representations.rb

Overview

Response with Networks with IPs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListNetworkUsageResponse

Returns a new instance of ListNetworkUsageResponse.



742
743
744
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 742

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#networksArray<Google::Apis::BaremetalsolutionV2::NetworkUsage>

Networks with IPs. Corresponds to the JSON property networks



740
741
742
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 740

def networks
  @networks
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



747
748
749
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 747

def update!(**args)
  @networks = args[:networks] if args.key?(:networks)
end