Dialogflow CX V3 API - Class Google::Cloud::Dialogflow::CX::V3::CreateIntentRequest (v0.16.0)

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
Returns

#intent=

def intent=(value) -> ::Google::Cloud::Dialogflow::CX::V3::Intent
Parameter
Returns

#language_code

def language_code() -> ::String
Returns
  • (::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
Parameter
  • 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.

Returns
  • (::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
Returns
  • (::String) — Required. The agent to create an intent for. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. The agent to create an intent for. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.
Returns
  • (::String) — Required. The agent to create an intent for. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.