mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
Sync dependencies and remove duplicates.
This commit is contained in:
parent
4773d5fcba
commit
90a1066c9f
16469 changed files with 1044920 additions and 455861 deletions
|
@ -3,7 +3,10 @@
|
||||||
"description": "Audio Video Platform",
|
"description": "Audio Video Platform",
|
||||||
"type": "project",
|
"type": "project",
|
||||||
"config": {
|
"config": {
|
||||||
"vendor-dir": "objects"
|
"vendor-dir": "objects",
|
||||||
|
"platform": {
|
||||||
|
"php": "5.6.0"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=5.6.0",
|
"php": ">=5.6.0",
|
||||||
|
@ -11,8 +14,16 @@
|
||||||
"ext-json": "*",
|
"ext-json": "*",
|
||||||
"chrisjean/php-ico": "^1.0",
|
"chrisjean/php-ico": "^1.0",
|
||||||
"ezyang/htmlpurifier": "^4.13",
|
"ezyang/htmlpurifier": "^4.13",
|
||||||
|
"google/apiclient": "^2.1.2",
|
||||||
|
"google/apiclient-services": "^0.156",
|
||||||
|
"google/auth": "^1.14.3",
|
||||||
|
"guzzlehttp/guzzle": "^6.5",
|
||||||
|
"guzzlehttp/psr7": "^1.7",
|
||||||
"hybridauth/hybridauth": "^3.3",
|
"hybridauth/hybridauth": "^3.3",
|
||||||
"james-heinrich/getid3": "^1.9",
|
"james-heinrich/getid3": "^1.9",
|
||||||
"phpmailer/phpmailer": "^6.2"
|
"monolog/monolog": "^1.17",
|
||||||
|
"phpmailer/phpmailer": "^6.2",
|
||||||
|
"psr/cache": "^1.0",
|
||||||
|
"psr/http-message": "^1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
1037
composer.lock
generated
1037
composer.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -1,7 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
// autoload.php @generated by Composer
|
|
||||||
|
|
||||||
require_once __DIR__ . '/composer/autoload_real.php';
|
|
||||||
|
|
||||||
return ComposerAutoloaderInit29a52b99158b03ffe1b50f47f63b6fe7::getLoader();
|
|
|
@ -1,445 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
/*
|
|
||||||
* This file is part of Composer.
|
|
||||||
*
|
|
||||||
* (c) Nils Adermann <naderman@naderman.de>
|
|
||||||
* Jordi Boggiano <j.boggiano@seld.be>
|
|
||||||
*
|
|
||||||
* For the full copyright and license information, please view the LICENSE
|
|
||||||
* file that was distributed with this source code.
|
|
||||||
*/
|
|
||||||
|
|
||||||
namespace Composer\Autoload;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* ClassLoader implements a PSR-0, PSR-4 and classmap class loader.
|
|
||||||
*
|
|
||||||
* $loader = new \Composer\Autoload\ClassLoader();
|
|
||||||
*
|
|
||||||
* // register classes with namespaces
|
|
||||||
* $loader->add('Symfony\Component', __DIR__.'/component');
|
|
||||||
* $loader->add('Symfony', __DIR__.'/framework');
|
|
||||||
*
|
|
||||||
* // activate the autoloader
|
|
||||||
* $loader->register();
|
|
||||||
*
|
|
||||||
* // to enable searching the include path (eg. for PEAR packages)
|
|
||||||
* $loader->setUseIncludePath(true);
|
|
||||||
*
|
|
||||||
* In this example, if you try to use a class in the Symfony\Component
|
|
||||||
* namespace or one of its children (Symfony\Component\Console for instance),
|
|
||||||
* the autoloader will first look for the class under the component/
|
|
||||||
* directory, and it will then fallback to the framework/ directory if not
|
|
||||||
* found before giving up.
|
|
||||||
*
|
|
||||||
* This class is loosely based on the Symfony UniversalClassLoader.
|
|
||||||
*
|
|
||||||
* @author Fabien Potencier <fabien@symfony.com>
|
|
||||||
* @author Jordi Boggiano <j.boggiano@seld.be>
|
|
||||||
* @see http://www.php-fig.org/psr/psr-0/
|
|
||||||
* @see http://www.php-fig.org/psr/psr-4/
|
|
||||||
*/
|
|
||||||
class ClassLoader
|
|
||||||
{
|
|
||||||
// PSR-4
|
|
||||||
private $prefixLengthsPsr4 = array();
|
|
||||||
private $prefixDirsPsr4 = array();
|
|
||||||
private $fallbackDirsPsr4 = array();
|
|
||||||
|
|
||||||
// PSR-0
|
|
||||||
private $prefixesPsr0 = array();
|
|
||||||
private $fallbackDirsPsr0 = array();
|
|
||||||
|
|
||||||
private $useIncludePath = false;
|
|
||||||
private $classMap = array();
|
|
||||||
private $classMapAuthoritative = false;
|
|
||||||
private $missingClasses = array();
|
|
||||||
private $apcuPrefix;
|
|
||||||
|
|
||||||
public function getPrefixes()
|
|
||||||
{
|
|
||||||
if (!empty($this->prefixesPsr0)) {
|
|
||||||
return call_user_func_array('array_merge', $this->prefixesPsr0);
|
|
||||||
}
|
|
||||||
|
|
||||||
return array();
|
|
||||||
}
|
|
||||||
|
|
||||||
public function getPrefixesPsr4()
|
|
||||||
{
|
|
||||||
return $this->prefixDirsPsr4;
|
|
||||||
}
|
|
||||||
|
|
||||||
public function getFallbackDirs()
|
|
||||||
{
|
|
||||||
return $this->fallbackDirsPsr0;
|
|
||||||
}
|
|
||||||
|
|
||||||
public function getFallbackDirsPsr4()
|
|
||||||
{
|
|
||||||
return $this->fallbackDirsPsr4;
|
|
||||||
}
|
|
||||||
|
|
||||||
public function getClassMap()
|
|
||||||
{
|
|
||||||
return $this->classMap;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @param array $classMap Class to filename map
|
|
||||||
*/
|
|
||||||
public function addClassMap(array $classMap)
|
|
||||||
{
|
|
||||||
if ($this->classMap) {
|
|
||||||
$this->classMap = array_merge($this->classMap, $classMap);
|
|
||||||
} else {
|
|
||||||
$this->classMap = $classMap;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Registers a set of PSR-0 directories for a given prefix, either
|
|
||||||
* appending or prepending to the ones previously set for this prefix.
|
|
||||||
*
|
|
||||||
* @param string $prefix The prefix
|
|
||||||
* @param array|string $paths The PSR-0 root directories
|
|
||||||
* @param bool $prepend Whether to prepend the directories
|
|
||||||
*/
|
|
||||||
public function add($prefix, $paths, $prepend = false)
|
|
||||||
{
|
|
||||||
if (!$prefix) {
|
|
||||||
if ($prepend) {
|
|
||||||
$this->fallbackDirsPsr0 = array_merge(
|
|
||||||
(array) $paths,
|
|
||||||
$this->fallbackDirsPsr0
|
|
||||||
);
|
|
||||||
} else {
|
|
||||||
$this->fallbackDirsPsr0 = array_merge(
|
|
||||||
$this->fallbackDirsPsr0,
|
|
||||||
(array) $paths
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
$first = $prefix[0];
|
|
||||||
if (!isset($this->prefixesPsr0[$first][$prefix])) {
|
|
||||||
$this->prefixesPsr0[$first][$prefix] = (array) $paths;
|
|
||||||
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if ($prepend) {
|
|
||||||
$this->prefixesPsr0[$first][$prefix] = array_merge(
|
|
||||||
(array) $paths,
|
|
||||||
$this->prefixesPsr0[$first][$prefix]
|
|
||||||
);
|
|
||||||
} else {
|
|
||||||
$this->prefixesPsr0[$first][$prefix] = array_merge(
|
|
||||||
$this->prefixesPsr0[$first][$prefix],
|
|
||||||
(array) $paths
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Registers a set of PSR-4 directories for a given namespace, either
|
|
||||||
* appending or prepending to the ones previously set for this namespace.
|
|
||||||
*
|
|
||||||
* @param string $prefix The prefix/namespace, with trailing '\\'
|
|
||||||
* @param array|string $paths The PSR-4 base directories
|
|
||||||
* @param bool $prepend Whether to prepend the directories
|
|
||||||
*
|
|
||||||
* @throws \InvalidArgumentException
|
|
||||||
*/
|
|
||||||
public function addPsr4($prefix, $paths, $prepend = false)
|
|
||||||
{
|
|
||||||
if (!$prefix) {
|
|
||||||
// Register directories for the root namespace.
|
|
||||||
if ($prepend) {
|
|
||||||
$this->fallbackDirsPsr4 = array_merge(
|
|
||||||
(array) $paths,
|
|
||||||
$this->fallbackDirsPsr4
|
|
||||||
);
|
|
||||||
} else {
|
|
||||||
$this->fallbackDirsPsr4 = array_merge(
|
|
||||||
$this->fallbackDirsPsr4,
|
|
||||||
(array) $paths
|
|
||||||
);
|
|
||||||
}
|
|
||||||
} elseif (!isset($this->prefixDirsPsr4[$prefix])) {
|
|
||||||
// Register directories for a new namespace.
|
|
||||||
$length = strlen($prefix);
|
|
||||||
if ('\\' !== $prefix[$length - 1]) {
|
|
||||||
throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator.");
|
|
||||||
}
|
|
||||||
$this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
|
|
||||||
$this->prefixDirsPsr4[$prefix] = (array) $paths;
|
|
||||||
} elseif ($prepend) {
|
|
||||||
// Prepend directories for an already registered namespace.
|
|
||||||
$this->prefixDirsPsr4[$prefix] = array_merge(
|
|
||||||
(array) $paths,
|
|
||||||
$this->prefixDirsPsr4[$prefix]
|
|
||||||
);
|
|
||||||
} else {
|
|
||||||
// Append directories for an already registered namespace.
|
|
||||||
$this->prefixDirsPsr4[$prefix] = array_merge(
|
|
||||||
$this->prefixDirsPsr4[$prefix],
|
|
||||||
(array) $paths
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Registers a set of PSR-0 directories for a given prefix,
|
|
||||||
* replacing any others previously set for this prefix.
|
|
||||||
*
|
|
||||||
* @param string $prefix The prefix
|
|
||||||
* @param array|string $paths The PSR-0 base directories
|
|
||||||
*/
|
|
||||||
public function set($prefix, $paths)
|
|
||||||
{
|
|
||||||
if (!$prefix) {
|
|
||||||
$this->fallbackDirsPsr0 = (array) $paths;
|
|
||||||
} else {
|
|
||||||
$this->prefixesPsr0[$prefix[0]][$prefix] = (array) $paths;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Registers a set of PSR-4 directories for a given namespace,
|
|
||||||
* replacing any others previously set for this namespace.
|
|
||||||
*
|
|
||||||
* @param string $prefix The prefix/namespace, with trailing '\\'
|
|
||||||
* @param array|string $paths The PSR-4 base directories
|
|
||||||
*
|
|
||||||
* @throws \InvalidArgumentException
|
|
||||||
*/
|
|
||||||
public function setPsr4($prefix, $paths)
|
|
||||||
{
|
|
||||||
if (!$prefix) {
|
|
||||||
$this->fallbackDirsPsr4 = (array) $paths;
|
|
||||||
} else {
|
|
||||||
$length = strlen($prefix);
|
|
||||||
if ('\\' !== $prefix[$length - 1]) {
|
|
||||||
throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator.");
|
|
||||||
}
|
|
||||||
$this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
|
|
||||||
$this->prefixDirsPsr4[$prefix] = (array) $paths;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Turns on searching the include path for class files.
|
|
||||||
*
|
|
||||||
* @param bool $useIncludePath
|
|
||||||
*/
|
|
||||||
public function setUseIncludePath($useIncludePath)
|
|
||||||
{
|
|
||||||
$this->useIncludePath = $useIncludePath;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Can be used to check if the autoloader uses the include path to check
|
|
||||||
* for classes.
|
|
||||||
*
|
|
||||||
* @return bool
|
|
||||||
*/
|
|
||||||
public function getUseIncludePath()
|
|
||||||
{
|
|
||||||
return $this->useIncludePath;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Turns off searching the prefix and fallback directories for classes
|
|
||||||
* that have not been registered with the class map.
|
|
||||||
*
|
|
||||||
* @param bool $classMapAuthoritative
|
|
||||||
*/
|
|
||||||
public function setClassMapAuthoritative($classMapAuthoritative)
|
|
||||||
{
|
|
||||||
$this->classMapAuthoritative = $classMapAuthoritative;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Should class lookup fail if not found in the current class map?
|
|
||||||
*
|
|
||||||
* @return bool
|
|
||||||
*/
|
|
||||||
public function isClassMapAuthoritative()
|
|
||||||
{
|
|
||||||
return $this->classMapAuthoritative;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* APCu prefix to use to cache found/not-found classes, if the extension is enabled.
|
|
||||||
*
|
|
||||||
* @param string|null $apcuPrefix
|
|
||||||
*/
|
|
||||||
public function setApcuPrefix($apcuPrefix)
|
|
||||||
{
|
|
||||||
$this->apcuPrefix = function_exists('apcu_fetch') && ini_get('apc.enabled') ? $apcuPrefix : null;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The APCu prefix in use, or null if APCu caching is not enabled.
|
|
||||||
*
|
|
||||||
* @return string|null
|
|
||||||
*/
|
|
||||||
public function getApcuPrefix()
|
|
||||||
{
|
|
||||||
return $this->apcuPrefix;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Registers this instance as an autoloader.
|
|
||||||
*
|
|
||||||
* @param bool $prepend Whether to prepend the autoloader or not
|
|
||||||
*/
|
|
||||||
public function register($prepend = false)
|
|
||||||
{
|
|
||||||
spl_autoload_register(array($this, 'loadClass'), true, $prepend);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Unregisters this instance as an autoloader.
|
|
||||||
*/
|
|
||||||
public function unregister()
|
|
||||||
{
|
|
||||||
spl_autoload_unregister(array($this, 'loadClass'));
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Loads the given class or interface.
|
|
||||||
*
|
|
||||||
* @param string $class The name of the class
|
|
||||||
* @return bool|null True if loaded, null otherwise
|
|
||||||
*/
|
|
||||||
public function loadClass($class)
|
|
||||||
{
|
|
||||||
if ($file = $this->findFile($class)) {
|
|
||||||
includeFile($file);
|
|
||||||
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Finds the path to the file where the class is defined.
|
|
||||||
*
|
|
||||||
* @param string $class The name of the class
|
|
||||||
*
|
|
||||||
* @return string|false The path if found, false otherwise
|
|
||||||
*/
|
|
||||||
public function findFile($class)
|
|
||||||
{
|
|
||||||
// class map lookup
|
|
||||||
if (isset($this->classMap[$class])) {
|
|
||||||
return $this->classMap[$class];
|
|
||||||
}
|
|
||||||
if ($this->classMapAuthoritative || isset($this->missingClasses[$class])) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
if (null !== $this->apcuPrefix) {
|
|
||||||
$file = apcu_fetch($this->apcuPrefix.$class, $hit);
|
|
||||||
if ($hit) {
|
|
||||||
return $file;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
$file = $this->findFileWithExtension($class, '.php');
|
|
||||||
|
|
||||||
// Search for Hack files if we are running on HHVM
|
|
||||||
if (false === $file && defined('HHVM_VERSION')) {
|
|
||||||
$file = $this->findFileWithExtension($class, '.hh');
|
|
||||||
}
|
|
||||||
|
|
||||||
if (null !== $this->apcuPrefix) {
|
|
||||||
apcu_add($this->apcuPrefix.$class, $file);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (false === $file) {
|
|
||||||
// Remember that this class does not exist.
|
|
||||||
$this->missingClasses[$class] = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
return $file;
|
|
||||||
}
|
|
||||||
|
|
||||||
private function findFileWithExtension($class, $ext)
|
|
||||||
{
|
|
||||||
// PSR-4 lookup
|
|
||||||
$logicalPathPsr4 = strtr($class, '\\', DIRECTORY_SEPARATOR) . $ext;
|
|
||||||
|
|
||||||
$first = $class[0];
|
|
||||||
if (isset($this->prefixLengthsPsr4[$first])) {
|
|
||||||
$subPath = $class;
|
|
||||||
while (false !== $lastPos = strrpos($subPath, '\\')) {
|
|
||||||
$subPath = substr($subPath, 0, $lastPos);
|
|
||||||
$search = $subPath.'\\';
|
|
||||||
if (isset($this->prefixDirsPsr4[$search])) {
|
|
||||||
foreach ($this->prefixDirsPsr4[$search] as $dir) {
|
|
||||||
$length = $this->prefixLengthsPsr4[$first][$search];
|
|
||||||
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $length))) {
|
|
||||||
return $file;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// PSR-4 fallback dirs
|
|
||||||
foreach ($this->fallbackDirsPsr4 as $dir) {
|
|
||||||
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr4)) {
|
|
||||||
return $file;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// PSR-0 lookup
|
|
||||||
if (false !== $pos = strrpos($class, '\\')) {
|
|
||||||
// namespaced class name
|
|
||||||
$logicalPathPsr0 = substr($logicalPathPsr4, 0, $pos + 1)
|
|
||||||
. strtr(substr($logicalPathPsr4, $pos + 1), '_', DIRECTORY_SEPARATOR);
|
|
||||||
} else {
|
|
||||||
// PEAR-like class name
|
|
||||||
$logicalPathPsr0 = strtr($class, '_', DIRECTORY_SEPARATOR) . $ext;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (isset($this->prefixesPsr0[$first])) {
|
|
||||||
foreach ($this->prefixesPsr0[$first] as $prefix => $dirs) {
|
|
||||||
if (0 === strpos($class, $prefix)) {
|
|
||||||
foreach ($dirs as $dir) {
|
|
||||||
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
|
|
||||||
return $file;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// PSR-0 fallback dirs
|
|
||||||
foreach ($this->fallbackDirsPsr0 as $dir) {
|
|
||||||
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
|
|
||||||
return $file;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// PSR-0 include paths.
|
|
||||||
if ($this->useIncludePath && $file = stream_resolve_include_path($logicalPathPsr0)) {
|
|
||||||
return $file;
|
|
||||||
}
|
|
||||||
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Scope isolated include.
|
|
||||||
*
|
|
||||||
* Prevents access to $this/self from included files.
|
|
||||||
*/
|
|
||||||
function includeFile($file)
|
|
||||||
{
|
|
||||||
include $file;
|
|
||||||
}
|
|
|
@ -1,21 +0,0 @@
|
||||||
|
|
||||||
Copyright (c) Nils Adermann, Jordi Boggiano
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
|
||||||
in the Software without restriction, including without limitation the rights
|
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the Software is furnished
|
|
||||||
to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in all
|
|
||||||
copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
||||||
THE SOFTWARE.
|
|
||||||
|
|
|
@ -1,35 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
// autoload_classmap.php @generated by Composer
|
|
||||||
|
|
||||||
$vendorDir = dirname(dirname(__FILE__));
|
|
||||||
$baseDir = dirname($vendorDir);
|
|
||||||
|
|
||||||
return array(
|
|
||||||
'Google\\Auth\\ApplicationDefaultCredentials' => $vendorDir . '/google/auth/src/ApplicationDefaultCredentials.php',
|
|
||||||
'Google\\Auth\\CacheTrait' => $vendorDir . '/google/auth/src/CacheTrait.php',
|
|
||||||
'Google\\Auth\\Cache\\InvalidArgumentException' => $vendorDir . '/google/auth/src/Cache/InvalidArgumentException.php',
|
|
||||||
'Google\\Auth\\Cache\\Item' => $vendorDir . '/google/auth/src/Cache/Item.php',
|
|
||||||
'Google\\Auth\\Cache\\MemoryCacheItemPool' => $vendorDir . '/google/auth/src/Cache/MemoryCacheItemPool.php',
|
|
||||||
'Google\\Auth\\CredentialsLoader' => $vendorDir . '/google/auth/src/CredentialsLoader.php',
|
|
||||||
'Google\\Auth\\Credentials\\AppIdentityCredentials' => $vendorDir . '/google/auth/src/Credentials/AppIdentityCredentials.php',
|
|
||||||
'Google\\Auth\\Credentials\\GCECredentials' => $vendorDir . '/google/auth/src/Credentials/GCECredentials.php',
|
|
||||||
'Google\\Auth\\Credentials\\IAMCredentials' => $vendorDir . '/google/auth/src/Credentials/IAMCredentials.php',
|
|
||||||
'Google\\Auth\\Credentials\\ServiceAccountCredentials' => $vendorDir . '/google/auth/src/Credentials/ServiceAccountCredentials.php',
|
|
||||||
'Google\\Auth\\Credentials\\ServiceAccountJwtAccessCredentials' => $vendorDir . '/google/auth/src/Credentials/ServiceAccountJwtAccessCredentials.php',
|
|
||||||
'Google\\Auth\\Credentials\\UserRefreshCredentials' => $vendorDir . '/google/auth/src/Credentials/UserRefreshCredentials.php',
|
|
||||||
'Google\\Auth\\FetchAuthTokenCache' => $vendorDir . '/google/auth/src/FetchAuthTokenCache.php',
|
|
||||||
'Google\\Auth\\FetchAuthTokenInterface' => $vendorDir . '/google/auth/src/FetchAuthTokenInterface.php',
|
|
||||||
'Google\\Auth\\HttpHandler\\Guzzle5HttpHandler' => $vendorDir . '/google/auth/src/HttpHandler/Guzzle5HttpHandler.php',
|
|
||||||
'Google\\Auth\\HttpHandler\\Guzzle6HttpHandler' => $vendorDir . '/google/auth/src/HttpHandler/Guzzle6HttpHandler.php',
|
|
||||||
'Google\\Auth\\HttpHandler\\HttpHandlerFactory' => $vendorDir . '/google/auth/src/HttpHandler/HttpHandlerFactory.php',
|
|
||||||
'Google\\Auth\\Middleware\\AuthTokenMiddleware' => $vendorDir . '/google/auth/src/Middleware/AuthTokenMiddleware.php',
|
|
||||||
'Google\\Auth\\Middleware\\ScopedAccessTokenMiddleware' => $vendorDir . '/google/auth/src/Middleware/ScopedAccessTokenMiddleware.php',
|
|
||||||
'Google\\Auth\\Middleware\\SimpleMiddleware' => $vendorDir . '/google/auth/src/Middleware/SimpleMiddleware.php',
|
|
||||||
'Google\\Auth\\OAuth2' => $vendorDir . '/google/auth/src/OAuth2.php',
|
|
||||||
'Google\\Auth\\Subscriber\\AuthTokenSubscriber' => $vendorDir . '/google/auth/src/Subscriber/AuthTokenSubscriber.php',
|
|
||||||
'Google\\Auth\\Subscriber\\ScopedAccessTokenSubscriber' => $vendorDir . '/google/auth/src/Subscriber/ScopedAccessTokenSubscriber.php',
|
|
||||||
'Google\\Auth\\Subscriber\\SimpleSubscriber' => $vendorDir . '/google/auth/src/Subscriber/SimpleSubscriber.php',
|
|
||||||
'Google_Service_Exception' => $vendorDir . '/google/apiclient/src/Google/Service/Exception.php',
|
|
||||||
'Google_Service_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Resource.php',
|
|
||||||
);
|
|
|
@ -1,13 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
// autoload_files.php @generated by Composer
|
|
||||||
|
|
||||||
$vendorDir = dirname(dirname(__FILE__));
|
|
||||||
$baseDir = dirname($vendorDir);
|
|
||||||
|
|
||||||
return array(
|
|
||||||
'a0edc8309cc5e1d60e3047b5df6b7052' => $vendorDir . '/guzzlehttp/psr7/src/functions_include.php',
|
|
||||||
'c964ee0ededf28c96ebd9db5099ef910' => $vendorDir . '/guzzlehttp/promises/src/functions_include.php',
|
|
||||||
'37a3dc5111fe8f707ab4c132ef1dbc62' => $vendorDir . '/guzzlehttp/guzzle/src/functions_include.php',
|
|
||||||
'decc78cc4436b1292c6c0d151b19445c' => $vendorDir . '/phpseclib/phpseclib/phpseclib/bootstrap.php',
|
|
||||||
);
|
|
|
@ -1,11 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
// autoload_namespaces.php @generated by Composer
|
|
||||||
|
|
||||||
$vendorDir = dirname(dirname(__FILE__));
|
|
||||||
$baseDir = dirname($vendorDir);
|
|
||||||
|
|
||||||
return array(
|
|
||||||
'Google_Service_' => array($vendorDir . '/google/apiclient-services/src'),
|
|
||||||
'Google_' => array($vendorDir . '/google/apiclient/src'),
|
|
||||||
);
|
|
|
@ -1,19 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
// autoload_psr4.php @generated by Composer
|
|
||||||
|
|
||||||
$vendorDir = dirname(dirname(__FILE__));
|
|
||||||
$baseDir = dirname($vendorDir);
|
|
||||||
|
|
||||||
return array(
|
|
||||||
'phpseclib\\' => array($vendorDir . '/phpseclib/phpseclib/phpseclib'),
|
|
||||||
'Psr\\Log\\' => array($vendorDir . '/psr/log/Psr/Log'),
|
|
||||||
'Psr\\Http\\Message\\' => array($vendorDir . '/psr/http-message/src'),
|
|
||||||
'Psr\\Cache\\' => array($vendorDir . '/psr/cache/src'),
|
|
||||||
'Monolog\\' => array($vendorDir . '/monolog/monolog/src/Monolog'),
|
|
||||||
'GuzzleHttp\\Psr7\\' => array($vendorDir . '/guzzlehttp/psr7/src'),
|
|
||||||
'GuzzleHttp\\Promise\\' => array($vendorDir . '/guzzlehttp/promises/src'),
|
|
||||||
'GuzzleHttp\\' => array($vendorDir . '/guzzlehttp/guzzle/src'),
|
|
||||||
'Google\\Auth\\' => array($vendorDir . '/google/auth/src'),
|
|
||||||
'Firebase\\JWT\\' => array($vendorDir . '/firebase/php-jwt/src'),
|
|
||||||
);
|
|
|
@ -1,70 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
// autoload_real.php @generated by Composer
|
|
||||||
|
|
||||||
class ComposerAutoloaderInit29a52b99158b03ffe1b50f47f63b6fe7
|
|
||||||
{
|
|
||||||
private static $loader;
|
|
||||||
|
|
||||||
public static function loadClassLoader($class)
|
|
||||||
{
|
|
||||||
if ('Composer\Autoload\ClassLoader' === $class) {
|
|
||||||
require __DIR__ . '/ClassLoader.php';
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public static function getLoader()
|
|
||||||
{
|
|
||||||
if (null !== self::$loader) {
|
|
||||||
return self::$loader;
|
|
||||||
}
|
|
||||||
|
|
||||||
spl_autoload_register(array('ComposerAutoloaderInit29a52b99158b03ffe1b50f47f63b6fe7', 'loadClassLoader'), true, true);
|
|
||||||
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
|
||||||
spl_autoload_unregister(array('ComposerAutoloaderInit29a52b99158b03ffe1b50f47f63b6fe7', 'loadClassLoader'));
|
|
||||||
|
|
||||||
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
|
||||||
if ($useStaticLoader) {
|
|
||||||
require_once __DIR__ . '/autoload_static.php';
|
|
||||||
|
|
||||||
call_user_func(\Composer\Autoload\ComposerStaticInit29a52b99158b03ffe1b50f47f63b6fe7::getInitializer($loader));
|
|
||||||
} else {
|
|
||||||
$map = require __DIR__ . '/autoload_namespaces.php';
|
|
||||||
foreach ($map as $namespace => $path) {
|
|
||||||
$loader->set($namespace, $path);
|
|
||||||
}
|
|
||||||
|
|
||||||
$map = require __DIR__ . '/autoload_psr4.php';
|
|
||||||
foreach ($map as $namespace => $path) {
|
|
||||||
$loader->setPsr4($namespace, $path);
|
|
||||||
}
|
|
||||||
|
|
||||||
$classMap = require __DIR__ . '/autoload_classmap.php';
|
|
||||||
if ($classMap) {
|
|
||||||
$loader->addClassMap($classMap);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
$loader->register(true);
|
|
||||||
|
|
||||||
if ($useStaticLoader) {
|
|
||||||
$includeFiles = Composer\Autoload\ComposerStaticInit29a52b99158b03ffe1b50f47f63b6fe7::$files;
|
|
||||||
} else {
|
|
||||||
$includeFiles = require __DIR__ . '/autoload_files.php';
|
|
||||||
}
|
|
||||||
foreach ($includeFiles as $fileIdentifier => $file) {
|
|
||||||
composerRequire29a52b99158b03ffe1b50f47f63b6fe7($fileIdentifier, $file);
|
|
||||||
}
|
|
||||||
|
|
||||||
return $loader;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function composerRequire29a52b99158b03ffe1b50f47f63b6fe7($fileIdentifier, $file)
|
|
||||||
{
|
|
||||||
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
|
||||||
require $file;
|
|
||||||
|
|
||||||
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,140 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
// autoload_static.php @generated by Composer
|
|
||||||
|
|
||||||
namespace Composer\Autoload;
|
|
||||||
|
|
||||||
class ComposerStaticInit29a52b99158b03ffe1b50f47f63b6fe7
|
|
||||||
{
|
|
||||||
public static $files = array (
|
|
||||||
'a0edc8309cc5e1d60e3047b5df6b7052' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/functions_include.php',
|
|
||||||
'c964ee0ededf28c96ebd9db5099ef910' => __DIR__ . '/..' . '/guzzlehttp/promises/src/functions_include.php',
|
|
||||||
'37a3dc5111fe8f707ab4c132ef1dbc62' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/functions_include.php',
|
|
||||||
'decc78cc4436b1292c6c0d151b19445c' => __DIR__ . '/..' . '/phpseclib/phpseclib/phpseclib/bootstrap.php',
|
|
||||||
);
|
|
||||||
|
|
||||||
public static $prefixLengthsPsr4 = array (
|
|
||||||
'p' =>
|
|
||||||
array (
|
|
||||||
'phpseclib\\' => 10,
|
|
||||||
),
|
|
||||||
'P' =>
|
|
||||||
array (
|
|
||||||
'Psr\\Log\\' => 8,
|
|
||||||
'Psr\\Http\\Message\\' => 17,
|
|
||||||
'Psr\\Cache\\' => 10,
|
|
||||||
),
|
|
||||||
'M' =>
|
|
||||||
array (
|
|
||||||
'Monolog\\' => 8,
|
|
||||||
),
|
|
||||||
'G' =>
|
|
||||||
array (
|
|
||||||
'GuzzleHttp\\Psr7\\' => 16,
|
|
||||||
'GuzzleHttp\\Promise\\' => 19,
|
|
||||||
'GuzzleHttp\\' => 11,
|
|
||||||
'Google\\Auth\\' => 12,
|
|
||||||
),
|
|
||||||
'F' =>
|
|
||||||
array (
|
|
||||||
'Firebase\\JWT\\' => 13,
|
|
||||||
),
|
|
||||||
);
|
|
||||||
|
|
||||||
public static $prefixDirsPsr4 = array (
|
|
||||||
'phpseclib\\' =>
|
|
||||||
array (
|
|
||||||
0 => __DIR__ . '/..' . '/phpseclib/phpseclib/phpseclib',
|
|
||||||
),
|
|
||||||
'Psr\\Log\\' =>
|
|
||||||
array (
|
|
||||||
0 => __DIR__ . '/..' . '/psr/log/Psr/Log',
|
|
||||||
),
|
|
||||||
'Psr\\Http\\Message\\' =>
|
|
||||||
array (
|
|
||||||
0 => __DIR__ . '/..' . '/psr/http-message/src',
|
|
||||||
),
|
|
||||||
'Psr\\Cache\\' =>
|
|
||||||
array (
|
|
||||||
0 => __DIR__ . '/..' . '/psr/cache/src',
|
|
||||||
),
|
|
||||||
'Monolog\\' =>
|
|
||||||
array (
|
|
||||||
0 => __DIR__ . '/..' . '/monolog/monolog/src/Monolog',
|
|
||||||
),
|
|
||||||
'GuzzleHttp\\Psr7\\' =>
|
|
||||||
array (
|
|
||||||
0 => __DIR__ . '/..' . '/guzzlehttp/psr7/src',
|
|
||||||
),
|
|
||||||
'GuzzleHttp\\Promise\\' =>
|
|
||||||
array (
|
|
||||||
0 => __DIR__ . '/..' . '/guzzlehttp/promises/src',
|
|
||||||
),
|
|
||||||
'GuzzleHttp\\' =>
|
|
||||||
array (
|
|
||||||
0 => __DIR__ . '/..' . '/guzzlehttp/guzzle/src',
|
|
||||||
),
|
|
||||||
'Google\\Auth\\' =>
|
|
||||||
array (
|
|
||||||
0 => __DIR__ . '/..' . '/google/auth/src',
|
|
||||||
),
|
|
||||||
'Firebase\\JWT\\' =>
|
|
||||||
array (
|
|
||||||
0 => __DIR__ . '/..' . '/firebase/php-jwt/src',
|
|
||||||
),
|
|
||||||
);
|
|
||||||
|
|
||||||
public static $prefixesPsr0 = array (
|
|
||||||
'G' =>
|
|
||||||
array (
|
|
||||||
'Google_Service_' =>
|
|
||||||
array (
|
|
||||||
0 => __DIR__ . '/..' . '/google/apiclient-services/src',
|
|
||||||
),
|
|
||||||
'Google_' =>
|
|
||||||
array (
|
|
||||||
0 => __DIR__ . '/..' . '/google/apiclient/src',
|
|
||||||
),
|
|
||||||
),
|
|
||||||
);
|
|
||||||
|
|
||||||
public static $classMap = array (
|
|
||||||
'Google\\Auth\\ApplicationDefaultCredentials' => __DIR__ . '/..' . '/google/auth/src/ApplicationDefaultCredentials.php',
|
|
||||||
'Google\\Auth\\CacheTrait' => __DIR__ . '/..' . '/google/auth/src/CacheTrait.php',
|
|
||||||
'Google\\Auth\\Cache\\InvalidArgumentException' => __DIR__ . '/..' . '/google/auth/src/Cache/InvalidArgumentException.php',
|
|
||||||
'Google\\Auth\\Cache\\Item' => __DIR__ . '/..' . '/google/auth/src/Cache/Item.php',
|
|
||||||
'Google\\Auth\\Cache\\MemoryCacheItemPool' => __DIR__ . '/..' . '/google/auth/src/Cache/MemoryCacheItemPool.php',
|
|
||||||
'Google\\Auth\\CredentialsLoader' => __DIR__ . '/..' . '/google/auth/src/CredentialsLoader.php',
|
|
||||||
'Google\\Auth\\Credentials\\AppIdentityCredentials' => __DIR__ . '/..' . '/google/auth/src/Credentials/AppIdentityCredentials.php',
|
|
||||||
'Google\\Auth\\Credentials\\GCECredentials' => __DIR__ . '/..' . '/google/auth/src/Credentials/GCECredentials.php',
|
|
||||||
'Google\\Auth\\Credentials\\IAMCredentials' => __DIR__ . '/..' . '/google/auth/src/Credentials/IAMCredentials.php',
|
|
||||||
'Google\\Auth\\Credentials\\ServiceAccountCredentials' => __DIR__ . '/..' . '/google/auth/src/Credentials/ServiceAccountCredentials.php',
|
|
||||||
'Google\\Auth\\Credentials\\ServiceAccountJwtAccessCredentials' => __DIR__ . '/..' . '/google/auth/src/Credentials/ServiceAccountJwtAccessCredentials.php',
|
|
||||||
'Google\\Auth\\Credentials\\UserRefreshCredentials' => __DIR__ . '/..' . '/google/auth/src/Credentials/UserRefreshCredentials.php',
|
|
||||||
'Google\\Auth\\FetchAuthTokenCache' => __DIR__ . '/..' . '/google/auth/src/FetchAuthTokenCache.php',
|
|
||||||
'Google\\Auth\\FetchAuthTokenInterface' => __DIR__ . '/..' . '/google/auth/src/FetchAuthTokenInterface.php',
|
|
||||||
'Google\\Auth\\HttpHandler\\Guzzle5HttpHandler' => __DIR__ . '/..' . '/google/auth/src/HttpHandler/Guzzle5HttpHandler.php',
|
|
||||||
'Google\\Auth\\HttpHandler\\Guzzle6HttpHandler' => __DIR__ . '/..' . '/google/auth/src/HttpHandler/Guzzle6HttpHandler.php',
|
|
||||||
'Google\\Auth\\HttpHandler\\HttpHandlerFactory' => __DIR__ . '/..' . '/google/auth/src/HttpHandler/HttpHandlerFactory.php',
|
|
||||||
'Google\\Auth\\Middleware\\AuthTokenMiddleware' => __DIR__ . '/..' . '/google/auth/src/Middleware/AuthTokenMiddleware.php',
|
|
||||||
'Google\\Auth\\Middleware\\ScopedAccessTokenMiddleware' => __DIR__ . '/..' . '/google/auth/src/Middleware/ScopedAccessTokenMiddleware.php',
|
|
||||||
'Google\\Auth\\Middleware\\SimpleMiddleware' => __DIR__ . '/..' . '/google/auth/src/Middleware/SimpleMiddleware.php',
|
|
||||||
'Google\\Auth\\OAuth2' => __DIR__ . '/..' . '/google/auth/src/OAuth2.php',
|
|
||||||
'Google\\Auth\\Subscriber\\AuthTokenSubscriber' => __DIR__ . '/..' . '/google/auth/src/Subscriber/AuthTokenSubscriber.php',
|
|
||||||
'Google\\Auth\\Subscriber\\ScopedAccessTokenSubscriber' => __DIR__ . '/..' . '/google/auth/src/Subscriber/ScopedAccessTokenSubscriber.php',
|
|
||||||
'Google\\Auth\\Subscriber\\SimpleSubscriber' => __DIR__ . '/..' . '/google/auth/src/Subscriber/SimpleSubscriber.php',
|
|
||||||
'Google_Service_Exception' => __DIR__ . '/..' . '/google/apiclient/src/Google/Service/Exception.php',
|
|
||||||
'Google_Service_Resource' => __DIR__ . '/..' . '/google/apiclient/src/Google/Service/Resource.php',
|
|
||||||
);
|
|
||||||
|
|
||||||
public static function getInitializer(ClassLoader $loader)
|
|
||||||
{
|
|
||||||
return \Closure::bind(function () use ($loader) {
|
|
||||||
$loader->prefixLengthsPsr4 = ComposerStaticInit29a52b99158b03ffe1b50f47f63b6fe7::$prefixLengthsPsr4;
|
|
||||||
$loader->prefixDirsPsr4 = ComposerStaticInit29a52b99158b03ffe1b50f47f63b6fe7::$prefixDirsPsr4;
|
|
||||||
$loader->prefixesPsr0 = ComposerStaticInit29a52b99158b03ffe1b50f47f63b6fe7::$prefixesPsr0;
|
|
||||||
$loader->classMap = ComposerStaticInit29a52b99158b03ffe1b50f47f63b6fe7::$classMap;
|
|
||||||
|
|
||||||
}, null, ClassLoader::class);
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,707 +0,0 @@
|
||||||
[
|
|
||||||
{
|
|
||||||
"name": "psr/http-message",
|
|
||||||
"version": "1.0.1",
|
|
||||||
"version_normalized": "1.0.1.0",
|
|
||||||
"source": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/php-fig/http-message.git",
|
|
||||||
"reference": "f6561bf28d520154e4b0ec72be95418abe6d9363"
|
|
||||||
},
|
|
||||||
"dist": {
|
|
||||||
"type": "zip",
|
|
||||||
"url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363",
|
|
||||||
"reference": "f6561bf28d520154e4b0ec72be95418abe6d9363",
|
|
||||||
"shasum": ""
|
|
||||||
},
|
|
||||||
"require": {
|
|
||||||
"php": ">=5.3.0"
|
|
||||||
},
|
|
||||||
"time": "2016-08-06T14:39:51+00:00",
|
|
||||||
"type": "library",
|
|
||||||
"extra": {
|
|
||||||
"branch-alias": {
|
|
||||||
"dev-master": "1.0.x-dev"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"installation-source": "dist",
|
|
||||||
"autoload": {
|
|
||||||
"psr-4": {
|
|
||||||
"Psr\\Http\\Message\\": "src/"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"notification-url": "https://packagist.org/downloads/",
|
|
||||||
"license": [
|
|
||||||
"MIT"
|
|
||||||
],
|
|
||||||
"authors": [
|
|
||||||
{
|
|
||||||
"name": "PHP-FIG",
|
|
||||||
"homepage": "http://www.php-fig.org/"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"description": "Common interface for HTTP messages",
|
|
||||||
"homepage": "https://github.com/php-fig/http-message",
|
|
||||||
"keywords": [
|
|
||||||
"http",
|
|
||||||
"http-message",
|
|
||||||
"psr",
|
|
||||||
"psr-7",
|
|
||||||
"request",
|
|
||||||
"response"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "guzzlehttp/psr7",
|
|
||||||
"version": "1.4.2",
|
|
||||||
"version_normalized": "1.4.2.0",
|
|
||||||
"source": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/guzzle/psr7.git",
|
|
||||||
"reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c"
|
|
||||||
},
|
|
||||||
"dist": {
|
|
||||||
"type": "zip",
|
|
||||||
"url": "https://api.github.com/repos/guzzle/psr7/zipball/f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
|
|
||||||
"reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
|
|
||||||
"shasum": ""
|
|
||||||
},
|
|
||||||
"require": {
|
|
||||||
"php": ">=5.4.0",
|
|
||||||
"psr/http-message": "~1.0"
|
|
||||||
},
|
|
||||||
"provide": {
|
|
||||||
"psr/http-message-implementation": "1.0"
|
|
||||||
},
|
|
||||||
"require-dev": {
|
|
||||||
"phpunit/phpunit": "~4.0"
|
|
||||||
},
|
|
||||||
"time": "2017-03-20T17:10:46+00:00",
|
|
||||||
"type": "library",
|
|
||||||
"extra": {
|
|
||||||
"branch-alias": {
|
|
||||||
"dev-master": "1.4-dev"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"installation-source": "dist",
|
|
||||||
"autoload": {
|
|
||||||
"psr-4": {
|
|
||||||
"GuzzleHttp\\Psr7\\": "src/"
|
|
||||||
},
|
|
||||||
"files": [
|
|
||||||
"src/functions_include.php"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"notification-url": "https://packagist.org/downloads/",
|
|
||||||
"license": [
|
|
||||||
"MIT"
|
|
||||||
],
|
|
||||||
"authors": [
|
|
||||||
{
|
|
||||||
"name": "Michael Dowling",
|
|
||||||
"email": "mtdowling@gmail.com",
|
|
||||||
"homepage": "https://github.com/mtdowling"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Tobias Schultze",
|
|
||||||
"homepage": "https://github.com/Tobion"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"description": "PSR-7 message implementation that also provides common utility methods",
|
|
||||||
"keywords": [
|
|
||||||
"http",
|
|
||||||
"message",
|
|
||||||
"request",
|
|
||||||
"response",
|
|
||||||
"stream",
|
|
||||||
"uri",
|
|
||||||
"url"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "guzzlehttp/promises",
|
|
||||||
"version": "v1.3.1",
|
|
||||||
"version_normalized": "1.3.1.0",
|
|
||||||
"source": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/guzzle/promises.git",
|
|
||||||
"reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646"
|
|
||||||
},
|
|
||||||
"dist": {
|
|
||||||
"type": "zip",
|
|
||||||
"url": "https://api.github.com/repos/guzzle/promises/zipball/a59da6cf61d80060647ff4d3eb2c03a2bc694646",
|
|
||||||
"reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646",
|
|
||||||
"shasum": ""
|
|
||||||
},
|
|
||||||
"require": {
|
|
||||||
"php": ">=5.5.0"
|
|
||||||
},
|
|
||||||
"require-dev": {
|
|
||||||
"phpunit/phpunit": "^4.0"
|
|
||||||
},
|
|
||||||
"time": "2016-12-20T10:07:11+00:00",
|
|
||||||
"type": "library",
|
|
||||||
"extra": {
|
|
||||||
"branch-alias": {
|
|
||||||
"dev-master": "1.4-dev"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"installation-source": "dist",
|
|
||||||
"autoload": {
|
|
||||||
"psr-4": {
|
|
||||||
"GuzzleHttp\\Promise\\": "src/"
|
|
||||||
},
|
|
||||||
"files": [
|
|
||||||
"src/functions_include.php"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"notification-url": "https://packagist.org/downloads/",
|
|
||||||
"license": [
|
|
||||||
"MIT"
|
|
||||||
],
|
|
||||||
"authors": [
|
|
||||||
{
|
|
||||||
"name": "Michael Dowling",
|
|
||||||
"email": "mtdowling@gmail.com",
|
|
||||||
"homepage": "https://github.com/mtdowling"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"description": "Guzzle promises library",
|
|
||||||
"keywords": [
|
|
||||||
"promise"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "guzzlehttp/guzzle",
|
|
||||||
"version": "6.3.0",
|
|
||||||
"version_normalized": "6.3.0.0",
|
|
||||||
"source": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/guzzle/guzzle.git",
|
|
||||||
"reference": "f4db5a78a5ea468d4831de7f0bf9d9415e348699"
|
|
||||||
},
|
|
||||||
"dist": {
|
|
||||||
"type": "zip",
|
|
||||||
"url": "https://api.github.com/repos/guzzle/guzzle/zipball/f4db5a78a5ea468d4831de7f0bf9d9415e348699",
|
|
||||||
"reference": "f4db5a78a5ea468d4831de7f0bf9d9415e348699",
|
|
||||||
"shasum": ""
|
|
||||||
},
|
|
||||||
"require": {
|
|
||||||
"guzzlehttp/promises": "^1.0",
|
|
||||||
"guzzlehttp/psr7": "^1.4",
|
|
||||||
"php": ">=5.5"
|
|
||||||
},
|
|
||||||
"require-dev": {
|
|
||||||
"ext-curl": "*",
|
|
||||||
"phpunit/phpunit": "^4.0 || ^5.0",
|
|
||||||
"psr/log": "^1.0"
|
|
||||||
},
|
|
||||||
"suggest": {
|
|
||||||
"psr/log": "Required for using the Log middleware"
|
|
||||||
},
|
|
||||||
"time": "2017-06-22T18:50:49+00:00",
|
|
||||||
"type": "library",
|
|
||||||
"extra": {
|
|
||||||
"branch-alias": {
|
|
||||||
"dev-master": "6.2-dev"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"installation-source": "dist",
|
|
||||||
"autoload": {
|
|
||||||
"files": [
|
|
||||||
"src/functions_include.php"
|
|
||||||
],
|
|
||||||
"psr-4": {
|
|
||||||
"GuzzleHttp\\": "src/"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"notification-url": "https://packagist.org/downloads/",
|
|
||||||
"license": [
|
|
||||||
"MIT"
|
|
||||||
],
|
|
||||||
"authors": [
|
|
||||||
{
|
|
||||||
"name": "Michael Dowling",
|
|
||||||
"email": "mtdowling@gmail.com",
|
|
||||||
"homepage": "https://github.com/mtdowling"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"description": "Guzzle is a PHP HTTP client library",
|
|
||||||
"homepage": "http://guzzlephp.org/",
|
|
||||||
"keywords": [
|
|
||||||
"client",
|
|
||||||
"curl",
|
|
||||||
"framework",
|
|
||||||
"http",
|
|
||||||
"http client",
|
|
||||||
"rest",
|
|
||||||
"web service"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "phpseclib/phpseclib",
|
|
||||||
"version": "2.0.6",
|
|
||||||
"version_normalized": "2.0.6.0",
|
|
||||||
"source": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/phpseclib/phpseclib.git",
|
|
||||||
"reference": "34a7699e6f31b1ef4035ee36444407cecf9f56aa"
|
|
||||||
},
|
|
||||||
"dist": {
|
|
||||||
"type": "zip",
|
|
||||||
"url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/34a7699e6f31b1ef4035ee36444407cecf9f56aa",
|
|
||||||
"reference": "34a7699e6f31b1ef4035ee36444407cecf9f56aa",
|
|
||||||
"shasum": ""
|
|
||||||
},
|
|
||||||
"require": {
|
|
||||||
"php": ">=5.3.3"
|
|
||||||
},
|
|
||||||
"require-dev": {
|
|
||||||
"phing/phing": "~2.7",
|
|
||||||
"phpunit/phpunit": "~4.0",
|
|
||||||
"sami/sami": "~2.0",
|
|
||||||
"squizlabs/php_codesniffer": "~2.0"
|
|
||||||
},
|
|
||||||
"suggest": {
|
|
||||||
"ext-gmp": "Install the GMP (GNU Multiple Precision) extension in order to speed up arbitrary precision integer arithmetic operations.",
|
|
||||||
"ext-libsodium": "SSH2/SFTP can make use of some algorithms provided by the libsodium-php extension.",
|
|
||||||
"ext-mcrypt": "Install the Mcrypt extension in order to speed up a few other cryptographic operations.",
|
|
||||||
"ext-openssl": "Install the OpenSSL extension in order to speed up a wide variety of cryptographic operations."
|
|
||||||
},
|
|
||||||
"time": "2017-06-05T06:31:10+00:00",
|
|
||||||
"type": "library",
|
|
||||||
"installation-source": "dist",
|
|
||||||
"autoload": {
|
|
||||||
"files": [
|
|
||||||
"phpseclib/bootstrap.php"
|
|
||||||
],
|
|
||||||
"psr-4": {
|
|
||||||
"phpseclib\\": "phpseclib/"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"notification-url": "https://packagist.org/downloads/",
|
|
||||||
"license": [
|
|
||||||
"MIT"
|
|
||||||
],
|
|
||||||
"authors": [
|
|
||||||
{
|
|
||||||
"name": "Jim Wigginton",
|
|
||||||
"email": "terrafrost@php.net",
|
|
||||||
"role": "Lead Developer"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Patrick Monnerat",
|
|
||||||
"email": "pm@datasphere.ch",
|
|
||||||
"role": "Developer"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Andreas Fischer",
|
|
||||||
"email": "bantu@phpbb.com",
|
|
||||||
"role": "Developer"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Hans-Jürgen Petrich",
|
|
||||||
"email": "petrich@tronic-media.com",
|
|
||||||
"role": "Developer"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Graham Campbell",
|
|
||||||
"email": "graham@alt-three.com",
|
|
||||||
"role": "Developer"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"description": "PHP Secure Communications Library - Pure-PHP implementations of RSA, AES, SSH2, SFTP, X.509 etc.",
|
|
||||||
"homepage": "http://phpseclib.sourceforge.net",
|
|
||||||
"keywords": [
|
|
||||||
"BigInteger",
|
|
||||||
"aes",
|
|
||||||
"asn.1",
|
|
||||||
"asn1",
|
|
||||||
"blowfish",
|
|
||||||
"crypto",
|
|
||||||
"cryptography",
|
|
||||||
"encryption",
|
|
||||||
"rsa",
|
|
||||||
"security",
|
|
||||||
"sftp",
|
|
||||||
"signature",
|
|
||||||
"signing",
|
|
||||||
"ssh",
|
|
||||||
"twofish",
|
|
||||||
"x.509",
|
|
||||||
"x509"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "psr/log",
|
|
||||||
"version": "1.0.2",
|
|
||||||
"version_normalized": "1.0.2.0",
|
|
||||||
"source": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/php-fig/log.git",
|
|
||||||
"reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d"
|
|
||||||
},
|
|
||||||
"dist": {
|
|
||||||
"type": "zip",
|
|
||||||
"url": "https://api.github.com/repos/php-fig/log/zipball/4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
|
|
||||||
"reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
|
|
||||||
"shasum": ""
|
|
||||||
},
|
|
||||||
"require": {
|
|
||||||
"php": ">=5.3.0"
|
|
||||||
},
|
|
||||||
"time": "2016-10-10T12:19:37+00:00",
|
|
||||||
"type": "library",
|
|
||||||
"extra": {
|
|
||||||
"branch-alias": {
|
|
||||||
"dev-master": "1.0.x-dev"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"installation-source": "dist",
|
|
||||||
"autoload": {
|
|
||||||
"psr-4": {
|
|
||||||
"Psr\\Log\\": "Psr/Log/"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"notification-url": "https://packagist.org/downloads/",
|
|
||||||
"license": [
|
|
||||||
"MIT"
|
|
||||||
],
|
|
||||||
"authors": [
|
|
||||||
{
|
|
||||||
"name": "PHP-FIG",
|
|
||||||
"homepage": "http://www.php-fig.org/"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"description": "Common interface for logging libraries",
|
|
||||||
"homepage": "https://github.com/php-fig/log",
|
|
||||||
"keywords": [
|
|
||||||
"log",
|
|
||||||
"psr",
|
|
||||||
"psr-3"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "monolog/monolog",
|
|
||||||
"version": "1.23.0",
|
|
||||||
"version_normalized": "1.23.0.0",
|
|
||||||
"source": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/Seldaek/monolog.git",
|
|
||||||
"reference": "fd8c787753b3a2ad11bc60c063cff1358a32a3b4"
|
|
||||||
},
|
|
||||||
"dist": {
|
|
||||||
"type": "zip",
|
|
||||||
"url": "https://api.github.com/repos/Seldaek/monolog/zipball/fd8c787753b3a2ad11bc60c063cff1358a32a3b4",
|
|
||||||
"reference": "fd8c787753b3a2ad11bc60c063cff1358a32a3b4",
|
|
||||||
"shasum": ""
|
|
||||||
},
|
|
||||||
"require": {
|
|
||||||
"php": ">=5.3.0",
|
|
||||||
"psr/log": "~1.0"
|
|
||||||
},
|
|
||||||
"provide": {
|
|
||||||
"psr/log-implementation": "1.0.0"
|
|
||||||
},
|
|
||||||
"require-dev": {
|
|
||||||
"aws/aws-sdk-php": "^2.4.9 || ^3.0",
|
|
||||||
"doctrine/couchdb": "~1.0@dev",
|
|
||||||
"graylog2/gelf-php": "~1.0",
|
|
||||||
"jakub-onderka/php-parallel-lint": "0.9",
|
|
||||||
"php-amqplib/php-amqplib": "~2.4",
|
|
||||||
"php-console/php-console": "^3.1.3",
|
|
||||||
"phpunit/phpunit": "~4.5",
|
|
||||||
"phpunit/phpunit-mock-objects": "2.3.0",
|
|
||||||
"ruflin/elastica": ">=0.90 <3.0",
|
|
||||||
"sentry/sentry": "^0.13",
|
|
||||||
"swiftmailer/swiftmailer": "^5.3|^6.0"
|
|
||||||
},
|
|
||||||
"suggest": {
|
|
||||||
"aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB",
|
|
||||||
"doctrine/couchdb": "Allow sending log messages to a CouchDB server",
|
|
||||||
"ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)",
|
|
||||||
"ext-mongo": "Allow sending log messages to a MongoDB server",
|
|
||||||
"graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server",
|
|
||||||
"mongodb/mongodb": "Allow sending log messages to a MongoDB server via PHP Driver",
|
|
||||||
"php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib",
|
|
||||||
"php-console/php-console": "Allow sending log messages to Google Chrome",
|
|
||||||
"rollbar/rollbar": "Allow sending log messages to Rollbar",
|
|
||||||
"ruflin/elastica": "Allow sending log messages to an Elastic Search server",
|
|
||||||
"sentry/sentry": "Allow sending log messages to a Sentry server"
|
|
||||||
},
|
|
||||||
"time": "2017-06-19T01:22:40+00:00",
|
|
||||||
"type": "library",
|
|
||||||
"extra": {
|
|
||||||
"branch-alias": {
|
|
||||||
"dev-master": "2.0.x-dev"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"installation-source": "dist",
|
|
||||||
"autoload": {
|
|
||||||
"psr-4": {
|
|
||||||
"Monolog\\": "src/Monolog"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"notification-url": "https://packagist.org/downloads/",
|
|
||||||
"license": [
|
|
||||||
"MIT"
|
|
||||||
],
|
|
||||||
"authors": [
|
|
||||||
{
|
|
||||||
"name": "Jordi Boggiano",
|
|
||||||
"email": "j.boggiano@seld.be",
|
|
||||||
"homepage": "http://seld.be"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"description": "Sends your logs to files, sockets, inboxes, databases and various web services",
|
|
||||||
"homepage": "http://github.com/Seldaek/monolog",
|
|
||||||
"keywords": [
|
|
||||||
"log",
|
|
||||||
"logging",
|
|
||||||
"psr-3"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "firebase/php-jwt",
|
|
||||||
"version": "v4.0.0",
|
|
||||||
"version_normalized": "4.0.0.0",
|
|
||||||
"source": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/firebase/php-jwt.git",
|
|
||||||
"reference": "dccf163dc8ed7ed6a00afc06c51ee5186a428d35"
|
|
||||||
},
|
|
||||||
"dist": {
|
|
||||||
"type": "zip",
|
|
||||||
"url": "https://api.github.com/repos/firebase/php-jwt/zipball/dccf163dc8ed7ed6a00afc06c51ee5186a428d35",
|
|
||||||
"reference": "dccf163dc8ed7ed6a00afc06c51ee5186a428d35",
|
|
||||||
"shasum": ""
|
|
||||||
},
|
|
||||||
"require": {
|
|
||||||
"php": ">=5.3.0"
|
|
||||||
},
|
|
||||||
"time": "2016-07-18T04:51:16+00:00",
|
|
||||||
"type": "library",
|
|
||||||
"installation-source": "dist",
|
|
||||||
"autoload": {
|
|
||||||
"psr-4": {
|
|
||||||
"Firebase\\JWT\\": "src"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"notification-url": "https://packagist.org/downloads/",
|
|
||||||
"license": [
|
|
||||||
"BSD-3-Clause"
|
|
||||||
],
|
|
||||||
"authors": [
|
|
||||||
{
|
|
||||||
"name": "Neuman Vong",
|
|
||||||
"email": "neuman+pear@twilio.com",
|
|
||||||
"role": "Developer"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Anant Narayanan",
|
|
||||||
"email": "anant@php.net",
|
|
||||||
"role": "Developer"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"description": "A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.",
|
|
||||||
"homepage": "https://github.com/firebase/php-jwt"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "google/apiclient-services",
|
|
||||||
"version": "v0.11",
|
|
||||||
"version_normalized": "0.11.0.0",
|
|
||||||
"source": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/google/google-api-php-client-services.git",
|
|
||||||
"reference": "48c554aee06f2fd5700d7bdfa4fa6b82d184eb52"
|
|
||||||
},
|
|
||||||
"dist": {
|
|
||||||
"type": "zip",
|
|
||||||
"url": "https://api.github.com/repos/google/google-api-php-client-services/zipball/48c554aee06f2fd5700d7bdfa4fa6b82d184eb52",
|
|
||||||
"reference": "48c554aee06f2fd5700d7bdfa4fa6b82d184eb52",
|
|
||||||
"shasum": ""
|
|
||||||
},
|
|
||||||
"require": {
|
|
||||||
"php": ">=5.4"
|
|
||||||
},
|
|
||||||
"require-dev": {
|
|
||||||
"phpunit/phpunit": "~4.8"
|
|
||||||
},
|
|
||||||
"time": "2017-03-13T17:40:44+00:00",
|
|
||||||
"type": "library",
|
|
||||||
"installation-source": "dist",
|
|
||||||
"autoload": {
|
|
||||||
"psr-0": {
|
|
||||||
"Google_Service_": "src"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"notification-url": "https://packagist.org/downloads/",
|
|
||||||
"license": [
|
|
||||||
"Apache-2.0"
|
|
||||||
],
|
|
||||||
"description": "Client library for Google APIs",
|
|
||||||
"homepage": "http://developers.google.com/api-client-library/php",
|
|
||||||
"keywords": [
|
|
||||||
"google"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "psr/cache",
|
|
||||||
"version": "1.0.1",
|
|
||||||
"version_normalized": "1.0.1.0",
|
|
||||||
"source": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/php-fig/cache.git",
|
|
||||||
"reference": "d11b50ad223250cf17b86e38383413f5a6764bf8"
|
|
||||||
},
|
|
||||||
"dist": {
|
|
||||||
"type": "zip",
|
|
||||||
"url": "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8",
|
|
||||||
"reference": "d11b50ad223250cf17b86e38383413f5a6764bf8",
|
|
||||||
"shasum": ""
|
|
||||||
},
|
|
||||||
"require": {
|
|
||||||
"php": ">=5.3.0"
|
|
||||||
},
|
|
||||||
"time": "2016-08-06T20:24:11+00:00",
|
|
||||||
"type": "library",
|
|
||||||
"extra": {
|
|
||||||
"branch-alias": {
|
|
||||||
"dev-master": "1.0.x-dev"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"installation-source": "dist",
|
|
||||||
"autoload": {
|
|
||||||
"psr-4": {
|
|
||||||
"Psr\\Cache\\": "src/"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"notification-url": "https://packagist.org/downloads/",
|
|
||||||
"license": [
|
|
||||||
"MIT"
|
|
||||||
],
|
|
||||||
"authors": [
|
|
||||||
{
|
|
||||||
"name": "PHP-FIG",
|
|
||||||
"homepage": "http://www.php-fig.org/"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"description": "Common interface for caching libraries",
|
|
||||||
"keywords": [
|
|
||||||
"cache",
|
|
||||||
"psr",
|
|
||||||
"psr-6"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "google/auth",
|
|
||||||
"version": "v0.11.1",
|
|
||||||
"version_normalized": "0.11.1.0",
|
|
||||||
"source": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/google/google-auth-library-php.git",
|
|
||||||
"reference": "a240674b08a09949fd5597f7590b3ed83663a12d"
|
|
||||||
},
|
|
||||||
"dist": {
|
|
||||||
"type": "zip",
|
|
||||||
"url": "https://api.github.com/repos/google/google-auth-library-php/zipball/a240674b08a09949fd5597f7590b3ed83663a12d",
|
|
||||||
"reference": "a240674b08a09949fd5597f7590b3ed83663a12d",
|
|
||||||
"shasum": ""
|
|
||||||
},
|
|
||||||
"require": {
|
|
||||||
"firebase/php-jwt": "~2.0|~3.0|~4.0",
|
|
||||||
"guzzlehttp/guzzle": "~5.3|~6.0",
|
|
||||||
"guzzlehttp/psr7": "~1.2",
|
|
||||||
"php": ">=5.4",
|
|
||||||
"psr/cache": "^1.0",
|
|
||||||
"psr/http-message": "^1.0"
|
|
||||||
},
|
|
||||||
"require-dev": {
|
|
||||||
"friendsofphp/php-cs-fixer": "^1.11",
|
|
||||||
"phpunit/phpunit": "3.7.*"
|
|
||||||
},
|
|
||||||
"time": "2016-11-02T14:59:14+00:00",
|
|
||||||
"type": "library",
|
|
||||||
"installation-source": "dist",
|
|
||||||
"autoload": {
|
|
||||||
"classmap": [
|
|
||||||
"src/"
|
|
||||||
],
|
|
||||||
"psr-4": {
|
|
||||||
"Google\\Auth\\": "src"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"notification-url": "https://packagist.org/downloads/",
|
|
||||||
"license": [
|
|
||||||
"Apache-2.0"
|
|
||||||
],
|
|
||||||
"description": "Google Auth Library for PHP",
|
|
||||||
"homepage": "http://github.com/google/google-auth-library-php",
|
|
||||||
"keywords": [
|
|
||||||
"Authentication",
|
|
||||||
"google",
|
|
||||||
"oauth2"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "google/apiclient",
|
|
||||||
"version": "v2.1.3",
|
|
||||||
"version_normalized": "2.1.3.0",
|
|
||||||
"source": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/google/google-api-php-client.git",
|
|
||||||
"reference": "43996f09df274158fd04fce98e8a82effe5f3717"
|
|
||||||
},
|
|
||||||
"dist": {
|
|
||||||
"type": "zip",
|
|
||||||
"url": "https://api.github.com/repos/google/google-api-php-client/zipball/43996f09df274158fd04fce98e8a82effe5f3717",
|
|
||||||
"reference": "43996f09df274158fd04fce98e8a82effe5f3717",
|
|
||||||
"shasum": ""
|
|
||||||
},
|
|
||||||
"require": {
|
|
||||||
"firebase/php-jwt": "~2.0|~3.0|~4.0",
|
|
||||||
"google/apiclient-services": "^0.11",
|
|
||||||
"google/auth": "^0.11",
|
|
||||||
"guzzlehttp/guzzle": "~5.2|~6.0",
|
|
||||||
"guzzlehttp/psr7": "^1.2",
|
|
||||||
"monolog/monolog": "^1.17",
|
|
||||||
"php": ">=5.4",
|
|
||||||
"phpseclib/phpseclib": "~0.3.10|~2.0"
|
|
||||||
},
|
|
||||||
"require-dev": {
|
|
||||||
"cache/filesystem-adapter": "^0.3.2",
|
|
||||||
"phpunit/phpunit": "~4",
|
|
||||||
"squizlabs/php_codesniffer": "~2.3",
|
|
||||||
"symfony/css-selector": "~2.1",
|
|
||||||
"symfony/dom-crawler": "~2.1"
|
|
||||||
},
|
|
||||||
"suggest": {
|
|
||||||
"cache/filesystem-adapter": "For caching certs and tokens (using Google_Client::setCache)"
|
|
||||||
},
|
|
||||||
"time": "2017-03-22T18:32:04+00:00",
|
|
||||||
"type": "library",
|
|
||||||
"extra": {
|
|
||||||
"branch-alias": {
|
|
||||||
"dev-master": "2.x-dev"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"installation-source": "dist",
|
|
||||||
"autoload": {
|
|
||||||
"psr-0": {
|
|
||||||
"Google_": "src/"
|
|
||||||
},
|
|
||||||
"classmap": [
|
|
||||||
"src/Google/Service/"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"notification-url": "https://packagist.org/downloads/",
|
|
||||||
"license": [
|
|
||||||
"Apache-2.0"
|
|
||||||
],
|
|
||||||
"description": "Client library for Google APIs",
|
|
||||||
"homepage": "http://developers.google.com/api-client-library/php",
|
|
||||||
"keywords": [
|
|
||||||
"google"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
|
@ -1,30 +0,0 @@
|
||||||
Copyright (c) 2011, Neuman Vong
|
|
||||||
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
Redistribution and use in source and binary forms, with or without
|
|
||||||
modification, are permitted provided that the following conditions are met:
|
|
||||||
|
|
||||||
* Redistributions of source code must retain the above copyright
|
|
||||||
notice, this list of conditions and the following disclaimer.
|
|
||||||
|
|
||||||
* Redistributions in binary form must reproduce the above
|
|
||||||
copyright notice, this list of conditions and the following
|
|
||||||
disclaimer in the documentation and/or other materials provided
|
|
||||||
with the distribution.
|
|
||||||
|
|
||||||
* Neither the name of Neuman Vong nor the names of other
|
|
||||||
contributors may be used to endorse or promote products derived
|
|
||||||
from this software without specific prior written permission.
|
|
||||||
|
|
||||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
||||||
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
||||||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
||||||
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
||||||
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
||||||
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
||||||
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
||||||
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
||||||
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
||||||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
||||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
@ -1,119 +0,0 @@
|
||||||
[](https://travis-ci.org/firebase/php-jwt)
|
|
||||||
[](https://packagist.org/packages/firebase/php-jwt)
|
|
||||||
[](https://packagist.org/packages/firebase/php-jwt)
|
|
||||||
[](https://packagist.org/packages/firebase/php-jwt)
|
|
||||||
|
|
||||||
PHP-JWT
|
|
||||||
=======
|
|
||||||
A simple library to encode and decode JSON Web Tokens (JWT) in PHP, conforming to [RFC 7519](https://tools.ietf.org/html/rfc7519).
|
|
||||||
|
|
||||||
Installation
|
|
||||||
------------
|
|
||||||
|
|
||||||
Use composer to manage your dependencies and download PHP-JWT:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
composer require firebase/php-jwt
|
|
||||||
```
|
|
||||||
|
|
||||||
Example
|
|
||||||
-------
|
|
||||||
```php
|
|
||||||
<?php
|
|
||||||
use \Firebase\JWT\JWT;
|
|
||||||
|
|
||||||
$key = "example_key";
|
|
||||||
$token = array(
|
|
||||||
"iss" => "http://example.org",
|
|
||||||
"aud" => "http://example.com",
|
|
||||||
"iat" => 1356999524,
|
|
||||||
"nbf" => 1357000000
|
|
||||||
);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* IMPORTANT:
|
|
||||||
* You must specify supported algorithms for your application. See
|
|
||||||
* https://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-40
|
|
||||||
* for a list of spec-compliant algorithms.
|
|
||||||
*/
|
|
||||||
$jwt = JWT::encode($token, $key);
|
|
||||||
$decoded = JWT::decode($jwt, $key, array('HS256'));
|
|
||||||
|
|
||||||
print_r($decoded);
|
|
||||||
|
|
||||||
/*
|
|
||||||
NOTE: This will now be an object instead of an associative array. To get
|
|
||||||
an associative array, you will need to cast it as such:
|
|
||||||
*/
|
|
||||||
|
|
||||||
$decoded_array = (array) $decoded;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* You can add a leeway to account for when there is a clock skew times between
|
|
||||||
* the signing and verifying servers. It is recommended that this leeway should
|
|
||||||
* not be bigger than a few minutes.
|
|
||||||
*
|
|
||||||
* Source: http://self-issued.info/docs/draft-ietf-oauth-json-web-token.html#nbfDef
|
|
||||||
*/
|
|
||||||
JWT::$leeway = 60; // $leeway in seconds
|
|
||||||
$decoded = JWT::decode($jwt, $key, array('HS256'));
|
|
||||||
|
|
||||||
?>
|
|
||||||
```
|
|
||||||
|
|
||||||
Changelog
|
|
||||||
---------
|
|
||||||
|
|
||||||
#### 4.0.0 / 2016-07-17
|
|
||||||
- Add support for late static binding. See [#88](https://github.com/firebase/php-jwt/pull/88) for details. Thanks to [@chappy84](https://github.com/chappy84)!
|
|
||||||
- Use static `$timestamp` instead of `time()` to improve unit testing. See [#93](https://github.com/firebase/php-jwt/pull/93) for details. Thanks to [@josephmcdermott](https://github.com/josephmcdermott)!
|
|
||||||
- Fixes to exceptions classes. See [#81](https://github.com/firebase/php-jwt/pull/81) for details. Thanks to [@Maks3w](https://github.com/Maks3w)!
|
|
||||||
- Fixes to PHPDoc. See [#76](https://github.com/firebase/php-jwt/pull/76) for details. Thanks to [@akeeman](https://github.com/akeeman)!
|
|
||||||
|
|
||||||
#### 3.0.0 / 2015-07-22
|
|
||||||
- Minimum PHP version updated from `5.2.0` to `5.3.0`.
|
|
||||||
- Add `\Firebase\JWT` namespace. See
|
|
||||||
[#59](https://github.com/firebase/php-jwt/pull/59) for details. Thanks to
|
|
||||||
[@Dashron](https://github.com/Dashron)!
|
|
||||||
- Require a non-empty key to decode and verify a JWT. See
|
|
||||||
[#60](https://github.com/firebase/php-jwt/pull/60) for details. Thanks to
|
|
||||||
[@sjones608](https://github.com/sjones608)!
|
|
||||||
- Cleaner documentation blocks in the code. See
|
|
||||||
[#62](https://github.com/firebase/php-jwt/pull/62) for details. Thanks to
|
|
||||||
[@johanderuijter](https://github.com/johanderuijter)!
|
|
||||||
|
|
||||||
#### 2.2.0 / 2015-06-22
|
|
||||||
- Add support for adding custom, optional JWT headers to `JWT::encode()`. See
|
|
||||||
[#53](https://github.com/firebase/php-jwt/pull/53/files) for details. Thanks to
|
|
||||||
[@mcocaro](https://github.com/mcocaro)!
|
|
||||||
|
|
||||||
#### 2.1.0 / 2015-05-20
|
|
||||||
- Add support for adding a leeway to `JWT:decode()` that accounts for clock skew
|
|
||||||
between signing and verifying entities. Thanks to [@lcabral](https://github.com/lcabral)!
|
|
||||||
- Add support for passing an object implementing the `ArrayAccess` interface for
|
|
||||||
`$keys` argument in `JWT::decode()`. Thanks to [@aztech-dev](https://github.com/aztech-dev)!
|
|
||||||
|
|
||||||
#### 2.0.0 / 2015-04-01
|
|
||||||
- **Note**: It is strongly recommended that you update to > v2.0.0 to address
|
|
||||||
known security vulnerabilities in prior versions when both symmetric and
|
|
||||||
asymmetric keys are used together.
|
|
||||||
- Update signature for `JWT::decode(...)` to require an array of supported
|
|
||||||
algorithms to use when verifying token signatures.
|
|
||||||
|
|
||||||
|
|
||||||
Tests
|
|
||||||
-----
|
|
||||||
Run the tests using phpunit:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
$ pear install PHPUnit
|
|
||||||
$ phpunit --configuration phpunit.xml.dist
|
|
||||||
PHPUnit 3.7.10 by Sebastian Bergmann.
|
|
||||||
.....
|
|
||||||
Time: 0 seconds, Memory: 2.50Mb
|
|
||||||
OK (5 tests, 5 assertions)
|
|
||||||
```
|
|
||||||
|
|
||||||
License
|
|
||||||
-------
|
|
||||||
[3-Clause BSD](http://opensource.org/licenses/BSD-3-Clause).
|
|
|
@ -1,27 +0,0 @@
|
||||||
{
|
|
||||||
"name": "firebase/php-jwt",
|
|
||||||
"description": "A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.",
|
|
||||||
"homepage": "https://github.com/firebase/php-jwt",
|
|
||||||
"authors": [
|
|
||||||
{
|
|
||||||
"name": "Neuman Vong",
|
|
||||||
"email": "neuman+pear@twilio.com",
|
|
||||||
"role": "Developer"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Anant Narayanan",
|
|
||||||
"email": "anant@php.net",
|
|
||||||
"role": "Developer"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"license": "BSD-3-Clause",
|
|
||||||
"require": {
|
|
||||||
"php": ">=5.3.0"
|
|
||||||
},
|
|
||||||
"autoload": {
|
|
||||||
"psr-4": {
|
|
||||||
"Firebase\\JWT\\": "src"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"minimum-stability": "dev"
|
|
||||||
}
|
|
19
google/firebase/php-jwt/composer.lock
generated
19
google/firebase/php-jwt/composer.lock
generated
|
@ -1,19 +0,0 @@
|
||||||
{
|
|
||||||
"_readme": [
|
|
||||||
"This file locks the dependencies of your project to a known state",
|
|
||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
|
|
||||||
"This file is @generated automatically"
|
|
||||||
],
|
|
||||||
"hash": "60a5df5d283a7ae9000173248eba8909",
|
|
||||||
"packages": [],
|
|
||||||
"packages-dev": [],
|
|
||||||
"aliases": [],
|
|
||||||
"minimum-stability": "dev",
|
|
||||||
"stability-flags": [],
|
|
||||||
"prefer-stable": false,
|
|
||||||
"prefer-lowest": false,
|
|
||||||
"platform": {
|
|
||||||
"php": ">=5.2.0"
|
|
||||||
},
|
|
||||||
"platform-dev": []
|
|
||||||
}
|
|
|
@ -1,77 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<package packagerversion="1.9.2" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0
|
|
||||||
http://pear.php.net/dtd/tasks-1.0.xsd
|
|
||||||
http://pear.php.net/dtd/package-2.0
|
|
||||||
http://pear.php.net/dtd/package-2.0.xsd">
|
|
||||||
<name>JWT</name>
|
|
||||||
<channel>pear.php.net</channel>
|
|
||||||
<summary>A JWT encoder/decoder.</summary>
|
|
||||||
<description>A JWT encoder/decoder library for PHP.</description>
|
|
||||||
<lead>
|
|
||||||
<name>Neuman Vong</name>
|
|
||||||
<user>lcfrs</user>
|
|
||||||
<email>neuman+pear@twilio.com</email>
|
|
||||||
<active>yes</active>
|
|
||||||
</lead>
|
|
||||||
<lead>
|
|
||||||
<name>Firebase Operations</name>
|
|
||||||
<user>firebase</user>
|
|
||||||
<email>operations@firebase.com</email>
|
|
||||||
<active>yes</active>
|
|
||||||
</lead>
|
|
||||||
<date>2015-07-22</date>
|
|
||||||
<version>
|
|
||||||
<release>3.0.0</release>
|
|
||||||
<api>3.0.0</api>
|
|
||||||
</version>
|
|
||||||
<stability>
|
|
||||||
<release>beta</release>
|
|
||||||
<api>beta</api>
|
|
||||||
</stability>
|
|
||||||
<license uri="http://opensource.org/licenses/BSD-3-Clause">BSD 3-Clause License</license>
|
|
||||||
<notes>
|
|
||||||
Initial release with basic support for JWT encoding, decoding and signature verification.
|
|
||||||
</notes>
|
|
||||||
<contents>
|
|
||||||
<dir baseinstalldir="/" name="/">
|
|
||||||
<dir name="tests">
|
|
||||||
<file name="JWTTest.php" role="test" />
|
|
||||||
</dir>
|
|
||||||
<file name="Authentication/JWT.php" role="php" />
|
|
||||||
</dir>
|
|
||||||
</contents>
|
|
||||||
<dependencies>
|
|
||||||
<required>
|
|
||||||
<php>
|
|
||||||
<min>5.1</min>
|
|
||||||
</php>
|
|
||||||
<pearinstaller>
|
|
||||||
<min>1.7.0</min>
|
|
||||||
</pearinstaller>
|
|
||||||
<extension>
|
|
||||||
<name>json</name>
|
|
||||||
</extension>
|
|
||||||
<extension>
|
|
||||||
<name>hash</name>
|
|
||||||
</extension>
|
|
||||||
</required>
|
|
||||||
</dependencies>
|
|
||||||
<phprelease />
|
|
||||||
<changelog>
|
|
||||||
<release>
|
|
||||||
<version>
|
|
||||||
<release>0.1.0</release>
|
|
||||||
<api>0.1.0</api>
|
|
||||||
</version>
|
|
||||||
<stability>
|
|
||||||
<release>beta</release>
|
|
||||||
<api>beta</api>
|
|
||||||
</stability>
|
|
||||||
<date>2015-04-01</date>
|
|
||||||
<license uri="http://opensource.org/licenses/BSD-3-Clause">BSD 3-Clause License</license>
|
|
||||||
<notes>
|
|
||||||
Initial release with basic support for JWT encoding, decoding and signature verification.
|
|
||||||
</notes>
|
|
||||||
</release>
|
|
||||||
</changelog>
|
|
||||||
</package>
|
|
|
@ -1,7 +0,0 @@
|
||||||
<?php
|
|
||||||
namespace Firebase\JWT;
|
|
||||||
|
|
||||||
class BeforeValidException extends \UnexpectedValueException
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,7 +0,0 @@
|
||||||
<?php
|
|
||||||
namespace Firebase\JWT;
|
|
||||||
|
|
||||||
class ExpiredException extends \UnexpectedValueException
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,370 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
namespace Firebase\JWT;
|
|
||||||
use \DomainException;
|
|
||||||
use \InvalidArgumentException;
|
|
||||||
use \UnexpectedValueException;
|
|
||||||
use \DateTime;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* JSON Web Token implementation, based on this spec:
|
|
||||||
* http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-06
|
|
||||||
*
|
|
||||||
* PHP version 5
|
|
||||||
*
|
|
||||||
* @category Authentication
|
|
||||||
* @package Authentication_JWT
|
|
||||||
* @author Neuman Vong <neuman@twilio.com>
|
|
||||||
* @author Anant Narayanan <anant@php.net>
|
|
||||||
* @license http://opensource.org/licenses/BSD-3-Clause 3-clause BSD
|
|
||||||
* @link https://github.com/firebase/php-jwt
|
|
||||||
*/
|
|
||||||
class JWT
|
|
||||||
{
|
|
||||||
|
|
||||||
/**
|
|
||||||
* When checking nbf, iat or expiration times,
|
|
||||||
* we want to provide some extra leeway time to
|
|
||||||
* account for clock skew.
|
|
||||||
*/
|
|
||||||
public static $leeway = 0;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Allow the current timestamp to be specified.
|
|
||||||
* Useful for fixing a value within unit testing.
|
|
||||||
*
|
|
||||||
* Will default to PHP time() value if null.
|
|
||||||
*/
|
|
||||||
public static $timestamp = null;
|
|
||||||
|
|
||||||
public static $supported_algs = array(
|
|
||||||
'HS256' => array('hash_hmac', 'SHA256'),
|
|
||||||
'HS512' => array('hash_hmac', 'SHA512'),
|
|
||||||
'HS384' => array('hash_hmac', 'SHA384'),
|
|
||||||
'RS256' => array('openssl', 'SHA256'),
|
|
||||||
);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Decodes a JWT string into a PHP object.
|
|
||||||
*
|
|
||||||
* @param string $jwt The JWT
|
|
||||||
* @param string|array $key The key, or map of keys.
|
|
||||||
* If the algorithm used is asymmetric, this is the public key
|
|
||||||
* @param array $allowed_algs List of supported verification algorithms
|
|
||||||
* Supported algorithms are 'HS256', 'HS384', 'HS512' and 'RS256'
|
|
||||||
*
|
|
||||||
* @return object The JWT's payload as a PHP object
|
|
||||||
*
|
|
||||||
* @throws UnexpectedValueException Provided JWT was invalid
|
|
||||||
* @throws SignatureInvalidException Provided JWT was invalid because the signature verification failed
|
|
||||||
* @throws BeforeValidException Provided JWT is trying to be used before it's eligible as defined by 'nbf'
|
|
||||||
* @throws BeforeValidException Provided JWT is trying to be used before it's been created as defined by 'iat'
|
|
||||||
* @throws ExpiredException Provided JWT has since expired, as defined by the 'exp' claim
|
|
||||||
*
|
|
||||||
* @uses jsonDecode
|
|
||||||
* @uses urlsafeB64Decode
|
|
||||||
*/
|
|
||||||
public static function decode($jwt, $key, $allowed_algs = array())
|
|
||||||
{
|
|
||||||
$timestamp = is_null(static::$timestamp) ? time() : static::$timestamp;
|
|
||||||
|
|
||||||
if (empty($key)) {
|
|
||||||
throw new InvalidArgumentException('Key may not be empty');
|
|
||||||
}
|
|
||||||
if (!is_array($allowed_algs)) {
|
|
||||||
throw new InvalidArgumentException('Algorithm not allowed');
|
|
||||||
}
|
|
||||||
$tks = explode('.', $jwt);
|
|
||||||
if (count($tks) != 3) {
|
|
||||||
throw new UnexpectedValueException('Wrong number of segments');
|
|
||||||
}
|
|
||||||
list($headb64, $bodyb64, $cryptob64) = $tks;
|
|
||||||
if (null === ($header = static::jsonDecode(static::urlsafeB64Decode($headb64)))) {
|
|
||||||
throw new UnexpectedValueException('Invalid header encoding');
|
|
||||||
}
|
|
||||||
if (null === $payload = static::jsonDecode(static::urlsafeB64Decode($bodyb64))) {
|
|
||||||
throw new UnexpectedValueException('Invalid claims encoding');
|
|
||||||
}
|
|
||||||
$sig = static::urlsafeB64Decode($cryptob64);
|
|
||||||
|
|
||||||
if (empty($header->alg)) {
|
|
||||||
throw new UnexpectedValueException('Empty algorithm');
|
|
||||||
}
|
|
||||||
if (empty(static::$supported_algs[$header->alg])) {
|
|
||||||
throw new UnexpectedValueException('Algorithm not supported');
|
|
||||||
}
|
|
||||||
if (!in_array($header->alg, $allowed_algs)) {
|
|
||||||
throw new UnexpectedValueException('Algorithm not allowed');
|
|
||||||
}
|
|
||||||
if (is_array($key) || $key instanceof \ArrayAccess) {
|
|
||||||
if (isset($header->kid)) {
|
|
||||||
$key = $key[$header->kid];
|
|
||||||
} else {
|
|
||||||
throw new UnexpectedValueException('"kid" empty, unable to lookup correct key');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Check the signature
|
|
||||||
if (!static::verify("$headb64.$bodyb64", $sig, $key, $header->alg)) {
|
|
||||||
throw new SignatureInvalidException('Signature verification failed');
|
|
||||||
}
|
|
||||||
|
|
||||||
// Check if the nbf if it is defined. This is the time that the
|
|
||||||
// token can actually be used. If it's not yet that time, abort.
|
|
||||||
if (isset($payload->nbf) && $payload->nbf > ($timestamp + static::$leeway)) {
|
|
||||||
throw new BeforeValidException(
|
|
||||||
'Cannot handle token prior to ' . date(DateTime::ISO8601, $payload->nbf)
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Check that this token has been created before 'now'. This prevents
|
|
||||||
// using tokens that have been created for later use (and haven't
|
|
||||||
// correctly used the nbf claim).
|
|
||||||
if (isset($payload->iat) && $payload->iat > ($timestamp + static::$leeway)) {
|
|
||||||
throw new BeforeValidException(
|
|
||||||
'Cannot handle token prior to ' . date(DateTime::ISO8601, $payload->iat)
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Check if this token has expired.
|
|
||||||
if (isset($payload->exp) && ($timestamp - static::$leeway) >= $payload->exp) {
|
|
||||||
throw new ExpiredException('Expired token');
|
|
||||||
}
|
|
||||||
|
|
||||||
return $payload;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Converts and signs a PHP object or array into a JWT string.
|
|
||||||
*
|
|
||||||
* @param object|array $payload PHP object or array
|
|
||||||
* @param string $key The secret key.
|
|
||||||
* If the algorithm used is asymmetric, this is the private key
|
|
||||||
* @param string $alg The signing algorithm.
|
|
||||||
* Supported algorithms are 'HS256', 'HS384', 'HS512' and 'RS256'
|
|
||||||
* @param mixed $keyId
|
|
||||||
* @param array $head An array with header elements to attach
|
|
||||||
*
|
|
||||||
* @return string A signed JWT
|
|
||||||
*
|
|
||||||
* @uses jsonEncode
|
|
||||||
* @uses urlsafeB64Encode
|
|
||||||
*/
|
|
||||||
public static function encode($payload, $key, $alg = 'HS256', $keyId = null, $head = null)
|
|
||||||
{
|
|
||||||
$header = array('typ' => 'JWT', 'alg' => $alg);
|
|
||||||
if ($keyId !== null) {
|
|
||||||
$header['kid'] = $keyId;
|
|
||||||
}
|
|
||||||
if ( isset($head) && is_array($head) ) {
|
|
||||||
$header = array_merge($head, $header);
|
|
||||||
}
|
|
||||||
$segments = array();
|
|
||||||
$segments[] = static::urlsafeB64Encode(static::jsonEncode($header));
|
|
||||||
$segments[] = static::urlsafeB64Encode(static::jsonEncode($payload));
|
|
||||||
$signing_input = implode('.', $segments);
|
|
||||||
|
|
||||||
$signature = static::sign($signing_input, $key, $alg);
|
|
||||||
$segments[] = static::urlsafeB64Encode($signature);
|
|
||||||
|
|
||||||
return implode('.', $segments);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Sign a string with a given key and algorithm.
|
|
||||||
*
|
|
||||||
* @param string $msg The message to sign
|
|
||||||
* @param string|resource $key The secret key
|
|
||||||
* @param string $alg The signing algorithm.
|
|
||||||
* Supported algorithms are 'HS256', 'HS384', 'HS512' and 'RS256'
|
|
||||||
*
|
|
||||||
* @return string An encrypted message
|
|
||||||
*
|
|
||||||
* @throws DomainException Unsupported algorithm was specified
|
|
||||||
*/
|
|
||||||
public static function sign($msg, $key, $alg = 'HS256')
|
|
||||||
{
|
|
||||||
if (empty(static::$supported_algs[$alg])) {
|
|
||||||
throw new DomainException('Algorithm not supported');
|
|
||||||
}
|
|
||||||
list($function, $algorithm) = static::$supported_algs[$alg];
|
|
||||||
switch($function) {
|
|
||||||
case 'hash_hmac':
|
|
||||||
return hash_hmac($algorithm, $msg, $key, true);
|
|
||||||
case 'openssl':
|
|
||||||
$signature = '';
|
|
||||||
$success = openssl_sign($msg, $signature, $key, $algorithm);
|
|
||||||
if (!$success) {
|
|
||||||
throw new DomainException("OpenSSL unable to sign data");
|
|
||||||
} else {
|
|
||||||
return $signature;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Verify a signature with the message, key and method. Not all methods
|
|
||||||
* are symmetric, so we must have a separate verify and sign method.
|
|
||||||
*
|
|
||||||
* @param string $msg The original message (header and body)
|
|
||||||
* @param string $signature The original signature
|
|
||||||
* @param string|resource $key For HS*, a string key works. for RS*, must be a resource of an openssl public key
|
|
||||||
* @param string $alg The algorithm
|
|
||||||
*
|
|
||||||
* @return bool
|
|
||||||
*
|
|
||||||
* @throws DomainException Invalid Algorithm or OpenSSL failure
|
|
||||||
*/
|
|
||||||
private static function verify($msg, $signature, $key, $alg)
|
|
||||||
{
|
|
||||||
if (empty(static::$supported_algs[$alg])) {
|
|
||||||
throw new DomainException('Algorithm not supported');
|
|
||||||
}
|
|
||||||
|
|
||||||
list($function, $algorithm) = static::$supported_algs[$alg];
|
|
||||||
switch($function) {
|
|
||||||
case 'openssl':
|
|
||||||
$success = openssl_verify($msg, $signature, $key, $algorithm);
|
|
||||||
if (!$success) {
|
|
||||||
throw new DomainException("OpenSSL unable to verify data: " . openssl_error_string());
|
|
||||||
} else {
|
|
||||||
return $signature;
|
|
||||||
}
|
|
||||||
case 'hash_hmac':
|
|
||||||
default:
|
|
||||||
$hash = hash_hmac($algorithm, $msg, $key, true);
|
|
||||||
if (function_exists('hash_equals')) {
|
|
||||||
return hash_equals($signature, $hash);
|
|
||||||
}
|
|
||||||
$len = min(static::safeStrlen($signature), static::safeStrlen($hash));
|
|
||||||
|
|
||||||
$status = 0;
|
|
||||||
for ($i = 0; $i < $len; $i++) {
|
|
||||||
$status |= (ord($signature[$i]) ^ ord($hash[$i]));
|
|
||||||
}
|
|
||||||
$status |= (static::safeStrlen($signature) ^ static::safeStrlen($hash));
|
|
||||||
|
|
||||||
return ($status === 0);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Decode a JSON string into a PHP object.
|
|
||||||
*
|
|
||||||
* @param string $input JSON string
|
|
||||||
*
|
|
||||||
* @return object Object representation of JSON string
|
|
||||||
*
|
|
||||||
* @throws DomainException Provided string was invalid JSON
|
|
||||||
*/
|
|
||||||
public static function jsonDecode($input)
|
|
||||||
{
|
|
||||||
if (version_compare(PHP_VERSION, '5.4.0', '>=') && !(defined('JSON_C_VERSION') && PHP_INT_SIZE > 4)) {
|
|
||||||
/** In PHP >=5.4.0, json_decode() accepts an options parameter, that allows you
|
|
||||||
* to specify that large ints (like Steam Transaction IDs) should be treated as
|
|
||||||
* strings, rather than the PHP default behaviour of converting them to floats.
|
|
||||||
*/
|
|
||||||
$obj = json_decode($input, false, 512, JSON_BIGINT_AS_STRING);
|
|
||||||
} else {
|
|
||||||
/** Not all servers will support that, however, so for older versions we must
|
|
||||||
* manually detect large ints in the JSON string and quote them (thus converting
|
|
||||||
*them to strings) before decoding, hence the preg_replace() call.
|
|
||||||
*/
|
|
||||||
$max_int_length = strlen((string) PHP_INT_MAX) - 1;
|
|
||||||
$json_without_bigints = preg_replace('/:\s*(-?\d{'.$max_int_length.',})/', ': "$1"', $input);
|
|
||||||
$obj = json_decode($json_without_bigints);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (function_exists('json_last_error') && $errno = json_last_error()) {
|
|
||||||
static::handleJsonError($errno);
|
|
||||||
} elseif ($obj === null && $input !== 'null') {
|
|
||||||
throw new DomainException('Null result with non-null input');
|
|
||||||
}
|
|
||||||
return $obj;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Encode a PHP object into a JSON string.
|
|
||||||
*
|
|
||||||
* @param object|array $input A PHP object or array
|
|
||||||
*
|
|
||||||
* @return string JSON representation of the PHP object or array
|
|
||||||
*
|
|
||||||
* @throws DomainException Provided object could not be encoded to valid JSON
|
|
||||||
*/
|
|
||||||
public static function jsonEncode($input)
|
|
||||||
{
|
|
||||||
$json = json_encode($input);
|
|
||||||
if (function_exists('json_last_error') && $errno = json_last_error()) {
|
|
||||||
static::handleJsonError($errno);
|
|
||||||
} elseif ($json === 'null' && $input !== null) {
|
|
||||||
throw new DomainException('Null result with non-null input');
|
|
||||||
}
|
|
||||||
return $json;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Decode a string with URL-safe Base64.
|
|
||||||
*
|
|
||||||
* @param string $input A Base64 encoded string
|
|
||||||
*
|
|
||||||
* @return string A decoded string
|
|
||||||
*/
|
|
||||||
public static function urlsafeB64Decode($input)
|
|
||||||
{
|
|
||||||
$remainder = strlen($input) % 4;
|
|
||||||
if ($remainder) {
|
|
||||||
$padlen = 4 - $remainder;
|
|
||||||
$input .= str_repeat('=', $padlen);
|
|
||||||
}
|
|
||||||
return base64_decode(strtr($input, '-_', '+/'));
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Encode a string with URL-safe Base64.
|
|
||||||
*
|
|
||||||
* @param string $input The string you want encoded
|
|
||||||
*
|
|
||||||
* @return string The base64 encode of what you passed in
|
|
||||||
*/
|
|
||||||
public static function urlsafeB64Encode($input)
|
|
||||||
{
|
|
||||||
return str_replace('=', '', strtr(base64_encode($input), '+/', '-_'));
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Helper method to create a JSON error.
|
|
||||||
*
|
|
||||||
* @param int $errno An error number from json_last_error()
|
|
||||||
*
|
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
private static function handleJsonError($errno)
|
|
||||||
{
|
|
||||||
$messages = array(
|
|
||||||
JSON_ERROR_DEPTH => 'Maximum stack depth exceeded',
|
|
||||||
JSON_ERROR_CTRL_CHAR => 'Unexpected control character found',
|
|
||||||
JSON_ERROR_SYNTAX => 'Syntax error, malformed JSON'
|
|
||||||
);
|
|
||||||
throw new DomainException(
|
|
||||||
isset($messages[$errno])
|
|
||||||
? $messages[$errno]
|
|
||||||
: 'Unknown JSON error: ' . $errno
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the number of bytes in cryptographic strings.
|
|
||||||
*
|
|
||||||
* @param string
|
|
||||||
*
|
|
||||||
* @return int
|
|
||||||
*/
|
|
||||||
private static function safeStrlen($str)
|
|
||||||
{
|
|
||||||
if (function_exists('mb_strlen')) {
|
|
||||||
return mb_strlen($str, '8bit');
|
|
||||||
}
|
|
||||||
return strlen($str);
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,7 +0,0 @@
|
||||||
<?php
|
|
||||||
namespace Firebase\JWT;
|
|
||||||
|
|
||||||
class SignatureInvalidException extends \UnexpectedValueException
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
4
google/google/apiclient-services/.gitignore
vendored
4
google/google/apiclient-services/.gitignore
vendored
|
@ -1,4 +0,0 @@
|
||||||
vendor
|
|
||||||
composer.lock
|
|
||||||
src/Google/Service/Compute/HTTPHealthCheck.php
|
|
||||||
src/Google/Service/Compute/HTTPSHealthCheck.php
|
|
|
@ -1,15 +0,0 @@
|
||||||
language: php
|
|
||||||
|
|
||||||
php:
|
|
||||||
- 5.4
|
|
||||||
- 5.5
|
|
||||||
- 5.6
|
|
||||||
- 7.0
|
|
||||||
- 7.1
|
|
||||||
- hhvm
|
|
||||||
|
|
||||||
install:
|
|
||||||
- composer install
|
|
||||||
|
|
||||||
script:
|
|
||||||
- phpunit
|
|
|
@ -1,22 +0,0 @@
|
||||||
# How to become a contributor and submit your own code
|
|
||||||
|
|
||||||
## Contributor License Agreements
|
|
||||||
|
|
||||||
We'd love to accept your code patches! However, before we can take them, we have to jump a couple of legal hurdles.
|
|
||||||
|
|
||||||
Please fill out either the individual or corporate Contributor License Agreement (CLA).
|
|
||||||
|
|
||||||
* If you are an individual writing original source code and you're sure you own the intellectual property, then you'll need to sign an [individual CLA](http://code.google.com/legal/individual-cla-v1.0.html).
|
|
||||||
* If you work for a company that wants to allow you to contribute your work to this client library, then you'll need to sign a[corporate CLA](http://code.google.com/legal/corporate-cla-v1.0.html).
|
|
||||||
|
|
||||||
Follow either of the two links above to access the appropriate CLA and instructions for how to sign and return it. Once we receive it, we'll add you to the official list of contributors and be able to accept your patches.
|
|
||||||
|
|
||||||
## Submitting Patches
|
|
||||||
|
|
||||||
1. Fork the PHP client library on GitHub
|
|
||||||
1. Decide which code you want to submit. A submission should be a set of changes that addresses one issue in the issue tracker. Please file one change per issue, and address one issue per change. If you want to make a change that doesn't have a corresponding issue in the issue tracker, please file a new ticket!
|
|
||||||
1. Ensure that your code adheres to standard PHP conventions, as used in the rest of the library.
|
|
||||||
1. Ensure that there are unit tests for your code.
|
|
||||||
1. Sign a Contributor License Agreement (see above).
|
|
||||||
1. Submit a pull request with your patch on Github.
|
|
||||||
|
|
|
@ -1,203 +0,0 @@
|
||||||
Apache License
|
|
||||||
Version 2.0, January 2004
|
|
||||||
http://www.apache.org/licenses/
|
|
||||||
|
|
||||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
||||||
|
|
||||||
1. Definitions.
|
|
||||||
|
|
||||||
"License" shall mean the terms and conditions for use, reproduction,
|
|
||||||
and distribution as defined by Sections 1 through 9 of this document.
|
|
||||||
|
|
||||||
"Licensor" shall mean the copyright owner or entity authorized by
|
|
||||||
the copyright owner that is granting the License.
|
|
||||||
|
|
||||||
"Legal Entity" shall mean the union of the acting entity and all
|
|
||||||
other entities that control, are controlled by, or are under common
|
|
||||||
control with that entity. For the purposes of this definition,
|
|
||||||
"control" means (i) the power, direct or indirect, to cause the
|
|
||||||
direction or management of such entity, whether by contract or
|
|
||||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
||||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
||||||
|
|
||||||
"You" (or "Your") shall mean an individual or Legal Entity
|
|
||||||
exercising permissions granted by this License.
|
|
||||||
|
|
||||||
"Source" form shall mean the preferred form for making modifications,
|
|
||||||
including but not limited to software source code, documentation
|
|
||||||
source, and configuration files.
|
|
||||||
|
|
||||||
"Object" form shall mean any form resulting from mechanical
|
|
||||||
transformation or translation of a Source form, including but
|
|
||||||
not limited to compiled object code, generated documentation,
|
|
||||||
and conversions to other media types.
|
|
||||||
|
|
||||||
"Work" shall mean the work of authorship, whether in Source or
|
|
||||||
Object form, made available under the License, as indicated by a
|
|
||||||
copyright notice that is included in or attached to the work
|
|
||||||
(an example is provided in the Appendix below).
|
|
||||||
|
|
||||||
"Derivative Works" shall mean any work, whether in Source or Object
|
|
||||||
form, that is based on (or derived from) the Work and for which the
|
|
||||||
editorial revisions, annotations, elaborations, or other modifications
|
|
||||||
represent, as a whole, an original work of authorship. For the purposes
|
|
||||||
of this License, Derivative Works shall not include works that remain
|
|
||||||
separable from, or merely link (or bind by name) to the interfaces of,
|
|
||||||
the Work and Derivative Works thereof.
|
|
||||||
|
|
||||||
"Contribution" shall mean any work of authorship, including
|
|
||||||
the original version of the Work and any modifications or additions
|
|
||||||
to that Work or Derivative Works thereof, that is intentionally
|
|
||||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
||||||
or by an individual or Legal Entity authorized to submit on behalf of
|
|
||||||
the copyright owner. For the purposes of this definition, "submitted"
|
|
||||||
means any form of electronic, verbal, or written communication sent
|
|
||||||
to the Licensor or its representatives, including but not limited to
|
|
||||||
communication on electronic mailing lists, source code control systems,
|
|
||||||
and issue tracking systems that are managed by, or on behalf of, the
|
|
||||||
Licensor for the purpose of discussing and improving the Work, but
|
|
||||||
excluding communication that is conspicuously marked or otherwise
|
|
||||||
designated in writing by the copyright owner as "Not a Contribution."
|
|
||||||
|
|
||||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
||||||
on behalf of whom a Contribution has been received by Licensor and
|
|
||||||
subsequently incorporated within the Work.
|
|
||||||
|
|
||||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
||||||
this License, each Contributor hereby grants to You a perpetual,
|
|
||||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
||||||
copyright license to reproduce, prepare Derivative Works of,
|
|
||||||
publicly display, publicly perform, sublicense, and distribute the
|
|
||||||
Work and such Derivative Works in Source or Object form.
|
|
||||||
|
|
||||||
3. Grant of Patent License. Subject to the terms and conditions of
|
|
||||||
this License, each Contributor hereby grants to You a perpetual,
|
|
||||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
||||||
(except as stated in this section) patent license to make, have made,
|
|
||||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
||||||
where such license applies only to those patent claims licensable
|
|
||||||
by such Contributor that are necessarily infringed by their
|
|
||||||
Contribution(s) alone or by combination of their Contribution(s)
|
|
||||||
with the Work to which such Contribution(s) was submitted. If You
|
|
||||||
institute patent litigation against any entity (including a
|
|
||||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
||||||
or a Contribution incorporated within the Work constitutes direct
|
|
||||||
or contributory patent infringement, then any patent licenses
|
|
||||||
granted to You under this License for that Work shall terminate
|
|
||||||
as of the date such litigation is filed.
|
|
||||||
|
|
||||||
4. Redistribution. You may reproduce and distribute copies of the
|
|
||||||
Work or Derivative Works thereof in any medium, with or without
|
|
||||||
modifications, and in Source or Object form, provided that You
|
|
||||||
meet the following conditions:
|
|
||||||
|
|
||||||
(a) You must give any other recipients of the Work or
|
|
||||||
Derivative Works a copy of this License; and
|
|
||||||
|
|
||||||
(b) You must cause any modified files to carry prominent notices
|
|
||||||
stating that You changed the files; and
|
|
||||||
|
|
||||||
(c) You must retain, in the Source form of any Derivative Works
|
|
||||||
that You distribute, all copyright, patent, trademark, and
|
|
||||||
attribution notices from the Source form of the Work,
|
|
||||||
excluding those notices that do not pertain to any part of
|
|
||||||
the Derivative Works; and
|
|
||||||
|
|
||||||
(d) If the Work includes a "NOTICE" text file as part of its
|
|
||||||
distribution, then any Derivative Works that You distribute must
|
|
||||||
include a readable copy of the attribution notices contained
|
|
||||||
within such NOTICE file, excluding those notices that do not
|
|
||||||
pertain to any part of the Derivative Works, in at least one
|
|
||||||
of the following places: within a NOTICE text file distributed
|
|
||||||
as part of the Derivative Works; within the Source form or
|
|
||||||
documentation, if provided along with the Derivative Works; or,
|
|
||||||
within a display generated by the Derivative Works, if and
|
|
||||||
wherever such third-party notices normally appear. The contents
|
|
||||||
of the NOTICE file are for informational purposes only and
|
|
||||||
do not modify the License. You may add Your own attribution
|
|
||||||
notices within Derivative Works that You distribute, alongside
|
|
||||||
or as an addendum to the NOTICE text from the Work, provided
|
|
||||||
that such additional attribution notices cannot be construed
|
|
||||||
as modifying the License.
|
|
||||||
|
|
||||||
You may add Your own copyright statement to Your modifications and
|
|
||||||
may provide additional or different license terms and conditions
|
|
||||||
for use, reproduction, or distribution of Your modifications, or
|
|
||||||
for any such Derivative Works as a whole, provided Your use,
|
|
||||||
reproduction, and distribution of the Work otherwise complies with
|
|
||||||
the conditions stated in this License.
|
|
||||||
|
|
||||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
||||||
any Contribution intentionally submitted for inclusion in the Work
|
|
||||||
by You to the Licensor shall be under the terms and conditions of
|
|
||||||
this License, without any additional terms or conditions.
|
|
||||||
Notwithstanding the above, nothing herein shall supersede or modify
|
|
||||||
the terms of any separate license agreement you may have executed
|
|
||||||
with Licensor regarding such Contributions.
|
|
||||||
|
|
||||||
6. Trademarks. This License does not grant permission to use the trade
|
|
||||||
names, trademarks, service marks, or product names of the Licensor,
|
|
||||||
except as required for reasonable and customary use in describing the
|
|
||||||
origin of the Work and reproducing the content of the NOTICE file.
|
|
||||||
|
|
||||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
||||||
agreed to in writing, Licensor provides the Work (and each
|
|
||||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
||||||
implied, including, without limitation, any warranties or conditions
|
|
||||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
||||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
||||||
appropriateness of using or redistributing the Work and assume any
|
|
||||||
risks associated with Your exercise of permissions under this License.
|
|
||||||
|
|
||||||
8. Limitation of Liability. In no event and under no legal theory,
|
|
||||||
whether in tort (including negligence), contract, or otherwise,
|
|
||||||
unless required by applicable law (such as deliberate and grossly
|
|
||||||
negligent acts) or agreed to in writing, shall any Contributor be
|
|
||||||
liable to You for damages, including any direct, indirect, special,
|
|
||||||
incidental, or consequential damages of any character arising as a
|
|
||||||
result of this License or out of the use or inability to use the
|
|
||||||
Work (including but not limited to damages for loss of goodwill,
|
|
||||||
work stoppage, computer failure or malfunction, or any and all
|
|
||||||
other commercial damages or losses), even if such Contributor
|
|
||||||
has been advised of the possibility of such damages.
|
|
||||||
|
|
||||||
9. Accepting Warranty or Additional Liability. While redistributing
|
|
||||||
the Work or Derivative Works thereof, You may choose to offer,
|
|
||||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
||||||
or other liability obligations and/or rights consistent with this
|
|
||||||
License. However, in accepting such obligations, You may act only
|
|
||||||
on Your own behalf and on Your sole responsibility, not on behalf
|
|
||||||
of any other Contributor, and only if You agree to indemnify,
|
|
||||||
defend, and hold each Contributor harmless for any liability
|
|
||||||
incurred by, or claims asserted against, such Contributor by reason
|
|
||||||
of your accepting any such warranty or additional liability.
|
|
||||||
|
|
||||||
END OF TERMS AND CONDITIONS
|
|
||||||
|
|
||||||
APPENDIX: How to apply the Apache License to your work.
|
|
||||||
|
|
||||||
To apply the Apache License to your work, attach the following
|
|
||||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
||||||
replaced with your own identifying information. (Don't include
|
|
||||||
the brackets!) The text should be enclosed in the appropriate
|
|
||||||
comment syntax for the file format. We also recommend that a
|
|
||||||
file or class name and description of purpose be included on the
|
|
||||||
same "printed page" as the copyright notice for easier
|
|
||||||
identification within third-party archives.
|
|
||||||
|
|
||||||
Copyright [yyyy] [name of copyright owner]
|
|
||||||
|
|
||||||
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.
|
|
||||||
|
|
||||||
|
|
|
@ -1,30 +0,0 @@
|
||||||
Google PHP API Client Services
|
|
||||||
==============================
|
|
||||||
|
|
||||||
## Requirements
|
|
||||||
|
|
||||||
[Google API PHP Client](https://github.com/google/google-api-php-client/releases)
|
|
||||||
|
|
||||||
## Usage in v2 of Google API PHP Client
|
|
||||||
|
|
||||||
This library will be automatically installed with the
|
|
||||||
[Google API PHP Client](https://github.com/google/google-api-php-client/releases)
|
|
||||||
via composer. Composer will automatically pull down a monthly tag
|
|
||||||
from this repository.
|
|
||||||
|
|
||||||
If you'd like to always be up-to-date with the latest release, rather than
|
|
||||||
wait for monthly tagged releases, request the `dev-master` version in composer:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
composer require google/apiclient-services:dev-master
|
|
||||||
```
|
|
||||||
|
|
||||||
## Usage in v1
|
|
||||||
|
|
||||||
If you are currently using the [`v1-master`](https://github.com/google/google-api-php-client/tree/v1-master)
|
|
||||||
branch of the client library, but want to use the latest API services, you can
|
|
||||||
do so by requiring this library directly into your project via the same composer command:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
composer require google/apiclient-services:dev-master
|
|
||||||
```
|
|
|
@ -1,19 +0,0 @@
|
||||||
{
|
|
||||||
"name": "google/apiclient-services",
|
|
||||||
"type": "library",
|
|
||||||
"description": "Client library for Google APIs",
|
|
||||||
"keywords": ["google"],
|
|
||||||
"homepage": "http://developers.google.com/api-client-library/php",
|
|
||||||
"license": "Apache-2.0",
|
|
||||||
"require": {
|
|
||||||
"php": ">=5.4"
|
|
||||||
},
|
|
||||||
"require-dev": {
|
|
||||||
"phpunit/phpunit": "~4.8"
|
|
||||||
},
|
|
||||||
"autoload": {
|
|
||||||
"psr-0": {
|
|
||||||
"Google_Service_": "src"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,11 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
||||||
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/3.7/phpunit.xsd"
|
|
||||||
colors="true"
|
|
||||||
bootstrap="tests/bootstrap.php">
|
|
||||||
<testsuites>
|
|
||||||
<testsuite name="Google PHP Client Unit Services Test Suite">
|
|
||||||
<directory>tests</directory>
|
|
||||||
</testsuite>
|
|
||||||
</testsuites>
|
|
||||||
</phpunit>
|
|
|
@ -1,95 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
class Google_Service_AdExchangeBuyer_Account extends Google_Collection
|
|
||||||
{
|
|
||||||
protected $collection_key = 'bidderLocation';
|
|
||||||
protected $bidderLocationType = 'Google_Service_AdExchangeBuyer_AccountBidderLocation';
|
|
||||||
protected $bidderLocationDataType = 'array';
|
|
||||||
public $cookieMatchingNid;
|
|
||||||
public $cookieMatchingUrl;
|
|
||||||
public $id;
|
|
||||||
public $kind;
|
|
||||||
public $maximumActiveCreatives;
|
|
||||||
public $maximumTotalQps;
|
|
||||||
public $numberActiveCreatives;
|
|
||||||
|
|
||||||
public function setBidderLocation($bidderLocation)
|
|
||||||
{
|
|
||||||
$this->bidderLocation = $bidderLocation;
|
|
||||||
}
|
|
||||||
public function getBidderLocation()
|
|
||||||
{
|
|
||||||
return $this->bidderLocation;
|
|
||||||
}
|
|
||||||
public function setCookieMatchingNid($cookieMatchingNid)
|
|
||||||
{
|
|
||||||
$this->cookieMatchingNid = $cookieMatchingNid;
|
|
||||||
}
|
|
||||||
public function getCookieMatchingNid()
|
|
||||||
{
|
|
||||||
return $this->cookieMatchingNid;
|
|
||||||
}
|
|
||||||
public function setCookieMatchingUrl($cookieMatchingUrl)
|
|
||||||
{
|
|
||||||
$this->cookieMatchingUrl = $cookieMatchingUrl;
|
|
||||||
}
|
|
||||||
public function getCookieMatchingUrl()
|
|
||||||
{
|
|
||||||
return $this->cookieMatchingUrl;
|
|
||||||
}
|
|
||||||
public function setId($id)
|
|
||||||
{
|
|
||||||
$this->id = $id;
|
|
||||||
}
|
|
||||||
public function getId()
|
|
||||||
{
|
|
||||||
return $this->id;
|
|
||||||
}
|
|
||||||
public function setKind($kind)
|
|
||||||
{
|
|
||||||
$this->kind = $kind;
|
|
||||||
}
|
|
||||||
public function getKind()
|
|
||||||
{
|
|
||||||
return $this->kind;
|
|
||||||
}
|
|
||||||
public function setMaximumActiveCreatives($maximumActiveCreatives)
|
|
||||||
{
|
|
||||||
$this->maximumActiveCreatives = $maximumActiveCreatives;
|
|
||||||
}
|
|
||||||
public function getMaximumActiveCreatives()
|
|
||||||
{
|
|
||||||
return $this->maximumActiveCreatives;
|
|
||||||
}
|
|
||||||
public function setMaximumTotalQps($maximumTotalQps)
|
|
||||||
{
|
|
||||||
$this->maximumTotalQps = $maximumTotalQps;
|
|
||||||
}
|
|
||||||
public function getMaximumTotalQps()
|
|
||||||
{
|
|
||||||
return $this->maximumTotalQps;
|
|
||||||
}
|
|
||||||
public function setNumberActiveCreatives($numberActiveCreatives)
|
|
||||||
{
|
|
||||||
$this->numberActiveCreatives = $numberActiveCreatives;
|
|
||||||
}
|
|
||||||
public function getNumberActiveCreatives()
|
|
||||||
{
|
|
||||||
return $this->numberActiveCreatives;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,58 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
class Google_Service_AdExchangeBuyer_BillingInfo extends Google_Collection
|
|
||||||
{
|
|
||||||
protected $collection_key = 'billingId';
|
|
||||||
public $accountId;
|
|
||||||
public $accountName;
|
|
||||||
public $billingId;
|
|
||||||
public $kind;
|
|
||||||
|
|
||||||
public function setAccountId($accountId)
|
|
||||||
{
|
|
||||||
$this->accountId = $accountId;
|
|
||||||
}
|
|
||||||
public function getAccountId()
|
|
||||||
{
|
|
||||||
return $this->accountId;
|
|
||||||
}
|
|
||||||
public function setAccountName($accountName)
|
|
||||||
{
|
|
||||||
$this->accountName = $accountName;
|
|
||||||
}
|
|
||||||
public function getAccountName()
|
|
||||||
{
|
|
||||||
return $this->accountName;
|
|
||||||
}
|
|
||||||
public function setBillingId($billingId)
|
|
||||||
{
|
|
||||||
$this->billingId = $billingId;
|
|
||||||
}
|
|
||||||
public function getBillingId()
|
|
||||||
{
|
|
||||||
return $this->billingId;
|
|
||||||
}
|
|
||||||
public function setKind($kind)
|
|
||||||
{
|
|
||||||
$this->kind = $kind;
|
|
||||||
}
|
|
||||||
public function getKind()
|
|
||||||
{
|
|
||||||
return $this->kind;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,75 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
class Google_Service_AdExchangeBuyer_Budget extends Google_Model
|
|
||||||
{
|
|
||||||
public $accountId;
|
|
||||||
public $billingId;
|
|
||||||
public $budgetAmount;
|
|
||||||
public $currencyCode;
|
|
||||||
public $id;
|
|
||||||
public $kind;
|
|
||||||
|
|
||||||
public function setAccountId($accountId)
|
|
||||||
{
|
|
||||||
$this->accountId = $accountId;
|
|
||||||
}
|
|
||||||
public function getAccountId()
|
|
||||||
{
|
|
||||||
return $this->accountId;
|
|
||||||
}
|
|
||||||
public function setBillingId($billingId)
|
|
||||||
{
|
|
||||||
$this->billingId = $billingId;
|
|
||||||
}
|
|
||||||
public function getBillingId()
|
|
||||||
{
|
|
||||||
return $this->billingId;
|
|
||||||
}
|
|
||||||
public function setBudgetAmount($budgetAmount)
|
|
||||||
{
|
|
||||||
$this->budgetAmount = $budgetAmount;
|
|
||||||
}
|
|
||||||
public function getBudgetAmount()
|
|
||||||
{
|
|
||||||
return $this->budgetAmount;
|
|
||||||
}
|
|
||||||
public function setCurrencyCode($currencyCode)
|
|
||||||
{
|
|
||||||
$this->currencyCode = $currencyCode;
|
|
||||||
}
|
|
||||||
public function getCurrencyCode()
|
|
||||||
{
|
|
||||||
return $this->currencyCode;
|
|
||||||
}
|
|
||||||
public function setId($id)
|
|
||||||
{
|
|
||||||
$this->id = $id;
|
|
||||||
}
|
|
||||||
public function getId()
|
|
||||||
{
|
|
||||||
return $this->id;
|
|
||||||
}
|
|
||||||
public function setKind($kind)
|
|
||||||
{
|
|
||||||
$this->kind = $kind;
|
|
||||||
}
|
|
||||||
public function getKind()
|
|
||||||
{
|
|
||||||
return $this->kind;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,30 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
class Google_Service_AdExchangeBuyer_Buyer extends Google_Model
|
|
||||||
{
|
|
||||||
public $accountId;
|
|
||||||
|
|
||||||
public function setAccountId($accountId)
|
|
||||||
{
|
|
||||||
$this->accountId = $accountId;
|
|
||||||
}
|
|
||||||
public function getAccountId()
|
|
||||||
{
|
|
||||||
return $this->accountId;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,39 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
class Google_Service_AdExchangeBuyer_ContactInformation extends Google_Model
|
|
||||||
{
|
|
||||||
public $email;
|
|
||||||
public $name;
|
|
||||||
|
|
||||||
public function setEmail($email)
|
|
||||||
{
|
|
||||||
$this->email = $email;
|
|
||||||
}
|
|
||||||
public function getEmail()
|
|
||||||
{
|
|
||||||
return $this->email;
|
|
||||||
}
|
|
||||||
public function setName($name)
|
|
||||||
{
|
|
||||||
$this->name = $name;
|
|
||||||
}
|
|
||||||
public function getName()
|
|
||||||
{
|
|
||||||
return $this->name;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,281 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
class Google_Service_AdExchangeBuyer_Creative extends Google_Collection
|
|
||||||
{
|
|
||||||
protected $collection_key = 'vendorType';
|
|
||||||
protected $internal_gapi_mappings = array(
|
|
||||||
"hTMLSnippet" => "HTMLSnippet",
|
|
||||||
);
|
|
||||||
public $hTMLSnippet;
|
|
||||||
public $accountId;
|
|
||||||
public $adChoicesDestinationUrl;
|
|
||||||
public $advertiserId;
|
|
||||||
public $advertiserName;
|
|
||||||
public $agencyId;
|
|
||||||
public $apiUploadTimestamp;
|
|
||||||
public $attribute;
|
|
||||||
public $buyerCreativeId;
|
|
||||||
public $clickThroughUrl;
|
|
||||||
protected $correctionsType = 'Google_Service_AdExchangeBuyer_CreativeCorrections';
|
|
||||||
protected $correctionsDataType = 'array';
|
|
||||||
public $dealsStatus;
|
|
||||||
public $detectedDomains;
|
|
||||||
protected $filteringReasonsType = 'Google_Service_AdExchangeBuyer_CreativeFilteringReasons';
|
|
||||||
protected $filteringReasonsDataType = '';
|
|
||||||
public $height;
|
|
||||||
public $impressionTrackingUrl;
|
|
||||||
public $kind;
|
|
||||||
public $languages;
|
|
||||||
protected $nativeAdType = 'Google_Service_AdExchangeBuyer_CreativeNativeAd';
|
|
||||||
protected $nativeAdDataType = '';
|
|
||||||
public $openAuctionStatus;
|
|
||||||
public $productCategories;
|
|
||||||
public $restrictedCategories;
|
|
||||||
public $sensitiveCategories;
|
|
||||||
protected $servingRestrictionsType = 'Google_Service_AdExchangeBuyer_CreativeServingRestrictions';
|
|
||||||
protected $servingRestrictionsDataType = 'array';
|
|
||||||
public $vendorType;
|
|
||||||
public $version;
|
|
||||||
public $videoURL;
|
|
||||||
public $width;
|
|
||||||
|
|
||||||
public function setHTMLSnippet($hTMLSnippet)
|
|
||||||
{
|
|
||||||
$this->hTMLSnippet = $hTMLSnippet;
|
|
||||||
}
|
|
||||||
public function getHTMLSnippet()
|
|
||||||
{
|
|
||||||
return $this->hTMLSnippet;
|
|
||||||
}
|
|
||||||
public function setAccountId($accountId)
|
|
||||||
{
|
|
||||||
$this->accountId = $accountId;
|
|
||||||
}
|
|
||||||
public function getAccountId()
|
|
||||||
{
|
|
||||||
return $this->accountId;
|
|
||||||
}
|
|
||||||
public function setAdChoicesDestinationUrl($adChoicesDestinationUrl)
|
|
||||||
{
|
|
||||||
$this->adChoicesDestinationUrl = $adChoicesDestinationUrl;
|
|
||||||
}
|
|
||||||
public function getAdChoicesDestinationUrl()
|
|
||||||
{
|
|
||||||
return $this->adChoicesDestinationUrl;
|
|
||||||
}
|
|
||||||
public function setAdvertiserId($advertiserId)
|
|
||||||
{
|
|
||||||
$this->advertiserId = $advertiserId;
|
|
||||||
}
|
|
||||||
public function getAdvertiserId()
|
|
||||||
{
|
|
||||||
return $this->advertiserId;
|
|
||||||
}
|
|
||||||
public function setAdvertiserName($advertiserName)
|
|
||||||
{
|
|
||||||
$this->advertiserName = $advertiserName;
|
|
||||||
}
|
|
||||||
public function getAdvertiserName()
|
|
||||||
{
|
|
||||||
return $this->advertiserName;
|
|
||||||
}
|
|
||||||
public function setAgencyId($agencyId)
|
|
||||||
{
|
|
||||||
$this->agencyId = $agencyId;
|
|
||||||
}
|
|
||||||
public function getAgencyId()
|
|
||||||
{
|
|
||||||
return $this->agencyId;
|
|
||||||
}
|
|
||||||
public function setApiUploadTimestamp($apiUploadTimestamp)
|
|
||||||
{
|
|
||||||
$this->apiUploadTimestamp = $apiUploadTimestamp;
|
|
||||||
}
|
|
||||||
public function getApiUploadTimestamp()
|
|
||||||
{
|
|
||||||
return $this->apiUploadTimestamp;
|
|
||||||
}
|
|
||||||
public function setAttribute($attribute)
|
|
||||||
{
|
|
||||||
$this->attribute = $attribute;
|
|
||||||
}
|
|
||||||
public function getAttribute()
|
|
||||||
{
|
|
||||||
return $this->attribute;
|
|
||||||
}
|
|
||||||
public function setBuyerCreativeId($buyerCreativeId)
|
|
||||||
{
|
|
||||||
$this->buyerCreativeId = $buyerCreativeId;
|
|
||||||
}
|
|
||||||
public function getBuyerCreativeId()
|
|
||||||
{
|
|
||||||
return $this->buyerCreativeId;
|
|
||||||
}
|
|
||||||
public function setClickThroughUrl($clickThroughUrl)
|
|
||||||
{
|
|
||||||
$this->clickThroughUrl = $clickThroughUrl;
|
|
||||||
}
|
|
||||||
public function getClickThroughUrl()
|
|
||||||
{
|
|
||||||
return $this->clickThroughUrl;
|
|
||||||
}
|
|
||||||
public function setCorrections($corrections)
|
|
||||||
{
|
|
||||||
$this->corrections = $corrections;
|
|
||||||
}
|
|
||||||
public function getCorrections()
|
|
||||||
{
|
|
||||||
return $this->corrections;
|
|
||||||
}
|
|
||||||
public function setDealsStatus($dealsStatus)
|
|
||||||
{
|
|
||||||
$this->dealsStatus = $dealsStatus;
|
|
||||||
}
|
|
||||||
public function getDealsStatus()
|
|
||||||
{
|
|
||||||
return $this->dealsStatus;
|
|
||||||
}
|
|
||||||
public function setDetectedDomains($detectedDomains)
|
|
||||||
{
|
|
||||||
$this->detectedDomains = $detectedDomains;
|
|
||||||
}
|
|
||||||
public function getDetectedDomains()
|
|
||||||
{
|
|
||||||
return $this->detectedDomains;
|
|
||||||
}
|
|
||||||
public function setFilteringReasons(Google_Service_AdExchangeBuyer_CreativeFilteringReasons $filteringReasons)
|
|
||||||
{
|
|
||||||
$this->filteringReasons = $filteringReasons;
|
|
||||||
}
|
|
||||||
public function getFilteringReasons()
|
|
||||||
{
|
|
||||||
return $this->filteringReasons;
|
|
||||||
}
|
|
||||||
public function setHeight($height)
|
|
||||||
{
|
|
||||||
$this->height = $height;
|
|
||||||
}
|
|
||||||
public function getHeight()
|
|
||||||
{
|
|
||||||
return $this->height;
|
|
||||||
}
|
|
||||||
public function setImpressionTrackingUrl($impressionTrackingUrl)
|
|
||||||
{
|
|
||||||
$this->impressionTrackingUrl = $impressionTrackingUrl;
|
|
||||||
}
|
|
||||||
public function getImpressionTrackingUrl()
|
|
||||||
{
|
|
||||||
return $this->impressionTrackingUrl;
|
|
||||||
}
|
|
||||||
public function setKind($kind)
|
|
||||||
{
|
|
||||||
$this->kind = $kind;
|
|
||||||
}
|
|
||||||
public function getKind()
|
|
||||||
{
|
|
||||||
return $this->kind;
|
|
||||||
}
|
|
||||||
public function setLanguages($languages)
|
|
||||||
{
|
|
||||||
$this->languages = $languages;
|
|
||||||
}
|
|
||||||
public function getLanguages()
|
|
||||||
{
|
|
||||||
return $this->languages;
|
|
||||||
}
|
|
||||||
public function setNativeAd(Google_Service_AdExchangeBuyer_CreativeNativeAd $nativeAd)
|
|
||||||
{
|
|
||||||
$this->nativeAd = $nativeAd;
|
|
||||||
}
|
|
||||||
public function getNativeAd()
|
|
||||||
{
|
|
||||||
return $this->nativeAd;
|
|
||||||
}
|
|
||||||
public function setOpenAuctionStatus($openAuctionStatus)
|
|
||||||
{
|
|
||||||
$this->openAuctionStatus = $openAuctionStatus;
|
|
||||||
}
|
|
||||||
public function getOpenAuctionStatus()
|
|
||||||
{
|
|
||||||
return $this->openAuctionStatus;
|
|
||||||
}
|
|
||||||
public function setProductCategories($productCategories)
|
|
||||||
{
|
|
||||||
$this->productCategories = $productCategories;
|
|
||||||
}
|
|
||||||
public function getProductCategories()
|
|
||||||
{
|
|
||||||
return $this->productCategories;
|
|
||||||
}
|
|
||||||
public function setRestrictedCategories($restrictedCategories)
|
|
||||||
{
|
|
||||||
$this->restrictedCategories = $restrictedCategories;
|
|
||||||
}
|
|
||||||
public function getRestrictedCategories()
|
|
||||||
{
|
|
||||||
return $this->restrictedCategories;
|
|
||||||
}
|
|
||||||
public function setSensitiveCategories($sensitiveCategories)
|
|
||||||
{
|
|
||||||
$this->sensitiveCategories = $sensitiveCategories;
|
|
||||||
}
|
|
||||||
public function getSensitiveCategories()
|
|
||||||
{
|
|
||||||
return $this->sensitiveCategories;
|
|
||||||
}
|
|
||||||
public function setServingRestrictions($servingRestrictions)
|
|
||||||
{
|
|
||||||
$this->servingRestrictions = $servingRestrictions;
|
|
||||||
}
|
|
||||||
public function getServingRestrictions()
|
|
||||||
{
|
|
||||||
return $this->servingRestrictions;
|
|
||||||
}
|
|
||||||
public function setVendorType($vendorType)
|
|
||||||
{
|
|
||||||
$this->vendorType = $vendorType;
|
|
||||||
}
|
|
||||||
public function getVendorType()
|
|
||||||
{
|
|
||||||
return $this->vendorType;
|
|
||||||
}
|
|
||||||
public function setVersion($version)
|
|
||||||
{
|
|
||||||
$this->version = $version;
|
|
||||||
}
|
|
||||||
public function getVersion()
|
|
||||||
{
|
|
||||||
return $this->version;
|
|
||||||
}
|
|
||||||
public function setVideoURL($videoURL)
|
|
||||||
{
|
|
||||||
$this->videoURL = $videoURL;
|
|
||||||
}
|
|
||||||
public function getVideoURL()
|
|
||||||
{
|
|
||||||
return $this->videoURL;
|
|
||||||
}
|
|
||||||
public function setWidth($width)
|
|
||||||
{
|
|
||||||
$this->width = $width;
|
|
||||||
}
|
|
||||||
public function getWidth()
|
|
||||||
{
|
|
||||||
return $this->width;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,40 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
class Google_Service_AdExchangeBuyer_DealServingMetadata extends Google_Model
|
|
||||||
{
|
|
||||||
public $alcoholAdsAllowed;
|
|
||||||
protected $dealPauseStatusType = 'Google_Service_AdExchangeBuyer_DealServingMetadataDealPauseStatus';
|
|
||||||
protected $dealPauseStatusDataType = '';
|
|
||||||
|
|
||||||
public function setAlcoholAdsAllowed($alcoholAdsAllowed)
|
|
||||||
{
|
|
||||||
$this->alcoholAdsAllowed = $alcoholAdsAllowed;
|
|
||||||
}
|
|
||||||
public function getAlcoholAdsAllowed()
|
|
||||||
{
|
|
||||||
return $this->alcoholAdsAllowed;
|
|
||||||
}
|
|
||||||
public function setDealPauseStatus(Google_Service_AdExchangeBuyer_DealServingMetadataDealPauseStatus $dealPauseStatus)
|
|
||||||
{
|
|
||||||
$this->dealPauseStatus = $dealPauseStatus;
|
|
||||||
}
|
|
||||||
public function getDealPauseStatus()
|
|
||||||
{
|
|
||||||
return $this->dealPauseStatus;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,116 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
class Google_Service_AdExchangeBuyer_DealTerms extends Google_Model
|
|
||||||
{
|
|
||||||
public $brandingType;
|
|
||||||
public $crossListedExternalDealIdType;
|
|
||||||
public $description;
|
|
||||||
protected $estimatedGrossSpendType = 'Google_Service_AdExchangeBuyer_Price';
|
|
||||||
protected $estimatedGrossSpendDataType = '';
|
|
||||||
public $estimatedImpressionsPerDay;
|
|
||||||
protected $guaranteedFixedPriceTermsType = 'Google_Service_AdExchangeBuyer_DealTermsGuaranteedFixedPriceTerms';
|
|
||||||
protected $guaranteedFixedPriceTermsDataType = '';
|
|
||||||
protected $nonGuaranteedAuctionTermsType = 'Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedAuctionTerms';
|
|
||||||
protected $nonGuaranteedAuctionTermsDataType = '';
|
|
||||||
protected $nonGuaranteedFixedPriceTermsType = 'Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedFixedPriceTerms';
|
|
||||||
protected $nonGuaranteedFixedPriceTermsDataType = '';
|
|
||||||
protected $rubiconNonGuaranteedTermsType = 'Google_Service_AdExchangeBuyer_DealTermsRubiconNonGuaranteedTerms';
|
|
||||||
protected $rubiconNonGuaranteedTermsDataType = '';
|
|
||||||
public $sellerTimeZone;
|
|
||||||
|
|
||||||
public function setBrandingType($brandingType)
|
|
||||||
{
|
|
||||||
$this->brandingType = $brandingType;
|
|
||||||
}
|
|
||||||
public function getBrandingType()
|
|
||||||
{
|
|
||||||
return $this->brandingType;
|
|
||||||
}
|
|
||||||
public function setCrossListedExternalDealIdType($crossListedExternalDealIdType)
|
|
||||||
{
|
|
||||||
$this->crossListedExternalDealIdType = $crossListedExternalDealIdType;
|
|
||||||
}
|
|
||||||
public function getCrossListedExternalDealIdType()
|
|
||||||
{
|
|
||||||
return $this->crossListedExternalDealIdType;
|
|
||||||
}
|
|
||||||
public function setDescription($description)
|
|
||||||
{
|
|
||||||
$this->description = $description;
|
|
||||||
}
|
|
||||||
public function getDescription()
|
|
||||||
{
|
|
||||||
return $this->description;
|
|
||||||
}
|
|
||||||
public function setEstimatedGrossSpend(Google_Service_AdExchangeBuyer_Price $estimatedGrossSpend)
|
|
||||||
{
|
|
||||||
$this->estimatedGrossSpend = $estimatedGrossSpend;
|
|
||||||
}
|
|
||||||
public function getEstimatedGrossSpend()
|
|
||||||
{
|
|
||||||
return $this->estimatedGrossSpend;
|
|
||||||
}
|
|
||||||
public function setEstimatedImpressionsPerDay($estimatedImpressionsPerDay)
|
|
||||||
{
|
|
||||||
$this->estimatedImpressionsPerDay = $estimatedImpressionsPerDay;
|
|
||||||
}
|
|
||||||
public function getEstimatedImpressionsPerDay()
|
|
||||||
{
|
|
||||||
return $this->estimatedImpressionsPerDay;
|
|
||||||
}
|
|
||||||
public function setGuaranteedFixedPriceTerms(Google_Service_AdExchangeBuyer_DealTermsGuaranteedFixedPriceTerms $guaranteedFixedPriceTerms)
|
|
||||||
{
|
|
||||||
$this->guaranteedFixedPriceTerms = $guaranteedFixedPriceTerms;
|
|
||||||
}
|
|
||||||
public function getGuaranteedFixedPriceTerms()
|
|
||||||
{
|
|
||||||
return $this->guaranteedFixedPriceTerms;
|
|
||||||
}
|
|
||||||
public function setNonGuaranteedAuctionTerms(Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedAuctionTerms $nonGuaranteedAuctionTerms)
|
|
||||||
{
|
|
||||||
$this->nonGuaranteedAuctionTerms = $nonGuaranteedAuctionTerms;
|
|
||||||
}
|
|
||||||
public function getNonGuaranteedAuctionTerms()
|
|
||||||
{
|
|
||||||
return $this->nonGuaranteedAuctionTerms;
|
|
||||||
}
|
|
||||||
public function setNonGuaranteedFixedPriceTerms(Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedFixedPriceTerms $nonGuaranteedFixedPriceTerms)
|
|
||||||
{
|
|
||||||
$this->nonGuaranteedFixedPriceTerms = $nonGuaranteedFixedPriceTerms;
|
|
||||||
}
|
|
||||||
public function getNonGuaranteedFixedPriceTerms()
|
|
||||||
{
|
|
||||||
return $this->nonGuaranteedFixedPriceTerms;
|
|
||||||
}
|
|
||||||
public function setRubiconNonGuaranteedTerms(Google_Service_AdExchangeBuyer_DealTermsRubiconNonGuaranteedTerms $rubiconNonGuaranteedTerms)
|
|
||||||
{
|
|
||||||
$this->rubiconNonGuaranteedTerms = $rubiconNonGuaranteedTerms;
|
|
||||||
}
|
|
||||||
public function getRubiconNonGuaranteedTerms()
|
|
||||||
{
|
|
||||||
return $this->rubiconNonGuaranteedTerms;
|
|
||||||
}
|
|
||||||
public function setSellerTimeZone($sellerTimeZone)
|
|
||||||
{
|
|
||||||
$this->sellerTimeZone = $sellerTimeZone;
|
|
||||||
}
|
|
||||||
public function getSellerTimeZone()
|
|
||||||
{
|
|
||||||
return $this->sellerTimeZone;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,50 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
class Google_Service_AdExchangeBuyer_DeliveryControl extends Google_Collection
|
|
||||||
{
|
|
||||||
protected $collection_key = 'frequencyCaps';
|
|
||||||
public $creativeBlockingLevel;
|
|
||||||
public $deliveryRateType;
|
|
||||||
protected $frequencyCapsType = 'Google_Service_AdExchangeBuyer_DeliveryControlFrequencyCap';
|
|
||||||
protected $frequencyCapsDataType = 'array';
|
|
||||||
|
|
||||||
public function setCreativeBlockingLevel($creativeBlockingLevel)
|
|
||||||
{
|
|
||||||
$this->creativeBlockingLevel = $creativeBlockingLevel;
|
|
||||||
}
|
|
||||||
public function getCreativeBlockingLevel()
|
|
||||||
{
|
|
||||||
return $this->creativeBlockingLevel;
|
|
||||||
}
|
|
||||||
public function setDeliveryRateType($deliveryRateType)
|
|
||||||
{
|
|
||||||
$this->deliveryRateType = $deliveryRateType;
|
|
||||||
}
|
|
||||||
public function getDeliveryRateType()
|
|
||||||
{
|
|
||||||
return $this->deliveryRateType;
|
|
||||||
}
|
|
||||||
public function setFrequencyCaps($frequencyCaps)
|
|
||||||
{
|
|
||||||
$this->frequencyCaps = $frequencyCaps;
|
|
||||||
}
|
|
||||||
public function getFrequencyCaps()
|
|
||||||
{
|
|
||||||
return $this->frequencyCaps;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,41 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
class Google_Service_AdExchangeBuyer_Dimension extends Google_Collection
|
|
||||||
{
|
|
||||||
protected $collection_key = 'dimensionValues';
|
|
||||||
public $dimensionType;
|
|
||||||
protected $dimensionValuesType = 'Google_Service_AdExchangeBuyer_DimensionDimensionValue';
|
|
||||||
protected $dimensionValuesDataType = 'array';
|
|
||||||
|
|
||||||
public function setDimensionType($dimensionType)
|
|
||||||
{
|
|
||||||
$this->dimensionType = $dimensionType;
|
|
||||||
}
|
|
||||||
public function getDimensionType()
|
|
||||||
{
|
|
||||||
return $this->dimensionType;
|
|
||||||
}
|
|
||||||
public function setDimensionValues($dimensionValues)
|
|
||||||
{
|
|
||||||
$this->dimensionValues = $dimensionValues;
|
|
||||||
}
|
|
||||||
public function getDimensionValues()
|
|
||||||
{
|
|
||||||
return $this->dimensionValues;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,220 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
class Google_Service_AdExchangeBuyer_PerformanceReport extends Google_Collection
|
|
||||||
{
|
|
||||||
protected $collection_key = 'hostedMatchStatusRate';
|
|
||||||
public $bidRate;
|
|
||||||
public $bidRequestRate;
|
|
||||||
public $calloutStatusRate;
|
|
||||||
public $cookieMatcherStatusRate;
|
|
||||||
public $creativeStatusRate;
|
|
||||||
public $filteredBidRate;
|
|
||||||
public $hostedMatchStatusRate;
|
|
||||||
public $inventoryMatchRate;
|
|
||||||
public $kind;
|
|
||||||
public $latency50thPercentile;
|
|
||||||
public $latency85thPercentile;
|
|
||||||
public $latency95thPercentile;
|
|
||||||
public $noQuotaInRegion;
|
|
||||||
public $outOfQuota;
|
|
||||||
public $pixelMatchRequests;
|
|
||||||
public $pixelMatchResponses;
|
|
||||||
public $quotaConfiguredLimit;
|
|
||||||
public $quotaThrottledLimit;
|
|
||||||
public $region;
|
|
||||||
public $successfulRequestRate;
|
|
||||||
public $timestamp;
|
|
||||||
public $unsuccessfulRequestRate;
|
|
||||||
|
|
||||||
public function setBidRate($bidRate)
|
|
||||||
{
|
|
||||||
$this->bidRate = $bidRate;
|
|
||||||
}
|
|
||||||
public function getBidRate()
|
|
||||||
{
|
|
||||||
return $this->bidRate;
|
|
||||||
}
|
|
||||||
public function setBidRequestRate($bidRequestRate)
|
|
||||||
{
|
|
||||||
$this->bidRequestRate = $bidRequestRate;
|
|
||||||
}
|
|
||||||
public function getBidRequestRate()
|
|
||||||
{
|
|
||||||
return $this->bidRequestRate;
|
|
||||||
}
|
|
||||||
public function setCalloutStatusRate($calloutStatusRate)
|
|
||||||
{
|
|
||||||
$this->calloutStatusRate = $calloutStatusRate;
|
|
||||||
}
|
|
||||||
public function getCalloutStatusRate()
|
|
||||||
{
|
|
||||||
return $this->calloutStatusRate;
|
|
||||||
}
|
|
||||||
public function setCookieMatcherStatusRate($cookieMatcherStatusRate)
|
|
||||||
{
|
|
||||||
$this->cookieMatcherStatusRate = $cookieMatcherStatusRate;
|
|
||||||
}
|
|
||||||
public function getCookieMatcherStatusRate()
|
|
||||||
{
|
|
||||||
return $this->cookieMatcherStatusRate;
|
|
||||||
}
|
|
||||||
public function setCreativeStatusRate($creativeStatusRate)
|
|
||||||
{
|
|
||||||
$this->creativeStatusRate = $creativeStatusRate;
|
|
||||||
}
|
|
||||||
public function getCreativeStatusRate()
|
|
||||||
{
|
|
||||||
return $this->creativeStatusRate;
|
|
||||||
}
|
|
||||||
public function setFilteredBidRate($filteredBidRate)
|
|
||||||
{
|
|
||||||
$this->filteredBidRate = $filteredBidRate;
|
|
||||||
}
|
|
||||||
public function getFilteredBidRate()
|
|
||||||
{
|
|
||||||
return $this->filteredBidRate;
|
|
||||||
}
|
|
||||||
public function setHostedMatchStatusRate($hostedMatchStatusRate)
|
|
||||||
{
|
|
||||||
$this->hostedMatchStatusRate = $hostedMatchStatusRate;
|
|
||||||
}
|
|
||||||
public function getHostedMatchStatusRate()
|
|
||||||
{
|
|
||||||
return $this->hostedMatchStatusRate;
|
|
||||||
}
|
|
||||||
public function setInventoryMatchRate($inventoryMatchRate)
|
|
||||||
{
|
|
||||||
$this->inventoryMatchRate = $inventoryMatchRate;
|
|
||||||
}
|
|
||||||
public function getInventoryMatchRate()
|
|
||||||
{
|
|
||||||
return $this->inventoryMatchRate;
|
|
||||||
}
|
|
||||||
public function setKind($kind)
|
|
||||||
{
|
|
||||||
$this->kind = $kind;
|
|
||||||
}
|
|
||||||
public function getKind()
|
|
||||||
{
|
|
||||||
return $this->kind;
|
|
||||||
}
|
|
||||||
public function setLatency50thPercentile($latency50thPercentile)
|
|
||||||
{
|
|
||||||
$this->latency50thPercentile = $latency50thPercentile;
|
|
||||||
}
|
|
||||||
public function getLatency50thPercentile()
|
|
||||||
{
|
|
||||||
return $this->latency50thPercentile;
|
|
||||||
}
|
|
||||||
public function setLatency85thPercentile($latency85thPercentile)
|
|
||||||
{
|
|
||||||
$this->latency85thPercentile = $latency85thPercentile;
|
|
||||||
}
|
|
||||||
public function getLatency85thPercentile()
|
|
||||||
{
|
|
||||||
return $this->latency85thPercentile;
|
|
||||||
}
|
|
||||||
public function setLatency95thPercentile($latency95thPercentile)
|
|
||||||
{
|
|
||||||
$this->latency95thPercentile = $latency95thPercentile;
|
|
||||||
}
|
|
||||||
public function getLatency95thPercentile()
|
|
||||||
{
|
|
||||||
return $this->latency95thPercentile;
|
|
||||||
}
|
|
||||||
public function setNoQuotaInRegion($noQuotaInRegion)
|
|
||||||
{
|
|
||||||
$this->noQuotaInRegion = $noQuotaInRegion;
|
|
||||||
}
|
|
||||||
public function getNoQuotaInRegion()
|
|
||||||
{
|
|
||||||
return $this->noQuotaInRegion;
|
|
||||||
}
|
|
||||||
public function setOutOfQuota($outOfQuota)
|
|
||||||
{
|
|
||||||
$this->outOfQuota = $outOfQuota;
|
|
||||||
}
|
|
||||||
public function getOutOfQuota()
|
|
||||||
{
|
|
||||||
return $this->outOfQuota;
|
|
||||||
}
|
|
||||||
public function setPixelMatchRequests($pixelMatchRequests)
|
|
||||||
{
|
|
||||||
$this->pixelMatchRequests = $pixelMatchRequests;
|
|
||||||
}
|
|
||||||
public function getPixelMatchRequests()
|
|
||||||
{
|
|
||||||
return $this->pixelMatchRequests;
|
|
||||||
}
|
|
||||||
public function setPixelMatchResponses($pixelMatchResponses)
|
|
||||||
{
|
|
||||||
$this->pixelMatchResponses = $pixelMatchResponses;
|
|
||||||
}
|
|
||||||
public function getPixelMatchResponses()
|
|
||||||
{
|
|
||||||
return $this->pixelMatchResponses;
|
|
||||||
}
|
|
||||||
public function setQuotaConfiguredLimit($quotaConfiguredLimit)
|
|
||||||
{
|
|
||||||
$this->quotaConfiguredLimit = $quotaConfiguredLimit;
|
|
||||||
}
|
|
||||||
public function getQuotaConfiguredLimit()
|
|
||||||
{
|
|
||||||
return $this->quotaConfiguredLimit;
|
|
||||||
}
|
|
||||||
public function setQuotaThrottledLimit($quotaThrottledLimit)
|
|
||||||
{
|
|
||||||
$this->quotaThrottledLimit = $quotaThrottledLimit;
|
|
||||||
}
|
|
||||||
public function getQuotaThrottledLimit()
|
|
||||||
{
|
|
||||||
return $this->quotaThrottledLimit;
|
|
||||||
}
|
|
||||||
public function setRegion($region)
|
|
||||||
{
|
|
||||||
$this->region = $region;
|
|
||||||
}
|
|
||||||
public function getRegion()
|
|
||||||
{
|
|
||||||
return $this->region;
|
|
||||||
}
|
|
||||||
public function setSuccessfulRequestRate($successfulRequestRate)
|
|
||||||
{
|
|
||||||
$this->successfulRequestRate = $successfulRequestRate;
|
|
||||||
}
|
|
||||||
public function getSuccessfulRequestRate()
|
|
||||||
{
|
|
||||||
return $this->successfulRequestRate;
|
|
||||||
}
|
|
||||||
public function setTimestamp($timestamp)
|
|
||||||
{
|
|
||||||
$this->timestamp = $timestamp;
|
|
||||||
}
|
|
||||||
public function getTimestamp()
|
|
||||||
{
|
|
||||||
return $this->timestamp;
|
|
||||||
}
|
|
||||||
public function setUnsuccessfulRequestRate($unsuccessfulRequestRate)
|
|
||||||
{
|
|
||||||
$this->unsuccessfulRequestRate = $unsuccessfulRequestRate;
|
|
||||||
}
|
|
||||||
public function getUnsuccessfulRequestRate()
|
|
||||||
{
|
|
||||||
return $this->unsuccessfulRequestRate;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,260 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
class Google_Service_AdExchangeBuyer_PretargetingConfig extends Google_Collection
|
|
||||||
{
|
|
||||||
protected $collection_key = 'videoPlayerSizes';
|
|
||||||
public $billingId;
|
|
||||||
public $configId;
|
|
||||||
public $configName;
|
|
||||||
public $creativeType;
|
|
||||||
protected $dimensionsType = 'Google_Service_AdExchangeBuyer_PretargetingConfigDimensions';
|
|
||||||
protected $dimensionsDataType = 'array';
|
|
||||||
public $excludedContentLabels;
|
|
||||||
public $excludedGeoCriteriaIds;
|
|
||||||
protected $excludedPlacementsType = 'Google_Service_AdExchangeBuyer_PretargetingConfigExcludedPlacements';
|
|
||||||
protected $excludedPlacementsDataType = 'array';
|
|
||||||
public $excludedUserLists;
|
|
||||||
public $excludedVerticals;
|
|
||||||
public $geoCriteriaIds;
|
|
||||||
public $isActive;
|
|
||||||
public $kind;
|
|
||||||
public $languages;
|
|
||||||
public $minimumViewabilityDecile;
|
|
||||||
public $mobileCarriers;
|
|
||||||
public $mobileDevices;
|
|
||||||
public $mobileOperatingSystemVersions;
|
|
||||||
protected $placementsType = 'Google_Service_AdExchangeBuyer_PretargetingConfigPlacements';
|
|
||||||
protected $placementsDataType = 'array';
|
|
||||||
public $platforms;
|
|
||||||
public $supportedCreativeAttributes;
|
|
||||||
public $userIdentifierDataRequired;
|
|
||||||
public $userLists;
|
|
||||||
public $vendorTypes;
|
|
||||||
public $verticals;
|
|
||||||
protected $videoPlayerSizesType = 'Google_Service_AdExchangeBuyer_PretargetingConfigVideoPlayerSizes';
|
|
||||||
protected $videoPlayerSizesDataType = 'array';
|
|
||||||
|
|
||||||
public function setBillingId($billingId)
|
|
||||||
{
|
|
||||||
$this->billingId = $billingId;
|
|
||||||
}
|
|
||||||
public function getBillingId()
|
|
||||||
{
|
|
||||||
return $this->billingId;
|
|
||||||
}
|
|
||||||
public function setConfigId($configId)
|
|
||||||
{
|
|
||||||
$this->configId = $configId;
|
|
||||||
}
|
|
||||||
public function getConfigId()
|
|
||||||
{
|
|
||||||
return $this->configId;
|
|
||||||
}
|
|
||||||
public function setConfigName($configName)
|
|
||||||
{
|
|
||||||
$this->configName = $configName;
|
|
||||||
}
|
|
||||||
public function getConfigName()
|
|
||||||
{
|
|
||||||
return $this->configName;
|
|
||||||
}
|
|
||||||
public function setCreativeType($creativeType)
|
|
||||||
{
|
|
||||||
$this->creativeType = $creativeType;
|
|
||||||
}
|
|
||||||
public function getCreativeType()
|
|
||||||
{
|
|
||||||
return $this->creativeType;
|
|
||||||
}
|
|
||||||
public function setDimensions($dimensions)
|
|
||||||
{
|
|
||||||
$this->dimensions = $dimensions;
|
|
||||||
}
|
|
||||||
public function getDimensions()
|
|
||||||
{
|
|
||||||
return $this->dimensions;
|
|
||||||
}
|
|
||||||
public function setExcludedContentLabels($excludedContentLabels)
|
|
||||||
{
|
|
||||||
$this->excludedContentLabels = $excludedContentLabels;
|
|
||||||
}
|
|
||||||
public function getExcludedContentLabels()
|
|
||||||
{
|
|
||||||
return $this->excludedContentLabels;
|
|
||||||
}
|
|
||||||
public function setExcludedGeoCriteriaIds($excludedGeoCriteriaIds)
|
|
||||||
{
|
|
||||||
$this->excludedGeoCriteriaIds = $excludedGeoCriteriaIds;
|
|
||||||
}
|
|
||||||
public function getExcludedGeoCriteriaIds()
|
|
||||||
{
|
|
||||||
return $this->excludedGeoCriteriaIds;
|
|
||||||
}
|
|
||||||
public function setExcludedPlacements($excludedPlacements)
|
|
||||||
{
|
|
||||||
$this->excludedPlacements = $excludedPlacements;
|
|
||||||
}
|
|
||||||
public function getExcludedPlacements()
|
|
||||||
{
|
|
||||||
return $this->excludedPlacements;
|
|
||||||
}
|
|
||||||
public function setExcludedUserLists($excludedUserLists)
|
|
||||||
{
|
|
||||||
$this->excludedUserLists = $excludedUserLists;
|
|
||||||
}
|
|
||||||
public function getExcludedUserLists()
|
|
||||||
{
|
|
||||||
return $this->excludedUserLists;
|
|
||||||
}
|
|
||||||
public function setExcludedVerticals($excludedVerticals)
|
|
||||||
{
|
|
||||||
$this->excludedVerticals = $excludedVerticals;
|
|
||||||
}
|
|
||||||
public function getExcludedVerticals()
|
|
||||||
{
|
|
||||||
return $this->excludedVerticals;
|
|
||||||
}
|
|
||||||
public function setGeoCriteriaIds($geoCriteriaIds)
|
|
||||||
{
|
|
||||||
$this->geoCriteriaIds = $geoCriteriaIds;
|
|
||||||
}
|
|
||||||
public function getGeoCriteriaIds()
|
|
||||||
{
|
|
||||||
return $this->geoCriteriaIds;
|
|
||||||
}
|
|
||||||
public function setIsActive($isActive)
|
|
||||||
{
|
|
||||||
$this->isActive = $isActive;
|
|
||||||
}
|
|
||||||
public function getIsActive()
|
|
||||||
{
|
|
||||||
return $this->isActive;
|
|
||||||
}
|
|
||||||
public function setKind($kind)
|
|
||||||
{
|
|
||||||
$this->kind = $kind;
|
|
||||||
}
|
|
||||||
public function getKind()
|
|
||||||
{
|
|
||||||
return $this->kind;
|
|
||||||
}
|
|
||||||
public function setLanguages($languages)
|
|
||||||
{
|
|
||||||
$this->languages = $languages;
|
|
||||||
}
|
|
||||||
public function getLanguages()
|
|
||||||
{
|
|
||||||
return $this->languages;
|
|
||||||
}
|
|
||||||
public function setMinimumViewabilityDecile($minimumViewabilityDecile)
|
|
||||||
{
|
|
||||||
$this->minimumViewabilityDecile = $minimumViewabilityDecile;
|
|
||||||
}
|
|
||||||
public function getMinimumViewabilityDecile()
|
|
||||||
{
|
|
||||||
return $this->minimumViewabilityDecile;
|
|
||||||
}
|
|
||||||
public function setMobileCarriers($mobileCarriers)
|
|
||||||
{
|
|
||||||
$this->mobileCarriers = $mobileCarriers;
|
|
||||||
}
|
|
||||||
public function getMobileCarriers()
|
|
||||||
{
|
|
||||||
return $this->mobileCarriers;
|
|
||||||
}
|
|
||||||
public function setMobileDevices($mobileDevices)
|
|
||||||
{
|
|
||||||
$this->mobileDevices = $mobileDevices;
|
|
||||||
}
|
|
||||||
public function getMobileDevices()
|
|
||||||
{
|
|
||||||
return $this->mobileDevices;
|
|
||||||
}
|
|
||||||
public function setMobileOperatingSystemVersions($mobileOperatingSystemVersions)
|
|
||||||
{
|
|
||||||
$this->mobileOperatingSystemVersions = $mobileOperatingSystemVersions;
|
|
||||||
}
|
|
||||||
public function getMobileOperatingSystemVersions()
|
|
||||||
{
|
|
||||||
return $this->mobileOperatingSystemVersions;
|
|
||||||
}
|
|
||||||
public function setPlacements($placements)
|
|
||||||
{
|
|
||||||
$this->placements = $placements;
|
|
||||||
}
|
|
||||||
public function getPlacements()
|
|
||||||
{
|
|
||||||
return $this->placements;
|
|
||||||
}
|
|
||||||
public function setPlatforms($platforms)
|
|
||||||
{
|
|
||||||
$this->platforms = $platforms;
|
|
||||||
}
|
|
||||||
public function getPlatforms()
|
|
||||||
{
|
|
||||||
return $this->platforms;
|
|
||||||
}
|
|
||||||
public function setSupportedCreativeAttributes($supportedCreativeAttributes)
|
|
||||||
{
|
|
||||||
$this->supportedCreativeAttributes = $supportedCreativeAttributes;
|
|
||||||
}
|
|
||||||
public function getSupportedCreativeAttributes()
|
|
||||||
{
|
|
||||||
return $this->supportedCreativeAttributes;
|
|
||||||
}
|
|
||||||
public function setUserIdentifierDataRequired($userIdentifierDataRequired)
|
|
||||||
{
|
|
||||||
$this->userIdentifierDataRequired = $userIdentifierDataRequired;
|
|
||||||
}
|
|
||||||
public function getUserIdentifierDataRequired()
|
|
||||||
{
|
|
||||||
return $this->userIdentifierDataRequired;
|
|
||||||
}
|
|
||||||
public function setUserLists($userLists)
|
|
||||||
{
|
|
||||||
$this->userLists = $userLists;
|
|
||||||
}
|
|
||||||
public function getUserLists()
|
|
||||||
{
|
|
||||||
return $this->userLists;
|
|
||||||
}
|
|
||||||
public function setVendorTypes($vendorTypes)
|
|
||||||
{
|
|
||||||
$this->vendorTypes = $vendorTypes;
|
|
||||||
}
|
|
||||||
public function getVendorTypes()
|
|
||||||
{
|
|
||||||
return $this->vendorTypes;
|
|
||||||
}
|
|
||||||
public function setVerticals($verticals)
|
|
||||||
{
|
|
||||||
$this->verticals = $verticals;
|
|
||||||
}
|
|
||||||
public function getVerticals()
|
|
||||||
{
|
|
||||||
return $this->verticals;
|
|
||||||
}
|
|
||||||
public function setVideoPlayerSizes($videoPlayerSizes)
|
|
||||||
{
|
|
||||||
$this->videoPlayerSizes = $videoPlayerSizes;
|
|
||||||
}
|
|
||||||
public function getVideoPlayerSizes()
|
|
||||||
{
|
|
||||||
return $this->videoPlayerSizes;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,57 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
class Google_Service_AdExchangeBuyer_Price extends Google_Model
|
|
||||||
{
|
|
||||||
public $amountMicros;
|
|
||||||
public $currencyCode;
|
|
||||||
public $expectedCpmMicros;
|
|
||||||
public $pricingType;
|
|
||||||
|
|
||||||
public function setAmountMicros($amountMicros)
|
|
||||||
{
|
|
||||||
$this->amountMicros = $amountMicros;
|
|
||||||
}
|
|
||||||
public function getAmountMicros()
|
|
||||||
{
|
|
||||||
return $this->amountMicros;
|
|
||||||
}
|
|
||||||
public function setCurrencyCode($currencyCode)
|
|
||||||
{
|
|
||||||
$this->currencyCode = $currencyCode;
|
|
||||||
}
|
|
||||||
public function getCurrencyCode()
|
|
||||||
{
|
|
||||||
return $this->currencyCode;
|
|
||||||
}
|
|
||||||
public function setExpectedCpmMicros($expectedCpmMicros)
|
|
||||||
{
|
|
||||||
$this->expectedCpmMicros = $expectedCpmMicros;
|
|
||||||
}
|
|
||||||
public function getExpectedCpmMicros()
|
|
||||||
{
|
|
||||||
return $this->expectedCpmMicros;
|
|
||||||
}
|
|
||||||
public function setPricingType($pricingType)
|
|
||||||
{
|
|
||||||
$this->pricingType = $pricingType;
|
|
||||||
}
|
|
||||||
public function getPricingType()
|
|
||||||
{
|
|
||||||
return $this->pricingType;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,50 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
class Google_Service_AdExchangeBuyer_PricePerBuyer extends Google_Model
|
|
||||||
{
|
|
||||||
public $auctionTier;
|
|
||||||
protected $buyerType = 'Google_Service_AdExchangeBuyer_Buyer';
|
|
||||||
protected $buyerDataType = '';
|
|
||||||
protected $priceType = 'Google_Service_AdExchangeBuyer_Price';
|
|
||||||
protected $priceDataType = '';
|
|
||||||
|
|
||||||
public function setAuctionTier($auctionTier)
|
|
||||||
{
|
|
||||||
$this->auctionTier = $auctionTier;
|
|
||||||
}
|
|
||||||
public function getAuctionTier()
|
|
||||||
{
|
|
||||||
return $this->auctionTier;
|
|
||||||
}
|
|
||||||
public function setBuyer(Google_Service_AdExchangeBuyer_Buyer $buyer)
|
|
||||||
{
|
|
||||||
$this->buyer = $buyer;
|
|
||||||
}
|
|
||||||
public function getBuyer()
|
|
||||||
{
|
|
||||||
return $this->buyer;
|
|
||||||
}
|
|
||||||
public function setPrice(Google_Service_AdExchangeBuyer_Price $price)
|
|
||||||
{
|
|
||||||
$this->price = $price;
|
|
||||||
}
|
|
||||||
public function getPrice()
|
|
||||||
{
|
|
||||||
return $this->price;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,39 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
class Google_Service_AdExchangeBuyer_PrivateData extends Google_Model
|
|
||||||
{
|
|
||||||
public $referenceId;
|
|
||||||
public $referencePayload;
|
|
||||||
|
|
||||||
public function setReferenceId($referenceId)
|
|
||||||
{
|
|
||||||
$this->referenceId = $referenceId;
|
|
||||||
}
|
|
||||||
public function getReferenceId()
|
|
||||||
{
|
|
||||||
return $this->referenceId;
|
|
||||||
}
|
|
||||||
public function setReferencePayload($referencePayload)
|
|
||||||
{
|
|
||||||
$this->referencePayload = $referencePayload;
|
|
||||||
}
|
|
||||||
public function getReferencePayload()
|
|
||||||
{
|
|
||||||
return $this->referencePayload;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,245 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
class Google_Service_AdExchangeBuyer_Product extends Google_Collection
|
|
||||||
{
|
|
||||||
protected $collection_key = 'sharedTargetings';
|
|
||||||
public $creationTimeMs;
|
|
||||||
protected $creatorContactsType = 'Google_Service_AdExchangeBuyer_ContactInformation';
|
|
||||||
protected $creatorContactsDataType = 'array';
|
|
||||||
protected $deliveryControlType = 'Google_Service_AdExchangeBuyer_DeliveryControl';
|
|
||||||
protected $deliveryControlDataType = '';
|
|
||||||
public $flightEndTimeMs;
|
|
||||||
public $flightStartTimeMs;
|
|
||||||
public $hasCreatorSignedOff;
|
|
||||||
public $inventorySource;
|
|
||||||
public $kind;
|
|
||||||
protected $labelsType = 'Google_Service_AdExchangeBuyer_MarketplaceLabel';
|
|
||||||
protected $labelsDataType = 'array';
|
|
||||||
public $lastUpdateTimeMs;
|
|
||||||
public $legacyOfferId;
|
|
||||||
public $marketplacePublisherProfileId;
|
|
||||||
public $name;
|
|
||||||
public $privateAuctionId;
|
|
||||||
public $productId;
|
|
||||||
public $publisherProfileId;
|
|
||||||
protected $publisherProvidedForecastType = 'Google_Service_AdExchangeBuyer_PublisherProvidedForecast';
|
|
||||||
protected $publisherProvidedForecastDataType = '';
|
|
||||||
public $revisionNumber;
|
|
||||||
protected $sellerType = 'Google_Service_AdExchangeBuyer_Seller';
|
|
||||||
protected $sellerDataType = '';
|
|
||||||
protected $sharedTargetingsType = 'Google_Service_AdExchangeBuyer_SharedTargeting';
|
|
||||||
protected $sharedTargetingsDataType = 'array';
|
|
||||||
public $state;
|
|
||||||
public $syndicationProduct;
|
|
||||||
protected $termsType = 'Google_Service_AdExchangeBuyer_DealTerms';
|
|
||||||
protected $termsDataType = '';
|
|
||||||
public $webPropertyCode;
|
|
||||||
|
|
||||||
public function setCreationTimeMs($creationTimeMs)
|
|
||||||
{
|
|
||||||
$this->creationTimeMs = $creationTimeMs;
|
|
||||||
}
|
|
||||||
public function getCreationTimeMs()
|
|
||||||
{
|
|
||||||
return $this->creationTimeMs;
|
|
||||||
}
|
|
||||||
public function setCreatorContacts($creatorContacts)
|
|
||||||
{
|
|
||||||
$this->creatorContacts = $creatorContacts;
|
|
||||||
}
|
|
||||||
public function getCreatorContacts()
|
|
||||||
{
|
|
||||||
return $this->creatorContacts;
|
|
||||||
}
|
|
||||||
public function setDeliveryControl(Google_Service_AdExchangeBuyer_DeliveryControl $deliveryControl)
|
|
||||||
{
|
|
||||||
$this->deliveryControl = $deliveryControl;
|
|
||||||
}
|
|
||||||
public function getDeliveryControl()
|
|
||||||
{
|
|
||||||
return $this->deliveryControl;
|
|
||||||
}
|
|
||||||
public function setFlightEndTimeMs($flightEndTimeMs)
|
|
||||||
{
|
|
||||||
$this->flightEndTimeMs = $flightEndTimeMs;
|
|
||||||
}
|
|
||||||
public function getFlightEndTimeMs()
|
|
||||||
{
|
|
||||||
return $this->flightEndTimeMs;
|
|
||||||
}
|
|
||||||
public function setFlightStartTimeMs($flightStartTimeMs)
|
|
||||||
{
|
|
||||||
$this->flightStartTimeMs = $flightStartTimeMs;
|
|
||||||
}
|
|
||||||
public function getFlightStartTimeMs()
|
|
||||||
{
|
|
||||||
return $this->flightStartTimeMs;
|
|
||||||
}
|
|
||||||
public function setHasCreatorSignedOff($hasCreatorSignedOff)
|
|
||||||
{
|
|
||||||
$this->hasCreatorSignedOff = $hasCreatorSignedOff;
|
|
||||||
}
|
|
||||||
public function getHasCreatorSignedOff()
|
|
||||||
{
|
|
||||||
return $this->hasCreatorSignedOff;
|
|
||||||
}
|
|
||||||
public function setInventorySource($inventorySource)
|
|
||||||
{
|
|
||||||
$this->inventorySource = $inventorySource;
|
|
||||||
}
|
|
||||||
public function getInventorySource()
|
|
||||||
{
|
|
||||||
return $this->inventorySource;
|
|
||||||
}
|
|
||||||
public function setKind($kind)
|
|
||||||
{
|
|
||||||
$this->kind = $kind;
|
|
||||||
}
|
|
||||||
public function getKind()
|
|
||||||
{
|
|
||||||
return $this->kind;
|
|
||||||
}
|
|
||||||
public function setLabels($labels)
|
|
||||||
{
|
|
||||||
$this->labels = $labels;
|
|
||||||
}
|
|
||||||
public function getLabels()
|
|
||||||
{
|
|
||||||
return $this->labels;
|
|
||||||
}
|
|
||||||
public function setLastUpdateTimeMs($lastUpdateTimeMs)
|
|
||||||
{
|
|
||||||
$this->lastUpdateTimeMs = $lastUpdateTimeMs;
|
|
||||||
}
|
|
||||||
public function getLastUpdateTimeMs()
|
|
||||||
{
|
|
||||||
return $this->lastUpdateTimeMs;
|
|
||||||
}
|
|
||||||
public function setLegacyOfferId($legacyOfferId)
|
|
||||||
{
|
|
||||||
$this->legacyOfferId = $legacyOfferId;
|
|
||||||
}
|
|
||||||
public function getLegacyOfferId()
|
|
||||||
{
|
|
||||||
return $this->legacyOfferId;
|
|
||||||
}
|
|
||||||
public function setMarketplacePublisherProfileId($marketplacePublisherProfileId)
|
|
||||||
{
|
|
||||||
$this->marketplacePublisherProfileId = $marketplacePublisherProfileId;
|
|
||||||
}
|
|
||||||
public function getMarketplacePublisherProfileId()
|
|
||||||
{
|
|
||||||
return $this->marketplacePublisherProfileId;
|
|
||||||
}
|
|
||||||
public function setName($name)
|
|
||||||
{
|
|
||||||
$this->name = $name;
|
|
||||||
}
|
|
||||||
public function getName()
|
|
||||||
{
|
|
||||||
return $this->name;
|
|
||||||
}
|
|
||||||
public function setPrivateAuctionId($privateAuctionId)
|
|
||||||
{
|
|
||||||
$this->privateAuctionId = $privateAuctionId;
|
|
||||||
}
|
|
||||||
public function getPrivateAuctionId()
|
|
||||||
{
|
|
||||||
return $this->privateAuctionId;
|
|
||||||
}
|
|
||||||
public function setProductId($productId)
|
|
||||||
{
|
|
||||||
$this->productId = $productId;
|
|
||||||
}
|
|
||||||
public function getProductId()
|
|
||||||
{
|
|
||||||
return $this->productId;
|
|
||||||
}
|
|
||||||
public function setPublisherProfileId($publisherProfileId)
|
|
||||||
{
|
|
||||||
$this->publisherProfileId = $publisherProfileId;
|
|
||||||
}
|
|
||||||
public function getPublisherProfileId()
|
|
||||||
{
|
|
||||||
return $this->publisherProfileId;
|
|
||||||
}
|
|
||||||
public function setPublisherProvidedForecast(Google_Service_AdExchangeBuyer_PublisherProvidedForecast $publisherProvidedForecast)
|
|
||||||
{
|
|
||||||
$this->publisherProvidedForecast = $publisherProvidedForecast;
|
|
||||||
}
|
|
||||||
public function getPublisherProvidedForecast()
|
|
||||||
{
|
|
||||||
return $this->publisherProvidedForecast;
|
|
||||||
}
|
|
||||||
public function setRevisionNumber($revisionNumber)
|
|
||||||
{
|
|
||||||
$this->revisionNumber = $revisionNumber;
|
|
||||||
}
|
|
||||||
public function getRevisionNumber()
|
|
||||||
{
|
|
||||||
return $this->revisionNumber;
|
|
||||||
}
|
|
||||||
public function setSeller(Google_Service_AdExchangeBuyer_Seller $seller)
|
|
||||||
{
|
|
||||||
$this->seller = $seller;
|
|
||||||
}
|
|
||||||
public function getSeller()
|
|
||||||
{
|
|
||||||
return $this->seller;
|
|
||||||
}
|
|
||||||
public function setSharedTargetings($sharedTargetings)
|
|
||||||
{
|
|
||||||
$this->sharedTargetings = $sharedTargetings;
|
|
||||||
}
|
|
||||||
public function getSharedTargetings()
|
|
||||||
{
|
|
||||||
return $this->sharedTargetings;
|
|
||||||
}
|
|
||||||
public function setState($state)
|
|
||||||
{
|
|
||||||
$this->state = $state;
|
|
||||||
}
|
|
||||||
public function getState()
|
|
||||||
{
|
|
||||||
return $this->state;
|
|
||||||
}
|
|
||||||
public function setSyndicationProduct($syndicationProduct)
|
|
||||||
{
|
|
||||||
$this->syndicationProduct = $syndicationProduct;
|
|
||||||
}
|
|
||||||
public function getSyndicationProduct()
|
|
||||||
{
|
|
||||||
return $this->syndicationProduct;
|
|
||||||
}
|
|
||||||
public function setTerms(Google_Service_AdExchangeBuyer_DealTerms $terms)
|
|
||||||
{
|
|
||||||
$this->terms = $terms;
|
|
||||||
}
|
|
||||||
public function getTerms()
|
|
||||||
{
|
|
||||||
return $this->terms;
|
|
||||||
}
|
|
||||||
public function setWebPropertyCode($webPropertyCode)
|
|
||||||
{
|
|
||||||
$this->webPropertyCode = $webPropertyCode;
|
|
||||||
}
|
|
||||||
public function getWebPropertyCode()
|
|
||||||
{
|
|
||||||
return $this->webPropertyCode;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,236 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
class Google_Service_AdExchangeBuyer_Proposal extends Google_Collection
|
|
||||||
{
|
|
||||||
protected $collection_key = 'sellerContacts';
|
|
||||||
protected $billedBuyerType = 'Google_Service_AdExchangeBuyer_Buyer';
|
|
||||||
protected $billedBuyerDataType = '';
|
|
||||||
protected $buyerType = 'Google_Service_AdExchangeBuyer_Buyer';
|
|
||||||
protected $buyerDataType = '';
|
|
||||||
protected $buyerContactsType = 'Google_Service_AdExchangeBuyer_ContactInformation';
|
|
||||||
protected $buyerContactsDataType = 'array';
|
|
||||||
protected $buyerPrivateDataType = 'Google_Service_AdExchangeBuyer_PrivateData';
|
|
||||||
protected $buyerPrivateDataDataType = '';
|
|
||||||
public $dbmAdvertiserIds;
|
|
||||||
public $hasBuyerSignedOff;
|
|
||||||
public $hasSellerSignedOff;
|
|
||||||
public $inventorySource;
|
|
||||||
public $isRenegotiating;
|
|
||||||
public $isSetupComplete;
|
|
||||||
public $kind;
|
|
||||||
protected $labelsType = 'Google_Service_AdExchangeBuyer_MarketplaceLabel';
|
|
||||||
protected $labelsDataType = 'array';
|
|
||||||
public $lastUpdaterOrCommentorRole;
|
|
||||||
public $name;
|
|
||||||
public $negotiationId;
|
|
||||||
public $originatorRole;
|
|
||||||
public $privateAuctionId;
|
|
||||||
public $proposalId;
|
|
||||||
public $proposalState;
|
|
||||||
public $revisionNumber;
|
|
||||||
public $revisionTimeMs;
|
|
||||||
protected $sellerType = 'Google_Service_AdExchangeBuyer_Seller';
|
|
||||||
protected $sellerDataType = '';
|
|
||||||
protected $sellerContactsType = 'Google_Service_AdExchangeBuyer_ContactInformation';
|
|
||||||
protected $sellerContactsDataType = 'array';
|
|
||||||
|
|
||||||
public function setBilledBuyer(Google_Service_AdExchangeBuyer_Buyer $billedBuyer)
|
|
||||||
{
|
|
||||||
$this->billedBuyer = $billedBuyer;
|
|
||||||
}
|
|
||||||
public function getBilledBuyer()
|
|
||||||
{
|
|
||||||
return $this->billedBuyer;
|
|
||||||
}
|
|
||||||
public function setBuyer(Google_Service_AdExchangeBuyer_Buyer $buyer)
|
|
||||||
{
|
|
||||||
$this->buyer = $buyer;
|
|
||||||
}
|
|
||||||
public function getBuyer()
|
|
||||||
{
|
|
||||||
return $this->buyer;
|
|
||||||
}
|
|
||||||
public function setBuyerContacts($buyerContacts)
|
|
||||||
{
|
|
||||||
$this->buyerContacts = $buyerContacts;
|
|
||||||
}
|
|
||||||
public function getBuyerContacts()
|
|
||||||
{
|
|
||||||
return $this->buyerContacts;
|
|
||||||
}
|
|
||||||
public function setBuyerPrivateData(Google_Service_AdExchangeBuyer_PrivateData $buyerPrivateData)
|
|
||||||
{
|
|
||||||
$this->buyerPrivateData = $buyerPrivateData;
|
|
||||||
}
|
|
||||||
public function getBuyerPrivateData()
|
|
||||||
{
|
|
||||||
return $this->buyerPrivateData;
|
|
||||||
}
|
|
||||||
public function setDbmAdvertiserIds($dbmAdvertiserIds)
|
|
||||||
{
|
|
||||||
$this->dbmAdvertiserIds = $dbmAdvertiserIds;
|
|
||||||
}
|
|
||||||
public function getDbmAdvertiserIds()
|
|
||||||
{
|
|
||||||
return $this->dbmAdvertiserIds;
|
|
||||||
}
|
|
||||||
public function setHasBuyerSignedOff($hasBuyerSignedOff)
|
|
||||||
{
|
|
||||||
$this->hasBuyerSignedOff = $hasBuyerSignedOff;
|
|
||||||
}
|
|
||||||
public function getHasBuyerSignedOff()
|
|
||||||
{
|
|
||||||
return $this->hasBuyerSignedOff;
|
|
||||||
}
|
|
||||||
public function setHasSellerSignedOff($hasSellerSignedOff)
|
|
||||||
{
|
|
||||||
$this->hasSellerSignedOff = $hasSellerSignedOff;
|
|
||||||
}
|
|
||||||
public function getHasSellerSignedOff()
|
|
||||||
{
|
|
||||||
return $this->hasSellerSignedOff;
|
|
||||||
}
|
|
||||||
public function setInventorySource($inventorySource)
|
|
||||||
{
|
|
||||||
$this->inventorySource = $inventorySource;
|
|
||||||
}
|
|
||||||
public function getInventorySource()
|
|
||||||
{
|
|
||||||
return $this->inventorySource;
|
|
||||||
}
|
|
||||||
public function setIsRenegotiating($isRenegotiating)
|
|
||||||
{
|
|
||||||
$this->isRenegotiating = $isRenegotiating;
|
|
||||||
}
|
|
||||||
public function getIsRenegotiating()
|
|
||||||
{
|
|
||||||
return $this->isRenegotiating;
|
|
||||||
}
|
|
||||||
public function setIsSetupComplete($isSetupComplete)
|
|
||||||
{
|
|
||||||
$this->isSetupComplete = $isSetupComplete;
|
|
||||||
}
|
|
||||||
public function getIsSetupComplete()
|
|
||||||
{
|
|
||||||
return $this->isSetupComplete;
|
|
||||||
}
|
|
||||||
public function setKind($kind)
|
|
||||||
{
|
|
||||||
$this->kind = $kind;
|
|
||||||
}
|
|
||||||
public function getKind()
|
|
||||||
{
|
|
||||||
return $this->kind;
|
|
||||||
}
|
|
||||||
public function setLabels($labels)
|
|
||||||
{
|
|
||||||
$this->labels = $labels;
|
|
||||||
}
|
|
||||||
public function getLabels()
|
|
||||||
{
|
|
||||||
return $this->labels;
|
|
||||||
}
|
|
||||||
public function setLastUpdaterOrCommentorRole($lastUpdaterOrCommentorRole)
|
|
||||||
{
|
|
||||||
$this->lastUpdaterOrCommentorRole = $lastUpdaterOrCommentorRole;
|
|
||||||
}
|
|
||||||
public function getLastUpdaterOrCommentorRole()
|
|
||||||
{
|
|
||||||
return $this->lastUpdaterOrCommentorRole;
|
|
||||||
}
|
|
||||||
public function setName($name)
|
|
||||||
{
|
|
||||||
$this->name = $name;
|
|
||||||
}
|
|
||||||
public function getName()
|
|
||||||
{
|
|
||||||
return $this->name;
|
|
||||||
}
|
|
||||||
public function setNegotiationId($negotiationId)
|
|
||||||
{
|
|
||||||
$this->negotiationId = $negotiationId;
|
|
||||||
}
|
|
||||||
public function getNegotiationId()
|
|
||||||
{
|
|
||||||
return $this->negotiationId;
|
|
||||||
}
|
|
||||||
public function setOriginatorRole($originatorRole)
|
|
||||||
{
|
|
||||||
$this->originatorRole = $originatorRole;
|
|
||||||
}
|
|
||||||
public function getOriginatorRole()
|
|
||||||
{
|
|
||||||
return $this->originatorRole;
|
|
||||||
}
|
|
||||||
public function setPrivateAuctionId($privateAuctionId)
|
|
||||||
{
|
|
||||||
$this->privateAuctionId = $privateAuctionId;
|
|
||||||
}
|
|
||||||
public function getPrivateAuctionId()
|
|
||||||
{
|
|
||||||
return $this->privateAuctionId;
|
|
||||||
}
|
|
||||||
public function setProposalId($proposalId)
|
|
||||||
{
|
|
||||||
$this->proposalId = $proposalId;
|
|
||||||
}
|
|
||||||
public function getProposalId()
|
|
||||||
{
|
|
||||||
return $this->proposalId;
|
|
||||||
}
|
|
||||||
public function setProposalState($proposalState)
|
|
||||||
{
|
|
||||||
$this->proposalState = $proposalState;
|
|
||||||
}
|
|
||||||
public function getProposalState()
|
|
||||||
{
|
|
||||||
return $this->proposalState;
|
|
||||||
}
|
|
||||||
public function setRevisionNumber($revisionNumber)
|
|
||||||
{
|
|
||||||
$this->revisionNumber = $revisionNumber;
|
|
||||||
}
|
|
||||||
public function getRevisionNumber()
|
|
||||||
{
|
|
||||||
return $this->revisionNumber;
|
|
||||||
}
|
|
||||||
public function setRevisionTimeMs($revisionTimeMs)
|
|
||||||
{
|
|
||||||
$this->revisionTimeMs = $revisionTimeMs;
|
|
||||||
}
|
|
||||||
public function getRevisionTimeMs()
|
|
||||||
{
|
|
||||||
return $this->revisionTimeMs;
|
|
||||||
}
|
|
||||||
public function setSeller(Google_Service_AdExchangeBuyer_Seller $seller)
|
|
||||||
{
|
|
||||||
$this->seller = $seller;
|
|
||||||
}
|
|
||||||
public function getSeller()
|
|
||||||
{
|
|
||||||
return $this->seller;
|
|
||||||
}
|
|
||||||
public function setSellerContacts($sellerContacts)
|
|
||||||
{
|
|
||||||
$this->sellerContacts = $sellerContacts;
|
|
||||||
}
|
|
||||||
public function getSellerContacts()
|
|
||||||
{
|
|
||||||
return $this->sellerContacts;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,88 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The "accounts" collection of methods.
|
|
||||||
* Typical usage is:
|
|
||||||
* <code>
|
|
||||||
* $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
|
|
||||||
* $accounts = $adexchangebuyerService->accounts;
|
|
||||||
* </code>
|
|
||||||
*/
|
|
||||||
class Google_Service_AdExchangeBuyer_Resource_Accounts extends Google_Service_Resource
|
|
||||||
{
|
|
||||||
/**
|
|
||||||
* Gets one account by ID. (accounts.get)
|
|
||||||
*
|
|
||||||
* @param int $id The account id
|
|
||||||
* @param array $optParams Optional parameters.
|
|
||||||
* @return Google_Service_AdExchangeBuyer_Account
|
|
||||||
*/
|
|
||||||
public function get($id, $optParams = array())
|
|
||||||
{
|
|
||||||
$params = array('id' => $id);
|
|
||||||
$params = array_merge($params, $optParams);
|
|
||||||
return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_Account");
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Retrieves the authenticated user's list of accounts. (accounts.listAccounts)
|
|
||||||
*
|
|
||||||
* @param array $optParams Optional parameters.
|
|
||||||
* @return Google_Service_AdExchangeBuyer_AccountsList
|
|
||||||
*/
|
|
||||||
public function listAccounts($optParams = array())
|
|
||||||
{
|
|
||||||
$params = array();
|
|
||||||
$params = array_merge($params, $optParams);
|
|
||||||
return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_AccountsList");
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Updates an existing account. This method supports patch semantics.
|
|
||||||
* (accounts.patch)
|
|
||||||
*
|
|
||||||
* @param int $id The account id
|
|
||||||
* @param Google_Service_AdExchangeBuyer_Account $postBody
|
|
||||||
* @param array $optParams Optional parameters.
|
|
||||||
*
|
|
||||||
* @opt_param bool confirmUnsafeAccountChange Confirmation for erasing bidder
|
|
||||||
* and cookie matching urls.
|
|
||||||
* @return Google_Service_AdExchangeBuyer_Account
|
|
||||||
*/
|
|
||||||
public function patch($id, Google_Service_AdExchangeBuyer_Account $postBody, $optParams = array())
|
|
||||||
{
|
|
||||||
$params = array('id' => $id, 'postBody' => $postBody);
|
|
||||||
$params = array_merge($params, $optParams);
|
|
||||||
return $this->call('patch', array($params), "Google_Service_AdExchangeBuyer_Account");
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Updates an existing account. (accounts.update)
|
|
||||||
*
|
|
||||||
* @param int $id The account id
|
|
||||||
* @param Google_Service_AdExchangeBuyer_Account $postBody
|
|
||||||
* @param array $optParams Optional parameters.
|
|
||||||
*
|
|
||||||
* @opt_param bool confirmUnsafeAccountChange Confirmation for erasing bidder
|
|
||||||
* and cookie matching urls.
|
|
||||||
* @return Google_Service_AdExchangeBuyer_Account
|
|
||||||
*/
|
|
||||||
public function update($id, Google_Service_AdExchangeBuyer_Account $postBody, $optParams = array())
|
|
||||||
{
|
|
||||||
$params = array('id' => $id, 'postBody' => $postBody);
|
|
||||||
$params = array_merge($params, $optParams);
|
|
||||||
return $this->call('update', array($params), "Google_Service_AdExchangeBuyer_Account");
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,55 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The "billingInfo" collection of methods.
|
|
||||||
* Typical usage is:
|
|
||||||
* <code>
|
|
||||||
* $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
|
|
||||||
* $billingInfo = $adexchangebuyerService->billingInfo;
|
|
||||||
* </code>
|
|
||||||
*/
|
|
||||||
class Google_Service_AdExchangeBuyer_Resource_BillingInfo extends Google_Service_Resource
|
|
||||||
{
|
|
||||||
/**
|
|
||||||
* Returns the billing information for one account specified by account ID.
|
|
||||||
* (billingInfo.get)
|
|
||||||
*
|
|
||||||
* @param int $accountId The account id.
|
|
||||||
* @param array $optParams Optional parameters.
|
|
||||||
* @return Google_Service_AdExchangeBuyer_BillingInfo
|
|
||||||
*/
|
|
||||||
public function get($accountId, $optParams = array())
|
|
||||||
{
|
|
||||||
$params = array('accountId' => $accountId);
|
|
||||||
$params = array_merge($params, $optParams);
|
|
||||||
return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_BillingInfo");
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Retrieves a list of billing information for all accounts of the authenticated
|
|
||||||
* user. (billingInfo.listBillingInfo)
|
|
||||||
*
|
|
||||||
* @param array $optParams Optional parameters.
|
|
||||||
* @return Google_Service_AdExchangeBuyer_BillingInfoList
|
|
||||||
*/
|
|
||||||
public function listBillingInfo($optParams = array())
|
|
||||||
{
|
|
||||||
$params = array();
|
|
||||||
$params = array_merge($params, $optParams);
|
|
||||||
return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_BillingInfoList");
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,81 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The "budget" collection of methods.
|
|
||||||
* Typical usage is:
|
|
||||||
* <code>
|
|
||||||
* $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
|
|
||||||
* $budget = $adexchangebuyerService->budget;
|
|
||||||
* </code>
|
|
||||||
*/
|
|
||||||
class Google_Service_AdExchangeBuyer_Resource_Budget extends Google_Service_Resource
|
|
||||||
{
|
|
||||||
/**
|
|
||||||
* Returns the budget information for the adgroup specified by the accountId and
|
|
||||||
* billingId. (budget.get)
|
|
||||||
*
|
|
||||||
* @param string $accountId The account id to get the budget information for.
|
|
||||||
* @param string $billingId The billing id to get the budget information for.
|
|
||||||
* @param array $optParams Optional parameters.
|
|
||||||
* @return Google_Service_AdExchangeBuyer_Budget
|
|
||||||
*/
|
|
||||||
public function get($accountId, $billingId, $optParams = array())
|
|
||||||
{
|
|
||||||
$params = array('accountId' => $accountId, 'billingId' => $billingId);
|
|
||||||
$params = array_merge($params, $optParams);
|
|
||||||
return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_Budget");
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Updates the budget amount for the budget of the adgroup specified by the
|
|
||||||
* accountId and billingId, with the budget amount in the request. This method
|
|
||||||
* supports patch semantics. (budget.patch)
|
|
||||||
*
|
|
||||||
* @param string $accountId The account id associated with the budget being
|
|
||||||
* updated.
|
|
||||||
* @param string $billingId The billing id associated with the budget being
|
|
||||||
* updated.
|
|
||||||
* @param Google_Service_AdExchangeBuyer_Budget $postBody
|
|
||||||
* @param array $optParams Optional parameters.
|
|
||||||
* @return Google_Service_AdExchangeBuyer_Budget
|
|
||||||
*/
|
|
||||||
public function patch($accountId, $billingId, Google_Service_AdExchangeBuyer_Budget $postBody, $optParams = array())
|
|
||||||
{
|
|
||||||
$params = array('accountId' => $accountId, 'billingId' => $billingId, 'postBody' => $postBody);
|
|
||||||
$params = array_merge($params, $optParams);
|
|
||||||
return $this->call('patch', array($params), "Google_Service_AdExchangeBuyer_Budget");
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Updates the budget amount for the budget of the adgroup specified by the
|
|
||||||
* accountId and billingId, with the budget amount in the request.
|
|
||||||
* (budget.update)
|
|
||||||
*
|
|
||||||
* @param string $accountId The account id associated with the budget being
|
|
||||||
* updated.
|
|
||||||
* @param string $billingId The billing id associated with the budget being
|
|
||||||
* updated.
|
|
||||||
* @param Google_Service_AdExchangeBuyer_Budget $postBody
|
|
||||||
* @param array $optParams Optional parameters.
|
|
||||||
* @return Google_Service_AdExchangeBuyer_Budget
|
|
||||||
*/
|
|
||||||
public function update($accountId, $billingId, Google_Service_AdExchangeBuyer_Budget $postBody, $optParams = array())
|
|
||||||
{
|
|
||||||
$params = array('accountId' => $accountId, 'billingId' => $billingId, 'postBody' => $postBody);
|
|
||||||
$params = array_merge($params, $optParams);
|
|
||||||
return $this->call('update', array($params), "Google_Service_AdExchangeBuyer_Budget");
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,127 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The "creatives" collection of methods.
|
|
||||||
* Typical usage is:
|
|
||||||
* <code>
|
|
||||||
* $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
|
|
||||||
* $creatives = $adexchangebuyerService->creatives;
|
|
||||||
* </code>
|
|
||||||
*/
|
|
||||||
class Google_Service_AdExchangeBuyer_Resource_Creatives extends Google_Service_Resource
|
|
||||||
{
|
|
||||||
/**
|
|
||||||
* Add a deal id association for the creative. (creatives.addDeal)
|
|
||||||
*
|
|
||||||
* @param int $accountId The id for the account that will serve this creative.
|
|
||||||
* @param string $buyerCreativeId The buyer-specific id for this creative.
|
|
||||||
* @param string $dealId The id of the deal id to associate with this creative.
|
|
||||||
* @param array $optParams Optional parameters.
|
|
||||||
*/
|
|
||||||
public function addDeal($accountId, $buyerCreativeId, $dealId, $optParams = array())
|
|
||||||
{
|
|
||||||
$params = array('accountId' => $accountId, 'buyerCreativeId' => $buyerCreativeId, 'dealId' => $dealId);
|
|
||||||
$params = array_merge($params, $optParams);
|
|
||||||
return $this->call('addDeal', array($params));
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Gets the status for a single creative. A creative will be available 30-40
|
|
||||||
* minutes after submission. (creatives.get)
|
|
||||||
*
|
|
||||||
* @param int $accountId The id for the account that will serve this creative.
|
|
||||||
* @param string $buyerCreativeId The buyer-specific id for this creative.
|
|
||||||
* @param array $optParams Optional parameters.
|
|
||||||
* @return Google_Service_AdExchangeBuyer_Creative
|
|
||||||
*/
|
|
||||||
public function get($accountId, $buyerCreativeId, $optParams = array())
|
|
||||||
{
|
|
||||||
$params = array('accountId' => $accountId, 'buyerCreativeId' => $buyerCreativeId);
|
|
||||||
$params = array_merge($params, $optParams);
|
|
||||||
return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_Creative");
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Submit a new creative. (creatives.insert)
|
|
||||||
*
|
|
||||||
* @param Google_Service_AdExchangeBuyer_Creative $postBody
|
|
||||||
* @param array $optParams Optional parameters.
|
|
||||||
* @return Google_Service_AdExchangeBuyer_Creative
|
|
||||||
*/
|
|
||||||
public function insert(Google_Service_AdExchangeBuyer_Creative $postBody, $optParams = array())
|
|
||||||
{
|
|
||||||
$params = array('postBody' => $postBody);
|
|
||||||
$params = array_merge($params, $optParams);
|
|
||||||
return $this->call('insert', array($params), "Google_Service_AdExchangeBuyer_Creative");
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Retrieves a list of the authenticated user's active creatives. A creative
|
|
||||||
* will be available 30-40 minutes after submission. (creatives.listCreatives)
|
|
||||||
*
|
|
||||||
* @param array $optParams Optional parameters.
|
|
||||||
*
|
|
||||||
* @opt_param int accountId When specified, only creatives for the given account
|
|
||||||
* ids are returned.
|
|
||||||
* @opt_param string buyerCreativeId When specified, only creatives for the
|
|
||||||
* given buyer creative ids are returned.
|
|
||||||
* @opt_param string dealsStatusFilter When specified, only creatives having the
|
|
||||||
* given deals status are returned.
|
|
||||||
* @opt_param string maxResults Maximum number of entries returned on one result
|
|
||||||
* page. If not set, the default is 100. Optional.
|
|
||||||
* @opt_param string openAuctionStatusFilter When specified, only creatives
|
|
||||||
* having the given open auction status are returned.
|
|
||||||
* @opt_param string pageToken A continuation token, used to page through ad
|
|
||||||
* clients. To retrieve the next page, set this parameter to the value of
|
|
||||||
* "nextPageToken" from the previous response. Optional.
|
|
||||||
* @return Google_Service_AdExchangeBuyer_CreativesList
|
|
||||||
*/
|
|
||||||
public function listCreatives($optParams = array())
|
|
||||||
{
|
|
||||||
$params = array();
|
|
||||||
$params = array_merge($params, $optParams);
|
|
||||||
return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_CreativesList");
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Lists the external deal ids associated with the creative.
|
|
||||||
* (creatives.listDeals)
|
|
||||||
*
|
|
||||||
* @param int $accountId The id for the account that will serve this creative.
|
|
||||||
* @param string $buyerCreativeId The buyer-specific id for this creative.
|
|
||||||
* @param array $optParams Optional parameters.
|
|
||||||
* @return Google_Service_AdExchangeBuyer_CreativeDealIds
|
|
||||||
*/
|
|
||||||
public function listDeals($accountId, $buyerCreativeId, $optParams = array())
|
|
||||||
{
|
|
||||||
$params = array('accountId' => $accountId, 'buyerCreativeId' => $buyerCreativeId);
|
|
||||||
$params = array_merge($params, $optParams);
|
|
||||||
return $this->call('listDeals', array($params), "Google_Service_AdExchangeBuyer_CreativeDealIds");
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Remove a deal id associated with the creative. (creatives.removeDeal)
|
|
||||||
*
|
|
||||||
* @param int $accountId The id for the account that will serve this creative.
|
|
||||||
* @param string $buyerCreativeId The buyer-specific id for this creative.
|
|
||||||
* @param string $dealId The id of the deal id to disassociate with this
|
|
||||||
* creative.
|
|
||||||
* @param array $optParams Optional parameters.
|
|
||||||
*/
|
|
||||||
public function removeDeal($accountId, $buyerCreativeId, $dealId, $optParams = array())
|
|
||||||
{
|
|
||||||
$params = array('accountId' => $accountId, 'buyerCreativeId' => $buyerCreativeId, 'dealId' => $dealId);
|
|
||||||
$params = array_merge($params, $optParams);
|
|
||||||
return $this->call('removeDeal', array($params));
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,52 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The "performanceReport" collection of methods.
|
|
||||||
* Typical usage is:
|
|
||||||
* <code>
|
|
||||||
* $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
|
|
||||||
* $performanceReport = $adexchangebuyerService->performanceReport;
|
|
||||||
* </code>
|
|
||||||
*/
|
|
||||||
class Google_Service_AdExchangeBuyer_Resource_PerformanceReport extends Google_Service_Resource
|
|
||||||
{
|
|
||||||
/**
|
|
||||||
* Retrieves the authenticated user's list of performance metrics.
|
|
||||||
* (performanceReport.listPerformanceReport)
|
|
||||||
*
|
|
||||||
* @param string $accountId The account id to get the reports.
|
|
||||||
* @param string $endDateTime The end time of the report in ISO 8601 timestamp
|
|
||||||
* format using UTC.
|
|
||||||
* @param string $startDateTime The start time of the report in ISO 8601
|
|
||||||
* timestamp format using UTC.
|
|
||||||
* @param array $optParams Optional parameters.
|
|
||||||
*
|
|
||||||
* @opt_param string maxResults Maximum number of entries returned on one result
|
|
||||||
* page. If not set, the default is 100. Optional.
|
|
||||||
* @opt_param string pageToken A continuation token, used to page through
|
|
||||||
* performance reports. To retrieve the next page, set this parameter to the
|
|
||||||
* value of "nextPageToken" from the previous response. Optional.
|
|
||||||
* @return Google_Service_AdExchangeBuyer_PerformanceReportList
|
|
||||||
*/
|
|
||||||
public function listPerformanceReport($accountId, $endDateTime, $startDateTime, $optParams = array())
|
|
||||||
{
|
|
||||||
$params = array('accountId' => $accountId, 'endDateTime' => $endDateTime, 'startDateTime' => $startDateTime);
|
|
||||||
$params = array_merge($params, $optParams);
|
|
||||||
return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_PerformanceReportList");
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,118 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The "pretargetingConfig" collection of methods.
|
|
||||||
* Typical usage is:
|
|
||||||
* <code>
|
|
||||||
* $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
|
|
||||||
* $pretargetingConfig = $adexchangebuyerService->pretargetingConfig;
|
|
||||||
* </code>
|
|
||||||
*/
|
|
||||||
class Google_Service_AdExchangeBuyer_Resource_PretargetingConfig extends Google_Service_Resource
|
|
||||||
{
|
|
||||||
/**
|
|
||||||
* Deletes an existing pretargeting config. (pretargetingConfig.delete)
|
|
||||||
*
|
|
||||||
* @param string $accountId The account id to delete the pretargeting config
|
|
||||||
* for.
|
|
||||||
* @param string $configId The specific id of the configuration to delete.
|
|
||||||
* @param array $optParams Optional parameters.
|
|
||||||
*/
|
|
||||||
public function delete($accountId, $configId, $optParams = array())
|
|
||||||
{
|
|
||||||
$params = array('accountId' => $accountId, 'configId' => $configId);
|
|
||||||
$params = array_merge($params, $optParams);
|
|
||||||
return $this->call('delete', array($params));
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Gets a specific pretargeting configuration (pretargetingConfig.get)
|
|
||||||
*
|
|
||||||
* @param string $accountId The account id to get the pretargeting config for.
|
|
||||||
* @param string $configId The specific id of the configuration to retrieve.
|
|
||||||
* @param array $optParams Optional parameters.
|
|
||||||
* @return Google_Service_AdExchangeBuyer_PretargetingConfig
|
|
||||||
*/
|
|
||||||
public function get($accountId, $configId, $optParams = array())
|
|
||||||
{
|
|
||||||
$params = array('accountId' => $accountId, 'configId' => $configId);
|
|
||||||
$params = array_merge($params, $optParams);
|
|
||||||
return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_PretargetingConfig");
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Inserts a new pretargeting configuration. (pretargetingConfig.insert)
|
|
||||||
*
|
|
||||||
* @param string $accountId The account id to insert the pretargeting config
|
|
||||||
* for.
|
|
||||||
* @param Google_Service_AdExchangeBuyer_PretargetingConfig $postBody
|
|
||||||
* @param array $optParams Optional parameters.
|
|
||||||
* @return Google_Service_AdExchangeBuyer_PretargetingConfig
|
|
||||||
*/
|
|
||||||
public function insert($accountId, Google_Service_AdExchangeBuyer_PretargetingConfig $postBody, $optParams = array())
|
|
||||||
{
|
|
||||||
$params = array('accountId' => $accountId, 'postBody' => $postBody);
|
|
||||||
$params = array_merge($params, $optParams);
|
|
||||||
return $this->call('insert', array($params), "Google_Service_AdExchangeBuyer_PretargetingConfig");
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Retrieves a list of the authenticated user's pretargeting configurations.
|
|
||||||
* (pretargetingConfig.listPretargetingConfig)
|
|
||||||
*
|
|
||||||
* @param string $accountId The account id to get the pretargeting configs for.
|
|
||||||
* @param array $optParams Optional parameters.
|
|
||||||
* @return Google_Service_AdExchangeBuyer_PretargetingConfigList
|
|
||||||
*/
|
|
||||||
public function listPretargetingConfig($accountId, $optParams = array())
|
|
||||||
{
|
|
||||||
$params = array('accountId' => $accountId);
|
|
||||||
$params = array_merge($params, $optParams);
|
|
||||||
return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_PretargetingConfigList");
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Updates an existing pretargeting config. This method supports patch
|
|
||||||
* semantics. (pretargetingConfig.patch)
|
|
||||||
*
|
|
||||||
* @param string $accountId The account id to update the pretargeting config
|
|
||||||
* for.
|
|
||||||
* @param string $configId The specific id of the configuration to update.
|
|
||||||
* @param Google_Service_AdExchangeBuyer_PretargetingConfig $postBody
|
|
||||||
* @param array $optParams Optional parameters.
|
|
||||||
* @return Google_Service_AdExchangeBuyer_PretargetingConfig
|
|
||||||
*/
|
|
||||||
public function patch($accountId, $configId, Google_Service_AdExchangeBuyer_PretargetingConfig $postBody, $optParams = array())
|
|
||||||
{
|
|
||||||
$params = array('accountId' => $accountId, 'configId' => $configId, 'postBody' => $postBody);
|
|
||||||
$params = array_merge($params, $optParams);
|
|
||||||
return $this->call('patch', array($params), "Google_Service_AdExchangeBuyer_PretargetingConfig");
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Updates an existing pretargeting config. (pretargetingConfig.update)
|
|
||||||
*
|
|
||||||
* @param string $accountId The account id to update the pretargeting config
|
|
||||||
* for.
|
|
||||||
* @param string $configId The specific id of the configuration to update.
|
|
||||||
* @param Google_Service_AdExchangeBuyer_PretargetingConfig $postBody
|
|
||||||
* @param array $optParams Optional parameters.
|
|
||||||
* @return Google_Service_AdExchangeBuyer_PretargetingConfig
|
|
||||||
*/
|
|
||||||
public function update($accountId, $configId, Google_Service_AdExchangeBuyer_PretargetingConfig $postBody, $optParams = array())
|
|
||||||
{
|
|
||||||
$params = array('accountId' => $accountId, 'configId' => $configId, 'postBody' => $postBody);
|
|
||||||
$params = array_merge($params, $optParams);
|
|
||||||
return $this->call('update', array($params), "Google_Service_AdExchangeBuyer_PretargetingConfig");
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,55 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The "products" collection of methods.
|
|
||||||
* Typical usage is:
|
|
||||||
* <code>
|
|
||||||
* $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
|
|
||||||
* $products = $adexchangebuyerService->products;
|
|
||||||
* </code>
|
|
||||||
*/
|
|
||||||
class Google_Service_AdExchangeBuyer_Resource_Products extends Google_Service_Resource
|
|
||||||
{
|
|
||||||
/**
|
|
||||||
* Gets the requested product by id. (products.get)
|
|
||||||
*
|
|
||||||
* @param string $productId The id for the product to get the head revision for.
|
|
||||||
* @param array $optParams Optional parameters.
|
|
||||||
* @return Google_Service_AdExchangeBuyer_Product
|
|
||||||
*/
|
|
||||||
public function get($productId, $optParams = array())
|
|
||||||
{
|
|
||||||
$params = array('productId' => $productId);
|
|
||||||
$params = array_merge($params, $optParams);
|
|
||||||
return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_Product");
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Gets the requested product. (products.search)
|
|
||||||
*
|
|
||||||
* @param array $optParams Optional parameters.
|
|
||||||
*
|
|
||||||
* @opt_param string pqlQuery The pql query used to query for products.
|
|
||||||
* @return Google_Service_AdExchangeBuyer_GetOffersResponse
|
|
||||||
*/
|
|
||||||
public function search($optParams = array())
|
|
||||||
{
|
|
||||||
$params = array();
|
|
||||||
$params = array_merge($params, $optParams);
|
|
||||||
return $this->call('search', array($params), "Google_Service_AdExchangeBuyer_GetOffersResponse");
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,39 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
class Google_Service_AdExchangeBuyer_Seller extends Google_Model
|
|
||||||
{
|
|
||||||
public $accountId;
|
|
||||||
public $subAccountId;
|
|
||||||
|
|
||||||
public function setAccountId($accountId)
|
|
||||||
{
|
|
||||||
$this->accountId = $accountId;
|
|
||||||
}
|
|
||||||
public function getAccountId()
|
|
||||||
{
|
|
||||||
return $this->accountId;
|
|
||||||
}
|
|
||||||
public function setSubAccountId($subAccountId)
|
|
||||||
{
|
|
||||||
$this->subAccountId = $subAccountId;
|
|
||||||
}
|
|
||||||
public function getSubAccountId()
|
|
||||||
{
|
|
||||||
return $this->subAccountId;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,59 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
class Google_Service_AdExchangeBuyer_TargetingValue extends Google_Model
|
|
||||||
{
|
|
||||||
protected $creativeSizeValueType = 'Google_Service_AdExchangeBuyer_TargetingValueCreativeSize';
|
|
||||||
protected $creativeSizeValueDataType = '';
|
|
||||||
protected $dayPartTargetingValueType = 'Google_Service_AdExchangeBuyer_TargetingValueDayPartTargeting';
|
|
||||||
protected $dayPartTargetingValueDataType = '';
|
|
||||||
public $longValue;
|
|
||||||
public $stringValue;
|
|
||||||
|
|
||||||
public function setCreativeSizeValue(Google_Service_AdExchangeBuyer_TargetingValueCreativeSize $creativeSizeValue)
|
|
||||||
{
|
|
||||||
$this->creativeSizeValue = $creativeSizeValue;
|
|
||||||
}
|
|
||||||
public function getCreativeSizeValue()
|
|
||||||
{
|
|
||||||
return $this->creativeSizeValue;
|
|
||||||
}
|
|
||||||
public function setDayPartTargetingValue(Google_Service_AdExchangeBuyer_TargetingValueDayPartTargeting $dayPartTargetingValue)
|
|
||||||
{
|
|
||||||
$this->dayPartTargetingValue = $dayPartTargetingValue;
|
|
||||||
}
|
|
||||||
public function getDayPartTargetingValue()
|
|
||||||
{
|
|
||||||
return $this->dayPartTargetingValue;
|
|
||||||
}
|
|
||||||
public function setLongValue($longValue)
|
|
||||||
{
|
|
||||||
$this->longValue = $longValue;
|
|
||||||
}
|
|
||||||
public function getLongValue()
|
|
||||||
{
|
|
||||||
return $this->longValue;
|
|
||||||
}
|
|
||||||
public function setStringValue($stringValue)
|
|
||||||
{
|
|
||||||
$this->stringValue = $stringValue;
|
|
||||||
}
|
|
||||||
public function getStringValue()
|
|
||||||
{
|
|
||||||
return $this->stringValue;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,60 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
class Google_Service_AdExchangeBuyer_TargetingValueCreativeSize extends Google_Collection
|
|
||||||
{
|
|
||||||
protected $collection_key = 'companionSizes';
|
|
||||||
protected $companionSizesType = 'Google_Service_AdExchangeBuyer_TargetingValueSize';
|
|
||||||
protected $companionSizesDataType = 'array';
|
|
||||||
public $creativeSizeType;
|
|
||||||
protected $sizeType = 'Google_Service_AdExchangeBuyer_TargetingValueSize';
|
|
||||||
protected $sizeDataType = '';
|
|
||||||
public $skippableAdType;
|
|
||||||
|
|
||||||
public function setCompanionSizes($companionSizes)
|
|
||||||
{
|
|
||||||
$this->companionSizes = $companionSizes;
|
|
||||||
}
|
|
||||||
public function getCompanionSizes()
|
|
||||||
{
|
|
||||||
return $this->companionSizes;
|
|
||||||
}
|
|
||||||
public function setCreativeSizeType($creativeSizeType)
|
|
||||||
{
|
|
||||||
$this->creativeSizeType = $creativeSizeType;
|
|
||||||
}
|
|
||||||
public function getCreativeSizeType()
|
|
||||||
{
|
|
||||||
return $this->creativeSizeType;
|
|
||||||
}
|
|
||||||
public function setSize(Google_Service_AdExchangeBuyer_TargetingValueSize $size)
|
|
||||||
{
|
|
||||||
$this->size = $size;
|
|
||||||
}
|
|
||||||
public function getSize()
|
|
||||||
{
|
|
||||||
return $this->size;
|
|
||||||
}
|
|
||||||
public function setSkippableAdType($skippableAdType)
|
|
||||||
{
|
|
||||||
$this->skippableAdType = $skippableAdType;
|
|
||||||
}
|
|
||||||
public function getSkippableAdType()
|
|
||||||
{
|
|
||||||
return $this->skippableAdType;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,441 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Service definition for AdExchangeBuyerII (v2beta1).
|
|
||||||
*
|
|
||||||
* <p>
|
|
||||||
* Accesses the latest features for managing Ad Exchange accounts, Real-Time
|
|
||||||
* Bidding configurations and auction metrics, and Marketplace programmatic
|
|
||||||
* deals.</p>
|
|
||||||
*
|
|
||||||
* <p>
|
|
||||||
* For more information about this service, see the API
|
|
||||||
* <a href="https://developers.google.com/ad-exchange/buyer-rest/guides/client-access/" target="_blank">Documentation</a>
|
|
||||||
* </p>
|
|
||||||
*
|
|
||||||
* @author Google, Inc.
|
|
||||||
*/
|
|
||||||
class Google_Service_AdExchangeBuyerII extends Google_Service
|
|
||||||
{
|
|
||||||
/** Manage your Ad Exchange buyer account configuration. */
|
|
||||||
const ADEXCHANGE_BUYER =
|
|
||||||
"https://www.googleapis.com/auth/adexchange.buyer";
|
|
||||||
|
|
||||||
public $accounts_clients;
|
|
||||||
public $accounts_clients_invitations;
|
|
||||||
public $accounts_clients_users;
|
|
||||||
public $accounts_creatives;
|
|
||||||
public $accounts_creatives_dealAssociations;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructs the internal representation of the AdExchangeBuyerII service.
|
|
||||||
*
|
|
||||||
* @param Google_Client $client
|
|
||||||
*/
|
|
||||||
public function __construct(Google_Client $client)
|
|
||||||
{
|
|
||||||
parent::__construct($client);
|
|
||||||
$this->rootUrl = 'https://adexchangebuyer.googleapis.com/';
|
|
||||||
$this->servicePath = '';
|
|
||||||
$this->version = 'v2beta1';
|
|
||||||
$this->serviceName = 'adexchangebuyer2';
|
|
||||||
|
|
||||||
$this->accounts_clients = new Google_Service_AdExchangeBuyerII_Resource_AccountsClients(
|
|
||||||
$this,
|
|
||||||
$this->serviceName,
|
|
||||||
'clients',
|
|
||||||
array(
|
|
||||||
'methods' => array(
|
|
||||||
'create' => array(
|
|
||||||
'path' => 'v2beta1/accounts/{accountId}/clients',
|
|
||||||
'httpMethod' => 'POST',
|
|
||||||
'parameters' => array(
|
|
||||||
'accountId' => array(
|
|
||||||
'location' => 'path',
|
|
||||||
'type' => 'string',
|
|
||||||
'required' => true,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),'get' => array(
|
|
||||||
'path' => 'v2beta1/accounts/{accountId}/clients/{clientAccountId}',
|
|
||||||
'httpMethod' => 'GET',
|
|
||||||
'parameters' => array(
|
|
||||||
'accountId' => array(
|
|
||||||
'location' => 'path',
|
|
||||||
'type' => 'string',
|
|
||||||
'required' => true,
|
|
||||||
),
|
|
||||||
'clientAccountId' => array(
|
|
||||||
'location' => 'path',
|
|
||||||
'type' => 'string',
|
|
||||||
'required' => true,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),'list' => array(
|
|
||||||
'path' => 'v2beta1/accounts/{accountId}/clients',
|
|
||||||
'httpMethod' => 'GET',
|
|
||||||
'parameters' => array(
|
|
||||||
'accountId' => array(
|
|
||||||
'location' => 'path',
|
|
||||||
'type' => 'string',
|
|
||||||
'required' => true,
|
|
||||||
),
|
|
||||||
'pageToken' => array(
|
|
||||||
'location' => 'query',
|
|
||||||
'type' => 'string',
|
|
||||||
),
|
|
||||||
'pageSize' => array(
|
|
||||||
'location' => 'query',
|
|
||||||
'type' => 'integer',
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),'update' => array(
|
|
||||||
'path' => 'v2beta1/accounts/{accountId}/clients/{clientAccountId}',
|
|
||||||
'httpMethod' => 'PUT',
|
|
||||||
'parameters' => array(
|
|
||||||
'accountId' => array(
|
|
||||||
'location' => 'path',
|
|
||||||
'type' => 'string',
|
|
||||||
'required' => true,
|
|
||||||
),
|
|
||||||
'clientAccountId' => array(
|
|
||||||
'location' => 'path',
|
|
||||||
'type' => 'string',
|
|
||||||
'required' => true,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
)
|
|
||||||
)
|
|
||||||
);
|
|
||||||
$this->accounts_clients_invitations = new Google_Service_AdExchangeBuyerII_Resource_AccountsClientsInvitations(
|
|
||||||
$this,
|
|
||||||
$this->serviceName,
|
|
||||||
'invitations',
|
|
||||||
array(
|
|
||||||
'methods' => array(
|
|
||||||
'create' => array(
|
|
||||||
'path' => 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations',
|
|
||||||
'httpMethod' => 'POST',
|
|
||||||
'parameters' => array(
|
|
||||||
'accountId' => array(
|
|
||||||
'location' => 'path',
|
|
||||||
'type' => 'string',
|
|
||||||
'required' => true,
|
|
||||||
),
|
|
||||||
'clientAccountId' => array(
|
|
||||||
'location' => 'path',
|
|
||||||
'type' => 'string',
|
|
||||||
'required' => true,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),'get' => array(
|
|
||||||
'path' => 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations/{invitationId}',
|
|
||||||
'httpMethod' => 'GET',
|
|
||||||
'parameters' => array(
|
|
||||||
'accountId' => array(
|
|
||||||
'location' => 'path',
|
|
||||||
'type' => 'string',
|
|
||||||
'required' => true,
|
|
||||||
),
|
|
||||||
'clientAccountId' => array(
|
|
||||||
'location' => 'path',
|
|
||||||
'type' => 'string',
|
|
||||||
'required' => true,
|
|
||||||
),
|
|
||||||
'invitationId' => array(
|
|
||||||
'location' => 'path',
|
|
||||||
'type' => 'string',
|
|
||||||
'required' => true,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),'list' => array(
|
|
||||||
'path' => 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations',
|
|
||||||
'httpMethod' => 'GET',
|
|
||||||
'parameters' => array(
|
|
||||||
'accountId' => array(
|
|
||||||
'location' => 'path',
|
|
||||||
'type' => 'string',
|
|
||||||
'required' => true,
|
|
||||||
),
|
|
||||||
'clientAccountId' => array(
|
|
||||||
'location' => 'path',
|
|
||||||
'type' => 'string',
|
|
||||||
'required' => true,
|
|
||||||
),
|
|
||||||
'pageToken' => array(
|
|
||||||
'location' => 'query',
|
|
||||||
'type' => 'string',
|
|
||||||
),
|
|
||||||
'pageSize' => array(
|
|
||||||
'location' => 'query',
|
|
||||||
'type' => 'integer',
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
)
|
|
||||||
)
|
|
||||||
);
|
|
||||||
$this->accounts_clients_users = new Google_Service_AdExchangeBuyerII_Resource_AccountsClientsUsers(
|
|
||||||
$this,
|
|
||||||
$this->serviceName,
|
|
||||||
'users',
|
|
||||||
array(
|
|
||||||
'methods' => array(
|
|
||||||
'get' => array(
|
|
||||||
'path' => 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}',
|
|
||||||
'httpMethod' => 'GET',
|
|
||||||
'parameters' => array(
|
|
||||||
'accountId' => array(
|
|
||||||
'location' => 'path',
|
|
||||||
'type' => 'string',
|
|
||||||
'required' => true,
|
|
||||||
),
|
|
||||||
'clientAccountId' => array(
|
|
||||||
'location' => 'path',
|
|
||||||
'type' => 'string',
|
|
||||||
'required' => true,
|
|
||||||
),
|
|
||||||
'userId' => array(
|
|
||||||
'location' => 'path',
|
|
||||||
'type' => 'string',
|
|
||||||
'required' => true,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),'list' => array(
|
|
||||||
'path' => 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/users',
|
|
||||||
'httpMethod' => 'GET',
|
|
||||||
'parameters' => array(
|
|
||||||
'accountId' => array(
|
|
||||||
'location' => 'path',
|
|
||||||
'type' => 'string',
|
|
||||||
'required' => true,
|
|
||||||
),
|
|
||||||
'clientAccountId' => array(
|
|
||||||
'location' => 'path',
|
|
||||||
'type' => 'string',
|
|
||||||
'required' => true,
|
|
||||||
),
|
|
||||||
'pageToken' => array(
|
|
||||||
'location' => 'query',
|
|
||||||
'type' => 'string',
|
|
||||||
),
|
|
||||||
'pageSize' => array(
|
|
||||||
'location' => 'query',
|
|
||||||
'type' => 'integer',
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),'update' => array(
|
|
||||||
'path' => 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}',
|
|
||||||
'httpMethod' => 'PUT',
|
|
||||||
'parameters' => array(
|
|
||||||
'accountId' => array(
|
|
||||||
'location' => 'path',
|
|
||||||
'type' => 'string',
|
|
||||||
'required' => true,
|
|
||||||
),
|
|
||||||
'clientAccountId' => array(
|
|
||||||
'location' => 'path',
|
|
||||||
'type' => 'string',
|
|
||||||
'required' => true,
|
|
||||||
),
|
|
||||||
'userId' => array(
|
|
||||||
'location' => 'path',
|
|
||||||
'type' => 'string',
|
|
||||||
'required' => true,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
)
|
|
||||||
)
|
|
||||||
);
|
|
||||||
$this->accounts_creatives = new Google_Service_AdExchangeBuyerII_Resource_AccountsCreatives(
|
|
||||||
$this,
|
|
||||||
$this->serviceName,
|
|
||||||
'creatives',
|
|
||||||
array(
|
|
||||||
'methods' => array(
|
|
||||||
'create' => array(
|
|
||||||
'path' => 'v2beta1/accounts/{accountId}/creatives',
|
|
||||||
'httpMethod' => 'POST',
|
|
||||||
'parameters' => array(
|
|
||||||
'accountId' => array(
|
|
||||||
'location' => 'path',
|
|
||||||
'type' => 'string',
|
|
||||||
'required' => true,
|
|
||||||
),
|
|
||||||
'duplicateIdMode' => array(
|
|
||||||
'location' => 'query',
|
|
||||||
'type' => 'string',
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),'get' => array(
|
|
||||||
'path' => 'v2beta1/accounts/{accountId}/creatives/{creativeId}',
|
|
||||||
'httpMethod' => 'GET',
|
|
||||||
'parameters' => array(
|
|
||||||
'accountId' => array(
|
|
||||||
'location' => 'path',
|
|
||||||
'type' => 'string',
|
|
||||||
'required' => true,
|
|
||||||
),
|
|
||||||
'creativeId' => array(
|
|
||||||
'location' => 'path',
|
|
||||||
'type' => 'string',
|
|
||||||
'required' => true,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),'list' => array(
|
|
||||||
'path' => 'v2beta1/accounts/{accountId}/creatives',
|
|
||||||
'httpMethod' => 'GET',
|
|
||||||
'parameters' => array(
|
|
||||||
'accountId' => array(
|
|
||||||
'location' => 'path',
|
|
||||||
'type' => 'string',
|
|
||||||
'required' => true,
|
|
||||||
),
|
|
||||||
'pageToken' => array(
|
|
||||||
'location' => 'query',
|
|
||||||
'type' => 'string',
|
|
||||||
),
|
|
||||||
'pageSize' => array(
|
|
||||||
'location' => 'query',
|
|
||||||
'type' => 'integer',
|
|
||||||
),
|
|
||||||
'query' => array(
|
|
||||||
'location' => 'query',
|
|
||||||
'type' => 'string',
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),'stopWatching' => array(
|
|
||||||
'path' => 'v2beta1/accounts/{accountId}/creatives/{creativeId}:stopWatching',
|
|
||||||
'httpMethod' => 'POST',
|
|
||||||
'parameters' => array(
|
|
||||||
'accountId' => array(
|
|
||||||
'location' => 'path',
|
|
||||||
'type' => 'string',
|
|
||||||
'required' => true,
|
|
||||||
),
|
|
||||||
'creativeId' => array(
|
|
||||||
'location' => 'path',
|
|
||||||
'type' => 'string',
|
|
||||||
'required' => true,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),'update' => array(
|
|
||||||
'path' => 'v2beta1/accounts/{accountId}/creatives/{creativeId}',
|
|
||||||
'httpMethod' => 'PUT',
|
|
||||||
'parameters' => array(
|
|
||||||
'accountId' => array(
|
|
||||||
'location' => 'path',
|
|
||||||
'type' => 'string',
|
|
||||||
'required' => true,
|
|
||||||
),
|
|
||||||
'creativeId' => array(
|
|
||||||
'location' => 'path',
|
|
||||||
'type' => 'string',
|
|
||||||
'required' => true,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),'watch' => array(
|
|
||||||
'path' => 'v2beta1/accounts/{accountId}/creatives/{creativeId}:watch',
|
|
||||||
'httpMethod' => 'POST',
|
|
||||||
'parameters' => array(
|
|
||||||
'accountId' => array(
|
|
||||||
'location' => 'path',
|
|
||||||
'type' => 'string',
|
|
||||||
'required' => true,
|
|
||||||
),
|
|
||||||
'creativeId' => array(
|
|
||||||
'location' => 'path',
|
|
||||||
'type' => 'string',
|
|
||||||
'required' => true,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
)
|
|
||||||
)
|
|
||||||
);
|
|
||||||
$this->accounts_creatives_dealAssociations = new Google_Service_AdExchangeBuyerII_Resource_AccountsCreativesDealAssociations(
|
|
||||||
$this,
|
|
||||||
$this->serviceName,
|
|
||||||
'dealAssociations',
|
|
||||||
array(
|
|
||||||
'methods' => array(
|
|
||||||
'add' => array(
|
|
||||||
'path' => 'v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations:add',
|
|
||||||
'httpMethod' => 'POST',
|
|
||||||
'parameters' => array(
|
|
||||||
'accountId' => array(
|
|
||||||
'location' => 'path',
|
|
||||||
'type' => 'string',
|
|
||||||
'required' => true,
|
|
||||||
),
|
|
||||||
'creativeId' => array(
|
|
||||||
'location' => 'path',
|
|
||||||
'type' => 'string',
|
|
||||||
'required' => true,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),'list' => array(
|
|
||||||
'path' => 'v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations',
|
|
||||||
'httpMethod' => 'GET',
|
|
||||||
'parameters' => array(
|
|
||||||
'accountId' => array(
|
|
||||||
'location' => 'path',
|
|
||||||
'type' => 'string',
|
|
||||||
'required' => true,
|
|
||||||
),
|
|
||||||
'creativeId' => array(
|
|
||||||
'location' => 'path',
|
|
||||||
'type' => 'string',
|
|
||||||
'required' => true,
|
|
||||||
),
|
|
||||||
'pageToken' => array(
|
|
||||||
'location' => 'query',
|
|
||||||
'type' => 'string',
|
|
||||||
),
|
|
||||||
'pageSize' => array(
|
|
||||||
'location' => 'query',
|
|
||||||
'type' => 'integer',
|
|
||||||
),
|
|
||||||
'query' => array(
|
|
||||||
'location' => 'query',
|
|
||||||
'type' => 'string',
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),'remove' => array(
|
|
||||||
'path' => 'v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations:remove',
|
|
||||||
'httpMethod' => 'POST',
|
|
||||||
'parameters' => array(
|
|
||||||
'accountId' => array(
|
|
||||||
'location' => 'path',
|
|
||||||
'type' => 'string',
|
|
||||||
'required' => true,
|
|
||||||
),
|
|
||||||
'creativeId' => array(
|
|
||||||
'location' => 'path',
|
|
||||||
'type' => 'string',
|
|
||||||
'required' => true,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
)
|
|
||||||
)
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,93 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
class Google_Service_AdExchangeBuyerII_Client extends Google_Model
|
|
||||||
{
|
|
||||||
public $clientAccountId;
|
|
||||||
public $clientName;
|
|
||||||
public $entityId;
|
|
||||||
public $entityName;
|
|
||||||
public $entityType;
|
|
||||||
public $role;
|
|
||||||
public $status;
|
|
||||||
public $visibleToSeller;
|
|
||||||
|
|
||||||
public function setClientAccountId($clientAccountId)
|
|
||||||
{
|
|
||||||
$this->clientAccountId = $clientAccountId;
|
|
||||||
}
|
|
||||||
public function getClientAccountId()
|
|
||||||
{
|
|
||||||
return $this->clientAccountId;
|
|
||||||
}
|
|
||||||
public function setClientName($clientName)
|
|
||||||
{
|
|
||||||
$this->clientName = $clientName;
|
|
||||||
}
|
|
||||||
public function getClientName()
|
|
||||||
{
|
|
||||||
return $this->clientName;
|
|
||||||
}
|
|
||||||
public function setEntityId($entityId)
|
|
||||||
{
|
|
||||||
$this->entityId = $entityId;
|
|
||||||
}
|
|
||||||
public function getEntityId()
|
|
||||||
{
|
|
||||||
return $this->entityId;
|
|
||||||
}
|
|
||||||
public function setEntityName($entityName)
|
|
||||||
{
|
|
||||||
$this->entityName = $entityName;
|
|
||||||
}
|
|
||||||
public function getEntityName()
|
|
||||||
{
|
|
||||||
return $this->entityName;
|
|
||||||
}
|
|
||||||
public function setEntityType($entityType)
|
|
||||||
{
|
|
||||||
$this->entityType = $entityType;
|
|
||||||
}
|
|
||||||
public function getEntityType()
|
|
||||||
{
|
|
||||||
return $this->entityType;
|
|
||||||
}
|
|
||||||
public function setRole($role)
|
|
||||||
{
|
|
||||||
$this->role = $role;
|
|
||||||
}
|
|
||||||
public function getRole()
|
|
||||||
{
|
|
||||||
return $this->role;
|
|
||||||
}
|
|
||||||
public function setStatus($status)
|
|
||||||
{
|
|
||||||
$this->status = $status;
|
|
||||||
}
|
|
||||||
public function getStatus()
|
|
||||||
{
|
|
||||||
return $this->status;
|
|
||||||
}
|
|
||||||
public function setVisibleToSeller($visibleToSeller)
|
|
||||||
{
|
|
||||||
$this->visibleToSeller = $visibleToSeller;
|
|
||||||
}
|
|
||||||
public function getVisibleToSeller()
|
|
||||||
{
|
|
||||||
return $this->visibleToSeller;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,253 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
class Google_Service_AdExchangeBuyerII_Creative extends Google_Collection
|
|
||||||
{
|
|
||||||
protected $collection_key = 'vendorIds';
|
|
||||||
public $accountId;
|
|
||||||
public $adChoicesDestinationUrl;
|
|
||||||
public $advertiserName;
|
|
||||||
public $agencyId;
|
|
||||||
public $apiUpdateTime;
|
|
||||||
public $attributes;
|
|
||||||
public $clickThroughUrls;
|
|
||||||
protected $correctionsType = 'Google_Service_AdExchangeBuyerII_Correction';
|
|
||||||
protected $correctionsDataType = 'array';
|
|
||||||
public $creativeId;
|
|
||||||
public $dealsStatus;
|
|
||||||
public $detectedAdvertiserIds;
|
|
||||||
public $detectedDomains;
|
|
||||||
public $detectedLanguages;
|
|
||||||
public $detectedProductCategories;
|
|
||||||
public $detectedSensitiveCategories;
|
|
||||||
protected $filteringStatsType = 'Google_Service_AdExchangeBuyerII_FilteringStats';
|
|
||||||
protected $filteringStatsDataType = '';
|
|
||||||
protected $htmlType = 'Google_Service_AdExchangeBuyerII_HtmlContent';
|
|
||||||
protected $htmlDataType = '';
|
|
||||||
public $impressionTrackingUrls;
|
|
||||||
protected $nativeType = 'Google_Service_AdExchangeBuyerII_NativeContent';
|
|
||||||
protected $nativeDataType = '';
|
|
||||||
public $openAuctionStatus;
|
|
||||||
public $restrictedCategories;
|
|
||||||
protected $servingRestrictionsType = 'Google_Service_AdExchangeBuyerII_ServingRestriction';
|
|
||||||
protected $servingRestrictionsDataType = 'array';
|
|
||||||
public $vendorIds;
|
|
||||||
public $version;
|
|
||||||
protected $videoType = 'Google_Service_AdExchangeBuyerII_VideoContent';
|
|
||||||
protected $videoDataType = '';
|
|
||||||
|
|
||||||
public function setAccountId($accountId)
|
|
||||||
{
|
|
||||||
$this->accountId = $accountId;
|
|
||||||
}
|
|
||||||
public function getAccountId()
|
|
||||||
{
|
|
||||||
return $this->accountId;
|
|
||||||
}
|
|
||||||
public function setAdChoicesDestinationUrl($adChoicesDestinationUrl)
|
|
||||||
{
|
|
||||||
$this->adChoicesDestinationUrl = $adChoicesDestinationUrl;
|
|
||||||
}
|
|
||||||
public function getAdChoicesDestinationUrl()
|
|
||||||
{
|
|
||||||
return $this->adChoicesDestinationUrl;
|
|
||||||
}
|
|
||||||
public function setAdvertiserName($advertiserName)
|
|
||||||
{
|
|
||||||
$this->advertiserName = $advertiserName;
|
|
||||||
}
|
|
||||||
public function getAdvertiserName()
|
|
||||||
{
|
|
||||||
return $this->advertiserName;
|
|
||||||
}
|
|
||||||
public function setAgencyId($agencyId)
|
|
||||||
{
|
|
||||||
$this->agencyId = $agencyId;
|
|
||||||
}
|
|
||||||
public function getAgencyId()
|
|
||||||
{
|
|
||||||
return $this->agencyId;
|
|
||||||
}
|
|
||||||
public function setApiUpdateTime($apiUpdateTime)
|
|
||||||
{
|
|
||||||
$this->apiUpdateTime = $apiUpdateTime;
|
|
||||||
}
|
|
||||||
public function getApiUpdateTime()
|
|
||||||
{
|
|
||||||
return $this->apiUpdateTime;
|
|
||||||
}
|
|
||||||
public function setAttributes($attributes)
|
|
||||||
{
|
|
||||||
$this->attributes = $attributes;
|
|
||||||
}
|
|
||||||
public function getAttributes()
|
|
||||||
{
|
|
||||||
return $this->attributes;
|
|
||||||
}
|
|
||||||
public function setClickThroughUrls($clickThroughUrls)
|
|
||||||
{
|
|
||||||
$this->clickThroughUrls = $clickThroughUrls;
|
|
||||||
}
|
|
||||||
public function getClickThroughUrls()
|
|
||||||
{
|
|
||||||
return $this->clickThroughUrls;
|
|
||||||
}
|
|
||||||
public function setCorrections($corrections)
|
|
||||||
{
|
|
||||||
$this->corrections = $corrections;
|
|
||||||
}
|
|
||||||
public function getCorrections()
|
|
||||||
{
|
|
||||||
return $this->corrections;
|
|
||||||
}
|
|
||||||
public function setCreativeId($creativeId)
|
|
||||||
{
|
|
||||||
$this->creativeId = $creativeId;
|
|
||||||
}
|
|
||||||
public function getCreativeId()
|
|
||||||
{
|
|
||||||
return $this->creativeId;
|
|
||||||
}
|
|
||||||
public function setDealsStatus($dealsStatus)
|
|
||||||
{
|
|
||||||
$this->dealsStatus = $dealsStatus;
|
|
||||||
}
|
|
||||||
public function getDealsStatus()
|
|
||||||
{
|
|
||||||
return $this->dealsStatus;
|
|
||||||
}
|
|
||||||
public function setDetectedAdvertiserIds($detectedAdvertiserIds)
|
|
||||||
{
|
|
||||||
$this->detectedAdvertiserIds = $detectedAdvertiserIds;
|
|
||||||
}
|
|
||||||
public function getDetectedAdvertiserIds()
|
|
||||||
{
|
|
||||||
return $this->detectedAdvertiserIds;
|
|
||||||
}
|
|
||||||
public function setDetectedDomains($detectedDomains)
|
|
||||||
{
|
|
||||||
$this->detectedDomains = $detectedDomains;
|
|
||||||
}
|
|
||||||
public function getDetectedDomains()
|
|
||||||
{
|
|
||||||
return $this->detectedDomains;
|
|
||||||
}
|
|
||||||
public function setDetectedLanguages($detectedLanguages)
|
|
||||||
{
|
|
||||||
$this->detectedLanguages = $detectedLanguages;
|
|
||||||
}
|
|
||||||
public function getDetectedLanguages()
|
|
||||||
{
|
|
||||||
return $this->detectedLanguages;
|
|
||||||
}
|
|
||||||
public function setDetectedProductCategories($detectedProductCategories)
|
|
||||||
{
|
|
||||||
$this->detectedProductCategories = $detectedProductCategories;
|
|
||||||
}
|
|
||||||
public function getDetectedProductCategories()
|
|
||||||
{
|
|
||||||
return $this->detectedProductCategories;
|
|
||||||
}
|
|
||||||
public function setDetectedSensitiveCategories($detectedSensitiveCategories)
|
|
||||||
{
|
|
||||||
$this->detectedSensitiveCategories = $detectedSensitiveCategories;
|
|
||||||
}
|
|
||||||
public function getDetectedSensitiveCategories()
|
|
||||||
{
|
|
||||||
return $this->detectedSensitiveCategories;
|
|
||||||
}
|
|
||||||
public function setFilteringStats(Google_Service_AdExchangeBuyerII_FilteringStats $filteringStats)
|
|
||||||
{
|
|
||||||
$this->filteringStats = $filteringStats;
|
|
||||||
}
|
|
||||||
public function getFilteringStats()
|
|
||||||
{
|
|
||||||
return $this->filteringStats;
|
|
||||||
}
|
|
||||||
public function setHtml(Google_Service_AdExchangeBuyerII_HtmlContent $html)
|
|
||||||
{
|
|
||||||
$this->html = $html;
|
|
||||||
}
|
|
||||||
public function getHtml()
|
|
||||||
{
|
|
||||||
return $this->html;
|
|
||||||
}
|
|
||||||
public function setImpressionTrackingUrls($impressionTrackingUrls)
|
|
||||||
{
|
|
||||||
$this->impressionTrackingUrls = $impressionTrackingUrls;
|
|
||||||
}
|
|
||||||
public function getImpressionTrackingUrls()
|
|
||||||
{
|
|
||||||
return $this->impressionTrackingUrls;
|
|
||||||
}
|
|
||||||
public function setNative(Google_Service_AdExchangeBuyerII_NativeContent $native)
|
|
||||||
{
|
|
||||||
$this->native = $native;
|
|
||||||
}
|
|
||||||
public function getNative()
|
|
||||||
{
|
|
||||||
return $this->native;
|
|
||||||
}
|
|
||||||
public function setOpenAuctionStatus($openAuctionStatus)
|
|
||||||
{
|
|
||||||
$this->openAuctionStatus = $openAuctionStatus;
|
|
||||||
}
|
|
||||||
public function getOpenAuctionStatus()
|
|
||||||
{
|
|
||||||
return $this->openAuctionStatus;
|
|
||||||
}
|
|
||||||
public function setRestrictedCategories($restrictedCategories)
|
|
||||||
{
|
|
||||||
$this->restrictedCategories = $restrictedCategories;
|
|
||||||
}
|
|
||||||
public function getRestrictedCategories()
|
|
||||||
{
|
|
||||||
return $this->restrictedCategories;
|
|
||||||
}
|
|
||||||
public function setServingRestrictions($servingRestrictions)
|
|
||||||
{
|
|
||||||
$this->servingRestrictions = $servingRestrictions;
|
|
||||||
}
|
|
||||||
public function getServingRestrictions()
|
|
||||||
{
|
|
||||||
return $this->servingRestrictions;
|
|
||||||
}
|
|
||||||
public function setVendorIds($vendorIds)
|
|
||||||
{
|
|
||||||
$this->vendorIds = $vendorIds;
|
|
||||||
}
|
|
||||||
public function getVendorIds()
|
|
||||||
{
|
|
||||||
return $this->vendorIds;
|
|
||||||
}
|
|
||||||
public function setVersion($version)
|
|
||||||
{
|
|
||||||
$this->version = $version;
|
|
||||||
}
|
|
||||||
public function getVersion()
|
|
||||||
{
|
|
||||||
return $this->version;
|
|
||||||
}
|
|
||||||
public function setVideo(Google_Service_AdExchangeBuyerII_VideoContent $video)
|
|
||||||
{
|
|
||||||
$this->video = $video;
|
|
||||||
}
|
|
||||||
public function getVideo()
|
|
||||||
{
|
|
||||||
return $this->video;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,48 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
class Google_Service_AdExchangeBuyerII_Date extends Google_Model
|
|
||||||
{
|
|
||||||
public $day;
|
|
||||||
public $month;
|
|
||||||
public $year;
|
|
||||||
|
|
||||||
public function setDay($day)
|
|
||||||
{
|
|
||||||
$this->day = $day;
|
|
||||||
}
|
|
||||||
public function getDay()
|
|
||||||
{
|
|
||||||
return $this->day;
|
|
||||||
}
|
|
||||||
public function setMonth($month)
|
|
||||||
{
|
|
||||||
$this->month = $month;
|
|
||||||
}
|
|
||||||
public function getMonth()
|
|
||||||
{
|
|
||||||
return $this->month;
|
|
||||||
}
|
|
||||||
public function setYear($year)
|
|
||||||
{
|
|
||||||
$this->year = $year;
|
|
||||||
}
|
|
||||||
public function getYear()
|
|
||||||
{
|
|
||||||
return $this->year;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,42 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
class Google_Service_AdExchangeBuyerII_FilteringStats extends Google_Collection
|
|
||||||
{
|
|
||||||
protected $collection_key = 'reasons';
|
|
||||||
protected $dateType = 'Google_Service_AdExchangeBuyerII_Date';
|
|
||||||
protected $dateDataType = '';
|
|
||||||
protected $reasonsType = 'Google_Service_AdExchangeBuyerII_Reason';
|
|
||||||
protected $reasonsDataType = 'array';
|
|
||||||
|
|
||||||
public function setDate(Google_Service_AdExchangeBuyerII_Date $date)
|
|
||||||
{
|
|
||||||
$this->date = $date;
|
|
||||||
}
|
|
||||||
public function getDate()
|
|
||||||
{
|
|
||||||
return $this->date;
|
|
||||||
}
|
|
||||||
public function setReasons($reasons)
|
|
||||||
{
|
|
||||||
$this->reasons = $reasons;
|
|
||||||
}
|
|
||||||
public function getReasons()
|
|
||||||
{
|
|
||||||
return $this->reasons;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,48 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
class Google_Service_AdExchangeBuyerII_HtmlContent extends Google_Model
|
|
||||||
{
|
|
||||||
public $height;
|
|
||||||
public $snippet;
|
|
||||||
public $width;
|
|
||||||
|
|
||||||
public function setHeight($height)
|
|
||||||
{
|
|
||||||
$this->height = $height;
|
|
||||||
}
|
|
||||||
public function getHeight()
|
|
||||||
{
|
|
||||||
return $this->height;
|
|
||||||
}
|
|
||||||
public function setSnippet($snippet)
|
|
||||||
{
|
|
||||||
$this->snippet = $snippet;
|
|
||||||
}
|
|
||||||
public function getSnippet()
|
|
||||||
{
|
|
||||||
return $this->snippet;
|
|
||||||
}
|
|
||||||
public function setWidth($width)
|
|
||||||
{
|
|
||||||
$this->width = $width;
|
|
||||||
}
|
|
||||||
public function getWidth()
|
|
||||||
{
|
|
||||||
return $this->width;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,48 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
class Google_Service_AdExchangeBuyerII_Image extends Google_Model
|
|
||||||
{
|
|
||||||
public $height;
|
|
||||||
public $url;
|
|
||||||
public $width;
|
|
||||||
|
|
||||||
public function setHeight($height)
|
|
||||||
{
|
|
||||||
$this->height = $height;
|
|
||||||
}
|
|
||||||
public function getHeight()
|
|
||||||
{
|
|
||||||
return $this->height;
|
|
||||||
}
|
|
||||||
public function setUrl($url)
|
|
||||||
{
|
|
||||||
$this->url = $url;
|
|
||||||
}
|
|
||||||
public function getUrl()
|
|
||||||
{
|
|
||||||
return $this->url;
|
|
||||||
}
|
|
||||||
public function setWidth($width)
|
|
||||||
{
|
|
||||||
$this->width = $width;
|
|
||||||
}
|
|
||||||
public function getWidth()
|
|
||||||
{
|
|
||||||
return $this->width;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,41 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
class Google_Service_AdExchangeBuyerII_ListCreativesResponse extends Google_Collection
|
|
||||||
{
|
|
||||||
protected $collection_key = 'creatives';
|
|
||||||
protected $creativesType = 'Google_Service_AdExchangeBuyerII_Creative';
|
|
||||||
protected $creativesDataType = 'array';
|
|
||||||
public $nextPageToken;
|
|
||||||
|
|
||||||
public function setCreatives($creatives)
|
|
||||||
{
|
|
||||||
$this->creatives = $creatives;
|
|
||||||
}
|
|
||||||
public function getCreatives()
|
|
||||||
{
|
|
||||||
return $this->creatives;
|
|
||||||
}
|
|
||||||
public function setNextPageToken($nextPageToken)
|
|
||||||
{
|
|
||||||
$this->nextPageToken = $nextPageToken;
|
|
||||||
}
|
|
||||||
public function getNextPageToken()
|
|
||||||
{
|
|
||||||
return $this->nextPageToken;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,141 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
class Google_Service_AdExchangeBuyerII_NativeContent extends Google_Model
|
|
||||||
{
|
|
||||||
public $advertiserName;
|
|
||||||
protected $appIconType = 'Google_Service_AdExchangeBuyerII_Image';
|
|
||||||
protected $appIconDataType = '';
|
|
||||||
public $body;
|
|
||||||
public $callToAction;
|
|
||||||
public $clickLinkUrl;
|
|
||||||
public $clickTrackingUrl;
|
|
||||||
public $headline;
|
|
||||||
protected $imageType = 'Google_Service_AdExchangeBuyerII_Image';
|
|
||||||
protected $imageDataType = '';
|
|
||||||
protected $logoType = 'Google_Service_AdExchangeBuyerII_Image';
|
|
||||||
protected $logoDataType = '';
|
|
||||||
public $priceDisplayText;
|
|
||||||
public $starRating;
|
|
||||||
public $storeUrl;
|
|
||||||
public $videoUrl;
|
|
||||||
|
|
||||||
public function setAdvertiserName($advertiserName)
|
|
||||||
{
|
|
||||||
$this->advertiserName = $advertiserName;
|
|
||||||
}
|
|
||||||
public function getAdvertiserName()
|
|
||||||
{
|
|
||||||
return $this->advertiserName;
|
|
||||||
}
|
|
||||||
public function setAppIcon(Google_Service_AdExchangeBuyerII_Image $appIcon)
|
|
||||||
{
|
|
||||||
$this->appIcon = $appIcon;
|
|
||||||
}
|
|
||||||
public function getAppIcon()
|
|
||||||
{
|
|
||||||
return $this->appIcon;
|
|
||||||
}
|
|
||||||
public function setBody($body)
|
|
||||||
{
|
|
||||||
$this->body = $body;
|
|
||||||
}
|
|
||||||
public function getBody()
|
|
||||||
{
|
|
||||||
return $this->body;
|
|
||||||
}
|
|
||||||
public function setCallToAction($callToAction)
|
|
||||||
{
|
|
||||||
$this->callToAction = $callToAction;
|
|
||||||
}
|
|
||||||
public function getCallToAction()
|
|
||||||
{
|
|
||||||
return $this->callToAction;
|
|
||||||
}
|
|
||||||
public function setClickLinkUrl($clickLinkUrl)
|
|
||||||
{
|
|
||||||
$this->clickLinkUrl = $clickLinkUrl;
|
|
||||||
}
|
|
||||||
public function getClickLinkUrl()
|
|
||||||
{
|
|
||||||
return $this->clickLinkUrl;
|
|
||||||
}
|
|
||||||
public function setClickTrackingUrl($clickTrackingUrl)
|
|
||||||
{
|
|
||||||
$this->clickTrackingUrl = $clickTrackingUrl;
|
|
||||||
}
|
|
||||||
public function getClickTrackingUrl()
|
|
||||||
{
|
|
||||||
return $this->clickTrackingUrl;
|
|
||||||
}
|
|
||||||
public function setHeadline($headline)
|
|
||||||
{
|
|
||||||
$this->headline = $headline;
|
|
||||||
}
|
|
||||||
public function getHeadline()
|
|
||||||
{
|
|
||||||
return $this->headline;
|
|
||||||
}
|
|
||||||
public function setImage(Google_Service_AdExchangeBuyerII_Image $image)
|
|
||||||
{
|
|
||||||
$this->image = $image;
|
|
||||||
}
|
|
||||||
public function getImage()
|
|
||||||
{
|
|
||||||
return $this->image;
|
|
||||||
}
|
|
||||||
public function setLogo(Google_Service_AdExchangeBuyerII_Image $logo)
|
|
||||||
{
|
|
||||||
$this->logo = $logo;
|
|
||||||
}
|
|
||||||
public function getLogo()
|
|
||||||
{
|
|
||||||
return $this->logo;
|
|
||||||
}
|
|
||||||
public function setPriceDisplayText($priceDisplayText)
|
|
||||||
{
|
|
||||||
$this->priceDisplayText = $priceDisplayText;
|
|
||||||
}
|
|
||||||
public function getPriceDisplayText()
|
|
||||||
{
|
|
||||||
return $this->priceDisplayText;
|
|
||||||
}
|
|
||||||
public function setStarRating($starRating)
|
|
||||||
{
|
|
||||||
$this->starRating = $starRating;
|
|
||||||
}
|
|
||||||
public function getStarRating()
|
|
||||||
{
|
|
||||||
return $this->starRating;
|
|
||||||
}
|
|
||||||
public function setStoreUrl($storeUrl)
|
|
||||||
{
|
|
||||||
$this->storeUrl = $storeUrl;
|
|
||||||
}
|
|
||||||
public function getStoreUrl()
|
|
||||||
{
|
|
||||||
return $this->storeUrl;
|
|
||||||
}
|
|
||||||
public function setVideoUrl($videoUrl)
|
|
||||||
{
|
|
||||||
$this->videoUrl = $videoUrl;
|
|
||||||
}
|
|
||||||
public function getVideoUrl()
|
|
||||||
{
|
|
||||||
return $this->videoUrl;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,39 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
class Google_Service_AdExchangeBuyerII_Reason extends Google_Model
|
|
||||||
{
|
|
||||||
public $count;
|
|
||||||
public $status;
|
|
||||||
|
|
||||||
public function setCount($count)
|
|
||||||
{
|
|
||||||
$this->count = $count;
|
|
||||||
}
|
|
||||||
public function getCount()
|
|
||||||
{
|
|
||||||
return $this->count;
|
|
||||||
}
|
|
||||||
public function setStatus($status)
|
|
||||||
{
|
|
||||||
$this->status = $status;
|
|
||||||
}
|
|
||||||
public function getStatus()
|
|
||||||
{
|
|
||||||
return $this->status;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,28 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The "accounts" collection of methods.
|
|
||||||
* Typical usage is:
|
|
||||||
* <code>
|
|
||||||
* $adexchangebuyer2Service = new Google_Service_AdExchangeBuyerII(...);
|
|
||||||
* $accounts = $adexchangebuyer2Service->accounts;
|
|
||||||
* </code>
|
|
||||||
*/
|
|
||||||
class Google_Service_AdExchangeBuyerII_Resource_Accounts extends Google_Service_Resource
|
|
||||||
{
|
|
||||||
}
|
|
|
@ -1,31 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
class Google_Service_AdExchangeBuyerII_SecurityContext extends Google_Collection
|
|
||||||
{
|
|
||||||
protected $collection_key = 'securities';
|
|
||||||
public $securities;
|
|
||||||
|
|
||||||
public function setSecurities($securities)
|
|
||||||
{
|
|
||||||
$this->securities = $securities;
|
|
||||||
}
|
|
||||||
public function getSecurities()
|
|
||||||
{
|
|
||||||
return $this->securities;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,51 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
class Google_Service_AdExchangeBuyerII_ServingRestriction extends Google_Collection
|
|
||||||
{
|
|
||||||
protected $collection_key = 'disapprovalReasons';
|
|
||||||
protected $contextsType = 'Google_Service_AdExchangeBuyerII_ServingContext';
|
|
||||||
protected $contextsDataType = 'array';
|
|
||||||
protected $disapprovalReasonsType = 'Google_Service_AdExchangeBuyerII_Disapproval';
|
|
||||||
protected $disapprovalReasonsDataType = 'array';
|
|
||||||
public $status;
|
|
||||||
|
|
||||||
public function setContexts($contexts)
|
|
||||||
{
|
|
||||||
$this->contexts = $contexts;
|
|
||||||
}
|
|
||||||
public function getContexts()
|
|
||||||
{
|
|
||||||
return $this->contexts;
|
|
||||||
}
|
|
||||||
public function setDisapprovalReasons($disapprovalReasons)
|
|
||||||
{
|
|
||||||
$this->disapprovalReasons = $disapprovalReasons;
|
|
||||||
}
|
|
||||||
public function getDisapprovalReasons()
|
|
||||||
{
|
|
||||||
return $this->disapprovalReasons;
|
|
||||||
}
|
|
||||||
public function setStatus($status)
|
|
||||||
{
|
|
||||||
$this->status = $status;
|
|
||||||
}
|
|
||||||
public function getStatus()
|
|
||||||
{
|
|
||||||
return $this->status;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,30 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
class Google_Service_AdExchangeBuyerII_VideoContent extends Google_Model
|
|
||||||
{
|
|
||||||
public $videoUrl;
|
|
||||||
|
|
||||||
public function setVideoUrl($videoUrl)
|
|
||||||
{
|
|
||||||
$this->videoUrl = $videoUrl;
|
|
||||||
}
|
|
||||||
public function getVideoUrl()
|
|
||||||
{
|
|
||||||
return $this->videoUrl;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,48 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
class Google_Service_AdExchangeSeller_Account extends Google_Model
|
|
||||||
{
|
|
||||||
public $id;
|
|
||||||
public $kind;
|
|
||||||
public $name;
|
|
||||||
|
|
||||||
public function setId($id)
|
|
||||||
{
|
|
||||||
$this->id = $id;
|
|
||||||
}
|
|
||||||
public function getId()
|
|
||||||
{
|
|
||||||
return $this->id;
|
|
||||||
}
|
|
||||||
public function setKind($kind)
|
|
||||||
{
|
|
||||||
$this->kind = $kind;
|
|
||||||
}
|
|
||||||
public function getKind()
|
|
||||||
{
|
|
||||||
return $this->kind;
|
|
||||||
}
|
|
||||||
public function setName($name)
|
|
||||||
{
|
|
||||||
$this->name = $name;
|
|
||||||
}
|
|
||||||
public function getName()
|
|
||||||
{
|
|
||||||
return $this->name;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,59 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
class Google_Service_AdExchangeSeller_Accounts extends Google_Collection
|
|
||||||
{
|
|
||||||
protected $collection_key = 'items';
|
|
||||||
public $etag;
|
|
||||||
protected $itemsType = 'Google_Service_AdExchangeSeller_Account';
|
|
||||||
protected $itemsDataType = 'array';
|
|
||||||
public $kind;
|
|
||||||
public $nextPageToken;
|
|
||||||
|
|
||||||
public function setEtag($etag)
|
|
||||||
{
|
|
||||||
$this->etag = $etag;
|
|
||||||
}
|
|
||||||
public function getEtag()
|
|
||||||
{
|
|
||||||
return $this->etag;
|
|
||||||
}
|
|
||||||
public function setItems($items)
|
|
||||||
{
|
|
||||||
$this->items = $items;
|
|
||||||
}
|
|
||||||
public function getItems()
|
|
||||||
{
|
|
||||||
return $this->items;
|
|
||||||
}
|
|
||||||
public function setKind($kind)
|
|
||||||
{
|
|
||||||
$this->kind = $kind;
|
|
||||||
}
|
|
||||||
public function getKind()
|
|
||||||
{
|
|
||||||
return $this->kind;
|
|
||||||
}
|
|
||||||
public function setNextPageToken($nextPageToken)
|
|
||||||
{
|
|
||||||
$this->nextPageToken = $nextPageToken;
|
|
||||||
}
|
|
||||||
public function getNextPageToken()
|
|
||||||
{
|
|
||||||
return $this->nextPageToken;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,66 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
class Google_Service_AdExchangeSeller_AdClient extends Google_Model
|
|
||||||
{
|
|
||||||
public $arcOptIn;
|
|
||||||
public $id;
|
|
||||||
public $kind;
|
|
||||||
public $productCode;
|
|
||||||
public $supportsReporting;
|
|
||||||
|
|
||||||
public function setArcOptIn($arcOptIn)
|
|
||||||
{
|
|
||||||
$this->arcOptIn = $arcOptIn;
|
|
||||||
}
|
|
||||||
public function getArcOptIn()
|
|
||||||
{
|
|
||||||
return $this->arcOptIn;
|
|
||||||
}
|
|
||||||
public function setId($id)
|
|
||||||
{
|
|
||||||
$this->id = $id;
|
|
||||||
}
|
|
||||||
public function getId()
|
|
||||||
{
|
|
||||||
return $this->id;
|
|
||||||
}
|
|
||||||
public function setKind($kind)
|
|
||||||
{
|
|
||||||
$this->kind = $kind;
|
|
||||||
}
|
|
||||||
public function getKind()
|
|
||||||
{
|
|
||||||
return $this->kind;
|
|
||||||
}
|
|
||||||
public function setProductCode($productCode)
|
|
||||||
{
|
|
||||||
$this->productCode = $productCode;
|
|
||||||
}
|
|
||||||
public function getProductCode()
|
|
||||||
{
|
|
||||||
return $this->productCode;
|
|
||||||
}
|
|
||||||
public function setSupportsReporting($supportsReporting)
|
|
||||||
{
|
|
||||||
$this->supportsReporting = $supportsReporting;
|
|
||||||
}
|
|
||||||
public function getSupportsReporting()
|
|
||||||
{
|
|
||||||
return $this->supportsReporting;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,59 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
class Google_Service_AdExchangeSeller_AdClients extends Google_Collection
|
|
||||||
{
|
|
||||||
protected $collection_key = 'items';
|
|
||||||
public $etag;
|
|
||||||
protected $itemsType = 'Google_Service_AdExchangeSeller_AdClient';
|
|
||||||
protected $itemsDataType = 'array';
|
|
||||||
public $kind;
|
|
||||||
public $nextPageToken;
|
|
||||||
|
|
||||||
public function setEtag($etag)
|
|
||||||
{
|
|
||||||
$this->etag = $etag;
|
|
||||||
}
|
|
||||||
public function getEtag()
|
|
||||||
{
|
|
||||||
return $this->etag;
|
|
||||||
}
|
|
||||||
public function setItems($items)
|
|
||||||
{
|
|
||||||
$this->items = $items;
|
|
||||||
}
|
|
||||||
public function getItems()
|
|
||||||
{
|
|
||||||
return $this->items;
|
|
||||||
}
|
|
||||||
public function setKind($kind)
|
|
||||||
{
|
|
||||||
$this->kind = $kind;
|
|
||||||
}
|
|
||||||
public function getKind()
|
|
||||||
{
|
|
||||||
return $this->kind;
|
|
||||||
}
|
|
||||||
public function setNextPageToken($nextPageToken)
|
|
||||||
{
|
|
||||||
$this->nextPageToken = $nextPageToken;
|
|
||||||
}
|
|
||||||
public function getNextPageToken()
|
|
||||||
{
|
|
||||||
return $this->nextPageToken;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,66 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
class Google_Service_AdExchangeSeller_Alert extends Google_Model
|
|
||||||
{
|
|
||||||
public $id;
|
|
||||||
public $kind;
|
|
||||||
public $message;
|
|
||||||
public $severity;
|
|
||||||
public $type;
|
|
||||||
|
|
||||||
public function setId($id)
|
|
||||||
{
|
|
||||||
$this->id = $id;
|
|
||||||
}
|
|
||||||
public function getId()
|
|
||||||
{
|
|
||||||
return $this->id;
|
|
||||||
}
|
|
||||||
public function setKind($kind)
|
|
||||||
{
|
|
||||||
$this->kind = $kind;
|
|
||||||
}
|
|
||||||
public function getKind()
|
|
||||||
{
|
|
||||||
return $this->kind;
|
|
||||||
}
|
|
||||||
public function setMessage($message)
|
|
||||||
{
|
|
||||||
$this->message = $message;
|
|
||||||
}
|
|
||||||
public function getMessage()
|
|
||||||
{
|
|
||||||
return $this->message;
|
|
||||||
}
|
|
||||||
public function setSeverity($severity)
|
|
||||||
{
|
|
||||||
$this->severity = $severity;
|
|
||||||
}
|
|
||||||
public function getSeverity()
|
|
||||||
{
|
|
||||||
return $this->severity;
|
|
||||||
}
|
|
||||||
public function setType($type)
|
|
||||||
{
|
|
||||||
$this->type = $type;
|
|
||||||
}
|
|
||||||
public function getType()
|
|
||||||
{
|
|
||||||
return $this->type;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,41 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
class Google_Service_AdExchangeSeller_Alerts extends Google_Collection
|
|
||||||
{
|
|
||||||
protected $collection_key = 'items';
|
|
||||||
protected $itemsType = 'Google_Service_AdExchangeSeller_Alert';
|
|
||||||
protected $itemsDataType = 'array';
|
|
||||||
public $kind;
|
|
||||||
|
|
||||||
public function setItems($items)
|
|
||||||
{
|
|
||||||
$this->items = $items;
|
|
||||||
}
|
|
||||||
public function getItems()
|
|
||||||
{
|
|
||||||
return $this->items;
|
|
||||||
}
|
|
||||||
public function setKind($kind)
|
|
||||||
{
|
|
||||||
$this->kind = $kind;
|
|
||||||
}
|
|
||||||
public function getKind()
|
|
||||||
{
|
|
||||||
return $this->kind;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,67 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
class Google_Service_AdExchangeSeller_CustomChannel extends Google_Model
|
|
||||||
{
|
|
||||||
public $code;
|
|
||||||
public $id;
|
|
||||||
public $kind;
|
|
||||||
public $name;
|
|
||||||
protected $targetingInfoType = 'Google_Service_AdExchangeSeller_CustomChannelTargetingInfo';
|
|
||||||
protected $targetingInfoDataType = '';
|
|
||||||
|
|
||||||
public function setCode($code)
|
|
||||||
{
|
|
||||||
$this->code = $code;
|
|
||||||
}
|
|
||||||
public function getCode()
|
|
||||||
{
|
|
||||||
return $this->code;
|
|
||||||
}
|
|
||||||
public function setId($id)
|
|
||||||
{
|
|
||||||
$this->id = $id;
|
|
||||||
}
|
|
||||||
public function getId()
|
|
||||||
{
|
|
||||||
return $this->id;
|
|
||||||
}
|
|
||||||
public function setKind($kind)
|
|
||||||
{
|
|
||||||
$this->kind = $kind;
|
|
||||||
}
|
|
||||||
public function getKind()
|
|
||||||
{
|
|
||||||
return $this->kind;
|
|
||||||
}
|
|
||||||
public function setName($name)
|
|
||||||
{
|
|
||||||
$this->name = $name;
|
|
||||||
}
|
|
||||||
public function getName()
|
|
||||||
{
|
|
||||||
return $this->name;
|
|
||||||
}
|
|
||||||
public function setTargetingInfo(Google_Service_AdExchangeSeller_CustomChannelTargetingInfo $targetingInfo)
|
|
||||||
{
|
|
||||||
$this->targetingInfo = $targetingInfo;
|
|
||||||
}
|
|
||||||
public function getTargetingInfo()
|
|
||||||
{
|
|
||||||
return $this->targetingInfo;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,57 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
class Google_Service_AdExchangeSeller_CustomChannelTargetingInfo extends Google_Model
|
|
||||||
{
|
|
||||||
public $adsAppearOn;
|
|
||||||
public $description;
|
|
||||||
public $location;
|
|
||||||
public $siteLanguage;
|
|
||||||
|
|
||||||
public function setAdsAppearOn($adsAppearOn)
|
|
||||||
{
|
|
||||||
$this->adsAppearOn = $adsAppearOn;
|
|
||||||
}
|
|
||||||
public function getAdsAppearOn()
|
|
||||||
{
|
|
||||||
return $this->adsAppearOn;
|
|
||||||
}
|
|
||||||
public function setDescription($description)
|
|
||||||
{
|
|
||||||
$this->description = $description;
|
|
||||||
}
|
|
||||||
public function getDescription()
|
|
||||||
{
|
|
||||||
return $this->description;
|
|
||||||
}
|
|
||||||
public function setLocation($location)
|
|
||||||
{
|
|
||||||
$this->location = $location;
|
|
||||||
}
|
|
||||||
public function getLocation()
|
|
||||||
{
|
|
||||||
return $this->location;
|
|
||||||
}
|
|
||||||
public function setSiteLanguage($siteLanguage)
|
|
||||||
{
|
|
||||||
$this->siteLanguage = $siteLanguage;
|
|
||||||
}
|
|
||||||
public function getSiteLanguage()
|
|
||||||
{
|
|
||||||
return $this->siteLanguage;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,59 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
class Google_Service_AdExchangeSeller_CustomChannels extends Google_Collection
|
|
||||||
{
|
|
||||||
protected $collection_key = 'items';
|
|
||||||
public $etag;
|
|
||||||
protected $itemsType = 'Google_Service_AdExchangeSeller_CustomChannel';
|
|
||||||
protected $itemsDataType = 'array';
|
|
||||||
public $kind;
|
|
||||||
public $nextPageToken;
|
|
||||||
|
|
||||||
public function setEtag($etag)
|
|
||||||
{
|
|
||||||
$this->etag = $etag;
|
|
||||||
}
|
|
||||||
public function getEtag()
|
|
||||||
{
|
|
||||||
return $this->etag;
|
|
||||||
}
|
|
||||||
public function setItems($items)
|
|
||||||
{
|
|
||||||
$this->items = $items;
|
|
||||||
}
|
|
||||||
public function getItems()
|
|
||||||
{
|
|
||||||
return $this->items;
|
|
||||||
}
|
|
||||||
public function setKind($kind)
|
|
||||||
{
|
|
||||||
$this->kind = $kind;
|
|
||||||
}
|
|
||||||
public function getKind()
|
|
||||||
{
|
|
||||||
return $this->kind;
|
|
||||||
}
|
|
||||||
public function setNextPageToken($nextPageToken)
|
|
||||||
{
|
|
||||||
$this->nextPageToken = $nextPageToken;
|
|
||||||
}
|
|
||||||
public function getNextPageToken()
|
|
||||||
{
|
|
||||||
return $this->nextPageToken;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,41 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
class Google_Service_AdExchangeSeller_Metadata extends Google_Collection
|
|
||||||
{
|
|
||||||
protected $collection_key = 'items';
|
|
||||||
protected $itemsType = 'Google_Service_AdExchangeSeller_ReportingMetadataEntry';
|
|
||||||
protected $itemsDataType = 'array';
|
|
||||||
public $kind;
|
|
||||||
|
|
||||||
public function setItems($items)
|
|
||||||
{
|
|
||||||
$this->items = $items;
|
|
||||||
}
|
|
||||||
public function getItems()
|
|
||||||
{
|
|
||||||
return $this->items;
|
|
||||||
}
|
|
||||||
public function setKind($kind)
|
|
||||||
{
|
|
||||||
$this->kind = $kind;
|
|
||||||
}
|
|
||||||
public function getKind()
|
|
||||||
{
|
|
||||||
return $this->kind;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,86 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
class Google_Service_AdExchangeSeller_Report extends Google_Collection
|
|
||||||
{
|
|
||||||
protected $collection_key = 'warnings';
|
|
||||||
public $averages;
|
|
||||||
protected $headersType = 'Google_Service_AdExchangeSeller_ReportHeaders';
|
|
||||||
protected $headersDataType = 'array';
|
|
||||||
public $kind;
|
|
||||||
public $rows;
|
|
||||||
public $totalMatchedRows;
|
|
||||||
public $totals;
|
|
||||||
public $warnings;
|
|
||||||
|
|
||||||
public function setAverages($averages)
|
|
||||||
{
|
|
||||||
$this->averages = $averages;
|
|
||||||
}
|
|
||||||
public function getAverages()
|
|
||||||
{
|
|
||||||
return $this->averages;
|
|
||||||
}
|
|
||||||
public function setHeaders($headers)
|
|
||||||
{
|
|
||||||
$this->headers = $headers;
|
|
||||||
}
|
|
||||||
public function getHeaders()
|
|
||||||
{
|
|
||||||
return $this->headers;
|
|
||||||
}
|
|
||||||
public function setKind($kind)
|
|
||||||
{
|
|
||||||
$this->kind = $kind;
|
|
||||||
}
|
|
||||||
public function getKind()
|
|
||||||
{
|
|
||||||
return $this->kind;
|
|
||||||
}
|
|
||||||
public function setRows($rows)
|
|
||||||
{
|
|
||||||
$this->rows = $rows;
|
|
||||||
}
|
|
||||||
public function getRows()
|
|
||||||
{
|
|
||||||
return $this->rows;
|
|
||||||
}
|
|
||||||
public function setTotalMatchedRows($totalMatchedRows)
|
|
||||||
{
|
|
||||||
$this->totalMatchedRows = $totalMatchedRows;
|
|
||||||
}
|
|
||||||
public function getTotalMatchedRows()
|
|
||||||
{
|
|
||||||
return $this->totalMatchedRows;
|
|
||||||
}
|
|
||||||
public function setTotals($totals)
|
|
||||||
{
|
|
||||||
$this->totals = $totals;
|
|
||||||
}
|
|
||||||
public function getTotals()
|
|
||||||
{
|
|
||||||
return $this->totals;
|
|
||||||
}
|
|
||||||
public function setWarnings($warnings)
|
|
||||||
{
|
|
||||||
$this->warnings = $warnings;
|
|
||||||
}
|
|
||||||
public function getWarnings()
|
|
||||||
{
|
|
||||||
return $this->warnings;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,48 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
class Google_Service_AdExchangeSeller_ReportHeaders extends Google_Model
|
|
||||||
{
|
|
||||||
public $currency;
|
|
||||||
public $name;
|
|
||||||
public $type;
|
|
||||||
|
|
||||||
public function setCurrency($currency)
|
|
||||||
{
|
|
||||||
$this->currency = $currency;
|
|
||||||
}
|
|
||||||
public function getCurrency()
|
|
||||||
{
|
|
||||||
return $this->currency;
|
|
||||||
}
|
|
||||||
public function setName($name)
|
|
||||||
{
|
|
||||||
$this->name = $name;
|
|
||||||
}
|
|
||||||
public function getName()
|
|
||||||
{
|
|
||||||
return $this->name;
|
|
||||||
}
|
|
||||||
public function setType($type)
|
|
||||||
{
|
|
||||||
$this->type = $type;
|
|
||||||
}
|
|
||||||
public function getType()
|
|
||||||
{
|
|
||||||
return $this->type;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,85 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
class Google_Service_AdExchangeSeller_ReportingMetadataEntry extends Google_Collection
|
|
||||||
{
|
|
||||||
protected $collection_key = 'supportedProducts';
|
|
||||||
public $compatibleDimensions;
|
|
||||||
public $compatibleMetrics;
|
|
||||||
public $id;
|
|
||||||
public $kind;
|
|
||||||
public $requiredDimensions;
|
|
||||||
public $requiredMetrics;
|
|
||||||
public $supportedProducts;
|
|
||||||
|
|
||||||
public function setCompatibleDimensions($compatibleDimensions)
|
|
||||||
{
|
|
||||||
$this->compatibleDimensions = $compatibleDimensions;
|
|
||||||
}
|
|
||||||
public function getCompatibleDimensions()
|
|
||||||
{
|
|
||||||
return $this->compatibleDimensions;
|
|
||||||
}
|
|
||||||
public function setCompatibleMetrics($compatibleMetrics)
|
|
||||||
{
|
|
||||||
$this->compatibleMetrics = $compatibleMetrics;
|
|
||||||
}
|
|
||||||
public function getCompatibleMetrics()
|
|
||||||
{
|
|
||||||
return $this->compatibleMetrics;
|
|
||||||
}
|
|
||||||
public function setId($id)
|
|
||||||
{
|
|
||||||
$this->id = $id;
|
|
||||||
}
|
|
||||||
public function getId()
|
|
||||||
{
|
|
||||||
return $this->id;
|
|
||||||
}
|
|
||||||
public function setKind($kind)
|
|
||||||
{
|
|
||||||
$this->kind = $kind;
|
|
||||||
}
|
|
||||||
public function getKind()
|
|
||||||
{
|
|
||||||
return $this->kind;
|
|
||||||
}
|
|
||||||
public function setRequiredDimensions($requiredDimensions)
|
|
||||||
{
|
|
||||||
$this->requiredDimensions = $requiredDimensions;
|
|
||||||
}
|
|
||||||
public function getRequiredDimensions()
|
|
||||||
{
|
|
||||||
return $this->requiredDimensions;
|
|
||||||
}
|
|
||||||
public function setRequiredMetrics($requiredMetrics)
|
|
||||||
{
|
|
||||||
$this->requiredMetrics = $requiredMetrics;
|
|
||||||
}
|
|
||||||
public function getRequiredMetrics()
|
|
||||||
{
|
|
||||||
return $this->requiredMetrics;
|
|
||||||
}
|
|
||||||
public function setSupportedProducts($supportedProducts)
|
|
||||||
{
|
|
||||||
$this->supportedProducts = $supportedProducts;
|
|
||||||
}
|
|
||||||
public function getSupportedProducts()
|
|
||||||
{
|
|
||||||
return $this->supportedProducts;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,61 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The "accounts" collection of methods.
|
|
||||||
* Typical usage is:
|
|
||||||
* <code>
|
|
||||||
* $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
|
|
||||||
* $accounts = $adexchangesellerService->accounts;
|
|
||||||
* </code>
|
|
||||||
*/
|
|
||||||
class Google_Service_AdExchangeSeller_Resource_Accounts extends Google_Service_Resource
|
|
||||||
{
|
|
||||||
/**
|
|
||||||
* Get information about the selected Ad Exchange account. (accounts.get)
|
|
||||||
*
|
|
||||||
* @param string $accountId Account to get information about. Tip: 'myaccount'
|
|
||||||
* is a valid ID.
|
|
||||||
* @param array $optParams Optional parameters.
|
|
||||||
* @return Google_Service_AdExchangeSeller_Account
|
|
||||||
*/
|
|
||||||
public function get($accountId, $optParams = array())
|
|
||||||
{
|
|
||||||
$params = array('accountId' => $accountId);
|
|
||||||
$params = array_merge($params, $optParams);
|
|
||||||
return $this->call('get', array($params), "Google_Service_AdExchangeSeller_Account");
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* List all accounts available to this Ad Exchange account.
|
|
||||||
* (accounts.listAccounts)
|
|
||||||
*
|
|
||||||
* @param array $optParams Optional parameters.
|
|
||||||
*
|
|
||||||
* @opt_param int maxResults The maximum number of accounts to include in the
|
|
||||||
* response, used for paging.
|
|
||||||
* @opt_param string pageToken A continuation token, used to page through
|
|
||||||
* accounts. To retrieve the next page, set this parameter to the value of
|
|
||||||
* "nextPageToken" from the previous response.
|
|
||||||
* @return Google_Service_AdExchangeSeller_Accounts
|
|
||||||
*/
|
|
||||||
public function listAccounts($optParams = array())
|
|
||||||
{
|
|
||||||
$params = array();
|
|
||||||
$params = array_merge($params, $optParams);
|
|
||||||
return $this->call('list', array($params), "Google_Service_AdExchangeSeller_Accounts");
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,48 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The "adclients" collection of methods.
|
|
||||||
* Typical usage is:
|
|
||||||
* <code>
|
|
||||||
* $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
|
|
||||||
* $adclients = $adexchangesellerService->adclients;
|
|
||||||
* </code>
|
|
||||||
*/
|
|
||||||
class Google_Service_AdExchangeSeller_Resource_AccountsAdclients extends Google_Service_Resource
|
|
||||||
{
|
|
||||||
/**
|
|
||||||
* List all ad clients in this Ad Exchange account.
|
|
||||||
* (adclients.listAccountsAdclients)
|
|
||||||
*
|
|
||||||
* @param string $accountId Account to which the ad client belongs.
|
|
||||||
* @param array $optParams Optional parameters.
|
|
||||||
*
|
|
||||||
* @opt_param string maxResults The maximum number of ad clients to include in
|
|
||||||
* the response, used for paging.
|
|
||||||
* @opt_param string pageToken A continuation token, used to page through ad
|
|
||||||
* clients. To retrieve the next page, set this parameter to the value of
|
|
||||||
* "nextPageToken" from the previous response.
|
|
||||||
* @return Google_Service_AdExchangeSeller_AdClients
|
|
||||||
*/
|
|
||||||
public function listAccountsAdclients($accountId, $optParams = array())
|
|
||||||
{
|
|
||||||
$params = array('accountId' => $accountId);
|
|
||||||
$params = array_merge($params, $optParams);
|
|
||||||
return $this->call('list', array($params), "Google_Service_AdExchangeSeller_AdClients");
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,45 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The "alerts" collection of methods.
|
|
||||||
* Typical usage is:
|
|
||||||
* <code>
|
|
||||||
* $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
|
|
||||||
* $alerts = $adexchangesellerService->alerts;
|
|
||||||
* </code>
|
|
||||||
*/
|
|
||||||
class Google_Service_AdExchangeSeller_Resource_AccountsAlerts extends Google_Service_Resource
|
|
||||||
{
|
|
||||||
/**
|
|
||||||
* List the alerts for this Ad Exchange account. (alerts.listAccountsAlerts)
|
|
||||||
*
|
|
||||||
* @param string $accountId Account owning the alerts.
|
|
||||||
* @param array $optParams Optional parameters.
|
|
||||||
*
|
|
||||||
* @opt_param string locale The locale to use for translating alert messages.
|
|
||||||
* The account locale will be used if this is not supplied. The AdSense default
|
|
||||||
* (English) will be used if the supplied locale is invalid or unsupported.
|
|
||||||
* @return Google_Service_AdExchangeSeller_Alerts
|
|
||||||
*/
|
|
||||||
public function listAccountsAlerts($accountId, $optParams = array())
|
|
||||||
{
|
|
||||||
$params = array('accountId' => $accountId);
|
|
||||||
$params = array_merge($params, $optParams);
|
|
||||||
return $this->call('list', array($params), "Google_Service_AdExchangeSeller_Alerts");
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,65 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The "customchannels" collection of methods.
|
|
||||||
* Typical usage is:
|
|
||||||
* <code>
|
|
||||||
* $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
|
|
||||||
* $customchannels = $adexchangesellerService->customchannels;
|
|
||||||
* </code>
|
|
||||||
*/
|
|
||||||
class Google_Service_AdExchangeSeller_Resource_AccountsCustomchannels extends Google_Service_Resource
|
|
||||||
{
|
|
||||||
/**
|
|
||||||
* Get the specified custom channel from the specified ad client.
|
|
||||||
* (customchannels.get)
|
|
||||||
*
|
|
||||||
* @param string $accountId Account to which the ad client belongs.
|
|
||||||
* @param string $adClientId Ad client which contains the custom channel.
|
|
||||||
* @param string $customChannelId Custom channel to retrieve.
|
|
||||||
* @param array $optParams Optional parameters.
|
|
||||||
* @return Google_Service_AdExchangeSeller_CustomChannel
|
|
||||||
*/
|
|
||||||
public function get($accountId, $adClientId, $customChannelId, $optParams = array())
|
|
||||||
{
|
|
||||||
$params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'customChannelId' => $customChannelId);
|
|
||||||
$params = array_merge($params, $optParams);
|
|
||||||
return $this->call('get', array($params), "Google_Service_AdExchangeSeller_CustomChannel");
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* List all custom channels in the specified ad client for this Ad Exchange
|
|
||||||
* account. (customchannels.listAccountsCustomchannels)
|
|
||||||
*
|
|
||||||
* @param string $accountId Account to which the ad client belongs.
|
|
||||||
* @param string $adClientId Ad client for which to list custom channels.
|
|
||||||
* @param array $optParams Optional parameters.
|
|
||||||
*
|
|
||||||
* @opt_param string maxResults The maximum number of custom channels to include
|
|
||||||
* in the response, used for paging.
|
|
||||||
* @opt_param string pageToken A continuation token, used to page through custom
|
|
||||||
* channels. To retrieve the next page, set this parameter to the value of
|
|
||||||
* "nextPageToken" from the previous response.
|
|
||||||
* @return Google_Service_AdExchangeSeller_CustomChannels
|
|
||||||
*/
|
|
||||||
public function listAccountsCustomchannels($accountId, $adClientId, $optParams = array())
|
|
||||||
{
|
|
||||||
$params = array('accountId' => $accountId, 'adClientId' => $adClientId);
|
|
||||||
$params = array_merge($params, $optParams);
|
|
||||||
return $this->call('list', array($params), "Google_Service_AdExchangeSeller_CustomChannels");
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,59 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The "reports" collection of methods.
|
|
||||||
* Typical usage is:
|
|
||||||
* <code>
|
|
||||||
* $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
|
|
||||||
* $reports = $adexchangesellerService->reports;
|
|
||||||
* </code>
|
|
||||||
*/
|
|
||||||
class Google_Service_AdExchangeSeller_Resource_AccountsReports extends Google_Service_Resource
|
|
||||||
{
|
|
||||||
/**
|
|
||||||
* Generate an Ad Exchange report based on the report request sent in the query
|
|
||||||
* parameters. Returns the result as JSON; to retrieve output in CSV format
|
|
||||||
* specify "alt=csv" as a query parameter. (reports.generate)
|
|
||||||
*
|
|
||||||
* @param string $accountId Account which owns the generated report.
|
|
||||||
* @param string $startDate Start of the date range to report on in "YYYY-MM-DD"
|
|
||||||
* format, inclusive.
|
|
||||||
* @param string $endDate End of the date range to report on in "YYYY-MM-DD"
|
|
||||||
* format, inclusive.
|
|
||||||
* @param array $optParams Optional parameters.
|
|
||||||
*
|
|
||||||
* @opt_param string dimension Dimensions to base the report on.
|
|
||||||
* @opt_param string filter Filters to be run on the report.
|
|
||||||
* @opt_param string locale Optional locale to use for translating report output
|
|
||||||
* to a local language. Defaults to "en_US" if not specified.
|
|
||||||
* @opt_param string maxResults The maximum number of rows of report data to
|
|
||||||
* return.
|
|
||||||
* @opt_param string metric Numeric columns to include in the report.
|
|
||||||
* @opt_param string sort The name of a dimension or metric to sort the
|
|
||||||
* resulting report on, optionally prefixed with "+" to sort ascending or "-" to
|
|
||||||
* sort descending. If no prefix is specified, the column is sorted ascending.
|
|
||||||
* @opt_param string startIndex Index of the first row of report data to return.
|
|
||||||
* @return Google_Service_AdExchangeSeller_Report
|
|
||||||
*/
|
|
||||||
public function generate($accountId, $startDate, $endDate, $optParams = array())
|
|
||||||
{
|
|
||||||
$params = array('accountId' => $accountId, 'startDate' => $startDate, 'endDate' => $endDate);
|
|
||||||
$params = array_merge($params, $optParams);
|
|
||||||
return $this->call('generate', array($params), "Google_Service_AdExchangeSeller_Report");
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,69 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The "saved" collection of methods.
|
|
||||||
* Typical usage is:
|
|
||||||
* <code>
|
|
||||||
* $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
|
|
||||||
* $saved = $adexchangesellerService->saved;
|
|
||||||
* </code>
|
|
||||||
*/
|
|
||||||
class Google_Service_AdExchangeSeller_Resource_AccountsReportsSaved extends Google_Service_Resource
|
|
||||||
{
|
|
||||||
/**
|
|
||||||
* Generate an Ad Exchange report based on the saved report ID sent in the query
|
|
||||||
* parameters. (saved.generate)
|
|
||||||
*
|
|
||||||
* @param string $accountId Account owning the saved report.
|
|
||||||
* @param string $savedReportId The saved report to retrieve.
|
|
||||||
* @param array $optParams Optional parameters.
|
|
||||||
*
|
|
||||||
* @opt_param string locale Optional locale to use for translating report output
|
|
||||||
* to a local language. Defaults to "en_US" if not specified.
|
|
||||||
* @opt_param int maxResults The maximum number of rows of report data to
|
|
||||||
* return.
|
|
||||||
* @opt_param int startIndex Index of the first row of report data to return.
|
|
||||||
* @return Google_Service_AdExchangeSeller_Report
|
|
||||||
*/
|
|
||||||
public function generate($accountId, $savedReportId, $optParams = array())
|
|
||||||
{
|
|
||||||
$params = array('accountId' => $accountId, 'savedReportId' => $savedReportId);
|
|
||||||
$params = array_merge($params, $optParams);
|
|
||||||
return $this->call('generate', array($params), "Google_Service_AdExchangeSeller_Report");
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* List all saved reports in this Ad Exchange account.
|
|
||||||
* (saved.listAccountsReportsSaved)
|
|
||||||
*
|
|
||||||
* @param string $accountId Account owning the saved reports.
|
|
||||||
* @param array $optParams Optional parameters.
|
|
||||||
*
|
|
||||||
* @opt_param int maxResults The maximum number of saved reports to include in
|
|
||||||
* the response, used for paging.
|
|
||||||
* @opt_param string pageToken A continuation token, used to page through saved
|
|
||||||
* reports. To retrieve the next page, set this parameter to the value of
|
|
||||||
* "nextPageToken" from the previous response.
|
|
||||||
* @return Google_Service_AdExchangeSeller_SavedReports
|
|
||||||
*/
|
|
||||||
public function listAccountsReportsSaved($accountId, $optParams = array())
|
|
||||||
{
|
|
||||||
$params = array('accountId' => $accountId);
|
|
||||||
$params = array_merge($params, $optParams);
|
|
||||||
return $this->call('list', array($params), "Google_Service_AdExchangeSeller_SavedReports");
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,49 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The "urlchannels" collection of methods.
|
|
||||||
* Typical usage is:
|
|
||||||
* <code>
|
|
||||||
* $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
|
|
||||||
* $urlchannels = $adexchangesellerService->urlchannels;
|
|
||||||
* </code>
|
|
||||||
*/
|
|
||||||
class Google_Service_AdExchangeSeller_Resource_AccountsUrlchannels extends Google_Service_Resource
|
|
||||||
{
|
|
||||||
/**
|
|
||||||
* List all URL channels in the specified ad client for this Ad Exchange
|
|
||||||
* account. (urlchannels.listAccountsUrlchannels)
|
|
||||||
*
|
|
||||||
* @param string $accountId Account to which the ad client belongs.
|
|
||||||
* @param string $adClientId Ad client for which to list URL channels.
|
|
||||||
* @param array $optParams Optional parameters.
|
|
||||||
*
|
|
||||||
* @opt_param string maxResults The maximum number of URL channels to include in
|
|
||||||
* the response, used for paging.
|
|
||||||
* @opt_param string pageToken A continuation token, used to page through URL
|
|
||||||
* channels. To retrieve the next page, set this parameter to the value of
|
|
||||||
* "nextPageToken" from the previous response.
|
|
||||||
* @return Google_Service_AdExchangeSeller_UrlChannels
|
|
||||||
*/
|
|
||||||
public function listAccountsUrlchannels($accountId, $adClientId, $optParams = array())
|
|
||||||
{
|
|
||||||
$params = array('accountId' => $accountId, 'adClientId' => $adClientId);
|
|
||||||
$params = array_merge($params, $optParams);
|
|
||||||
return $this->call('list', array($params), "Google_Service_AdExchangeSeller_UrlChannels");
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,48 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
class Google_Service_AdExchangeSeller_SavedReport extends Google_Model
|
|
||||||
{
|
|
||||||
public $id;
|
|
||||||
public $kind;
|
|
||||||
public $name;
|
|
||||||
|
|
||||||
public function setId($id)
|
|
||||||
{
|
|
||||||
$this->id = $id;
|
|
||||||
}
|
|
||||||
public function getId()
|
|
||||||
{
|
|
||||||
return $this->id;
|
|
||||||
}
|
|
||||||
public function setKind($kind)
|
|
||||||
{
|
|
||||||
$this->kind = $kind;
|
|
||||||
}
|
|
||||||
public function getKind()
|
|
||||||
{
|
|
||||||
return $this->kind;
|
|
||||||
}
|
|
||||||
public function setName($name)
|
|
||||||
{
|
|
||||||
$this->name = $name;
|
|
||||||
}
|
|
||||||
public function getName()
|
|
||||||
{
|
|
||||||
return $this->name;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,59 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
class Google_Service_AdExchangeSeller_SavedReports extends Google_Collection
|
|
||||||
{
|
|
||||||
protected $collection_key = 'items';
|
|
||||||
public $etag;
|
|
||||||
protected $itemsType = 'Google_Service_AdExchangeSeller_SavedReport';
|
|
||||||
protected $itemsDataType = 'array';
|
|
||||||
public $kind;
|
|
||||||
public $nextPageToken;
|
|
||||||
|
|
||||||
public function setEtag($etag)
|
|
||||||
{
|
|
||||||
$this->etag = $etag;
|
|
||||||
}
|
|
||||||
public function getEtag()
|
|
||||||
{
|
|
||||||
return $this->etag;
|
|
||||||
}
|
|
||||||
public function setItems($items)
|
|
||||||
{
|
|
||||||
$this->items = $items;
|
|
||||||
}
|
|
||||||
public function getItems()
|
|
||||||
{
|
|
||||||
return $this->items;
|
|
||||||
}
|
|
||||||
public function setKind($kind)
|
|
||||||
{
|
|
||||||
$this->kind = $kind;
|
|
||||||
}
|
|
||||||
public function getKind()
|
|
||||||
{
|
|
||||||
return $this->kind;
|
|
||||||
}
|
|
||||||
public function setNextPageToken($nextPageToken)
|
|
||||||
{
|
|
||||||
$this->nextPageToken = $nextPageToken;
|
|
||||||
}
|
|
||||||
public function getNextPageToken()
|
|
||||||
{
|
|
||||||
return $this->nextPageToken;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,48 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
class Google_Service_AdExchangeSeller_UrlChannel extends Google_Model
|
|
||||||
{
|
|
||||||
public $id;
|
|
||||||
public $kind;
|
|
||||||
public $urlPattern;
|
|
||||||
|
|
||||||
public function setId($id)
|
|
||||||
{
|
|
||||||
$this->id = $id;
|
|
||||||
}
|
|
||||||
public function getId()
|
|
||||||
{
|
|
||||||
return $this->id;
|
|
||||||
}
|
|
||||||
public function setKind($kind)
|
|
||||||
{
|
|
||||||
$this->kind = $kind;
|
|
||||||
}
|
|
||||||
public function getKind()
|
|
||||||
{
|
|
||||||
return $this->kind;
|
|
||||||
}
|
|
||||||
public function setUrlPattern($urlPattern)
|
|
||||||
{
|
|
||||||
$this->urlPattern = $urlPattern;
|
|
||||||
}
|
|
||||||
public function getUrlPattern()
|
|
||||||
{
|
|
||||||
return $this->urlPattern;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,59 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
class Google_Service_AdExchangeSeller_UrlChannels extends Google_Collection
|
|
||||||
{
|
|
||||||
protected $collection_key = 'items';
|
|
||||||
public $etag;
|
|
||||||
protected $itemsType = 'Google_Service_AdExchangeSeller_UrlChannel';
|
|
||||||
protected $itemsDataType = 'array';
|
|
||||||
public $kind;
|
|
||||||
public $nextPageToken;
|
|
||||||
|
|
||||||
public function setEtag($etag)
|
|
||||||
{
|
|
||||||
$this->etag = $etag;
|
|
||||||
}
|
|
||||||
public function getEtag()
|
|
||||||
{
|
|
||||||
return $this->etag;
|
|
||||||
}
|
|
||||||
public function setItems($items)
|
|
||||||
{
|
|
||||||
$this->items = $items;
|
|
||||||
}
|
|
||||||
public function getItems()
|
|
||||||
{
|
|
||||||
return $this->items;
|
|
||||||
}
|
|
||||||
public function setKind($kind)
|
|
||||||
{
|
|
||||||
$this->kind = $kind;
|
|
||||||
}
|
|
||||||
public function getKind()
|
|
||||||
{
|
|
||||||
return $this->kind;
|
|
||||||
}
|
|
||||||
public function setNextPageToken($nextPageToken)
|
|
||||||
{
|
|
||||||
$this->nextPageToken = $nextPageToken;
|
|
||||||
}
|
|
||||||
public function getNextPageToken()
|
|
||||||
{
|
|
||||||
return $this->nextPageToken;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,89 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
class Google_Service_AdSense_Account extends Google_Collection
|
|
||||||
{
|
|
||||||
protected $collection_key = 'subAccounts';
|
|
||||||
protected $internal_gapi_mappings = array(
|
|
||||||
"creationTime" => "creation_time",
|
|
||||||
);
|
|
||||||
public $creationTime;
|
|
||||||
public $id;
|
|
||||||
public $kind;
|
|
||||||
public $name;
|
|
||||||
public $premium;
|
|
||||||
protected $subAccountsType = 'Google_Service_AdSense_Account';
|
|
||||||
protected $subAccountsDataType = 'array';
|
|
||||||
public $timezone;
|
|
||||||
|
|
||||||
public function setCreationTime($creationTime)
|
|
||||||
{
|
|
||||||
$this->creationTime = $creationTime;
|
|
||||||
}
|
|
||||||
public function getCreationTime()
|
|
||||||
{
|
|
||||||
return $this->creationTime;
|
|
||||||
}
|
|
||||||
public function setId($id)
|
|
||||||
{
|
|
||||||
$this->id = $id;
|
|
||||||
}
|
|
||||||
public function getId()
|
|
||||||
{
|
|
||||||
return $this->id;
|
|
||||||
}
|
|
||||||
public function setKind($kind)
|
|
||||||
{
|
|
||||||
$this->kind = $kind;
|
|
||||||
}
|
|
||||||
public function getKind()
|
|
||||||
{
|
|
||||||
return $this->kind;
|
|
||||||
}
|
|
||||||
public function setName($name)
|
|
||||||
{
|
|
||||||
$this->name = $name;
|
|
||||||
}
|
|
||||||
public function getName()
|
|
||||||
{
|
|
||||||
return $this->name;
|
|
||||||
}
|
|
||||||
public function setPremium($premium)
|
|
||||||
{
|
|
||||||
$this->premium = $premium;
|
|
||||||
}
|
|
||||||
public function getPremium()
|
|
||||||
{
|
|
||||||
return $this->premium;
|
|
||||||
}
|
|
||||||
public function setSubAccounts($subAccounts)
|
|
||||||
{
|
|
||||||
$this->subAccounts = $subAccounts;
|
|
||||||
}
|
|
||||||
public function getSubAccounts()
|
|
||||||
{
|
|
||||||
return $this->subAccounts;
|
|
||||||
}
|
|
||||||
public function setTimezone($timezone)
|
|
||||||
{
|
|
||||||
$this->timezone = $timezone;
|
|
||||||
}
|
|
||||||
public function getTimezone()
|
|
||||||
{
|
|
||||||
return $this->timezone;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,59 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
class Google_Service_AdSense_Accounts extends Google_Collection
|
|
||||||
{
|
|
||||||
protected $collection_key = 'items';
|
|
||||||
public $etag;
|
|
||||||
protected $itemsType = 'Google_Service_AdSense_Account';
|
|
||||||
protected $itemsDataType = 'array';
|
|
||||||
public $kind;
|
|
||||||
public $nextPageToken;
|
|
||||||
|
|
||||||
public function setEtag($etag)
|
|
||||||
{
|
|
||||||
$this->etag = $etag;
|
|
||||||
}
|
|
||||||
public function getEtag()
|
|
||||||
{
|
|
||||||
return $this->etag;
|
|
||||||
}
|
|
||||||
public function setItems($items)
|
|
||||||
{
|
|
||||||
$this->items = $items;
|
|
||||||
}
|
|
||||||
public function getItems()
|
|
||||||
{
|
|
||||||
return $this->items;
|
|
||||||
}
|
|
||||||
public function setKind($kind)
|
|
||||||
{
|
|
||||||
$this->kind = $kind;
|
|
||||||
}
|
|
||||||
public function getKind()
|
|
||||||
{
|
|
||||||
return $this->kind;
|
|
||||||
}
|
|
||||||
public function setNextPageToken($nextPageToken)
|
|
||||||
{
|
|
||||||
$this->nextPageToken = $nextPageToken;
|
|
||||||
}
|
|
||||||
public function getNextPageToken()
|
|
||||||
{
|
|
||||||
return $this->nextPageToken;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,66 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
class Google_Service_AdSense_AdClient extends Google_Model
|
|
||||||
{
|
|
||||||
public $arcOptIn;
|
|
||||||
public $id;
|
|
||||||
public $kind;
|
|
||||||
public $productCode;
|
|
||||||
public $supportsReporting;
|
|
||||||
|
|
||||||
public function setArcOptIn($arcOptIn)
|
|
||||||
{
|
|
||||||
$this->arcOptIn = $arcOptIn;
|
|
||||||
}
|
|
||||||
public function getArcOptIn()
|
|
||||||
{
|
|
||||||
return $this->arcOptIn;
|
|
||||||
}
|
|
||||||
public function setId($id)
|
|
||||||
{
|
|
||||||
$this->id = $id;
|
|
||||||
}
|
|
||||||
public function getId()
|
|
||||||
{
|
|
||||||
return $this->id;
|
|
||||||
}
|
|
||||||
public function setKind($kind)
|
|
||||||
{
|
|
||||||
$this->kind = $kind;
|
|
||||||
}
|
|
||||||
public function getKind()
|
|
||||||
{
|
|
||||||
return $this->kind;
|
|
||||||
}
|
|
||||||
public function setProductCode($productCode)
|
|
||||||
{
|
|
||||||
$this->productCode = $productCode;
|
|
||||||
}
|
|
||||||
public function getProductCode()
|
|
||||||
{
|
|
||||||
return $this->productCode;
|
|
||||||
}
|
|
||||||
public function setSupportsReporting($supportsReporting)
|
|
||||||
{
|
|
||||||
$this->supportsReporting = $supportsReporting;
|
|
||||||
}
|
|
||||||
public function getSupportsReporting()
|
|
||||||
{
|
|
||||||
return $this->supportsReporting;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,59 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
class Google_Service_AdSense_AdClients extends Google_Collection
|
|
||||||
{
|
|
||||||
protected $collection_key = 'items';
|
|
||||||
public $etag;
|
|
||||||
protected $itemsType = 'Google_Service_AdSense_AdClient';
|
|
||||||
protected $itemsDataType = 'array';
|
|
||||||
public $kind;
|
|
||||||
public $nextPageToken;
|
|
||||||
|
|
||||||
public function setEtag($etag)
|
|
||||||
{
|
|
||||||
$this->etag = $etag;
|
|
||||||
}
|
|
||||||
public function getEtag()
|
|
||||||
{
|
|
||||||
return $this->etag;
|
|
||||||
}
|
|
||||||
public function setItems($items)
|
|
||||||
{
|
|
||||||
$this->items = $items;
|
|
||||||
}
|
|
||||||
public function getItems()
|
|
||||||
{
|
|
||||||
return $this->items;
|
|
||||||
}
|
|
||||||
public function setKind($kind)
|
|
||||||
{
|
|
||||||
$this->kind = $kind;
|
|
||||||
}
|
|
||||||
public function getKind()
|
|
||||||
{
|
|
||||||
return $this->kind;
|
|
||||||
}
|
|
||||||
public function setNextPageToken($nextPageToken)
|
|
||||||
{
|
|
||||||
$this->nextPageToken = $nextPageToken;
|
|
||||||
}
|
|
||||||
public function getNextPageToken()
|
|
||||||
{
|
|
||||||
return $this->nextPageToken;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,39 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
class Google_Service_AdSense_AdCode extends Google_Model
|
|
||||||
{
|
|
||||||
public $adCode;
|
|
||||||
public $kind;
|
|
||||||
|
|
||||||
public function setAdCode($adCode)
|
|
||||||
{
|
|
||||||
$this->adCode = $adCode;
|
|
||||||
}
|
|
||||||
public function getAdCode()
|
|
||||||
{
|
|
||||||
return $this->adCode;
|
|
||||||
}
|
|
||||||
public function setKind($kind)
|
|
||||||
{
|
|
||||||
$this->kind = $kind;
|
|
||||||
}
|
|
||||||
public function getKind()
|
|
||||||
{
|
|
||||||
return $this->kind;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,59 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
class Google_Service_AdSense_AdStyle extends Google_Model
|
|
||||||
{
|
|
||||||
protected $colorsType = 'Google_Service_AdSense_AdStyleColors';
|
|
||||||
protected $colorsDataType = '';
|
|
||||||
public $corners;
|
|
||||||
protected $fontType = 'Google_Service_AdSense_AdStyleFont';
|
|
||||||
protected $fontDataType = '';
|
|
||||||
public $kind;
|
|
||||||
|
|
||||||
public function setColors(Google_Service_AdSense_AdStyleColors $colors)
|
|
||||||
{
|
|
||||||
$this->colors = $colors;
|
|
||||||
}
|
|
||||||
public function getColors()
|
|
||||||
{
|
|
||||||
return $this->colors;
|
|
||||||
}
|
|
||||||
public function setCorners($corners)
|
|
||||||
{
|
|
||||||
$this->corners = $corners;
|
|
||||||
}
|
|
||||||
public function getCorners()
|
|
||||||
{
|
|
||||||
return $this->corners;
|
|
||||||
}
|
|
||||||
public function setFont(Google_Service_AdSense_AdStyleFont $font)
|
|
||||||
{
|
|
||||||
$this->font = $font;
|
|
||||||
}
|
|
||||||
public function getFont()
|
|
||||||
{
|
|
||||||
return $this->font;
|
|
||||||
}
|
|
||||||
public function setKind($kind)
|
|
||||||
{
|
|
||||||
$this->kind = $kind;
|
|
||||||
}
|
|
||||||
public function getKind()
|
|
||||||
{
|
|
||||||
return $this->kind;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,66 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
* Copyright 2016 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
class Google_Service_AdSense_AdStyleColors extends Google_Model
|
|
||||||
{
|
|
||||||
public $background;
|
|
||||||
public $border;
|
|
||||||
public $text;
|
|
||||||
public $title;
|
|
||||||
public $url;
|
|
||||||
|
|
||||||
public function setBackground($background)
|
|
||||||
{
|
|
||||||
$this->background = $background;
|
|
||||||
}
|
|
||||||
public function getBackground()
|
|
||||||
{
|
|
||||||
return $this->background;
|
|
||||||
}
|
|
||||||
public function setBorder($border)
|
|
||||||
{
|
|
||||||
$this->border = $border;
|
|
||||||
}
|
|
||||||
public function getBorder()
|
|
||||||
{
|
|
||||||
return $this->border;
|
|
||||||
}
|
|
||||||
public function setText($text)
|
|
||||||
{
|
|
||||||
$this->text = $text;
|
|
||||||
}
|
|
||||||
public function getText()
|
|
||||||
{
|
|
||||||
return $this->text;
|
|
||||||
}
|
|
||||||
public function setTitle($title)
|
|
||||||
{
|
|
||||||
$this->title = $title;
|
|
||||||
}
|
|
||||||
public function getTitle()
|
|
||||||
{
|
|
||||||
return $this->title;
|
|
||||||
}
|
|
||||||
public function setUrl($url)
|
|
||||||
{
|
|
||||||
$this->url = $url;
|
|
||||||
}
|
|
||||||
public function getUrl()
|
|
||||||
{
|
|
||||||
return $this->url;
|
|
||||||
}
|
|
||||||
}
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue