google_api_dialogflow v0.2.0 GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2IntentTrainingPhrase View Source
Represents an example or template that the agent is trained on.
Attributes
- name (String.t): Output only. The unique identifier of this training phrase. Defaults to:
null. - parts ([GoogleCloudDialogflowV2IntentTrainingPhrasePart]): Required. The collection of training phrase parts (can be annotated). Fields: `entity_type`, `alias` and `user_defined` should be populated only for the annotated parts of the training phrase. Defaults to:
null. - timesAddedCount (integer()): Optional. Indicates how many times this example or template was added to the intent. Each time a developer adds an existing sample by editing an intent or training, this counter is increased. Defaults to:
null. type (String.t): Required. The type of the training phrase. Defaults to:
null.- Enum - one of [TYPE_UNSPECIFIED, EXAMPLE, TEMPLATE]
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields
Link to this section Types
Link to this type
t()
View Source
t() ::
%GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2IntentTrainingPhrase{
name: any(),
parts: [
GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2IntentTrainingPhrasePart.t()
],
timesAddedCount: any(),
type: any()
}
Link to this section Functions
Unwrap a decoded JSON object into its complex fields.