Service Control v1 API - Class CheckError (2.1.0)

public sealed class CheckError : IMessage<CheckError>, IEquatable<CheckError>, IDeepCloneable<CheckError>, IBufferMessage, IMessage

Reference documentation and code samples for the Service Control v1 API class CheckError.

Defines the errors to be returned in [google.api.servicecontrol.v1.CheckResponse.check_errors][google.api.servicecontrol.v1.CheckResponse.check_errors].

Inheritance

Object > CheckError

Namespace

Google.Cloud.ServiceControl.V1

Assembly

Google.Cloud.ServiceControl.V1.dll

Constructors

CheckError()

public CheckError()

CheckError(CheckError)

public CheckError(CheckError other)
Parameter
NameDescription
otherCheckError

Properties

Code

public CheckError.Types.Code Code { get; set; }

The error code.

Property Value
TypeDescription
CheckError.Types.Code

Detail

public string Detail { get; set; }

Free-form text providing details on the error cause of the error.

Property Value
TypeDescription
String

Status

public Status Status { get; set; }

Contains public information about the check error. If available, status.code will be non zero and client can propagate it out as public error.

Property Value
TypeDescription
Status

Subject

public string Subject { get; set; }

Subject to whom this error applies. See the specific code enum for more details on this field. For example:

  • "project:<project-id or project-number>"
  • "folder:<folder-id>"
  • "organization:<organization-id>"
Property Value
TypeDescription
String