
src.dialogflow.v3.EnvironmentArgs.scala Maven / Gradle / Ivy
package besom.api.googlenative.dialogflow.v3
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.v3.inputs.GoogleCloudDialogflowCxV3EnvironmentTestCasesConfigArgs]],
versionConfigs: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.googlenative.dialogflow.v3.inputs.GoogleCloudDialogflowCxV3EnvironmentVersionConfigArgs]]],
webhookConfig: besom.types.Output[scala.Option[besom.api.googlenative.dialogflow.v3.inputs.GoogleCloudDialogflowCxV3EnvironmentWebhookConfigArgs]]
)
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.v3.inputs.GoogleCloudDialogflowCxV3EnvironmentTestCasesConfigArgs] = scala.None,
versionConfigs: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.googlenative.dialogflow.v3.inputs.GoogleCloudDialogflowCxV3EnvironmentVersionConfigArgs]]] = scala.None,
webhookConfig: besom.types.Input.Optional[besom.api.googlenative.dialogflow.v3.inputs.GoogleCloudDialogflowCxV3EnvironmentWebhookConfigArgs] = 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