#[non_exhaustive]pub struct ListEntitiesRequest {
pub parent: String,
pub view: EntityView,
pub page_size: i32,
pub page_token: String,
pub filter: String,
/* private fields */
}Expand description
List metadata entities request.
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 parent zone:
projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}.
view: EntityViewRequired. Specify the entity view to make a partial list request.
page_size: i32Optional. Maximum number of entities to return. The service may return fewer than this value. If unspecified, 100 entities will be returned by default. The maximum value is 500; larger values will will be truncated to 500.
page_token: StringOptional. Page token received from a previous ListEntities call. Provide
this to retrieve the subsequent page. When paginating, all other parameters
provided to ListEntities must match the call that provided the
page token.
filter: StringOptional. The following filter parameters can be added to the URL to limit the entities returned by the API:
- Entity ID: ?filter=“id=entityID”
- Asset ID: ?filter=“asset=assetID”
- Data path ?filter=“data_path=gs://my-bucket”
- Is HIVE compatible: ?filter=“hive_compatible=true”
- Is BigQuery compatible: ?filter=“bigquery_compatible=true”
Implementations§
Source§impl ListEntitiesRequest
impl ListEntitiesRequest
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_view<T: Into<EntityView>>(self, v: T) -> Self
pub fn set_view<T: Into<EntityView>>(self, v: T) -> Self
Sets the value of view.
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_filter<T: Into<String>>(self, v: T) -> Self
pub fn set_filter<T: Into<String>>(self, v: T) -> Self
Sets the value of filter.
Trait Implementations§
Source§impl Clone for ListEntitiesRequest
impl Clone for ListEntitiesRequest
Source§fn clone(&self) -> ListEntitiesRequest
fn clone(&self) -> ListEntitiesRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more