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