Class: Google::Cloud::Dialogflow::V2::CreateConversationRequest

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

Overview

The request message for Conversations.CreateConversation.

Instance Attribute Summary collapse

Instance Attribute Details

#conversation::Google::Cloud::Dialogflow::V2::Conversation

Returns Required. The conversation to create.

Returns:



125
126
127
128
# File 'proto_docs/google/cloud/dialogflow/v2/conversation.rb', line 125

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

#conversation_id::String

Returns Optional. Identifier of the conversation. Generally it's auto generated by Google. Only set it if you cannot wait for the response to return a auto-generated one to you.

The conversation ID must be compliant with the regression fomula [a-zA-Z][a-zA-Z0-9_-]* with the characters length in range of [3,64]. If the field is provided, the caller is resposible for

  1. the uniqueness of the ID, otherwise the request will be rejected.
  2. the consistency for whether to use custom ID or not under a project to better ensure uniqueness.

Returns:

  • (::String)

    Optional. Identifier of the conversation. Generally it's auto generated by Google. Only set it if you cannot wait for the response to return a auto-generated one to you.

    The conversation ID must be compliant with the regression fomula [a-zA-Z][a-zA-Z0-9_-]* with the characters length in range of [3,64]. If the field is provided, the caller is resposible for

    1. the uniqueness of the ID, otherwise the request will be rejected.
    2. the consistency for whether to use custom ID or not under a project to better ensure uniqueness.


125
126
127
128
# File 'proto_docs/google/cloud/dialogflow/v2/conversation.rb', line 125

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

#parent::String

Returns Required. Resource identifier of the project creating the conversation. Format: projects/<Project ID>/locations/<Location ID>.

Returns:

  • (::String)

    Required. Resource identifier of the project creating the conversation. Format: projects/<Project ID>/locations/<Location ID>.



125
126
127
128
# File 'proto_docs/google/cloud/dialogflow/v2/conversation.rb', line 125

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