Google Cloud Dialogflow V2 Client - Class SetSuggestionFeatureConfigOperationMetadata (1.0.1)

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

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>

Generated from protobuf field string conversation_profile = 1;

Returns
TypeDescription
string

setConversationProfile

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

Generated from protobuf field string conversation_profile = 1;

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.

Generated from protobuf field .google.cloud.dialogflow.v2.Participant.Role participant_role = 2 [(.google.api.field_behavior) = REQUIRED];

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.

Generated from protobuf field .google.cloud.dialogflow.v2.Participant.Role participant_role = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getSuggestionFeatureType

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

Generated from protobuf field .google.cloud.dialogflow.v2.SuggestionFeature.Type suggestion_feature_type = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

setSuggestionFeatureType

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

Generated from protobuf field .google.cloud.dialogflow.v2.SuggestionFeature.Type suggestion_feature_type = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getCreateTime

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

Generated from protobuf field .google.protobuf.Timestamp create_time = 4;

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

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

Generated from protobuf field .google.protobuf.Timestamp create_time = 4;

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