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