GoogleApi.ServiceNetworking.V1.Model.CustomError (google_api_service_networking v0.40.0)
View SourceCustomize service error responses. For example, list any service specific protobuf types that can appear in error detail lists of error responses. Example: custom_error: types: - google.foo.v1.CustomError - google.foo.v1.AnotherError
Attributes
-
rules
(type:list(GoogleApi.ServiceNetworking.V1.Model.CustomErrorRule.t)
, default:nil
) - The list of custom error rules that apply to individual API messages. NOTE: All service configuration rules follow "last one wins" order. -
types
(type:list(String.t)
, default:nil
) - The list of custom error detail types, e.g. 'google.foo.v1.CustomError'.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.ServiceNetworking.V1.Model.CustomError{ rules: [GoogleApi.ServiceNetworking.V1.Model.CustomErrorRule.t()] | nil, types: [String.t()] | nil }