getStep function
Gets a Step. 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 Step does not exist
args Arguments passed to this invoke. Arguments for getStep.
options Invoke options controlling this call.
Implementation
Future<GetStepResult> getStep(
GetStepArgs args, {
pulumi.InvokeOptions? options,
}) async {
final deployment = pulumi.Deployment.instance;
final result = await deployment.invoke<Map<String, dynamic>>(
'google-native:toolresults/v1beta3:getStep',
args.toMap(),
options: pulumi.toDeploymentInvokeOptions(options),
);
return GetStepResult.fromMap(result);
}