apiVersion

@JvmName(name = "ecbhstaoiqdyoaye")
suspend fun apiVersion(value: Output<String>)
@JvmName(name = "cmgvmwmtvbkvtlyp")
suspend fun apiVersion(value: String?)

Parameters

value

API version displayed in Dialogflow console. If not specified, V2 API is assumed. Clients are free to query different service endpoints for different API versions. However, bots connectors and webhook calls will follow the specified API version.

  • API_VERSION_V1: Legacy V1 API.

  • API_VERSION_V2: V2 API.

  • API_VERSION_V2_BETA_1: V2beta1 API. Possible values are: API_VERSION_V1, API_VERSION_V2, API_VERSION_V2_BETA_1.