Struct google_api_proto::google::spanner::admin::instance::v1::UpdateInstanceConfigRequest
source · pub struct UpdateInstanceConfigRequest {
pub instance_config: Option<InstanceConfig>,
pub update_mask: Option<FieldMask>,
pub validate_only: bool,
}
Expand description
The request for [UpdateInstanceConfigRequest][InstanceAdmin.UpdateInstanceConfigRequest].
Fields§
§instance_config: Option<InstanceConfig>
Required. The user instance configuration to update, which must always include the instance configuration name. Otherwise, only fields mentioned in [update_mask][google.spanner.admin.instance.v1.UpdateInstanceConfigRequest.update_mask] need be included. To prevent conflicts of concurrent updates, [etag][google.spanner.admin.instance.v1.InstanceConfig.reconciling] can be used.
update_mask: Option<FieldMask>
Required. A mask specifying which fields in [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] should be updated. The field mask must always be specified; this prevents any future fields in [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] from being erased accidentally by clients that do not know about them. Only display_name and labels can be updated.
validate_only: bool
An option to validate, but not actually execute, a request, and provide the same response.
Trait Implementations§
source§impl Clone for UpdateInstanceConfigRequest
impl Clone for UpdateInstanceConfigRequest
source§fn clone(&self) -> UpdateInstanceConfigRequest
fn clone(&self) -> UpdateInstanceConfigRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateInstanceConfigRequest
impl Debug for UpdateInstanceConfigRequest
source§impl Message for UpdateInstanceConfigRequest
impl Message for UpdateInstanceConfigRequest
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 UpdateInstanceConfigRequest
impl PartialEq for UpdateInstanceConfigRequest
source§fn eq(&self, other: &UpdateInstanceConfigRequest) -> bool
fn eq(&self, other: &UpdateInstanceConfigRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateInstanceConfigRequest
Auto Trait Implementations§
impl Freeze for UpdateInstanceConfigRequest
impl RefUnwindSafe for UpdateInstanceConfigRequest
impl Send for UpdateInstanceConfigRequest
impl Sync for UpdateInstanceConfigRequest
impl Unpin for UpdateInstanceConfigRequest
impl UnwindSafe for UpdateInstanceConfigRequest
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