
src.gkehub.v1.GetScopeIamPolicyArgs.scala Maven / Gradle / Ivy
package besom.api.googlenative.gkehub.v1
final case class GetScopeIamPolicyArgs private(
location: besom.types.Output[String],
optionsRequestedPolicyVersion: besom.types.Output[scala.Option[Int]],
project: besom.types.Output[scala.Option[String]],
scopeId: besom.types.Output[String]
)
object GetScopeIamPolicyArgs:
def apply(
location: besom.types.Input[String],
optionsRequestedPolicyVersion: besom.types.Input.Optional[Int] = scala.None,
project: besom.types.Input.Optional[String] = scala.None,
scopeId: besom.types.Input[String]
)(using besom.types.Context): GetScopeIamPolicyArgs =
new GetScopeIamPolicyArgs(
location = location.asOutput(isSecret = false),
optionsRequestedPolicyVersion = optionsRequestedPolicyVersion.asOptionOutput(isSecret = false),
project = project.asOptionOutput(isSecret = false),
scopeId = scopeId.asOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[GetScopeIamPolicyArgs] =
besom.internal.Encoder.derived[GetScopeIamPolicyArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[GetScopeIamPolicyArgs] =
besom.internal.ArgsEncoder.derived[GetScopeIamPolicyArgs]
© 2015 - 2025 Weber Informatics LLC | Privacy Policy