TestMatrix constructor

TestMatrix(
  1. String name, {
  2. TestMatrixArgs? args,
  3. CustomResourceOptions? options,
})

Creates a new TestMatrix. name The Pulumi resource name. args Arguments used to configure this TestMatrix. The set of arguments for TestMatrix. options Resource options controlling this resource's behavior.

Implementation

TestMatrix(
  String name, {
  TestMatrixArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'google-native:testing/v1:TestMatrix',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        options ?? pulumi.CustomResourceOptions(),
      ) {
  clientInfo = registerOutput<ClientInfoResponse>('clientInfo', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return ClientInfoResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  environmentMatrix = registerOutput<EnvironmentMatrixResponse>('environmentMatrix', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return EnvironmentMatrixResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  failFast = registerOutput<bool>('failFast');
  flakyTestAttempts = registerOutput<int>('flakyTestAttempts');
  invalidMatrixDetails = registerOutput<String>('invalidMatrixDetails');
  outcomeSummary = registerOutput<String>('outcomeSummary');
  project = registerOutput<String>('project');
  requestId = registerOutput<String?>('requestId');
  resultStorage = registerOutput<ResultStorageResponse>('resultStorage', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return ResultStorageResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  state = registerOutput<String>('state');
  testExecutions = registerOutput<List<Map<String, dynamic>>>('testExecutions');
  testMatrixId = registerOutput<String>('testMatrixId');
  testSpecification = registerOutput<TestSpecificationResponse>('testSpecification', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return TestSpecificationResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  timestamp = registerOutput<String>('timestamp');
}