<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/pubsub/v1/pubsub.proto

namespace Google\Cloud\PubSub\V1\IngestionFailureEvent;

use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;

/**
 * Specifies the reason why some data may have been left out of
 * the desired Pub/Sub message due to the API message limits
 * (https://cloud.google.com/pubsub/quotas#resource_limits). For example,
 * when the number of attributes is larger than 100, the number of
 * attributes is truncated to 100 to respect the limit on the attribute count.
 * Other attribute limits are treated similarly. When the size of the desired
 * message would've been larger than 10MB, the message won't be published at
 * all, and ingestion of the subsequent messages will proceed as normal.
 *
 * Generated from protobuf message <code>google.pubsub.v1.IngestionFailureEvent.ApiViolationReason</code>
 */
class ApiViolationReason extends \Google\Protobuf\Internal\Message
{

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Pubsub\V1\Pubsub::initOnce();
        parent::__construct($data);
    }

}


