Google Cloud Dialogflow V2 Client - Class SetSuggestionFeatureConfigOperationMetadata (1.13.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
Name Description
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
Type Description
string

setConversationProfile

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

Parameter
Name Description
var string
Returns
Type Description
$this

getParticipantRole

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

Returns
Type Description
int

setParticipantRole

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

Parameter
Name Description
var int
Returns
Type Description
$this

getSuggestionFeatureType

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

Returns
Type Description
int

setSuggestionFeatureType

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

Parameter
Name Description
var int
Returns
Type Description
$this

getCreateTime

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

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

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

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