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.



687
688
689
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 687

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

Instance Attribute Details

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

Networks with IPs. Corresponds to the JSON property networks



685
686
687
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 685

def networks
  @networks
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



692
693
694
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 692

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