list method
Lists Featurestores in a given project and location.
Request parameters:
parent
- Required. The resource name of the Location to list
Featurestores. Format: projects/{project}/locations/{location}
Value must have pattern ^projects/\[^/\]+/locations/\[^/\]+$
.
filter
- Lists the featurestores that match the filter expression. The
following fields are supported: * create_time
: Supports =
, !=
, <
,
>
, <=
, and >=
comparisons. Values must be in RFC 3339 format. *
update_time
: Supports =
, !=
, <
, >
, <=
, and >=
comparisons.
Values must be in RFC 3339 format. *
online_serving_config.fixed_node_count
: Supports =
, !=
, <
, >
,
<=
, and >=
comparisons. * labels
: Supports key-value equality and
key presence. Examples: * create_time > "2020-01-01" OR update_time > "2020-01-01"
Featurestores created or updated after 2020-01-01. *
labels.env = "prod"
Featurestores with label "env" set to "prod".
orderBy
- A comma-separated list of fields to order by, sorted in
ascending order. Use "desc" after a field name for descending. Supported
Fields: * create_time
* update_time
*
online_serving_config.fixed_node_count
pageSize
- The maximum number of Featurestores to return. The service
may return fewer than this value. If unspecified, at most 100
Featurestores will be returned. The maximum value is 100; any value
greater than 100 will be coerced to 100.
pageToken
- A page token, received from a previous
FeaturestoreService.ListFeaturestores call. Provide this to retrieve the
subsequent page. When paginating, all other parameters provided to
FeaturestoreService.ListFeaturestores must match the call that provided
the page token.
readMask
- Mask specifying which fields to read.
$fields
- Selector specifying which fields to include in a partial
response.
Completes with a GoogleCloudAiplatformV1ListFeaturestoresResponse.
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<GoogleCloudAiplatformV1ListFeaturestoresResponse> list(
core.String parent, {
core.String? filter,
core.String? orderBy,
core.int? pageSize,
core.String? pageToken,
core.String? readMask,
core.String? $fields,
}) async {
final queryParams_ = <core.String, core.List<core.String>>{
if (filter != null) 'filter': [filter],
if (orderBy != null) 'orderBy': [orderBy],
if (pageSize != null) 'pageSize': ['${pageSize}'],
if (pageToken != null) 'pageToken': [pageToken],
if (readMask != null) 'readMask': [readMask],
if ($fields != null) 'fields': [$fields],
};
final url_ = 'v1/' + core.Uri.encodeFull('$parent') + '/featurestores';
final response_ = await _requester.request(
url_,
'GET',
queryParams: queryParams_,
);
return GoogleCloudAiplatformV1ListFeaturestoresResponse.fromJson(
response_ as core.Map<core.String, core.dynamic>);
}