<?php

/*
 * Copyright 2014 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
namespace Google\Site_Kit_Dependencies\Google\Service\GoogleAnalyticsAdminV1alpha;

class GoogleAnalyticsAdminV1alphaAudienceSimpleFilter extends \Google\Site_Kit_Dependencies\Google\Model
{
    /**
     * Scope is not specified.
     */
    public const SCOPE_AUDIENCE_FILTER_SCOPE_UNSPECIFIED = 'AUDIENCE_FILTER_SCOPE_UNSPECIFIED';
    /**
     * User joins the Audience if the filter condition is met within one event.
     */
    public const SCOPE_AUDIENCE_FILTER_SCOPE_WITHIN_SAME_EVENT = 'AUDIENCE_FILTER_SCOPE_WITHIN_SAME_EVENT';
    /**
     * User joins the Audience if the filter condition is met within one session.
     */
    public const SCOPE_AUDIENCE_FILTER_SCOPE_WITHIN_SAME_SESSION = 'AUDIENCE_FILTER_SCOPE_WITHIN_SAME_SESSION';
    /**
     * User joins the Audience if the filter condition is met by any event across
     * any session.
     */
    public const SCOPE_AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS = 'AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS';
    protected $filterExpressionType = GoogleAnalyticsAdminV1alphaAudienceFilterExpression::class;
    protected $filterExpressionDataType = '';
    /**
     * Required. Immutable. Specifies the scope for this filter.
     *
     * @var string
     */
    public $scope;
    /**
     * Required. Immutable. A logical expression of Audience dimension, metric, or
     * event filters.
     *
     * @param GoogleAnalyticsAdminV1alphaAudienceFilterExpression $filterExpression
     */
    public function setFilterExpression(GoogleAnalyticsAdminV1alphaAudienceFilterExpression $filterExpression)
    {
        $this->filterExpression = $filterExpression;
    }
    /**
     * @return GoogleAnalyticsAdminV1alphaAudienceFilterExpression
     */
    public function getFilterExpression()
    {
        return $this->filterExpression;
    }
    /**
     * Required. Immutable. Specifies the scope for this filter.
     *
     * Accepted values: AUDIENCE_FILTER_SCOPE_UNSPECIFIED,
     * AUDIENCE_FILTER_SCOPE_WITHIN_SAME_EVENT,
     * AUDIENCE_FILTER_SCOPE_WITHIN_SAME_SESSION,
     * AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS
     *
     * @param self::SCOPE_* $scope
     */
    public function setScope($scope)
    {
        $this->scope = $scope;
    }
    /**
     * @return self::SCOPE_*
     */
    public function getScope()
    {
        return $this->scope;
    }
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAnalyticsAdminV1alphaAudienceSimpleFilter::class, 'Google\Site_Kit_Dependencies\Google_Service_GoogleAnalyticsAdminV1alpha_GoogleAnalyticsAdminV1alphaAudienceSimpleFilter');
