Service Control v1 API - Class CheckError (2.4.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
Name Description
other CheckError

Properties

Code

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

The error code.

Property Value
Type Description
CheckErrorTypesCode

Detail

public string Detail { get; set; }

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

Property Value
Type Description
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
Type Description
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
Type Description
string