initial commit

This commit is contained in:
2024-04-29 13:12:44 +05:45
commit 34887303c5
19300 changed files with 5268802 additions and 0 deletions

View File

@ -0,0 +1,7 @@
<?php
namespace Google\Site_Kit_Dependencies\Firebase\JWT;
class BeforeValidException extends \UnexpectedValueException
{
}

View File

@ -0,0 +1,7 @@
<?php
namespace Google\Site_Kit_Dependencies\Firebase\JWT;
class ExpiredException extends \UnexpectedValueException
{
}

View File

@ -0,0 +1,136 @@
<?php
namespace Google\Site_Kit_Dependencies\Firebase\JWT;
use DomainException;
use UnexpectedValueException;
/**
* JSON Web Key implementation, based on this spec:
* https://tools.ietf.org/html/draft-ietf-jose-json-web-key-41
*
* PHP version 5
*
* @category Authentication
* @package Authentication_JWT
* @author Bui Sy Nguyen <nguyenbs@gmail.com>
* @license http://opensource.org/licenses/BSD-3-Clause 3-clause BSD
* @link https://github.com/firebase/php-jwt
*/
class JWK
{
/**
* Parse a set of JWK keys
*
* @param array $jwks The JSON Web Key Set as an associative array
*
* @return array An associative array that represents the set of keys
*
* @throws InvalidArgumentException Provided JWK Set is empty
* @throws UnexpectedValueException Provided JWK Set was invalid
* @throws DomainException OpenSSL failure
*
* @uses parseKey
*/
public static function parseKeySet(array $jwks)
{
$keys = array();
if (!isset($jwks['keys'])) {
throw new \UnexpectedValueException('"keys" member must exist in the JWK Set');
}
if (empty($jwks['keys'])) {
throw new \Google\Site_Kit_Dependencies\Firebase\JWT\InvalidArgumentException('JWK Set did not contain any keys');
}
foreach ($jwks['keys'] as $k => $v) {
$kid = isset($v['kid']) ? $v['kid'] : $k;
if ($key = self::parseKey($v)) {
$keys[$kid] = $key;
}
}
if (0 === \count($keys)) {
throw new \UnexpectedValueException('No supported algorithms found in JWK Set');
}
return $keys;
}
/**
* Parse a JWK key
*
* @param array $jwk An individual JWK
*
* @return resource|array An associative array that represents the key
*
* @throws InvalidArgumentException Provided JWK is empty
* @throws UnexpectedValueException Provided JWK was invalid
* @throws DomainException OpenSSL failure
*
* @uses createPemFromModulusAndExponent
*/
private static function parseKey(array $jwk)
{
if (empty($jwk)) {
throw new \Google\Site_Kit_Dependencies\Firebase\JWT\InvalidArgumentException('JWK must not be empty');
}
if (!isset($jwk['kty'])) {
throw new \UnexpectedValueException('JWK must contain a "kty" parameter');
}
switch ($jwk['kty']) {
case 'RSA':
if (\array_key_exists('d', $jwk)) {
throw new \UnexpectedValueException('RSA private keys are not supported');
}
if (!isset($jwk['n']) || !isset($jwk['e'])) {
throw new \UnexpectedValueException('RSA keys must contain values for both "n" and "e"');
}
$pem = self::createPemFromModulusAndExponent($jwk['n'], $jwk['e']);
$publicKey = \openssl_pkey_get_public($pem);
if (\false === $publicKey) {
throw new \DomainException('OpenSSL error: ' . \openssl_error_string());
}
return $publicKey;
default:
// Currently only RSA is supported
break;
}
}
/**
* Create a public key represented in PEM format from RSA modulus and exponent information
*
* @param string $n The RSA modulus encoded in Base64
* @param string $e The RSA exponent encoded in Base64
*
* @return string The RSA public key represented in PEM format
*
* @uses encodeLength
*/
private static function createPemFromModulusAndExponent($n, $e)
{
$modulus = \Google\Site_Kit_Dependencies\Firebase\JWT\JWT::urlsafeB64Decode($n);
$publicExponent = \Google\Site_Kit_Dependencies\Firebase\JWT\JWT::urlsafeB64Decode($e);
$components = array('modulus' => \pack('Ca*a*', 2, self::encodeLength(\strlen($modulus)), $modulus), 'publicExponent' => \pack('Ca*a*', 2, self::encodeLength(\strlen($publicExponent)), $publicExponent));
$rsaPublicKey = \pack('Ca*a*a*', 48, self::encodeLength(\strlen($components['modulus']) + \strlen($components['publicExponent'])), $components['modulus'], $components['publicExponent']);
// sequence(oid(1.2.840.113549.1.1.1), null)) = rsaEncryption.
$rsaOID = \pack('H*', '300d06092a864886f70d0101010500');
// hex version of MA0GCSqGSIb3DQEBAQUA
$rsaPublicKey = \chr(0) . $rsaPublicKey;
$rsaPublicKey = \chr(3) . self::encodeLength(\strlen($rsaPublicKey)) . $rsaPublicKey;
$rsaPublicKey = \pack('Ca*a*', 48, self::encodeLength(\strlen($rsaOID . $rsaPublicKey)), $rsaOID . $rsaPublicKey);
$rsaPublicKey = "-----BEGIN PUBLIC KEY-----\r\n" . \chunk_split(\base64_encode($rsaPublicKey), 64) . '-----END PUBLIC KEY-----';
return $rsaPublicKey;
}
/**
* DER-encode the length
*
* DER supports lengths up to (2**8)**127, however, we'll only support lengths up to (2**8)**4. See
* {@link http://itu.int/ITU-T/studygroups/com17/languages/X.690-0207.pdf#p=13 X.690 paragraph 8.1.3} for more information.
*
* @param int $length
* @return string
*/
private static function encodeLength($length)
{
if ($length <= 0x7f) {
return \chr($length);
}
$temp = \ltrim(\pack('N', $length), \chr(0));
return \pack('Ca*', 0x80 | \strlen($temp), $temp);
}
}

View File

@ -0,0 +1,442 @@
<?php
namespace Google\Site_Kit_Dependencies\Firebase\JWT;
use DomainException;
use InvalidArgumentException;
use UnexpectedValueException;
use DateTime;
/**
* JSON Web Token implementation, based on this spec:
* https://tools.ietf.org/html/rfc7519
*
* 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
{
const ASN1_INTEGER = 0x2;
const ASN1_SEQUENCE = 0x10;
const ASN1_BIT_STRING = 0x3;
/**
* 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('ES256' => array('openssl', 'SHA256'), 'HS256' => array('hash_hmac', 'SHA256'), 'HS384' => array('hash_hmac', 'SHA384'), 'HS512' => array('hash_hmac', 'SHA512'), 'RS256' => array('openssl', 'SHA256'), 'RS384' => array('openssl', 'SHA384'), 'RS512' => array('openssl', 'SHA512'));
/**
* Decodes a JWT string into a PHP object.
*
* @param string $jwt The JWT
* @param string|array|resource $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 'ES256', 'HS256', 'HS384', 'HS512', 'RS256', 'RS384', and 'RS512'
*
* @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, array $allowed_algs = array())
{
$timestamp = \is_null(static::$timestamp) ? \time() : static::$timestamp;
if (empty($key)) {
throw new \InvalidArgumentException('Key may not be empty');
}
$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');
}
if (\false === ($sig = static::urlsafeB64Decode($cryptob64))) {
throw new \UnexpectedValueException('Invalid signature encoding');
}
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 ($header->alg === 'ES256') {
// OpenSSL expects an ASN.1 DER sequence for ES256 signatures
$sig = self::signatureToDER($sig);
}
if (\is_array($key) || $key instanceof \ArrayAccess) {
if (isset($header->kid)) {
if (!isset($key[$header->kid])) {
throw new \UnexpectedValueException('"kid" invalid, unable to lookup correct key');
}
$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 \Google\Site_Kit_Dependencies\Firebase\JWT\SignatureInvalidException('Signature verification failed');
}
// Check 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 \Google\Site_Kit_Dependencies\Firebase\JWT\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 \Google\Site_Kit_Dependencies\Firebase\JWT\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 \Google\Site_Kit_Dependencies\Firebase\JWT\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 'ES256', 'HS256', 'HS384', 'HS512', 'RS256', 'RS384', and 'RS512'
* @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 'ES256', 'HS256', 'HS384', 'HS512', 'RS256', 'RS384', and 'RS512'
*
* @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 {
if ($alg === 'ES256') {
$signature = self::signatureFromDER($signature, 256);
}
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 === 1) {
return \true;
} elseif ($success === 0) {
return \false;
}
// returns 1 on success, 0 on failure, -1 on error.
throw new \DomainException('OpenSSL error: ' . \openssl_error_string());
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('Google\\Site_Kit_Dependencies\\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 ($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 ($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_STATE_MISMATCH => 'Invalid or malformed JSON', \JSON_ERROR_CTRL_CHAR => 'Unexpected control character found', \JSON_ERROR_SYNTAX => 'Syntax error, malformed JSON', \JSON_ERROR_UTF8 => 'Malformed UTF-8 characters');
throw new \DomainException(isset($messages[$errno]) ? $messages[$errno] : 'Unknown JSON error: ' . $errno);
}
/**
* Get the number of bytes in cryptographic strings.
*
* @param string $str
*
* @return int
*/
private static function safeStrlen($str)
{
if (\function_exists('mb_strlen')) {
return \mb_strlen($str, '8bit');
}
return \strlen($str);
}
/**
* Convert an ECDSA signature to an ASN.1 DER sequence
*
* @param string $sig The ECDSA signature to convert
* @return string The encoded DER object
*/
private static function signatureToDER($sig)
{
// Separate the signature into r-value and s-value
list($r, $s) = \str_split($sig, (int) (\strlen($sig) / 2));
// Trim leading zeros
$r = \ltrim($r, "\0");
$s = \ltrim($s, "\0");
// Convert r-value and s-value from unsigned big-endian integers to
// signed two's complement
if (\ord($r[0]) > 0x7f) {
$r = "\0" . $r;
}
if (\ord($s[0]) > 0x7f) {
$s = "\0" . $s;
}
return self::encodeDER(self::ASN1_SEQUENCE, self::encodeDER(self::ASN1_INTEGER, $r) . self::encodeDER(self::ASN1_INTEGER, $s));
}
/**
* Encodes a value into a DER object.
*
* @param int $type DER tag
* @param string $value the value to encode
* @return string the encoded object
*/
private static function encodeDER($type, $value)
{
$tag_header = 0;
if ($type === self::ASN1_SEQUENCE) {
$tag_header |= 0x20;
}
// Type
$der = \chr($tag_header | $type);
// Length
$der .= \chr(\strlen($value));
return $der . $value;
}
/**
* Encodes signature from a DER object.
*
* @param string $der binary signature in DER format
* @param int $keySize the number of bits in the key
* @return string the signature
*/
private static function signatureFromDER($der, $keySize)
{
// OpenSSL returns the ECDSA signatures as a binary ASN.1 DER SEQUENCE
list($offset, $_) = self::readDER($der);
list($offset, $r) = self::readDER($der, $offset);
list($offset, $s) = self::readDER($der, $offset);
// Convert r-value and s-value from signed two's compliment to unsigned
// big-endian integers
$r = \ltrim($r, "\0");
$s = \ltrim($s, "\0");
// Pad out r and s so that they are $keySize bits long
$r = \str_pad($r, $keySize / 8, "\0", \STR_PAD_LEFT);
$s = \str_pad($s, $keySize / 8, "\0", \STR_PAD_LEFT);
return $r . $s;
}
/**
* Reads binary DER-encoded data and decodes into a single object
*
* @param string $der the binary data in DER format
* @param int $offset the offset of the data stream containing the object
* to decode
* @return array [$offset, $data] the new offset and the decoded object
*/
private static function readDER($der, $offset = 0)
{
$pos = $offset;
$size = \strlen($der);
$constructed = \ord($der[$pos]) >> 5 & 0x1;
$type = \ord($der[$pos++]) & 0x1f;
// Length
$len = \ord($der[$pos++]);
if ($len & 0x80) {
$n = $len & 0x1f;
$len = 0;
while ($n-- && $pos < $size) {
$len = $len << 8 | \ord($der[$pos++]);
}
}
// Value
if ($type == self::ASN1_BIT_STRING) {
$pos++;
// Skip the first contents octet (padding indicator)
$data = \substr($der, $pos, $len - 1);
$pos += $len - 1;
} elseif (!$constructed) {
$data = \substr($der, $pos, $len);
$pos += $len;
} else {
$data = null;
}
return array($pos, $data);
}
}

View File

@ -0,0 +1,7 @@
<?php
namespace Google\Site_Kit_Dependencies\Firebase\JWT;
class SignatureInvalidException extends \UnexpectedValueException
{
}

View File

@ -0,0 +1,26 @@
<?php
namespace Google\Site_Kit_Dependencies;
// For older (pre-2.7.2) verions of google/apiclient
if (\file_exists(__DIR__ . '/../apiclient/src/Google/Client.php') && !\class_exists('Google\\Site_Kit_Dependencies\\Google_Client', \false)) {
require_once __DIR__ . '/../apiclient/src/Google/Client.php';
if (\defined('Google_Client::LIBVER') && \version_compare(\Google\Site_Kit_Dependencies\Google_Client::LIBVER, '2.7.2', '<=')) {
$servicesClassMap = ['Google\\Site_Kit_Dependencies\\Google\\Client' => 'Google_Client', 'Google\\Site_Kit_Dependencies\\Google\\Service' => 'Google_Service', 'Google\\Site_Kit_Dependencies\\Google\\Service\\Resource' => 'Google_Service_Resource', 'Google\\Site_Kit_Dependencies\\Google\\Model' => 'Google_Model', 'Google\\Site_Kit_Dependencies\\Google\\Collection' => 'Google_Collection'];
foreach ($servicesClassMap as $alias => $class) {
\class_alias($class, $alias);
}
}
}
\spl_autoload_register(function ($class) {
if (0 === \strpos($class, 'Google_Service_')) {
// Autoload the new class, which will also create an alias for the
// old class by changing underscores to namespaces:
// Google_Service_Speech_Resource_Operations
// => Google\Service\Speech\Resource\Operations
$classExists = \class_exists($newClass = \str_replace('_', '\\', $class));
if ($classExists) {
return \true;
}
}
}, \true, \true);

View File

