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

src.iam.v1.ProviderArgs.scala Maven / Gradle / Ivy

There is a newer version: 0.32.0-core.0.4
Show newest version
package besom.api.googlenative.iam.v1

final case class ProviderArgs private(
  attributeCondition: besom.types.Output[scala.Option[String]],
  attributeMapping: besom.types.Output[scala.Option[scala.Predef.Map[String, String]]],
  aws: besom.types.Output[scala.Option[besom.api.googlenative.iam.v1.inputs.AwsArgs]],
  description: besom.types.Output[scala.Option[String]],
  disabled: besom.types.Output[scala.Option[Boolean]],
  displayName: besom.types.Output[scala.Option[String]],
  location: besom.types.Output[scala.Option[String]],
  oidc: besom.types.Output[scala.Option[besom.api.googlenative.iam.v1.inputs.OidcArgs]],
  project: besom.types.Output[scala.Option[String]],
  saml: besom.types.Output[scala.Option[besom.api.googlenative.iam.v1.inputs.SamlArgs]],
  workloadIdentityPoolId: besom.types.Output[String],
  workloadIdentityPoolProviderId: besom.types.Output[String]
)

object ProviderArgs:
  def apply(
    attributeCondition: besom.types.Input.Optional[String] = scala.None,
    attributeMapping: besom.types.Input.Optional[scala.Predef.Map[String, besom.types.Input[String]]] = scala.None,
    aws: besom.types.Input.Optional[besom.api.googlenative.iam.v1.inputs.AwsArgs] = scala.None,
    description: besom.types.Input.Optional[String] = scala.None,
    disabled: besom.types.Input.Optional[Boolean] = scala.None,
    displayName: besom.types.Input.Optional[String] = scala.None,
    location: besom.types.Input.Optional[String] = scala.None,
    oidc: besom.types.Input.Optional[besom.api.googlenative.iam.v1.inputs.OidcArgs] = scala.None,
    project: besom.types.Input.Optional[String] = scala.None,
    saml: besom.types.Input.Optional[besom.api.googlenative.iam.v1.inputs.SamlArgs] = scala.None,
    workloadIdentityPoolId: besom.types.Input[String],
    workloadIdentityPoolProviderId: besom.types.Input[String]
  )(using besom.types.Context): ProviderArgs =
    new ProviderArgs(
      attributeCondition = attributeCondition.asOptionOutput(isSecret = false),
      attributeMapping = attributeMapping.asOptionOutput(isSecret = false),
      aws = aws.asOptionOutput(isSecret = false),
      description = description.asOptionOutput(isSecret = false),
      disabled = disabled.asOptionOutput(isSecret = false),
      displayName = displayName.asOptionOutput(isSecret = false),
      location = location.asOptionOutput(isSecret = false),
      oidc = oidc.asOptionOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false),
      saml = saml.asOptionOutput(isSecret = false),
      workloadIdentityPoolId = workloadIdentityPoolId.asOutput(isSecret = false),
      workloadIdentityPoolProviderId = workloadIdentityPoolProviderId.asOutput(isSecret = false)
    )

  given encoder(using besom.types.Context): besom.types.Encoder[ProviderArgs] =
    besom.internal.Encoder.derived[ProviderArgs]
  given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[ProviderArgs] =
    besom.internal.ArgsEncoder.derived[ProviderArgs]






© 2015 - 2025 Weber Informatics LLC | Privacy Policy