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