#[non_exhaustive]pub struct CreateConversionWorkspaceRequest {
pub parent: String,
pub conversion_workspace_id: String,
pub conversion_workspace: Option<ConversionWorkspace>,
pub request_id: String,
/* private fields */
}Expand description
Request message to create a new Conversion Workspace in the specified project and region.
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 parent which owns this collection of conversion workspaces.
conversion_workspace_id: StringRequired. The ID of the conversion workspace to create.
conversion_workspace: Option<ConversionWorkspace>Required. Represents a conversion workspace object.
request_id: StringA unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored.
It is recommended to always set this value to a UUID.
The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
Implementations§
Source§impl CreateConversionWorkspaceRequest
impl CreateConversionWorkspaceRequest
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_conversion_workspace_id<T: Into<String>>(self, v: T) -> Self
pub fn set_conversion_workspace_id<T: Into<String>>(self, v: T) -> Self
Sets the value of conversion_workspace_id.
Sourcepub fn set_conversion_workspace<T>(self, v: T) -> Selfwhere
T: Into<ConversionWorkspace>,
pub fn set_conversion_workspace<T>(self, v: T) -> Selfwhere
T: Into<ConversionWorkspace>,
Sets the value of conversion_workspace.
Sourcepub fn set_or_clear_conversion_workspace<T>(self, v: Option<T>) -> Selfwhere
T: Into<ConversionWorkspace>,
pub fn set_or_clear_conversion_workspace<T>(self, v: Option<T>) -> Selfwhere
T: Into<ConversionWorkspace>,
Sets or clears the value of conversion_workspace.
Sourcepub fn set_request_id<T: Into<String>>(self, v: T) -> Self
pub fn set_request_id<T: Into<String>>(self, v: T) -> Self
Sets the value of request_id.
Trait Implementations§
Source§impl Clone for CreateConversionWorkspaceRequest
impl Clone for CreateConversionWorkspaceRequest
Source§fn clone(&self) -> CreateConversionWorkspaceRequest
fn clone(&self) -> CreateConversionWorkspaceRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for CreateConversionWorkspaceRequest
impl Default for CreateConversionWorkspaceRequest
Source§fn default() -> CreateConversionWorkspaceRequest
fn default() -> CreateConversionWorkspaceRequest
Source§impl PartialEq for CreateConversionWorkspaceRequest
impl PartialEq for CreateConversionWorkspaceRequest
Source§fn eq(&self, other: &CreateConversionWorkspaceRequest) -> bool
fn eq(&self, other: &CreateConversionWorkspaceRequest) -> bool
self and other values to be equal, and is used by ==.