Class: Google::Cloud::Logging::V2::TailLogEntriesResponse::SuppressionInfo

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/logging/v2/logging.rb

Overview

Information about entries that were omitted from the session.

Defined Under Namespace

Modules: Reason

Instance Attribute Summary collapse

Instance Attribute Details

#reason::Google::Cloud::Logging::V2::TailLogEntriesResponse::SuppressionInfo::Reason

Returns The reason that entries were omitted from the session.

Returns:



386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
# File 'proto_docs/google/logging/v2/logging.rb', line 386

class SuppressionInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # An indicator of why entries were omitted.
  module Reason
    # Unexpected default.
    REASON_UNSPECIFIED = 0

    # Indicates suppression occurred due to relevant entries being
    # received in excess of rate limits. For quotas and limits, see
    # [Logging API quotas and
    # limits](https://cloud.google.com/logging/quotas#api-limits).
    RATE_LIMIT = 1

    # Indicates suppression occurred due to the client not consuming
    # responses quickly enough.
    NOT_CONSUMED = 2
  end
end

#suppressed_count::Integer

Returns A lower bound on the count of entries omitted due to reason.

Returns:

  • (::Integer)

    A lower bound on the count of entries omitted due to reason.



386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
# File 'proto_docs/google/logging/v2/logging.rb', line 386

class SuppressionInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # An indicator of why entries were omitted.
  module Reason
    # Unexpected default.
    REASON_UNSPECIFIED = 0

    # Indicates suppression occurred due to relevant entries being
    # received in excess of rate limits. For quotas and limits, see
    # [Logging API quotas and
    # limits](https://cloud.google.com/logging/quotas#api-limits).
    RATE_LIMIT = 1

    # Indicates suppression occurred due to the client not consuming
    # responses quickly enough.
    NOT_CONSUMED = 2
  end
end