#[non_exhaustive]pub struct SearchMigratableResourcesRequest {
pub parent: String,
pub page_size: i32,
pub page_token: String,
pub filter: String,
/* private fields */
}Expand description
Request message for MigrationService.SearchMigratableResources.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.parent: StringRequired. The location that the migratable resources should be searched
from. It’s the Vertex AI location that the resources can be migrated to,
not the resources’ original location. Format:
projects/{project}/locations/{location}
page_size: i32The standard page size. The default and maximum value is 100.
page_token: StringThe standard page token.
filter: StringA filter for your search. You can use the following types of filters:
- Resource type filters. The following strings filter for a specific type
of MigratableResource:
ml_engine_model_version:*automl_model:*automl_dataset:*data_labeling_dataset:*
- “Migrated or not” filters. The following strings filter for resources
that either have or have not already been migrated:
last_migrate_time:*filters for migrated resources.NOT last_migrate_time:*filters for not yet migrated resources.
Implementations§
Source§impl SearchMigratableResourcesRequest
impl SearchMigratableResourcesRequest
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_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 SearchMigratableResourcesRequest
impl Clone for SearchMigratableResourcesRequest
Source§fn clone(&self) -> SearchMigratableResourcesRequest
fn clone(&self) -> SearchMigratableResourcesRequest
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for SearchMigratableResourcesRequest
impl Default for SearchMigratableResourcesRequest
Source§fn default() -> SearchMigratableResourcesRequest
fn default() -> SearchMigratableResourcesRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SearchMigratableResourcesRequest
impl<'de> Deserialize<'de> for SearchMigratableResourcesRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SearchMigratableResourcesRequest
impl PartialEq for SearchMigratableResourcesRequest
Source§fn eq(&self, other: &SearchMigratableResourcesRequest) -> bool
fn eq(&self, other: &SearchMigratableResourcesRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SearchMigratableResourcesRequest
Auto Trait Implementations§
impl Freeze for SearchMigratableResourcesRequest
impl RefUnwindSafe for SearchMigratableResourcesRequest
impl Send for SearchMigratableResourcesRequest
impl Sync for SearchMigratableResourcesRequest
impl Unpin for SearchMigratableResourcesRequest
impl UnwindSafe for SearchMigratableResourcesRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more