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

src.testing.v1.TestMatrix.scala Maven / Gradle / Ivy

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

final case class TestMatrix private(
  urn: besom.types.Output[besom.types.URN],
  id: besom.types.Output[besom.types.ResourceId],
  clientInfo: besom.types.Output[besom.api.googlenative.testing.v1.outputs.ClientInfoResponse],
  environmentMatrix: besom.types.Output[besom.api.googlenative.testing.v1.outputs.EnvironmentMatrixResponse],
  failFast: besom.types.Output[Boolean],
  flakyTestAttempts: besom.types.Output[Int],
  invalidMatrixDetails: besom.types.Output[String],
  outcomeSummary: besom.types.Output[String],
  project: besom.types.Output[String],
  requestId: besom.types.Output[scala.Option[String]],
  resultStorage: besom.types.Output[besom.api.googlenative.testing.v1.outputs.ResultStorageResponse],
  state: besom.types.Output[String],
  testExecutions: besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.testing.v1.outputs.TestExecutionResponse]],
  testMatrixId: besom.types.Output[String],
  testSpecification: besom.types.Output[besom.api.googlenative.testing.v1.outputs.TestSpecificationResponse],
  timestamp: besom.types.Output[String]
) extends besom.CustomResource

object TestMatrix extends besom.ResourceCompanion[TestMatrix]:
  /** Resource constructor for TestMatrix. 
    * 
    * @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 [[TestMatrixArgs]] 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 = TestMatrix(
    *          "my-resource",
    *          TestMatrixArgs(...), // your args
    *          opts(provider = myProvider)
    *        )
    *        }}}
    */
  def apply(using ctx: besom.types.Context)(
    name: besom.util.NonEmptyString,
    args: TestMatrixArgs,
    opts: besom.ResourceOptsVariant.Custom ?=> besom.CustomResourceOptions = besom.CustomResourceOptions()
  ): besom.types.Output[TestMatrix] =
    ctx.readOrRegisterResource[TestMatrix, TestMatrixArgs]("google-native:testing/v1:TestMatrix", name, args, opts(using besom.ResourceOptsVariant.Custom))

  private[besom] def typeToken: besom.types.ResourceType = "google-native:testing/v1:TestMatrix"

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

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


  given outputOps: {} with
    extension(output: besom.types.Output[TestMatrix])
      def urn : besom.types.Output[besom.types.URN] = output.flatMap(_.urn)
      def id : besom.types.Output[besom.types.ResourceId] = output.flatMap(_.id)
      def clientInfo : besom.types.Output[besom.api.googlenative.testing.v1.outputs.ClientInfoResponse] = output.flatMap(_.clientInfo)
      def environmentMatrix : besom.types.Output[besom.api.googlenative.testing.v1.outputs.EnvironmentMatrixResponse] = output.flatMap(_.environmentMatrix)
      def failFast : besom.types.Output[Boolean] = output.flatMap(_.failFast)
      def flakyTestAttempts : besom.types.Output[Int] = output.flatMap(_.flakyTestAttempts)
      def invalidMatrixDetails : besom.types.Output[String] = output.flatMap(_.invalidMatrixDetails)
      def outcomeSummary : besom.types.Output[String] = output.flatMap(_.outcomeSummary)
      def project : besom.types.Output[String] = output.flatMap(_.project)
      def requestId : besom.types.Output[scala.Option[String]] = output.flatMap(_.requestId)
      def resultStorage : besom.types.Output[besom.api.googlenative.testing.v1.outputs.ResultStorageResponse] = output.flatMap(_.resultStorage)
      def state : besom.types.Output[String] = output.flatMap(_.state)
      def testExecutions : besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.testing.v1.outputs.TestExecutionResponse]] = output.flatMap(_.testExecutions)
      def testMatrixId : besom.types.Output[String] = output.flatMap(_.testMatrixId)
      def testSpecification : besom.types.Output[besom.api.googlenative.testing.v1.outputs.TestSpecificationResponse] = output.flatMap(_.testSpecification)
      def timestamp : besom.types.Output[String] = output.flatMap(_.timestamp)





© 2015 - 2025 Weber Informatics LLC | Privacy Policy