Service Control API V1 API - Class Google::Cloud::ServiceControl::V1::QuotaError (v0.4.6)

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

Represents error information for QuotaOperation.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#code

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

#code=

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

#description

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

#description=

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

#status

def status() -> ::Google::Rpc::Status
Returns
  • (::Google::Rpc::Status) — Contains additional information about the quota error. If available, status.code will be non zero.

#status=

def status=(value) -> ::Google::Rpc::Status
Parameter
  • value (::Google::Rpc::Status) — Contains additional information about the quota error. If available, status.code will be non zero.
Returns
  • (::Google::Rpc::Status) — Contains additional information about the quota error. If available, status.code will be non zero.

#subject

def subject() -> ::String
Returns
  • (::String) — Subject to whom this error applies. See the specific enum for more details on this field. For example, "clientip:

#subject=

def subject=(value) -> ::String
Parameter
  • value (::String) — Subject to whom this error applies. See the specific enum for more details on this field. For example, "clientip:
Returns
  • (::String) — Subject to whom this error applies. See the specific enum for more details on this field. For example, "clientip: