Class: Google::Apis::MigrationcenterV1alpha1::NetworkAddressList

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

Overview

List of allocated/assigned network addresses.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NetworkAddressList

Returns a new instance of NetworkAddressList.



4485
4486
4487
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4485

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

Instance Attribute Details

#addressesArray<Google::Apis::MigrationcenterV1alpha1::NetworkAddress>

Network address entries. Corresponds to the JSON property addresses



4483
4484
4485
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4483

def addresses
  @addresses
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4490
4491
4492
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4490

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