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

src.dns.v1.GetResponsePolicyRuleArgs.scala Maven / Gradle / Ivy

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

final case class GetResponsePolicyRuleArgs private(
  clientOperationId: besom.types.Output[scala.Option[String]],
  project: besom.types.Output[scala.Option[String]],
  responsePolicy: besom.types.Output[String],
  responsePolicyRule: besom.types.Output[String]
)

object GetResponsePolicyRuleArgs:
  def apply(
    clientOperationId: besom.types.Input.Optional[String] = scala.None,
    project: besom.types.Input.Optional[String] = scala.None,
    responsePolicy: besom.types.Input[String],
    responsePolicyRule: besom.types.Input[String]
  )(using besom.types.Context): GetResponsePolicyRuleArgs =
    new GetResponsePolicyRuleArgs(
      clientOperationId = clientOperationId.asOptionOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false),
      responsePolicy = responsePolicy.asOutput(isSecret = false),
      responsePolicyRule = responsePolicyRule.asOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy