Struct google_monitoring3::Group[][src]

pub struct Group {
    pub filter: Option<String>,
    pub parent_name: Option<String>,
    pub display_name: Option<String>,
    pub name: Option<String>,
    pub is_cluster: Option<bool>,
}

The description of a dynamic collection of monitored resources. Each group has a filter that is matched against monitored resources and their associated metadata. If a group's filter matches an available monitored resource, then that resource is a member of that group. Groups can contain any number of monitored resources, and each monitored resource can be a member of any number of groups.Groups can be nested in parent-child hierarchies. The parentName field identifies an optional parent for each group. If a group has a parent, then the only monitored resources available to be matched by the group's filter are the resources contained in the parent group. In other words, a group contains the monitored resources that match its filter and the filters of all the group's ancestors. A group without a parent can contain any monitored resource.For example, consider an infrastructure running a set of instances with two user-defined tags: "environment" and "role". A parent group has a filter, environment="production". A child of that parent group has a filter, role="transcoder". The parent group contains all instances in the production environment, regardless of their roles. The child group contains instances that have the transcoder role and are in the production environment.The monitored resources contained in a group can change at any moment, depending on what resources exist and what filters are associated with the group and its ancestors.

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).

Fields

The filter used to determine which monitored resources belong to this group.

The name of the group's parent, if it has one. The format is "projects/{project_id_or_number}/groups/{group_id}". For groups with no parent, parentName is the empty string, "".

A user-assigned name for this group, used only for display purposes.

Output only. The name of this group. The format is "projects/{project_id_or_number}/groups/{group_id}". When creating a group, this field is ignored and a new name is created consisting of the project specified in the call to CreateGroup and a unique {group_id} that is generated automatically.

If true, the members of this group are considered to be a cluster. The system can perform additional analysis on groups that are clusters.

Trait Implementations

impl Default for Group
[src]

Returns the "default value" for a type. Read more

impl Clone for Group
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Group
[src]

Formats the value using the given formatter. Read more

impl RequestValue for Group
[src]

impl ResponseResult for Group
[src]

Auto Trait Implementations

impl Send for Group

impl Sync for Group