Google Cloud Dialogflow V2 Client - Class SetSuggestionFeatureConfigOperationMetadata (1.6.0)

Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class SetSuggestionFeatureConfigOperationMetadata.

Metadata for a ConversationProfile.SetSuggestionFeatureConfig operation.

Generated from protobuf message google.cloud.dialogflow.v2.SetSuggestionFeatureConfigOperationMetadata

Namespace

Google \ Cloud \ Dialogflow \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ conversation_profile string

The resource name of the conversation profile. Format: projects/<Project ID>/locations/<Location ID>/conversationProfiles/<Conversation Profile ID>

↳ participant_role int

Required. The participant role to add or update the suggestion feature config. Only HUMAN_AGENT or END_USER can be used.

↳ suggestion_feature_type int

Required. The type of the suggestion feature to add or update.

↳ create_time Google\Protobuf\Timestamp

Timestamp whe the request was created. The time is measured on server side.

getConversationProfile

The resource name of the conversation profile. Format: projects/<Project ID>/locations/<Location ID>/conversationProfiles/<Conversation Profile ID>

Returns
TypeDescription
string

setConversationProfile

The resource name of the conversation profile. Format: projects/<Project ID>/locations/<Location ID>/conversationProfiles/<Conversation Profile ID>

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getParticipantRole

Required. The participant role to add or update the suggestion feature config. Only HUMAN_AGENT or END_USER can be used.

Returns
TypeDescription
int

setParticipantRole

Required. The participant role to add or update the suggestion feature config. Only HUMAN_AGENT or END_USER can be used.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getSuggestionFeatureType

Required. The type of the suggestion feature to add or update.

Returns
TypeDescription
int

setSuggestionFeatureType

Required. The type of the suggestion feature to add or update.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getCreateTime

Timestamp whe the request was created. The time is measured on server side.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Timestamp whe the request was created. The time is measured on server side.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this