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

namespace Google\Cloud\AppEngine\V1;

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

/**
 * Request message for `Firewall.DeleteIngressRule`.
 *
 * Generated from protobuf message <code>google.appengine.v1.DeleteIngressRuleRequest</code>
 */
class DeleteIngressRuleRequest extends \Google\Protobuf\Internal\Message
{
    /**
     * Name of the Firewall resource to delete.
     * Example: `apps/myapp/firewall/ingressRules/100`.
     *
     * Generated from protobuf field <code>string name = 1;</code>
     */
    private $name = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $name
     *           Name of the Firewall resource to delete.
     *           Example: `apps/myapp/firewall/ingressRules/100`.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Appengine\V1\Appengine::initOnce();
        parent::__construct($data);
    }

    /**
     * Name of the Firewall resource to delete.
     * Example: `apps/myapp/firewall/ingressRules/100`.
     *
     * Generated from protobuf field <code>string name = 1;</code>
     * @return string
     */
    public function getName()
    {
        return $this->name;
    }

    /**
     * Name of the Firewall resource to delete.
     * Example: `apps/myapp/firewall/ingressRules/100`.
     *
     * Generated from protobuf field <code>string name = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setName($var)
    {
        GPBUtil::checkString($var, True);
        $this->name = $var;

        return $this;
    }

}

