Class: Google::Apis::VmwareengineV1::NetworkConfig

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

Overview

Network configuration in the consumer project with which the peering has to be done.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NetworkConfig

Returns a new instance of NetworkConfig.



866
867
868
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 866

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

Instance Attribute Details

#management_cidrString

Required. Management CIDR used by VMware management appliances. Corresponds to the JSON property managementCidr

Returns:

  • (String)


838
839
840
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 838

def management_cidr
  @management_cidr
end

#management_ip_address_layout_versionFixnum

Output only. The IP address layout version of the management IP address range. Possible versions include: * managementIpAddressLayoutVersion=1: Indicates the legacy IP address layout used by some existing private clouds. This is no longer supported for new private clouds as it does not support all features. * managementIpAddressLayoutVersion=2: Indicates the latest IP address layout used by all newly created private clouds. This version supports all current features. Corresponds to the JSON property managementIpAddressLayoutVersion

Returns:

  • (Fixnum)


849
850
851
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 849

def management_ip_address_layout_version
  @management_ip_address_layout_version
end

#vmware_engine_networkString

Optional. The relative resource name of the VMware Engine network attached to the private cloud. Specify the name in the following form: projects/project/ locations/location/vmwareEngineNetworks/vmware_engine_network_idwhere project`can either be a project number or a project ID. Corresponds to the JSON propertyvmwareEngineNetwork`

Returns:

  • (String)


857
858
859
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 857

def vmware_engine_network
  @vmware_engine_network
end

#vmware_engine_network_canonicalString

Output only. The canonical name of the VMware Engine network in the form: projects/project_number/locations/location/vmwareEngineNetworks/ vmware_engine_network_id` Corresponds to the JSON propertyvmwareEngineNetworkCanonical`

Returns:

  • (String)


864
865
866
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 864

def vmware_engine_network_canonical
  @vmware_engine_network_canonical
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



871
872
873
874
875
876
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 871

def update!(**args)
  @management_cidr = args[:management_cidr] if args.key?(:management_cidr)
  @management_ip_address_layout_version = args[:management_ip_address_layout_version] if args.key?(:management_ip_address_layout_version)
  @vmware_engine_network = args[:vmware_engine_network] if args.key?(:vmware_engine_network)
  @vmware_engine_network_canonical = args[:vmware_engine_network_canonical] if args.key?(:vmware_engine_network_canonical)
end