📂 File Browser

AgentAI/vendor/google/apiclient-services/src/Analytics
🌙 Dark Mode
🎯 Quick Launch:

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 Account.php
▶ Open 📄 View Source
🐘 AccountChildLink.php
▶ Open 📄 View Source
🐘 AccountPermissions.php
▶ Open 📄 View Source
🐘 AccountRef.php
▶ Open 📄 View Source
🐘 AccountSummaries.php
▶ Open 📄 View Source
🐘 AccountSummary.php
▶ Open 📄 View Source
🐘 AccountTicket.php
▶ Open 📄 View Source
🐘 AccountTreeRequest.php
▶ Open 📄 View Source
🐘 AccountTreeResponse.php
▶ Open 📄 View Source
🐘 Accounts.php
▶ Open 📄 View Source
🐘 AdWordsAccount.php
▶ Open 📄 View Source
🐘 AnalyticsDataimportDeleteUploadDataRequest.php
▶ Open 📄 View Source
🐘 Column.php
▶ Open 📄 View Source
🐘 Columns.php
▶ Open 📄 View Source
🐘 CustomDataSource.php
▶ Open 📄 View Source
🐘 CustomDataSourceChildLink.php
▶ Open 📄 View Source
🐘 CustomDataSourceParentLink.php
▶ Open 📄 View Source
🐘 CustomDataSources.php
▶ Open 📄 View Source
🐘 CustomDimension.php
▶ Open 📄 View Source
🐘 CustomDimensionParentLink.php
▶ Open 📄 View Source
🐘 CustomDimensions.php
▶ Open 📄 View Source
🐘 CustomMetric.php
▶ Open 📄 View Source
🐘 CustomMetricParentLink.php
▶ Open 📄 View Source
🐘 CustomMetrics.php
▶ Open 📄 View Source
🐘 EntityAdWordsLink.php
▶ Open 📄 View Source
🐘 EntityAdWordsLinkEntity.php
▶ Open 📄 View Source
🐘 EntityAdWordsLinks.php
▶ Open 📄 View Source
🐘 EntityUserLink.php
▶ Open 📄 View Source
🐘 EntityUserLinkEntity.php
▶ Open 📄 View Source
🐘 EntityUserLinkPermissions.php
▶ Open 📄 View Source
🐘 EntityUserLinks.php
▶ Open 📄 View Source
🐘 Experiment.php
▶ Open 📄 View Source
🐘 ExperimentParentLink.php
▶ Open 📄 View Source
🐘 ExperimentVariations.php
▶ Open 📄 View Source
🐘 Experiments.php
▶ Open 📄 View Source
🐘 Filter.php
▶ Open 📄 View Source
🐘 FilterAdvancedDetails.php
▶ Open 📄 View Source
🐘 FilterExpression.php
▶ Open 📄 View Source
🐘 FilterLowercaseDetails.php
▶ Open 📄 View Source
🐘 FilterParentLink.php
▶ Open 📄 View Source
🐘 FilterRef.php
▶ Open 📄 View Source
🐘 FilterSearchAndReplaceDetails.php
▶ Open 📄 View Source
🐘 FilterUppercaseDetails.php
▶ Open 📄 View Source
🐘 Filters.php
▶ Open 📄 View Source
🐘 GaData.php
▶ Open 📄 View Source
🐘 GaDataColumnHeaders.php
▶ Open 📄 View Source
🐘 GaDataDataTable.php
▶ Open 📄 View Source
🐘 GaDataDataTableCols.php
▶ Open 📄 View Source
🐘 GaDataDataTableRows.php
▶ Open 📄 View Source
🐘 GaDataDataTableRowsC.php
▶ Open 📄 View Source
🐘 GaDataProfileInfo.php
▶ Open 📄 View Source
🐘 GaDataQuery.php
▶ Open 📄 View Source
🐘 Goal.php
▶ Open 📄 View Source
🐘 GoalEventDetails.php
▶ Open 📄 View Source
🐘 GoalEventDetailsEventConditions.php
▶ Open 📄 View Source
🐘 GoalParentLink.php
▶ Open 📄 View Source
🐘 GoalUrlDestinationDetails.php
▶ Open 📄 View Source
🐘 GoalUrlDestinationDetailsSteps.php
▶ Open 📄 View Source
🐘 GoalVisitNumPagesDetails.php
▶ Open 📄 View Source
🐘 GoalVisitTimeOnSiteDetails.php
▶ Open 📄 View Source
🐘 Goals.php
▶ Open 📄 View Source
🐘 HashClientIdRequest.php
▶ Open 📄 View Source
🐘 HashClientIdResponse.php
▶ Open 📄 View Source
🐘 IncludeConditions.php
▶ Open 📄 View Source
🐘 LinkedForeignAccount.php
▶ Open 📄 View Source
🐘 McfData.php
▶ Open 📄 View Source
🐘 McfDataColumnHeaders.php
▶ Open 📄 View Source
🐘 McfDataProfileInfo.php
▶ Open 📄 View Source
🐘 McfDataQuery.php
▶ Open 📄 View Source
🐘 McfDataRows.php
▶ Open 📄 View Source
🐘 McfDataRowsConversionPathValue.php
▶ Open 📄 View Source
🐘 Profile.php
▶ Open 📄 View Source
🐘 ProfileChildLink.php
▶ Open 📄 View Source
🐘 ProfileFilterLink.php
▶ Open 📄 View Source
🐘 ProfileFilterLinks.php
▶ Open 📄 View Source
🐘 ProfileParentLink.php
▶ Open 📄 View Source
🐘 ProfilePermissions.php
▶ Open 📄 View Source
🐘 ProfileRef.php
▶ Open 📄 View Source
🐘 ProfileSummary.php
▶ Open 📄 View Source
🐘 Profiles.php
▶ Open 📄 View Source
🐘 RealtimeData.php
▶ Open 📄 View Source
🐘 RealtimeDataColumnHeaders.php
▶ Open 📄 View Source
🐘 RealtimeDataProfileInfo.php
▶ Open 📄 View Source
🐘 RealtimeDataQuery.php
▶ Open 📄 View Source
🐘 RemarketingAudience.php
▶ Open 📄 View Source
🐘 RemarketingAudienceAudienceDefinition.php
▶ Open 📄 View Source
🐘 RemarketingAudienceStateBasedAudienceDefinition.php
▶ Open 📄 View Source
🐘 RemarketingAudienceStateBasedAudienceDefinitionExcludeConditions.php
▶ Open 📄 View Source
🐘 RemarketingAudiences.php
▶ Open 📄 View Source
🐘 Segment.php
▶ Open 📄 View Source
🐘 Segments.php
▶ Open 📄 View Source
🐘 UnsampledReport.php
▶ Open 📄 View Source
🐘 UnsampledReportCloudStorageDownloadDetails.php
▶ Open 📄 View Source
🐘 UnsampledReportDriveDownloadDetails.php
▶ Open 📄 View Source
🐘 UnsampledReports.php
▶ Open 📄 View Source
🐘 Upload.php
▶ Open 📄 View Source
🐘 Uploads.php
▶ Open 📄 View Source
🐘 UserDeletionRequest.php
▶ Open 📄 View Source
🐘 UserDeletionRequestId.php
▶ Open 📄 View Source
🐘 UserRef.php
▶ Open 📄 View Source
🐘 WebPropertyRef.php
▶ Open 📄 View Source
🐘 WebPropertySummary.php
▶ Open 📄 View Source
🐘 Webproperties.php
▶ Open 📄 View Source
🐘 Webproperty.php
▶ Open 📄 View Source
🐘 WebpropertyChildLink.php
▶ Open 📄 View Source
🐘 WebpropertyParentLink.php
▶ Open 📄 View Source
🐘 WebpropertyPermissions.php
▶ Open 📄 View Source

