class Google::Apis::MonitoringV3::ListAlertPoliciesResponse
The protocol for the ListAlertPolicies response.
Attributes
alert_policies[RW]
The returned alert policies. Corresponds to the JSON property `alertPolicies` @return [Array<Google::Apis::MonitoringV3::AlertPolicy>]
next_page_token[RW]
If there might be more results than were returned, then this field is set to a non-empty value. To see the additional results, use that value as page_token in the next call to this method. Corresponds to the JSON property `nextPageToken` @return [String]
total_size[RW]
The total number of alert policies in all pages. This number is only an estimate, and may change in subsequent pages. aip.dev/158 Corresponds to the JSON property `totalSize` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/monitoring_v3/classes.rb, line 2073 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/monitoring_v3/classes.rb, line 2078 def update!(**args) @alert_policies = args[:alert_policies] if args.key?(:alert_policies) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @total_size = args[:total_size] if args.key?(:total_size) end