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

src.dialogflow.v3beta1.EnvironmentArgs.scala Maven / Gradle / Ivy

package besom.api.googlenative.dialogflow.v3beta1

final case class EnvironmentArgs private(
  agentId: besom.types.Output[String],
  description: besom.types.Output[scala.Option[String]],
  displayName: besom.types.Output[String],
  location: besom.types.Output[scala.Option[String]],
  name: besom.types.Output[scala.Option[String]],
  project: besom.types.Output[scala.Option[String]],
  testCasesConfig: besom.types.Output[scala.Option[besom.api.googlenative.dialogflow.v3beta1.inputs.GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfigArgs]],
  versionConfigs: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.googlenative.dialogflow.v3beta1.inputs.GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfigArgs]]],
  webhookConfig: besom.types.Output[scala.Option[besom.api.googlenative.dialogflow.v3beta1.inputs.GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfigArgs]]
)

object EnvironmentArgs:
  def apply(
    agentId: besom.types.Input[String],
    description: besom.types.Input.Optional[String] = scala.None,
    displayName: besom.types.Input[String],
    location: besom.types.Input.Optional[String] = scala.None,
    name: besom.types.Input.Optional[String] = scala.None,
    project: besom.types.Input.Optional[String] = scala.None,
    testCasesConfig: besom.types.Input.Optional[besom.api.googlenative.dialogflow.v3beta1.inputs.GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfigArgs] = scala.None,
    versionConfigs: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.googlenative.dialogflow.v3beta1.inputs.GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfigArgs]]] = scala.None,
    webhookConfig: besom.types.Input.Optional[besom.api.googlenative.dialogflow.v3beta1.inputs.GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfigArgs] = scala.None
  )(using besom.types.Context): EnvironmentArgs =
    new EnvironmentArgs(
      agentId = agentId.asOutput(isSecret = false),
      description = description.asOptionOutput(isSecret = false),
      displayName = displayName.asOutput(isSecret = false),
      location = location.asOptionOutput(isSecret = false),
      name = name.asOptionOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false),
      testCasesConfig = testCasesConfig.asOptionOutput(isSecret = false),
      versionConfigs = versionConfigs.asOptionOutput(isSecret = false),
      webhookConfig = webhookConfig.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy