
src.cloudkms.v1.KeyRingIamPolicyArgs.scala Maven / Gradle / Ivy
package besom.api.googlenative.cloudkms.v1
final case class KeyRingIamPolicyArgs private(
auditConfigs: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.googlenative.cloudkms.v1.inputs.AuditConfigArgs]]],
bindings: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.googlenative.cloudkms.v1.inputs.BindingArgs]]],
etag: besom.types.Output[scala.Option[String]],
keyRingId: besom.types.Output[String],
location: besom.types.Output[scala.Option[String]],
project: besom.types.Output[scala.Option[String]],
updateMask: besom.types.Output[scala.Option[String]],
version: besom.types.Output[scala.Option[Int]]
)
object KeyRingIamPolicyArgs:
def apply(
auditConfigs: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.googlenative.cloudkms.v1.inputs.AuditConfigArgs]]] = scala.None,
bindings: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.googlenative.cloudkms.v1.inputs.BindingArgs]]] = scala.None,
etag: besom.types.Input.Optional[String] = scala.None,
keyRingId: besom.types.Input[String],
location: besom.types.Input.Optional[String] = scala.None,
project: besom.types.Input.Optional[String] = scala.None,
updateMask: besom.types.Input.Optional[String] = scala.None,
version: besom.types.Input.Optional[Int] = scala.None
)(using besom.types.Context): KeyRingIamPolicyArgs =
new KeyRingIamPolicyArgs(
auditConfigs = auditConfigs.asOptionOutput(isSecret = false),
bindings = bindings.asOptionOutput(isSecret = false),
etag = etag.asOptionOutput(isSecret = false),
keyRingId = keyRingId.asOutput(isSecret = false),
location = location.asOptionOutput(isSecret = false),
project = project.asOptionOutput(isSecret = false),
updateMask = updateMask.asOptionOutput(isSecret = false),
version = version.asOptionOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[KeyRingIamPolicyArgs] =
besom.internal.Encoder.derived[KeyRingIamPolicyArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[KeyRingIamPolicyArgs] =
besom.internal.ArgsEncoder.derived[KeyRingIamPolicyArgs]
© 2015 - 2025 Weber Informatics LLC | Privacy Policy