#[non_exhaustive]pub struct ListFeaturesRequest {
pub parent: String,
pub filter: String,
pub page_size: i32,
pub page_token: String,
pub order_by: String,
pub read_mask: Option<FieldMask>,
pub latest_stats_count: i32,
/* private fields */
}Expand description
Request message for FeaturestoreService.ListFeatures. Request message for FeatureRegistryService.ListFeatures.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.parent: StringRequired. The resource name of the Location to list Features.
Format for entity_type as parent:
projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}
Format for feature_group as parent:
projects/{project}/locations/{location}/featureGroups/{feature_group}
filter: StringLists the Features that match the filter expression. The following filters are supported:
value_type: Supports = and != comparisons.create_time: Supports =, !=, <, >, >=, and <= comparisons. Values must be in RFC 3339 format.update_time: Supports =, !=, <, >, >=, and <= comparisons. Values must be in RFC 3339 format.labels: Supports key-value equality as well as key presence.
Examples:
value_type = DOUBLE–> Features whose type is DOUBLE.create_time > \"2020-01-31T15:30:00.000000Z\" OR update_time > \"2020-01-31T15:30:00.000000Z\"–> EntityTypes created or updated after 2020-01-31T15:30:00.000000Z.labels.active = yes AND labels.env = prod–> Features having both (active: yes) and (env: prod) labels.labels.env: *–> Any Feature which has a label with ‘env’ as the key.
page_size: i32The maximum number of Features to return. The service may return fewer than this value. If unspecified, at most 1000 Features will be returned. The maximum value is 1000; any value greater than 1000 will be coerced to 1000.
page_token: StringA page token, received from a previous FeaturestoreService.ListFeatures call or FeatureRegistryService.ListFeatures call. Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to FeaturestoreService.ListFeatures or FeatureRegistryService.ListFeatures must match the call that provided the page token.
order_by: StringA comma-separated list of fields to order by, sorted in ascending order. Use “desc” after a field name for descending. Supported fields:
feature_idvalue_type(Not supported for FeatureRegistry Feature)create_timeupdate_time
read_mask: Option<FieldMask>Mask specifying which fields to read.
latest_stats_count: i32Only applicable for Vertex AI Feature Store (Legacy). If set, return the most recent ListFeaturesRequest.latest_stats_count of stats for each Feature in response. Valid value is [0, 10]. If number of stats exists < ListFeaturesRequest.latest_stats_count, return all existing stats.
Implementations§
Source§impl ListFeaturesRequest
impl ListFeaturesRequest
pub fn new() -> Self
Sourcepub fn set_parent<T: Into<String>>(self, v: T) -> Self
pub fn set_parent<T: Into<String>>(self, v: T) -> Self
Sets the value of parent.
Sourcepub fn set_filter<T: Into<String>>(self, v: T) -> Self
pub fn set_filter<T: Into<String>>(self, v: T) -> Self
Sets the value of filter.
Sourcepub fn set_page_size<T: Into<i32>>(self, v: T) -> Self
pub fn set_page_size<T: Into<i32>>(self, v: T) -> Self
Sets the value of page_size.
Sourcepub fn set_page_token<T: Into<String>>(self, v: T) -> Self
pub fn set_page_token<T: Into<String>>(self, v: T) -> Self
Sets the value of page_token.
Sourcepub fn set_order_by<T: Into<String>>(self, v: T) -> Self
pub fn set_order_by<T: Into<String>>(self, v: T) -> Self
Sets the value of order_by.
Sourcepub fn set_read_mask<T: Into<Option<FieldMask>>>(self, v: T) -> Self
pub fn set_read_mask<T: Into<Option<FieldMask>>>(self, v: T) -> Self
Sets the value of read_mask.
Sourcepub fn set_latest_stats_count<T: Into<i32>>(self, v: T) -> Self
pub fn set_latest_stats_count<T: Into<i32>>(self, v: T) -> Self
Sets the value of latest_stats_count.
Trait Implementations§
Source§impl Clone for ListFeaturesRequest
impl Clone for ListFeaturesRequest
Source§fn clone(&self) -> ListFeaturesRequest
fn clone(&self) -> ListFeaturesRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more