pub struct UpdateInstanceConfigRequest {
pub instance_config: Option<InstanceConfig>,
pub update_mask: Option<FieldMask>,
pub validate_only: Option<bool>,
}
Expand description
The request for UpdateInstanceConfigRequest.
§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 patch projects (request)
Fields§
§instance_config: Option<InstanceConfig>
Required. The user instance config to update, which must always include the instance config name. Otherwise, only fields mentioned in update_mask need be included. To prevent conflicts of concurrent updates, etag can be used.
update_mask: Option<FieldMask>
Required. A mask specifying which fields in InstanceConfig should be updated. The field mask must always be specified; this prevents any future fields in InstanceConfig from being erased accidentally by clients that do not know about them. Only display_name and labels can be updated.
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 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 Default for UpdateInstanceConfigRequest
impl Default for UpdateInstanceConfigRequest
Source§fn default() -> UpdateInstanceConfigRequest
fn default() -> UpdateInstanceConfigRequest
Source§impl<'de> Deserialize<'de> for UpdateInstanceConfigRequest
impl<'de> Deserialize<'de> for UpdateInstanceConfigRequest
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 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
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