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.



643
644
645
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 643

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

Instance Attribute Details

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

Networks with IPs. Corresponds to the JSON property networks



641
642
643
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 641

def networks
  @networks
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



648
649
650
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 648

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