class Google::Apis::ServicenetworkingV1beta::CustomErrorRule
A custom error rule.
Attributes
is_error_type[RW]
Mark this message as possible payload in error response. Otherwise, objects of this type will be filtered when they appear in error payload. Corresponds to the JSON property `isErrorType` @return [Boolean]
is_error_type?[RW]
Mark this message as possible payload in error response. Otherwise, objects of this type will be filtered when they appear in error payload. Corresponds to the JSON property `isErrorType` @return [Boolean]
selector[RW]
Selects messages to which this rule applies. Refer to selector for syntax details. Corresponds to the JSON property `selector` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/servicenetworking_v1beta/classes.rb, line 943 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/servicenetworking_v1beta/classes.rb, line 948 def update!(**args) @is_error_type = args[:is_error_type] if args.key?(:is_error_type) @selector = args[:selector] if args.key?(:selector) end