Google Cloud Discovery Engine V1 Client - Class AgentSpec (1.15.1)

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

Specification of an agent.

Generated from protobuf message google.cloud.discoveryengine.v1.StreamAssistRequest.AgentsSpec.AgentSpec

Namespace

Google \ Cloud \ DiscoveryEngine \ V1 \ StreamAssistRequest \ AgentsSpec

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ agent_id string

Required. ID to identify the agent resource serving the request. This field must conform to RFC-1034 with a length limit of 63 characters.

getAgentId

Required. ID to identify the agent resource serving the request.

This field must conform to RFC-1034 with a length limit of 63 characters.

Returns
Type Description
string

setAgentId

Required. ID to identify the agent resource serving the request.

This field must conform to RFC-1034 with a length limit of 63 characters.

Parameter
Name Description
var string
Returns
Type Description
$this