Reference documentation and code samples for the Cloud Monitoring Dashboards V1 API class Google::Cloud::Monitoring::Dashboard::V1::IncidentList.
A widget that displays a list of incidents
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#monitored_resources
def monitored_resources() -> ::Array<::Google::Api::MonitoredResource>
Returns
- (::Array<::Google::Api::MonitoredResource>) — Optional. The monitored resource for which incidents are listed. The resource doesn't need to be fully specified. That is, you can specify the resource type but not the values of the resource labels. The resource type and labels are used for filtering.
#monitored_resources=
def monitored_resources=(value) -> ::Array<::Google::Api::MonitoredResource>
Parameter
- value (::Array<::Google::Api::MonitoredResource>) — Optional. The monitored resource for which incidents are listed. The resource doesn't need to be fully specified. That is, you can specify the resource type but not the values of the resource labels. The resource type and labels are used for filtering.
Returns
- (::Array<::Google::Api::MonitoredResource>) — Optional. The monitored resource for which incidents are listed. The resource doesn't need to be fully specified. That is, you can specify the resource type but not the values of the resource labels. The resource type and labels are used for filtering.
#policy_names
def policy_names() -> ::Array<::String>
Returns
-
(::Array<::String>) — Optional. A list of alert policy names to filter the incident list by.
Don't include the project ID prefix in the policy name. For
example, use
alertPolicies/utilization
.
#policy_names=
def policy_names=(value) -> ::Array<::String>
Parameter
-
value (::Array<::String>) — Optional. A list of alert policy names to filter the incident list by.
Don't include the project ID prefix in the policy name. For
example, use
alertPolicies/utilization
.
Returns
-
(::Array<::String>) — Optional. A list of alert policy names to filter the incident list by.
Don't include the project ID prefix in the policy name. For
example, use
alertPolicies/utilization
.