πŸ“‚ File Browser

AgentAI/vendor/google/apiclient-services/src/GoogleHealthAPI
πŸŒ™ Dark Mode
🎯 Quick Launch:

πŸ“ Directories

πŸ“ Resource/ πŸ”“ Open

πŸ“„ Files

🐘 ActiveMinutes.php
β–Ά Open πŸ“„ View Source
🐘 ActiveMinutesByActivityLevel.php
β–Ά Open πŸ“„ View Source
🐘 ActiveMinutesRollupByActivityLevel.php
β–Ά Open πŸ“„ View Source
🐘 ActiveMinutesRollupValue.php
β–Ά Open πŸ“„ View Source
🐘 ActiveZoneMinutes.php
β–Ά Open πŸ“„ View Source
🐘 ActiveZoneMinutesRollupValue.php
β–Ά Open πŸ“„ View Source
🐘 ActivityLevel.php
β–Ά Open πŸ“„ View Source
🐘 ActivityLevelRollupByActivityLevelType.php
β–Ά Open πŸ“„ View Source
🐘 ActivityLevelRollupValue.php
β–Ά Open πŸ“„ View Source
🐘 Altitude.php
β–Ά Open πŸ“„ View Source
🐘 AltitudeRollupValue.php
β–Ά Open πŸ“„ View Source
🐘 Application.php
β–Ά Open πŸ“„ View Source
🐘 BatchDeleteDataPointsRequest.php
β–Ά Open πŸ“„ View Source
🐘 BodyFat.php
β–Ά Open πŸ“„ View Source
🐘 BodyFatRollupValue.php
β–Ά Open πŸ“„ View Source
🐘 CaloriesInHeartRateZoneRollupValue.php
β–Ά Open πŸ“„ View Source
🐘 CaloriesInHeartRateZoneValue.php
β–Ά Open πŸ“„ View Source
🐘 CivilDateTime.php
β–Ά Open πŸ“„ View Source
🐘 CivilTimeInterval.php
β–Ά Open πŸ“„ View Source
🐘 CreateSubscriberPayload.php
β–Ά Open πŸ“„ View Source
🐘 DailyHeartRateVariability.php
β–Ά Open πŸ“„ View Source
🐘 DailyHeartRateZones.php
β–Ά Open πŸ“„ View Source
🐘 DailyOxygenSaturation.php
β–Ά Open πŸ“„ View Source
🐘 DailyRespiratoryRate.php
β–Ά Open πŸ“„ View Source
🐘 DailyRestingHeartRate.php
β–Ά Open πŸ“„ View Source
🐘 DailyRestingHeartRateMetadata.php
β–Ά Open πŸ“„ View Source
🐘 DailyRollUpDataPointsRequest.php
β–Ά Open πŸ“„ View Source
🐘 DailyRollUpDataPointsResponse.php
β–Ά Open πŸ“„ View Source
🐘 DailyRollupDataPoint.php
β–Ά Open πŸ“„ View Source
🐘 DailySleepTemperatureDerivations.php
β–Ά Open πŸ“„ View Source
🐘 DailyVO2Max.php
β–Ά Open πŸ“„ View Source
🐘 DataPoint.php
β–Ά Open πŸ“„ View Source
🐘 DataSource.php
β–Ά Open πŸ“„ View Source
🐘 Date.php
β–Ά Open πŸ“„ View Source
🐘 DateTime.php
β–Ά Open πŸ“„ View Source
🐘 Device.php
β–Ά Open πŸ“„ View Source
🐘 Distance.php
β–Ά Open πŸ“„ View Source
🐘 DistanceRollupValue.php
β–Ά Open πŸ“„ View Source
🐘 EndpointAuthorization.php
β–Ά Open πŸ“„ View Source
🐘 Exercise.php
β–Ά Open πŸ“„ View Source
🐘 ExerciseEvent.php
β–Ά Open πŸ“„ View Source
🐘 ExerciseMetadata.php
β–Ά Open πŸ“„ View Source
🐘 ExportExerciseTcxResponse.php
β–Ά Open πŸ“„ View Source
🐘 Floors.php
β–Ά Open πŸ“„ View Source
🐘 FloorsRollupValue.php
β–Ά Open πŸ“„ View Source
🐘 GoogleDevicesandservicesHealthV4DataType.php
β–Ά Open πŸ“„ View Source
🐘 HeartRate.php
β–Ά Open πŸ“„ View Source
🐘 HeartRateMetadata.php
β–Ά Open πŸ“„ View Source
🐘 HeartRateRollupValue.php
β–Ά Open πŸ“„ View Source
🐘 HeartRateVariability.php
β–Ά Open πŸ“„ View Source
🐘 HeartRateVariabilityPersonalRangeRollupValue.php
β–Ά Open πŸ“„ View Source
🐘 HeartRateZone.php
β–Ά Open πŸ“„ View Source
🐘 Height.php
β–Ά Open πŸ“„ View Source
🐘 HttpHeader.php
β–Ά Open πŸ“„ View Source
🐘 HttpResponse.php
β–Ά Open πŸ“„ View Source
🐘 HydrationLog.php
β–Ά Open πŸ“„ View Source
🐘 HydrationLogRollupValue.php
β–Ά Open πŸ“„ View Source
🐘 Identity.php
β–Ά Open πŸ“„ View Source
🐘 Interval.php
β–Ά Open πŸ“„ View Source
🐘 ListDataPointsResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListSubscribersResponse.php
β–Ά Open πŸ“„ View Source
🐘 MetricsSummary.php
β–Ά Open πŸ“„ View Source
🐘 MobilityMetrics.php
β–Ά Open πŸ“„ View Source
🐘 ObservationSampleTime.php
β–Ά Open πŸ“„ View Source
🐘 ObservationTimeInterval.php
β–Ά Open πŸ“„ View Source
🐘 Operation.php
β–Ά Open πŸ“„ View Source
🐘 OutOfBedSegment.php
β–Ά Open πŸ“„ View Source
🐘 OxygenSaturation.php
β–Ά Open πŸ“„ View Source
🐘 Profile.php
β–Ά Open πŸ“„ View Source
🐘 ReconcileDataPointsResponse.php
β–Ά Open πŸ“„ View Source
🐘 ReconciledDataPoint.php
β–Ά Open πŸ“„ View Source
🐘 RespiratoryRateSleepSummary.php
β–Ά Open πŸ“„ View Source
🐘 RespiratoryRateSleepSummaryStatistics.php
β–Ά Open πŸ“„ View Source
🐘 RestingHeartRatePersonalRangeRollupValue.php
β–Ά Open πŸ“„ View Source
🐘 RollUpDataPointsRequest.php
β–Ά Open πŸ“„ View Source
🐘 RollUpDataPointsResponse.php
β–Ά Open πŸ“„ View Source
🐘 RollupDataPoint.php
β–Ά Open πŸ“„ View Source
🐘 RunVO2Max.php
β–Ά Open πŸ“„ View Source
🐘 RunVO2MaxRollupValue.php
β–Ά Open πŸ“„ View Source
🐘 SedentaryPeriod.php
β–Ά Open πŸ“„ View Source
🐘 SedentaryPeriodRollupValue.php
β–Ά Open πŸ“„ View Source
🐘 SessionTimeInterval.php
β–Ά Open πŸ“„ View Source
🐘 Settings.php
β–Ά Open πŸ“„ View Source
🐘 Sleep.php
β–Ά Open πŸ“„ View Source
🐘 SleepMetadata.php
β–Ά Open πŸ“„ View Source
🐘 SleepStage.php
β–Ά Open πŸ“„ View Source
🐘 SleepSummary.php
β–Ά Open πŸ“„ View Source
🐘 SplitSummary.php
β–Ά Open πŸ“„ View Source
🐘 StageSummary.php
β–Ά Open πŸ“„ View Source
🐘 Status.php
β–Ά Open πŸ“„ View Source
🐘 Steps.php
β–Ά Open πŸ“„ View Source
🐘 StepsRollupValue.php
β–Ά Open πŸ“„ View Source
🐘 Subscriber.php
β–Ά Open πŸ“„ View Source
🐘 SubscriberConfig.php
β–Ά Open πŸ“„ View Source
🐘 SwimLengthsData.php
β–Ά Open πŸ“„ View Source
🐘 SwimLengthsDataRollupValue.php
β–Ά Open πŸ“„ View Source
🐘 TimeInHeartRateZone.php
β–Ά Open πŸ“„ View Source
🐘 TimeInHeartRateZoneRollupValue.php
β–Ά Open πŸ“„ View Source
🐘 TimeInHeartRateZoneValue.php
β–Ά Open πŸ“„ View Source
🐘 TimeInHeartRateZones.php
β–Ά Open πŸ“„ View Source
🐘 TimeOfDay.php
β–Ά Open πŸ“„ View Source
🐘 TimeZone.php
β–Ά Open πŸ“„ View Source
🐘 TotalCaloriesRollupValue.php
β–Ά Open πŸ“„ View Source
🐘 VO2Max.php
β–Ά Open πŸ“„ View Source
🐘 VolumeQuantity.php
β–Ά Open πŸ“„ View Source
🐘 VolumeQuantityRollup.php
β–Ά Open πŸ“„ View Source
🐘 WebhookNotificationCloudLog.php
β–Ά Open πŸ“„ View Source
🐘 Weight.php
β–Ά Open πŸ“„ View Source
🐘 WeightRollupValue.php
β–Ά Open πŸ“„ View Source

