<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/analytics/admin/v1alpha/analytics_admin.proto

namespace Google\Analytics\Admin\V1alpha;

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

/**
 * Request message for DeleteConnectedSiteTag RPC.
 *
 * Generated from protobuf message <code>google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest</code>
 */
class DeleteConnectedSiteTagRequest extends \Google\Protobuf\Internal\Message
{
    /**
     * The Universal Analytics property to delete connected site tags for.
     * This API does not support GA4 properties.
     * Format: properties/{universalAnalyticsPropertyId}
     * Example: properties/1234
     *
     * Generated from protobuf field <code>string property = 1;</code>
     */
    private $property = '';
    /**
     * Tag ID to forward events to. Also known as the Measurement ID, or the
     * "G-ID"  (For example: G-12345).
     *
     * Generated from protobuf field <code>string tag_id = 2;</code>
     */
    private $tag_id = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $property
     *           The Universal Analytics property to delete connected site tags for.
     *           This API does not support GA4 properties.
     *           Format: properties/{universalAnalyticsPropertyId}
     *           Example: properties/1234
     *     @type string $tag_id
     *           Tag ID to forward events to. Also known as the Measurement ID, or the
     *           "G-ID"  (For example: G-12345).
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce();
        parent::__construct($data);
    }

    /**
     * The Universal Analytics property to delete connected site tags for.
     * This API does not support GA4 properties.
     * Format: properties/{universalAnalyticsPropertyId}
     * Example: properties/1234
     *
     * Generated from protobuf field <code>string property = 1;</code>
     * @return string
     */
    public function getProperty()
    {
        return $this->property;
    }

    /**
     * The Universal Analytics property to delete connected site tags for.
     * This API does not support GA4 properties.
     * Format: properties/{universalAnalyticsPropertyId}
     * Example: properties/1234
     *
     * Generated from protobuf field <code>string property = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setProperty($var)
    {
        GPBUtil::checkString($var, True);
        $this->property = $var;

        return $this;
    }

    /**
     * Tag ID to forward events to. Also known as the Measurement ID, or the
     * "G-ID"  (For example: G-12345).
     *
     * Generated from protobuf field <code>string tag_id = 2;</code>
     * @return string
     */
    public function getTagId()
    {
        return $this->tag_id;
    }

    /**
     * Tag ID to forward events to. Also known as the Measurement ID, or the
     * "G-ID"  (For example: G-12345).
     *
     * Generated from protobuf field <code>string tag_id = 2;</code>
     * @param string $var
     * @return $this
     */
    public function setTagId($var)
    {
        GPBUtil::checkString($var, True);
        $this->tag_id = $var;

        return $this;
    }

}

