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

src.apigee.v1.CanaryEvaluationArgs.scala Maven / Gradle / Ivy

package besom.api.googlenative.apigee.v1

final case class CanaryEvaluationArgs private(
  control: besom.types.Output[String],
  endTime: besom.types.Output[String],
  instanceId: besom.types.Output[String],
  metricLabels: besom.types.Output[besom.api.googlenative.apigee.v1.inputs.GoogleCloudApigeeV1CanaryEvaluationMetricLabelsArgs],
  organizationId: besom.types.Output[String],
  startTime: besom.types.Output[String],
  treatment: besom.types.Output[String]
)

object CanaryEvaluationArgs:
  def apply(
    control: besom.types.Input[String],
    endTime: besom.types.Input[String],
    instanceId: besom.types.Input[String],
    metricLabels: besom.types.Input[besom.api.googlenative.apigee.v1.inputs.GoogleCloudApigeeV1CanaryEvaluationMetricLabelsArgs],
    organizationId: besom.types.Input[String],
    startTime: besom.types.Input[String],
    treatment: besom.types.Input[String]
  )(using besom.types.Context): CanaryEvaluationArgs =
    new CanaryEvaluationArgs(
      control = control.asOutput(isSecret = false),
      endTime = endTime.asOutput(isSecret = false),
      instanceId = instanceId.asOutput(isSecret = false),
      metricLabels = metricLabels.asOutput(isSecret = false),
      organizationId = organizationId.asOutput(isSecret = false),
      startTime = startTime.asOutput(isSecret = false),
      treatment = treatment.asOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy