getTestMatrix function

Future<GetTestMatrixResult> getTestMatrix(
  1. GetTestMatrixArgs args, {
  2. InvokeOptions? options,
})

Checks the status of a test matrix and the executions once they are created. The test matrix will contain the list of test executions to run if and only if the resultStorage.toolResultsExecution fields have been populated. Note: Flaky test executions may be added to the matrix at a later stage. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the Test Matrix does not exist args Arguments passed to this invoke. Arguments for getTestMatrix. options Invoke options controlling this call.

Implementation

Future<GetTestMatrixResult> getTestMatrix(
  GetTestMatrixArgs args, {
  pulumi.InvokeOptions? options,
}) async {
  final deployment = pulumi.Deployment.instance;
  final result = await deployment.invoke<Map<String, dynamic>>(
    'google-native:testing/v1:getTestMatrix',
    args.toMap(),
    options: pulumi.toDeploymentInvokeOptions(options),
  );
  return GetTestMatrixResult.fromMap(result);
}