class Google::Apis::MonitoringV3::ResponseStatusCode
A status to accept. Either a status code class like “2xx”, or an integer status code like “200”.
Attributes
status_class[RW]
A class of status codes to accept. Corresponds to the JSON property `statusClass` @return [String]
status_value[RW]
A status code to accept. Corresponds to the JSON property `statusValue` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/monitoring_v3/classes.rb, line 3714 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 3719 def update!(**args) @status_class = args[:status_class] if args.key?(:status_class) @status_value = args[:status_value] if args.key?(:status_value) end