πŸ“„ Source: VO2Max.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\GoogleHealthAPI;

class VO2Max extends \Google\Model
{
  /**
   * Unspecified measurement method.
   */
  public const MEASUREMENT_METHOD_MEASUREMENT_METHOD_UNSPECIFIED = 'MEASUREMENT_METHOD_UNSPECIFIED';
  /**
   * Fitbit specific, measures VO2 max rate during a run.
   */
  public const MEASUREMENT_METHOD_FITBIT_RUN = 'FITBIT_RUN';
  /**
   * Google specific, measures VO2 max rate for a user based on their
   * demographic data.
   */
  public const MEASUREMENT_METHOD_GOOGLE_DEMOGRAPHIC = 'GOOGLE_DEMOGRAPHIC';
  /**
   * Run as far as possible for 12 minutes. Distance correlated with age and
   * gender translates to a VO2 max value.
   */
  public const MEASUREMENT_METHOD_COOPER_TEST = 'COOPER_TEST';
  /**
   * Maximum heart rate divided by the resting heart rate, with a multiplier
   * applied. Does not require any exercise.
   */
  public const MEASUREMENT_METHOD_HEART_RATE_RATIO = 'HEART_RATE_RATIO';
  /**
   * Measured by a medical device called metabolic cart.
   */
  public const MEASUREMENT_METHOD_METABOLIC_CART = 'METABOLIC_CART';
  /**
   * Continuous 20m back-and-forth runs with increasing difficulty, until
   * exhaustion.
   */
  public const MEASUREMENT_METHOD_MULTISTAGE_FITNESS_TEST = 'MULTISTAGE_FITNESS_TEST';
  /**
   * Measured using walking exercise.
   */
  public const MEASUREMENT_METHOD_ROCKPORT_FITNESS_TEST = 'ROCKPORT_FITNESS_TEST';
  /**
   * Healthkit specific, measures VO2 max rate by monitoring exercise to the
   * user’s physical limit. Similar to COOPER_TEST or MULTISTAGE_FITNESS_TEST.
   */
  public const MEASUREMENT_METHOD_MAX_EXERCISE = 'MAX_EXERCISE';
  /**
   * Healthkit specific, estimates VO2 max rate based on low-intensity exercise.
   * Similar to ROCKPORT_FITNESS_TEST.
   */
  public const MEASUREMENT_METHOD_PREDICTION_SUB_MAX_EXERCISE = 'PREDICTION_SUB_MAX_EXERCISE';
  /**
   * Healthkit specific, estimates VO2 max rate without any exercise. Similar to
   * HEART_RATE_RATIO.
   */
  public const MEASUREMENT_METHOD_PREDICTION_NON_EXERCISE = 'PREDICTION_NON_EXERCISE';
  /**
   * Use when the method is not covered in this enum.
   */
  public const MEASUREMENT_METHOD_OTHER = 'OTHER';
  /**
   * Optional. The method used to measure the VO2 max value.
   *
   * @var string
   */
  public $measurementMethod;
  protected $sampleTimeType = ObservationSampleTime::class;
  protected $sampleTimeDataType = '';
  /**
   * Required. VO2 max value measured as in ml consumed oxygen / kg of body
   * weight / min.
   *
   * @var 
   */
  public $vo2Max;

