Struct google_api_proto::google::spanner::admin::instance::v1::CreateInstanceConfigRequest
source · pub struct CreateInstanceConfigRequest {
pub parent: String,
pub instance_config_id: String,
pub instance_config: Option<InstanceConfig>,
pub validate_only: bool,
}
Expand description
The request for [CreateInstanceConfigRequest][InstanceAdmin.CreateInstanceConfigRequest].
Fields§
§parent: String
Required. The name of the project in which to create the instance
configuration. Values are of the form projects/<project>
.
instance_config_id: String
Required. The ID of the instance configuration 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.
instance_config: Option<InstanceConfig>
Required. The InstanceConfig proto of the configuration to create.
instance_config.name must be
<parent>/instanceConfigs/<instance_config_id>
.
instance_config.base_config must be a Google managed configuration name,
e.g.
validate_only: 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 Message for CreateInstanceConfigRequest
impl Message for CreateInstanceConfigRequest
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for CreateInstanceConfigRequest
impl PartialEq for CreateInstanceConfigRequest
source§fn eq(&self, other: &CreateInstanceConfigRequest) -> bool
fn eq(&self, other: &CreateInstanceConfigRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq 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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request