pub struct CreateInstanceConfigRequest {
pub instance_config: Option<InstanceConfig>,
pub instance_config_id: Option<String>,
pub validate_only: Option<bool>,
}
Expand description
The request for CreateInstanceConfigRequest.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- instance configs create projects (request)
Fields§
§instance_config: Option<InstanceConfig>
Required. The InstanceConfig proto of the configuration to create. instance_config.name must be /instanceConfigs/
. instance_config.base_config must be a Google managed configuration name, e.g. /instanceConfigs/us-east1, /instanceConfigs/nam3.
instance_config_id: Option<String>
Required. The ID of the instance config to create. Valid identifiers are of the form custom-[-a-z0-9]*[a-z0-9]
and must be between 2 and 64 characters in length. The custom-
prefix is required to avoid name conflicts with Google managed configurations.
validate_only: Option<bool>
An option to validate, but not actually execute, a request, and provide the same response.
Trait Implementations§
Source§impl Clone for CreateInstanceConfigRequest
impl Clone for CreateInstanceConfigRequest
Source§fn clone(&self) -> CreateInstanceConfigRequest
fn clone(&self) -> CreateInstanceConfigRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for CreateInstanceConfigRequest
impl Debug for CreateInstanceConfigRequest
Source§impl Default for CreateInstanceConfigRequest
impl Default for CreateInstanceConfigRequest
Source§fn default() -> CreateInstanceConfigRequest
fn default() -> CreateInstanceConfigRequest
Source§impl<'de> Deserialize<'de> for CreateInstanceConfigRequest
impl<'de> Deserialize<'de> for CreateInstanceConfigRequest
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>,
impl RequestValue for CreateInstanceConfigRequest
Auto Trait Implementations§
impl Freeze for CreateInstanceConfigRequest
impl RefUnwindSafe for CreateInstanceConfigRequest
impl Send for CreateInstanceConfigRequest
impl Sync for CreateInstanceConfigRequest
impl Unpin for CreateInstanceConfigRequest
impl UnwindSafe for CreateInstanceConfigRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more