Class: Google::Apis::VmmigrationV1alpha1::NetworkInsights

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

Overview

Information about the network coniguration of the source.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NetworkInsights

Returns a new instance of NetworkInsights.



3398
3399
3400
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 3398

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

Instance Attribute Details

#source_network_configString

Output only. The gathered network configuration of the source. Presented in json format. Corresponds to the JSON property sourceNetworkConfig

Returns:

  • (String)


3390
3391
3392
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 3390

def source_network_config
  @source_network_config
end

#source_network_terraformString

Output only. The gathered network configuration of the source. Presented in terraform format. Corresponds to the JSON property sourceNetworkTerraform

Returns:

  • (String)


3396
3397
3398
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 3396

def source_network_terraform
  @source_network_terraform
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3403
3404
3405
3406
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 3403

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