#[non_exhaustive]pub struct DescribeDatabaseEntitiesRequest {
pub conversion_workspace: String,
pub page_size: i32,
pub page_token: String,
pub tree: DBTreeType,
pub uncommitted: bool,
pub commit_id: String,
pub filter: String,
pub view: DatabaseEntityView,
/* private fields */
}Expand description
Request message for ‘DescribeDatabaseEntities’ 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.conversion_workspace: StringRequired. Name of the conversion workspace resource whose database entities are described. Must be in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
page_size: i32Optional. The maximum number of entities to return. The service may return fewer entities than the value specifies.
page_token: StringOptional. The nextPageToken value received in the previous call to conversionWorkspace.describeDatabaseEntities, used in the subsequent request to retrieve the next page of results. On first call this should be left blank. When paginating, all other parameters provided to conversionWorkspace.describeDatabaseEntities must match the call that provided the page token.
tree: DBTreeTypeRequired. The tree to fetch.
uncommitted: boolOptional. Whether to retrieve the latest committed version of the entities or the latest version. This field is ignored if a specific commit_id is specified.
commit_id: StringOptional. Request a specific commit ID. If not specified, the entities from the latest commit are returned.
filter: StringOptional. Filter the returned entities based on AIP-160 standard.
view: DatabaseEntityViewOptional. Results view based on AIP-157
Implementations§
Source§impl DescribeDatabaseEntitiesRequest
impl DescribeDatabaseEntitiesRequest
pub fn new() -> Self
Sourcepub fn set_conversion_workspace<T: Into<String>>(self, v: T) -> Self
pub fn set_conversion_workspace<T: Into<String>>(self, v: T) -> Self
Sets the value of conversion_workspace.
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_tree<T: Into<DBTreeType>>(self, v: T) -> Self
pub fn set_tree<T: Into<DBTreeType>>(self, v: T) -> Self
Sets the value of tree.
Sourcepub fn set_uncommitted<T: Into<bool>>(self, v: T) -> Self
pub fn set_uncommitted<T: Into<bool>>(self, v: T) -> Self
Sets the value of uncommitted.
Sourcepub fn set_commit_id<T: Into<String>>(self, v: T) -> Self
pub fn set_commit_id<T: Into<String>>(self, v: T) -> Self
Sets the value of commit_id.
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_view<T: Into<DatabaseEntityView>>(self, v: T) -> Self
pub fn set_view<T: Into<DatabaseEntityView>>(self, v: T) -> Self
Sets the value of view.
Trait Implementations§
Source§impl Clone for DescribeDatabaseEntitiesRequest
impl Clone for DescribeDatabaseEntitiesRequest
Source§fn clone(&self) -> DescribeDatabaseEntitiesRequest
fn clone(&self) -> DescribeDatabaseEntitiesRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for DescribeDatabaseEntitiesRequest
impl Default for DescribeDatabaseEntitiesRequest
Source§fn default() -> DescribeDatabaseEntitiesRequest
fn default() -> DescribeDatabaseEntitiesRequest
Source§impl PartialEq for DescribeDatabaseEntitiesRequest
impl PartialEq for DescribeDatabaseEntitiesRequest
Source§fn eq(&self, other: &DescribeDatabaseEntitiesRequest) -> bool
fn eq(&self, other: &DescribeDatabaseEntitiesRequest) -> bool
self and other values to be equal, and is used by ==.