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

src.ids.v1.EndpointIamPolicyArgs.scala Maven / Gradle / Ivy

The newest version!
package besom.api.googlenative.ids.v1

final case class EndpointIamPolicyArgs private(
  auditConfigs: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.googlenative.ids.v1.inputs.AuditConfigArgs]]],
  bindings: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.googlenative.ids.v1.inputs.BindingArgs]]],
  endpointId: besom.types.Output[String],
  etag: besom.types.Output[scala.Option[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 EndpointIamPolicyArgs:
  def apply(
    auditConfigs: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.googlenative.ids.v1.inputs.AuditConfigArgs]]] = scala.None,
    bindings: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.googlenative.ids.v1.inputs.BindingArgs]]] = scala.None,
    endpointId: besom.types.Input[String],
    etag: besom.types.Input.Optional[String] = scala.None,
    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): EndpointIamPolicyArgs =
    new EndpointIamPolicyArgs(
      auditConfigs = auditConfigs.asOptionOutput(isSecret = false),
      bindings = bindings.asOptionOutput(isSecret = false),
      endpointId = endpointId.asOutput(isSecret = false),
      etag = etag.asOptionOutput(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[EndpointIamPolicyArgs] =
    besom.internal.Encoder.derived[EndpointIamPolicyArgs]
  given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[EndpointIamPolicyArgs] =
    besom.internal.ArgsEncoder.derived[EndpointIamPolicyArgs]






© 2015 - 2025 Weber Informatics LLC | Privacy Policy