📂 File Browser

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

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 AuditRefs.php
▶ Open 📄 View Source
🐘 Bucket.php
▶ Open 📄 View Source
🐘 Categories.php
▶ Open 📄 View Source
🐘 CategoryGroupV5.php
▶ Open 📄 View Source
🐘 ConfigSettings.php
▶ Open 📄 View Source
🐘 Environment.php
▶ Open 📄 View Source
🐘 I18n.php
▶ Open 📄 View Source
🐘 LhrEntity.php
▶ Open 📄 View Source
🐘 LighthouseAuditResultV5.php
▶ Open 📄 View Source
🐘 LighthouseCategoryV5.php
▶ Open 📄 View Source
🐘 LighthouseResultV5.php
▶ Open 📄 View Source
🐘 MetricSavings.php
▶ Open 📄 View Source
🐘 PagespeedApiLoadingExperienceV5.php
▶ Open 📄 View Source
🐘 PagespeedApiPagespeedResponseV5.php
▶ Open 📄 View Source
🐘 PagespeedVersion.php
▶ Open 📄 View Source
🐘 RendererFormattedStrings.php
▶ Open 📄 View Source
🐘 RuntimeError.php
▶ Open 📄 View Source
🐘 StackPack.php
▶ Open 📄 View Source
🐘 Timing.php
▶ Open 📄 View Source
🐘 UserPageLoadMetricV5.php
▶ Open 📄 View Source

📄 Source: AuditRefs.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\PagespeedInsights;

class AuditRefs extends \Google\Collection
{
  protected $collection_key = 'relevantAudits';
  /**
   * The conventional acronym for the audit/metric.
   *
   * @var string
   */
  public $acronym;
  /**
   * The category group that the audit belongs to (optional).
   *
   * @var string
   */
  public $group;
  /**
   * The audit ref id.
   *
   * @var string
   */
  public $id;
  /**
   * Any audit IDs closely relevant to this one.
   *
   * @var string[]
   */
  public $relevantAudits;
  /**
   * The weight this audit's score has on the overall category score.
   *
   * @var 
   */
  public $weight;

  /**
   * The conventional acronym for the audit/metric.
   *
   * @param string $acronym
   */
  public function setAcronym($acronym)
  {
    $this->acronym = $acronym;
  }
  /**
   * @return string
   */
  public function getAcronym()
  {
    return $this->acronym;
  }
  /**
   * The category group that the audit belongs to (optional).
   *
   * @param string $group
   */
  public function setGroup($group)
  {
    $this->group = $group;
  }
  /**
   * @return string
   */
  public function getGroup()
  {
    return $this->group;
  }
  /**
   * The audit ref id.
   *
   * @param string $id
   */
  public function setId($id)
  {
    $this->id = $id;
  }
  /**
   * @return string
   */
  public function getId()
  {
    return $this->id;
  }
  /**
   * Any audit IDs closely relevant to this one.
   *
   * @param string[] $relevantAudits
   */
  public function setRelevantAudits($relevantAudits)
  {
    $this->relevantAudits = $relevantAudits;
  }
  /**
   * @return string[]
   */
  public function getRelevantAudits()
  {
    return $this->relevantAudits;
  }
  public function setWeight($weight)
  {
    $this->weight = $weight;
  }
  public function getWeight()
  {
    return $this->weight;
  }
}

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