Show / Hide Table of Contents

Class CustomError

Customize 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

Inheritance
object
CustomError
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.ServiceConsumerManagement.v1beta1.Data
Assembly: Google.Apis.ServiceConsumerManagement.v1beta1.dll
Syntax
public class CustomError : IDirectResponseSchema

Properties

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Rules

The list of custom error rules that apply to individual API messages. NOTE: All service configuration rules follow "last one wins" order.

Declaration
[JsonProperty("rules")]
public virtual IList<CustomErrorRule> Rules { get; set; }
Property Value
Type Description
IList<CustomErrorRule>

Types

The list of custom error detail types, e.g. 'google.foo.v1.CustomError'.

Declaration
[JsonProperty("types")]
public virtual IList<string> Types { get; set; }
Property Value
Type Description
IList<string>

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX