
src.apigeeregistry.v1.GetApiVersionIamPolicyArgs.scala Maven / Gradle / Ivy
package besom.api.googlenative.apigeeregistry.v1
final case class GetApiVersionIamPolicyArgs private(
apiId: besom.types.Output[String],
location: besom.types.Output[String],
optionsRequestedPolicyVersion: besom.types.Output[scala.Option[Int]],
project: besom.types.Output[scala.Option[String]],
versionId: besom.types.Output[String]
)
object GetApiVersionIamPolicyArgs:
def apply(
apiId: 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,
versionId: besom.types.Input[String]
)(using besom.types.Context): GetApiVersionIamPolicyArgs =
new GetApiVersionIamPolicyArgs(
apiId = apiId.asOutput(isSecret = false),
location = location.asOutput(isSecret = false),
optionsRequestedPolicyVersion = optionsRequestedPolicyVersion.asOptionOutput(isSecret = false),
project = project.asOptionOutput(isSecret = false),
versionId = versionId.asOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[GetApiVersionIamPolicyArgs] =
besom.internal.Encoder.derived[GetApiVersionIamPolicyArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[GetApiVersionIamPolicyArgs] =
besom.internal.ArgsEncoder.derived[GetApiVersionIamPolicyArgs]
© 2015 - 2025 Weber Informatics LLC | Privacy Policy