Struct gapi_grpc::google::monitoring::v3::uptime_check_config::ResourceGroup[][src]

pub struct ResourceGroup {
    pub group_id: String,
    pub resource_type: i32,
}

The resource submessage for group checks. It can be used instead of a monitored resource, when multiple resources are being monitored.

Fields

group_id: String

The group of resources being monitored. Should be only the [GROUP_ID], and not the full-path projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID].

resource_type: i32

The resource type of the group members.

Implementations

impl ResourceGroup[src]

pub fn resource_type(&self) -> GroupResourceType[src]

Returns the enum value of resource_type, or the default if the field is set to an invalid enum value.

pub fn set_resource_type(&mut self, value: GroupResourceType)[src]

Sets resource_type to the provided enum value.

Trait Implementations

impl Clone for ResourceGroup[src]

impl Debug for ResourceGroup[src]

impl Default for ResourceGroup[src]

impl Message for ResourceGroup[src]

impl PartialEq<ResourceGroup> for ResourceGroup[src]

impl StructuralPartialEq for ResourceGroup[src]

Auto Trait Implementations

impl RefUnwindSafe for ResourceGroup

impl Send for ResourceGroup

impl Sync for ResourceGroup

impl Unpin for ResourceGroup

impl UnwindSafe for ResourceGroup

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]