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

src.toolresults.v1beta3.Step.scala Maven / Gradle / Ivy

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

final case class Step private(
  urn: besom.types.Output[besom.types.URN],
  id: besom.types.Output[besom.types.ResourceId],
  completionTime: besom.types.Output[besom.api.googlenative.toolresults.v1beta3.outputs.TimestampResponse],
  creationTime: besom.types.Output[besom.api.googlenative.toolresults.v1beta3.outputs.TimestampResponse],
  description: besom.types.Output[String],
  deviceUsageDuration: besom.types.Output[besom.api.googlenative.toolresults.v1beta3.outputs.DurationResponse],
  dimensionValue: besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.toolresults.v1beta3.outputs.StepDimensionValueEntryResponse]],
  executionId: besom.types.Output[String],
  hasImages: besom.types.Output[Boolean],
  historyId: besom.types.Output[String],
  labels: besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.toolresults.v1beta3.outputs.StepLabelsEntryResponse]],
  multiStep: besom.types.Output[besom.api.googlenative.toolresults.v1beta3.outputs.MultiStepResponse],
  name: besom.types.Output[String],
  outcome: besom.types.Output[besom.api.googlenative.toolresults.v1beta3.outputs.OutcomeResponse],
  project: besom.types.Output[String],
  requestId: besom.types.Output[scala.Option[String]],
  runDuration: besom.types.Output[besom.api.googlenative.toolresults.v1beta3.outputs.DurationResponse],
  state: besom.types.Output[String],
  stepId: besom.types.Output[String],
  testExecutionStep: besom.types.Output[besom.api.googlenative.toolresults.v1beta3.outputs.TestExecutionStepResponse],
  toolExecutionStep: besom.types.Output[besom.api.googlenative.toolresults.v1beta3.outputs.ToolExecutionStepResponse]
) extends besom.CustomResource

object Step extends besom.ResourceCompanion[Step]:
  /** Resource constructor for Step. 
    * 
    * @param name [[besom.util.NonEmptyString]] The unique (stack-wise) name of the resource in Pulumi state (not on provider's side).
    *        NonEmptyString is inferred automatically from non-empty string literals, even when interpolated. If you encounter any
    *        issues with this, please try using `: NonEmptyString` type annotation. If you need to convert a dynamically generated
    *        string to NonEmptyString, use `NonEmptyString.apply` method - `NonEmptyString(str): Option[NonEmptyString]`.
    *
    * @param args [[StepArgs]] The configuration to use to create this resource. 
    *
    * @param opts [[besom.CustomResourceOptions]] Resource options to use for this resource. 
    *        Defaults to empty options. If you need to set some options, use [[besom.opts]] function to create them, for example:
    *  
    *        {{{
    *        val res = Step(
    *          "my-resource",
    *          StepArgs(...), // your args
    *          opts(provider = myProvider)
    *        )
    *        }}}
    */
  def apply(using ctx: besom.types.Context)(
    name: besom.util.NonEmptyString,
    args: StepArgs,
    opts: besom.ResourceOptsVariant.Custom ?=> besom.CustomResourceOptions = besom.CustomResourceOptions()
  ): besom.types.Output[Step] =
    ctx.readOrRegisterResource[Step, StepArgs]("google-native:toolresults/v1beta3:Step", name, args, opts(using besom.ResourceOptsVariant.Custom))

  private[besom] def typeToken: besom.types.ResourceType = "google-native:toolresults/v1beta3:Step"

  given resourceDecoder(using besom.types.Context): besom.types.ResourceDecoder[Step] =
    besom.internal.ResourceDecoder.derived[Step]

  given decoder(using besom.types.Context): besom.types.Decoder[Step] =
    besom.internal.Decoder.customResourceDecoder[Step]


  given outputOps: {} with
    extension(output: besom.types.Output[Step])
      def urn : besom.types.Output[besom.types.URN] = output.flatMap(_.urn)
      def id : besom.types.Output[besom.types.ResourceId] = output.flatMap(_.id)
      def completionTime : besom.types.Output[besom.api.googlenative.toolresults.v1beta3.outputs.TimestampResponse] = output.flatMap(_.completionTime)
      def creationTime : besom.types.Output[besom.api.googlenative.toolresults.v1beta3.outputs.TimestampResponse] = output.flatMap(_.creationTime)
      def description : besom.types.Output[String] = output.flatMap(_.description)
      def deviceUsageDuration : besom.types.Output[besom.api.googlenative.toolresults.v1beta3.outputs.DurationResponse] = output.flatMap(_.deviceUsageDuration)
      def dimensionValue : besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.toolresults.v1beta3.outputs.StepDimensionValueEntryResponse]] = output.flatMap(_.dimensionValue)
      def executionId : besom.types.Output[String] = output.flatMap(_.executionId)
      def hasImages : besom.types.Output[Boolean] = output.flatMap(_.hasImages)
      def historyId : besom.types.Output[String] = output.flatMap(_.historyId)
      def labels : besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.toolresults.v1beta3.outputs.StepLabelsEntryResponse]] = output.flatMap(_.labels)
      def multiStep : besom.types.Output[besom.api.googlenative.toolresults.v1beta3.outputs.MultiStepResponse] = output.flatMap(_.multiStep)
      def name : besom.types.Output[String] = output.flatMap(_.name)
      def outcome : besom.types.Output[besom.api.googlenative.toolresults.v1beta3.outputs.OutcomeResponse] = output.flatMap(_.outcome)
      def project : besom.types.Output[String] = output.flatMap(_.project)
      def requestId : besom.types.Output[scala.Option[String]] = output.flatMap(_.requestId)
      def runDuration : besom.types.Output[besom.api.googlenative.toolresults.v1beta3.outputs.DurationResponse] = output.flatMap(_.runDuration)
      def state : besom.types.Output[String] = output.flatMap(_.state)
      def stepId : besom.types.Output[String] = output.flatMap(_.stepId)
      def testExecutionStep : besom.types.Output[besom.api.googlenative.toolresults.v1beta3.outputs.TestExecutionStepResponse] = output.flatMap(_.testExecutionStep)
      def toolExecutionStep : besom.types.Output[besom.api.googlenative.toolresults.v1beta3.outputs.ToolExecutionStepResponse] = output.flatMap(_.toolExecutionStep)





© 2015 - 2025 Weber Informatics LLC | Privacy Policy