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