Initial commit

This commit is contained in:
Local Administrator
2025-04-18 10:32:42 +02:00
commit b83134aca3
29643 changed files with 3045897 additions and 0 deletions
@@ -0,0 +1,42 @@
<?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\Testing;
class Account extends \Google\Model
{
protected $googleAutoType = GoogleAuto::class;
protected $googleAutoDataType = '';
/**
* @param GoogleAuto
*/
public function setGoogleAuto(GoogleAuto $googleAuto)
{
$this->googleAuto = $googleAuto;
}
/**
* @return GoogleAuto
*/
public function getGoogleAuto()
{
return $this->googleAuto;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Account::class, 'Google_Service_Testing_Account');
@@ -0,0 +1,98 @@
<?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\Testing;
class AndroidDevice extends \Google\Model
{
/**
* @var string
*/
public $androidModelId;
/**
* @var string
*/
public $androidVersionId;
/**
* @var string
*/
public $locale;
/**
* @var string
*/
public $orientation;
/**
* @param string
*/
public function setAndroidModelId($androidModelId)
{
$this->androidModelId = $androidModelId;
}
/**
* @return string
*/
public function getAndroidModelId()
{
return $this->androidModelId;
}
/**
* @param string
*/
public function setAndroidVersionId($androidVersionId)
{
$this->androidVersionId = $androidVersionId;
}
/**
* @return string
*/
public function getAndroidVersionId()
{
return $this->androidVersionId;
}
/**
* @param string
*/
public function setLocale($locale)
{
$this->locale = $locale;
}
/**
* @return string
*/
public function getLocale()
{
return $this->locale;
}
/**
* @param string
*/
public function setOrientation($orientation)
{
$this->orientation = $orientation;
}
/**
* @return string
*/
public function getOrientation()
{
return $this->orientation;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AndroidDevice::class, 'Google_Service_Testing_AndroidDevice');
@@ -0,0 +1,75 @@
<?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\Testing;
class AndroidDeviceCatalog extends \Google\Collection
{
protected $collection_key = 'versions';
protected $modelsType = AndroidModel::class;
protected $modelsDataType = 'array';
protected $runtimeConfigurationType = AndroidRuntimeConfiguration::class;
protected $runtimeConfigurationDataType = '';
protected $versionsType = AndroidVersion::class;
protected $versionsDataType = 'array';
/**
* @param AndroidModel[]
*/
public function setModels($models)
{
$this->models = $models;
}
/**
* @return AndroidModel[]
*/
public function getModels()
{
return $this->models;
}
/**
* @param AndroidRuntimeConfiguration
*/
public function setRuntimeConfiguration(AndroidRuntimeConfiguration $runtimeConfiguration)
{
$this->runtimeConfiguration = $runtimeConfiguration;
}
/**
* @return AndroidRuntimeConfiguration
*/
public function getRuntimeConfiguration()
{
return $this->runtimeConfiguration;
}
/**
* @param AndroidVersion[]
*/
public function setVersions($versions)
{
$this->versions = $versions;
}
/**
* @return AndroidVersion[]
*/
public function getVersions()
{
return $this->versions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AndroidDeviceCatalog::class, 'Google_Service_Testing_AndroidDeviceCatalog');
@@ -0,0 +1,43 @@
<?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\Testing;
class AndroidDeviceList extends \Google\Collection
{
protected $collection_key = 'androidDevices';
protected $androidDevicesType = AndroidDevice::class;
protected $androidDevicesDataType = 'array';
/**
* @param AndroidDevice[]
*/
public function setAndroidDevices($androidDevices)
{
$this->androidDevices = $androidDevices;
}
/**
* @return AndroidDevice[]
*/
public function getAndroidDevices()
{
return $this->androidDevices;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AndroidDeviceList::class, 'Google_Service_Testing_AndroidDeviceList');
@@ -0,0 +1,181 @@
<?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\Testing;
class AndroidInstrumentationTest extends \Google\Collection
{
protected $collection_key = 'testTargets';
protected $appApkType = FileReference::class;
protected $appApkDataType = '';
protected $appBundleType = AppBundle::class;
protected $appBundleDataType = '';
/**
* @var string
*/
public $appPackageId;
/**
* @var string
*/
public $orchestratorOption;
protected $shardingOptionType = ShardingOption::class;
protected $shardingOptionDataType = '';
protected $testApkType = FileReference::class;
protected $testApkDataType = '';
/**
* @var string
*/
public $testPackageId;
/**
* @var string
*/
public $testRunnerClass;
/**
* @var string[]
*/
public $testTargets;
/**
* @param FileReference
*/
public function setAppApk(FileReference $appApk)
{
$this->appApk = $appApk;
}
/**
* @return FileReference
*/
public function getAppApk()
{
return $this->appApk;
}
/**
* @param AppBundle
*/
public function setAppBundle(AppBundle $appBundle)
{
$this->appBundle = $appBundle;
}
/**
* @return AppBundle
*/
public function getAppBundle()
{
return $this->appBundle;
}
/**
* @param string
*/
public function setAppPackageId($appPackageId)
{
$this->appPackageId = $appPackageId;
}
/**
* @return string
*/
public function getAppPackageId()
{
return $this->appPackageId;
}
/**
* @param string
*/
public function setOrchestratorOption($orchestratorOption)
{
$this->orchestratorOption = $orchestratorOption;
}
/**
* @return string
*/
public function getOrchestratorOption()
{
return $this->orchestratorOption;
}
/**
* @param ShardingOption
*/
public function setShardingOption(ShardingOption $shardingOption)
{
$this->shardingOption = $shardingOption;
}
/**
* @return ShardingOption
*/
public function getShardingOption()
{
return $this->shardingOption;
}
/**
* @param FileReference
*/
public function setTestApk(FileReference $testApk)
{
$this->testApk = $testApk;
}
/**
* @return FileReference
*/
public function getTestApk()
{
return $this->testApk;
}
/**
* @param string
*/
public function setTestPackageId($testPackageId)
{
$this->testPackageId = $testPackageId;
}
/**
* @return string
*/
public function getTestPackageId()
{
return $this->testPackageId;
}
/**
* @param string
*/
public function setTestRunnerClass($testRunnerClass)
{
$this->testRunnerClass = $testRunnerClass;
}
/**
* @return string
*/
public function getTestRunnerClass()
{
return $this->testRunnerClass;
}
/**
* @param string[]
*/
public function setTestTargets($testTargets)
{
$this->testTargets = $testTargets;
}
/**
* @return string[]
*/
public function getTestTargets()
{
return $this->testTargets;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AndroidInstrumentationTest::class, 'Google_Service_Testing_AndroidInstrumentationTest');
@@ -0,0 +1,99 @@
<?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\Testing;
class AndroidMatrix extends \Google\Collection
{
protected $collection_key = 'orientations';
/**
* @var string[]
*/
public $androidModelIds;
/**
* @var string[]
*/
public $androidVersionIds;
/**
* @var string[]
*/
public $locales;
/**
* @var string[]
*/
public $orientations;
/**
* @param string[]
*/
public function setAndroidModelIds($androidModelIds)
{
$this->androidModelIds = $androidModelIds;
}
/**
* @return string[]
*/
public function getAndroidModelIds()
{
return $this->androidModelIds;
}
/**
* @param string[]
*/
public function setAndroidVersionIds($androidVersionIds)
{
$this->androidVersionIds = $androidVersionIds;
}
/**
* @return string[]
*/
public function getAndroidVersionIds()
{
return $this->androidVersionIds;
}
/**
* @param string[]
*/
public function setLocales($locales)
{
$this->locales = $locales;
}
/**
* @return string[]
*/
public function getLocales()
{
return $this->locales;
}
/**
* @param string[]
*/
public function setOrientations($orientations)
{
$this->orientations = $orientations;
}
/**
* @return string[]
*/
public function getOrientations()
{
return $this->orientations;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AndroidMatrix::class, 'Google_Service_Testing_AndroidMatrix');
@@ -0,0 +1,329 @@
<?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\Testing;
class AndroidModel extends \Google\Collection
{
protected $collection_key = 'tags';
/**
* @var string
*/
public $brand;
/**
* @var string
*/
public $codename;
/**
* @var string
*/
public $form;
/**
* @var string
*/
public $formFactor;
/**
* @var string
*/
public $id;
protected $labInfoType = LabInfo::class;
protected $labInfoDataType = '';
/**
* @var bool
*/
public $lowFpsVideoRecording;
/**
* @var string
*/
public $manufacturer;
/**
* @var string
*/
public $name;
protected $perVersionInfoType = PerAndroidVersionInfo::class;
protected $perVersionInfoDataType = 'array';
/**
* @var int
*/
public $screenDensity;
/**
* @var int
*/
public $screenX;
/**
* @var int
*/
public $screenY;
/**
* @var string[]
*/
public $supportedAbis;
/**
* @var string[]
*/
public $supportedVersionIds;
/**
* @var string[]
*/
public $tags;
/**
* @var string
*/
public $thumbnailUrl;
/**
* @param string
*/
public function setBrand($brand)
{
$this->brand = $brand;
}
/**
* @return string
*/
public function getBrand()
{
return $this->brand;
}
/**
* @param string
*/
public function setCodename($codename)
{
$this->codename = $codename;
}
/**
* @return string
*/
public function getCodename()
{
return $this->codename;
}
/**
* @param string
*/
public function setForm($form)
{
$this->form = $form;
}
/**
* @return string
*/
public function getForm()
{
return $this->form;
}
/**
* @param string
*/
public function setFormFactor($formFactor)
{
$this->formFactor = $formFactor;
}
/**
* @return string
*/
public function getFormFactor()
{
return $this->formFactor;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param LabInfo
*/
public function setLabInfo(LabInfo $labInfo)
{
$this->labInfo = $labInfo;
}
/**
* @return LabInfo
*/
public function getLabInfo()
{
return $this->labInfo;
}
/**
* @param bool
*/
public function setLowFpsVideoRecording($lowFpsVideoRecording)
{
$this->lowFpsVideoRecording = $lowFpsVideoRecording;
}
/**
* @return bool
*/
public function getLowFpsVideoRecording()
{
return $this->lowFpsVideoRecording;
}
/**
* @param string
*/
public function setManufacturer($manufacturer)
{
$this->manufacturer = $manufacturer;
}
/**
* @return string
*/
public function getManufacturer()
{
return $this->manufacturer;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param PerAndroidVersionInfo[]
*/
public function setPerVersionInfo($perVersionInfo)
{
$this->perVersionInfo = $perVersionInfo;
}
/**
* @return PerAndroidVersionInfo[]
*/
public function getPerVersionInfo()
{
return $this->perVersionInfo;
}
/**
* @param int
*/
public function setScreenDensity($screenDensity)
{
$this->screenDensity = $screenDensity;
}
/**
* @return int
*/
public function getScreenDensity()
{
return $this->screenDensity;
}
/**
* @param int
*/
public function setScreenX($screenX)
{
$this->screenX = $screenX;
}
/**
* @return int
*/
public function getScreenX()
{
return $this->screenX;
}
/**
* @param int
*/
public function setScreenY($screenY)
{
$this->screenY = $screenY;
}
/**
* @return int
*/
public function getScreenY()
{
return $this->screenY;
}
/**
* @param string[]
*/
public function setSupportedAbis($supportedAbis)
{
$this->supportedAbis = $supportedAbis;
}
/**
* @return string[]
*/
public function getSupportedAbis()
{
return $this->supportedAbis;
}
/**
* @param string[]
*/
public function setSupportedVersionIds($supportedVersionIds)
{
$this->supportedVersionIds = $supportedVersionIds;
}
/**
* @return string[]
*/
public function getSupportedVersionIds()
{
return $this->supportedVersionIds;
}
/**
* @param string[]
*/
public function setTags($tags)
{
$this->tags = $tags;
}
/**
* @return string[]
*/
public function getTags()
{
return $this->tags;
}
/**
* @param string
*/
public function setThumbnailUrl($thumbnailUrl)
{
$this->thumbnailUrl = $thumbnailUrl;
}
/**
* @return string
*/
public function getThumbnailUrl()
{
return $this->thumbnailUrl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AndroidModel::class, 'Google_Service_Testing_AndroidModel');
@@ -0,0 +1,197 @@
<?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\Testing;
class AndroidRoboTest extends \Google\Collection
{
protected $collection_key = 'startingIntents';
protected $appApkType = FileReference::class;
protected $appApkDataType = '';
protected $appBundleType = AppBundle::class;
protected $appBundleDataType = '';
/**
* @var string
*/
public $appInitialActivity;
/**
* @var string
*/
public $appPackageId;
/**
* @var int
*/
public $maxDepth;
/**
* @var int
*/
public $maxSteps;
protected $roboDirectivesType = RoboDirective::class;
protected $roboDirectivesDataType = 'array';
/**
* @var string
*/
public $roboMode;
protected $roboScriptType = FileReference::class;
protected $roboScriptDataType = '';
protected $startingIntentsType = RoboStartingIntent::class;
protected $startingIntentsDataType = 'array';
/**
* @param FileReference
*/
public function setAppApk(FileReference $appApk)
{
$this->appApk = $appApk;
}
/**
* @return FileReference
*/
public function getAppApk()
{
return $this->appApk;
}
/**
* @param AppBundle
*/
public function setAppBundle(AppBundle $appBundle)
{
$this->appBundle = $appBundle;
}
/**
* @return AppBundle
*/
public function getAppBundle()
{
return $this->appBundle;
}
/**
* @param string
*/
public function setAppInitialActivity($appInitialActivity)
{
$this->appInitialActivity = $appInitialActivity;
}
/**
* @return string
*/
public function getAppInitialActivity()
{
return $this->appInitialActivity;
}
/**
* @param string
*/
public function setAppPackageId($appPackageId)
{
$this->appPackageId = $appPackageId;
}
/**
* @return string
*/
public function getAppPackageId()
{
return $this->appPackageId;
}
/**
* @param int
*/
public function setMaxDepth($maxDepth)
{
$this->maxDepth = $maxDepth;
}
/**
* @return int
*/
public function getMaxDepth()
{
return $this->maxDepth;
}
/**
* @param int
*/
public function setMaxSteps($maxSteps)
{
$this->maxSteps = $maxSteps;
}
/**
* @return int
*/
public function getMaxSteps()
{
return $this->maxSteps;
}
/**
* @param RoboDirective[]
*/
public function setRoboDirectives($roboDirectives)
{
$this->roboDirectives = $roboDirectives;
}
/**
* @return RoboDirective[]
*/
public function getRoboDirectives()
{
return $this->roboDirectives;
}
/**
* @param string
*/
public function setRoboMode($roboMode)
{
$this->roboMode = $roboMode;
}
/**
* @return string
*/
public function getRoboMode()
{
return $this->roboMode;
}
/**
* @param FileReference
*/
public function setRoboScript(FileReference $roboScript)
{
$this->roboScript = $roboScript;
}
/**
* @return FileReference
*/
public function getRoboScript()
{
return $this->roboScript;
}
/**
* @param RoboStartingIntent[]
*/
public function setStartingIntents($startingIntents)
{
$this->startingIntents = $startingIntents;
}
/**
* @return RoboStartingIntent[]
*/
public function getStartingIntents()
{
return $this->startingIntents;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AndroidRoboTest::class, 'Google_Service_Testing_AndroidRoboTest');
@@ -0,0 +1,59 @@
<?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\Testing;
class AndroidRuntimeConfiguration extends \Google\Collection
{
protected $collection_key = 'orientations';
protected $localesType = Locale::class;
protected $localesDataType = 'array';
protected $orientationsType = Orientation::class;
protected $orientationsDataType = 'array';
/**
* @param Locale[]
*/
public function setLocales($locales)
{
$this->locales = $locales;
}
/**
* @return Locale[]
*/
public function getLocales()
{
return $this->locales;
}
/**
* @param Orientation[]
*/
public function setOrientations($orientations)
{
$this->orientations = $orientations;
}
/**
* @return Orientation[]
*/
public function getOrientations()
{
return $this->orientations;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AndroidRuntimeConfiguration::class, 'Google_Service_Testing_AndroidRuntimeConfiguration');
@@ -0,0 +1,113 @@
<?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\Testing;
class AndroidTestLoop extends \Google\Collection
{
protected $collection_key = 'scenarios';
protected $appApkType = FileReference::class;
protected $appApkDataType = '';
protected $appBundleType = AppBundle::class;
protected $appBundleDataType = '';
/**
* @var string
*/
public $appPackageId;
/**
* @var string[]
*/
public $scenarioLabels;
/**
* @var int[]
*/
public $scenarios;
/**
* @param FileReference
*/
public function setAppApk(FileReference $appApk)
{
$this->appApk = $appApk;
}
/**
* @return FileReference
*/
public function getAppApk()
{
return $this->appApk;
}
/**
* @param AppBundle
*/
public function setAppBundle(AppBundle $appBundle)
{
$this->appBundle = $appBundle;
}
/**
* @return AppBundle
*/
public function getAppBundle()
{
return $this->appBundle;
}
/**
* @param string
*/
public function setAppPackageId($appPackageId)
{
$this->appPackageId = $appPackageId;
}
/**
* @return string
*/
public function getAppPackageId()
{
return $this->appPackageId;
}
/**
* @param string[]
*/
public function setScenarioLabels($scenarioLabels)
{
$this->scenarioLabels = $scenarioLabels;
}
/**
* @return string[]
*/
public function getScenarioLabels()
{
return $this->scenarioLabels;
}
/**
* @param int[]
*/
public function setScenarios($scenarios)
{
$this->scenarios = $scenarios;
}
/**
* @return int[]
*/
public function getScenarios()
{
return $this->scenarios;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AndroidTestLoop::class, 'Google_Service_Testing_AndroidTestLoop');
@@ -0,0 +1,149 @@
<?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\Testing;
class AndroidVersion extends \Google\Collection
{
protected $collection_key = 'tags';
/**
* @var int
*/
public $apiLevel;
/**
* @var string
*/
public $codeName;
protected $distributionType = Distribution::class;
protected $distributionDataType = '';
/**
* @var string
*/
public $id;
protected $releaseDateType = Date::class;
protected $releaseDateDataType = '';
/**
* @var string[]
*/
public $tags;
/**
* @var string
*/
public $versionString;
/**
* @param int
*/
public function setApiLevel($apiLevel)
{
$this->apiLevel = $apiLevel;
}
/**
* @return int
*/
public function getApiLevel()
{
return $this->apiLevel;
}
/**
* @param string
*/
public function setCodeName($codeName)
{
$this->codeName = $codeName;
}
/**
* @return string
*/
public function getCodeName()
{
return $this->codeName;
}
/**
* @param Distribution
*/
public function setDistribution(Distribution $distribution)
{
$this->distribution = $distribution;
}
/**
* @return Distribution
*/
public function getDistribution()
{
return $this->distribution;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param Date
*/
public function setReleaseDate(Date $releaseDate)
{
$this->releaseDate = $releaseDate;
}
/**
* @return Date
*/
public function getReleaseDate()
{
return $this->releaseDate;
}
/**
* @param string[]
*/
public function setTags($tags)
{
$this->tags = $tags;
}
/**
* @return string[]
*/
public function getTags()
{
return $this->tags;
}
/**
* @param string
*/
public function setVersionString($versionString)
{
$this->versionString = $versionString;
}
/**
* @return string
*/
public function getVersionString()
{
return $this->versionString;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AndroidVersion::class, 'Google_Service_Testing_AndroidVersion');
@@ -0,0 +1,60 @@
<?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\Testing;
class Apk extends \Google\Model
{
protected $locationType = FileReference::class;
protected $locationDataType = '';
/**
* @var string
*/
public $packageName;
/**
* @param FileReference
*/
public function setLocation(FileReference $location)
{
$this->location = $location;
}
/**
* @return FileReference
*/
public function getLocation()
{
return $this->location;
}
/**
* @param string
*/
public function setPackageName($packageName)
{
$this->packageName = $packageName;
}
/**
* @return string
*/
public function getPackageName()
{
return $this->packageName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Apk::class, 'Google_Service_Testing_Apk');
@@ -0,0 +1,42 @@
<?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\Testing;
class ApkDetail extends \Google\Model
{
protected $apkManifestType = ApkManifest::class;
protected $apkManifestDataType = '';
/**
* @param ApkManifest
*/
public function setApkManifest(ApkManifest $apkManifest)
{
$this->apkManifest = $apkManifest;
}
/**
* @return ApkManifest
*/
public function getApkManifest()
{
return $this->apkManifest;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ApkDetail::class, 'Google_Service_Testing_ApkDetail');
@@ -0,0 +1,251 @@
<?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\Testing;
class ApkManifest extends \Google\Collection
{
protected $collection_key = 'usesPermissionTags';
/**
* @var string
*/
public $applicationLabel;
protected $intentFiltersType = IntentFilter::class;
protected $intentFiltersDataType = 'array';
/**
* @var int
*/
public $maxSdkVersion;
protected $metadataType = Metadata::class;
protected $metadataDataType = 'array';
/**
* @var int
*/
public $minSdkVersion;
/**
* @var string
*/
public $packageName;
protected $servicesType = Service::class;
protected $servicesDataType = 'array';
/**
* @var int
*/
public $targetSdkVersion;
protected $usesFeatureType = UsesFeature::class;
protected $usesFeatureDataType = 'array';
/**
* @var string[]
*/
public $usesPermission;
protected $usesPermissionTagsType = UsesPermissionTag::class;
protected $usesPermissionTagsDataType = 'array';
/**
* @var string
*/
public $versionCode;
/**
* @var string
*/
public $versionName;
/**
* @param string
*/
public function setApplicationLabel($applicationLabel)
{
$this->applicationLabel = $applicationLabel;
}
/**
* @return string
*/
public function getApplicationLabel()
{
return $this->applicationLabel;
}
/**
* @param IntentFilter[]
*/
public function setIntentFilters($intentFilters)
{
$this->intentFilters = $intentFilters;
}
/**
* @return IntentFilter[]
*/
public function getIntentFilters()
{
return $this->intentFilters;
}
/**
* @param int
*/
public function setMaxSdkVersion($maxSdkVersion)
{
$this->maxSdkVersion = $maxSdkVersion;
}
/**
* @return int
*/
public function getMaxSdkVersion()
{
return $this->maxSdkVersion;
}
/**
* @param Metadata[]
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return Metadata[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param int
*/
public function setMinSdkVersion($minSdkVersion)
{
$this->minSdkVersion = $minSdkVersion;
}
/**
* @return int
*/
public function getMinSdkVersion()
{
return $this->minSdkVersion;
}
/**
* @param string
*/
public function setPackageName($packageName)
{
$this->packageName = $packageName;
}
/**
* @return string
*/
public function getPackageName()
{
return $this->packageName;
}
/**
* @param Service[]
*/
public function setServices($services)
{
$this->services = $services;
}
/**
* @return Service[]
*/
public function getServices()
{
return $this->services;
}
/**
* @param int
*/
public function setTargetSdkVersion($targetSdkVersion)
{
$this->targetSdkVersion = $targetSdkVersion;
}
/**
* @return int
*/
public function getTargetSdkVersion()
{
return $this->targetSdkVersion;
}
/**
* @param UsesFeature[]
*/
public function setUsesFeature($usesFeature)
{
$this->usesFeature = $usesFeature;
}
/**
* @return UsesFeature[]
*/
public function getUsesFeature()
{
return $this->usesFeature;
}
/**
* @param string[]
*/
public function setUsesPermission($usesPermission)
{
$this->usesPermission = $usesPermission;
}
/**
* @return string[]
*/
public function getUsesPermission()
{
return $this->usesPermission;
}
/**
* @param UsesPermissionTag[]
*/
public function setUsesPermissionTags($usesPermissionTags)
{
$this->usesPermissionTags = $usesPermissionTags;
}
/**
* @return UsesPermissionTag[]
*/
public function getUsesPermissionTags()
{
return $this->usesPermissionTags;
}
/**
* @param string
*/
public function setVersionCode($versionCode)
{
$this->versionCode = $versionCode;
}
/**
* @return string
*/
public function getVersionCode()
{
return $this->versionCode;
}
/**
* @param string
*/
public function setVersionName($versionName)
{
$this->versionName = $versionName;
}
/**
* @return string
*/
public function getVersionName()
{
return $this->versionName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ApkManifest::class, 'Google_Service_Testing_ApkManifest');
@@ -0,0 +1,42 @@
<?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\Testing;
class AppBundle extends \Google\Model
{
protected $bundleLocationType = FileReference::class;
protected $bundleLocationDataType = '';
/**
* @param FileReference
*/
public function setBundleLocation(FileReference $bundleLocation)
{
$this->bundleLocation = $bundleLocation;
}
/**
* @return FileReference
*/
public function getBundleLocation()
{
return $this->bundleLocation;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AppBundle::class, 'Google_Service_Testing_AppBundle');
@@ -0,0 +1,25 @@
<?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\Testing;
class CancelDeviceSessionRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CancelDeviceSessionRequest::class, 'Google_Service_Testing_CancelDeviceSessionRequest');
@@ -0,0 +1,44 @@
<?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\Testing;
class CancelTestMatrixResponse extends \Google\Model
{
/**
* @var string
*/
public $testState;
/**
* @param string
*/
public function setTestState($testState)
{
$this->testState = $testState;
}
/**
* @return string
*/
public function getTestState()
{
return $this->testState;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CancelTestMatrixResponse::class, 'Google_Service_Testing_CancelTestMatrixResponse');
@@ -0,0 +1,61 @@
<?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\Testing;
class ClientInfo extends \Google\Collection
{
protected $collection_key = 'clientInfoDetails';
protected $clientInfoDetailsType = ClientInfoDetail::class;
protected $clientInfoDetailsDataType = 'array';
/**
* @var string
*/
public $name;
/**
* @param ClientInfoDetail[]
*/
public function setClientInfoDetails($clientInfoDetails)
{
$this->clientInfoDetails = $clientInfoDetails;
}
/**
* @return ClientInfoDetail[]
*/
public function getClientInfoDetails()
{
return $this->clientInfoDetails;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ClientInfo::class, 'Google_Service_Testing_ClientInfo');
@@ -0,0 +1,62 @@
<?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\Testing;
class ClientInfoDetail extends \Google\Model
{
/**
* @var string
*/
public $key;
/**
* @var string
*/
public $value;
/**
* @param string
*/
public function setKey($key)
{
$this->key = $key;
}
/**
* @return string
*/
public function getKey()
{
return $this->key;
}
/**
* @param string
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return string
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ClientInfoDetail::class, 'Google_Service_Testing_ClientInfoDetail');
@@ -0,0 +1,80 @@
<?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\Testing;
class Date extends \Google\Model
{
/**
* @var int
*/
public $day;
/**
* @var int
*/
public $month;
/**
* @var int
*/
public $year;
/**
* @param int
*/
public function setDay($day)
{
$this->day = $day;
}
/**
* @return int
*/
public function getDay()
{
return $this->day;
}
/**
* @param int
*/
public function setMonth($month)
{
$this->month = $month;
}
/**
* @return int
*/
public function getMonth()
{
return $this->month;
}
/**
* @param int
*/
public function setYear($year)
{
$this->year = $year;
}
/**
* @return int
*/
public function getYear()
{
return $this->year;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Date::class, 'Google_Service_Testing_Date');
@@ -0,0 +1,58 @@
<?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\Testing;
class DeviceFile extends \Google\Model
{
protected $obbFileType = ObbFile::class;
protected $obbFileDataType = '';
protected $regularFileType = RegularFile::class;
protected $regularFileDataType = '';
/**
* @param ObbFile
*/
public function setObbFile(ObbFile $obbFile)
{
$this->obbFile = $obbFile;
}
/**
* @return ObbFile
*/
public function getObbFile()
{
return $this->obbFile;
}
/**
* @param RegularFile
*/
public function setRegularFile(RegularFile $regularFile)
{
$this->regularFile = $regularFile;
}
/**
* @return RegularFile
*/
public function getRegularFile()
{
return $this->regularFile;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DeviceFile::class, 'Google_Service_Testing_DeviceFile');
@@ -0,0 +1,78 @@
<?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\Testing;
class DeviceIpBlock extends \Google\Model
{
protected $addedDateType = Date::class;
protected $addedDateDataType = '';
/**
* @var string
*/
public $block;
/**
* @var string
*/
public $form;
/**
* @param Date
*/
public function setAddedDate(Date $addedDate)
{
$this->addedDate = $addedDate;
}
/**
* @return Date
*/
public function getAddedDate()
{
return $this->addedDate;
}
/**
* @param string
*/
public function setBlock($block)
{
$this->block = $block;
}
/**
* @return string
*/
public function getBlock()
{
return $this->block;
}
/**
* @param string
*/
public function setForm($form)
{
$this->form = $form;
}
/**
* @return string
*/
public function getForm()
{
return $this->form;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DeviceIpBlock::class, 'Google_Service_Testing_DeviceIpBlock');
@@ -0,0 +1,43 @@
<?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\Testing;
class DeviceIpBlockCatalog extends \Google\Collection
{
protected $collection_key = 'ipBlocks';
protected $ipBlocksType = DeviceIpBlock::class;
protected $ipBlocksDataType = 'array';
/**
* @param DeviceIpBlock[]
*/
public function setIpBlocks($ipBlocks)
{
$this->ipBlocks = $ipBlocks;
}
/**
* @return DeviceIpBlock[]
*/
public function getIpBlocks()
{
return $this->ipBlocks;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DeviceIpBlockCatalog::class, 'Google_Service_Testing_DeviceIpBlockCatalog');
@@ -0,0 +1,203 @@
<?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\Testing;
class DeviceSession extends \Google\Collection
{
protected $collection_key = 'stateHistories';
/**
* @var string
*/
public $activeStartTime;
protected $androidDeviceType = AndroidDevice::class;
protected $androidDeviceDataType = '';
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $expireTime;
/**
* @var string
*/
public $inactivityTimeout;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $state;
protected $stateHistoriesType = SessionStateEvent::class;
protected $stateHistoriesDataType = 'array';
/**
* @var string
*/
public $ttl;
/**
* @param string
*/
public function setActiveStartTime($activeStartTime)
{
$this->activeStartTime = $activeStartTime;
}
/**
* @return string
*/
public function getActiveStartTime()
{
return $this->activeStartTime;
}
/**
* @param AndroidDevice
*/
public function setAndroidDevice(AndroidDevice $androidDevice)
{
$this->androidDevice = $androidDevice;
}
/**
* @return AndroidDevice
*/
public function getAndroidDevice()
{
return $this->androidDevice;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setExpireTime($expireTime)
{
$this->expireTime = $expireTime;
}
/**
* @return string
*/
public function getExpireTime()
{
return $this->expireTime;
}
/**
* @param string
*/
public function setInactivityTimeout($inactivityTimeout)
{
$this->inactivityTimeout = $inactivityTimeout;
}
/**
* @return string
*/
public function getInactivityTimeout()
{
return $this->inactivityTimeout;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param SessionStateEvent[]
*/
public function setStateHistories($stateHistories)
{
$this->stateHistories = $stateHistories;
}
/**
* @return SessionStateEvent[]
*/
public function getStateHistories()
{
return $this->stateHistories;
}
/**
* @param string
*/
public function setTtl($ttl)
{
$this->ttl = $ttl;
}
/**
* @return string
*/
public function getTtl()
{
return $this->ttl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DeviceSession::class, 'Google_Service_Testing_DeviceSession');
@@ -0,0 +1,62 @@
<?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\Testing;
class DirectAccessVersionInfo extends \Google\Model
{
/**
* @var bool
*/
public $directAccessSupported;
/**
* @var string
*/
public $minimumAndroidStudioVersion;
/**
* @param bool
*/
public function setDirectAccessSupported($directAccessSupported)
{
$this->directAccessSupported = $directAccessSupported;
}
/**
* @return bool
*/
public function getDirectAccessSupported()
{
return $this->directAccessSupported;
}
/**
* @param string
*/
public function setMinimumAndroidStudioVersion($minimumAndroidStudioVersion)
{
$this->minimumAndroidStudioVersion = $minimumAndroidStudioVersion;
}
/**
* @return string
*/
public function getMinimumAndroidStudioVersion()
{
return $this->minimumAndroidStudioVersion;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DirectAccessVersionInfo::class, 'Google_Service_Testing_DirectAccessVersionInfo');
@@ -0,0 +1,53 @@
<?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\Testing;
class Distribution extends \Google\Model
{
public $marketShare;
/**
* @var string
*/
public $measurementTime;
public function setMarketShare($marketShare)
{
$this->marketShare = $marketShare;
}
public function getMarketShare()
{
return $this->marketShare;
}
/**
* @param string
*/
public function setMeasurementTime($measurementTime)
{
$this->measurementTime = $measurementTime;
}
/**
* @return string
*/
public function getMeasurementTime()
{
return $this->measurementTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Distribution::class, 'Google_Service_Testing_Distribution');
@@ -0,0 +1,58 @@
<?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\Testing;
class Environment extends \Google\Model
{
protected $androidDeviceType = AndroidDevice::class;
protected $androidDeviceDataType = '';
protected $iosDeviceType = IosDevice::class;
protected $iosDeviceDataType = '';
/**
* @param AndroidDevice
*/
public function setAndroidDevice(AndroidDevice $androidDevice)
{
$this->androidDevice = $androidDevice;
}
/**
* @return AndroidDevice
*/
public function getAndroidDevice()
{
return $this->androidDevice;
}
/**
* @param IosDevice
*/
public function setIosDevice(IosDevice $iosDevice)
{
$this->iosDevice = $iosDevice;
}
/**
* @return IosDevice
*/
public function getIosDevice()
{
return $this->iosDevice;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Environment::class, 'Google_Service_Testing_Environment');
@@ -0,0 +1,74 @@
<?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\Testing;
class EnvironmentMatrix extends \Google\Model
{
protected $androidDeviceListType = AndroidDeviceList::class;
protected $androidDeviceListDataType = '';
protected $androidMatrixType = AndroidMatrix::class;
protected $androidMatrixDataType = '';
protected $iosDeviceListType = IosDeviceList::class;
protected $iosDeviceListDataType = '';
/**
* @param AndroidDeviceList
*/
public function setAndroidDeviceList(AndroidDeviceList $androidDeviceList)
{
$this->androidDeviceList = $androidDeviceList;
}
/**
* @return AndroidDeviceList
*/
public function getAndroidDeviceList()
{
return $this->androidDeviceList;
}
/**
* @param AndroidMatrix
*/
public function setAndroidMatrix(AndroidMatrix $androidMatrix)
{
$this->androidMatrix = $androidMatrix;
}
/**
* @return AndroidMatrix
*/
public function getAndroidMatrix()
{
return $this->androidMatrix;
}
/**
* @param IosDeviceList
*/
public function setIosDeviceList(IosDeviceList $iosDeviceList)
{
$this->iosDeviceList = $iosDeviceList;
}
/**
* @return IosDeviceList
*/
public function getIosDeviceList()
{
return $this->iosDeviceList;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnvironmentMatrix::class, 'Google_Service_Testing_EnvironmentMatrix');
@@ -0,0 +1,62 @@
<?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\Testing;
class EnvironmentVariable extends \Google\Model
{
/**
* @var string
*/
public $key;
/**
* @var string
*/
public $value;
/**
* @param string
*/
public function setKey($key)
{
$this->key = $key;
}
/**
* @return string
*/
public function getKey()
{
return $this->key;
}
/**
* @param string
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return string
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnvironmentVariable::class, 'Google_Service_Testing_EnvironmentVariable');
@@ -0,0 +1,44 @@
<?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\Testing;
class FileReference extends \Google\Model
{
/**
* @var string
*/
public $gcsPath;
/**
* @param string
*/
public function setGcsPath($gcsPath)
{
$this->gcsPath = $gcsPath;
}
/**
* @return string
*/
public function getGcsPath()
{
return $this->gcsPath;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FileReference::class, 'Google_Service_Testing_FileReference');
@@ -0,0 +1,42 @@
<?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\Testing;
class GetApkDetailsResponse extends \Google\Model
{
protected $apkDetailType = ApkDetail::class;
protected $apkDetailDataType = '';
/**
* @param ApkDetail
*/
public function setApkDetail(ApkDetail $apkDetail)
{
$this->apkDetail = $apkDetail;
}
/**
* @return ApkDetail
*/
public function getApkDetail()
{
return $this->apkDetail;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GetApkDetailsResponse::class, 'Google_Service_Testing_GetApkDetailsResponse');
@@ -0,0 +1,25 @@
<?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\Testing;
class GoogleAuto extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAuto::class, 'Google_Service_Testing_GoogleAuto');
@@ -0,0 +1,44 @@
<?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\Testing;
class GoogleCloudStorage extends \Google\Model
{
/**
* @var string
*/
public $gcsPath;
/**
* @param string
*/
public function setGcsPath($gcsPath)
{
$this->gcsPath = $gcsPath;
}
/**
* @return string
*/
public function getGcsPath()
{
return $this->gcsPath;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudStorage::class, 'Google_Service_Testing_GoogleCloudStorage');
@@ -0,0 +1,81 @@
<?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\Testing;
class IntentFilter extends \Google\Collection
{
protected $collection_key = 'categoryNames';
/**
* @var string[]
*/
public $actionNames;
/**
* @var string[]
*/
public $categoryNames;
/**
* @var string
*/
public $mimeType;
/**
* @param string[]
*/
public function setActionNames($actionNames)
{
$this->actionNames = $actionNames;
}
/**
* @return string[]
*/
public function getActionNames()
{
return $this->actionNames;
}
/**
* @param string[]
*/
public function setCategoryNames($categoryNames)
{
$this->categoryNames = $categoryNames;
}
/**
* @return string[]
*/
public function getCategoryNames()
{
return $this->categoryNames;
}
/**
* @param string
*/
public function setMimeType($mimeType)
{
$this->mimeType = $mimeType;
}
/**
* @return string
*/
public function getMimeType()
{
return $this->mimeType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(IntentFilter::class, 'Google_Service_Testing_IntentFilter');
@@ -0,0 +1,98 @@
<?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\Testing;
class IosDevice extends \Google\Model
{
/**
* @var string
*/
public $iosModelId;
/**
* @var string
*/
public $iosVersionId;
/**
* @var string
*/
public $locale;
/**
* @var string
*/
public $orientation;
/**
* @param string
*/
public function setIosModelId($iosModelId)
{
$this->iosModelId = $iosModelId;
}
/**
* @return string
*/
public function getIosModelId()
{
return $this->iosModelId;
}
/**
* @param string
*/
public function setIosVersionId($iosVersionId)
{
$this->iosVersionId = $iosVersionId;
}
/**
* @return string
*/
public function getIosVersionId()
{
return $this->iosVersionId;
}
/**
* @param string
*/
public function setLocale($locale)
{
$this->locale = $locale;
}
/**
* @return string
*/
public function getLocale()
{
return $this->locale;
}
/**
* @param string
*/
public function setOrientation($orientation)
{
$this->orientation = $orientation;
}
/**
* @return string
*/
public function getOrientation()
{
return $this->orientation;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(IosDevice::class, 'Google_Service_Testing_IosDevice');
@@ -0,0 +1,91 @@
<?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\Testing;
class IosDeviceCatalog extends \Google\Collection
{
protected $collection_key = 'xcodeVersions';
protected $modelsType = IosModel::class;
protected $modelsDataType = 'array';
protected $runtimeConfigurationType = IosRuntimeConfiguration::class;
protected $runtimeConfigurationDataType = '';
protected $versionsType = IosVersion::class;
protected $versionsDataType = 'array';
protected $xcodeVersionsType = XcodeVersion::class;
protected $xcodeVersionsDataType = 'array';
/**
* @param IosModel[]
*/
public function setModels($models)
{
$this->models = $models;
}
/**
* @return IosModel[]
*/
public function getModels()
{
return $this->models;
}
/**
* @param IosRuntimeConfiguration
*/
public function setRuntimeConfiguration(IosRuntimeConfiguration $runtimeConfiguration)
{
$this->runtimeConfiguration = $runtimeConfiguration;
}
/**
* @return IosRuntimeConfiguration
*/
public function getRuntimeConfiguration()
{
return $this->runtimeConfiguration;
}
/**
* @param IosVersion[]
*/
public function setVersions($versions)
{
$this->versions = $versions;
}
/**
* @return IosVersion[]
*/
public function getVersions()
{
return $this->versions;
}
/**
* @param XcodeVersion[]
*/
public function setXcodeVersions($xcodeVersions)
{
$this->xcodeVersions = $xcodeVersions;
}
/**
* @return XcodeVersion[]
*/
public function getXcodeVersions()
{
return $this->xcodeVersions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(IosDeviceCatalog::class, 'Google_Service_Testing_IosDeviceCatalog');
@@ -0,0 +1,78 @@
<?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\Testing;
class IosDeviceFile extends \Google\Model
{
/**
* @var string
*/
public $bundleId;
protected $contentType = FileReference::class;
protected $contentDataType = '';
/**
* @var string
*/
public $devicePath;
/**
* @param string
*/
public function setBundleId($bundleId)
{
$this->bundleId = $bundleId;
}
/**
* @return string
*/
public function getBundleId()
{
return $this->bundleId;
}
/**
* @param FileReference
*/
public function setContent(FileReference $content)
{
$this->content = $content;
}
/**
* @return FileReference
*/
public function getContent()
{
return $this->content;
}
/**
* @param string
*/
public function setDevicePath($devicePath)
{
$this->devicePath = $devicePath;
}
/**
* @return string
*/
public function getDevicePath()
{
return $this->devicePath;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(IosDeviceFile::class, 'Google_Service_Testing_IosDeviceFile');
@@ -0,0 +1,43 @@
<?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\Testing;
class IosDeviceList extends \Google\Collection
{
protected $collection_key = 'iosDevices';
protected $iosDevicesType = IosDevice::class;
protected $iosDevicesDataType = 'array';
/**
* @param IosDevice[]
*/
public function setIosDevices($iosDevices)
{
$this->iosDevices = $iosDevices;
}
/**
* @return IosDevice[]
*/
public function getIosDevices()
{
return $this->iosDevices;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(IosDeviceList::class, 'Google_Service_Testing_IosDeviceList');
@@ -0,0 +1,205 @@
<?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\Testing;
class IosModel extends \Google\Collection
{
protected $collection_key = 'tags';
/**
* @var string[]
*/
public $deviceCapabilities;
/**
* @var string
*/
public $formFactor;
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $name;
protected $perVersionInfoType = PerIosVersionInfo::class;
protected $perVersionInfoDataType = 'array';
/**
* @var int
*/
public $screenDensity;
/**
* @var int
*/
public $screenX;
/**
* @var int
*/
public $screenY;
/**
* @var string[]
*/
public $supportedVersionIds;
/**
* @var string[]
*/
public $tags;
/**
* @param string[]
*/
public function setDeviceCapabilities($deviceCapabilities)
{
$this->deviceCapabilities = $deviceCapabilities;
}
/**
* @return string[]
*/
public function getDeviceCapabilities()
{
return $this->deviceCapabilities;
}
/**
* @param string
*/
public function setFormFactor($formFactor)
{
$this->formFactor = $formFactor;
}
/**
* @return string
*/
public function getFormFactor()
{
return $this->formFactor;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param PerIosVersionInfo[]
*/
public function setPerVersionInfo($perVersionInfo)
{
$this->perVersionInfo = $perVersionInfo;
}
/**
* @return PerIosVersionInfo[]
*/
public function getPerVersionInfo()
{
return $this->perVersionInfo;
}
/**
* @param int
*/
public function setScreenDensity($screenDensity)
{
$this->screenDensity = $screenDensity;
}
/**
* @return int
*/
public function getScreenDensity()
{
return $this->screenDensity;
}
/**
* @param int
*/
public function setScreenX($screenX)
{
$this->screenX = $screenX;
}
/**
* @return int
*/
public function getScreenX()
{
return $this->screenX;
}
/**
* @param int
*/
public function setScreenY($screenY)
{
$this->screenY = $screenY;
}
/**
* @return int
*/
public function getScreenY()
{
return $this->screenY;
}
/**
* @param string[]
*/
public function setSupportedVersionIds($supportedVersionIds)
{
$this->supportedVersionIds = $supportedVersionIds;
}
/**
* @return string[]
*/
public function getSupportedVersionIds()
{
return $this->supportedVersionIds;
}
/**
* @param string[]
*/
public function setTags($tags)
{
$this->tags = $tags;
}
/**
* @return string[]
*/
public function getTags()
{
return $this->tags;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(IosModel::class, 'Google_Service_Testing_IosModel');
@@ -0,0 +1,76 @@
<?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\Testing;
class IosRoboTest extends \Google\Model
{
/**
* @var string
*/
public $appBundleId;
protected $appIpaType = FileReference::class;
protected $appIpaDataType = '';
protected $roboScriptType = FileReference::class;
protected $roboScriptDataType = '';
/**
* @param string
*/
public function setAppBundleId($appBundleId)
{
$this->appBundleId = $appBundleId;
}
/**
* @return string
*/
public function getAppBundleId()
{
return $this->appBundleId;
}
/**
* @param FileReference
*/
public function setAppIpa(FileReference $appIpa)
{
$this->appIpa = $appIpa;
}
/**
* @return FileReference
*/
public function getAppIpa()
{
return $this->appIpa;
}
/**
* @param FileReference
*/
public function setRoboScript(FileReference $roboScript)
{
$this->roboScript = $roboScript;
}
/**
* @return FileReference
*/
public function getRoboScript()
{
return $this->roboScript;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(IosRoboTest::class, 'Google_Service_Testing_IosRoboTest');
@@ -0,0 +1,59 @@
<?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\Testing;
class IosRuntimeConfiguration extends \Google\Collection
{
protected $collection_key = 'orientations';
protected $localesType = Locale::class;
protected $localesDataType = 'array';
protected $orientationsType = Orientation::class;
protected $orientationsDataType = 'array';
/**
* @param Locale[]
*/
public function setLocales($locales)
{
$this->locales = $locales;
}
/**
* @return Locale[]
*/
public function getLocales()
{
return $this->locales;
}
/**
* @param Orientation[]
*/
public function setOrientations($orientations)
{
$this->orientations = $orientations;
}
/**
* @return Orientation[]
*/
public function getOrientations()
{
return $this->orientations;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(IosRuntimeConfiguration::class, 'Google_Service_Testing_IosRuntimeConfiguration');
@@ -0,0 +1,79 @@
<?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\Testing;
class IosTestLoop extends \Google\Collection
{
protected $collection_key = 'scenarios';
/**
* @var string
*/
public $appBundleId;
protected $appIpaType = FileReference::class;
protected $appIpaDataType = '';
/**
* @var int[]
*/
public $scenarios;
/**
* @param string
*/
public function setAppBundleId($appBundleId)
{
$this->appBundleId = $appBundleId;
}
/**
* @return string
*/
public function getAppBundleId()
{
return $this->appBundleId;
}
/**
* @param FileReference
*/
public function setAppIpa(FileReference $appIpa)
{
$this->appIpa = $appIpa;
}
/**
* @return FileReference
*/
public function getAppIpa()
{
return $this->appIpa;
}
/**
* @param int[]
*/
public function setScenarios($scenarios)
{
$this->scenarios = $scenarios;
}
/**
* @return int[]
*/
public function getScenarios()
{
return $this->scenarios;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(IosTestLoop::class, 'Google_Service_Testing_IosTestLoop');
@@ -0,0 +1,93 @@
<?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\Testing;
class IosTestSetup extends \Google\Collection
{
protected $collection_key = 'pushFiles';
protected $additionalIpasType = FileReference::class;
protected $additionalIpasDataType = 'array';
/**
* @var string
*/
public $networkProfile;
protected $pullDirectoriesType = IosDeviceFile::class;
protected $pullDirectoriesDataType = 'array';
protected $pushFilesType = IosDeviceFile::class;
protected $pushFilesDataType = 'array';
/**
* @param FileReference[]
*/
public function setAdditionalIpas($additionalIpas)
{
$this->additionalIpas = $additionalIpas;
}
/**
* @return FileReference[]
*/
public function getAdditionalIpas()
{
return $this->additionalIpas;
}
/**
* @param string
*/
public function setNetworkProfile($networkProfile)
{
$this->networkProfile = $networkProfile;
}
/**
* @return string
*/
public function getNetworkProfile()
{
return $this->networkProfile;
}
/**
* @param IosDeviceFile[]
*/
public function setPullDirectories($pullDirectories)
{
$this->pullDirectories = $pullDirectories;
}
/**
* @return IosDeviceFile[]
*/
public function getPullDirectories()
{
return $this->pullDirectories;
}
/**
* @param IosDeviceFile[]
*/
public function setPushFiles($pushFiles)
{
$this->pushFiles = $pushFiles;
}
/**
* @return IosDeviceFile[]
*/
public function getPushFiles()
{
return $this->pushFiles;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(IosTestSetup::class, 'Google_Service_Testing_IosTestSetup');
@@ -0,0 +1,117 @@
<?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\Testing;
class IosVersion extends \Google\Collection
{
protected $collection_key = 'tags';
/**
* @var string
*/
public $id;
/**
* @var int
*/
public $majorVersion;
/**
* @var int
*/
public $minorVersion;
/**
* @var string[]
*/
public $supportedXcodeVersionIds;
/**
* @var string[]
*/
public $tags;
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param int
*/
public function setMajorVersion($majorVersion)
{
$this->majorVersion = $majorVersion;
}
/**
* @return int
*/
public function getMajorVersion()
{
return $this->majorVersion;
}
/**
* @param int
*/
public function setMinorVersion($minorVersion)
{
$this->minorVersion = $minorVersion;
}
/**
* @return int
*/
public function getMinorVersion()
{
return $this->minorVersion;
}
/**
* @param string[]
*/
public function setSupportedXcodeVersionIds($supportedXcodeVersionIds)
{
$this->supportedXcodeVersionIds = $supportedXcodeVersionIds;
}
/**
* @return string[]
*/
public function getSupportedXcodeVersionIds()
{
return $this->supportedXcodeVersionIds;
}
/**
* @param string[]
*/
public function setTags($tags)
{
$this->tags = $tags;
}
/**
* @return string[]
*/
public function getTags()
{
return $this->tags;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(IosVersion::class, 'Google_Service_Testing_IosVersion');
@@ -0,0 +1,112 @@
<?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\Testing;
class IosXcTest extends \Google\Model
{
/**
* @var string
*/
public $appBundleId;
/**
* @var bool
*/
public $testSpecialEntitlements;
protected $testsZipType = FileReference::class;
protected $testsZipDataType = '';
/**
* @var string
*/
public $xcodeVersion;
protected $xctestrunType = FileReference::class;
protected $xctestrunDataType = '';
/**
* @param string
*/
public function setAppBundleId($appBundleId)
{
$this->appBundleId = $appBundleId;
}
/**
* @return string
*/
public function getAppBundleId()
{
return $this->appBundleId;
}
/**
* @param bool
*/
public function setTestSpecialEntitlements($testSpecialEntitlements)
{
$this->testSpecialEntitlements = $testSpecialEntitlements;
}
/**
* @return bool
*/
public function getTestSpecialEntitlements()
{
return $this->testSpecialEntitlements;
}
/**
* @param FileReference
*/
public function setTestsZip(FileReference $testsZip)
{
$this->testsZip = $testsZip;
}
/**
* @return FileReference
*/
public function getTestsZip()
{
return $this->testsZip;
}
/**
* @param string
*/
public function setXcodeVersion($xcodeVersion)
{
$this->xcodeVersion = $xcodeVersion;
}
/**
* @return string
*/
public function getXcodeVersion()
{
return $this->xcodeVersion;
}
/**
* @param FileReference
*/
public function setXctestrun(FileReference $xctestrun)
{
$this->xctestrun = $xctestrun;
}
/**
* @return FileReference
*/
public function getXctestrun()
{
return $this->xctestrun;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(IosXcTest::class, 'Google_Service_Testing_IosXcTest');
@@ -0,0 +1,44 @@
<?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\Testing;
class LabInfo extends \Google\Model
{
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LabInfo::class, 'Google_Service_Testing_LabInfo');
@@ -0,0 +1,25 @@
<?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\Testing;
class LauncherActivityIntent extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LauncherActivityIntent::class, 'Google_Service_Testing_LauncherActivityIntent');
@@ -0,0 +1,61 @@
<?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\Testing;
class ListDeviceSessionsResponse extends \Google\Collection
{
protected $collection_key = 'deviceSessions';
protected $deviceSessionsType = DeviceSession::class;
protected $deviceSessionsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param DeviceSession[]
*/
public function setDeviceSessions($deviceSessions)
{
$this->deviceSessions = $deviceSessions;
}
/**
* @return DeviceSession[]
*/
public function getDeviceSessions()
{
return $this->deviceSessions;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListDeviceSessionsResponse::class, 'Google_Service_Testing_ListDeviceSessionsResponse');
@@ -0,0 +1,99 @@
<?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\Testing;
class Locale extends \Google\Collection
{
protected $collection_key = 'tags';
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $region;
/**
* @var string[]
*/
public $tags;
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setRegion($region)
{
$this->region = $region;
}
/**
* @return string
*/
public function getRegion()
{
return $this->region;
}
/**
* @param string[]
*/
public function setTags($tags)
{
$this->tags = $tags;
}
/**
* @return string[]
*/
public function getTags()
{
return $this->tags;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Locale::class, 'Google_Service_Testing_Locale');
@@ -0,0 +1,43 @@
<?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\Testing;
class ManualSharding extends \Google\Collection
{
protected $collection_key = 'testTargetsForShard';
protected $testTargetsForShardType = TestTargetsForShard::class;
protected $testTargetsForShardDataType = 'array';
/**
* @param TestTargetsForShard[]
*/
public function setTestTargetsForShard($testTargetsForShard)
{
$this->testTargetsForShard = $testTargetsForShard;
}
/**
* @return TestTargetsForShard[]
*/
public function getTestTargetsForShard()
{
return $this->testTargetsForShard;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ManualSharding::class, 'Google_Service_Testing_ManualSharding');
@@ -0,0 +1,62 @@
<?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\Testing;
class MatrixErrorDetail extends \Google\Model
{
/**
* @var string
*/
public $message;
/**
* @var string
*/
public $reason;
/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
/**
* @param string
*/
public function setReason($reason)
{
$this->reason = $reason;
}
/**
* @return string
*/
public function getReason()
{
return $this->reason;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MatrixErrorDetail::class, 'Google_Service_Testing_MatrixErrorDetail');
@@ -0,0 +1,62 @@
<?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\Testing;
class Metadata extends \Google\Model
{
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $value;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return string
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Metadata::class, 'Google_Service_Testing_Metadata');
@@ -0,0 +1,76 @@
<?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\Testing;
class NetworkConfiguration extends \Google\Model
{
protected $downRuleType = TrafficRule::class;
protected $downRuleDataType = '';
/**
* @var string
*/
public $id;
protected $upRuleType = TrafficRule::class;
protected $upRuleDataType = '';
/**
* @param TrafficRule
*/
public function setDownRule(TrafficRule $downRule)
{
$this->downRule = $downRule;
}
/**
* @return TrafficRule
*/
public function getDownRule()
{
return $this->downRule;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param TrafficRule
*/
public function setUpRule(TrafficRule $upRule)
{
$this->upRule = $upRule;
}
/**
* @return TrafficRule
*/
public function getUpRule()
{
return $this->upRule;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NetworkConfiguration::class, 'Google_Service_Testing_NetworkConfiguration');
@@ -0,0 +1,43 @@
<?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\Testing;
class NetworkConfigurationCatalog extends \Google\Collection
{
protected $collection_key = 'configurations';
protected $configurationsType = NetworkConfiguration::class;
protected $configurationsDataType = 'array';
/**
* @param NetworkConfiguration[]
*/
public function setConfigurations($configurations)
{
$this->configurations = $configurations;
}
/**
* @return NetworkConfiguration[]
*/
public function getConfigurations()
{
return $this->configurations;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NetworkConfigurationCatalog::class, 'Google_Service_Testing_NetworkConfigurationCatalog');
@@ -0,0 +1,25 @@
<?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\Testing;
class NoActivityIntent extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NoActivityIntent::class, 'Google_Service_Testing_NoActivityIntent');
@@ -0,0 +1,60 @@
<?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\Testing;
class ObbFile extends \Google\Model
{
protected $obbType = FileReference::class;
protected $obbDataType = '';
/**
* @var string
*/
public $obbFileName;
/**
* @param FileReference
*/
public function setObb(FileReference $obb)
{
$this->obb = $obb;
}
/**
* @return FileReference
*/
public function getObb()
{
return $this->obb;
}
/**
* @param string
*/
public function setObbFileName($obbFileName)
{
$this->obbFileName = $obbFileName;
}
/**
* @return string
*/
public function getObbFileName()
{
return $this->obbFileName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ObbFile::class, 'Google_Service_Testing_ObbFile');
@@ -0,0 +1,81 @@
<?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\Testing;
class Orientation extends \Google\Collection
{
protected $collection_key = 'tags';
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $name;
/**
* @var string[]
*/
public $tags;
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string[]
*/
public function setTags($tags)
{
$this->tags = $tags;
}
/**
* @return string[]
*/
public function getTags()
{
return $this->tags;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Orientation::class, 'Google_Service_Testing_Orientation');
@@ -0,0 +1,96 @@
<?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\Testing;
class PerAndroidVersionInfo extends \Google\Model
{
/**
* @var string
*/
public $deviceCapacity;
protected $directAccessVersionInfoType = DirectAccessVersionInfo::class;
protected $directAccessVersionInfoDataType = '';
/**
* @var string
*/
public $interactiveDeviceAvailabilityEstimate;
/**
* @var string
*/
public $versionId;
/**
* @param string
*/
public function setDeviceCapacity($deviceCapacity)
{
$this->deviceCapacity = $deviceCapacity;
}
/**
* @return string
*/
public function getDeviceCapacity()
{
return $this->deviceCapacity;
}
/**
* @param DirectAccessVersionInfo
*/
public function setDirectAccessVersionInfo(DirectAccessVersionInfo $directAccessVersionInfo)
{
$this->directAccessVersionInfo = $directAccessVersionInfo;
}
/**
* @return DirectAccessVersionInfo
*/
public function getDirectAccessVersionInfo()
{
return $this->directAccessVersionInfo;
}
/**
* @param string
*/
public function setInteractiveDeviceAvailabilityEstimate($interactiveDeviceAvailabilityEstimate)
{
$this->interactiveDeviceAvailabilityEstimate = $interactiveDeviceAvailabilityEstimate;
}
/**
* @return string
*/
public function getInteractiveDeviceAvailabilityEstimate()
{
return $this->interactiveDeviceAvailabilityEstimate;
}
/**
* @param string
*/
public function setVersionId($versionId)
{
$this->versionId = $versionId;
}
/**
* @return string
*/
public function getVersionId()
{
return $this->versionId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PerAndroidVersionInfo::class, 'Google_Service_Testing_PerAndroidVersionInfo');
@@ -0,0 +1,62 @@
<?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\Testing;
class PerIosVersionInfo extends \Google\Model
{
/**
* @var string
*/
public $deviceCapacity;
/**
* @var string
*/
public $versionId;
/**
* @param string
*/
public function setDeviceCapacity($deviceCapacity)
{
$this->deviceCapacity = $deviceCapacity;
}
/**
* @return string
*/
public function getDeviceCapacity()
{
return $this->deviceCapacity;
}
/**
* @param string
*/
public function setVersionId($versionId)
{
$this->versionId = $versionId;
}
/**
* @return string
*/
public function getVersionId()
{
return $this->versionId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PerIosVersionInfo::class, 'Google_Service_Testing_PerIosVersionInfo');
@@ -0,0 +1,62 @@
<?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\Testing;
class ProvidedSoftwareCatalog extends \Google\Model
{
/**
* @var string
*/
public $androidxOrchestratorVersion;
/**
* @var string
*/
public $orchestratorVersion;
/**
* @param string
*/
public function setAndroidxOrchestratorVersion($androidxOrchestratorVersion)
{
$this->androidxOrchestratorVersion = $androidxOrchestratorVersion;
}
/**
* @return string
*/
public function getAndroidxOrchestratorVersion()
{
return $this->androidxOrchestratorVersion;
}
/**
* @param string
*/
public function setOrchestratorVersion($orchestratorVersion)
{
$this->orchestratorVersion = $orchestratorVersion;
}
/**
* @return string
*/
public function getOrchestratorVersion()
{
return $this->orchestratorVersion;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProvidedSoftwareCatalog::class, 'Google_Service_Testing_ProvidedSoftwareCatalog');
@@ -0,0 +1,60 @@
<?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\Testing;
class RegularFile extends \Google\Model
{
protected $contentType = FileReference::class;
protected $contentDataType = '';
/**
* @var string
*/
public $devicePath;
/**
* @param FileReference
*/
public function setContent(FileReference $content)
{
$this->content = $content;
}
/**
* @return FileReference
*/
public function getContent()
{
return $this->content;
}
/**
* @param string
*/
public function setDevicePath($devicePath)
{
$this->devicePath = $devicePath;
}
/**
* @return string
*/
public function getDevicePath()
{
return $this->devicePath;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RegularFile::class, 'Google_Service_Testing_RegularFile');
@@ -0,0 +1,55 @@
<?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\Testing\Resource;
use Google\Service\Testing\FileReference;
use Google\Service\Testing\GetApkDetailsResponse;
/**
* The "applicationDetailService" collection of methods.
* Typical usage is:
* <code>
* $testingService = new Google\Service\Testing(...);
* $applicationDetailService = $testingService->applicationDetailService;
* </code>
*/
class ApplicationDetailService extends \Google\Service\Resource
{
/**
* Gets the details of an Android application APK.
* (applicationDetailService.getApkDetails)
*
* @param FileReference $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string bundleLocation.gcsPath A path to a file in Google Cloud
* Storage. Example: gs://build-app-1414623860166/app%40debug-unaligned.apk
* These paths are expected to be url encoded (percent encoding)
* @return GetApkDetailsResponse
* @throws \Google\Service\Exception
*/
public function getApkDetails(FileReference $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('getApkDetails', [$params], GetApkDetailsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ApplicationDetailService::class, 'Google_Service_Testing_Resource_ApplicationDetailService');
@@ -0,0 +1,33 @@
<?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\Testing\Resource;
/**
* The "projects" collection of methods.
* Typical usage is:
* <code>
* $testingService = new Google\Service\Testing(...);
* $projects = $testingService->projects;
* </code>
*/
class Projects extends \Google\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Projects::class, 'Google_Service_Testing_Resource_Projects');
@@ -0,0 +1,135 @@
<?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\Testing\Resource;
use Google\Service\Testing\CancelDeviceSessionRequest;
use Google\Service\Testing\DeviceSession;
use Google\Service\Testing\ListDeviceSessionsResponse;
use Google\Service\Testing\TestingEmpty;
/**
* The "deviceSessions" collection of methods.
* Typical usage is:
* <code>
* $testingService = new Google\Service\Testing(...);
* $deviceSessions = $testingService->projects_deviceSessions;
* </code>
*/
class ProjectsDeviceSessions extends \Google\Service\Resource
{
/**
* POST /v1/projects/{project_id}/deviceSessions/{device_session_id}:cancel
* Changes the DeviceSession to state FINISHED and terminates all connections.
* Canceled sessions are not deleted and can be retrieved or listed by the user
* until they expire based on the 28 day deletion policy.
* (deviceSessions.cancel)
*
* @param string $name Required. Name of the DeviceSession, e.g.
* "projects/{project_id}/deviceSessions/{session_id}"
* @param CancelDeviceSessionRequest $postBody
* @param array $optParams Optional parameters.
* @return TestingEmpty
* @throws \Google\Service\Exception
*/
public function cancel($name, CancelDeviceSessionRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('cancel', [$params], TestingEmpty::class);
}
/**
* POST /v1/projects/{project_id}/deviceSessions (deviceSessions.create)
*
* @param string $parent Required. The Compute Engine project under which this
* device will be allocated. "projects/{project_id}"
* @param DeviceSession $postBody
* @param array $optParams Optional parameters.
* @return DeviceSession
* @throws \Google\Service\Exception
*/
public function create($parent, DeviceSession $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], DeviceSession::class);
}
/**
* GET /v1/projects/{project_id}/deviceSessions/{device_session_id} Return a
* DeviceSession, which documents the allocation status and whether the device
* is allocated. Clients making requests from this API must poll
* GetDeviceSession. (deviceSessions.get)
*
* @param string $name Required. Name of the DeviceSession, e.g.
* "projects/{project_id}/deviceSessions/{session_id}"
* @param array $optParams Optional parameters.
* @return DeviceSession
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], DeviceSession::class);
}
/**
* GET /v1/projects/{project_id}/deviceSessions Lists device Sessions owned by
* the project user. (deviceSessions.listProjectsDeviceSessions)
*
* @param string $parent Required. The name of the parent to request, e.g.
* "projects/{project_id}"
* @param array $optParams Optional parameters.
*
* @opt_param string filter Optional. If specified, responses will be filtered
* by the given filter. Allowed fields are: session_state.
* @opt_param int pageSize Optional. The maximum number of DeviceSessions to
* return.
* @opt_param string pageToken Optional. A continuation token for paging.
* @return ListDeviceSessionsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsDeviceSessions($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListDeviceSessionsResponse::class);
}
/**
* PATCH
* /v1/projects/{projectId}/deviceSessions/deviceSessionId}:updateDeviceSession
* Updates the current device session to the fields described by the
* update_mask. (deviceSessions.patch)
*
* @param string $name Optional. Name of the DeviceSession, e.g.
* "projects/{project_id}/deviceSessions/{session_id}"
* @param DeviceSession $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Required. The list of fields to update.
* @return DeviceSession
* @throws \Google\Service\Exception
*/
public function patch($name, DeviceSession $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], DeviceSession::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsDeviceSessions::class, 'Google_Service_Testing_Resource_ProjectsDeviceSessions');
@@ -0,0 +1,106 @@
<?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\Testing\Resource;
use Google\Service\Testing\CancelTestMatrixResponse;
use Google\Service\Testing\TestMatrix;
/**
* The "testMatrices" collection of methods.
* Typical usage is:
* <code>
* $testingService = new Google\Service\Testing(...);
* $testMatrices = $testingService->projects_testMatrices;
* </code>
*/
class ProjectsTestMatrices extends \Google\Service\Resource
{
/**
* Cancels unfinished test executions in a test matrix. This call returns
* immediately and cancellation proceeds asynchronously. If the matrix is
* already final, this operation will have no effect. May return any of the
* following canonical error codes: - PERMISSION_DENIED - if the user is not
* authorized to read project - INVALID_ARGUMENT - if the request is malformed -
* NOT_FOUND - if the Test Matrix does not exist (testMatrices.cancel)
*
* @param string $projectId Cloud project that owns the test.
* @param string $testMatrixId Test matrix that will be canceled.
* @param array $optParams Optional parameters.
* @return CancelTestMatrixResponse
* @throws \Google\Service\Exception
*/
public function cancel($projectId, $testMatrixId, $optParams = [])
{
$params = ['projectId' => $projectId, 'testMatrixId' => $testMatrixId];
$params = array_merge($params, $optParams);
return $this->call('cancel', [$params], CancelTestMatrixResponse::class);
}
/**
* Creates and runs a matrix of tests according to the given specifications.
* Unsupported environments will be returned in the state UNSUPPORTED. A test
* matrix is limited to use at most 2000 devices in parallel. The returned
* matrix will not yet contain the executions that will be created for this
* matrix. Execution creation happens later on and will require a call to
* GetTestMatrix. May return any of the following canonical error codes: -
* PERMISSION_DENIED - if the user is not authorized to write to project -
* INVALID_ARGUMENT - if the request is malformed or if the matrix tries to use
* too many simultaneous devices. (testMatrices.create)
*
* @param string $projectId The GCE project under which this job will run.
* @param TestMatrix $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string requestId A string id used to detect duplicated requests.
* Ids are automatically scoped to a project, so users should ensure the ID is
* unique per-project. A UUID is recommended. Optional, but strongly
* recommended.
* @return TestMatrix
* @throws \Google\Service\Exception
*/
public function create($projectId, TestMatrix $postBody, $optParams = [])
{
$params = ['projectId' => $projectId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], TestMatrix::class);
}
/**
* Checks the status of a test matrix and the executions once they are created.
* The test matrix will contain the list of test executions to run if and only
* if the resultStorage.toolResultsExecution fields have been populated. Note:
* Flaky test executions may be added to the matrix at a later stage. May return
* any of the following canonical error codes: - PERMISSION_DENIED - if the user
* is not authorized to read project - INVALID_ARGUMENT - if the request is
* malformed - NOT_FOUND - if the Test Matrix does not exist (testMatrices.get)
*
* @param string $projectId Cloud project that owns the test matrix.
* @param string $testMatrixId Unique test matrix id which was assigned by the
* service.
* @param array $optParams Optional parameters.
* @return TestMatrix
* @throws \Google\Service\Exception
*/
public function get($projectId, $testMatrixId, $optParams = [])
{
$params = ['projectId' => $projectId, 'testMatrixId' => $testMatrixId];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], TestMatrix::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsTestMatrices::class, 'Google_Service_Testing_Resource_ProjectsTestMatrices');
@@ -0,0 +1,56 @@
<?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\Testing\Resource;
use Google\Service\Testing\TestEnvironmentCatalog as TestEnvironmentCatalogModel;
/**
* The "testEnvironmentCatalog" collection of methods.
* Typical usage is:
* <code>
* $testingService = new Google\Service\Testing(...);
* $testEnvironmentCatalog = $testingService->testEnvironmentCatalog;
* </code>
*/
class TestEnvironmentCatalog extends \Google\Service\Resource
{
/**
* Gets the catalog of supported test environments. May return any of the
* following canonical error codes: - INVALID_ARGUMENT - if the request is
* malformed - NOT_FOUND - if the environment type does not exist - INTERNAL -
* if an internal error occurred (testEnvironmentCatalog.get)
*
* @param string $environmentType Required. The type of environment that should
* be listed.
* @param array $optParams Optional parameters.
*
* @opt_param string projectId For authorization, the cloud project requesting
* the TestEnvironmentCatalog.
* @return TestEnvironmentCatalogModel
* @throws \Google\Service\Exception
*/
public function get($environmentType, $optParams = [])
{
$params = ['environmentType' => $environmentType];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], TestEnvironmentCatalogModel::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TestEnvironmentCatalog::class, 'Google_Service_Testing_Resource_TestEnvironmentCatalog');
@@ -0,0 +1,92 @@
<?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\Testing;
class ResultStorage extends \Google\Model
{
protected $googleCloudStorageType = GoogleCloudStorage::class;
protected $googleCloudStorageDataType = '';
/**
* @var string
*/
public $resultsUrl;
protected $toolResultsExecutionType = ToolResultsExecution::class;
protected $toolResultsExecutionDataType = '';
protected $toolResultsHistoryType = ToolResultsHistory::class;
protected $toolResultsHistoryDataType = '';
/**
* @param GoogleCloudStorage
*/
public function setGoogleCloudStorage(GoogleCloudStorage $googleCloudStorage)
{
$this->googleCloudStorage = $googleCloudStorage;
}
/**
* @return GoogleCloudStorage
*/
public function getGoogleCloudStorage()
{
return $this->googleCloudStorage;
}
/**
* @param string
*/
public function setResultsUrl($resultsUrl)
{
$this->resultsUrl = $resultsUrl;
}
/**
* @return string
*/
public function getResultsUrl()
{
return $this->resultsUrl;
}
/**
* @param ToolResultsExecution
*/
public function setToolResultsExecution(ToolResultsExecution $toolResultsExecution)
{
$this->toolResultsExecution = $toolResultsExecution;
}
/**
* @return ToolResultsExecution
*/
public function getToolResultsExecution()
{
return $this->toolResultsExecution;
}
/**
* @param ToolResultsHistory
*/
public function setToolResultsHistory(ToolResultsHistory $toolResultsHistory)
{
$this->toolResultsHistory = $toolResultsHistory;
}
/**
* @return ToolResultsHistory
*/
public function getToolResultsHistory()
{
return $this->toolResultsHistory;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ResultStorage::class, 'Google_Service_Testing_ResultStorage');
@@ -0,0 +1,80 @@
<?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\Testing;
class RoboDirective extends \Google\Model
{
/**
* @var string
*/
public $actionType;
/**
* @var string
*/
public $inputText;
/**
* @var string
*/
public $resourceName;
/**
* @param string
*/
public function setActionType($actionType)
{
$this->actionType = $actionType;
}
/**
* @return string
*/
public function getActionType()
{
return $this->actionType;
}
/**
* @param string
*/
public function setInputText($inputText)
{
$this->inputText = $inputText;
}
/**
* @return string
*/
public function getInputText()
{
return $this->inputText;
}
/**
* @param string
*/
public function setResourceName($resourceName)
{
$this->resourceName = $resourceName;
}
/**
* @return string
*/
public function getResourceName()
{
return $this->resourceName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RoboDirective::class, 'Google_Service_Testing_RoboDirective');
@@ -0,0 +1,92 @@
<?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\Testing;
class RoboStartingIntent extends \Google\Model
{
protected $launcherActivityType = LauncherActivityIntent::class;
protected $launcherActivityDataType = '';
protected $noActivityType = NoActivityIntent::class;
protected $noActivityDataType = '';
protected $startActivityType = StartActivityIntent::class;
protected $startActivityDataType = '';
/**
* @var string
*/
public $timeout;
/**
* @param LauncherActivityIntent
*/
public function setLauncherActivity(LauncherActivityIntent $launcherActivity)
{
$this->launcherActivity = $launcherActivity;
}
/**
* @return LauncherActivityIntent
*/
public function getLauncherActivity()
{
return $this->launcherActivity;
}
/**
* @param NoActivityIntent
*/
public function setNoActivity(NoActivityIntent $noActivity)
{
$this->noActivity = $noActivity;
}
/**
* @return NoActivityIntent
*/
public function getNoActivity()
{
return $this->noActivity;
}
/**
* @param StartActivityIntent
*/
public function setStartActivity(StartActivityIntent $startActivity)
{
$this->startActivity = $startActivity;
}
/**
* @return StartActivityIntent
*/
public function getStartActivity()
{
return $this->startActivity;
}
/**
* @param string
*/
public function setTimeout($timeout)
{
$this->timeout = $timeout;
}
/**
* @return string
*/
public function getTimeout()
{
return $this->timeout;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RoboStartingIntent::class, 'Google_Service_Testing_RoboStartingIntent');
@@ -0,0 +1,61 @@
<?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\Testing;
class Service extends \Google\Collection
{
protected $collection_key = 'intentFilter';
protected $intentFilterType = IntentFilter::class;
protected $intentFilterDataType = 'array';
/**
* @var string
*/
public $name;
/**
* @param IntentFilter[]
*/
public function setIntentFilter($intentFilter)
{
$this->intentFilter = $intentFilter;
}
/**
* @return IntentFilter[]
*/
public function getIntentFilter()
{
return $this->intentFilter;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Service::class, 'Google_Service_Testing_Service');
@@ -0,0 +1,80 @@
<?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\Testing;
class SessionStateEvent extends \Google\Model
{
/**
* @var string
*/
public $eventTime;
/**
* @var string
*/
public $sessionState;
/**
* @var string
*/
public $stateMessage;
/**
* @param string
*/
public function setEventTime($eventTime)
{
$this->eventTime = $eventTime;
}
/**
* @return string
*/
public function getEventTime()
{
return $this->eventTime;
}
/**
* @param string
*/
public function setSessionState($sessionState)
{
$this->sessionState = $sessionState;
}
/**
* @return string
*/
public function getSessionState()
{
return $this->sessionState;
}
/**
* @param string
*/
public function setStateMessage($stateMessage)
{
$this->stateMessage = $stateMessage;
}
/**
* @return string
*/
public function getStateMessage()
{
return $this->stateMessage;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SessionStateEvent::class, 'Google_Service_Testing_SessionStateEvent');
@@ -0,0 +1,96 @@
<?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\Testing;
class Shard extends \Google\Model
{
/**
* @var string
*/
public $estimatedShardDuration;
/**
* @var int
*/
public $numShards;
/**
* @var int
*/
public $shardIndex;
protected $testTargetsForShardType = TestTargetsForShard::class;
protected $testTargetsForShardDataType = '';
/**
* @param string
*/
public function setEstimatedShardDuration($estimatedShardDuration)
{
$this->estimatedShardDuration = $estimatedShardDuration;
}
/**
* @return string
*/
public function getEstimatedShardDuration()
{
return $this->estimatedShardDuration;
}
/**
* @param int
*/
public function setNumShards($numShards)
{
$this->numShards = $numShards;
}
/**
* @return int
*/
public function getNumShards()
{
return $this->numShards;
}
/**
* @param int
*/
public function setShardIndex($shardIndex)
{
$this->shardIndex = $shardIndex;
}
/**
* @return int
*/
public function getShardIndex()
{
return $this->shardIndex;
}
/**
* @param TestTargetsForShard
*/
public function setTestTargetsForShard(TestTargetsForShard $testTargetsForShard)
{
$this->testTargetsForShard = $testTargetsForShard;
}
/**
* @return TestTargetsForShard
*/
public function getTestTargetsForShard()
{
return $this->testTargetsForShard;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Shard::class, 'Google_Service_Testing_Shard');
@@ -0,0 +1,74 @@
<?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\Testing;
class ShardingOption extends \Google\Model
{
protected $manualShardingType = ManualSharding::class;
protected $manualShardingDataType = '';
protected $smartShardingType = SmartSharding::class;
protected $smartShardingDataType = '';
protected $uniformShardingType = UniformSharding::class;
protected $uniformShardingDataType = '';
/**
* @param ManualSharding
*/
public function setManualSharding(ManualSharding $manualSharding)
{
$this->manualSharding = $manualSharding;
}
/**
* @return ManualSharding
*/
public function getManualSharding()
{
return $this->manualSharding;
}
/**
* @param SmartSharding
*/
public function setSmartSharding(SmartSharding $smartSharding)
{
$this->smartSharding = $smartSharding;
}
/**
* @return SmartSharding
*/
public function getSmartSharding()
{
return $this->smartSharding;
}
/**
* @param UniformSharding
*/
public function setUniformSharding(UniformSharding $uniformSharding)
{
$this->uniformSharding = $uniformSharding;
}
/**
* @return UniformSharding
*/
public function getUniformSharding()
{
return $this->uniformSharding;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ShardingOption::class, 'Google_Service_Testing_ShardingOption');
@@ -0,0 +1,44 @@
<?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\Testing;
class SmartSharding extends \Google\Model
{
/**
* @var string
*/
public $targetedShardDuration;
/**
* @param string
*/
public function setTargetedShardDuration($targetedShardDuration)
{
$this->targetedShardDuration = $targetedShardDuration;
}
/**
* @return string
*/
public function getTargetedShardDuration()
{
return $this->targetedShardDuration;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SmartSharding::class, 'Google_Service_Testing_SmartSharding');
@@ -0,0 +1,81 @@
<?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\Testing;
class StartActivityIntent extends \Google\Collection
{
protected $collection_key = 'categories';
/**
* @var string
*/
public $action;
/**
* @var string[]
*/
public $categories;
/**
* @var string
*/
public $uri;
/**
* @param string
*/
public function setAction($action)
{
$this->action = $action;
}
/**
* @return string
*/
public function getAction()
{
return $this->action;
}
/**
* @param string[]
*/
public function setCategories($categories)
{
$this->categories = $categories;
}
/**
* @return string[]
*/
public function getCategories()
{
return $this->categories;
}
/**
* @param string
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(StartActivityIntent::class, 'Google_Service_Testing_StartActivityIntent');
@@ -0,0 +1,44 @@
<?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\Testing;
class SystraceSetup extends \Google\Model
{
/**
* @var int
*/
public $durationSeconds;
/**
* @param int
*/
public function setDurationSeconds($durationSeconds)
{
$this->durationSeconds = $durationSeconds;
}
/**
* @return int
*/
public function getDurationSeconds()
{
return $this->durationSeconds;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SystraceSetup::class, 'Google_Service_Testing_SystraceSetup');
@@ -0,0 +1,63 @@
<?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\Testing;
class TestDetails extends \Google\Collection
{
protected $collection_key = 'progressMessages';
/**
* @var string
*/
public $errorMessage;
/**
* @var string[]
*/
public $progressMessages;
/**
* @param string
*/
public function setErrorMessage($errorMessage)
{
$this->errorMessage = $errorMessage;
}
/**
* @return string
*/
public function getErrorMessage()
{
return $this->errorMessage;
}
/**
* @param string[]
*/
public function setProgressMessages($progressMessages)
{
$this->progressMessages = $progressMessages;
}
/**
* @return string[]
*/
public function getProgressMessages()
{
return $this->progressMessages;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TestDetails::class, 'Google_Service_Testing_TestDetails');
@@ -0,0 +1,106 @@
<?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\Testing;
class TestEnvironmentCatalog extends \Google\Model
{
protected $androidDeviceCatalogType = AndroidDeviceCatalog::class;
protected $androidDeviceCatalogDataType = '';
protected $deviceIpBlockCatalogType = DeviceIpBlockCatalog::class;
protected $deviceIpBlockCatalogDataType = '';
protected $iosDeviceCatalogType = IosDeviceCatalog::class;
protected $iosDeviceCatalogDataType = '';
protected $networkConfigurationCatalogType = NetworkConfigurationCatalog::class;
protected $networkConfigurationCatalogDataType = '';
protected $softwareCatalogType = ProvidedSoftwareCatalog::class;
protected $softwareCatalogDataType = '';
/**
* @param AndroidDeviceCatalog
*/
public function setAndroidDeviceCatalog(AndroidDeviceCatalog $androidDeviceCatalog)
{
$this->androidDeviceCatalog = $androidDeviceCatalog;
}
/**
* @return AndroidDeviceCatalog
*/
public function getAndroidDeviceCatalog()
{
return $this->androidDeviceCatalog;
}
/**
* @param DeviceIpBlockCatalog
*/
public function setDeviceIpBlockCatalog(DeviceIpBlockCatalog $deviceIpBlockCatalog)
{
$this->deviceIpBlockCatalog = $deviceIpBlockCatalog;
}
/**
* @return DeviceIpBlockCatalog
*/
public function getDeviceIpBlockCatalog()
{
return $this->deviceIpBlockCatalog;
}
/**
* @param IosDeviceCatalog
*/
public function setIosDeviceCatalog(IosDeviceCatalog $iosDeviceCatalog)
{
$this->iosDeviceCatalog = $iosDeviceCatalog;
}
/**
* @return IosDeviceCatalog
*/
public function getIosDeviceCatalog()
{
return $this->iosDeviceCatalog;
}
/**
* @param NetworkConfigurationCatalog
*/
public function setNetworkConfigurationCatalog(NetworkConfigurationCatalog $networkConfigurationCatalog)
{
$this->networkConfigurationCatalog = $networkConfigurationCatalog;
}
/**
* @return NetworkConfigurationCatalog
*/
public function getNetworkConfigurationCatalog()
{
return $this->networkConfigurationCatalog;
}
/**
* @param ProvidedSoftwareCatalog
*/
public function setSoftwareCatalog(ProvidedSoftwareCatalog $softwareCatalog)
{
$this->softwareCatalog = $softwareCatalog;
}
/**
* @return ProvidedSoftwareCatalog
*/
public function getSoftwareCatalog()
{
return $this->softwareCatalog;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TestEnvironmentCatalog::class, 'Google_Service_Testing_TestEnvironmentCatalog');
@@ -0,0 +1,196 @@
<?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\Testing;
class TestExecution extends \Google\Model
{
protected $environmentType = Environment::class;
protected $environmentDataType = '';
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $matrixId;
/**
* @var string
*/
public $projectId;
protected $shardType = Shard::class;
protected $shardDataType = '';
/**
* @var string
*/
public $state;
protected $testDetailsType = TestDetails::class;
protected $testDetailsDataType = '';
protected $testSpecificationType = TestSpecification::class;
protected $testSpecificationDataType = '';
/**
* @var string
*/
public $timestamp;
protected $toolResultsStepType = ToolResultsStep::class;
protected $toolResultsStepDataType = '';
/**
* @param Environment
*/
public function setEnvironment(Environment $environment)
{
$this->environment = $environment;
}
/**
* @return Environment
*/
public function getEnvironment()
{
return $this->environment;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setMatrixId($matrixId)
{
$this->matrixId = $matrixId;
}
/**
* @return string
*/
public function getMatrixId()
{
return $this->matrixId;
}
/**
* @param string
*/
public function setProjectId($projectId)
{
$this->projectId = $projectId;
}
/**
* @return string
*/
public function getProjectId()
{
return $this->projectId;
}
/**
* @param Shard
*/
public function setShard(Shard $shard)
{
$this->shard = $shard;
}
/**
* @return Shard
*/
public function getShard()
{
return $this->shard;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param TestDetails
*/
public function setTestDetails(TestDetails $testDetails)
{
$this->testDetails = $testDetails;
}
/**
* @return TestDetails
*/
public function getTestDetails()
{
return $this->testDetails;
}
/**
* @param TestSpecification
*/
public function setTestSpecification(TestSpecification $testSpecification)
{
$this->testSpecification = $testSpecification;
}
/**
* @return TestSpecification
*/
public function getTestSpecification()
{
return $this->testSpecification;
}
/**
* @param string
*/
public function setTimestamp($timestamp)
{
$this->timestamp = $timestamp;
}
/**
* @return string
*/
public function getTimestamp()
{
return $this->timestamp;
}
/**
* @param ToolResultsStep
*/
public function setToolResultsStep(ToolResultsStep $toolResultsStep)
{
$this->toolResultsStep = $toolResultsStep;
}
/**
* @return ToolResultsStep
*/
public function getToolResultsStep()
{
return $this->toolResultsStep;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TestExecution::class, 'Google_Service_Testing_TestExecution');
@@ -0,0 +1,267 @@
<?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\Testing;
class TestMatrix extends \Google\Collection
{
protected $collection_key = 'testExecutions';
protected $clientInfoType = ClientInfo::class;
protected $clientInfoDataType = '';
protected $environmentMatrixType = EnvironmentMatrix::class;
protected $environmentMatrixDataType = '';
protected $extendedInvalidMatrixDetailsType = MatrixErrorDetail::class;
protected $extendedInvalidMatrixDetailsDataType = 'array';
/**
* @var bool
*/
public $failFast;
/**
* @var int
*/
public $flakyTestAttempts;
/**
* @var string
*/
public $invalidMatrixDetails;
/**
* @var string
*/
public $outcomeSummary;
/**
* @var string
*/
public $projectId;
protected $resultStorageType = ResultStorage::class;
protected $resultStorageDataType = '';
/**
* @var string
*/
public $state;
protected $testExecutionsType = TestExecution::class;
protected $testExecutionsDataType = 'array';
/**
* @var string
*/
public $testMatrixId;
protected $testSpecificationType = TestSpecification::class;
protected $testSpecificationDataType = '';
/**
* @var string
*/
public $timestamp;
/**
* @param ClientInfo
*/
public function setClientInfo(ClientInfo $clientInfo)
{
$this->clientInfo = $clientInfo;
}
/**
* @return ClientInfo
*/
public function getClientInfo()
{
return $this->clientInfo;
}
/**
* @param EnvironmentMatrix
*/
public function setEnvironmentMatrix(EnvironmentMatrix $environmentMatrix)
{
$this->environmentMatrix = $environmentMatrix;
}
/**
* @return EnvironmentMatrix
*/
public function getEnvironmentMatrix()
{
return $this->environmentMatrix;
}
/**
* @param MatrixErrorDetail[]
*/
public function setExtendedInvalidMatrixDetails($extendedInvalidMatrixDetails)
{
$this->extendedInvalidMatrixDetails = $extendedInvalidMatrixDetails;
}
/**
* @return MatrixErrorDetail[]
*/
public function getExtendedInvalidMatrixDetails()
{
return $this->extendedInvalidMatrixDetails;
}
/**
* @param bool
*/
public function setFailFast($failFast)
{
$this->failFast = $failFast;
}
/**
* @return bool
*/
public function getFailFast()
{
return $this->failFast;
}
/**
* @param int
*/
public function setFlakyTestAttempts($flakyTestAttempts)
{
$this->flakyTestAttempts = $flakyTestAttempts;
}
/**
* @return int
*/
public function getFlakyTestAttempts()
{
return $this->flakyTestAttempts;
}
/**
* @param string
*/
public function setInvalidMatrixDetails($invalidMatrixDetails)
{
$this->invalidMatrixDetails = $invalidMatrixDetails;
}
/**
* @return string
*/
public function getInvalidMatrixDetails()
{
return $this->invalidMatrixDetails;
}
/**
* @param string
*/
public function setOutcomeSummary($outcomeSummary)
{
$this->outcomeSummary = $outcomeSummary;
}
/**
* @return string
*/
public function getOutcomeSummary()
{
return $this->outcomeSummary;
}
/**
* @param string
*/
public function setProjectId($projectId)
{
$this->projectId = $projectId;
}
/**
* @return string
*/
public function getProjectId()
{
return $this->projectId;
}
/**
* @param ResultStorage
*/
public function setResultStorage(ResultStorage $resultStorage)
{
$this->resultStorage = $resultStorage;
}
/**
* @return ResultStorage
*/
public function getResultStorage()
{
return $this->resultStorage;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param TestExecution[]
*/
public function setTestExecutions($testExecutions)
{
$this->testExecutions = $testExecutions;
}
/**
* @return TestExecution[]
*/
public function getTestExecutions()
{
return $this->testExecutions;
}
/**
* @param string
*/
public function setTestMatrixId($testMatrixId)
{
$this->testMatrixId = $testMatrixId;
}
/**
* @return string
*/
public function getTestMatrixId()
{
return $this->testMatrixId;
}
/**
* @param TestSpecification
*/
public function setTestSpecification(TestSpecification $testSpecification)
{
$this->testSpecification = $testSpecification;
}
/**
* @return TestSpecification
*/
public function getTestSpecification()
{
return $this->testSpecification;
}
/**
* @param string
*/
public function setTimestamp($timestamp)
{
$this->timestamp = $timestamp;
}
/**
* @return string
*/
public function getTimestamp()
{
return $this->timestamp;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TestMatrix::class, 'Google_Service_Testing_TestMatrix');
@@ -0,0 +1,177 @@
<?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\Testing;
class TestSetup extends \Google\Collection
{
protected $collection_key = 'initialSetupApks';
protected $accountType = Account::class;
protected $accountDataType = '';
protected $additionalApksType = Apk::class;
protected $additionalApksDataType = 'array';
/**
* @var string[]
*/
public $directoriesToPull;
/**
* @var bool
*/
public $dontAutograntPermissions;
protected $environmentVariablesType = EnvironmentVariable::class;
protected $environmentVariablesDataType = 'array';
protected $filesToPushType = DeviceFile::class;
protected $filesToPushDataType = 'array';
protected $initialSetupApksType = Apk::class;
protected $initialSetupApksDataType = 'array';
/**
* @var string
*/
public $networkProfile;
protected $systraceType = SystraceSetup::class;
protected $systraceDataType = '';
/**
* @param Account
*/
public function setAccount(Account $account)
{
$this->account = $account;
}
/**
* @return Account
*/
public function getAccount()
{
return $this->account;
}
/**
* @param Apk[]
*/
public function setAdditionalApks($additionalApks)
{
$this->additionalApks = $additionalApks;
}
/**
* @return Apk[]
*/
public function getAdditionalApks()
{
return $this->additionalApks;
}
/**
* @param string[]
*/
public function setDirectoriesToPull($directoriesToPull)
{
$this->directoriesToPull = $directoriesToPull;
}
/**
* @return string[]
*/
public function getDirectoriesToPull()
{
return $this->directoriesToPull;
}
/**
* @param bool
*/
public function setDontAutograntPermissions($dontAutograntPermissions)
{
$this->dontAutograntPermissions = $dontAutograntPermissions;
}
/**
* @return bool
*/
public function getDontAutograntPermissions()
{
return $this->dontAutograntPermissions;
}
/**
* @param EnvironmentVariable[]
*/
public function setEnvironmentVariables($environmentVariables)
{
$this->environmentVariables = $environmentVariables;
}
/**
* @return EnvironmentVariable[]
*/
public function getEnvironmentVariables()
{
return $this->environmentVariables;
}
/**
* @param DeviceFile[]
*/
public function setFilesToPush($filesToPush)
{
$this->filesToPush = $filesToPush;
}
/**
* @return DeviceFile[]
*/
public function getFilesToPush()
{
return $this->filesToPush;
}
/**
* @param Apk[]
*/
public function setInitialSetupApks($initialSetupApks)
{
$this->initialSetupApks = $initialSetupApks;
}
/**
* @return Apk[]
*/
public function getInitialSetupApks()
{
return $this->initialSetupApks;
}
/**
* @param string
*/
public function setNetworkProfile($networkProfile)
{
$this->networkProfile = $networkProfile;
}
/**
* @return string
*/
public function getNetworkProfile()
{
return $this->networkProfile;
}
/**
* @param SystraceSetup
*/
public function setSystrace(SystraceSetup $systrace)
{
$this->systrace = $systrace;
}
/**
* @return SystraceSetup
*/
public function getSystrace()
{
return $this->systrace;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TestSetup::class, 'Google_Service_Testing_TestSetup');
@@ -0,0 +1,208 @@
<?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\Testing;
class TestSpecification extends \Google\Model
{
protected $androidInstrumentationTestType = AndroidInstrumentationTest::class;
protected $androidInstrumentationTestDataType = '';
protected $androidRoboTestType = AndroidRoboTest::class;
protected $androidRoboTestDataType = '';
protected $androidTestLoopType = AndroidTestLoop::class;
protected $androidTestLoopDataType = '';
/**
* @var bool
*/
public $disablePerformanceMetrics;
/**
* @var bool
*/
public $disableVideoRecording;
protected $iosRoboTestType = IosRoboTest::class;
protected $iosRoboTestDataType = '';
protected $iosTestLoopType = IosTestLoop::class;
protected $iosTestLoopDataType = '';
protected $iosTestSetupType = IosTestSetup::class;
protected $iosTestSetupDataType = '';
protected $iosXcTestType = IosXcTest::class;
protected $iosXcTestDataType = '';
protected $testSetupType = TestSetup::class;
protected $testSetupDataType = '';
/**
* @var string
*/
public $testTimeout;
/**
* @param AndroidInstrumentationTest
*/
public function setAndroidInstrumentationTest(AndroidInstrumentationTest $androidInstrumentationTest)
{
$this->androidInstrumentationTest = $androidInstrumentationTest;
}
/**
* @return AndroidInstrumentationTest
*/
public function getAndroidInstrumentationTest()
{
return $this->androidInstrumentationTest;
}
/**
* @param AndroidRoboTest
*/
public function setAndroidRoboTest(AndroidRoboTest $androidRoboTest)
{
$this->androidRoboTest = $androidRoboTest;
}
/**
* @return AndroidRoboTest
*/
public function getAndroidRoboTest()
{
return $this->androidRoboTest;
}
/**
* @param AndroidTestLoop
*/
public function setAndroidTestLoop(AndroidTestLoop $androidTestLoop)
{
$this->androidTestLoop = $androidTestLoop;
}
/**
* @return AndroidTestLoop
*/
public function getAndroidTestLoop()
{
return $this->androidTestLoop;
}
/**
* @param bool
*/
public function setDisablePerformanceMetrics($disablePerformanceMetrics)
{
$this->disablePerformanceMetrics = $disablePerformanceMetrics;
}
/**
* @return bool
*/
public function getDisablePerformanceMetrics()
{
return $this->disablePerformanceMetrics;
}
/**
* @param bool
*/
public function setDisableVideoRecording($disableVideoRecording)
{
$this->disableVideoRecording = $disableVideoRecording;
}
/**
* @return bool
*/
public function getDisableVideoRecording()
{
return $this->disableVideoRecording;
}
/**
* @param IosRoboTest
*/
public function setIosRoboTest(IosRoboTest $iosRoboTest)
{
$this->iosRoboTest = $iosRoboTest;
}
/**
* @return IosRoboTest
*/
public function getIosRoboTest()
{
return $this->iosRoboTest;
}
/**
* @param IosTestLoop
*/
public function setIosTestLoop(IosTestLoop $iosTestLoop)
{
$this->iosTestLoop = $iosTestLoop;
}
/**
* @return IosTestLoop
*/
public function getIosTestLoop()
{
return $this->iosTestLoop;
}
/**
* @param IosTestSetup
*/
public function setIosTestSetup(IosTestSetup $iosTestSetup)
{
$this->iosTestSetup = $iosTestSetup;
}
/**
* @return IosTestSetup
*/
public function getIosTestSetup()
{
return $this->iosTestSetup;
}
/**
* @param IosXcTest
*/
public function setIosXcTest(IosXcTest $iosXcTest)
{
$this->iosXcTest = $iosXcTest;
}
/**
* @return IosXcTest
*/
public function getIosXcTest()
{
return $this->iosXcTest;
}
/**
* @param TestSetup
*/
public function setTestSetup(TestSetup $testSetup)
{
$this->testSetup = $testSetup;
}
/**
* @return TestSetup
*/
public function getTestSetup()
{
return $this->testSetup;
}
/**
* @param string
*/
public function setTestTimeout($testTimeout)
{
$this->testTimeout = $testTimeout;
}
/**
* @return string
*/
public function getTestTimeout()
{
return $this->testTimeout;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TestSpecification::class, 'Google_Service_Testing_TestSpecification');
@@ -0,0 +1,45 @@
<?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\Testing;
class TestTargetsForShard extends \Google\Collection
{
protected $collection_key = 'testTargets';
/**
* @var string[]
*/
public $testTargets;
/**
* @param string[]
*/
public function setTestTargets($testTargets)
{
$this->testTargets = $testTargets;
}
/**
* @return string[]
*/
public function getTestTargets()
{
return $this->testTargets;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TestTargetsForShard::class, 'Google_Service_Testing_TestTargetsForShard');
@@ -0,0 +1,25 @@
<?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\Testing;
class TestingEmpty extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TestingEmpty::class, 'Google_Service_Testing_TestingEmpty');
@@ -0,0 +1,80 @@
<?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\Testing;
class ToolResultsExecution extends \Google\Model
{
/**
* @var string
*/
public $executionId;
/**
* @var string
*/
public $historyId;
/**
* @var string
*/
public $projectId;
/**
* @param string
*/
public function setExecutionId($executionId)
{
$this->executionId = $executionId;
}
/**
* @return string
*/
public function getExecutionId()
{
return $this->executionId;
}
/**
* @param string
*/
public function setHistoryId($historyId)
{
$this->historyId = $historyId;
}
/**
* @return string
*/
public function getHistoryId()
{
return $this->historyId;
}
/**
* @param string
*/
public function setProjectId($projectId)
{
$this->projectId = $projectId;
}
/**
* @return string
*/
public function getProjectId()
{
return $this->projectId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ToolResultsExecution::class, 'Google_Service_Testing_ToolResultsExecution');
@@ -0,0 +1,62 @@
<?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\Testing;
class ToolResultsHistory extends \Google\Model
{
/**
* @var string
*/
public $historyId;
/**
* @var string
*/
public $projectId;
/**
* @param string
*/
public function setHistoryId($historyId)
{
$this->historyId = $historyId;
}
/**
* @return string
*/
public function getHistoryId()
{
return $this->historyId;
}
/**
* @param string
*/
public function setProjectId($projectId)
{
$this->projectId = $projectId;
}
/**
* @return string
*/
public function getProjectId()
{
return $this->projectId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ToolResultsHistory::class, 'Google_Service_Testing_ToolResultsHistory');
@@ -0,0 +1,98 @@
<?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\Testing;
class ToolResultsStep extends \Google\Model
{
/**
* @var string
*/
public $executionId;
/**
* @var string
*/
public $historyId;
/**
* @var string
*/
public $projectId;
/**
* @var string
*/
public $stepId;
/**
* @param string
*/
public function setExecutionId($executionId)
{
$this->executionId = $executionId;
}
/**
* @return string
*/
public function getExecutionId()
{
return $this->executionId;
}
/**
* @param string
*/
public function setHistoryId($historyId)
{
$this->historyId = $historyId;
}
/**
* @return string
*/
public function getHistoryId()
{
return $this->historyId;
}
/**
* @param string
*/
public function setProjectId($projectId)
{
$this->projectId = $projectId;
}
/**
* @return string
*/
public function getProjectId()
{
return $this->projectId;
}
/**
* @param string
*/
public function setStepId($stepId)
{
$this->stepId = $stepId;
}
/**
* @return string
*/
public function getStepId()
{
return $this->stepId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ToolResultsStep::class, 'Google_Service_Testing_ToolResultsStep');
@@ -0,0 +1,116 @@
<?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\Testing;
class TrafficRule extends \Google\Model
{
/**
* @var float
*/
public $bandwidth;
/**
* @var float
*/
public $burst;
/**
* @var string
*/
public $delay;
/**
* @var float
*/
public $packetDuplicationRatio;
/**
* @var float
*/
public $packetLossRatio;
/**
* @param float
*/
public function setBandwidth($bandwidth)
{
$this->bandwidth = $bandwidth;
}
/**
* @return float
*/
public function getBandwidth()
{
return $this->bandwidth;
}
/**
* @param float
*/
public function setBurst($burst)
{
$this->burst = $burst;
}
/**
* @return float
*/
public function getBurst()
{
return $this->burst;
}
/**
* @param string
*/
public function setDelay($delay)
{
$this->delay = $delay;
}
/**
* @return string
*/
public function getDelay()
{
return $this->delay;
}
/**
* @param float
*/
public function setPacketDuplicationRatio($packetDuplicationRatio)
{
$this->packetDuplicationRatio = $packetDuplicationRatio;
}
/**
* @return float
*/
public function getPacketDuplicationRatio()
{
return $this->packetDuplicationRatio;
}
/**
* @param float
*/
public function setPacketLossRatio($packetLossRatio)
{
$this->packetLossRatio = $packetLossRatio;
}
/**
* @return float
*/
public function getPacketLossRatio()
{
return $this->packetLossRatio;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TrafficRule::class, 'Google_Service_Testing_TrafficRule');
@@ -0,0 +1,44 @@
<?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\Testing;
class UniformSharding extends \Google\Model
{
/**
* @var int
*/
public $numShards;
/**
* @param int
*/
public function setNumShards($numShards)
{
$this->numShards = $numShards;
}
/**
* @return int
*/
public function getNumShards()
{
return $this->numShards;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(UniformSharding::class, 'Google_Service_Testing_UniformSharding');
@@ -0,0 +1,62 @@
<?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\Testing;
class UsesFeature extends \Google\Model
{
/**
* @var bool
*/
public $isRequired;
/**
* @var string
*/
public $name;
/**
* @param bool
*/
public function setIsRequired($isRequired)
{
$this->isRequired = $isRequired;
}
/**
* @return bool
*/
public function getIsRequired()
{
return $this->isRequired;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(UsesFeature::class, 'Google_Service_Testing_UsesFeature');
@@ -0,0 +1,62 @@
<?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\Testing;
class UsesPermissionTag extends \Google\Model
{
/**
* @var int
*/
public $maxSdkVersion;
/**
* @var string
*/
public $name;
/**
* @param int
*/
public function setMaxSdkVersion($maxSdkVersion)
{
$this->maxSdkVersion = $maxSdkVersion;
}
/**
* @return int
*/
public function getMaxSdkVersion()
{
return $this->maxSdkVersion;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(UsesPermissionTag::class, 'Google_Service_Testing_UsesPermissionTag');
@@ -0,0 +1,63 @@
<?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\Testing;
class XcodeVersion extends \Google\Collection
{
protected $collection_key = 'tags';
/**
* @var string[]
*/
public $tags;
/**
* @var string
*/
public $version;
/**
* @param string[]
*/
public function setTags($tags)
{
$this->tags = $tags;
}
/**
* @return string[]
*/
public function getTags()
{
return $this->tags;
}
/**
* @param string
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return string
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(XcodeVersion::class, 'Google_Service_Testing_XcodeVersion');