list method
Lists Jobs.
Results are sorted by creation time, descending.
Request parameters:
parent - Required. The location and project to list resources on.
Format: projects/{project}/locations/{location}, where {project} can be
project id or number.
Value must have pattern ^projects/\[^/\]+/locations/\[^/\]+$.
pageSize - Maximum number of Jobs to return in this call.
pageToken - A page token received from a previous call to ListJobs. All
other parameters must match.
showDeleted - If true, returns deleted (but unexpired) resources along
with active ones.
$fields - Selector specifying which fields to include in a partial
response.
Completes with a GoogleCloudRunV2ListJobsResponse.
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<GoogleCloudRunV2ListJobsResponse> list(
  core.String parent, {
  core.int? pageSize,
  core.String? pageToken,
  core.bool? showDeleted,
  core.String? $fields,
}) async {
  final queryParams_ = <core.String, core.List<core.String>>{
    if (pageSize != null) 'pageSize': ['${pageSize}'],
    if (pageToken != null) 'pageToken': [pageToken],
    if (showDeleted != null) 'showDeleted': ['${showDeleted}'],
    if ($fields != null) 'fields': [$fields],
  };
  final url_ = 'v2/' + core.Uri.encodeFull('$parent') + '/jobs';
  final response_ = await _requester.request(
    url_,
    'GET',
    queryParams: queryParams_,
  );
  return GoogleCloudRunV2ListJobsResponse.fromJson(
    response_ as core.Map<core.String, core.dynamic>,
  );
}