📄 Source: GaData.php

<?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\Service\Analytics;

class GaData extends \Google\Collection
{
  protected $collection_key = 'rows';
  protected $columnHeadersType = GaDataColumnHeaders::class;
  protected $columnHeadersDataType = 'array';
  /**
   * Determines if Analytics data contains samples.
   *
   * @var bool
   */
  public $containsSampledData;
  /**
   * The last refreshed time in seconds for Analytics data.
   *
   * @var string
   */
  public $dataLastRefreshed;
  protected $dataTableType = GaDataDataTable::class;
  protected $dataTableDataType = '';
  /**
   * Unique ID for this data response.
   *
   * @var string
   */
  public $id;
  /**
   * The maximum number of rows the response can contain, regardless of the
   * actual number of rows returned. Its value ranges from 1 to 10,000 with a
   * value of 1000 by default, or otherwise specified by the max-results query
   * parameter.
   *
   * @var int
   */
  public $itemsPerPage;
  /**
   * Resource type.
   *
   * @var string
   */
  public $kind;
  /**
   * Link to next page for this Analytics data query.
   *
   * @var string
   */
  public $nextLink;
  /**
   * Link to previous page for this Analytics data query.
   *
   * @var string
   */
  public $previousLink;
  protected $profileInfoType = GaDataProfileInfo::class;
  protected $profileInfoDataType = '';
  protected $queryType = GaDataQuery::class;
  protected $queryDataType = '';
  /**
   * Analytics data rows, where each row contains a list of dimension values
   * followed by the metric values. The order of dimensions and metrics is same
   * as specified in the request.
   *
   * @var string[]
   */
  public $rows;
  /**
   * The number of samples used to calculate the result.
   *
   * @var string
   */
  public $sampleSize;
  /**
   * Total size of the sample space from which the samples were selected.
   *
   * @var string
   */
  public $sampleSpace;
  /**
   * Link to this page.
   *
   * @var string
   */
  public $selfLink;
  /**
   * The total number of rows for the query, regardless of the number of rows in
   * the response.
   *
   * @var int
   */
  public $totalResults;
  /**
   * Total values for the requested metrics over all the results, not just the
   * results returned in this response. The order of the metric totals is same
   * as the metric order specified in the request.
   *
   * @var string[]
   */
  public $totalsForAllResults;

