#[non_exhaustive]pub struct ResourceStatusEffectiveInstanceMetadata {
pub block_project_ssh_keys_metadata_value: Option<bool>,
pub enable_guest_attributes_metadata_value: Option<bool>,
pub enable_os_inventory_metadata_value: Option<bool>,
pub enable_osconfig_metadata_value: Option<bool>,
pub enable_oslogin_metadata_value: Option<bool>,
pub gce_container_declaration_metadata_value: Option<bool>,
pub serial_port_enable_metadata_value: Option<bool>,
pub serial_port_logging_enable_metadata_value: Option<bool>,
pub vm_dns_setting_metadata_value: Option<String>,
/* private fields */
}instances only.Expand description
Effective values of predefined metadata keys for an instance.
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.block_project_ssh_keys_metadata_value: Option<bool>Effective block-project-ssh-keys value at Instance level.
enable_guest_attributes_metadata_value: Option<bool>Effective enable-guest-attributes value at Instance level.
enable_os_inventory_metadata_value: Option<bool>Effective enable-os-inventory value at Instance level.
enable_osconfig_metadata_value: Option<bool>Effective enable-osconfig value at Instance level.
enable_oslogin_metadata_value: Option<bool>Effective enable-oslogin value at Instance level.
gce_container_declaration_metadata_value: Option<bool>Effective gce-container-declaration value at Instance level.
serial_port_enable_metadata_value: Option<bool>Effective serial-port-enable value at Instance level.
serial_port_logging_enable_metadata_value: Option<bool>Effective serial-port-logging-enable value at Instance level.
vm_dns_setting_metadata_value: Option<String>Effective VM DNS setting at Instance level.
Implementations§
Source§impl ResourceStatusEffectiveInstanceMetadata
impl ResourceStatusEffectiveInstanceMetadata
Sourcepub fn set_block_project_ssh_keys_metadata_value<T>(self, v: T) -> Self
pub fn set_block_project_ssh_keys_metadata_value<T>(self, v: T) -> Self
Sets the value of block_project_ssh_keys_metadata_value.
§Example
let x = ResourceStatusEffectiveInstanceMetadata::new().set_block_project_ssh_keys_metadata_value(true);Sourcepub fn set_or_clear_block_project_ssh_keys_metadata_value<T>(
self,
v: Option<T>,
) -> Self
pub fn set_or_clear_block_project_ssh_keys_metadata_value<T>( self, v: Option<T>, ) -> Self
Sets or clears the value of block_project_ssh_keys_metadata_value.
§Example
let x = ResourceStatusEffectiveInstanceMetadata::new().set_or_clear_block_project_ssh_keys_metadata_value(Some(false));
let x = ResourceStatusEffectiveInstanceMetadata::new().set_or_clear_block_project_ssh_keys_metadata_value(None::<bool>);Sourcepub fn set_enable_guest_attributes_metadata_value<T>(self, v: T) -> Self
pub fn set_enable_guest_attributes_metadata_value<T>(self, v: T) -> Self
Sets the value of enable_guest_attributes_metadata_value.
§Example
let x = ResourceStatusEffectiveInstanceMetadata::new().set_enable_guest_attributes_metadata_value(true);Sourcepub fn set_or_clear_enable_guest_attributes_metadata_value<T>(
self,
v: Option<T>,
) -> Self
pub fn set_or_clear_enable_guest_attributes_metadata_value<T>( self, v: Option<T>, ) -> Self
Sets or clears the value of enable_guest_attributes_metadata_value.
§Example
let x = ResourceStatusEffectiveInstanceMetadata::new().set_or_clear_enable_guest_attributes_metadata_value(Some(false));
let x = ResourceStatusEffectiveInstanceMetadata::new().set_or_clear_enable_guest_attributes_metadata_value(None::<bool>);Sourcepub fn set_enable_os_inventory_metadata_value<T>(self, v: T) -> Self
pub fn set_enable_os_inventory_metadata_value<T>(self, v: T) -> Self
Sets the value of enable_os_inventory_metadata_value.
§Example
let x = ResourceStatusEffectiveInstanceMetadata::new().set_enable_os_inventory_metadata_value(true);Sourcepub fn set_or_clear_enable_os_inventory_metadata_value<T>(
self,
v: Option<T>,
) -> Self
pub fn set_or_clear_enable_os_inventory_metadata_value<T>( self, v: Option<T>, ) -> Self
Sets or clears the value of enable_os_inventory_metadata_value.
§Example
let x = ResourceStatusEffectiveInstanceMetadata::new().set_or_clear_enable_os_inventory_metadata_value(Some(false));
let x = ResourceStatusEffectiveInstanceMetadata::new().set_or_clear_enable_os_inventory_metadata_value(None::<bool>);Sourcepub fn set_enable_osconfig_metadata_value<T>(self, v: T) -> Self
pub fn set_enable_osconfig_metadata_value<T>(self, v: T) -> Self
Sets the value of enable_osconfig_metadata_value.
§Example
let x = ResourceStatusEffectiveInstanceMetadata::new().set_enable_osconfig_metadata_value(true);Sourcepub fn set_or_clear_enable_osconfig_metadata_value<T>(
self,
v: Option<T>,
) -> Self
pub fn set_or_clear_enable_osconfig_metadata_value<T>( self, v: Option<T>, ) -> Self
Sets or clears the value of enable_osconfig_metadata_value.
§Example
let x = ResourceStatusEffectiveInstanceMetadata::new().set_or_clear_enable_osconfig_metadata_value(Some(false));
let x = ResourceStatusEffectiveInstanceMetadata::new().set_or_clear_enable_osconfig_metadata_value(None::<bool>);Sourcepub fn set_enable_oslogin_metadata_value<T>(self, v: T) -> Self
pub fn set_enable_oslogin_metadata_value<T>(self, v: T) -> Self
Sets the value of enable_oslogin_metadata_value.
§Example
let x = ResourceStatusEffectiveInstanceMetadata::new().set_enable_oslogin_metadata_value(true);Sourcepub fn set_or_clear_enable_oslogin_metadata_value<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_enable_oslogin_metadata_value<T>(self, v: Option<T>) -> Self
Sets or clears the value of enable_oslogin_metadata_value.
§Example
let x = ResourceStatusEffectiveInstanceMetadata::new().set_or_clear_enable_oslogin_metadata_value(Some(false));
let x = ResourceStatusEffectiveInstanceMetadata::new().set_or_clear_enable_oslogin_metadata_value(None::<bool>);Sourcepub fn set_gce_container_declaration_metadata_value<T>(self, v: T) -> Self
pub fn set_gce_container_declaration_metadata_value<T>(self, v: T) -> Self
Sets the value of gce_container_declaration_metadata_value.
§Example
let x = ResourceStatusEffectiveInstanceMetadata::new().set_gce_container_declaration_metadata_value(true);Sourcepub fn set_or_clear_gce_container_declaration_metadata_value<T>(
self,
v: Option<T>,
) -> Self
pub fn set_or_clear_gce_container_declaration_metadata_value<T>( self, v: Option<T>, ) -> Self
Sets or clears the value of gce_container_declaration_metadata_value.
§Example
let x = ResourceStatusEffectiveInstanceMetadata::new().set_or_clear_gce_container_declaration_metadata_value(Some(false));
let x = ResourceStatusEffectiveInstanceMetadata::new().set_or_clear_gce_container_declaration_metadata_value(None::<bool>);Sourcepub fn set_serial_port_enable_metadata_value<T>(self, v: T) -> Self
pub fn set_serial_port_enable_metadata_value<T>(self, v: T) -> Self
Sets the value of serial_port_enable_metadata_value.
§Example
let x = ResourceStatusEffectiveInstanceMetadata::new().set_serial_port_enable_metadata_value(true);Sourcepub fn set_or_clear_serial_port_enable_metadata_value<T>(
self,
v: Option<T>,
) -> Self
pub fn set_or_clear_serial_port_enable_metadata_value<T>( self, v: Option<T>, ) -> Self
Sets or clears the value of serial_port_enable_metadata_value.
§Example
let x = ResourceStatusEffectiveInstanceMetadata::new().set_or_clear_serial_port_enable_metadata_value(Some(false));
let x = ResourceStatusEffectiveInstanceMetadata::new().set_or_clear_serial_port_enable_metadata_value(None::<bool>);Sourcepub fn set_serial_port_logging_enable_metadata_value<T>(self, v: T) -> Self
pub fn set_serial_port_logging_enable_metadata_value<T>(self, v: T) -> Self
Sets the value of serial_port_logging_enable_metadata_value.
§Example
let x = ResourceStatusEffectiveInstanceMetadata::new().set_serial_port_logging_enable_metadata_value(true);Sourcepub fn set_or_clear_serial_port_logging_enable_metadata_value<T>(
self,
v: Option<T>,
) -> Self
pub fn set_or_clear_serial_port_logging_enable_metadata_value<T>( self, v: Option<T>, ) -> Self
Sets or clears the value of serial_port_logging_enable_metadata_value.
§Example
let x = ResourceStatusEffectiveInstanceMetadata::new().set_or_clear_serial_port_logging_enable_metadata_value(Some(false));
let x = ResourceStatusEffectiveInstanceMetadata::new().set_or_clear_serial_port_logging_enable_metadata_value(None::<bool>);Sourcepub fn set_vm_dns_setting_metadata_value<T>(self, v: T) -> Self
pub fn set_vm_dns_setting_metadata_value<T>(self, v: T) -> Self
Sets the value of vm_dns_setting_metadata_value.
§Example
let x = ResourceStatusEffectiveInstanceMetadata::new().set_vm_dns_setting_metadata_value("example");Sourcepub fn set_or_clear_vm_dns_setting_metadata_value<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_vm_dns_setting_metadata_value<T>(self, v: Option<T>) -> Self
Sets or clears the value of vm_dns_setting_metadata_value.
§Example
let x = ResourceStatusEffectiveInstanceMetadata::new().set_or_clear_vm_dns_setting_metadata_value(Some("example"));
let x = ResourceStatusEffectiveInstanceMetadata::new().set_or_clear_vm_dns_setting_metadata_value(None::<String>);Trait Implementations§
Source§impl Clone for ResourceStatusEffectiveInstanceMetadata
impl Clone for ResourceStatusEffectiveInstanceMetadata
Source§fn clone(&self) -> ResourceStatusEffectiveInstanceMetadata
fn clone(&self) -> ResourceStatusEffectiveInstanceMetadata
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for ResourceStatusEffectiveInstanceMetadata
impl Default for ResourceStatusEffectiveInstanceMetadata
Source§fn default() -> ResourceStatusEffectiveInstanceMetadata
fn default() -> ResourceStatusEffectiveInstanceMetadata
impl StructuralPartialEq for ResourceStatusEffectiveInstanceMetadata
Auto Trait Implementations§
impl Freeze for ResourceStatusEffectiveInstanceMetadata
impl RefUnwindSafe for ResourceStatusEffectiveInstanceMetadata
impl Send for ResourceStatusEffectiveInstanceMetadata
impl Sync for ResourceStatusEffectiveInstanceMetadata
impl Unpin for ResourceStatusEffectiveInstanceMetadata
impl UnsafeUnpin for ResourceStatusEffectiveInstanceMetadata
impl UnwindSafe for ResourceStatusEffectiveInstanceMetadata
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
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> 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