All Downloads are FREE. Search and download functionalities are using the official Maven repository.

src.dialogflow.v3.AgentArgs.scala Maven / Gradle / Ivy

The newest version!
package besom.api.googlenative.dialogflow.v3

final case class AgentArgs private(
  advancedSettings: besom.types.Output[scala.Option[besom.api.googlenative.dialogflow.v3.inputs.GoogleCloudDialogflowCxV3AdvancedSettingsArgs]],
  answerFeedbackSettings: besom.types.Output[scala.Option[besom.api.googlenative.dialogflow.v3.inputs.GoogleCloudDialogflowCxV3AgentAnswerFeedbackSettingsArgs]],
  avatarUri: besom.types.Output[scala.Option[String]],
  defaultLanguageCode: besom.types.Output[String],
  description: besom.types.Output[scala.Option[String]],
  displayName: besom.types.Output[String],
  enableSpellCorrection: besom.types.Output[scala.Option[Boolean]],
  enableStackdriverLogging: besom.types.Output[scala.Option[Boolean]],
  genAppBuilderSettings: besom.types.Output[scala.Option[besom.api.googlenative.dialogflow.v3.inputs.GoogleCloudDialogflowCxV3AgentGenAppBuilderSettingsArgs]],
  gitIntegrationSettings: besom.types.Output[scala.Option[besom.api.googlenative.dialogflow.v3.inputs.GoogleCloudDialogflowCxV3AgentGitIntegrationSettingsArgs]],
  location: besom.types.Output[scala.Option[String]],
  locked: besom.types.Output[scala.Option[Boolean]],
  name: besom.types.Output[scala.Option[String]],
  project: besom.types.Output[scala.Option[String]],
  securitySettings: besom.types.Output[scala.Option[String]],
  speechToTextSettings: besom.types.Output[scala.Option[besom.api.googlenative.dialogflow.v3.inputs.GoogleCloudDialogflowCxV3SpeechToTextSettingsArgs]],
  startFlow: besom.types.Output[scala.Option[String]],
  supportedLanguageCodes: besom.types.Output[scala.Option[scala.collection.immutable.List[String]]],
  textToSpeechSettings: besom.types.Output[scala.Option[besom.api.googlenative.dialogflow.v3.inputs.GoogleCloudDialogflowCxV3TextToSpeechSettingsArgs]],
  timeZone: besom.types.Output[String]
)

object AgentArgs:
  def apply(
    advancedSettings: besom.types.Input.Optional[besom.api.googlenative.dialogflow.v3.inputs.GoogleCloudDialogflowCxV3AdvancedSettingsArgs] = scala.None,
    answerFeedbackSettings: besom.types.Input.Optional[besom.api.googlenative.dialogflow.v3.inputs.GoogleCloudDialogflowCxV3AgentAnswerFeedbackSettingsArgs] = scala.None,
    avatarUri: besom.types.Input.Optional[String] = scala.None,
    defaultLanguageCode: besom.types.Input[String],
    description: besom.types.Input.Optional[String] = scala.None,
    displayName: besom.types.Input[String],
    enableSpellCorrection: besom.types.Input.Optional[Boolean] = scala.None,
    enableStackdriverLogging: besom.types.Input.Optional[Boolean] = scala.None,
    genAppBuilderSettings: besom.types.Input.Optional[besom.api.googlenative.dialogflow.v3.inputs.GoogleCloudDialogflowCxV3AgentGenAppBuilderSettingsArgs] = scala.None,
    gitIntegrationSettings: besom.types.Input.Optional[besom.api.googlenative.dialogflow.v3.inputs.GoogleCloudDialogflowCxV3AgentGitIntegrationSettingsArgs] = scala.None,
    location: besom.types.Input.Optional[String] = scala.None,
    locked: besom.types.Input.Optional[Boolean] = scala.None,
    name: besom.types.Input.Optional[String] = scala.None,
    project: besom.types.Input.Optional[String] = scala.None,
    securitySettings: besom.types.Input.Optional[String] = scala.None,
    speechToTextSettings: besom.types.Input.Optional[besom.api.googlenative.dialogflow.v3.inputs.GoogleCloudDialogflowCxV3SpeechToTextSettingsArgs] = scala.None,
    startFlow: besom.types.Input.Optional[String] = scala.None,
    supportedLanguageCodes: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[String]]] = scala.None,
    textToSpeechSettings: besom.types.Input.Optional[besom.api.googlenative.dialogflow.v3.inputs.GoogleCloudDialogflowCxV3TextToSpeechSettingsArgs] = scala.None,
    timeZone: besom.types.Input[String]
  )(using besom.types.Context): AgentArgs =
    new AgentArgs(
      advancedSettings = advancedSettings.asOptionOutput(isSecret = false),
      answerFeedbackSettings = answerFeedbackSettings.asOptionOutput(isSecret = false),
      avatarUri = avatarUri.asOptionOutput(isSecret = false),
      defaultLanguageCode = defaultLanguageCode.asOutput(isSecret = false),
      description = description.asOptionOutput(isSecret = false),
      displayName = displayName.asOutput(isSecret = false),
      enableSpellCorrection = enableSpellCorrection.asOptionOutput(isSecret = false),
      enableStackdriverLogging = enableStackdriverLogging.asOptionOutput(isSecret = false),
      genAppBuilderSettings = genAppBuilderSettings.asOptionOutput(isSecret = false),
      gitIntegrationSettings = gitIntegrationSettings.asOptionOutput(isSecret = false),
      location = location.asOptionOutput(isSecret = false),
      locked = locked.asOptionOutput(isSecret = false),
      name = name.asOptionOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false),
      securitySettings = securitySettings.asOptionOutput(isSecret = false),
      speechToTextSettings = speechToTextSettings.asOptionOutput(isSecret = false),
      startFlow = startFlow.asOptionOutput(isSecret = false),
      supportedLanguageCodes = supportedLanguageCodes.asOptionOutput(isSecret = false),
      textToSpeechSettings = textToSpeechSettings.asOptionOutput(isSecret = false),
      timeZone = timeZone.asOutput(isSecret = false)
    )

  given encoder(using besom.types.Context): besom.types.Encoder[AgentArgs] =
    besom.internal.Encoder.derived[AgentArgs]
  given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[AgentArgs] =
    besom.internal.ArgsEncoder.derived[AgentArgs]






© 2015 - 2025 Weber Informatics LLC | Privacy Policy