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

src.apigeeregistry.v1.GetApiArtifactIamPolicyArgs.scala Maven / Gradle / Ivy

package besom.api.googlenative.apigeeregistry.v1

final case class GetApiArtifactIamPolicyArgs private(
  apiId: besom.types.Output[String],
  artifactId: besom.types.Output[String],
  location: besom.types.Output[String],
  optionsRequestedPolicyVersion: besom.types.Output[scala.Option[Int]],
  project: besom.types.Output[scala.Option[String]]
)

object GetApiArtifactIamPolicyArgs:
  def apply(
    apiId: besom.types.Input[String],
    artifactId: besom.types.Input[String],
    location: besom.types.Input[String],
    optionsRequestedPolicyVersion: besom.types.Input.Optional[Int] = scala.None,
    project: besom.types.Input.Optional[String] = scala.None
  )(using besom.types.Context): GetApiArtifactIamPolicyArgs =
    new GetApiArtifactIamPolicyArgs(
      apiId = apiId.asOutput(isSecret = false),
      artifactId = artifactId.asOutput(isSecret = false),
      location = location.asOutput(isSecret = false),
      optionsRequestedPolicyVersion = optionsRequestedPolicyVersion.asOptionOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy