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