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

src.secretmanager.v1beta1.GetSecretArgs.scala Maven / Gradle / Ivy

package besom.api.googlenative.secretmanager.v1beta1

final case class GetSecretArgs private(
  project: besom.types.Output[scala.Option[String]],
  secretId: besom.types.Output[String]
)

object GetSecretArgs:
  def apply(
    project: besom.types.Input.Optional[String] = scala.None,
    secretId: besom.types.Input[String]
  )(using besom.types.Context): GetSecretArgs =
    new GetSecretArgs(
      project = project.asOptionOutput(isSecret = false),
      secretId = secretId.asOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy