Reference documentation and code samples for the Dialogflow CX V3 API class Google::Cloud::Dialogflow::CX::V3::CreateIntentRequest.
The request message for Intents.CreateIntent.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#intent
def intent() -> ::Google::Cloud::Dialogflow::CX::V3::Intent
- (::Google::Cloud::Dialogflow::CX::V3::Intent) — Required. The intent to create.
#intent=
def intent=(value) -> ::Google::Cloud::Dialogflow::CX::V3::Intent
- value (::Google::Cloud::Dialogflow::CX::V3::Intent) — Required. The intent to create.
- (::Google::Cloud::Dialogflow::CX::V3::Intent) — Required. The intent to create.
#language_code
def language_code() -> ::String
-
(::String) — The language of the following fields in
intent
:-
Intent.training_phrases.parts.text
If not specified, the agent's default language is used. Many languages are supported. Note: languages must be enabled in the agent before they can be used.
-
#language_code=
def language_code=(value) -> ::String
-
value (::String) — The language of the following fields in
intent
:-
Intent.training_phrases.parts.text
If not specified, the agent's default language is used. Many languages are supported. Note: languages must be enabled in the agent before they can be used.
-
-
(::String) — The language of the following fields in
intent
:-
Intent.training_phrases.parts.text
If not specified, the agent's default language is used. Many languages are supported. Note: languages must be enabled in the agent before they can be used.
-
#parent
def parent() -> ::String
-
(::String) — Required. The agent to create an intent for.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>
.
#parent=
def parent=(value) -> ::String
-
value (::String) — Required. The agent to create an intent for.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>
.
-
(::String) — Required. The agent to create an intent for.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>
.