Step constructor
Creates a new Step.
name The Pulumi resource name.
args Arguments used to configure this Step. The set of arguments for Step.
options Resource options controlling this resource's behavior.
Implementation
Step(
String name, {
StepArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'google-native:toolresults/v1beta3:Step',
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>()); });
description = registerOutput<String>('description');
deviceUsageDuration = registerOutput<DurationResponse>('deviceUsageDuration', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return DurationResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
dimensionValue = registerOutput<List<Map<String, dynamic>>>('dimensionValue');
executionId = registerOutput<String>('executionId');
hasImages = registerOutput<bool>('hasImages');
historyId = registerOutput<String>('historyId');
labels = registerOutput<List<Map<String, dynamic>>>('labels');
multiStep = registerOutput<MultiStepResponse>('multiStep', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return MultiStepResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
this.name = registerOutput<String>('name');
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');
runDuration = registerOutput<DurationResponse>('runDuration', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return DurationResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
state = registerOutput<String>('state');
stepId = registerOutput<String>('stepId');
testExecutionStep = registerOutput<TestExecutionStepResponse>('testExecutionStep', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return TestExecutionStepResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
toolExecutionStep = registerOutput<ToolExecutionStepResponse>('toolExecutionStep', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return ToolExecutionStepResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
}