<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/privacy/dlp/v2/storage.proto

namespace Google\Cloud\Dlp\V2;

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

/**
 * Message representing a set of files in Cloud Storage.
 *
 * Generated from protobuf message <code>google.privacy.dlp.v2.CloudStorageFileSet</code>
 */
class CloudStorageFileSet extends \Google\Protobuf\Internal\Message
{
    /**
     * The url, in the format `gs://<bucket>/<path>`. Trailing wildcard in the
     * path is allowed.
     *
     * Generated from protobuf field <code>string url = 1;</code>
     */
    private $url = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $url
     *           The url, in the format `gs://<bucket>/<path>`. Trailing wildcard in the
     *           path is allowed.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Privacy\Dlp\V2\Storage::initOnce();
        parent::__construct($data);
    }

    /**
     * The url, in the format `gs://<bucket>/<path>`. Trailing wildcard in the
     * path is allowed.
     *
     * Generated from protobuf field <code>string url = 1;</code>
     * @return string
     */
    public function getUrl()
    {
        return $this->url;
    }

    /**
     * The url, in the format `gs://<bucket>/<path>`. Trailing wildcard in the
     * path is allowed.
     *
     * Generated from protobuf field <code>string url = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setUrl($var)
    {
        GPBUtil::checkString($var, True);
        $this->url = $var;

        return $this;
    }

}

