get method
Gets an EntryGroup.
Request parameters:
name
- Required. The name of the entry group. For example,
projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
.
Value must have pattern
^projects/\[^/\]+/locations/\[^/\]+/entryGroups/\[^/\]+$
.
readMask
- The fields to return. If not set or empty, all fields are
returned.
$fields
- Selector specifying which fields to include in a partial
response.
Completes with a GoogleCloudDatacatalogV1beta1EntryGroup.
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<GoogleCloudDatacatalogV1beta1EntryGroup> get(
core.String name, {
core.String? readMask,
core.String? $fields,
}) async {
final _queryParams = <core.String, core.List<core.String>>{
if (readMask != null) 'readMask': [readMask],
if ($fields != null) 'fields': [$fields],
};
final _url = 'v1beta1/' + core.Uri.encodeFull('$name');
final _response = await _requester.request(
_url,
'GET',
queryParams: _queryParams,
);
return GoogleCloudDatacatalogV1beta1EntryGroup.fromJson(
_response as core.Map<core.String, core.dynamic>);
}