Dialogflow CX V3 API - Class Google::Cloud::Dialogflow::CX::V3::GetIntentRequest (v0.21.0)

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

The request message for Intents.GetIntent.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#language_code

def language_code() -> ::String
Returns
  • (::String) — The language to retrieve the intent for. The following fields are language dependent:

    • 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 to retrieve the intent for. The following fields are language dependent:

    • 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 to retrieve the intent for. The following fields are language dependent:

    • 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.

#name

def name() -> ::String
Returns
  • (::String) — Required. The name of the intent. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. The name of the intent. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>.
Returns
  • (::String) — Required. The name of the intent. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>.