Class: Google::Apis::MigrationcenterV1alpha1::DatabaseInstanceNetwork
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::DatabaseInstanceNetwork
- 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
Network details of a database instance.
Instance Attribute Summary collapse
-
#host_names ⇒ Array<String>
Optional.
-
#ip_addresses ⇒ Array<String>
Optional.
-
#primary_mac_address ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DatabaseInstanceNetwork
constructor
A new instance of DatabaseInstanceNetwork.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DatabaseInstanceNetwork
Returns a new instance of DatabaseInstanceNetwork.
1970 1971 1972 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1970 def initialize(**args) update!(**args) end |
Instance Attribute Details
#host_names ⇒ Array<String>
Optional. The instance's host names.
Corresponds to the JSON property hostNames
1958 1959 1960 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1958 def host_names @host_names end |
#ip_addresses ⇒ Array<String>
Optional. The instance's IP addresses.
Corresponds to the JSON property ipAddresses
1963 1964 1965 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1963 def ip_addresses @ip_addresses end |
#primary_mac_address ⇒ String
Optional. The instance's primary MAC address.
Corresponds to the JSON property primaryMacAddress
1968 1969 1970 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1968 def primary_mac_address @primary_mac_address end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1975 1976 1977 1978 1979 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1975 def update!(**args) @host_names = args[:host_names] if args.key?(:host_names) @ip_addresses = args[:ip_addresses] if args.key?(:ip_addresses) @primary_mac_address = args[:primary_mac_address] if args.key?(:primary_mac_address) end |