Service Control API V1 API - Class Google::Cloud::ServiceControl::V1::CheckError (v0.5.0)

Reference documentation and code samples for the Service Control API V1 API class Google::Cloud::ServiceControl::V1::CheckError.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#code

def code() -> ::Google::Cloud::ServiceControl::V1::CheckError::Code

#code=

def code=(value) -> ::Google::Cloud::ServiceControl::V1::CheckError::Code
Parameter

#detail

def detail() -> ::String
Returns
  • (::String) — Free-form text providing details on the error cause of the error.

#detail=

def detail=(value) -> ::String
Parameter
  • value (::String) — Free-form text providing details on the error cause of the error.
Returns
  • (::String) — Free-form text providing details on the error cause of the error.

#status

def status() -> ::Google::Rpc::Status
Returns
  • (::Google::Rpc::Status) — Contains public information about the check error. If available, status.code will be non zero and client can propagate it out as public error.

#status=

def status=(value) -> ::Google::Rpc::Status
Parameter
  • value (::Google::Rpc::Status) — Contains public information about the check error. If available, status.code will be non zero and client can propagate it out as public error.
Returns
  • (::Google::Rpc::Status) — Contains public information about the check error. If available, status.code will be non zero and client can propagate it out as public error.

#subject

def subject() -> ::String
Returns
  • (::String) —

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

    • "project:
    • "folder:
    • "organization:

#subject=

def subject=(value) -> ::String
Parameter
  • value (::String) —

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

    • "project:
    • "folder:
    • "organization:
Returns
  • (::String) —

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

    • "project:
    • "folder:
    • "organization: