Class: Google::Cloud::Dialogflow::CX::V3::CreateIntentRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dialogflow/cx/v3/intent.rb

Overview

The request message for Intents.CreateIntent.

Instance Attribute Summary collapse

Instance Attribute Details

#intent::Google::Cloud::Dialogflow::CX::V3::Intent

Returns Required. The intent to create.

Returns:



272
273
274
275
# File 'proto_docs/google/cloud/dialogflow/cx/v3/intent.rb', line 272

class CreateIntentRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#language_code::String

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



272
273
274
275
# File 'proto_docs/google/cloud/dialogflow/cx/v3/intent.rb', line 272

class CreateIntentRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#parent::String

Returns Required. The agent to create an intent for. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>.

Returns:

  • (::String)

    Required. The agent to create an intent for. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>.



272
273
274
275
# File 'proto_docs/google/cloud/dialogflow/cx/v3/intent.rb', line 272

class CreateIntentRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end