list method
Lists Entries within an EntryGroup.
Caution: The Vertex AI, Bigtable, Spanner, Pub/Sub, Dataform, and Dataproc Metastore metadata that is stored in Dataplex Universal Catalog is changing. For more information, see Changes to metadata stored in Dataplex Universal Catalog (https://cloud.google.com/dataplex/docs/metadata-changes).
Request parameters:
parent - Required. The resource name of the parent Entry Group:
projects/{project}/locations/{location}/entryGroups/{entry_group}.
Value must have pattern
^projects/\[^/\]+/locations/\[^/\]+/entryGroups/\[^/\]+$.
filter - Optional. A filter on the entries to return. Filters are
case-sensitive. You can filter the request by the following fields:
entry_type entry_source.display_name parent_entryThe comparison operators
are =, !=, <, >, <=, >=. The service compares strings according to
lexical order.You can use the logical operators AND, OR, NOT in the
filter.You can use Wildcard "", but for entry_type and parent_entry you
need to provide the full project id or number.You cannot use parent_entry
in conjunction with other fields.Example filter expressions:
"entry_source.display_name=AnExampleDisplayName"
"entry_type=projects/example-project/locations/global/entryTypes/example-entry_type"
"entry_type=projects/example-project/locations/us/entryTypes/a OR
entry_type=projects/another-project/locations / * " "NOT
entry_source.display_name=AnotherExampleDisplayName"
"parent_entry=projects/example-project/locations/us/entryGroups/example-entry-group/entries/example-entry"
pageSize - Optional. Number of items to return per page. If there are
remaining results, the service returns a next_page_token. If unspecified,
the service returns at most 10 Entries. The maximum value is 100; values
above 100 will be coerced to 100.
pageToken - Optional. Page token received from a previous ListEntries
call. Provide this to retrieve the subsequent page.
$fields - Selector specifying which fields to include in a partial
response.
Completes with a GoogleCloudDataplexV1ListEntriesResponse.
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<GoogleCloudDataplexV1ListEntriesResponse> list(
core.String parent, {
core.String? filter,
core.int? pageSize,
core.String? pageToken,
core.String? $fields,
}) async {
final queryParams_ = <core.String, core.List<core.String>>{
'filter': ?filter == null ? null : [filter],
'pageSize': ?pageSize == null ? null : ['${pageSize}'],
'pageToken': ?pageToken == null ? null : [pageToken],
'fields': ?$fields == null ? null : [$fields],
};
final url_ = 'v1/' + core.Uri.encodeFull('$parent') + '/entries';
final response_ = await _requester.request(
url_,
'GET',
queryParams: queryParams_,
);
return GoogleCloudDataplexV1ListEntriesResponse.fromJson(
response_ as core.Map<core.String, core.dynamic>,
);
}