@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service;
use Google\Site_Kit_Dependencies\Google\Client;
/**
* Service definition for Adsense (v2).
*
* <p>
* The AdSense Management API allows publishers to access their inventory and
* run earnings and performance reports.</p>
*
* <p>
* For more information about this service, see the API
* <a href="https://developers.google.com/adsense/management/" target="_blank">Documentation</a>
* </p>
*
* @author Google, Inc.
*/
class Adsense extends \Google\Site_Kit_Dependencies\Google\Service
{
/** View and manage your AdSense data. */
const ADSENSE = "https://www.googleapis.com/auth/adsense";
/** View your AdSense data. */
const ADSENSE_READONLY = "https://www.googleapis.com/auth/adsense.readonly";
public $accounts;
public $accounts_adclients;
public $accounts_adclients_adunits;
public $accounts_adclients_customchannels;
public $accounts_adclients_urlchannels;
public $accounts_alerts;
public $accounts_payments;
public $accounts_reports;
public $accounts_reports_saved;
public $accounts_sites;
/**
* Constructs the internal representation of the Adsense service.
*
* @param Client|array $clientOrConfig The client used to deliver requests, or a
* config array to pass to a new Client instance.
* @param string $rootUrl The root URL used for requests to the service.
*/
public function __construct($clientOrConfig = [], $rootUrl = null)
{
parent::__construct($clientOrConfig);
$this->rootUrl = $rootUrl ?: 'https://adsense.googleapis.com/';
$this->servicePath = '';
$this->batchPath = 'batch';
$this->version = 'v2';
$this->serviceName = 'adsense';
$this->accounts = new \Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource\Accounts($this, $this->serviceName, 'accounts', ['methods' => ['get' => ['path' => 'v2/{+name}', 'httpMethod' => 'GET', 'parameters' => ['name' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'list' => ['path' => 'v2/accounts', 'httpMethod' => 'GET', 'parameters' => ['pageSize' => ['location' => 'query', 'type' => 'integer'], 'pageToken' => ['location' => 'query', 'type' => 'string']]], 'listChildAccounts' => ['path' => 'v2/{+parent}:listChildAccounts', 'httpMethod' => 'GET', 'parameters' => ['parent' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'pageSize' => ['location' => 'query', 'type' => 'integer'], 'pageToken' => ['location' => 'query', 'type' => 'string']]]]]);
$this->accounts_adclients = new \Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource\AccountsAdclients($this, $this->serviceName, 'adclients', ['methods' => ['getAdcode' => ['path' => 'v2/{+name}/adcode', 'httpMethod' => 'GET', 'parameters' => ['name' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'list' => ['path' => 'v2/{+parent}/adclients', 'httpMethod' => 'GET', 'parameters' => ['parent' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'pageSize' => ['location' => 'query', 'type' => 'integer'], 'pageToken' => ['location' => 'query', 'type' => 'string']]]]]);
$this->accounts_adclients_adunits = new \Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource\AccountsAdclientsAdunits($this, $this->serviceName, 'adunits', ['methods' => ['get' => ['path' => 'v2/{+name}', 'httpMethod' => 'GET', 'parameters' => ['name' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'getAdcode' => ['path' => 'v2/{+name}/adcode', 'httpMethod' => 'GET', 'parameters' => ['name' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'list' => ['path' => 'v2/{+parent}/adunits', 'httpMethod' => 'GET', 'parameters' => ['parent' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'pageSize' => ['location' => 'query', 'type' => 'integer'], 'pageToken' => ['location' => 'query', 'type' => 'string']]], 'listLinkedCustomChannels' => ['path' => 'v2/{+parent}:listLinkedCustomChannels', 'httpMethod' => 'GET', 'parameters' => ['parent' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'pageSize' => ['location' => 'query', 'type' => 'integer'], 'pageToken' => ['location' => 'query', 'type' => 'string']]]]]);
$this->accounts_adclients_customchannels = new \Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource\AccountsAdclientsCustomchannels($this, $this->serviceName, 'customchannels', ['methods' => ['get' => ['path' => 'v2/{+name}', 'httpMethod' => 'GET', 'parameters' => ['name' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'list' => ['path' => 'v2/{+parent}/customchannels', 'httpMethod' => 'GET', 'parameters' => ['parent' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'pageSize' => ['location' => 'query', 'type' => 'integer'], 'pageToken' => ['location' => 'query', 'type' => 'string']]], 'listLinkedAdUnits' => ['path' => 'v2/{+parent}:listLinkedAdUnits', 'httpMethod' => 'GET', 'parameters' => ['parent' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'pageSize' => ['location' => 'query', 'type' => 'integer'], 'pageToken' => ['location' => 'query', 'type' => 'string']]]]]);
$this->accounts_adclients_urlchannels = new \Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource\AccountsAdclientsUrlchannels($this, $this->serviceName, 'urlchannels', ['methods' => ['list' => ['path' => 'v2/{+parent}/urlchannels', 'httpMethod' => 'GET', 'parameters' => ['parent' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'pageSize' => ['location' => 'query', 'type' => 'integer'], 'pageToken' => ['location' => 'query', 'type' => 'string']]]]]);
$this->accounts_alerts = new \Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource\AccountsAlerts($this, $this->serviceName, 'alerts', ['methods' => ['list' => ['path' => 'v2/{+parent}/alerts', 'httpMethod' => 'GET', 'parameters' => ['parent' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'languageCode' => ['location' => 'query', 'type' => 'string']]]]]);
$this->accounts_payments = new \Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource\AccountsPayments($this, $this->serviceName, 'payments', ['methods' => ['list' => ['path' => 'v2/{+parent}/payments', 'httpMethod' => 'GET', 'parameters' => ['parent' => ['location' => 'path', 'type' => 'string', 'required' => \true]]]]]);
$this->accounts_reports = new \Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource\AccountsReports($this, $this->serviceName, 'reports', ['methods' => ['generate' => ['path' => 'v2/{+account}/reports:generate', 'httpMethod' => 'GET', 'parameters' => ['account' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'currencyCode' => ['location' => 'query', 'type' => 'string'], 'dateRange' => ['location' => 'query', 'type' => 'string'], 'dimensions' => ['location' => 'query', 'type' => 'string', 'repeated' => \true], 'endDate.day' => ['location' => 'query', 'type' => 'integer'], 'endDate.month' => ['location' => 'query', 'type' => 'integer'], 'endDate.year' => ['location' => 'query', 'type' => 'integer'], 'filters' => ['location' => 'query', 'type' => 'string', 'repeated' => \true], 'languageCode' => ['location' => 'query', 'type' => 'string'], 'limit' => ['location' => 'query', 'type' => 'integer'], 'metrics' => ['location' => 'query', 'type' => 'string', 'repeated' => \true], 'orderBy' => ['location' => 'query', 'type' => 'string', 'repeated' => \true], 'reportingTimeZone' => ['location' => 'query', 'type' => 'string'], 'startDate.day' => ['location' => 'query', 'type' => 'integer'], 'startDate.month' => ['location' => 'query', 'type' => 'integer'], 'startDate.year' => ['location' => 'query', 'type' => 'integer']]], 'generateCsv' => ['path' => 'v2/{+account}/reports:generateCsv', 'httpMethod' => 'GET', 'parameters' => ['account' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'currencyCode' => ['location' => 'query', 'type' => 'string'], 'dateRange' => ['location' => 'query', 'type' => 'string'], 'dimensions' => ['location' => 'query', 'type' => 'string', 'repeated' => \true], 'endDate.day' => ['location' => 'query', 'type' => 'integer'], 'endDate.month' => ['location' => 'query', 'type' => 'integer'], 'endDate.year' => ['location' => 'query', 'type' => 'integer'], 'filters' => ['location' => 'query', 'type' => 'string', 'repeated' => \true], 'languageCode' => ['location' => 'query', 'type' => 'string'], 'limit' => ['location' => 'query', 'type' => 'integer'], 'metrics' => ['location' => 'query', 'type' => 'string', 'repeated' => \true], 'orderBy' => ['location' => 'query', 'type' => 'string', 'repeated' => \true], 'reportingTimeZone' => ['location' => 'query', 'type' => 'string'], 'startDate.day' => ['location' => 'query', 'type' => 'integer'], 'startDate.month' => ['location' => 'query', 'type' => 'integer'], 'startDate.year' => ['location' => 'query', 'type' => 'integer']]]]]);
$this->accounts_reports_saved = new \Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource\AccountsReportsSaved($this, $this->serviceName, 'saved', ['methods' => ['generate' => ['path' => 'v2/{+name}/saved:generate', 'httpMethod' => 'GET', 'parameters' => ['name' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'currencyCode' => ['location' => 'query', 'type' => 'string'], 'dateRange' => ['location' => 'query', 'type' => 'string'], 'endDate.day' => ['location' => 'query', 'type' => 'integer'], 'endDate.month' => ['location' => 'query', 'type' => 'integer'], 'endDate.year' => ['location' => 'query', 'type' => 'integer'], 'languageCode' => ['location' => 'query', 'type' => 'string'], 'reportingTimeZone' => ['location' => 'query', 'type' => 'string'], 'startDate.day' => ['location' => 'query', 'type' => 'integer'], 'startDate.month' => ['location' => 'query', 'type' => 'integer'], 'startDate.year' => ['location' => 'query', 'type' => 'integer']]], 'generateCsv' => ['path' => 'v2/{+name}/saved:generateCsv', 'httpMethod' => 'GET', 'parameters' => ['name' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'currencyCode' => ['location' => 'query', 'type' => 'string'], 'dateRange' => ['location' => 'query', 'type' => 'string'], 'endDate.day' => ['location' => 'query', 'type' => 'integer'], 'endDate.month' => ['location' => 'query', 'type' => 'integer'], 'endDate.year' => ['location' => 'query', 'type' => 'integer'], 'languageCode' => ['location' => 'query', 'type' => 'string'], 'reportingTimeZone' => ['location' => 'query', 'type' => 'string'], 'startDate.day' => ['location' => 'query', 'type' => 'integer'], 'startDate.month' => ['location' => 'query', 'type' => 'integer'], 'startDate.year' => ['location' => 'query', 'type' => 'integer']]], 'list' => ['path' => 'v2/{+parent}/reports/saved', 'httpMethod' => 'GET', 'parameters' => ['parent' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'pageSize' => ['location' => 'query', 'type' => 'integer'], 'pageToken' => ['location' => 'query', 'type' => 'string']]]]]);
$this->accounts_sites = new \Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource\AccountsSites($this, $this->serviceName, 'sites', ['methods' => ['get' => ['path' => 'v2/{+name}', 'httpMethod' => 'GET', 'parameters' => ['name' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'list' => ['path' => 'v2/{+parent}/sites', 'httpMethod' => 'GET', 'parameters' => ['parent' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'pageSize' => ['location' => 'query', 'type' => 'integer'], 'pageToken' => ['location' => 'query', 'type' => 'string']]]]]);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense');

View File

@ -0,0 +1,131 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class Account extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'pendingTasks';
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $name;
/**
* @var string[]
*/
public $pendingTasks;
/**
* @var bool
*/
public $premium;
protected $timeZoneType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\TimeZone::class;
protected $timeZoneDataType = '';
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string[]
*/
public function setPendingTasks($pendingTasks)
{
$this->pendingTasks = $pendingTasks;
}
/**
* @return string[]
*/
public function getPendingTasks()
{
return $this->pendingTasks;
}
/**
* @param bool
*/
public function setPremium($premium)
{
$this->premium = $premium;
}
/**
* @return bool
*/
public function getPremium()
{
return $this->premium;
}
/**
* @param TimeZone
*/
public function setTimeZone(\Google\Site_Kit_Dependencies\Google\Service\Adsense\TimeZone $timeZone)
{
$this->timeZone = $timeZone;
}
/**
* @return TimeZone
*/
public function getTimeZone()
{
return $this->timeZone;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Account::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_Account');

View File

@ -0,0 +1,78 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class AdClient extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $productCode;
/**
* @var string
*/
public $reportingDimensionId;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setProductCode($productCode)
{
$this->productCode = $productCode;
}
/**
* @return string
*/
public function getProductCode()
{
return $this->productCode;
}
/**
* @param string
*/
public function setReportingDimensionId($reportingDimensionId)
{
$this->reportingDimensionId = $reportingDimensionId;
}
/**
* @return string
*/
public function getReportingDimensionId()
{
return $this->reportingDimensionId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\AdClient::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_AdClient');

View File

@ -0,0 +1,78 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class AdClientAdCode extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var string
*/
public $adCode;
/**
* @var string
*/
public $ampBody;
/**
* @var string
*/
public $ampHead;
/**
* @param string
*/
public function setAdCode($adCode)
{
$this->adCode = $adCode;
}
/**
* @return string
*/
public function getAdCode()
{
return $this->adCode;
}
/**
* @param string
*/
public function setAmpBody($ampBody)
{
$this->ampBody = $ampBody;
}
/**
* @return string
*/
public function getAmpBody()
{
return $this->ampBody;
}
/**
* @param string
*/
public function setAmpHead($ampHead)
{
$this->ampHead = $ampHead;
}
/**
* @return string
*/
public function getAmpHead()
{
return $this->ampHead;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\AdClientAdCode::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_AdClientAdCode');

View File

@ -0,0 +1,112 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class AdUnit extends \Google\Site_Kit_Dependencies\Google\Model
{
protected $contentAdsSettingsType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\ContentAdsSettings::class;
protected $contentAdsSettingsDataType = '';
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $reportingDimensionId;
/**
* @var string
*/
public $state;
/**
* @param ContentAdsSettings
*/
public function setContentAdsSettings(\Google\Site_Kit_Dependencies\Google\Service\Adsense\ContentAdsSettings $contentAdsSettings)
{
$this->contentAdsSettings = $contentAdsSettings;
}
/**
* @return ContentAdsSettings
*/
public function getContentAdsSettings()
{
return $this->contentAdsSettings;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setReportingDimensionId($reportingDimensionId)
{
$this->reportingDimensionId = $reportingDimensionId;
}
/**
* @return string
*/
public function getReportingDimensionId()
{
return $this->reportingDimensionId;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\AdUnit::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_AdUnit');

View File

@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class AdUnitAdCode extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var string
*/
public $adCode;
/**
* @param string
*/
public function setAdCode($adCode)
{
$this->adCode = $adCode;
}
/**
* @return string
*/
public function getAdCode()
{
return $this->adCode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\AdUnitAdCode::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_AdUnitAdCode');

View File

@ -0,0 +1,96 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class Alert extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var string
*/
public $message;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $severity;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setSeverity($severity)
{
$this->severity = $severity;
}
/**
* @return string
*/
public function getSeverity()
{
return $this->severity;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Alert::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_Alert');

View File

@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class Cell extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var string
*/
public $value;
/**
* @param string
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return string
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Cell::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_Cell');

View File

@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class ContentAdsSettings extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var string
*/
public $size;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setSize($size)
{
$this->size = $size;
}
/**
* @return string
*/
public function getSize()
{
return $this->size;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\ContentAdsSettings::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_ContentAdsSettings');

View File

@ -0,0 +1,78 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class CustomChannel extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $reportingDimensionId;
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setReportingDimensionId($reportingDimensionId)
{
$this->reportingDimensionId = $reportingDimensionId;
}
/**
* @return string
*/
public function getReportingDimensionId()
{
return $this->reportingDimensionId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\CustomChannel::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_CustomChannel');

View File

@ -0,0 +1,78 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class Date extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var int
*/
public $day;
/**
* @var int
*/
public $month;
/**
* @var int
*/
public $year;
/**
* @param int
*/
public function setDay($day)
{
$this->day = $day;
}
/**
* @return int
*/
public function getDay()
{
return $this->day;
}
/**
* @param int
*/
public function setMonth($month)
{
$this->month = $month;
}
/**
* @return int
*/
public function getMonth()
{
return $this->month;
}
/**
* @param int
*/
public function setYear($year)
{
$this->year = $year;
}
/**
* @return int
*/
public function getYear()
{
return $this->year;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Date::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_Date');

View File

@ -0,0 +1,78 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class Header extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var string
*/
public $currencyCode;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setCurrencyCode($currencyCode)
{
$this->currencyCode = $currencyCode;
}
/**
* @return string
*/
public function getCurrencyCode()
{
return $this->currencyCode;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Header::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_Header');

View File

@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class HttpBody extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'extensions';
/**
* @var string
*/
public $contentType;
/**
* @var string
*/
public $data;
/**
* @var array[]
*/
public $extensions;
/**
* @param string
*/
public function setContentType($contentType)
{
$this->contentType = $contentType;
}
/**
* @return string
*/
public function getContentType()
{
return $this->contentType;
}
/**
* @param string
*/
public function setData($data)
{
$this->data = $data;
}
/**
* @return string
*/
public function getData()
{
return $this->data;
}
/**
* @param array[]
*/
public function setExtensions($extensions)
{
$this->extensions = $extensions;
}
/**
* @return array[]
*/
public function getExtensions()
{
return $this->extensions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\HttpBody::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_HttpBody');

View File

@ -0,0 +1,59 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class ListAccountsResponse extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'accounts';
protected $accountsType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\Account::class;
protected $accountsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param Account[]
*/
public function setAccounts($accounts)
{
$this->accounts = $accounts;
}
/**
* @return Account[]
*/
public function getAccounts()
{
return $this->accounts;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\ListAccountsResponse::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_ListAccountsResponse');

View File

@ -0,0 +1,59 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class ListAdClientsResponse extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'adClients';
protected $adClientsType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\AdClient::class;
protected $adClientsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param AdClient[]
*/
public function setAdClients($adClients)
{
$this->adClients = $adClients;
}
/**
* @return AdClient[]
*/
public function getAdClients()
{
return $this->adClients;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\ListAdClientsResponse::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_ListAdClientsResponse');

View File

@ -0,0 +1,59 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class ListAdUnitsResponse extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'adUnits';
protected $adUnitsType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\AdUnit::class;
protected $adUnitsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param AdUnit[]
*/
public function setAdUnits($adUnits)
{
$this->adUnits = $adUnits;
}
/**
* @return AdUnit[]
*/
public function getAdUnits()
{
return $this->adUnits;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\ListAdUnitsResponse::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_ListAdUnitsResponse');

View File

@ -0,0 +1,41 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class ListAlertsResponse extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'alerts';
protected $alertsType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\Alert::class;
protected $alertsDataType = 'array';
/**
* @param Alert[]
*/
public function setAlerts($alerts)
{
$this->alerts = $alerts;
}
/**
* @return Alert[]
*/
public function getAlerts()
{
return $this->alerts;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\ListAlertsResponse::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_ListAlertsResponse');

View File

@ -0,0 +1,59 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class ListChildAccountsResponse extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'accounts';
protected $accountsType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\Account::class;
protected $accountsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param Account[]
*/
public function setAccounts($accounts)
{
$this->accounts = $accounts;
}
/**
* @return Account[]
*/
public function getAccounts()
{
return $this->accounts;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\ListChildAccountsResponse::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_ListChildAccountsResponse');

View File

@ -0,0 +1,59 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class ListCustomChannelsResponse extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'customChannels';
protected $customChannelsType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\CustomChannel::class;
protected $customChannelsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param CustomChannel[]
*/
public function setCustomChannels($customChannels)
{
$this->customChannels = $customChannels;
}
/**
* @return CustomChannel[]
*/
public function getCustomChannels()
{
return $this->customChannels;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\ListCustomChannelsResponse::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_ListCustomChannelsResponse');

View File

@ -0,0 +1,59 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class ListLinkedAdUnitsResponse extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'adUnits';
protected $adUnitsType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\AdUnit::class;
protected $adUnitsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param AdUnit[]
*/
public function setAdUnits($adUnits)
{
$this->adUnits = $adUnits;
}
/**
* @return AdUnit[]
*/
public function getAdUnits()
{
return $this->adUnits;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\ListLinkedAdUnitsResponse::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_ListLinkedAdUnitsResponse');

View File

@ -0,0 +1,59 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class ListLinkedCustomChannelsResponse extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'customChannels';
protected $customChannelsType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\CustomChannel::class;
protected $customChannelsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param CustomChannel[]
*/
public function setCustomChannels($customChannels)
{
$this->customChannels = $customChannels;
}
/**
* @return CustomChannel[]
*/
public function getCustomChannels()
{
return $this->customChannels;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\ListLinkedCustomChannelsResponse::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_ListLinkedCustomChannelsResponse');

View File

@ -0,0 +1,41 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class ListPaymentsResponse extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'payments';
protected $paymentsType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\Payment::class;
protected $paymentsDataType = 'array';
/**
* @param Payment[]
*/
public function setPayments($payments)
{
$this->payments = $payments;
}
/**
* @return Payment[]
*/
public function getPayments()
{
return $this->payments;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\ListPaymentsResponse::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_ListPaymentsResponse');

View File

@ -0,0 +1,59 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class ListSavedReportsResponse extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'savedReports';
/**
* @var string
*/
public $nextPageToken;
protected $savedReportsType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\SavedReport::class;
protected $savedReportsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param SavedReport[]
*/
public function setSavedReports($savedReports)
{
$this->savedReports = $savedReports;
}
/**
* @return SavedReport[]
*/
public function getSavedReports()
{
return $this->savedReports;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\ListSavedReportsResponse::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_ListSavedReportsResponse');

View File

@ -0,0 +1,59 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class ListSitesResponse extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'sites';
/**
* @var string
*/
public $nextPageToken;
protected $sitesType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\Site::class;
protected $sitesDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Site[]
*/
public function setSites($sites)
{
$this->sites = $sites;
}
/**
* @return Site[]
*/
public function getSites()
{
return $this->sites;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\ListSitesResponse::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_ListSitesResponse');

View File

@ -0,0 +1,59 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class ListUrlChannelsResponse extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'urlChannels';
/**
* @var string
*/
public $nextPageToken;
protected $urlChannelsType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\UrlChannel::class;
protected $urlChannelsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param UrlChannel[]
*/
public function setUrlChannels($urlChannels)
{
$this->urlChannels = $urlChannels;
}
/**
* @return UrlChannel[]
*/
public function getUrlChannels()
{
return $this->urlChannels;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\ListUrlChannelsResponse::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_ListUrlChannelsResponse');

View File

@ -0,0 +1,76 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class Payment extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var string
*/
public $amount;
protected $dateType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\Date::class;
protected $dateDataType = '';
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setAmount($amount)
{
$this->amount = $amount;
}
/**
* @return string
*/
public function getAmount()
{
return $this->amount;
}
/**
* @param Date
*/
public function setDate(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Date $date)
{
$this->date = $date;
}
/**
* @return Date
*/
public function getDate()
{
return $this->date;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Payment::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_Payment');

View File

@ -0,0 +1,157 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class ReportResult extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'warnings';
protected $averagesType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\Row::class;
protected $averagesDataType = '';
protected $endDateType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\Date::class;
protected $endDateDataType = '';
protected $headersType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\Header::class;
protected $headersDataType = 'array';
protected $rowsType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\Row::class;
protected $rowsDataType = 'array';
protected $startDateType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\Date::class;
protected $startDateDataType = '';
/**
* @var string
*/
public $totalMatchedRows;
protected $totalsType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\Row::class;
protected $totalsDataType = '';
/**
* @var string[]
*/
public $warnings;
/**
* @param Row
*/
public function setAverages(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Row $averages)
{
$this->averages = $averages;
}
/**
* @return Row
*/
public function getAverages()
{
return $this->averages;
}
/**
* @param Date
*/
public function setEndDate(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Date $endDate)
{
$this->endDate = $endDate;
}
/**
* @return Date
*/
public function getEndDate()
{
return $this->endDate;
}
/**
* @param Header[]
*/
public function setHeaders($headers)
{
$this->headers = $headers;
}
/**
* @return Header[]
*/
public function getHeaders()
{
return $this->headers;
}
/**
* @param Row[]
*/
public function setRows($rows)
{
$this->rows = $rows;
}
/**
* @return Row[]
*/
public function getRows()
{
return $this->rows;
}
/**
* @param Date
*/
public function setStartDate(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Date $startDate)
{
$this->startDate = $startDate;
}
/**
* @return Date
*/
public function getStartDate()
{
return $this->startDate;
}
/**
* @param string
*/
public function setTotalMatchedRows($totalMatchedRows)
{
$this->totalMatchedRows = $totalMatchedRows;
}
/**
* @return string
*/
public function getTotalMatchedRows()
{
return $this->totalMatchedRows;
}
/**
* @param Row
*/
public function setTotals(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Row $totals)
{
$this->totals = $totals;
}
/**
* @return Row
*/
public function getTotals()
{
return $this->totals;
}
/**
* @param string[]
*/
public function setWarnings($warnings)
{
$this->warnings = $warnings;
}
/**
* @return string[]
*/
public function getWarnings()
{
return $this->warnings;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\ReportResult::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_ReportResult');

View File

@ -0,0 +1,94 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource;
use Google\Site_Kit_Dependencies\Google\Service\Adsense\Account;
use Google\Site_Kit_Dependencies\Google\Service\Adsense\ListAccountsResponse;
use Google\Site_Kit_Dependencies\Google\Service\Adsense\ListChildAccountsResponse;
/**
* The "accounts" collection of methods.
* Typical usage is:
* <code>
* $adsenseService = new Google\Service\Adsense(...);
* $accounts = $adsenseService->accounts;
* </code>
*/
class Accounts extends \Google\Site_Kit_Dependencies\Google\Service\Resource
{
/**
* Gets information about the selected AdSense account. (accounts.get)
*
* @param string $name Required. Account to get information about. Format:
* accounts/{account}
* @param array $optParams Optional parameters.
* @return Account
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = \array_merge($params, $optParams);
return $this->call('get', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\Account::class);
}
/**
* Lists all accounts available to this user. (accounts.listAccounts)
*
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of accounts to include in the
* response, used for paging. If unspecified, at most 10000 accounts will be
* returned. The maximum value is 10000; values above 10000 will be coerced to
* 10000.
* @opt_param string pageToken A page token, received from a previous
* `ListAccounts` call. Provide this to retrieve the subsequent page. When
* paginating, all other parameters provided to `ListAccounts` must match the
* call that provided the page token.
* @return ListAccountsResponse
*/
public function listAccounts($optParams = [])
{
$params = [];
$params = \array_merge($params, $optParams);
return $this->call('list', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\ListAccountsResponse::class);
}
/**
* Lists all accounts directly managed by the given AdSense account.
* (accounts.listChildAccounts)
*
* @param string $parent Required. The parent account, which owns the child
* accounts. Format: accounts/{account}
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of accounts to include in the
* response, used for paging. If unspecified, at most 10000 accounts will be
* returned. The maximum value is 10000; values above 10000 will be coerced to
* 10000.
* @opt_param string pageToken A page token, received from a previous
* `ListAccounts` call. Provide this to retrieve the subsequent page. When
* paginating, all other parameters provided to `ListAccounts` must match the
* call that provided the page token.
* @return ListChildAccountsResponse
*/
public function listChildAccounts($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = \array_merge($params, $optParams);
return $this->call('listChildAccounts', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\ListChildAccountsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource\Accounts::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_Resource_Accounts');

View File

@ -0,0 +1,76 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource;
use Google\Site_Kit_Dependencies\Google\Service\Adsense\AdClientAdCode;
use Google\Site_Kit_Dependencies\Google\Service\Adsense\ListAdClientsResponse;
/**
* The "adclients" collection of methods.
* Typical usage is:
* <code>
* $adsenseService = new Google\Service\Adsense(...);
* $adclients = $adsenseService->adclients;
* </code>
*/
class AccountsAdclients extends \Google\Site_Kit_Dependencies\Google\Service\Resource
{
/**
* Gets the AdSense code for a given ad client. This returns what was previously
* known as the 'auto ad code'. This is only supported for ad clients with a
* product_code of AFC. For more information, see [About the AdSense
* code](https://support.google.com/adsense/answer/9274634).
* (adclients.getAdcode)
*
* @param string $name Required. Name of the ad client for which to get the
* adcode. Format: accounts/{account}/adclients/{adclient}
* @param array $optParams Optional parameters.
* @return AdClientAdCode
*/
public function getAdcode($name, $optParams = [])
{
$params = ['name' => $name];
$params = \array_merge($params, $optParams);
return $this->call('getAdcode', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\AdClientAdCode::class);
}
/**
* Lists all the ad clients available in an account.
* (adclients.listAccountsAdclients)
*
* @param string $parent Required. The account which owns the collection of ad
* clients. Format: accounts/{account}
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of ad clients to include in the
* response, used for paging. If unspecified, at most 10000 ad clients will be
* returned. The maximum value is 10000; values above 10000 will be coerced to
* 10000.
* @opt_param string pageToken A page token, received from a previous
* `ListAdClients` call. Provide this to retrieve the subsequent page. When
* paginating, all other parameters provided to `ListAdClients` must match the
* call that provided the page token.
* @return ListAdClientsResponse
*/
public function listAccountsAdclients($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = \array_merge($params, $optParams);
return $this->call('list', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\ListAdClientsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource\AccountsAdclients::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_Resource_AccountsAdclients');

View File

@ -0,0 +1,113 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource;
use Google\Site_Kit_Dependencies\Google\Service\Adsense\AdUnit;
use Google\Site_Kit_Dependencies\Google\Service\Adsense\AdUnitAdCode;
use Google\Site_Kit_Dependencies\Google\Service\Adsense\ListAdUnitsResponse;
use Google\Site_Kit_Dependencies\Google\Service\Adsense\ListLinkedCustomChannelsResponse;
/**
* The "adunits" collection of methods.
* Typical usage is:
* <code>
* $adsenseService = new Google\Service\Adsense(...);
* $adunits = $adsenseService->adunits;
* </code>
*/
class AccountsAdclientsAdunits extends \Google\Site_Kit_Dependencies\Google\Service\Resource
{
/**
* Gets an ad unit from a specified account and ad client. (adunits.get)
*
* @param string $name Required. AdUnit to get information about. Format:
* accounts/{account}/adclients/{adclient}/adunits/{adunit}
* @param array $optParams Optional parameters.
* @return AdUnit
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = \array_merge($params, $optParams);
return $this->call('get', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\AdUnit::class);
}
/**
* Gets the AdSense code for a given ad unit. (adunits.getAdcode)
*
* @param string $name Required. Name of the adunit for which to get the adcode.
* Format: accounts/{account}/adclients/{adclient}/adunits/{adunit}
* @param array $optParams Optional parameters.
* @return AdUnitAdCode
*/
public function getAdcode($name, $optParams = [])
{
$params = ['name' => $name];
$params = \array_merge($params, $optParams);
return $this->call('getAdcode', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\AdUnitAdCode::class);
}
/**
* Lists all ad units under a specified account and ad client.
* (adunits.listAccountsAdclientsAdunits)
*
* @param string $parent Required. The ad client which owns the collection of ad
* units. Format: accounts/{account}/adclients/{adclient}
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of ad units to include in the
* response, used for paging. If unspecified, at most 10000 ad units will be
* returned. The maximum value is 10000; values above 10000 will be coerced to
* 10000.
* @opt_param string pageToken A page token, received from a previous
* `ListAdUnits` call. Provide this to retrieve the subsequent page. When
* paginating, all other parameters provided to `ListAdUnits` must match the
* call that provided the page token.
* @return ListAdUnitsResponse
*/
public function listAccountsAdclientsAdunits($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = \array_merge($params, $optParams);
return $this->call('list', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\ListAdUnitsResponse::class);
}
/**
* Lists all the custom channels available for an ad unit.
* (adunits.listLinkedCustomChannels)
*
* @param string $parent Required. The ad unit which owns the collection of
* custom channels. Format:
* accounts/{account}/adclients/{adclient}/adunits/{adunit}
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of custom channels to include in
* the response, used for paging. If unspecified, at most 10000 custom channels
* will be returned. The maximum value is 10000; values above 10000 will be
* coerced to 10000.
* @opt_param string pageToken A page token, received from a previous
* `ListLinkedCustomChannels` call. Provide this to retrieve the subsequent
* page. When paginating, all other parameters provided to
* `ListLinkedCustomChannels` must match the call that provided the page token.
* @return ListLinkedCustomChannelsResponse
*/
public function listLinkedCustomChannels($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = \array_merge($params, $optParams);
return $this->call('listLinkedCustomChannels', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\ListLinkedCustomChannelsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource\AccountsAdclientsAdunits::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_Resource_AccountsAdclientsAdunits');

View File

@ -0,0 +1,98 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource;
use Google\Site_Kit_Dependencies\Google\Service\Adsense\CustomChannel;
use Google\Site_Kit_Dependencies\Google\Service\Adsense\ListCustomChannelsResponse;
use Google\Site_Kit_Dependencies\Google\Service\Adsense\ListLinkedAdUnitsResponse;
/**
* The "customchannels" collection of methods.
* Typical usage is:
* <code>
* $adsenseService = new Google\Service\Adsense(...);
* $customchannels = $adsenseService->customchannels;
* </code>
*/
class AccountsAdclientsCustomchannels extends \Google\Site_Kit_Dependencies\Google\Service\Resource
{
/**
* Gets information about the selected custom channel. (customchannels.get)
*
* @param string $name Required. Name of the custom channel. Format:
* accounts/{account}/adclients/{adclient}/customchannels/{customchannel}
* @param array $optParams Optional parameters.
* @return CustomChannel
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = \array_merge($params, $optParams);
return $this->call('get', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\CustomChannel::class);
}
/**
* Lists all the custom channels available in an ad client.
* (customchannels.listAccountsAdclientsCustomchannels)
*
* @param string $parent Required. The ad client which owns the collection of
* custom channels. Format: accounts/{account}/adclients/{adclient}
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of custom channels to include in
* the response, used for paging. If unspecified, at most 10000 custom channels
* will be returned. The maximum value is 10000; values above 10000 will be
* coerced to 10000.
* @opt_param string pageToken A page token, received from a previous
* `ListCustomChannels` call. Provide this to retrieve the subsequent page. When
* paginating, all other parameters provided to `ListCustomChannels` must match
* the call that provided the page token.
* @return ListCustomChannelsResponse
*/
public function listAccountsAdclientsCustomchannels($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = \array_merge($params, $optParams);
return $this->call('list', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\ListCustomChannelsResponse::class);
}
/**
* Lists all the ad units available for a custom channel.
* (customchannels.listLinkedAdUnits)
*
* @param string $parent Required. The custom channel which owns the collection
* of ad units. Format:
* accounts/{account}/adclients/{adclient}/customchannels/{customchannel}
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of ad units to include in the
* response, used for paging. If unspecified, at most 10000 ad units will be
* returned. The maximum value is 10000; values above 10000 will be coerced to
* 10000.
* @opt_param string pageToken A page token, received from a previous
* `ListLinkedAdUnits` call. Provide this to retrieve the subsequent page. When
* paginating, all other parameters provided to `ListLinkedAdUnits` must match
* the call that provided the page token.
* @return ListLinkedAdUnitsResponse
*/
public function listLinkedAdUnits($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = \array_merge($params, $optParams);
return $this->call('listLinkedAdUnits', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\ListLinkedAdUnitsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource\AccountsAdclientsCustomchannels::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_Resource_AccountsAdclientsCustomchannels');

View File

@ -0,0 +1,56 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource;
use Google\Site_Kit_Dependencies\Google\Service\Adsense\ListUrlChannelsResponse;
/**
* The "urlchannels" collection of methods.
* Typical usage is:
* <code>
* $adsenseService = new Google\Service\Adsense(...);
* $urlchannels = $adsenseService->urlchannels;
* </code>
*/
class AccountsAdclientsUrlchannels extends \Google\Site_Kit_Dependencies\Google\Service\Resource
{
/**
* Lists active url channels. (urlchannels.listAccountsAdclientsUrlchannels)
*
* @param string $parent Required. The ad client which owns the collection of
* url channels. Format: accounts/{account}/adclients/{adclient}
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of url channels to include in the
* response, used for paging. If unspecified, at most 10000 url channels will be
* returned. The maximum value is 10000; values above 10000 will be coerced to
* 10000.
* @opt_param string pageToken A page token, received from a previous
* `ListUrlChannels` call. Provide this to retrieve the subsequent page. When
* paginating, all other parameters provided to `ListUrlChannels` must match the
* call that provided the page token.
* @return ListUrlChannelsResponse
*/
public function listAccountsAdclientsUrlchannels($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = \array_merge($params, $optParams);
return $this->call('list', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\ListUrlChannelsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource\AccountsAdclientsUrlchannels::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_Resource_AccountsAdclientsUrlchannels');

View File

@ -0,0 +1,53 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource;
use Google\Site_Kit_Dependencies\Google\Service\Adsense\ListAlertsResponse;
/**
* The "alerts" collection of methods.
* Typical usage is:
* <code>
* $adsenseService = new Google\Service\Adsense(...);
* $alerts = $adsenseService->alerts;
* </code>
*/
class AccountsAlerts extends \Google\Site_Kit_Dependencies\Google\Service\Resource
{
/**
* Lists all the alerts available in an account. (alerts.listAccountsAlerts)
*
* @param string $parent Required. The account which owns the collection of
* alerts. Format: accounts/{account}
* @param array $optParams Optional parameters.
*
* @opt_param string languageCode The language to use for translating alert
* messages. If unspecified, this defaults to the user's display language. If
* the given language is not supported, alerts will be returned in English. The
* language is specified as an [IETF BCP-47 language
* code](https://en.wikipedia.org/wiki/IETF_language_tag).
* @return ListAlertsResponse
*/
public function listAccountsAlerts($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = \array_merge($params, $optParams);
return $this->call('list', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\ListAlertsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource\AccountsAlerts::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_Resource_AccountsAlerts');

View File

@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource;
use Google\Site_Kit_Dependencies\Google\Service\Adsense\ListPaymentsResponse;
/**
* The "payments" collection of methods.
* Typical usage is:
* <code>
* $adsenseService = new Google\Service\Adsense(...);
* $payments = $adsenseService->payments;
* </code>
*/
class AccountsPayments extends \Google\Site_Kit_Dependencies\Google\Service\Resource
{
/**
* Lists all the payments available for an account.
* (payments.listAccountsPayments)
*
* @param string $parent Required. The account which owns the collection of
* payments. Format: accounts/{account}
* @param array $optParams Optional parameters.
* @return ListPaymentsResponse
*/
public function listAccountsPayments($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = \array_merge($params, $optParams);
return $this->call('list', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\ListPaymentsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource\AccountsPayments::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_Resource_AccountsPayments');

View File

@ -0,0 +1,146 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource;
use Google\Site_Kit_Dependencies\Google\Service\Adsense\HttpBody;
use Google\Site_Kit_Dependencies\Google\Service\Adsense\ReportResult;
/**
* The "reports" collection of methods.
* Typical usage is:
* <code>
* $adsenseService = new Google\Service\Adsense(...);
* $reports = $adsenseService->reports;
* </code>
*/
class AccountsReports extends \Google\Site_Kit_Dependencies\Google\Service\Resource
{
/**
* Generates an ad hoc report. (reports.generate)
*
* @param string $account Required. The account which owns the collection of
* reports. Format: accounts/{account}
* @param array $optParams Optional parameters.
*
* @opt_param string currencyCode The [ISO-4217 currency
* code](https://en.wikipedia.org/wiki/ISO_4217) to use when reporting on
* monetary metrics. Defaults to the account's currency if not set.
* @opt_param string dateRange Date range of the report, if unset the range will
* be considered CUSTOM.
* @opt_param string dimensions Dimensions to base the report on.
* @opt_param int endDate.day Day of a month. Must be from 1 to 31 and valid for
* the year and month, or 0 to specify a year by itself or a year and month
* where the day isn't significant.
* @opt_param int endDate.month Month of a year. Must be from 1 to 12, or 0 to
* specify a year without a month and day.
* @opt_param int endDate.year Year of the date. Must be from 1 to 9999, or 0 to
* specify a date without a year.
* @opt_param string filters Filters to be run on the report.
* @opt_param string languageCode The language to use for translating report
* output. If unspecified, this defaults to English ("en"). If the given
* language is not supported, report output will be returned in English. The
* language is specified as an [IETF BCP-47 language
* code](https://en.wikipedia.org/wiki/IETF_language_tag).
* @opt_param int limit The maximum number of rows of report data to return.
* Reports producing more rows than the requested limit will be truncated. If
* unset, this defaults to 100,000 rows for `Reports.GenerateReport` and
* 1,000,000 rows for `Reports.GenerateCsvReport`, which are also the maximum
* values permitted here. Report truncation can be identified (for
* `Reports.GenerateReport` only) by comparing the number of rows returned to
* the value returned in `total_matched_rows`.
* @opt_param string metrics Required. Reporting metrics.
* @opt_param string orderBy The name of a dimension or metric to sort the
* resulting report on, can be prefixed with "+" to sort ascending or "-" to
* sort descending. If no prefix is specified, the column is sorted ascending.
* @opt_param string reportingTimeZone Timezone in which to generate the report.
* If unspecified, this defaults to the account timezone. For more information,
* see [changing the time zone of your
* reports](https://support.google.com/adsense/answer/9830725).
* @opt_param int startDate.day Day of a month. Must be from 1 to 31 and valid
* for the year and month, or 0 to specify a year by itself or a year and month
* where the day isn't significant.
* @opt_param int startDate.month Month of a year. Must be from 1 to 12, or 0 to
* specify a year without a month and day.
* @opt_param int startDate.year Year of the date. Must be from 1 to 9999, or 0
* to specify a date without a year.
* @return ReportResult
*/
public function generate($account, $optParams = [])
{
$params = ['account' => $account];
$params = \array_merge($params, $optParams);
return $this->call('generate', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\ReportResult::class);
}
/**
* Generates a csv formatted ad hoc report. (reports.generateCsv)
*
* @param string $account Required. The account which owns the collection of
* reports. Format: accounts/{account}
* @param array $optParams Optional parameters.
*
* @opt_param string currencyCode The [ISO-4217 currency
* code](https://en.wikipedia.org/wiki/ISO_4217) to use when reporting on
* monetary metrics. Defaults to the account's currency if not set.
* @opt_param string dateRange Date range of the report, if unset the range will
* be considered CUSTOM.
* @opt_param string dimensions Dimensions to base the report on.
* @opt_param int endDate.day Day of a month. Must be from 1 to 31 and valid for
* the year and month, or 0 to specify a year by itself or a year and month
* where the day isn't significant.
* @opt_param int endDate.month Month of a year. Must be from 1 to 12, or 0 to
* specify a year without a month and day.
* @opt_param int endDate.year Year of the date. Must be from 1 to 9999, or 0 to
* specify a date without a year.
* @opt_param string filters Filters to be run on the report.
* @opt_param string languageCode The language to use for translating report
* output. If unspecified, this defaults to English ("en"). If the given
* language is not supported, report output will be returned in English. The
* language is specified as an [IETF BCP-47 language
* code](https://en.wikipedia.org/wiki/IETF_language_tag).
* @opt_param int limit The maximum number of rows of report data to return.
* Reports producing more rows than the requested limit will be truncated. If
* unset, this defaults to 100,000 rows for `Reports.GenerateReport` and
* 1,000,000 rows for `Reports.GenerateCsvReport`, which are also the maximum
* values permitted here. Report truncation can be identified (for
* `Reports.GenerateReport` only) by comparing the number of rows returned to
* the value returned in `total_matched_rows`.
* @opt_param string metrics Required. Reporting metrics.
* @opt_param string orderBy The name of a dimension or metric to sort the
* resulting report on, can be prefixed with "+" to sort ascending or "-" to
* sort descending. If no prefix is specified, the column is sorted ascending.
* @opt_param string reportingTimeZone Timezone in which to generate the report.
* If unspecified, this defaults to the account timezone. For more information,
* see [changing the time zone of your
* reports](https://support.google.com/adsense/answer/9830725).
* @opt_param int startDate.day Day of a month. Must be from 1 to 31 and valid
* for the year and month, or 0 to specify a year by itself or a year and month
* where the day isn't significant.
* @opt_param int startDate.month Month of a year. Must be from 1 to 12, or 0 to
* specify a year without a month and day.
* @opt_param int startDate.year Year of the date. Must be from 1 to 9999, or 0
* to specify a date without a year.
* @return HttpBody
*/
public function generateCsv($account, $optParams = [])
{
$params = ['account' => $account];
$params = \array_merge($params, $optParams);
return $this->call('generateCsv', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\HttpBody::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource\AccountsReports::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_Resource_AccountsReports');

View File

@ -0,0 +1,144 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource;
use Google\Site_Kit_Dependencies\Google\Service\Adsense\HttpBody;
use Google\Site_Kit_Dependencies\Google\Service\Adsense\ListSavedReportsResponse;
use Google\Site_Kit_Dependencies\Google\Service\Adsense\ReportResult;
/**
* The "saved" collection of methods.
* Typical usage is:
* <code>
* $adsenseService = new Google\Service\Adsense(...);
* $saved = $adsenseService->saved;
* </code>
*/
class AccountsReportsSaved extends \Google\Site_Kit_Dependencies\Google\Service\Resource
{
/**
* Generates a saved report. (saved.generate)
*
* @param string $name Required. Name of the saved report. Format:
* accounts/{account}/reports/{report}
* @param array $optParams Optional parameters.
*
* @opt_param string currencyCode The [ISO-4217 currency
* code](https://en.wikipedia.org/wiki/ISO_4217) to use when reporting on
* monetary metrics. Defaults to the account's currency if not set.
* @opt_param string dateRange Date range of the report, if unset the range will
* be considered CUSTOM.
* @opt_param int endDate.day Day of a month. Must be from 1 to 31 and valid for
* the year and month, or 0 to specify a year by itself or a year and month
* where the day isn't significant.
* @opt_param int endDate.month Month of a year. Must be from 1 to 12, or 0 to
* specify a year without a month and day.
* @opt_param int endDate.year Year of the date. Must be from 1 to 9999, or 0 to
* specify a date without a year.
* @opt_param string languageCode The language to use for translating report
* output. If unspecified, this defaults to English ("en"). If the given
* language is not supported, report output will be returned in English. The
* language is specified as an [IETF BCP-47 language
* code](https://en.wikipedia.org/wiki/IETF_language_tag).
* @opt_param string reportingTimeZone Timezone in which to generate the report.
* If unspecified, this defaults to the account timezone. For more information,
* see [changing the time zone of your
* reports](https://support.google.com/adsense/answer/9830725).
* @opt_param int startDate.day Day of a month. Must be from 1 to 31 and valid
* for the year and month, or 0 to specify a year by itself or a year and month
* where the day isn't significant.
* @opt_param int startDate.month Month of a year. Must be from 1 to 12, or 0 to
* specify a year without a month and day.
* @opt_param int startDate.year Year of the date. Must be from 1 to 9999, or 0
* to specify a date without a year.
* @return ReportResult
*/
public function generate($name, $optParams = [])
{
$params = ['name' => $name];
$params = \array_merge($params, $optParams);
return $this->call('generate', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\ReportResult::class);
}
/**
* Generates a csv formatted saved report. (saved.generateCsv)
*
* @param string $name Required. Name of the saved report. Format:
* accounts/{account}/reports/{report}
* @param array $optParams Optional parameters.
*
* @opt_param string currencyCode The [ISO-4217 currency
* code](https://en.wikipedia.org/wiki/ISO_4217) to use when reporting on
* monetary metrics. Defaults to the account's currency if not set.
* @opt_param string dateRange Date range of the report, if unset the range will
* be considered CUSTOM.
* @opt_param int endDate.day Day of a month. Must be from 1 to 31 and valid for
* the year and month, or 0 to specify a year by itself or a year and month
* where the day isn't significant.
* @opt_param int endDate.month Month of a year. Must be from 1 to 12, or 0 to
* specify a year without a month and day.
* @opt_param int endDate.year Year of the date. Must be from 1 to 9999, or 0 to
* specify a date without a year.
* @opt_param string languageCode The language to use for translating report
* output. If unspecified, this defaults to English ("en"). If the given
* language is not supported, report output will be returned in English. The
* language is specified as an [IETF BCP-47 language
* code](https://en.wikipedia.org/wiki/IETF_language_tag).
* @opt_param string reportingTimeZone Timezone in which to generate the report.
* If unspecified, this defaults to the account timezone. For more information,
* see [changing the time zone of your
* reports](https://support.google.com/adsense/answer/9830725).
* @opt_param int startDate.day Day of a month. Must be from 1 to 31 and valid
* for the year and month, or 0 to specify a year by itself or a year and month
* where the day isn't significant.
* @opt_param int startDate.month Month of a year. Must be from 1 to 12, or 0 to
* specify a year without a month and day.
* @opt_param int startDate.year Year of the date. Must be from 1 to 9999, or 0
* to specify a date without a year.
* @return HttpBody
*/
public function generateCsv($name, $optParams = [])
{
$params = ['name' => $name];
$params = \array_merge($params, $optParams);
return $this->call('generateCsv', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\HttpBody::class);
}
/**
* Lists saved reports. (saved.listAccountsReportsSaved)
*
* @param string $parent Required. The account which owns the collection of
* reports. Format: accounts/{account}
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of reports to include in the
* response, used for paging. If unspecified, at most 10000 reports will be
* returned. The maximum value is 10000; values above 10000 will be coerced to
* 10000.
* @opt_param string pageToken A page token, received from a previous
* `ListPayments` call. Provide this to retrieve the subsequent page. When
* paginating, all other parameters provided to `ListPayments` must match the
* call that provided the page token.
* @return ListSavedReportsResponse
*/
public function listAccountsReportsSaved($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = \array_merge($params, $optParams);
return $this->call('list', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\ListSavedReportsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource\AccountsReportsSaved::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_Resource_AccountsReportsSaved');

View File

@ -0,0 +1,71 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource;
use Google\Site_Kit_Dependencies\Google\Service\Adsense\ListSitesResponse;
use Google\Site_Kit_Dependencies\Google\Service\Adsense\Site;
/**
* The "sites" collection of methods.
* Typical usage is:
* <code>
* $adsenseService = new Google\Service\Adsense(...);
* $sites = $adsenseService->sites;
* </code>
*/
class AccountsSites extends \Google\Site_Kit_Dependencies\Google\Service\Resource
{
/**
* Gets information about the selected site. (sites.get)
*
* @param string $name Required. Name of the site. Format:
* accounts/{account}/sites/{site}
* @param array $optParams Optional parameters.
* @return Site
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = \array_merge($params, $optParams);
return $this->call('get', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\Site::class);
}
/**
* Lists all the sites available in an account. (sites.listAccountsSites)
*
* @param string $parent Required. The account which owns the collection of
* sites. Format: accounts/{account}
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of sites to include in the
* response, used for paging. If unspecified, at most 10000 sites will be
* returned. The maximum value is 10000; values above 10000 will be coerced to
* 10000.
* @opt_param string pageToken A page token, received from a previous
* `ListSites` call. Provide this to retrieve the subsequent page. When
* paginating, all other parameters provided to `ListSites` must match the call
* that provided the page token.
* @return ListSitesResponse
*/
public function listAccountsSites($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = \array_merge($params, $optParams);
return $this->call('list', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\ListSitesResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource\AccountsSites::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_Resource_AccountsSites');

View File

@ -0,0 +1,41 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class Row extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'cells';
protected $cellsType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\Cell::class;
protected $cellsDataType = 'array';
/**
* @param Cell[]
*/
public function setCells($cells)
{
$this->cells = $cells;
}
/**
* @return Cell[]
*/
public function getCells()
{
return $this->cells;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Row::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_Row');

View File

@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class SavedReport extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $title;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\SavedReport::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_SavedReport');

View File

@ -0,0 +1,114 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class Site extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var bool
*/
public $autoAdsEnabled;
/**
* @var string
*/
public $domain;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $reportingDimensionId;
/**
* @var string
*/
public $state;
/**
* @param bool
*/
public function setAutoAdsEnabled($autoAdsEnabled)
{
$this->autoAdsEnabled = $autoAdsEnabled;
}
/**
* @return bool
*/
public function getAutoAdsEnabled()
{
return $this->autoAdsEnabled;
}
/**
* @param string
*/
public function setDomain($domain)
{
$this->domain = $domain;
}
/**
* @return string
*/
public function getDomain()
{
return $this->domain;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setReportingDimensionId($reportingDimensionId)
{
$this->reportingDimensionId = $reportingDimensionId;
}
/**
* @return string
*/
public function getReportingDimensionId()
{
return $this->reportingDimensionId;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Site::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_Site');

View File

@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class TimeZone extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $version;
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return string
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\TimeZone::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_TimeZone');

View File

@ -0,0 +1,78 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class UrlChannel extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $reportingDimensionId;
/**
* @var string
*/
public $uriPattern;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setReportingDimensionId($reportingDimensionId)
{
$this->reportingDimensionId = $reportingDimensionId;
}
/**
* @return string
*/
public function getReportingDimensionId()
{
return $this->reportingDimensionId;
}
/**
* @param string
*/
public function setUriPattern($uriPattern)
{
$this->uriPattern = $uriPattern;
}
/**
* @return string
*/
public function getUriPattern()
{
return $this->uriPattern;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\UrlChannel::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_UrlChannel');

View File

@ -0,0 +1,120 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service;
use Google\Site_Kit_Dependencies\Google\Client;
/**
* Service definition for Analytics (v3).
*
* <p>
* Views and manages your Google Analytics data.</p>
*
* <p>
* For more information about this service, see the API
* <a href="https://developers.google.com/analytics/" target="_blank">Documentation</a>
* </p>
*
* @author Google, Inc.
*/
class Analytics extends \Google\Site_Kit_Dependencies\Google\Service
{
/** View and manage your Google Analytics data. */
const ANALYTICS = "https://www.googleapis.com/auth/analytics";
/** Edit Google Analytics management entities. */
const ANALYTICS_EDIT = "https://www.googleapis.com/auth/analytics.edit";
/** Manage Google Analytics Account users by email address. */
const ANALYTICS_MANAGE_USERS = "https://www.googleapis.com/auth/analytics.manage.users";
/** View Google Analytics user permissions. */
const ANALYTICS_MANAGE_USERS_READONLY = "https://www.googleapis.com/auth/analytics.manage.users.readonly";
/** Create a new Google Analytics account along with its default property and view. */
const ANALYTICS_PROVISION = "https://www.googleapis.com/auth/analytics.provision";
/** View your Google Analytics data. */
const ANALYTICS_READONLY = "https://www.googleapis.com/auth/analytics.readonly";
/** Manage Google Analytics user deletion requests. */
const ANALYTICS_USER_DELETION = "https://www.googleapis.com/auth/analytics.user.deletion";
public $data_ga;
public $data_mcf;
public $data_realtime;
public $management_accountSummaries;
public $management_accountUserLinks;
public $management_accounts;
public $management_clientId;
public $management_customDataSources;
public $management_customDimensions;
public $management_customMetrics;
public $management_experiments;
public $management_filters;
public $management_goals;
public $management_profileFilterLinks;
public $management_profileUserLinks;
public $management_profiles;
public $management_remarketingAudience;
public $management_segments;
public $management_unsampledReports;
public $management_uploads;
public $management_webPropertyAdWordsLinks;
public $management_webproperties;
public $management_webpropertyUserLinks;
public $metadata_columns;
public $provisioning;
public $userDeletion_userDeletionRequest;
/**
* Constructs the internal representation of the Analytics service.
*
* @param Client|array $clientOrConfig The client used to deliver requests, or a
* config array to pass to a new Client instance.
* @param string $rootUrl The root URL used for requests to the service.
*/
public function __construct($clientOrConfig = [], $rootUrl = null)
{
parent::__construct($clientOrConfig);
$this->rootUrl = $rootUrl ?: 'https://analytics.googleapis.com/';
$this->servicePath = 'analytics/v3/';
$this->batchPath = 'batch/analytics/v3';
$this->version = 'v3';
$this->serviceName = 'analytics';
$this->data_ga = new \Google\Site_Kit_Dependencies\Google\Service\Analytics\Resource\DataGa($this, $this->serviceName, 'ga', ['methods' => ['get' => ['path' => 'data/ga', 'httpMethod' => 'GET', 'parameters' => ['ids' => ['location' => 'query', 'type' => 'string', 'required' => \true], 'start-date' => ['location' => 'query', 'type' => 'string', 'required' => \true], 'end-date' => ['location' => 'query', 'type' => 'string', 'required' => \true], 'metrics' => ['location' => 'query', 'type' => 'string', 'required' => \true], 'dimensions' => ['location' => 'query', 'type' => 'string'], 'filters' => ['location' => 'query', 'type' => 'string'], 'include-empty-rows' => ['location' => 'query', 'type' => 'boolean'], 'max-results' => ['location' => 'query', 'type' => 'integer'], 'output' => ['location' => 'query', 'type' => 'string'], 'samplingLevel' => ['location' => 'query', 'type' => 'string'], 'segment' => ['location' => 'query', 'type' => 'string'], 'sort' => ['location' => 'query', 'type' => 'string'], 'start-index' => ['location' => 'query', 'type' => 'integer']]]]]);
$this->data_mcf = new \Google\Site_Kit_Dependencies\Google\Service\Analytics\Resource\DataMcf($this, $this->serviceName, 'mcf', ['methods' => ['get' => ['path' => 'data/mcf', 'httpMethod' => 'GET', 'parameters' => ['ids' => ['location' => 'query', 'type' => 'string', 'required' => \true], 'start-date' => ['location' => 'query', 'type' => 'string', 'required' => \true], 'end-date' => ['location' => 'query', 'type' => 'string', 'required' => \true], 'metrics' => ['location' => 'query', 'type' => 'string', 'required' => \true], 'dimensions' => ['location' => 'query', 'type' => 'string'], 'filters' => ['location' => 'query', 'type' => 'string'], 'max-results' => ['location' => 'query', 'type' => 'integer'], 'samplingLevel' => ['location' => 'query', 'type' => 'string'], 'sort' => ['location' => 'query', 'type' => 'string'], 'start-index' => ['location' => 'query', 'type' => 'integer']]]]]);
$this->data_realtime = new \Google\Site_Kit_Dependencies\Google\Service\Analytics\Resource\DataRealtime($this, $this->serviceName, 'realtime', ['methods' => ['get' => ['path' => 'data/realtime', 'httpMethod' => 'GET', 'parameters' => ['ids' => ['location' => 'query', 'type' => 'string', 'required' => \true], 'metrics' => ['location' => 'query', 'type' => 'string', 'required' => \true], 'dimensions' => ['location' => 'query', 'type' => 'string'], 'filters' => ['location' => 'query', 'type' => 'string'], 'max-results' => ['location' => 'query', 'type' => 'integer'], 'sort' => ['location' => 'query', 'type' => 'string']]]]]);
$this->management_accountSummaries = new \Google\Site_Kit_Dependencies\Google\Service\Analytics\Resource\ManagementAccountSummaries($this, $this->serviceName, 'accountSummaries', ['methods' => ['list' => ['path' => 'management/accountSummaries', 'httpMethod' => 'GET', 'parameters' => ['max-results' => ['location' => 'query', 'type' => 'integer'], 'start-index' => ['location' => 'query', 'type' => 'integer']]]]]);
$this->management_accountUserLinks = new \Google\Site_Kit_Dependencies\Google\Service\Analytics\Resource\ManagementAccountUserLinks($this, $this->serviceName, 'accountUserLinks', ['methods' => ['delete' => ['path' => 'management/accounts/{accountId}/entityUserLinks/{linkId}', 'httpMethod' => 'DELETE', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'linkId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'insert' => ['path' => 'management/accounts/{accountId}/entityUserLinks', 'httpMethod' => 'POST', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'list' => ['path' => 'management/accounts/{accountId}/entityUserLinks', 'httpMethod' => 'GET', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'max-results' => ['location' => 'query', 'type' => 'integer'], 'start-index' => ['location' => 'query', 'type' => 'integer']]], 'update' => ['path' => 'management/accounts/{accountId}/entityUserLinks/{linkId}', 'httpMethod' => 'PUT', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'linkId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]]]]);
$this->management_accounts = new \Google\Site_Kit_Dependencies\Google\Service\Analytics\Resource\ManagementAccounts($this, $this->serviceName, 'accounts', ['methods' => ['list' => ['path' => 'management/accounts', 'httpMethod' => 'GET', 'parameters' => ['max-results' => ['location' => 'query', 'type' => 'integer'], 'start-index' => ['location' => 'query', 'type' => 'integer']]]]]);
$this->management_clientId = new \Google\Site_Kit_Dependencies\Google\Service\Analytics\Resource\ManagementClientId($this, $this->serviceName, 'clientId', ['methods' => ['hashClientId' => ['path' => 'management/clientId:hashClientId', 'httpMethod' => 'POST', 'parameters' => []]]]);
$this->management_customDataSources = new \Google\Site_Kit_Dependencies\Google\Service\Analytics\Resource\ManagementCustomDataSources($this, $this->serviceName, 'customDataSources', ['methods' => ['list' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources', 'httpMethod' => 'GET', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'max-results' => ['location' => 'query', 'type' => 'integer'], 'start-index' => ['location' => 'query', 'type' => 'integer']]]]]);
$this->management_customDimensions = new \Google\Site_Kit_Dependencies\Google\Service\Analytics\Resource\ManagementCustomDimensions($this, $this->serviceName, 'customDimensions', ['methods' => ['get' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions/{customDimensionId}', 'httpMethod' => 'GET', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'customDimensionId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'insert' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions', 'httpMethod' => 'POST', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'list' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions', 'httpMethod' => 'GET', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'max-results' => ['location' => 'query', 'type' => 'integer'], 'start-index' => ['location' => 'query', 'type' => 'integer']]], 'patch' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions/{customDimensionId}', 'httpMethod' => 'PATCH', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'customDimensionId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'ignoreCustomDataSourceLinks' => ['location' => 'query', 'type' => 'boolean']]], 'update' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions/{customDimensionId}', 'httpMethod' => 'PUT', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'customDimensionId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'ignoreCustomDataSourceLinks' => ['location' => 'query', 'type' => 'boolean']]]]]);
$this->management_customMetrics = new \Google\Site_Kit_Dependencies\Google\Service\Analytics\Resource\ManagementCustomMetrics($this, $this->serviceName, 'customMetrics', ['methods' => ['get' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics/{customMetricId}', 'httpMethod' => 'GET', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'customMetricId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'insert' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics', 'httpMethod' => 'POST', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'list' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics', 'httpMethod' => 'GET', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'max-results' => ['location' => 'query', 'type' => 'integer'], 'start-index' => ['location' => 'query', 'type' => 'integer']]], 'patch' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics/{customMetricId}', 'httpMethod' => 'PATCH', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'customMetricId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'ignoreCustomDataSourceLinks' => ['location' => 'query', 'type' => 'boolean']]], 'update' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics/{customMetricId}', 'httpMethod' => 'PUT', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'customMetricId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'ignoreCustomDataSourceLinks' => ['location' => 'query', 'type' => 'boolean']]]]]);
$this->management_experiments = new \Google\Site_Kit_Dependencies\Google\Service\Analytics\Resource\ManagementExperiments($this, $this->serviceName, 'experiments', ['methods' => ['delete' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}', 'httpMethod' => 'DELETE', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'profileId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'experimentId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'get' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}', 'httpMethod' => 'GET', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'profileId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'experimentId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'insert' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments', 'httpMethod' => 'POST', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'profileId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'list' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments', 'httpMethod' => 'GET', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'profileId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'max-results' => ['location' => 'query', 'type' => 'integer'], 'start-index' => ['location' => 'query', 'type' => 'integer']]], 'patch' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}', 'httpMethod' => 'PATCH', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'profileId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'experimentId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'update' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}', 'httpMethod' => 'PUT', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'profileId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'experimentId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]]]]);
$this->management_filters = new \Google\Site_Kit_Dependencies\Google\Service\Analytics\Resource\ManagementFilters($this, $this->serviceName, 'filters', ['methods' => ['delete' => ['path' => 'management/accounts/{accountId}/filters/{filterId}', 'httpMethod' => 'DELETE', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'filterId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'get' => ['path' => 'management/accounts/{accountId}/filters/{filterId}', 'httpMethod' => 'GET', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'filterId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'insert' => ['path' => 'management/accounts/{accountId}/filters', 'httpMethod' => 'POST', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'list' => ['path' => 'management/accounts/{accountId}/filters', 'httpMethod' => 'GET', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'max-results' => ['location' => 'query', 'type' => 'integer'], 'start-index' => ['location' => 'query', 'type' => 'integer']]], 'patch' => ['path' => 'management/accounts/{accountId}/filters/{filterId}', 'httpMethod' => 'PATCH', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'filterId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'update' => ['path' => 'management/accounts/{accountId}/filters/{filterId}', 'httpMethod' => 'PUT', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'filterId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]]]]);
$this->management_goals = new \Google\Site_Kit_Dependencies\Google\Service\Analytics\Resource\ManagementGoals($this, $this->serviceName, 'goals', ['methods' => ['get' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}', 'httpMethod' => 'GET', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'profileId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'goalId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'insert' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals', 'httpMethod' => 'POST', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'profileId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'list' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals', 'httpMethod' => 'GET', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'profileId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'max-results' => ['location' => 'query', 'type' => 'integer'], 'start-index' => ['location' => 'query', 'type' => 'integer']]], 'patch' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}', 'httpMethod' => 'PATCH', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'profileId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'goalId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'update' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}', 'httpMethod' => 'PUT', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'profileId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'goalId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]]]]);
$this->management_profileFilterLinks = new \Google\Site_Kit_Dependencies\Google\Service\Analytics\Resource\ManagementProfileFilterLinks($this, $this->serviceName, 'profileFilterLinks', ['methods' => ['delete' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}', 'httpMethod' => 'DELETE', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'profileId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'linkId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'get' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}', 'httpMethod' => 'GET', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'profileId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'linkId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'insert' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks', 'httpMethod' => 'POST', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'profileId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'list' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks', 'httpMethod' => 'GET', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'profileId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'max-results' => ['location' => 'query', 'type' => 'integer'], 'start-index' => ['location' => 'query', 'type' => 'integer']]], 'patch' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}', 'httpMethod' => 'PATCH', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'profileId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'linkId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'update' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}', 'httpMethod' => 'PUT', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'profileId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'linkId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]]]]);
$this->management_profileUserLinks = new \Google\Site_Kit_Dependencies\Google\Service\Analytics\Resource\ManagementProfileUserLinks($this, $this->serviceName, 'profileUserLinks', ['methods' => ['delete' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks/{linkId}', 'httpMethod' => 'DELETE', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'profileId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'linkId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'insert' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks', 'httpMethod' => 'POST', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'profileId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'list' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks', 'httpMethod' => 'GET', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'profileId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'max-results' => ['location' => 'query', 'type' => 'integer'], 'start-index' => ['location' => 'query', 'type' => 'integer']]], 'update' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks/{linkId}', 'httpMethod' => 'PUT', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'profileId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'linkId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]]]]);
$this->management_profiles = new \Google\Site_Kit_Dependencies\Google\Service\Analytics\Resource\ManagementProfiles($this, $this->serviceName, 'profiles', ['methods' => ['delete' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}', 'httpMethod' => 'DELETE', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'profileId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'get' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}', 'httpMethod' => 'GET', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'profileId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'insert' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles', 'httpMethod' => 'POST', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'list' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles', 'httpMethod' => 'GET', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'max-results' => ['location' => 'query', 'type' => 'integer'], 'start-index' => ['location' => 'query', 'type' => 'integer']]], 'patch' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}', 'httpMethod' => 'PATCH', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'profileId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'update' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}', 'httpMethod' => 'PUT', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'profileId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]]]]);
$this->management_remarketingAudience = new \Google\Site_Kit_Dependencies\Google\Service\Analytics\Resource\ManagementRemarketingAudience($this, $this->serviceName, 'remarketingAudience', ['methods' => ['delete' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences/{remarketingAudienceId}', 'httpMethod' => 'DELETE', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'remarketingAudienceId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'get' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences/{remarketingAudienceId}', 'httpMethod' => 'GET', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'remarketingAudienceId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'insert' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences', 'httpMethod' => 'POST', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'list' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences', 'httpMethod' => 'GET', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'max-results' => ['location' => 'query', 'type' => 'integer'], 'start-index' => ['location' => 'query', 'type' => 'integer'], 'type' => ['location' => 'query', 'type' => 'string']]], 'patch' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences/{remarketingAudienceId}', 'httpMethod' => 'PATCH', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'remarketingAudienceId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'update' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences/{remarketingAudienceId}', 'httpMethod' => 'PUT', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'remarketingAudienceId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]]]]);
$this->management_segments = new \Google\Site_Kit_Dependencies\Google\Service\Analytics\Resource\ManagementSegments($this, $this->serviceName, 'segments', ['methods' => ['list' => ['path' => 'management/segments', 'httpMethod' => 'GET', 'parameters' => ['max-results' => ['location' => 'query', 'type' => 'integer'], 'start-index' => ['location' => 'query', 'type' => 'integer']]]]]);
$this->management_unsampledReports = new \Google\Site_Kit_Dependencies\Google\Service\Analytics\Resource\ManagementUnsampledReports($this, $this->serviceName, 'unsampledReports', ['methods' => ['delete' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports/{unsampledReportId}', 'httpMethod' => 'DELETE', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'profileId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'unsampledReportId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'get' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports/{unsampledReportId}', 'httpMethod' => 'GET', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'profileId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'unsampledReportId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'insert' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports', 'httpMethod' => 'POST', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'profileId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'list' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports', 'httpMethod' => 'GET', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'profileId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'max-results' => ['location' => 'query', 'type' => 'integer'], 'start-index' => ['location' => 'query', 'type' => 'integer']]]]]);
$this->management_uploads = new \Google\Site_Kit_Dependencies\Google\Service\Analytics\Resource\ManagementUploads($this, $this->serviceName, 'uploads', ['methods' => ['deleteUploadData' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/deleteUploadData', 'httpMethod' => 'POST', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'customDataSourceId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'get' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads/{uploadId}', 'httpMethod' => 'GET', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'customDataSourceId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'uploadId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'list' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads', 'httpMethod' => 'GET', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'customDataSourceId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'max-results' => ['location' => 'query', 'type' => 'integer'], 'start-index' => ['location' => 'query', 'type' => 'integer']]], 'uploadData' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads', 'httpMethod' => 'POST', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'customDataSourceId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]]]]);
$this->management_webPropertyAdWordsLinks = new \Google\Site_Kit_Dependencies\Google\Service\Analytics\Resource\ManagementWebPropertyAdWordsLinks($this, $this->serviceName, 'webPropertyAdWordsLinks', ['methods' => ['delete' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}', 'httpMethod' => 'DELETE', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyAdWordsLinkId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'get' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}', 'httpMethod' => 'GET', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyAdWordsLinkId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'insert' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks', 'httpMethod' => 'POST', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'list' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks', 'httpMethod' => 'GET', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'max-results' => ['location' => 'query', 'type' => 'integer'], 'start-index' => ['location' => 'query', 'type' => 'integer']]], 'patch' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}', 'httpMethod' => 'PATCH', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyAdWordsLinkId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'update' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}', 'httpMethod' => 'PUT', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyAdWordsLinkId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]]]]);
$this->management_webproperties = new \Google\Site_Kit_Dependencies\Google\Service\Analytics\Resource\ManagementWebproperties($this, $this->serviceName, 'webproperties', ['methods' => ['get' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}', 'httpMethod' => 'GET', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'insert' => ['path' => 'management/accounts/{accountId}/webproperties', 'httpMethod' => 'POST', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'list' => ['path' => 'management/accounts/{accountId}/webproperties', 'httpMethod' => 'GET', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'max-results' => ['location' => 'query', 'type' => 'integer'], 'start-index' => ['location' => 'query', 'type' => 'integer']]], 'patch' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}', 'httpMethod' => 'PATCH', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'update' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}', 'httpMethod' => 'PUT', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]]]]);
$this->management_webpropertyUserLinks = new \Google\Site_Kit_Dependencies\Google\Service\Analytics\Resource\ManagementWebpropertyUserLinks($this, $this->serviceName, 'webpropertyUserLinks', ['methods' => ['delete' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks/{linkId}', 'httpMethod' => 'DELETE', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'linkId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'insert' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks', 'httpMethod' => 'POST', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'list' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks', 'httpMethod' => 'GET', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'max-results' => ['location' => 'query', 'type' => 'integer'], 'start-index' => ['location' => 'query', 'type' => 'integer']]], 'update' => ['path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks/{linkId}', 'httpMethod' => 'PUT', 'parameters' => ['accountId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'webPropertyId' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'linkId' => ['location' => 'path', 'type' => 'string', 'required' => \true]]]]]);
$this->metadata_columns = new \Google\Site_Kit_Dependencies\Google\Service\Analytics\Resource\MetadataColumns($this, $this->serviceName, 'columns', ['methods' => ['list' => ['path' => 'metadata/{reportType}/columns', 'httpMethod' => 'GET', 'parameters' => ['reportType' => ['location' => 'path', 'type' => 'string', 'required' => \true]]]]]);
$this->provisioning = new \Google\Site_Kit_Dependencies\Google\Service\Analytics\Resource\Provisioning($this, $this->serviceName, 'provisioning', ['methods' => ['createAccountTicket' => ['path' => 'provisioning/createAccountTicket', 'httpMethod' => 'POST', 'parameters' => []], 'createAccountTree' => ['path' => 'provisioning/createAccountTree', 'httpMethod' => 'POST', 'parameters' => []]]]);
$this->userDeletion_userDeletionRequest = new \Google\Site_Kit_Dependencies\Google\Service\Analytics\Resource\UserDeletionUserDeletionRequest($this, $this->serviceName, 'userDeletionRequest', ['methods' => ['upsert' => ['path' => 'userDeletion/userDeletionRequests:upsert', 'httpMethod' => 'POST', 'parameters' => []]]]);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics');

View File

@ -0,0 +1,182 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Analytics;
class Account extends \Google\Site_Kit_Dependencies\Google\Model
{
protected $childLinkType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\AccountChildLink::class;
protected $childLinkDataType = '';
/**
* @var string
*/
public $created;
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $name;
protected $permissionsType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\AccountPermissions::class;
protected $permissionsDataType = '';
/**
* @var string
*/
public $selfLink;
/**
* @var bool
*/
public $starred;
/**
* @var string
*/
public $updated;
/**
* @param AccountChildLink
*/
public function setChildLink(\Google\Site_Kit_Dependencies\Google\Service\Analytics\AccountChildLink $childLink)
{
$this->childLink = $childLink;
}
/**
* @return AccountChildLink
*/
public function getChildLink()
{
return $this->childLink;
}
/**
* @param string
*/
public function setCreated($created)
{
$this->created = $created;
}
/**
* @return string
*/
public function getCreated()
{
return $this->created;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param AccountPermissions
*/
public function setPermissions(\Google\Site_Kit_Dependencies\Google\Service\Analytics\AccountPermissions $permissions)
{
$this->permissions = $permissions;
}
/**
* @return AccountPermissions
*/
public function getPermissions()
{
return $this->permissions;
}
/**
* @param string
*/
public function setSelfLink($selfLink)
{
$this->selfLink = $selfLink;
}
/**
* @return string
*/
public function getSelfLink()
{
return $this->selfLink;
}
/**
* @param bool
*/
public function setStarred($starred)
{
$this->starred = $starred;
}
/**
* @return bool
*/
public function getStarred()
{
return $this->starred;
}
/**
* @param string
*/
public function setUpdated($updated)
{
$this->updated = $updated;
}
/**
* @return string
*/
public function getUpdated()
{
return $this->updated;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\Account::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_Account');

View File

@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Analytics;
class AccountChildLink extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var string
*/
public $href;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setHref($href)
{
$this->href = $href;
}
/**
* @return string
*/
public function getHref()
{
return $this->href;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\AccountChildLink::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_AccountChildLink');

View File

@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Analytics;
class AccountPermissions extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'effective';
/**
* @var string[]
*/
public $effective;
/**
* @param string[]
*/
public function setEffective($effective)
{
$this->effective = $effective;
}
/**
* @return string[]
*/
public function getEffective()
{
return $this->effective;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\AccountPermissions::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_AccountPermissions');

View File

@ -0,0 +1,96 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Analytics;
class AccountRef extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var string
*/
public $href;
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setHref($href)
{
$this->href = $href;
}
/**
* @return string
*/
public function getHref()
{
return $this->href;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\AccountRef::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_AccountRef');

View File

@ -0,0 +1,167 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Analytics;
class AccountSummaries extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'items';
protected $itemsType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\AccountSummary::class;
protected $itemsDataType = 'array';
/**
* @var int
*/
public $itemsPerPage;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $nextLink;
/**
* @var string
*/
public $previousLink;
/**
* @var int
*/
public $startIndex;
/**
* @var int
*/
public $totalResults;
/**
* @var string
*/
public $username;
/**
* @param AccountSummary[]
*/
public function setItems($items)
{
$this->items = $items;
}
/**
* @return AccountSummary[]
*/
public function getItems()
{
return $this->items;
}
/**
* @param int
*/
public function setItemsPerPage($itemsPerPage)
{
$this->itemsPerPage = $itemsPerPage;
}
/**
* @return int
*/
public function getItemsPerPage()
{
return $this->itemsPerPage;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setNextLink($nextLink)
{
$this->nextLink = $nextLink;
}
/**
* @return string
*/
public function getNextLink()
{
return $this->nextLink;
}
/**
* @param string
*/
public function setPreviousLink($previousLink)
{
$this->previousLink = $previousLink;
}
/**
* @return string
*/
public function getPreviousLink()
{
return $this->previousLink;
}
/**
* @param int
*/
public function setStartIndex($startIndex)
{
$this->startIndex = $startIndex;
}
/**
* @return int
*/
public function getStartIndex()
{
return $this->startIndex;
}
/**
* @param int
*/
public function setTotalResults($totalResults)
{
$this->totalResults = $totalResults;
}
/**
* @return int
*/
public function getTotalResults()
{
return $this->totalResults;
}
/**
* @param string
*/
public function setUsername($username)
{
$this->username = $username;
}
/**
* @return string
*/
public function getUsername()
{
return $this->username;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\AccountSummaries::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_AccountSummaries');

View File

@ -0,0 +1,113 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Analytics;
class AccountSummary extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'webProperties';
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $name;
/**
* @var bool
*/
public $starred;
protected $webPropertiesType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\WebPropertySummary::class;
protected $webPropertiesDataType = 'array';
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param bool
*/
public function setStarred($starred)
{
$this->starred = $starred;
}
/**
* @return bool
*/
public function getStarred()
{
return $this->starred;
}
/**
* @param WebPropertySummary[]
*/
public function setWebProperties($webProperties)
{
$this->webProperties = $webProperties;
}
/**
* @return WebPropertySummary[]
*/
public function getWebProperties()
{
return $this->webProperties;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\AccountSummary::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_AccountSummary');

View File

@ -0,0 +1,126 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Analytics;
class AccountTicket extends \Google\Site_Kit_Dependencies\Google\Model
{
protected $accountType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\Account::class;
protected $accountDataType = '';
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $kind;
protected $profileType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\Profile::class;
protected $profileDataType = '';
/**
* @var string
*/
public $redirectUri;
protected $webpropertyType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\Webproperty::class;
protected $webpropertyDataType = '';
/**
* @param Account
*/
public function setAccount(\Google\Site_Kit_Dependencies\Google\Service\Analytics\Account $account)
{
$this->account = $account;
}
/**
* @return Account
*/
public function getAccount()
{
return $this->account;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param Profile
*/
public function setProfile(\Google\Site_Kit_Dependencies\Google\Service\Analytics\Profile $profile)
{
$this->profile = $profile;
}
/**
* @return Profile
*/
public function getProfile()
{
return $this->profile;
}
/**
* @param string
*/
public function setRedirectUri($redirectUri)
{
$this->redirectUri = $redirectUri;
}
/**
* @return string
*/
public function getRedirectUri()
{
return $this->redirectUri;
}
/**
* @param Webproperty
*/
public function setWebproperty(\Google\Site_Kit_Dependencies\Google\Service\Analytics\Webproperty $webproperty)
{
$this->webproperty = $webproperty;
}
/**
* @return Webproperty
*/
public function getWebproperty()
{
return $this->webproperty;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\AccountTicket::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_AccountTicket');

View File

@ -0,0 +1,132 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Analytics;
class AccountTreeRequest extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var string
*/
public $accountName;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $profileName;
/**
* @var string
*/
public $timezone;
/**
* @var string
*/
public $webpropertyName;
/**
* @var string
*/
public $websiteUrl;
/**
* @param string
*/
public function setAccountName($accountName)
{
$this->accountName = $accountName;
}
/**
* @return string
*/
public function getAccountName()
{
return $this->accountName;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setProfileName($profileName)
{
$this->profileName = $profileName;
}
/**
* @return string
*/
public function getProfileName()
{
return $this->profileName;
}
/**
* @param string
*/
public function setTimezone($timezone)
{
$this->timezone = $timezone;
}
/**
* @return string
*/
public function getTimezone()
{
return $this->timezone;
}
/**
* @param string
*/
public function setWebpropertyName($webpropertyName)
{
$this->webpropertyName = $webpropertyName;
}
/**
* @return string
*/
public function getWebpropertyName()
{
return $this->webpropertyName;
}
/**
* @param string
*/
public function setWebsiteUrl($websiteUrl)
{
$this->websiteUrl = $websiteUrl;
}
/**
* @return string
*/
public function getWebsiteUrl()
{
return $this->websiteUrl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\AccountTreeRequest::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_AccountTreeRequest');

View File

@ -0,0 +1,90 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Analytics;
class AccountTreeResponse extends \Google\Site_Kit_Dependencies\Google\Model
{
protected $accountType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\Account::class;
protected $accountDataType = '';
/**
* @var string
*/
public $kind;
protected $profileType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\Profile::class;
protected $profileDataType = '';
protected $webpropertyType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\Webproperty::class;
protected $webpropertyDataType = '';
/**
* @param Account
*/
public function setAccount(\Google\Site_Kit_Dependencies\Google\Service\Analytics\Account $account)
{
$this->account = $account;
}
/**
* @return Account
*/
public function getAccount()
{
return $this->account;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param Profile
*/
public function setProfile(\Google\Site_Kit_Dependencies\Google\Service\Analytics\Profile $profile)
{
$this->profile = $profile;
}
/**
* @return Profile
*/
public function getProfile()
{
return $this->profile;
}
/**
* @param Webproperty
*/
public function setWebproperty(\Google\Site_Kit_Dependencies\Google\Service\Analytics\Webproperty $webproperty)
{
$this->webproperty = $webproperty;
}
/**
* @return Webproperty
*/
public function getWebproperty()
{
return $this->webproperty;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\AccountTreeResponse::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_AccountTreeResponse');

View File

@ -0,0 +1,167 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Analytics;
class Accounts extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'items';
protected $itemsType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\Account::class;
protected $itemsDataType = 'array';
/**
* @var int
*/
public $itemsPerPage;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $nextLink;
/**
* @var string
*/
public $previousLink;
/**
* @var int
*/
public $startIndex;
/**
* @var int
*/
public $totalResults;
/**
* @var string
*/
public $username;
/**
* @param Account[]
*/
public function setItems($items)
{
$this->items = $items;
}
/**
* @return Account[]
*/
public function getItems()
{
return $this->items;
}
/**
* @param int
*/
public function setItemsPerPage($itemsPerPage)
{
$this->itemsPerPage = $itemsPerPage;
}
/**
* @return int
*/
public function getItemsPerPage()
{
return $this->itemsPerPage;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setNextLink($nextLink)
{
$this->nextLink = $nextLink;
}
/**
* @return string
*/
public function getNextLink()
{
return $this->nextLink;
}
/**
* @param string
*/
public function setPreviousLink($previousLink)
{
$this->previousLink = $previousLink;
}
/**
* @return string
*/
public function getPreviousLink()
{
return $this->previousLink;
}
/**
* @param int
*/
public function setStartIndex($startIndex)
{
$this->startIndex = $startIndex;
}
/**
* @return int
*/
public function getStartIndex()
{
return $this->startIndex;
}
/**
* @param int
*/
public function setTotalResults($totalResults)
{
$this->totalResults = $totalResults;
}
/**
* @return int
*/
public function getTotalResults()
{
return $this->totalResults;
}
/**
* @param string
*/
public function setUsername($username)
{
$this->username = $username;
}
/**
* @return string
*/
public function getUsername()
{
return $this->username;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\Accounts::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_Accounts');

View File

@ -0,0 +1,78 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Analytics;
class AdWordsAccount extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var bool
*/
public $autoTaggingEnabled;
/**
* @var string
*/
public $customerId;
/**
* @var string
*/
public $kind;
/**
* @param bool
*/
public function setAutoTaggingEnabled($autoTaggingEnabled)
{
$this->autoTaggingEnabled = $autoTaggingEnabled;
}
/**
* @return bool
*/
public function getAutoTaggingEnabled()
{
return $this->autoTaggingEnabled;
}
/**
* @param string
*/
public function setCustomerId($customerId)
{
$this->customerId = $customerId;
}
/**
* @return string
*/
public function getCustomerId()
{
return $this->customerId;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\AdWordsAccount::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_AdWordsAccount');

View File

@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Analytics;
class AnalyticsDataimportDeleteUploadDataRequest extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'customDataImportUids';
/**
* @var string[]
*/
public $customDataImportUids;
/**
* @param string[]
*/
public function setCustomDataImportUids($customDataImportUids)
{
$this->customDataImportUids = $customDataImportUids;
}
/**
* @return string[]
*/
public function getCustomDataImportUids()
{
return $this->customDataImportUids;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\AnalyticsDataimportDeleteUploadDataRequest::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_AnalyticsDataimportDeleteUploadDataRequest');

View File

@ -0,0 +1,78 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Analytics;
class Column extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var string[]
*/
public $attributes;
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $kind;
/**
* @param string[]
*/
public function setAttributes($attributes)
{
$this->attributes = $attributes;
}
/**
* @return string[]
*/
public function getAttributes()
{
return $this->attributes;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\Column::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_Column');

View File

@ -0,0 +1,113 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Analytics;
class Columns extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'items';
/**
* @var string[]
*/
public $attributeNames;
/**
* @var string
*/
public $etag;
protected $itemsType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\Column::class;
protected $itemsDataType = 'array';
/**
* @var string
*/
public $kind;
/**
* @var int
*/
public $totalResults;
/**
* @param string[]
*/
public function setAttributeNames($attributeNames)
{
$this->attributeNames = $attributeNames;
}
/**
* @return string[]
*/
public function getAttributeNames()
{
return $this->attributeNames;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param Column[]
*/
public function setItems($items)
{
$this->items = $items;
}
/**
* @return Column[]
*/
public function getItems()
{
return $this->items;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param int
*/
public function setTotalResults($totalResults)
{
$this->totalResults = $totalResults;
}
/**
* @return int
*/
public function getTotalResults()
{
return $this->totalResults;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\Columns::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_Columns');

View File

@ -0,0 +1,309 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Analytics;
class CustomDataSource extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'schema';
/**
* @var string
*/
public $accountId;
protected $childLinkType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\CustomDataSourceChildLink::class;
protected $childLinkDataType = '';
/**
* @var string
*/
public $created;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $importBehavior;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $name;
protected $parentLinkType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\CustomDataSourceParentLink::class;
protected $parentLinkDataType = '';
/**
* @var string[]
*/
public $profilesLinked;
/**
* @var string[]
*/
public $schema;
/**
* @var string
*/
public $selfLink;
/**
* @var string
*/
public $type;
/**
* @var string
*/
public $updated;
/**
* @var string
*/
public $uploadType;
/**
* @var string
*/
public $webPropertyId;
/**
* @param string
*/
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
/**
* @return string
*/
public function getAccountId()
{
return $this->accountId;
}
/**
* @param CustomDataSourceChildLink
*/
public function setChildLink(\Google\Site_Kit_Dependencies\Google\Service\Analytics\CustomDataSourceChildLink $childLink)
{
$this->childLink = $childLink;
}
/**
* @return CustomDataSourceChildLink
*/
public function getChildLink()
{
return $this->childLink;
}
/**
* @param string
*/
public function setCreated($created)
{
$this->created = $created;
}
/**
* @return string
*/
public function getCreated()
{
return $this->created;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setImportBehavior($importBehavior)
{
$this->importBehavior = $importBehavior;
}
/**
* @return string
*/
public function getImportBehavior()
{
return $this->importBehavior;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param CustomDataSourceParentLink
*/
public function setParentLink(\Google\Site_Kit_Dependencies\Google\Service\Analytics\CustomDataSourceParentLink $parentLink)
{
$this->parentLink = $parentLink;
}
/**
* @return CustomDataSourceParentLink
*/
public function getParentLink()
{
return $this->parentLink;
}
/**
* @param string[]
*/
public function setProfilesLinked($profilesLinked)
{
$this->profilesLinked = $profilesLinked;
}
/**
* @return string[]
*/
public function getProfilesLinked()
{
return $this->profilesLinked;
}
/**
* @param string[]
*/
public function setSchema($schema)
{
$this->schema = $schema;
}
/**
* @return string[]
*/
public function getSchema()
{
return $this->schema;
}
/**
* @param string
*/
public function setSelfLink($selfLink)
{
$this->selfLink = $selfLink;
}
/**
* @return string
*/
public function getSelfLink()
{
return $this->selfLink;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
/**
* @param string
*/
public function setUpdated($updated)
{
$this->updated = $updated;
}
/**
* @return string
*/
public function getUpdated()
{
return $this->updated;
}
/**
* @param string
*/
public function setUploadType($uploadType)
{
$this->uploadType = $uploadType;
}
/**
* @return string
*/
public function getUploadType()
{
return $this->uploadType;
}
/**
* @param string
*/
public function setWebPropertyId($webPropertyId)
{
$this->webPropertyId = $webPropertyId;
}
/**
* @return string
*/
public function getWebPropertyId()
{
return $this->webPropertyId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\CustomDataSource::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_CustomDataSource');

View File

@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Analytics;
class CustomDataSourceChildLink extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var string
*/
public $href;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setHref($href)
{
$this->href = $href;
}
/**
* @return string
*/
public function getHref()
{
return $this->href;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\CustomDataSourceChildLink::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_CustomDataSourceChildLink');

View File

@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Analytics;
class CustomDataSourceParentLink extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var string
*/
public $href;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setHref($href)
{
$this->href = $href;
}
/**
* @return string
*/
public function getHref()
{
return $this->href;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\CustomDataSourceParentLink::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_CustomDataSourceParentLink');

View File

@ -0,0 +1,167 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Analytics;
class CustomDataSources extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'items';
protected $itemsType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\CustomDataSource::class;
protected $itemsDataType = 'array';
/**
* @var int
*/
public $itemsPerPage;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $nextLink;
/**
* @var string
*/
public $previousLink;
/**
* @var int
*/
public $startIndex;
/**
* @var int
*/
public $totalResults;
/**
* @var string
*/
public $username;
/**
* @param CustomDataSource[]
*/
public function setItems($items)
{
$this->items = $items;
}
/**
* @return CustomDataSource[]
*/
public function getItems()
{
return $this->items;
}
/**
* @param int
*/
public function setItemsPerPage($itemsPerPage)
{
$this->itemsPerPage = $itemsPerPage;
}
/**
* @return int
*/
public function getItemsPerPage()
{
return $this->itemsPerPage;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setNextLink($nextLink)
{
$this->nextLink = $nextLink;
}
/**
* @return string
*/
public function getNextLink()
{
return $this->nextLink;
}
/**
* @param string
*/
public function setPreviousLink($previousLink)
{
$this->previousLink = $previousLink;
}
/**
* @return string
*/
public function getPreviousLink()
{
return $this->previousLink;
}
/**
* @param int
*/
public function setStartIndex($startIndex)
{
$this->startIndex = $startIndex;
}
/**
* @return int
*/
public function getStartIndex()
{
return $this->startIndex;
}
/**
* @param int
*/
public function setTotalResults($totalResults)
{
$this->totalResults = $totalResults;
}
/**
* @return int
*/
public function getTotalResults()
{
return $this->totalResults;
}
/**
* @param string
*/
public function setUsername($username)
{
$this->username = $username;
}
/**
* @return string
*/
public function getUsername()
{
return $this->username;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\CustomDataSources::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_CustomDataSources');

View File

@ -0,0 +1,238 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Analytics;
class CustomDimension extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var string
*/
public $accountId;
/**
* @var bool
*/
public $active;
/**
* @var string
*/
public $created;
/**
* @var string
*/
public $id;
/**
* @var int
*/
public $index;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $name;
protected $parentLinkType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\CustomDimensionParentLink::class;
protected $parentLinkDataType = '';
/**
* @var string
*/
public $scope;
/**
* @var string
*/
public $selfLink;
/**
* @var string
*/
public $updated;
/**
* @var string
*/
public $webPropertyId;
/**
* @param string
*/
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
/**
* @return string
*/
public function getAccountId()
{
return $this->accountId;
}
/**
* @param bool
*/
public function setActive($active)
{
$this->active = $active;
}
/**
* @return bool
*/
public function getActive()
{
return $this->active;
}
/**
* @param string
*/
public function setCreated($created)
{
$this->created = $created;
}
/**
* @return string
*/
public function getCreated()
{
return $this->created;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param int
*/
public function setIndex($index)
{
$this->index = $index;
}
/**
* @return int
*/
public function getIndex()
{
return $this->index;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param CustomDimensionParentLink
*/
public function setParentLink(\Google\Site_Kit_Dependencies\Google\Service\Analytics\CustomDimensionParentLink $parentLink)
{
$this->parentLink = $parentLink;
}
/**
* @return CustomDimensionParentLink
*/
public function getParentLink()
{
return $this->parentLink;
}
/**
* @param string
*/
public function setScope($scope)
{
$this->scope = $scope;
}
/**
* @return string
*/
public function getScope()
{
return $this->scope;
}
/**
* @param string
*/
public function setSelfLink($selfLink)
{
$this->selfLink = $selfLink;
}
/**
* @return string
*/
public function getSelfLink()
{
return $this->selfLink;
}
/**
* @param string
*/
public function setUpdated($updated)
{
$this->updated = $updated;
}
/**
* @return string
*/
public function getUpdated()
{
return $this->updated;
}
/**
* @param string
*/
public function setWebPropertyId($webPropertyId)
{
$this->webPropertyId = $webPropertyId;
}
/**
* @return string
*/
public function getWebPropertyId()
{
return $this->webPropertyId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\CustomDimension::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_CustomDimension');

View File

@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Analytics;
class CustomDimensionParentLink extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var string
*/
public $href;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setHref($href)
{
$this->href = $href;
}
/**
* @return string
*/
public function getHref()
{
return $this->href;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\CustomDimensionParentLink::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_CustomDimensionParentLink');

View File

@ -0,0 +1,167 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Analytics;
class CustomDimensions extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'items';
protected $itemsType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\CustomDimension::class;
protected $itemsDataType = 'array';
/**
* @var int
*/
public $itemsPerPage;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $nextLink;
/**
* @var string
*/
public $previousLink;
/**
* @var int
*/
public $startIndex;
/**
* @var int
*/
public $totalResults;
/**
* @var string
*/
public $username;
/**
* @param CustomDimension[]
*/
public function setItems($items)
{
$this->items = $items;
}
/**
* @return CustomDimension[]
*/
public function getItems()
{
return $this->items;
}
/**
* @param int
*/
public function setItemsPerPage($itemsPerPage)
{
$this->itemsPerPage = $itemsPerPage;
}
/**
* @return int
*/
public function getItemsPerPage()
{
return $this->itemsPerPage;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setNextLink($nextLink)
{
$this->nextLink = $nextLink;
}
/**
* @return string
*/
public function getNextLink()
{
return $this->nextLink;
}
/**
* @param string
*/
public function setPreviousLink($previousLink)
{
$this->previousLink = $previousLink;
}
/**
* @return string
*/
public function getPreviousLink()
{
return $this->previousLink;
}
/**
* @param int
*/
public function setStartIndex($startIndex)
{
$this->startIndex = $startIndex;
}
/**
* @return int
*/
public function getStartIndex()
{
return $this->startIndex;
}
/**
* @param int
*/
public function setTotalResults($totalResults)
{
$this->totalResults = $totalResults;
}
/**
* @return int
*/
public function getTotalResults()
{
return $this->totalResults;
}
/**
* @param string
*/
public function setUsername($username)
{
$this->username = $username;
}
/**
* @return string
*/
public function getUsername()
{
return $this->username;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\CustomDimensions::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_CustomDimensions');

View File

@ -0,0 +1,293 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Analytics;
class CustomMetric extends \Google\Site_Kit_Dependencies\Google\Model
{
protected $internal_gapi_mappings = ["maxValue" => "max_value", "minValue" => "min_value"];
/**
* @var string
*/
public $accountId;
/**
* @var bool
*/
public $active;
/**
* @var string
*/
public $created;
/**
* @var string
*/
public $id;
/**
* @var int
*/
public $index;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $maxValue;
/**
* @var string
*/
public $minValue;
/**
* @var string
*/
public $name;
protected $parentLinkType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\CustomMetricParentLink::class;
protected $parentLinkDataType = '';
/**
* @var string
*/
public $scope;
/**
* @var string
*/
public $selfLink;
/**
* @var string
*/
public $type;
/**
* @var string
*/
public $updated;
/**
* @var string
*/
public $webPropertyId;
/**
* @param string
*/
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
/**
* @return string
*/
public function getAccountId()
{
return $this->accountId;
}
/**
* @param bool
*/
public function setActive($active)
{
$this->active = $active;
}
/**
* @return bool
*/
public function getActive()
{
return $this->active;
}
/**
* @param string
*/
public function setCreated($created)
{
$this->created = $created;
}
/**
* @return string
*/
public function getCreated()
{
return $this->created;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param int
*/
public function setIndex($index)
{
$this->index = $index;
}
/**
* @return int
*/
public function getIndex()
{
return $this->index;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setMaxValue($maxValue)
{
$this->maxValue = $maxValue;
}
/**
* @return string
*/
public function getMaxValue()
{
return $this->maxValue;
}
/**
* @param string
*/
public function setMinValue($minValue)
{
$this->minValue = $minValue;
}
/**
* @return string
*/
public function getMinValue()
{
return $this->minValue;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param CustomMetricParentLink
*/
public function setParentLink(\Google\Site_Kit_Dependencies\Google\Service\Analytics\CustomMetricParentLink $parentLink)
{
$this->parentLink = $parentLink;
}
/**
* @return CustomMetricParentLink
*/
public function getParentLink()
{
return $this->parentLink;
}
/**
* @param string
*/
public function setScope($scope)
{
$this->scope = $scope;
}
/**
* @return string
*/
public function getScope()
{
return $this->scope;
}
/**
* @param string
*/
public function setSelfLink($selfLink)
{
$this->selfLink = $selfLink;
}
/**
* @return string
*/
public function getSelfLink()
{
return $this->selfLink;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
/**
* @param string
*/
public function setUpdated($updated)
{
$this->updated = $updated;
}
/**
* @return string
*/
public function getUpdated()
{
return $this->updated;
}
/**
* @param string
*/
public function setWebPropertyId($webPropertyId)
{
$this->webPropertyId = $webPropertyId;
}
/**
* @return string
*/
public function getWebPropertyId()
{
return $this->webPropertyId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\CustomMetric::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_CustomMetric');

View File

@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Analytics;
class CustomMetricParentLink extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var string
*/
public $href;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setHref($href)
{
$this->href = $href;
}
/**
* @return string
*/
public function getHref()
{
return $this->href;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\CustomMetricParentLink::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_CustomMetricParentLink');

View File

@ -0,0 +1,167 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Analytics;
class CustomMetrics extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'items';
protected $itemsType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\CustomMetric::class;
protected $itemsDataType = 'array';
/**
* @var int
*/
public $itemsPerPage;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $nextLink;
/**
* @var string
*/
public $previousLink;
/**
* @var int
*/
public $startIndex;
/**
* @var int
*/
public $totalResults;
/**
* @var string
*/
public $username;
/**
* @param CustomMetric[]
*/
public function setItems($items)
{
$this->items = $items;
}
/**
* @return CustomMetric[]
*/
public function getItems()
{
return $this->items;
}
/**
* @param int
*/
public function setItemsPerPage($itemsPerPage)
{
$this->itemsPerPage = $itemsPerPage;
}
/**
* @return int
*/
public function getItemsPerPage()
{
return $this->itemsPerPage;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setNextLink($nextLink)
{
$this->nextLink = $nextLink;
}
/**
* @return string
*/
public function getNextLink()
{
return $this->nextLink;
}
/**
* @param string
*/
public function setPreviousLink($previousLink)
{
$this->previousLink = $previousLink;
}
/**
* @return string
*/
public function getPreviousLink()
{
return $this->previousLink;
}
/**
* @param int
*/
public function setStartIndex($startIndex)
{
$this->startIndex = $startIndex;
}
/**
* @return int
*/
public function getStartIndex()
{
return $this->startIndex;
}
/**
* @param int
*/
public function setTotalResults($totalResults)
{
$this->totalResults = $totalResults;
}
/**
* @return int
*/
public function getTotalResults()
{
return $this->totalResults;
}
/**
* @param string
*/
public function setUsername($username)
{
$this->username = $username;
}
/**
* @return string
*/
public function getUsername()
{
return $this->username;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\CustomMetrics::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_CustomMetrics');

View File

@ -0,0 +1,147 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Analytics;
class EntityAdWordsLink extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'profileIds';
protected $adWordsAccountsType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\AdWordsAccount::class;
protected $adWordsAccountsDataType = 'array';
protected $entityType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\EntityAdWordsLinkEntity::class;
protected $entityDataType = '';
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $name;
/**
* @var string[]
*/
public $profileIds;
/**
* @var string
*/
public $selfLink;
/**
* @param AdWordsAccount[]
*/
public function setAdWordsAccounts($adWordsAccounts)
{
$this->adWordsAccounts = $adWordsAccounts;
}
/**
* @return AdWordsAccount[]
*/
public function getAdWordsAccounts()
{
return $this->adWordsAccounts;
}
/**
* @param EntityAdWordsLinkEntity
*/
public function setEntity(\Google\Site_Kit_Dependencies\Google\Service\Analytics\EntityAdWordsLinkEntity $entity)
{
$this->entity = $entity;
}
/**
* @return EntityAdWordsLinkEntity
*/
public function getEntity()
{
return $this->entity;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string[]
*/
public function setProfileIds($profileIds)
{
$this->profileIds = $profileIds;
}
/**
* @return string[]
*/
public function getProfileIds()
{
return $this->profileIds;
}
/**
* @param string
*/
public function setSelfLink($selfLink)
{
$this->selfLink = $selfLink;
}
/**
* @return string
*/
public function getSelfLink()
{
return $this->selfLink;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\EntityAdWordsLink::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_EntityAdWordsLink');

View File

@ -0,0 +1,40 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Analytics;
class EntityAdWordsLinkEntity extends \Google\Site_Kit_Dependencies\Google\Model
{
protected $webPropertyRefType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\WebPropertyRef::class;
protected $webPropertyRefDataType = '';
/**
* @param WebPropertyRef
*/
public function setWebPropertyRef(\Google\Site_Kit_Dependencies\Google\Service\Analytics\WebPropertyRef $webPropertyRef)
{
$this->webPropertyRef = $webPropertyRef;
}
/**
* @return WebPropertyRef
*/
public function getWebPropertyRef()
{
return $this->webPropertyRef;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\EntityAdWordsLinkEntity::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_EntityAdWordsLinkEntity');

View File

@ -0,0 +1,149 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Analytics;
class EntityAdWordsLinks extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'items';
protected $itemsType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\EntityAdWordsLink::class;
protected $itemsDataType = 'array';
/**
* @var int
*/
public $itemsPerPage;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $nextLink;
/**
* @var string
*/
public $previousLink;
/**
* @var int
*/
public $startIndex;
/**
* @var int
*/
public $totalResults;
/**
* @param EntityAdWordsLink[]
*/
public function setItems($items)
{
$this->items = $items;
}
/**
* @return EntityAdWordsLink[]
*/
public function getItems()
{
return $this->items;
}
/**
* @param int
*/
public function setItemsPerPage($itemsPerPage)
{
$this->itemsPerPage = $itemsPerPage;
}
/**
* @return int
*/
public function getItemsPerPage()
{
return $this->itemsPerPage;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setNextLink($nextLink)
{
$this->nextLink = $nextLink;
}
/**
* @return string
*/
public function getNextLink()
{
return $this->nextLink;
}
/**
* @param string
*/
public function setPreviousLink($previousLink)
{
$this->previousLink = $previousLink;
}
/**
* @return string
*/
public function getPreviousLink()
{
return $this->previousLink;
}
/**
* @param int
*/
public function setStartIndex($startIndex)
{
$this->startIndex = $startIndex;
}
/**
* @return int
*/
public function getStartIndex()
{
return $this->startIndex;
}
/**
* @param int
*/
public function setTotalResults($totalResults)
{
$this->totalResults = $totalResults;
}
/**
* @return int
*/
public function getTotalResults()
{
return $this->totalResults;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\EntityAdWordsLinks::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_EntityAdWordsLinks');

View File

@ -0,0 +1,126 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Analytics;
class EntityUserLink extends \Google\Site_Kit_Dependencies\Google\Model
{
protected $entityType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\EntityUserLinkEntity::class;
protected $entityDataType = '';
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $kind;
protected $permissionsType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\EntityUserLinkPermissions::class;
protected $permissionsDataType = '';
/**
* @var string
*/
public $selfLink;
protected $userRefType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\UserRef::class;
protected $userRefDataType = '';
/**
* @param EntityUserLinkEntity
*/
public function setEntity(\Google\Site_Kit_Dependencies\Google\Service\Analytics\EntityUserLinkEntity $entity)
{
$this->entity = $entity;
}
/**
* @return EntityUserLinkEntity
*/
public function getEntity()
{
return $this->entity;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param EntityUserLinkPermissions
*/
public function setPermissions(\Google\Site_Kit_Dependencies\Google\Service\Analytics\EntityUserLinkPermissions $permissions)
{
$this->permissions = $permissions;
}
/**
* @return EntityUserLinkPermissions
*/
public function getPermissions()
{
return $this->permissions;
}
/**
* @param string
*/
public function setSelfLink($selfLink)
{
$this->selfLink = $selfLink;
}
/**
* @return string
*/
public function getSelfLink()
{
return $this->selfLink;
}
/**
* @param UserRef
*/
public function setUserRef(\Google\Site_Kit_Dependencies\Google\Service\Analytics\UserRef $userRef)
{
$this->userRef = $userRef;
}
/**
* @return UserRef
*/
public function getUserRef()
{
return $this->userRef;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\EntityUserLink::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_EntityUserLink');

View File

@ -0,0 +1,72 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Analytics;
class EntityUserLinkEntity extends \Google\Site_Kit_Dependencies\Google\Model
{
protected $accountRefType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\AccountRef::class;
protected $accountRefDataType = '';
protected $profileRefType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\ProfileRef::class;
protected $profileRefDataType = '';
protected $webPropertyRefType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\WebPropertyRef::class;
protected $webPropertyRefDataType = '';
/**
* @param AccountRef
*/
public function setAccountRef(\Google\Site_Kit_Dependencies\Google\Service\Analytics\AccountRef $accountRef)
{
$this->accountRef = $accountRef;
}
/**
* @return AccountRef
*/
public function getAccountRef()
{
return $this->accountRef;
}
/**
* @param ProfileRef
*/
public function setProfileRef(\Google\Site_Kit_Dependencies\Google\Service\Analytics\ProfileRef $profileRef)
{
$this->profileRef = $profileRef;
}
/**
* @return ProfileRef
*/
public function getProfileRef()
{
return $this->profileRef;
}
/**
* @param WebPropertyRef
*/
public function setWebPropertyRef(\Google\Site_Kit_Dependencies\Google\Service\Analytics\WebPropertyRef $webPropertyRef)
{
$this->webPropertyRef = $webPropertyRef;
}
/**
* @return WebPropertyRef
*/
public function getWebPropertyRef()
{
return $this->webPropertyRef;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\EntityUserLinkEntity::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_EntityUserLinkEntity');

View File

@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Analytics;
class EntityUserLinkPermissions extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'local';
/**
* @var string[]
*/
public $effective;
/**
* @var string[]
*/
public $local;
/**
* @param string[]
*/
public function setEffective($effective)
{
$this->effective = $effective;
}
/**
* @return string[]
*/
public function getEffective()
{
return $this->effective;
}
/**
* @param string[]
*/
public function setLocal($local)
{
$this->local = $local;
}
/**
* @return string[]
*/
public function getLocal()
{
return $this->local;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\EntityUserLinkPermissions::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_EntityUserLinkPermissions');

View File

@ -0,0 +1,149 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Analytics;
class EntityUserLinks extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'items';
protected $itemsType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\EntityUserLink::class;
protected $itemsDataType = 'array';
/**
* @var int
*/
public $itemsPerPage;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $nextLink;
/**
* @var string
*/
public $previousLink;
/**
* @var int
*/
public $startIndex;
/**
* @var int
*/
public $totalResults;
/**
* @param EntityUserLink[]
*/
public function setItems($items)
{
$this->items = $items;
}
/**
* @return EntityUserLink[]
*/
public function getItems()
{
return $this->items;
}
/**
* @param int
*/
public function setItemsPerPage($itemsPerPage)
{
$this->itemsPerPage = $itemsPerPage;
}
/**
* @return int
*/
public function getItemsPerPage()
{
return $this->itemsPerPage;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setNextLink($nextLink)
{
$this->nextLink = $nextLink;
}
/**
* @return string
*/
public function getNextLink()
{
return $this->nextLink;
}
/**
* @param string
*/
public function setPreviousLink($previousLink)
{
$this->previousLink = $previousLink;
}
/**
* @return string
*/
public function getPreviousLink()
{
return $this->previousLink;
}
/**
* @param int
*/
public function setStartIndex($startIndex)
{
$this->startIndex = $startIndex;
}
/**
* @return int
*/
public function getStartIndex()
{
return $this->startIndex;
}
/**
* @param int
*/
public function setTotalResults($totalResults)
{
$this->totalResults = $totalResults;
}
/**
* @return int
*/
public function getTotalResults()
{
return $this->totalResults;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\EntityUserLinks::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_EntityUserLinks');

View File

@ -0,0 +1,507 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Analytics;
class Experiment extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'variations';
/**
* @var string
*/
public $accountId;
/**
* @var string
*/
public $created;
/**
* @var string
*/
public $description;
/**
* @var bool
*/
public $editableInGaUi;
/**
* @var string
*/
public $endTime;
/**
* @var bool
*/
public $equalWeighting;
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $internalWebPropertyId;
/**
* @var string
*/
public $kind;
/**
* @var int
*/
public $minimumExperimentLengthInDays;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $objectiveMetric;
/**
* @var string
*/
public $optimizationType;
protected $parentLinkType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\ExperimentParentLink::class;
protected $parentLinkDataType = '';
/**
* @var string
*/
public $profileId;
/**
* @var string
*/
public $reasonExperimentEnded;
/**
* @var bool
*/
public $rewriteVariationUrlsAsOriginal;
/**
* @var string
*/
public $selfLink;
/**
* @var string
*/
public $servingFramework;
/**
* @var string
*/
public $snippet;
/**
* @var string
*/
public $startTime;
/**
* @var string
*/
public $status;
public $trafficCoverage;
/**
* @var string
*/
public $updated;
protected $variationsType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\ExperimentVariations::class;
protected $variationsDataType = 'array';
/**
* @var string
*/
public $webPropertyId;
public $winnerConfidenceLevel;
/**
* @var bool
*/
public $winnerFound;
/**
* @param string
*/
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
/**
* @return string
*/
public function getAccountId()
{
return $this->accountId;
}
/**
* @param string
*/
public function setCreated($created)
{
$this->created = $created;
}
/**
* @return string
*/
public function getCreated()
{
return $this->created;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param bool
*/
public function setEditableInGaUi($editableInGaUi)
{
$this->editableInGaUi = $editableInGaUi;
}
/**
* @return bool
*/
public function getEditableInGaUi()
{
return $this->editableInGaUi;
}
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param bool
*/
public function setEqualWeighting($equalWeighting)
{
$this->equalWeighting = $equalWeighting;
}
/**
* @return bool
*/
public function getEqualWeighting()
{
return $this->equalWeighting;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setInternalWebPropertyId($internalWebPropertyId)
{
$this->internalWebPropertyId = $internalWebPropertyId;
}
/**
* @return string
*/
public function getInternalWebPropertyId()
{
return $this->internalWebPropertyId;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param int
*/
public function setMinimumExperimentLengthInDays($minimumExperimentLengthInDays)
{
$this->minimumExperimentLengthInDays = $minimumExperimentLengthInDays;
}
/**
* @return int
*/
public function getMinimumExperimentLengthInDays()
{
return $this->minimumExperimentLengthInDays;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setObjectiveMetric($objectiveMetric)
{
$this->objectiveMetric = $objectiveMetric;
}
/**
* @return string
*/
public function getObjectiveMetric()
{
return $this->objectiveMetric;
}
/**
* @param string
*/
public function setOptimizationType($optimizationType)
{
$this->optimizationType = $optimizationType;
}
/**
* @return string
*/
public function getOptimizationType()
{
return $this->optimizationType;
}
/**
* @param ExperimentParentLink
*/
public function setParentLink(\Google\Site_Kit_Dependencies\Google\Service\Analytics\ExperimentParentLink $parentLink)
{
$this->parentLink = $parentLink;
}
/**
* @return ExperimentParentLink
*/
public function getParentLink()
{
return $this->parentLink;
}
/**
* @param string
*/
public function setProfileId($profileId)
{
$this->profileId = $profileId;
}
/**
* @return string
*/
public function getProfileId()
{
return $this->profileId;
}
/**
* @param string
*/
public function setReasonExperimentEnded($reasonExperimentEnded)
{
$this->reasonExperimentEnded = $reasonExperimentEnded;
}
/**
* @return string
*/
public function getReasonExperimentEnded()
{
return $this->reasonExperimentEnded;
}
/**
* @param bool
*/
public function setRewriteVariationUrlsAsOriginal($rewriteVariationUrlsAsOriginal)
{
$this->rewriteVariationUrlsAsOriginal = $rewriteVariationUrlsAsOriginal;
}
/**
* @return bool
*/
public function getRewriteVariationUrlsAsOriginal()
{
return $this->rewriteVariationUrlsAsOriginal;
}
/**
* @param string
*/
public function setSelfLink($selfLink)
{
$this->selfLink = $selfLink;
}
/**
* @return string
*/
public function getSelfLink()
{
return $this->selfLink;
}
/**
* @param string
*/
public function setServingFramework($servingFramework)
{
$this->servingFramework = $servingFramework;
}
/**
* @return string
*/
public function getServingFramework()
{
return $this->servingFramework;
}
/**
* @param string
*/
public function setSnippet($snippet)
{
$this->snippet = $snippet;
}
/**
* @return string
*/
public function getSnippet()
{
return $this->snippet;
}
/**
* @param string
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
/**
* @param string
*/
public function setStatus($status)
{
$this->status = $status;
}
/**
* @return string
*/
public function getStatus()
{
return $this->status;
}
public function setTrafficCoverage($trafficCoverage)
{
$this->trafficCoverage = $trafficCoverage;
}
public function getTrafficCoverage()
{
return $this->trafficCoverage;
}
/**
* @param string
*/
public function setUpdated($updated)
{
$this->updated = $updated;
}
/**
* @return string
*/
public function getUpdated()
{
return $this->updated;
}
/**
* @param ExperimentVariations[]
*/
public function setVariations($variations)
{
$this->variations = $variations;
}
/**
* @return ExperimentVariations[]
*/
public function getVariations()
{
return $this->variations;
}
/**
* @param string
*/
public function setWebPropertyId($webPropertyId)
{
$this->webPropertyId = $webPropertyId;
}
/**
* @return string
*/
public function getWebPropertyId()
{
return $this->webPropertyId;
}
public function setWinnerConfidenceLevel($winnerConfidenceLevel)
{
$this->winnerConfidenceLevel = $winnerConfidenceLevel;
}
public function getWinnerConfidenceLevel()
{
return $this->winnerConfidenceLevel;
}
/**
* @param bool
*/
public function setWinnerFound($winnerFound)
{
$this->winnerFound = $winnerFound;
}
/**
* @return bool
*/
public function getWinnerFound()
{
return $this->winnerFound;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\Experiment::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_Experiment');

View File

@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Analytics;
class ExperimentParentLink extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var string
*/
public $href;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setHref($href)
{
$this->href = $href;
}
/**
* @return string
*/
public function getHref()
{
return $this->href;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\ExperimentParentLink::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_ExperimentParentLink');

View File

@ -0,0 +1,105 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Analytics;
class ExperimentVariations extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $status;
/**
* @var string
*/
public $url;
public $weight;
/**
* @var bool
*/
public $won;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setStatus($status)
{
$this->status = $status;
}
/**
* @return string
*/
public function getStatus()
{
return $this->status;
}
/**
* @param string
*/
public function setUrl($url)
{
$this->url = $url;
}
/**
* @return string
*/
public function getUrl()
{
return $this->url;
}
public function setWeight($weight)
{
$this->weight = $weight;
}
public function getWeight()
{
return $this->weight;
}
/**
* @param bool
*/
public function setWon($won)
{
$this->won = $won;
}
/**
* @return bool
*/
public function getWon()
{
return $this->won;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\ExperimentVariations::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_ExperimentVariations');

View File

@ -0,0 +1,167 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Analytics;
class Experiments extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'items';
protected $itemsType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\Experiment::class;
protected $itemsDataType = 'array';
/**
* @var int
*/
public $itemsPerPage;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $nextLink;
/**
* @var string
*/
public $previousLink;
/**
* @var int
*/
public $startIndex;
/**
* @var int
*/
public $totalResults;
/**
* @var string
*/
public $username;
/**
* @param Experiment[]
*/
public function setItems($items)
{
$this->items = $items;
}
/**
* @return Experiment[]
*/
public function getItems()
{
return $this->items;
}
/**
* @param int
*/
public function setItemsPerPage($itemsPerPage)
{
$this->itemsPerPage = $itemsPerPage;
}
/**
* @return int
*/
public function getItemsPerPage()
{
return $this->itemsPerPage;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setNextLink($nextLink)
{
$this->nextLink = $nextLink;
}
/**
* @return string
*/
public function getNextLink()
{
return $this->nextLink;
}
/**
* @param string
*/
public function setPreviousLink($previousLink)
{
$this->previousLink = $previousLink;
}
/**
* @return string
*/
public function getPreviousLink()
{
return $this->previousLink;
}
/**
* @param int
*/
public function setStartIndex($startIndex)
{
$this->startIndex = $startIndex;
}
/**
* @return int
*/
public function getStartIndex()
{
return $this->startIndex;
}
/**
* @param int
*/
public function setTotalResults($totalResults)
{
$this->totalResults = $totalResults;
}
/**
* @return int
*/
public function getTotalResults()
{
return $this->totalResults;
}
/**
* @param string
*/
public function setUsername($username)
{
$this->username = $username;
}
/**
* @return string
*/
public function getUsername()
{
return $this->username;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\Experiments::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_Experiments');

View File

@ -0,0 +1,280 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Analytics;
class Filter extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var string
*/
public $accountId;
protected $advancedDetailsType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\FilterAdvancedDetails::class;
protected $advancedDetailsDataType = '';
/**
* @var string
*/
public $created;
protected $excludeDetailsType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\FilterExpression::class;
protected $excludeDetailsDataType = '';
/**
* @var string
*/
public $id;
protected $includeDetailsType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\FilterExpression::class;
protected $includeDetailsDataType = '';
/**
* @var string
*/
public $kind;
protected $lowercaseDetailsType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\FilterLowercaseDetails::class;
protected $lowercaseDetailsDataType = '';
/**
* @var string
*/
public $name;
protected $parentLinkType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\FilterParentLink::class;
protected $parentLinkDataType = '';
protected $searchAndReplaceDetailsType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\FilterSearchAndReplaceDetails::class;
protected $searchAndReplaceDetailsDataType = '';
/**
* @var string
*/
public $selfLink;
/**
* @var string
*/
public $type;
/**
* @var string
*/
public $updated;
protected $uppercaseDetailsType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\FilterUppercaseDetails::class;
protected $uppercaseDetailsDataType = '';
/**
* @param string
*/
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
/**
* @return string
*/
public function getAccountId()
{
return $this->accountId;
}
/**
* @param FilterAdvancedDetails
*/
public function setAdvancedDetails(\Google\Site_Kit_Dependencies\Google\Service\Analytics\FilterAdvancedDetails $advancedDetails)
{
$this->advancedDetails = $advancedDetails;
}
/**
* @return FilterAdvancedDetails
*/
public function getAdvancedDetails()
{
return $this->advancedDetails;
}
/**
* @param string
*/
public function setCreated($created)
{
$this->created = $created;
}
/**
* @return string
*/
public function getCreated()
{
return $this->created;
}
/**
* @param FilterExpression
*/
public function setExcludeDetails(\Google\Site_Kit_Dependencies\Google\Service\Analytics\FilterExpression $excludeDetails)
{
$this->excludeDetails = $excludeDetails;
}
/**
* @return FilterExpression
*/
public function getExcludeDetails()
{
return $this->excludeDetails;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param FilterExpression
*/
public function setIncludeDetails(\Google\Site_Kit_Dependencies\Google\Service\Analytics\FilterExpression $includeDetails)
{
$this->includeDetails = $includeDetails;
}
/**
* @return FilterExpression
*/
public function getIncludeDetails()
{
return $this->includeDetails;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param FilterLowercaseDetails
*/
public function setLowercaseDetails(\Google\Site_Kit_Dependencies\Google\Service\Analytics\FilterLowercaseDetails $lowercaseDetails)
{
$this->lowercaseDetails = $lowercaseDetails;
}
/**
* @return FilterLowercaseDetails
*/
public function getLowercaseDetails()
{
return $this->lowercaseDetails;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param FilterParentLink
*/
public function setParentLink(\Google\Site_Kit_Dependencies\Google\Service\Analytics\FilterParentLink $parentLink)
{
$this->parentLink = $parentLink;
}
/**
* @return FilterParentLink
*/
public function getParentLink()
{
return $this->parentLink;
}
/**
* @param FilterSearchAndReplaceDetails
*/
public function setSearchAndReplaceDetails(\Google\Site_Kit_Dependencies\Google\Service\Analytics\FilterSearchAndReplaceDetails $searchAndReplaceDetails)
{
$this->searchAndReplaceDetails = $searchAndReplaceDetails;
}
/**
* @return FilterSearchAndReplaceDetails
*/
public function getSearchAndReplaceDetails()
{
return $this->searchAndReplaceDetails;
}
/**
* @param string
*/
public function setSelfLink($selfLink)
{
$this->selfLink = $selfLink;
}
/**
* @return string
*/
public function getSelfLink()
{
return $this->selfLink;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
/**
* @param string
*/
public function setUpdated($updated)
{
$this->updated = $updated;
}
/**
* @return string
*/
public function getUpdated()
{
return $this->updated;
}
/**
* @param FilterUppercaseDetails
*/
public function setUppercaseDetails(\Google\Site_Kit_Dependencies\Google\Service\Analytics\FilterUppercaseDetails $uppercaseDetails)
{
$this->uppercaseDetails = $uppercaseDetails;
}
/**
* @return FilterUppercaseDetails
*/
public function getUppercaseDetails()
{
return $this->uppercaseDetails;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\Filter::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_Filter');

View File

@ -0,0 +1,258 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Analytics;
class FilterAdvancedDetails extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var bool
*/
public $caseSensitive;
/**
* @var string
*/
public $extractA;
/**
* @var string
*/
public $extractB;
/**
* @var string
*/
public $fieldA;
/**
* @var int
*/
public $fieldAIndex;
/**
* @var bool
*/
public $fieldARequired;
/**
* @var string
*/
public $fieldB;
/**
* @var int
*/
public $fieldBIndex;
/**
* @var bool
*/
public $fieldBRequired;
/**
* @var string
*/
public $outputConstructor;
/**
* @var string
*/
public $outputToField;
/**
* @var int
*/
public $outputToFieldIndex;
/**
* @var bool
*/
public $overrideOutputField;
/**
* @param bool
*/
public function setCaseSensitive($caseSensitive)
{
$this->caseSensitive = $caseSensitive;
}
/**
* @return bool
*/
public function getCaseSensitive()
{
return $this->caseSensitive;
}
/**
* @param string
*/
public function setExtractA($extractA)
{
$this->extractA = $extractA;
}
/**
* @return string
*/
public function getExtractA()
{
return $this->extractA;
}
/**
* @param string
*/
public function setExtractB($extractB)
{
$this->extractB = $extractB;
}
/**
* @return string
*/
public function getExtractB()
{
return $this->extractB;
}
/**
* @param string
*/
public function setFieldA($fieldA)
{
$this->fieldA = $fieldA;
}
/**
* @return string
*/
public function getFieldA()
{
return $this->fieldA;
}
/**
* @param int
*/
public function setFieldAIndex($fieldAIndex)
{
$this->fieldAIndex = $fieldAIndex;
}
/**
* @return int
*/
public function getFieldAIndex()
{
return $this->fieldAIndex;
}
/**
* @param bool
*/
public function setFieldARequired($fieldARequired)
{
$this->fieldARequired = $fieldARequired;
}
/**
* @return bool
*/
public function getFieldARequired()
{
return $this->fieldARequired;
}
/**
* @param string
*/
public function setFieldB($fieldB)
{
$this->fieldB = $fieldB;
}
/**
* @return string
*/
public function getFieldB()
{
return $this->fieldB;
}
/**
* @param int
*/
public function setFieldBIndex($fieldBIndex)
{
$this->fieldBIndex = $fieldBIndex;
}
/**
* @return int
*/
public function getFieldBIndex()
{
return $this->fieldBIndex;
}
/**
* @param bool
*/
public function setFieldBRequired($fieldBRequired)
{
$this->fieldBRequired = $fieldBRequired;
}
/**
* @return bool
*/
public function getFieldBRequired()
{
return $this->fieldBRequired;
}
/**
* @param string
*/
public function setOutputConstructor($outputConstructor)
{
$this->outputConstructor = $outputConstructor;
}
/**
* @return string
*/
public function getOutputConstructor()
{
return $this->outputConstructor;
}
/**
* @param string
*/
public function setOutputToField($outputToField)
{
$this->outputToField = $outputToField;
}
/**
* @return string
*/
public function getOutputToField()
{
return $this->outputToField;
}
/**
* @param int
*/
public function setOutputToFieldIndex($outputToFieldIndex)
{
$this->outputToFieldIndex = $outputToFieldIndex;
}
/**
* @return int
*/
public function getOutputToFieldIndex()
{
return $this->outputToFieldIndex;
}
/**
* @param bool
*/
public function setOverrideOutputField($overrideOutputField)
{
$this->overrideOutputField = $overrideOutputField;
}
/**
* @return bool
*/
public function getOverrideOutputField()
{
return $this->overrideOutputField;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\FilterAdvancedDetails::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_FilterAdvancedDetails');

View File

@ -0,0 +1,132 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Analytics;
class FilterExpression extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var bool
*/
public $caseSensitive;
/**
* @var string
*/
public $expressionValue;
/**
* @var string
*/
public $field;
/**
* @var int
*/
public $fieldIndex;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $matchType;
/**
* @param bool
*/
public function setCaseSensitive($caseSensitive)
{
$this->caseSensitive = $caseSensitive;
}
/**
* @return bool
*/
public function getCaseSensitive()
{
return $this->caseSensitive;
}
/**
* @param string
*/
public function setExpressionValue($expressionValue)
{
$this->expressionValue = $expressionValue;
}
/**
* @return string
*/
public function getExpressionValue()
{
return $this->expressionValue;
}
/**
* @param string
*/
public function setField($field)
{
$this->field = $field;
}
/**
* @return string
*/
public function getField()
{
return $this->field;
}
/**
* @param int
*/
public function setFieldIndex($fieldIndex)
{
$this->fieldIndex = $fieldIndex;
}
/**
* @return int
*/
public function getFieldIndex()
{
return $this->fieldIndex;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setMatchType($matchType)
{
$this->matchType = $matchType;
}
/**
* @return string
*/
public function getMatchType()
{
return $this->matchType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\FilterExpression::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_FilterExpression');

View File

@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Analytics;
class FilterLowercaseDetails extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var string
*/
public $field;
/**
* @var int
*/
public $fieldIndex;
/**
* @param string
*/
public function setField($field)
{
$this->field = $field;
}
/**
* @return string
*/
public function getField()
{
return $this->field;
}
/**
* @param int
*/
public function setFieldIndex($fieldIndex)
{
$this->fieldIndex = $fieldIndex;
}
/**
* @return int
*/
public function getFieldIndex()
{
return $this->fieldIndex;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\FilterLowercaseDetails::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_FilterLowercaseDetails');

View File

@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Analytics;
class FilterParentLink extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var string
*/
public $href;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setHref($href)
{
$this->href = $href;
}
/**
* @return string
*/
public function getHref()
{
return $this->href;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\FilterParentLink::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_FilterParentLink');

View File

@ -0,0 +1,114 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Analytics;
class FilterRef extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var string
*/
public $accountId;
/**
* @var string
*/
public $href;
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
/**
* @return string
*/
public function getAccountId()
{
return $this->accountId;
}
/**
* @param string
*/
public function setHref($href)
{
$this->href = $href;
}
/**
* @return string
*/
public function getHref()
{
return $this->href;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\FilterRef::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_FilterRef');

View File

@ -0,0 +1,114 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Analytics;
class FilterSearchAndReplaceDetails extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var bool
*/
public $caseSensitive;
/**
* @var string
*/
public $field;
/**
* @var int
*/
public $fieldIndex;
/**
* @var string
*/
public $replaceString;
/**
* @var string
*/
public $searchString;
/**
* @param bool
*/
public function setCaseSensitive($caseSensitive)
{
$this->caseSensitive = $caseSensitive;
}
/**
* @return bool
*/
public function getCaseSensitive()
{
return $this->caseSensitive;
}
/**
* @param string
*/
public function setField($field)
{
$this->field = $field;
}
/**
* @return string
*/
public function getField()
{
return $this->field;
}
/**
* @param int
*/
public function setFieldIndex($fieldIndex)
{
$this->fieldIndex = $fieldIndex;
}
/**
* @return int
*/
public function getFieldIndex()
{
return $this->fieldIndex;
}
/**
* @param string
*/
public function setReplaceString($replaceString)
{
$this->replaceString = $replaceString;
}
/**
* @return string
*/
public function getReplaceString()
{
return $this->replaceString;
}
/**
* @param string
*/
public function setSearchString($searchString)
{
$this->searchString = $searchString;
}
/**
* @return string
*/
public function getSearchString()
{
return $this->searchString;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\FilterSearchAndReplaceDetails::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_FilterSearchAndReplaceDetails');

View File

@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Analytics;
class FilterUppercaseDetails extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var string
*/
public $field;
/**
* @var int
*/
public $fieldIndex;
/**
* @param string
*/
public function setField($field)
{
$this->field = $field;
}
/**
* @return string
*/
public function getField()
{
return $this->field;
}
/**
* @param int
*/
public function setFieldIndex($fieldIndex)
{
$this->fieldIndex = $fieldIndex;
}
/**
* @return int
*/
public function getFieldIndex()
{
return $this->fieldIndex;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\FilterUppercaseDetails::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_FilterUppercaseDetails');

View File

@ -0,0 +1,167 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Analytics;
class Filters extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'items';
protected $itemsType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\Filter::class;
protected $itemsDataType = 'array';
/**
* @var int
*/
public $itemsPerPage;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $nextLink;
/**
* @var string
*/
public $previousLink;
/**
* @var int
*/
public $startIndex;
/**
* @var int
*/
public $totalResults;
/**
* @var string
*/
public $username;
/**
* @param Filter[]
*/
public function setItems($items)
{
$this->items = $items;
}
/**
* @return Filter[]
*/
public function getItems()
{
return $this->items;
}
/**
* @param int
*/
public function setItemsPerPage($itemsPerPage)
{
$this->itemsPerPage = $itemsPerPage;
}
/**
* @return int
*/
public function getItemsPerPage()
{
return $this->itemsPerPage;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setNextLink($nextLink)
{
$this->nextLink = $nextLink;
}
/**
* @return string
*/
public function getNextLink()
{
return $this->nextLink;
}
/**
* @param string
*/
public function setPreviousLink($previousLink)
{
$this->previousLink = $previousLink;
}
/**
* @return string
*/
public function getPreviousLink()
{
return $this->previousLink;
}
/**
* @param int
*/
public function setStartIndex($startIndex)
{
$this->startIndex = $startIndex;
}
/**
* @return int
*/
public function getStartIndex()
{
return $this->startIndex;
}
/**
* @param int
*/
public function setTotalResults($totalResults)
{
$this->totalResults = $totalResults;
}
/**
* @return int
*/
public function getTotalResults()
{
return $this->totalResults;
}
/**
* @param string
*/
public function setUsername($username)
{
$this->username = $username;
}
/**
* @return string
*/
public function getUsername()
{
return $this->username;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\Filters::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_Filters');

View File

@ -0,0 +1,323 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Analytics;
class GaData extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'rows';
protected $columnHeadersType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\GaDataColumnHeaders::class;
protected $columnHeadersDataType = 'array';
/**
* @var bool
*/
public $containsSampledData;
/**
* @var string
*/
public $dataLastRefreshed;
protected $dataTableType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\GaDataDataTable::class;
protected $dataTableDataType = '';
/**
* @var string
*/
public $id;
/**
* @var int
*/
public $itemsPerPage;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $nextLink;
/**
* @var string
*/
public $previousLink;
protected $profileInfoType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\GaDataProfileInfo::class;
protected $profileInfoDataType = '';
protected $queryType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\GaDataQuery::class;
protected $queryDataType = '';
/**
* @var string[]
*/
public $rows;
/**
* @var string
*/
public $sampleSize;
/**
* @var string
*/
public $sampleSpace;
/**
* @var string
*/
public $selfLink;
/**
* @var int
*/
public $totalResults;
/**
* @var string[]
*/
public $totalsForAllResults;
/**
* @param GaDataColumnHeaders[]
*/
public function setColumnHeaders($columnHeaders)
{
$this->columnHeaders = $columnHeaders;
}
/**
* @return GaDataColumnHeaders[]
*/
public function getColumnHeaders()
{
return $this->columnHeaders;
}
/**
* @param bool
*/
public function setContainsSampledData($containsSampledData)
{
$this->containsSampledData = $containsSampledData;
}
/**
* @return bool
*/
public function getContainsSampledData()
{
return $this->containsSampledData;
}
/**
* @param string
*/
public function setDataLastRefreshed($dataLastRefreshed)
{
$this->dataLastRefreshed = $dataLastRefreshed;
}
/**
* @return string
*/
public function getDataLastRefreshed()
{
return $this->dataLastRefreshed;
}
/**
* @param GaDataDataTable
*/
public function setDataTable(\Google\Site_Kit_Dependencies\Google\Service\Analytics\GaDataDataTable $dataTable)
{
$this->dataTable = $dataTable;
}
/**
* @return GaDataDataTable
*/
public function getDataTable()
{
return $this->dataTable;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param int
*/
public function setItemsPerPage($itemsPerPage)
{
$this->itemsPerPage = $itemsPerPage;
}
/**
* @return int
*/
public function getItemsPerPage()
{
return $this->itemsPerPage;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setNextLink($nextLink)
{
$this->nextLink = $nextLink;
}
/**
* @return string
*/
public function getNextLink()
{
return $this->nextLink;
}
/**
* @param string
*/
public function setPreviousLink($previousLink)
{
$this->previousLink = $previousLink;
}
/**
* @return string
*/
public function getPreviousLink()
{
return $this->previousLink;
}
/**
* @param GaDataProfileInfo
*/
public function setProfileInfo(\Google\Site_Kit_Dependencies\Google\Service\Analytics\GaDataProfileInfo $profileInfo)
{
$this->profileInfo = $profileInfo;
}
/**
* @return GaDataProfileInfo
*/
public function getProfileInfo()
{
return $this->profileInfo;
}
/**
* @param GaDataQuery
*/
public function setQuery(\Google\Site_Kit_Dependencies\Google\Service\Analytics\GaDataQuery $query)
{
$this->query = $query;
}
/**
* @return GaDataQuery
*/
public function getQuery()
{
return $this->query;
}
/**
* @param string[]
*/
public function setRows($rows)
{
$this->rows = $rows;
}
/**
* @return string[]
*/
public function getRows()
{
return $this->rows;
}
/**
* @param string
*/
public function setSampleSize($sampleSize)
{
$this->sampleSize = $sampleSize;
}
/**
* @return string
*/
public function getSampleSize()
{
return $this->sampleSize;
}
/**
* @param string
*/
public function setSampleSpace($sampleSpace)
{
$this->sampleSpace = $sampleSpace;
}
/**
* @return string
*/
public function getSampleSpace()
{
return $this->sampleSpace;
}
/**
* @param string
*/
public function setSelfLink($selfLink)
{
$this->selfLink = $selfLink;
}
/**
* @return string
*/
public function getSelfLink()
{
return $this->selfLink;
}
/**
* @param int
*/
public function setTotalResults($totalResults)
{
$this->totalResults = $totalResults;
}
/**
* @return int
*/
public function getTotalResults()
{
return $this->totalResults;
}
/**
* @param string[]
*/
public function setTotalsForAllResults($totalsForAllResults)
{
$this->totalsForAllResults = $totalsForAllResults;
}
/**
* @return string[]
*/
public function getTotalsForAllResults()
{
return $this->totalsForAllResults;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\GaData::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_GaData');

View File

@ -0,0 +1,78 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Analytics;
class GaDataColumnHeaders extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var string
*/
public $columnType;
/**
* @var string
*/
public $dataType;
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setColumnType($columnType)
{
$this->columnType = $columnType;
}
/**
* @return string
*/
public function getColumnType()
{
return $this->columnType;
}
/**
* @param string
*/
public function setDataType($dataType)
{
$this->dataType = $dataType;
}
/**
* @return string
*/
public function getDataType()
{
return $this->dataType;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\GaDataColumnHeaders::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_GaDataColumnHeaders');

View File

@ -0,0 +1,57 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Analytics;
class GaDataDataTable extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'rows';
protected $colsType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\GaDataDataTableCols::class;
protected $colsDataType = 'array';
protected $rowsType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\GaDataDataTableRows::class;
protected $rowsDataType = 'array';
/**
* @param GaDataDataTableCols[]
*/
public function setCols($cols)
{
$this->cols = $cols;
}
/**
* @return GaDataDataTableCols[]
*/
public function getCols()
{
return $this->cols;
}
/**
* @param GaDataDataTableRows[]
*/
public function setRows($rows)
{
$this->rows = $rows;
}
/**
* @return GaDataDataTableRows[]
*/
public function getRows()
{
return $this->rows;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\GaDataDataTable::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_GaDataDataTable');

View File

@ -0,0 +1,78 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Analytics;
class GaDataDataTableCols extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $label;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setLabel($label)
{
$this->label = $label;
}
/**
* @return string
*/
public function getLabel()
{
return $this->label;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\GaDataDataTableCols::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_GaDataDataTableCols');

View File

@ -0,0 +1,41 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Analytics;
class GaDataDataTableRows extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'c';
protected $cType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\GaDataDataTableRowsC::class;
protected $cDataType = 'array';
/**
* @param GaDataDataTableRowsC[]
*/
public function setC($c)
{
$this->c = $c;
}
/**
* @return GaDataDataTableRowsC[]
*/
public function getC()
{
return $this->c;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\GaDataDataTableRows::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_GaDataDataTableRows');

View File

@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Analytics;
class GaDataDataTableRowsC extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var string
*/
public $v;
/**
* @param string
*/
public function setV($v)
{
$this->v = $v;
}
/**
* @return string
*/
public function getV()
{
return $this->v;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\GaDataDataTableRowsC::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_GaDataDataTableRowsC');

View File

@ -0,0 +1,132 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Analytics;
class GaDataProfileInfo extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var string
*/
public $accountId;
/**
* @var string
*/
public $internalWebPropertyId;
/**
* @var string
*/
public $profileId;
/**
* @var string
*/
public $profileName;
/**
* @var string
*/
public $tableId;
/**
* @var string
*/
public $webPropertyId;
/**
* @param string
*/
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
/**
* @return string
*/
public function getAccountId()
{
return $this->accountId;
}
/**
* @param string
*/
public function setInternalWebPropertyId($internalWebPropertyId)
{
$this->internalWebPropertyId = $internalWebPropertyId;
}
/**
* @return string
*/
public function getInternalWebPropertyId()
{
return $this->internalWebPropertyId;
}
/**
* @param string
*/
public function setProfileId($profileId)
{
$this->profileId = $profileId;
}
/**
* @return string
*/
public function getProfileId()
{
return $this->profileId;
}
/**
* @param string
*/
public function setProfileName($profileName)
{
$this->profileName = $profileName;
}
/**
* @return string
*/
public function getProfileName()
{
return $this->profileName;
}
/**
* @param string
*/
public function setTableId($tableId)
{
$this->tableId = $tableId;
}
/**
* @return string
*/
public function getTableId()
{
return $this->tableId;
}
/**
* @param string
*/
public function setWebPropertyId($webPropertyId)
{
$this->webPropertyId = $webPropertyId;
}
/**
* @return string
*/
public function getWebPropertyId()
{
return $this->webPropertyId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\GaDataProfileInfo::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_GaDataProfileInfo');

Some files were not shown because too many files have changed in this diff Show More