get method
Gets a step entry.
Request parameters:
name - Required. The name of the step entry to retrieve. Format:
projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}/stepEntries/{step_entry}
Value must have pattern
^projects/\[^/\]+/locations/\[^/\]+/workflows/\[^/\]+/executions/\[^/\]+/stepEntries/\[^/\]+$.
view - Deprecated field.
Possible string values are:
- "EXECUTION_ENTRY_VIEW_UNSPECIFIED" : The default/unset value.
- "EXECUTION_ENTRY_VIEW_BASIC" : Include basic information in the step entries. All fields in StepEntry are returned except for variable_data.
- "EXECUTION_ENTRY_VIEW_DETAILED" : Include all data.
$fields - Selector specifying which fields to include in a partial
response.
Completes with a StepEntry.
Completes with a commons.ApiRequestError if the API endpoint returned an error.
If the used http.Client completes with an error when making a REST call,
this method will complete with the same error.
Implementation
async.Future<StepEntry> get(
  core.String name, {
  core.String? view,
  core.String? $fields,
}) async {
  final queryParams_ = <core.String, core.List<core.String>>{
    if (view != null) 'view': [view],
    if ($fields != null) 'fields': [$fields],
  };
  final url_ = 'v1/' + core.Uri.encodeFull('$name');
  final response_ = await _requester.request(
    url_,
    'GET',
    queryParams: queryParams_,
  );
  return StepEntry.fromJson(response_ as core.Map<core.String, core.dynamic>);
}