Dialogflow CX V3 API - Class Google::Cloud::Dialogflow::CX::V3::CreateFlowRequest (v0.24.0)

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

The request message for Flows.CreateFlow.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#flow

def flow() -> ::Google::Cloud::Dialogflow::CX::V3::Flow
Returns

#flow=

def flow=(value) -> ::Google::Cloud::Dialogflow::CX::V3::Flow
Parameter
Returns

#language_code

def language_code() -> ::String
Returns
  • (::String) — The language of the following fields in flow:

    • Flow.event_handlers.trigger_fulfillment.messages
    • Flow.event_handlers.trigger_fulfillment.conditional_cases
    • Flow.transition_routes.trigger_fulfillment.messages
    • Flow.transition_routes.trigger_fulfillment.conditional_cases

    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 flow:

    • Flow.event_handlers.trigger_fulfillment.messages
    • Flow.event_handlers.trigger_fulfillment.conditional_cases
    • Flow.transition_routes.trigger_fulfillment.messages
    • Flow.transition_routes.trigger_fulfillment.conditional_cases

    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 flow:

    • Flow.event_handlers.trigger_fulfillment.messages
    • Flow.event_handlers.trigger_fulfillment.conditional_cases
    • Flow.transition_routes.trigger_fulfillment.messages
    • Flow.transition_routes.trigger_fulfillment.conditional_cases

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