  /**
   * Column headers that list dimension names followed by the metric names. The
   * order of dimensions and metrics is same as specified in the request.
   *
   * @param GaDataColumnHeaders[] $columnHeaders
   */
  public function setColumnHeaders($columnHeaders)
  {
    $this->columnHeaders = $columnHeaders;
  }
  /**
   * @return GaDataColumnHeaders[]
   */
  public function getColumnHeaders()
  {
    return $this->columnHeaders;
  }
  /**
   * Determines if Analytics data contains samples.
   *
   * @param bool $containsSampledData
   */
  public function setContainsSampledData($containsSampledData)
  {
    $this->containsSampledData = $containsSampledData;
  }
  /**
   * @return bool
   */
  public function getContainsSampledData()
  {
    return $this->containsSampledData;
  }
  /**
   * The last refreshed time in seconds for Analytics data.
   *
   * @param string $dataLastRefreshed
   */
  public function setDataLastRefreshed($dataLastRefreshed)
  {
    $this->dataLastRefreshed = $dataLastRefreshed;
  }
  /**
   * @return string
   */
  public function getDataLastRefreshed()
  {
    return $this->dataLastRefreshed;
  }
  /**
   * @param GaDataDataTable $dataTable
   */
  public function setDataTable(GaDataDataTable $dataTable)
  {
    $this->dataTable = $dataTable;
  }
  /**
   * @return GaDataDataTable
   */
  public function getDataTable()
  {
    return $this->dataTable;
  }
  /**
   * Unique ID for this data response.
   *
   * @param string $id
   */
  public function setId($id)
  {
    $this->id = $id;
  }
  /**
   * @return string
   */
  public function getId()
  {
    return $this->id;
  }
  /**
   * The maximum number of rows the response can contain, regardless of the
   * actual number of rows returned. Its value ranges from 1 to 10,000 with a
   * value of 1000 by default, or otherwise specified by the max-results query
   * parameter.
   *
   * @param int $itemsPerPage
   */
  public function setItemsPerPage($itemsPerPage)
  {
    $this->itemsPerPage = $itemsPerPage;
  }
  /**
   * @return int
   */
  public function getItemsPerPage()
  {
    return $this->itemsPerPage;
  }
  /**
   * Resource type.
   *
   * @param string $kind
   */
  public function setKind($kind)
  {
    $this->kind = $kind;
  }
  /**
   * @return string
   */
  public function getKind()
  {
    return $this->kind;
  }
  /**
   * Link to next page for this Analytics data query.
   *
   * @param string $nextLink
   */
  public function setNextLink($nextLink)
  {
    $this->nextLink = $nextLink;
  }
  /**
   * @return string
   */
  public function getNextLink()
  {
    return $this->nextLink;
  }
  /**
   * Link to previous page for this Analytics data query.
   *
   * @param string $previousLink
   */
  public function setPreviousLink($previousLink)
  {
    $this->previousLink = $previousLink;
  }
  /**
   * @return string
   */
  public function getPreviousLink()
  {
    return $this->previousLink;
  }
  /**
   * Information for the view (profile), for which the Analytics data was
   * requested.
   *
   * @param GaDataProfileInfo $profileInfo
   */
  public function setProfileInfo(GaDataProfileInfo $profileInfo)
  {
    $this->profileInfo = $profileInfo;
  }
  /**
   * @return GaDataProfileInfo
   */
  public function getProfileInfo()
  {
    return $this->profileInfo;
  }
  /**
   * Analytics data request query parameters.
   *
   * @param GaDataQuery $query
   */
  public function setQuery(GaDataQuery $query)
  {
    $this->query = $query;
  }
  /**
   * @return GaDataQuery
   */
  public function getQuery()
  {
    return $this->query;
  }
  /**
   * Analytics data rows, where each row contains a list of dimension values
   * followed by the metric values. The order of dimensions and metrics is same
   * as specified in the request.
   *
   * @param string[] $rows
   */
  public function setRows($rows)
  {
    $this->rows = $rows;
  }
  /**
   * @return string[]
   */
  public function getRows()
  {
    return $this->rows;
  }
  /**
   * The number of samples used to calculate the result.
   *
   * @param string $sampleSize
   */
  public function setSampleSize($sampleSize)
  {
    $this->sampleSize = $sampleSize;
  }
  /**
   * @return string
   */
  public function getSampleSize()
  {
    return $this->sampleSize;
  }
  /**
   * Total size of the sample space from which the samples were selected.
   *
   * @param string $sampleSpace
   */
  public function setSampleSpace($sampleSpace)
  {
    $this->sampleSpace = $sampleSpace;
  }
  /**
   * @return string
   */
  public function getSampleSpace()
  {
    return $this->sampleSpace;
  }
  /**
   * Link to this page.
   *
   * @param string $selfLink
   */
  public function setSelfLink($selfLink)
  {
    $this->selfLink = $selfLink;
  }
  /**
   * @return string
   */
  public function getSelfLink()
  {
    return $this->selfLink;
  }
  /**
   * The total number of rows for the query, regardless of the number of rows in
   * the response.
   *
   * @param int $totalResults
   */
  public function setTotalResults($totalResults)
  {
    $this->totalResults = $totalResults;
  }
  /**
   * @return int
   */
  public function getTotalResults()
  {
    return $this->totalResults;
  }
  /**
   * Total values for the requested metrics over all the results, not just the
   * results returned in this response. The order of the metric totals is same
   * as the metric order specified in the request.
   *
   * @param string[] $totalsForAllResults
   */
  public function setTotalsForAllResults($totalsForAllResults)
  {
    $this->totalsForAllResults = $totalsForAllResults;
  }
  /**
   * @return string[]
   */
  public function getTotalsForAllResults()
  {
    return $this->totalsForAllResults;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GaData::class, 'Google_Service_Analytics_GaData');
← Back