
src.dialogflow.v2.GetDocumentArgs.scala Maven / Gradle / Ivy
package besom.api.googlenative.dialogflow.v2
final case class GetDocumentArgs private(
documentId: besom.types.Output[String],
knowledgeBaseId: besom.types.Output[String],
location: besom.types.Output[String],
project: besom.types.Output[scala.Option[String]]
)
object GetDocumentArgs:
def apply(
documentId: besom.types.Input[String],
knowledgeBaseId: besom.types.Input[String],
location: besom.types.Input[String],
project: besom.types.Input.Optional[String] = scala.None
)(using besom.types.Context): GetDocumentArgs =
new GetDocumentArgs(
documentId = documentId.asOutput(isSecret = false),
knowledgeBaseId = knowledgeBaseId.asOutput(isSecret = false),
location = location.asOutput(isSecret = false),
project = project.asOptionOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[GetDocumentArgs] =
besom.internal.Encoder.derived[GetDocumentArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[GetDocumentArgs] =
besom.internal.ArgsEncoder.derived[GetDocumentArgs]
© 2015 - 2025 Weber Informatics LLC | Privacy Policy