  /**
   * Optional. The method used to measure the VO2 max value.
   *
   * Accepted values: MEASUREMENT_METHOD_UNSPECIFIED, FITBIT_RUN,
   * GOOGLE_DEMOGRAPHIC, COOPER_TEST, HEART_RATE_RATIO, METABOLIC_CART,
   * MULTISTAGE_FITNESS_TEST, ROCKPORT_FITNESS_TEST, MAX_EXERCISE,
   * PREDICTION_SUB_MAX_EXERCISE, PREDICTION_NON_EXERCISE, OTHER
   *
   * @param self::MEASUREMENT_METHOD_* $measurementMethod
   */
  public function setMeasurementMethod($measurementMethod)
  {
    $this->measurementMethod = $measurementMethod;
  }
  /**
   * @return self::MEASUREMENT_METHOD_*
   */
  public function getMeasurementMethod()
  {
    return $this->measurementMethod;
  }
  /**
   * Required. The time at which VO2 max was measured.
   *
   * @param ObservationSampleTime $sampleTime
   */
  public function setSampleTime(ObservationSampleTime $sampleTime)
  {
    $this->sampleTime = $sampleTime;
  }
  /**
   * @return ObservationSampleTime
   */
  public function getSampleTime()
  {
    return $this->sampleTime;
  }
  public function setVo2Max($vo2Max)
  {
    $this->vo2Max = $vo2Max;
  }
  public function getVo2Max()
  {
    return $this->vo2Max;
  }
}

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