Dialogflow CX V3 API - Class Google::Cloud::Dialogflow::CX::V3::CreateGeneratorRequest (v1.1.1)

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

The request message for Generators.CreateGenerator.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#generator

def generator() -> ::Google::Cloud::Dialogflow::CX::V3::Generator
Returns

#generator=

def generator=(value) -> ::Google::Cloud::Dialogflow::CX::V3::Generator
Parameter
Returns

#language_code

def language_code() -> ::String
Returns
  • (::String) —

    The language to create generators for the following fields:

    • Generator.prompt_text.text If not specified, the agent's default language is used.

#language_code=

def language_code=(value) -> ::String
Parameter
  • value (::String) —

    The language to create generators for the following fields:

    • Generator.prompt_text.text If not specified, the agent's default language is used.
Returns
  • (::String) —

    The language to create generators for the following fields:

    • Generator.prompt_text.text If not specified, the agent's default language is used.

#parent

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

#parent=

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