Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class Destination.
Defines a target endpoint
Generated from protobuf message google.cloud.discoveryengine.v1.DestinationConfig.Destination
Namespace
Google \ Cloud \ DiscoveryEngine \ V1 \ DestinationConfigMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ host |
string
Publicly routable host. |
↳ port |
int
Optional. Target port number accepted by the destination. |
getHost
Publicly routable host.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasHost
setHost
Publicly routable host.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPort
Optional. Target port number accepted by the destination.
| Returns | |
|---|---|
| Type | Description |
int |
|
setPort
Optional. Target port number accepted by the destination.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDestination
| Returns | |
|---|---|
| Type | Description |
string |
|