# Data Object - HostGatewaySpec(vim.host.GatewaySpec)

Property of
  HostConnectSpec
Extends
  DynamicData
See also
  KeyValue
Since
  vSphere API 6.0

## Data Object Description

Settings for a gateway used to communicate with a host.

Properties

Name | Type | Description
--- | --- | ---
gatewayId* | xsd:string | Identifier of the gateway to be used for communction to the host. If omitted a random gateway of this type will be selected.
gatewayType | xsd:string | The type of the gateway used for the communication to the host.
hostAuthParams* | KeyValue[] | Additional opaque authentication data that the gateway may need to authenticate to the host.
trustVerificationToken* | xsd:string | An opaque string that the gateway may need to validate that the host it connects to is the correct host.
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:sms="urn:sms" name="HostGatewaySpec"> <complexContent> <extension base="sms:DynamicData"> <sequence> <element name="gatewayType" type="xsd:string"/> <element name="gatewayId" type="xsd:string" minOccurs="0"/> <element name="trustVerificationToken" type="xsd:string" minOccurs="0"/> <element name="hostAuthParams" type="sms:KeyValue" minOccurs="0" maxOccurs="unbounded"/> </sequence> </extension> </complexContent> </complexType>