#[non_exhaustive]pub struct GetHealthOperationMetadata {
pub health_info: Option<GetHealthOperationMetadataHealthInfo>,
/* private fields */
}Available on crate features
addresses or autoscalers or backend-buckets or backend-services or cross-site-networks or disks or external-vpn-gateways or firewall-policies or firewalls or forwarding-rules or future-reservations or global-addresses or global-forwarding-rules or global-frontend-settings or global-network-endpoint-groups or global-operations or global-organization-operations or global-public-delegated-prefixes or global-vm-extension-policies or health-checks or hosts or http-health-checks or https-health-checks or images or instance-group-manager-resize-requests or instance-group-managers or instance-groups or instance-settings or instance-templates or instances or instant-snapshot-groups or instant-snapshots or interconnect-attachment-groups or interconnect-attachments or interconnect-groups or interconnects or licenses or machine-images or network-attachments or network-edge-security-services or network-endpoint-groups or network-firewall-policies or networks or node-groups or node-templates or organization-security-policies or packet-mirrorings or preview-features or projects or public-advertised-prefixes or public-delegated-prefixes or region-autoscalers or region-backend-buckets or region-backend-services or region-commitments or region-composite-health-checks or region-disks or region-health-aggregation-policies or region-health-check-services or region-health-checks or region-health-sources or region-instance-group-manager-resize-requests or region-instance-group-managers or region-instance-groups or region-instance-templates or region-instances or region-instant-snapshot-groups or region-instant-snapshots or region-network-endpoint-groups or region-network-firewall-policies or region-notification-endpoints or region-operations or region-security-policies or region-snapshot-settings or region-snapshots or region-ssl-certificates or region-ssl-policies or region-target-http-proxies or region-target-https-proxies or region-target-tcp-proxies or region-url-maps or reservation-blocks or reservation-slots or reservation-sub-blocks or reservations or resource-policies or rollout-plans or rollouts or routers or routes or security-policies or service-attachments or snapshot-settings or snapshots or ssl-certificates or ssl-policies or storage-pools or subnetworks or target-grpc-proxies or target-http-proxies or target-https-proxies or target-instances or target-pools or target-ssl-proxies or target-tcp-proxies or target-vpn-gateways or url-maps or vpn-gateways or vpn-tunnels or wire-groups or zone-operations or zone-vm-extension-policies only.Expand description
Metadata for GetHealth operations.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.health_info: Option<GetHealthOperationMetadataHealthInfo>Output only. The health information.
Implementations§
Source§impl GetHealthOperationMetadata
impl GetHealthOperationMetadata
Sourcepub fn set_health_info<T>(self, v: T) -> Selfwhere
T: Into<GetHealthOperationMetadataHealthInfo>,
pub fn set_health_info<T>(self, v: T) -> Selfwhere
T: Into<GetHealthOperationMetadataHealthInfo>,
Sets the value of health_info.
§Example
ⓘ
use google_cloud_compute_v1::model::GetHealthOperationMetadataHealthInfo;
let x = GetHealthOperationMetadata::new().set_health_info(GetHealthOperationMetadataHealthInfo::default()/* use setters */);Sourcepub fn set_or_clear_health_info<T>(self, v: Option<T>) -> Selfwhere
T: Into<GetHealthOperationMetadataHealthInfo>,
pub fn set_or_clear_health_info<T>(self, v: Option<T>) -> Selfwhere
T: Into<GetHealthOperationMetadataHealthInfo>,
Sets or clears the value of health_info.
§Example
ⓘ
use google_cloud_compute_v1::model::GetHealthOperationMetadataHealthInfo;
let x = GetHealthOperationMetadata::new().set_or_clear_health_info(Some(GetHealthOperationMetadataHealthInfo::default()/* use setters */));
let x = GetHealthOperationMetadata::new().set_or_clear_health_info(None::<GetHealthOperationMetadataHealthInfo>);Trait Implementations§
Source§impl Clone for GetHealthOperationMetadata
impl Clone for GetHealthOperationMetadata
Source§impl Debug for GetHealthOperationMetadata
impl Debug for GetHealthOperationMetadata
Source§impl Default for GetHealthOperationMetadata
impl Default for GetHealthOperationMetadata
Source§impl Message for GetHealthOperationMetadata
impl Message for GetHealthOperationMetadata
impl StructuralPartialEq for GetHealthOperationMetadata
Auto Trait Implementations§
impl Freeze for GetHealthOperationMetadata
impl RefUnwindSafe for GetHealthOperationMetadata
impl Send for GetHealthOperationMetadata
impl Sync for GetHealthOperationMetadata
impl Unpin for GetHealthOperationMetadata
impl UnsafeUnpin for GetHealthOperationMetadata
impl UnwindSafe for GetHealthOperationMetadata
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
Mutably borrows from an owned value. Read more
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>
Wrap the input message
T in a tonic::Request