Execution constructor

Execution(
  1. String name, {
  2. ExecutionArgs? args,
  3. CustomResourceOptions? options,
})

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

Implementation

Execution(
  String name, {
  ExecutionArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'google-native:toolresults/v1beta3:Execution',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        options ?? pulumi.CustomResourceOptions(),
      ) {
  completionTime = registerOutput<TimestampResponse>('completionTime', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return TimestampResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  creationTime = registerOutput<TimestampResponse>('creationTime', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return TimestampResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  dimensionDefinitions = registerOutput<List<Map<String, dynamic>>>('dimensionDefinitions');
  executionId = registerOutput<String>('executionId');
  historyId = registerOutput<String>('historyId');
  outcome = registerOutput<OutcomeResponse>('outcome', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return OutcomeResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  project = registerOutput<String>('project');
  requestId = registerOutput<String?>('requestId');
  specification = registerOutput<SpecificationResponse>('specification', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return SpecificationResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  state = registerOutput<String>('state');
  testExecutionMatrixId = registerOutput<String>('testExecutionMatrixId');
}