#[non_exhaustive]pub struct ConvertConversionWorkspaceRequest {
pub name: String,
pub auto_commit: bool,
pub filter: String,
pub convert_full_path: bool,
/* private fields */
}Expand description
Request message for ‘ConvertConversionWorkspace’ 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.name: StringName of the conversion workspace resource to convert in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
auto_commit: boolOptional. Specifies whether the conversion workspace is to be committed automatically after the conversion.
filter: StringOptional. Filter the entities to convert. Leaving this field empty will convert all of the entities. Supports Google AIP-160 style filtering.
convert_full_path: boolOptional. Automatically convert the full entity path for each entity specified by the filter. For example, if the filter specifies a table, that table schema (and database if there is one) will also be converted.
Implementations§
Source§impl ConvertConversionWorkspaceRequest
impl ConvertConversionWorkspaceRequest
pub fn new() -> Self
Sourcepub fn set_auto_commit<T: Into<bool>>(self, v: T) -> Self
pub fn set_auto_commit<T: Into<bool>>(self, v: T) -> Self
Sets the value of auto_commit.
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_convert_full_path<T: Into<bool>>(self, v: T) -> Self
pub fn set_convert_full_path<T: Into<bool>>(self, v: T) -> Self
Sets the value of convert_full_path.
Trait Implementations§
Source§impl Clone for ConvertConversionWorkspaceRequest
impl Clone for ConvertConversionWorkspaceRequest
Source§fn clone(&self) -> ConvertConversionWorkspaceRequest
fn clone(&self) -> ConvertConversionWorkspaceRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for ConvertConversionWorkspaceRequest
impl Default for ConvertConversionWorkspaceRequest
Source§fn default() -> ConvertConversionWorkspaceRequest
fn default() -> ConvertConversionWorkspaceRequest
Source§impl PartialEq for ConvertConversionWorkspaceRequest
impl PartialEq for ConvertConversionWorkspaceRequest
Source§fn eq(&self, other: &ConvertConversionWorkspaceRequest) -> bool
fn eq(&self, other: &ConvertConversionWorkspaceRequest) -> bool
self and other values to be equal, and is used by ==.