Google Cloud Discovery Engine V1 Client - Class DestinationConfig (1.17.0)

Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class DestinationConfig.

Defines target endpoints used to connect to third-party sources.

Generated from protobuf message google.cloud.discoveryengine.v1.DestinationConfig

Namespace

Google \ Cloud \ DiscoveryEngine \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ params Google\Protobuf\Struct

Optional. Additional parameters for this destination config in structured json format.

↳ json_params string

Additional parameters for this destination config in json string format.

↳ key string

Optional. Unique destination identifier that is supported by the connector.

↳ destinations array<DestinationConfig\Destination>

Optional. The destinations for the corresponding key.

getParams

Optional. Additional parameters for this destination config in structured json format.

Returns
Type Description
Google\Protobuf\Struct|null

hasParams

setParams

Optional. Additional parameters for this destination config in structured json format.

Parameter
Name Description
var Google\Protobuf\Struct
Returns
Type Description
$this

getJsonParams

Additional parameters for this destination config in json string format.

Returns
Type Description
string

hasJsonParams

setJsonParams

Additional parameters for this destination config in json string format.

Parameter
Name Description
var string
Returns
Type Description
$this

getKey

Optional. Unique destination identifier that is supported by the connector.

Returns
Type Description
string

setKey

Optional. Unique destination identifier that is supported by the connector.

Parameter
Name Description
var string
Returns
Type Description
$this

getDestinations

Optional. The destinations for the corresponding key.

Returns
Type Description
Google\Protobuf\RepeatedField<DestinationConfig\Destination>

setDestinations

Optional. The destinations for the corresponding key.

Parameter
Name Description
var array<DestinationConfig\Destination>
Returns
Type Description
$this

getDestinationConfigParams

Returns
Type Description
string