apiVersion property

String? apiVersion
getter/setter pair

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.

Optional. Possible string values are:

  • "API_VERSION_UNSPECIFIED" : Not specified.
  • "API_VERSION_V1" : Legacy V1 API.
  • "API_VERSION_V2" : V2 API.
  • "API_VERSION_V2_BETA_1" : V2beta1 API.

Implementation

core.String? apiVersion;