Dialogflow CX V3 API - Class Google::Cloud::Dialogflow::CX::V3::Intent::TrainingPhrase::Part (v1.0.0)

Reference documentation and code samples for the Dialogflow CX V3 API class Google::Cloud::Dialogflow::CX::V3::Intent::TrainingPhrase::Part.

Represents a part of a training phrase.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#parameter_id

def parameter_id() -> ::String
Returns
  • (::String) — The parameter used to annotate this part of the training phrase. This field is required for annotated parts of the training phrase.

#parameter_id=

def parameter_id=(value) -> ::String
Parameter
  • value (::String) — The parameter used to annotate this part of the training phrase. This field is required for annotated parts of the training phrase.
Returns
  • (::String) — The parameter used to annotate this part of the training phrase. This field is required for annotated parts of the training phrase.

#text

def text() -> ::String
Returns
  • (::String) — Required. The text for this part.

#text=

def text=(value) -> ::String
Parameter
  • value (::String) — Required. The text for this part.
Returns
  • (::String) — Required. The text for this part.