Execution constructor
Execution(
- String name, {
- ExecutionArgs? args,
- 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:workflowexecutions/v1:Execution',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
options ?? pulumi.CustomResourceOptions(),
) {
argument = registerOutput<String>('argument');
callLogLevel = registerOutput<String>('callLogLevel');
duration = registerOutput<String>('duration');
endTime = registerOutput<String>('endTime');
error = registerOutput<ErrorResponse>('error', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return ErrorResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
labels = registerOutput<Map<String, String>>('labels');
location = registerOutput<String>('location');
this.name = registerOutput<String>('name');
project = registerOutput<String>('project');
result = registerOutput<String>('result');
startTime = registerOutput<String>('startTime');
state = registerOutput<String>('state');
stateError = registerOutput<StateErrorResponse>('stateError', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return StateErrorResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
status = registerOutput<StatusResponse>('status', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return StatusResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
workflowId = registerOutput<String>('workflowId');
workflowRevisionId = registerOutput<String>('workflowRevisionId');
}