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