list method
Lists information about logical views in an instance.
Request parameters:
parent - Required. The unique name of the instance for which the list of
logical views is requested. Values are of the form
projects/{project}/instances/{instance}.
Value must have pattern ^projects/\[^/\]+/instances/\[^/\]+$.
pageSize - Optional. The maximum number of logical views to return. The
service may return fewer than this value
pageToken - Optional. A page token, received from a previous
ListLogicalViews call. Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListLogicalViews must
match the call that provided the page token.
$fields - Selector specifying which fields to include in a partial
response.
Completes with a ListLogicalViewsResponse.
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<ListLogicalViewsResponse> list(
  core.String parent, {
  core.int? pageSize,
  core.String? pageToken,
  core.String? $fields,
}) async {
  final queryParams_ = <core.String, core.List<core.String>>{
    if (pageSize != null) 'pageSize': ['${pageSize}'],
    if (pageToken != null) 'pageToken': [pageToken],
    if ($fields != null) 'fields': [$fields],
  };
  final url_ = 'v2/' + core.Uri.encodeFull('$parent') + '/logicalViews';
  final response_ = await _requester.request(
    url_,
    'GET',
    queryParams: queryParams_,
  );
  return ListLogicalViewsResponse.fromJson(
    response_ as core.Map<core.String, core.dynamic>,
  );
}