From b54cbbc1c9b9421d8f15fece3b48e7388c126e24 Mon Sep 17 00:00:00 2001
From: Ian Barber Results Of Deferred Call:
";
foreach ($results as $item) {
diff --git a/examples/simplefileupload.php b/examples/simplefileupload.php
index f8bb75b8b..d31377216 100644
--- a/examples/simplefileupload.php
+++ b/examples/simplefileupload.php
@@ -46,6 +46,7 @@
$client->setClientId($client_id);
$client->setClientSecret($client_secret);
$client->setRedirectUri($redirect_uri);
+$client->addScope("https://www.googleapis.com/auth/drive")
$service = new Google_Service_Drive($client);
if (isset($_REQUEST['logout'])) {
diff --git a/examples/user-example.php b/examples/user-example.php
index d3ca45dc1..fbb189753 100644
--- a/examples/user-example.php
+++ b/examples/user-example.php
@@ -41,6 +41,7 @@
$client->setClientId($client_id);
$client->setClientSecret($client_secret);
$client->setRedirectUri($redirect_uri);
+$client->addScope("https://www.googleapis.com/auth/urlshortener");
/************************************************
When we create the service here, we pass the
diff --git a/src/Google/Auth/OAuth2.php b/src/Google/Auth/OAuth2.php
index 97c035187..e66f34c1e 100644
--- a/src/Google/Auth/OAuth2.php
+++ b/src/Google/Auth/OAuth2.php
@@ -99,7 +99,6 @@ public function authenticate($code)
// fetch the access token
$request = $this->client->getIo()->makeRequest(
new Google_Http_Request(
- $this->client,
self::OAUTH2_TOKEN_URI,
'POST',
array(),
@@ -302,7 +301,6 @@ public function refreshTokenWithAssertion($assertionCredentials = null)
private function refreshTokenRequest($params)
{
$http = new Google_Http_Request(
- $this->client,
self::OAUTH2_TOKEN_URI,
'POST',
array(),
@@ -343,7 +341,6 @@ public function revokeToken($token = null)
$token = $this->token['access_token'];
}
$request = new Google_Http_Request(
- $this->client,
self::OAUTH2_REVOKE_URI,
'POST',
array(),
@@ -409,7 +406,6 @@ public function retrieveCertsFromLocation($url)
// This relies on makeRequest caching certificate responses.
$request = $this->client->getIo()->makeRequest(
new Google_Http_Request(
- $this->client,
$url
)
);
diff --git a/src/Google/Client.php b/src/Google/Client.php
index 0afffa89d..018ca5459 100644
--- a/src/Google/Client.php
+++ b/src/Google/Client.php
@@ -36,6 +36,7 @@
class Google_Client
{
const LIBVER = "1.0.1-alpha";
+ const USER_AGENT_SUFFIX = "google-api-php-client/";
/**
* @var Google_Auth_Abstract $auth
*/
@@ -61,9 +62,6 @@ class Google_Client
*/
private $deferExecution = false;
- // Scopes available for the added services
- protected $availableScopes = array();
-
/** @var array $scopes */
// Scopes requested by the client
protected $requestedScopes = array();
@@ -100,18 +98,6 @@ function_exists('date_default_timezone_set')) {
$this->config = $config;
}
- /**
- * Adds the scopes available for a service
- */
- public function addService($service, $version = false, $availableScopes = array())
- {
- if ($this->authenticated) {
- throw new Google_Exception('Cant add services after having authenticated');
- } else {
- $this->availableScopes[$service] = $availableScopes;
- }
- }
-
/**
* Get a string containing the version of the library.
*
@@ -121,6 +107,16 @@ public function getLibraryVersion()
{
return self::LIBVER;
}
+
+ /**
+ * Shim function until templates are updated.
+ * @todo(ianbarber): remove this.
+ * @deprecated
+ */
+ public function addService($a, $b, $c)
+ {
+ return;
+ }
/**
* Attempt to exchange a code for an valid authentication token.
@@ -175,16 +171,14 @@ public function setAuthConfigFile($file)
public function prepareScopes()
{
if (empty($this->requestedScopes)) {
- foreach ($this->availableScopes as $service => $serviceScopes) {
- array_push($this->requestedScopes, $serviceScopes[0]);
- }
+ throw new Google_Auth_Exception("No scopes specified");
}
$scopes = implode(' ', $this->requestedScopes);
return $scopes;
}
/**
- * Set the OAuth 2.0 access token using the string that resulted from calling authenticate()
+ * Set the OAuth 2.0 access token using the string that resulted from calling createAuthUrl()
* or Google_Client#getAccessToken().
* @param string $accessToken JSON encoded string containing in the following format:
* {"access_token":"TOKEN", "refresh_token":"TOKEN", "token_type":"Bearer",
@@ -418,15 +412,33 @@ public function setAssertionCredentials(Google_Auth_AssertionCredentials $creds)
}
/**
- * This function allows you to overrule the automatically generated scopes,
- * so that you can ask for more or less permission in the auth flow
- * Set this before you call authenticate() though!
- * @param array $scopes, ie: array('https://www.googleapis.com/auth/plus.me',
+ * Set the scopes to be requested. Must be called before createAuthUrl().
+ * Will remove any previously configured scopes.
+ * @param array $scopes, ie: array('https://www.googleapis.com/auth/plus.login',
* 'https://www.googleapis.com/auth/moderator')
*/
public function setScopes($scopes)
{
- $this->requestedScopes = is_string($scopes) ? explode(" ", $scopes) : $scopes;
+ $this->requestedScopes = array();
+ $this->addScope($scopes);
+ }
+
+ /**
+ * This functions adds a scope to be requested as part of the OAuth2.0 flow.
+ * Will append any scopes not previously requested to the scope parameter.
+ * A single string will be treated as a scope to request. An array of strings
+ * will each be appended.
+ * @param $scope_or_scopes string|array e.g. "profile"
+ */
+ public function addScope($scope_or_scopes)
+ {
+ if (is_string($scope_or_scopes) && !in_array($scope_or_scopes, $this->requestedScopes)) {
+ $this->requestedScopes[] = $scope_or_scopes;
+ } else if (is_array($scope_or_scopes)) {
+ foreach ($scope_or_scopes as $scope) {
+ $this->addScope($scope);
+ }
+ }
}
/**
@@ -462,6 +474,28 @@ public function setDefer($defer)
{
$this->deferExecution = $defer;
}
+
+ /**
+ * Helper method to execute deferred HTTP requests.
+ *
+ * @returns object of the type of the expected class or array.
+ */
+ public function execute($request)
+ {
+ if ($request instanceof Google_Http_Request) {
+ $request->setUserAgent(
+ $this->getApplicationName()
+ . " " . self::USER_AGENT_SUFFIX
+ . $this->getLibraryVersion()
+ );
+ $request->maybeMoveParametersToBody();
+ return Google_Http_REST::execute($this, $request);
+ } else if ($request instanceof Google_Http_Batch) {
+ return $request->execute();
+ } else {
+ throw new Google_Exception("Do not know how to execute this type of object.");
+ }
+ }
/**
* Whether or not to return raw requests
diff --git a/src/Google/Http/Batch.php b/src/Google/Http/Batch.php
index 5d2c0302b..d851da504 100644
--- a/src/Google/Http/Batch.php
+++ b/src/Google/Http/Batch.php
@@ -70,7 +70,7 @@ public function execute()
$body .= "\n--{$this->boundary}--";
$url = $this->base_path . '/batch';
- $httpRequest = new Google_Http_Request($this->client, $url, 'POST');
+ $httpRequest = new Google_Http_Request($url, 'POST');
$httpRequest->setRequestHeaders(
array('Content-Type' => 'multipart/mixed; boundary=' . $this->boundary)
);
@@ -110,7 +110,7 @@ public function parseResponse(Google_Http_Request $response)
$status = $status[1];
list($partHeaders, $partBody) = $this->client->getIo()->ParseHttpResponse($part, false);
- $response = new Google_Http_Request($this->client, "");
+ $response = new Google_Http_Request("");
$response->setResponseHttpCode($status);
$response->setResponseHeaders($partHeaders);
$response->setResponseBody($partBody);
diff --git a/src/Google/Http/MediaFileUpload.php b/src/Google/Http/MediaFileUpload.php
index 2f65caef2..7fabad78b 100644
--- a/src/Google/Http/MediaFileUpload.php
+++ b/src/Google/Http/MediaFileUpload.php
@@ -136,7 +136,6 @@ public function nextChunk($chunk = false)
);
$httpRequest = new Google_Http_Request(
- $this->client,
$this->resumeUri,
'PUT',
$headers,
@@ -217,9 +216,8 @@ private function process()
private function transformToUploadUrl()
{
- $base = $this->request->getBasePath();
- $url = str_replace($base, $base . "/upload", $this->request->getBaseUrl());
- $this->request->setBaseUrl($url);
+ $base = $this->request->getBaseComponent();
+ $this->request->setBaseComponent($base . '/upload');
}
/**
diff --git a/src/Google/Http/REST.php b/src/Google/Http/REST.php
index d7feebabb..2a3ef55c1 100644
--- a/src/Google/Http/REST.php
+++ b/src/Google/Http/REST.php
@@ -40,6 +40,9 @@ class Google_Http_REST
*/
public static function execute(Google_Client $client, Google_Http_Request $req)
{
+ if (!$req->getBaseComponent()) {
+ $req->setBaseComponent($client->getBasePath());
+ }
$httpRequest = $client->getIo()->makeRequest($req);
$httpRequest->setExpectedClass($req->getExpectedClass());
return self::decodeHttpResponse($httpRequest);
diff --git a/src/Google/Http/Request.php b/src/Google/Http/Request.php
index 4db0a5a47..52ed9d449 100644
--- a/src/Google/Http/Request.php
+++ b/src/Google/Http/Request.php
@@ -27,17 +27,17 @@
*/
class Google_Http_Request
{
- const USER_AGENT_SUFFIX = "google-api-php-client/";
private $batchHeaders = array(
'Content-Type' => 'application/http',
'Content-Transfer-Encoding' => 'binary',
'MIME-Version' => '1.0',
);
- protected $baseUrl;
protected $queryParams;
protected $requestMethod;
protected $requestHeaders;
+ protected $baseComponent = null;
+ protected $path;
protected $postBody;
protected $userAgent;
@@ -46,71 +46,38 @@ class Google_Http_Request
protected $responseBody;
protected $expectedClass;
-
- protected $client;
-
+
public $accessKey;
-
- private $basePath;
public function __construct(
- Google_Client $client,
$url,
$method = 'GET',
$headers = array(),
$postBody = null
) {
- $this->client = $client;
- $this->basePath = $client->getBasePath();
$this->setUrl($url);
$this->setRequestMethod($method);
$this->setRequestHeaders($headers);
$this->setPostBody($postBody);
-
- $this->userAgent = $this->client->getApplicationName()
- . " " .self::USER_AGENT_SUFFIX
- . $this->client->getLibraryVersion();
- }
-
- /**
- * Helper method to execute deferred HTTP requests.
- *
- * @returns object of the type of the expected class or array.
- */
- public function execute()
- {
- $this->maybeMoveParametersToBody();
- return Google_Http_REST::execute($this->client, $this);
}
/**
* Misc function that returns the base url component of the $url
* used by the OAuth signing class to calculate the base string
* @return string The base url component of the $url.
- * @see http://oauth.net/core/1.0a/#anchor13
*/
- public function getBaseUrl()
+ public function getBaseComponent()
{
- return $this->baseUrl;
+ return $this->baseComponent;
}
/**
- * Set the base URL that query parameters will be added to.
- * @param $baseUrl string
+ * Set the base URL that path and query parameters will be added to.
+ * @param $baseComponent string
*/
- public function setBaseUrl($baseUrl)
+ public function setBaseComponent($baseComponent)
{
- $this->baseUrl = $baseUrl;
- }
-
- /**
- * Return the base path for the request that the URL path
- * will be appended to.
- * @return string
- */
- public function getBasePath()
- {
- return $this->basePath;
+ $this->baseComponent = $baseComponent;
}
/**
@@ -223,7 +190,7 @@ public function setResponseBody($responseBody)
*/
public function getUrl()
{
- return $this->baseUrl .
+ return $this->baseComponent . $this->path .
(count($this->queryParams) ?
"?" . $this->buildQuery($this->queryParams) :
'');
@@ -275,16 +242,17 @@ public function setUrl($url)
if (substr($url, 0, 1) !== '/') {
$url = '/' . $url;
}
- $url = $this->basePath . $url;
}
$parts = parse_url(http://github.com/$url);
- $this->baseUrl = sprintf(
- "%s://%s%s%s",
- isset($parts['scheme']) ? $parts['scheme'] : 'http',
- $parts['host'],
- isset($parts['port']) ? ":" . $parts['port'] : '',
- isset($parts['path']) ? $parts['path'] : ''
- );
+ if (isset($parts['host'])) {
+ $this->baseComponent = sprintf(
+ "%s%s%s",
+ isset($parts['scheme']) ? $parts['scheme'] . "://" : '',
+ isset($parts['host']) ? $parts['host'] : '',
+ isset($parts['port']) ? ":" . $parts['port'] : ''
+ );
+ }
+ $this->path = isset($parts['path']) ? $parts['path'] : '';
$this->queryParams = array();
if (isset($parts['query'])) {
$this->queryParams = $this->parseQuery($parts['query']);
@@ -379,7 +347,7 @@ public function getParsedCacheControl()
public function toBatchString($id)
{
$str = '';
- $path = parse_url(http://github.com/$this-%3EbaseUrl,%20PHP_URL_PATH) . "?" .
+ $path = parse_url(http://github.com/$this-%3EgetUrl(), PHP_URL_PATH) . "?" .
http_build_query($this->queryParams);
$str .= $this->getRequestMethod() . ' ' . $path . " HTTP/1.1\n";
@@ -449,7 +417,6 @@ private function buildQuery($parts)
* If we're POSTing and have no body to send, we can send the query
* parameters in there, which avoids length issues with longer query
* params.
- * @visible for testing
*/
public function maybeMoveParametersToBody()
{
diff --git a/src/Google/Model.php b/src/Google/Model.php
index d786b3d90..f3ad74394 100644
--- a/src/Google/Model.php
+++ b/src/Google/Model.php
@@ -95,26 +95,27 @@ protected function mapTypes($array)
* due to the usage of reflection, but shouldn't be called
* a whole lot, and is the most straightforward way to filter.
*/
- public function toSimpleObject() {
+ public function toSimpleObject()
+ {
$object = new stdClass();
// Process all public properties.
$reflect = new ReflectionObject($this);
$props = $reflect->getProperties(ReflectionProperty::IS_PUBLIC);
- foreach($props as $member) {
+ foreach ($props as $member) {
$name = $member->getName();
if ($this->$name instanceof Google_Model) {
$object->$name = $this->$name->toSimpleObject();
- } else if ($this->$name != null) {
+ } else if ($this->$name !== null) {
$object->$name = $this->$name;
}
}
// Process all other data.
- foreach($this->data as $key => $val) {
+ foreach ($this->data as $key => $val) {
if ($val instanceof Google_Model) {
$object->$key = $val->toSimpleObject();
- } else if ($val != null) {
+ } else if ($val !== null) {
$object->$key = $val;
}
}
diff --git a/src/Google/Service/Resource.php b/src/Google/Service/Resource.php
index 434d68653..28bbaf9d6 100644
--- a/src/Google/Service/Resource.php
+++ b/src/Google/Service/Resource.php
@@ -159,7 +159,6 @@ public function call($name, $arguments, $expected_class = null)
$parameters
);
$httpRequest = new Google_Http_Request(
- $this->client,
$url,
$method['httpMethod'],
null,
@@ -192,7 +191,7 @@ public function call($name, $arguments, $expected_class = null)
return $httpRequest;
}
- return $httpRequest->execute();
+ return $this->client->execute($httpRequest);
}
protected function convertToArrayAndStripNulls($o)
diff --git a/tests/general/ApiCacheParserTest.php b/tests/general/ApiCacheParserTest.php
index eed6a249b..eec416dc8 100644
--- a/tests/general/ApiCacheParserTest.php
+++ b/tests/general/ApiCacheParserTest.php
@@ -25,13 +25,13 @@
class ApiCacheParserTest extends BaseTest {
public function testIsResponseCacheable() {
$client = $this->getClient();
- $resp = new Google_Http_Request($client, 'http://localhost/', 'POST');
+ $resp = new Google_Http_Request('http://localhost/', 'POST');
$result = Google_Http_CacheParser::isResponseCacheable($resp);
$this->assertFalse($result);
// The response has expired, and we don't have an etag for
// revalidation.
- $resp = new Google_Http_Request($client, 'http://localhost/', 'GET');
+ $resp = new Google_Http_Request('http://localhost/', 'GET');
$resp->setResponseHttpCode('200');
$resp->setResponseHeaders(array(
'Cache-Control' => 'max-age=3600, must-revalidate',
@@ -43,7 +43,7 @@ public function testIsResponseCacheable() {
$this->assertFalse($result);
// Verify cacheable responses.
- $resp = new Google_Http_Request($client, 'http://localhost/', 'GET');
+ $resp = new Google_Http_Request('http://localhost/', 'GET');
$resp->setResponseHttpCode('200');
$resp->setResponseHeaders(array(
'Cache-Control' => 'max-age=3600, must-revalidate',
@@ -56,7 +56,7 @@ public function testIsResponseCacheable() {
$this->assertTrue($result);
// Verify that responses to HEAD requests are cacheable.
- $resp = new Google_Http_Request($client, 'http://localhost/', 'HEAD');
+ $resp = new Google_Http_Request('http://localhost/', 'HEAD');
$resp->setResponseHttpCode('200');
$resp->setResponseBody(null);
$resp->setResponseHeaders(array(
@@ -70,7 +70,7 @@ public function testIsResponseCacheable() {
$this->assertTrue($result);
// Verify that Vary: * cannot get cached.
- $resp = new Google_Http_Request($client, 'http://localhost/', 'GET');
+ $resp = new Google_Http_Request('http://localhost/', 'GET');
$resp->setResponseHttpCode('200');
$resp->setResponseHeaders(array(
'Cache-Control' => 'max-age=3600, must-revalidate',
@@ -84,7 +84,7 @@ public function testIsResponseCacheable() {
$this->assertFalse($result);
// Verify 201s cannot get cached.
- $resp = new Google_Http_Request($client, 'http://localhost/', 'GET');
+ $resp = new Google_Http_Request('http://localhost/', 'GET');
$resp->setResponseHttpCode('201');
$resp->setResponseBody(null);
$resp->setResponseHeaders(array(
@@ -97,7 +97,7 @@ public function testIsResponseCacheable() {
$this->assertFalse($result);
// Verify pragma: no-cache.
- $resp = new Google_Http_Request($this->getClient(), 'http://localhost/', 'GET');
+ $resp = new Google_Http_Request('http://localhost/', 'GET');
$resp->setResponseHttpCode('200');
$resp->setResponseHeaders(array(
'Expires' => 'Wed, 11 Jan 2012 04:03:37 GMT',
@@ -110,7 +110,7 @@ public function testIsResponseCacheable() {
$this->assertFalse($result);
// Verify Cache-Control: no-store.
- $resp = new Google_Http_Request($client, 'http://localhost/', 'GET');
+ $resp = new Google_Http_Request('http://localhost/', 'GET');
$resp->setResponseHttpCode('200');
$resp->setResponseHeaders(array(
'Expires' => 'Wed, 11 Jan 2012 04:03:37 GMT',
@@ -122,7 +122,7 @@ public function testIsResponseCacheable() {
$this->assertFalse($result);
// Verify that authorized responses are not cacheable.
- $resp = new Google_Http_Request($client, 'http://localhost/', 'GET');
+ $resp = new Google_Http_Request('http://localhost/', 'GET');
$resp->setRequestHeaders(array('Authorization' => 'Bearer Token'));
$resp->setResponseHttpCode('200');
$resp->setResponseHeaders(array(
@@ -141,7 +141,7 @@ public function testIsExpired() {
$client = $this->getClient();
// Expires 1 year in the future. Response is fresh.
- $resp = new Google_Http_Request($client, 'http://localhost/', 'GET');
+ $resp = new Google_Http_Request('http://localhost/', 'GET');
$resp->setResponseHttpCode('200');
$resp->setResponseHeaders(array(
'Expires' => gmdate('D, d M Y H:i:s', $future) . ' GMT',
@@ -150,7 +150,7 @@ public function testIsExpired() {
$this->assertFalse(Google_Http_CacheParser::isExpired($resp));
// The response expires soon. Response is fresh.
- $resp = new Google_Http_Request($client, 'http://localhost/', 'GET');
+ $resp = new Google_Http_Request('http://localhost/', 'GET');
$resp->setResponseHttpCode('200');
$resp->setResponseHeaders(array(
'Expires' => gmdate('D, d M Y H:i:s', $now + 2) . ' GMT',
@@ -160,7 +160,7 @@ public function testIsExpired() {
// Expired 1 year ago. Response is stale.
$past = $now - (365 * 24 * 60 * 60);
- $resp = new Google_Http_Request($client, 'http://localhost/', 'GET');
+ $resp = new Google_Http_Request('http://localhost/', 'GET');
$resp->setResponseHttpCode('200');
$resp->setResponseHeaders(array(
'Expires' => gmdate('D, d M Y H:i:s', $past) . ' GMT',
@@ -169,7 +169,7 @@ public function testIsExpired() {
$this->assertTrue(Google_Http_CacheParser::isExpired($resp));
// Invalid expires header. Response is stale.
- $resp = new Google_Http_Request($client, 'http://localhost/', 'GET');
+ $resp = new Google_Http_Request('http://localhost/', 'GET');
$resp->setResponseHttpCode('200');
$resp->setResponseHeaders(array(
'Expires' => '-1',
@@ -178,7 +178,7 @@ public function testIsExpired() {
$this->assertTrue(Google_Http_CacheParser::isExpired($resp));
// The response expires immediately. G+ APIs do this. Response is stale.
- $resp = new Google_Http_Request($client, 'http://localhost/', 'GET');
+ $resp = new Google_Http_Request('http://localhost/', 'GET');
$resp->setResponseHttpCode('200');
$resp->setResponseHeaders(array(
'Expires' => gmdate('D, d M Y H:i:s', $now) . ' GMT',
@@ -194,7 +194,7 @@ public function testMustRevalidate() {
// Expires 1 year in the future, and contains the must-revalidate directive.
// Don't revalidate. must-revalidate only applies to expired entries.
$future = $now + (365 * 24 * 60 * 60);
- $resp = new Google_Http_Request($client, 'http://localhost/', 'GET');
+ $resp = new Google_Http_Request('http://localhost/', 'GET');
$resp->setResponseHttpCode('200');
$resp->setResponseHeaders(array(
'Cache-Control' => 'max-age=3600, must-revalidate',
@@ -206,7 +206,7 @@ public function testMustRevalidate() {
// Contains the max-age=3600 directive, but was created 2 hours ago.
// Must revalidate.
$past = $now - (2 * 60 * 60);
- $resp = new Google_Http_Request($client, 'http://localhost/', 'GET');
+ $resp = new Google_Http_Request('http://localhost/', 'GET');
$resp->setResponseHttpCode('200');
$resp->setResponseHeaders(array(
'Cache-Control' => 'max-age=3600',
@@ -218,7 +218,7 @@ public function testMustRevalidate() {
// Contains the max-age=3600 directive, and was created 600 seconds ago.
// No need to revalidate, regardless of the expires header.
$past = $now - (600);
- $resp = new Google_Http_Request($client, 'http://localhost/', 'GET');
+ $resp = new Google_Http_Request('http://localhost/', 'GET');
$resp->setResponseHttpCode('200');
$resp->setResponseHeaders(array(
'Cache-Control' => 'max-age=3600',
diff --git a/tests/general/ApiClientTest.php b/tests/general/ApiClientTest.php
index 8ffedb554..94c5b5449 100644
--- a/tests/general/ApiClientTest.php
+++ b/tests/general/ApiClientTest.php
@@ -29,7 +29,7 @@ public function testClient() {
$client = new Google_Client();
$client->setAccessType('foo');
$client->setDeveloperKey('foo');
- $req = new Google_Http_Request($this->getClient(), 'http://foo.com/');
+ $req = new Google_Http_Request('http://foo.com/');
$client->getAuth()->sign($req);
$params = $req->getQueryParams();
$this->assertEquals('foo', $params['key']);
@@ -38,12 +38,18 @@ public function testClient() {
$this->assertEquals("{\"access_token\":\"1\"}", $client->getAccessToken());
}
- public function testPrepareService() {
+ /**
+ * @expectedException Google_Auth_Exception
+ */
+ public function testPrepareInvalidScopes() {
$client = new Google_Client();
$scopes = $client->prepareScopes();
$this->assertEquals("", $scopes);
+ }
+ public function testPrepareService() {
+ $client = new Google_Client();
$client->setScopes(array("scope1", "scope2"));
$scopes = $client->prepareScopes();
$this->assertEquals("scope1 scope2", $scopes);
@@ -51,6 +57,12 @@ public function testPrepareService() {
$client->setScopes(array("", "scope2"));
$scopes = $client->prepareScopes();
$this->assertEquals(" scope2", $scopes);
+
+ $client->setScopes("scope2");
+ $client->addScope("scope3");
+ $client->addScope(array("scope4", "scope5"));
+ $scopes = $client->prepareScopes();
+ $this->assertEquals("scope2 scope3 scope4 scope5", $scopes);
$client->setClientId('test1');
$client->setRedirectUri('http://localhost/');
diff --git a/tests/general/ApiMediaFileUploadTest.php b/tests/general/ApiMediaFileUploadTest.php
index d9d5431b3..2bc252cd5 100644
--- a/tests/general/ApiMediaFileUploadTest.php
+++ b/tests/general/ApiMediaFileUploadTest.php
@@ -24,7 +24,7 @@
class ApiMediaFileUploadTest extends BaseTest {
public function testMediaFile() {
$client = $this->getClient();
- $request = new Google_Http_Request($client, 'http://www.example.com/', 'POST');
+ $request = new Google_Http_Request('http://www.example.com/', 'POST');
$media = new Google_Http_MediaFileUpload($client, $request, 'image/png', base64_decode('data:image/png;base64,a'));
$this->assertEquals(0, $media->getProgress());
@@ -33,7 +33,7 @@ public function testMediaFile() {
public function testGetUploadType() {
$client = $this->getClient();
- $request = new Google_Http_Request($client, 'http://www.example.com/', 'POST');
+ $request = new Google_Http_Request('http://www.example.com/', 'POST');
// Test resumable upload
$media = new Google_Http_MediaFileUpload($client, $request, 'image/png', 'a', true);
@@ -57,19 +57,19 @@ public function testProcess() {
$data = 'foo';
// Test data *only* uploads.
- $request = new Google_Http_Request($client, 'http://www.example.com/', 'POST');
+ $request = new Google_Http_Request('http://www.example.com/', 'POST');
$media = new Google_Http_MediaFileUpload($client, $request, 'image/png', $data, false);
$this->assertEquals($data, $request->getPostBody());
// Test resumable (meta data) - we want to send the metadata, not the app data.
- $request = new Google_Http_Request($client, 'http://www.example.com/', 'POST');
+ $request = new Google_Http_Request('http://www.example.com/', 'POST');
$reqData = json_encode("hello");
$request->setPostBody($reqData);
$media = new Google_Http_MediaFileUpload($client, $request, 'image/png', $data, true);
$this->assertEquals(json_decode($reqData), $request->getPostBody());
// Test multipart - we are sending encoded meta data and post data
- $request = new Google_Http_Request($client, 'http://www.example.com/', 'POST');
+ $request = new Google_Http_Request('http://www.example.com/', 'POST');
$reqData = json_encode("hello");
$request->setPostBody($reqData);
$media = new Google_Http_MediaFileUpload($client, $request, 'image/png', $data, false);
diff --git a/tests/general/ApiOAuth2Test.php b/tests/general/ApiOAuth2Test.php
index 7cecc4015..a70c3e4f4 100644
--- a/tests/general/ApiOAuth2Test.php
+++ b/tests/general/ApiOAuth2Test.php
@@ -36,7 +36,7 @@ public function testSign() {
$client->setApprovalPrompt('force');
$client->setRequestVisibleActions('http://foo/');
- $req = new Google_Http_Request($client, 'http://localhost/');
+ $req = new Google_Http_Request('http://localhost/');
$req = $oauth->sign($req);
$this->assertEquals('http://localhost/?key=devKey', $req->getUrl());
diff --git a/tests/general/AuthTest.php b/tests/general/AuthTest.php
index 3560f995a..02c5c5b54 100644
--- a/tests/general/AuthTest.php
+++ b/tests/general/AuthTest.php
@@ -210,7 +210,7 @@ public function testNoAuth() {
$oldAuth = $this->getClient()->getAuth();
$this->getClient()->setAuth($noAuth);
$this->getClient()->setDeveloperKey(null);
- $req = new Google_Http_Request($this->getClient(), "http://example.com/");
+ $req = new Google_Http_Request("http://example.com/");
$resp = $noAuth->sign($req);
try {
diff --git a/tests/general/IoTest.php b/tests/general/IoTest.php
index 12ae72341..9e6348d1e 100644
--- a/tests/general/IoTest.php
+++ b/tests/general/IoTest.php
@@ -53,7 +53,7 @@ public function cacheHit($io, $client) {
$url = "http://www.googleapis.com/";
// Create a cacheable request/response.
// Should not be revalidated.
- $cacheReq = new Google_Http_Request($client, $url, "GET");
+ $cacheReq = new Google_Http_Request($url, "GET");
$cacheReq->setRequestHeaders(array(
"Accept" => "*/*",
));
@@ -71,7 +71,7 @@ public function cacheHit($io, $client) {
$io->setCachedRequest($cacheReq);
// Execute the same mock request, and expect a cache hit.
- $res = $io->makeRequest(new Google_Http_Request($client, $url, "GET"));
+ $res = $io->makeRequest(new Google_Http_Request($url, "GET"));
$this->assertEquals("{\"a\": \"foo\"}", $res->getResponseBody());
$this->assertEquals(200, $res->getResponseHttpCode());
}
@@ -80,7 +80,7 @@ public function authCache($io, $client) {
$url = "http://www.googleapis.com/protected/resource";
// Create a cacheable request/response, but it should not be cached.
- $cacheReq = new Google_Http_Request($client, $url, "GET");
+ $cacheReq = new Google_Http_Request($url, "GET");
$cacheReq->setRequestHeaders(array(
"Accept" => "*/*",
"Authorization" => "Bearer Foo"
@@ -131,7 +131,7 @@ public function responseChecker($io) {
}
public function processEntityRequest($io, $client) {
- $req = new Google_Http_Request($client, "http://localhost.com/");
+ $req = new Google_Http_Request("http://localhost.com/");
$req->setRequestMethod("POST");
// Verify that the content-length is calculated.
diff --git a/tests/general/RequestTest.php b/tests/general/RequestTest.php
index 35fed3f75..b24ba7996 100644
--- a/tests/general/RequestTest.php
+++ b/tests/general/RequestTest.php
@@ -27,7 +27,7 @@ public function testRequestParameters()
{
$url = 'http://localhost:8080/foo/bar?foo=a&foo=b&wowee=oh+my';
$url2 = 'http://localhost:8080/foo/bar?foo=a&foo=b&wowee=oh+my&hi=there';
- $request = new Google_Http_Request($this->getClient(), $url);
+ $request = new Google_Http_Request($url);
$request->setExpectedClass("Google_Client");
$this->assertEquals(2, count($request->getQueryParams()));
$request->setQueryParam("hi", "there");
@@ -37,10 +37,18 @@ public function testRequestParameters()
$url3a = 'http://localhost:8080/foo/bar';
$url3b = 'foo=a&foo=b&wowee=oh+my';
$url3c = 'foo=a&foo=b&wowee=oh+my&hi=there';
- $request = new Google_Http_Request($this->getClient(), $url3a."?".$url3b, "POST");
+ $request = new Google_Http_Request($url3a."?".$url3b, "POST");
$request->setQueryParam("hi", "there");
$request->maybeMoveParametersToBody();
$this->assertEquals($url3a, $request->getUrl());
$this->assertEquals($url3c, $request->getPostBody());
+
+ $url4 = 'http://localhost:8080/upload/foo/bar?foo=a&foo=b&wowee=oh+my&hi=there';
+ $request = new Google_Http_Request($url);
+ $this->assertEquals(2, count($request->getQueryParams()));
+ $request->setQueryParam("hi", "there");
+ $base = $request->getBaseComponent();
+ $request->setBaseComponent($base . '/upload');
+ $this->assertEquals($url4, $request->getUrl());
}
}
diff --git a/tests/general/RestTest.php b/tests/general/RestTest.php
index 84c936256..505d23a25 100644
--- a/tests/general/RestTest.php
+++ b/tests/general/RestTest.php
@@ -32,7 +32,7 @@ public function setUp() {
public function testDecodeResponse() {
$url = 'http://localhost/';
$client = $this->getClient();
- $response = new Google_Http_Request($client, $url);
+ $response = new Google_Http_Request($url);
$response->setResponseHttpCode(204);
$decoded = $this->rest->decodeHttpResponse($response);
$this->assertEquals(null, $decoded);
@@ -40,7 +40,7 @@ public function testDecodeResponse() {
foreach (array(200, 201) as $code) {
$headers = array('foo', 'bar');
- $response = new Google_Http_Request($client, $url, 'GET', $headers);
+ $response = new Google_Http_Request($url, 'GET', $headers);
$response->setResponseBody('{"a": 1}');
$response->setResponseHttpCode($code);
@@ -48,7 +48,7 @@ public function testDecodeResponse() {
$this->assertEquals(array("a" => 1), $decoded);
}
- $response = new Google_Http_Request($client, $url);
+ $response = new Google_Http_Request($url);
$response->setResponseHttpCode(500);
$error = "";
@@ -65,7 +65,7 @@ public function testDecodeResponse() {
public function testDecodeEmptyResponse() {
$url = 'http://localhost/';
- $response = new Google_Http_Request($this->getClient(), $url, 'GET', array());
+ $response = new Google_Http_Request($url, 'GET', array());
$response->setResponseBody('{}');
$response->setResponseHttpCode(200);
From cccf05f63572118bedbe9200af3abe6ecb7ef683 Mon Sep 17 00:00:00 2001
From: Phillip Shipley
+ * $gamesManagementService = new Google_Service_GamesManagement(...);
+ * $turnBasedMatches = $gamesManagementService->turnBasedMatches;
+ *
+ */
+class Google_Service_GamesManagement_TurnBasedMatches_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Reset all turn-based match data for a user. This method is only accessible to
+ * whitelisted tester accounts for your application. (turnBasedMatches.reset)
+ *
+ * @param array $optParams Optional parameters.
+ */
+ public function reset($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('reset', array($params));
+ }
+}
+
@@ -391,7 +424,7 @@ public function getKind()
{
return $this->kind;
}
-
+
public function setResults($results)
{
$this->results = $results;
@@ -401,7 +434,6 @@ public function getResults()
{
return $this->results;
}
-
}
class Google_Service_GamesManagement_AchievementResetResponse extends Google_Model
@@ -420,7 +452,7 @@ public function getCurrentState()
{
return $this->currentState;
}
-
+
public function setDefinitionId($definitionId)
{
$this->definitionId = $definitionId;
@@ -430,7 +462,7 @@ public function getDefinitionId()
{
return $this->definitionId;
}
-
+
public function setKind($kind)
{
$this->kind = $kind;
@@ -440,7 +472,7 @@ public function getKind()
{
return $this->kind;
}
-
+
public function setUpdateOccurred($updateOccurred)
{
$this->updateOccurred = $updateOccurred;
@@ -450,7 +482,6 @@ public function getUpdateOccurred()
{
return $this->updateOccurred;
}
-
}
class Google_Service_GamesManagement_HiddenPlayer extends Google_Model
@@ -469,7 +500,7 @@ public function getHiddenTimeMillis()
{
return $this->hiddenTimeMillis;
}
-
+
public function setKind($kind)
{
$this->kind = $kind;
@@ -479,7 +510,7 @@ public function getKind()
{
return $this->kind;
}
-
+
public function setPlayer(Google_Service_GamesManagement_Player $player)
{
$this->player = $player;
@@ -489,7 +520,6 @@ public function getPlayer()
{
return $this->player;
}
-
}
class Google_Service_GamesManagement_HiddenPlayerList extends Google_Collection
@@ -508,7 +538,7 @@ public function getItems()
{
return $this->items;
}
-
+
public function setKind($kind)
{
$this->kind = $kind;
@@ -518,7 +548,7 @@ public function getKind()
{
return $this->kind;
}
-
+
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
@@ -528,7 +558,6 @@ public function getNextPageToken()
{
return $this->nextPageToken;
}
-
}
class Google_Service_GamesManagement_Player extends Google_Model
@@ -547,7 +576,7 @@ public function getAvatarImageUrl()
{
return $this->avatarImageUrl;
}
-
+
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
@@ -557,7 +586,7 @@ public function getDisplayName()
{
return $this->displayName;
}
-
+
public function setKind($kind)
{
$this->kind = $kind;
@@ -567,7 +596,7 @@ public function getKind()
{
return $this->kind;
}
-
+
public function setPlayerId($playerId)
{
$this->playerId = $playerId;
@@ -577,7 +606,6 @@ public function getPlayerId()
{
return $this->playerId;
}
-
}
class Google_Service_GamesManagement_PlayerScoreResetResponse extends Google_Collection
@@ -594,7 +622,7 @@ public function getKind()
{
return $this->kind;
}
-
+
public function setResetScoreTimeSpans($resetScoreTimeSpans)
{
$this->resetScoreTimeSpans = $resetScoreTimeSpans;
@@ -604,5 +632,4 @@ public function getResetScoreTimeSpans()
{
return $this->resetScoreTimeSpans;
}
-
}
From 403b9ac00bad1b706259bcf22deb199ff1be3ce9 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
+ * $gamesService = new Google_Service_Games(...);
+ * $turnBasedMatches = $gamesService->turnBasedMatches;
+ *
+ */
+class Google_Service_Games_TurnBasedMatches_Resource extends Google_Service_Resource
{
- public $achievementType;
- public $description;
- public $formattedTotalSteps;
- public $id;
- public $initialState;
- public $isRevealedIconUrlDefault;
- public $isUnlockedIconUrlDefault;
- public $kind;
- public $name;
- public $revealedIconUrl;
- public $totalSteps;
- public $unlockedIconUrl;
- public function setAchievementType($achievementType)
+ /**
+ * Cancel a turn-based match. (turnBasedMatches.cancel)
+ *
+ * @param string $matchId
+ * The ID of the match.
+ * @param array $optParams Optional parameters.
+ */
+ public function cancel($matchId, $optParams = array())
{
- $this->achievementType = $achievementType;
+ $params = array('matchId' => $matchId);
+ $params = array_merge($params, $optParams);
+ return $this->call('cancel', array($params));
}
-
- public function getAchievementType()
+ /**
+ * Create a turn-based match. (turnBasedMatches.create)
+ *
+ * @param Google_TurnBasedMatchCreateRequest $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string language
+ * Specify the preferred language to use to format match info.
+ * @return Google_Service_Games_TurnBasedMatch
+ */
+ public function create(Google_Service_Games_TurnBasedMatchCreateRequest $postBody, $optParams = array())
{
- return $this->achievementType;
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Games_TurnBasedMatch");
}
-
- public function setDescription($description)
+ /**
+ * Decline an invitation to play a turn-based match. (turnBasedMatches.decline)
+ *
+ * @param string $matchId
+ * The ID of the match.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string language
+ * The preferred language to use for strings returned by this method.
+ * @return Google_Service_Games_TurnBasedMatch
+ */
+ public function decline($matchId, $optParams = array())
{
- $this->description = $description;
+ $params = array('matchId' => $matchId);
+ $params = array_merge($params, $optParams);
+ return $this->call('decline', array($params), "Google_Service_Games_TurnBasedMatch");
}
-
- public function getDescription()
+ /**
+ * Dismiss a turn-based match from the match list. The match will no longer show
+ * up in the list and will not generate notifications.
+ * (turnBasedMatches.dismiss)
+ *
+ * @param string $matchId
+ * The ID of the match.
+ * @param array $optParams Optional parameters.
+ */
+ public function dismiss($matchId, $optParams = array())
{
- return $this->description;
+ $params = array('matchId' => $matchId);
+ $params = array_merge($params, $optParams);
+ return $this->call('dismiss', array($params));
}
-
- public function setFormattedTotalSteps($formattedTotalSteps)
+ /**
+ * Finish a turn-based match. Each player should make this call once, after all
+ * results are in. Only the player whose turn it is may make the first call to
+ * Finish, and can pass in the final match state. (turnBasedMatches.finish)
+ *
+ * @param string $matchId
+ * The ID of the match.
+ * @param Google_TurnBasedMatchResults $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string language
+ * The preferred language to use for strings returned by this method.
+ * @return Google_Service_Games_TurnBasedMatch
+ */
+ public function finish($matchId, Google_Service_Games_TurnBasedMatchResults $postBody, $optParams = array())
{
- $this->formattedTotalSteps = $formattedTotalSteps;
+ $params = array('matchId' => $matchId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('finish', array($params), "Google_Service_Games_TurnBasedMatch");
}
-
- public function getFormattedTotalSteps()
+ /**
+ * Get the data for a turn-based match. (turnBasedMatches.get)
+ *
+ * @param string $matchId
+ * The ID of the match.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string language
+ * Specify the preferred language to use to format match info.
+ * @opt_param bool includeMatchData
+ * Get match data along with metadata.
+ * @return Google_Service_Games_TurnBasedMatch
+ */
+ public function get($matchId, $optParams = array())
{
- return $this->formattedTotalSteps;
+ $params = array('matchId' => $matchId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Games_TurnBasedMatch");
}
-
+ /**
+ * Join a turn-based match. (turnBasedMatches.join)
+ *
+ * @param string $matchId
+ * The ID of the match.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string language
+ * The preferred language to use for strings returned by this method.
+ * @return Google_Service_Games_TurnBasedMatch
+ */
+ public function join($matchId, $optParams = array())
+ {
+ $params = array('matchId' => $matchId);
+ $params = array_merge($params, $optParams);
+ return $this->call('join', array($params), "Google_Service_Games_TurnBasedMatch");
+ }
+ /**
+ * Leave a turn-based match when it is not the current player's turn, without
+ * canceling the match. (turnBasedMatches.leave)
+ *
+ * @param string $matchId
+ * The ID of the match.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string language
+ * The preferred language to use for strings returned by this method.
+ * @return Google_Service_Games_TurnBasedMatch
+ */
+ public function leave($matchId, $optParams = array())
+ {
+ $params = array('matchId' => $matchId);
+ $params = array_merge($params, $optParams);
+ return $this->call('leave', array($params), "Google_Service_Games_TurnBasedMatch");
+ }
+ /**
+ * Leave a turn-based match during the current player's turn, without canceling
+ * the match. (turnBasedMatches.leaveTurn)
+ *
+ * @param string $matchId
+ * The ID of the match.
+ * @param int $matchVersion
+ * The version of the match being updated.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string language
+ * The preferred language to use for strings returned by this method.
+ * @opt_param string pendingParticipantId
+ * The ID of another participant who should take their turn next. If not set, the match will wait
+ * for other player(s) to join via automatching; this is only valid if automatch criteria is set on
+ * the match with remaining slots for automatched players.
+ * @return Google_Service_Games_TurnBasedMatch
+ */
+ public function leaveTurn($matchId, $matchVersion, $optParams = array())
+ {
+ $params = array('matchId' => $matchId, 'matchVersion' => $matchVersion);
+ $params = array_merge($params, $optParams);
+ return $this->call('leaveTurn', array($params), "Google_Service_Games_TurnBasedMatch");
+ }
+ /**
+ * Returns turn-based matches the player is or was involved in.
+ * (turnBasedMatches.listTurnBasedMatches)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The token returned by the previous request.
+ * @opt_param int maxCompletedMatches
+ * The maximum number of completed or canceled matches to return in the response. If not set, all
+ * matches returned could be completed or canceled.
+ * @opt_param int maxResults
+ * The maximum number of matches to return in the response, used for paging. For any response, the
+ * actual number of matches to return may be less than the specified maxResults.
+ * @opt_param string language
+ * The preferred language to use for strings returned by this method.
+ * @opt_param bool includeMatchData
+ * True if match data should be returned in the response. Note that not all data will necessarily
+ * be returned if include_match_data is true; the server may decide to only return data for some of
+ * the matches to limit download size for the client. The remainder of the data for these matches
+ * will be retrievable on request.
+ * @return Google_Service_Games_TurnBasedMatchList
+ */
+ public function listTurnBasedMatches($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Games_TurnBasedMatchList");
+ }
+ /**
+ * Create a rematch of a match that was previously completed, with the same
+ * participants. This can be called by only one player on a match still in their
+ * list; the player must have called Finish first. Returns the newly created
+ * match; it will be the caller's turn. (turnBasedMatches.rematch)
+ *
+ * @param string $matchId
+ * The ID of the match.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string requestId
+ * A randomly generated numeric ID for each request specified by the caller. This number is used at
+ * the server to ensure that the request is handled correctly across retries.
+ * @opt_param string language
+ * The preferred language to use for strings returned by this method.
+ * @return Google_Service_Games_TurnBasedMatchRematch
+ */
+ public function rematch($matchId, $optParams = array())
+ {
+ $params = array('matchId' => $matchId);
+ $params = array_merge($params, $optParams);
+ return $this->call('rematch', array($params), "Google_Service_Games_TurnBasedMatchRematch");
+ }
+ /**
+ * Returns turn-based matches the player is or was involved in that changed
+ * since the last sync call, with the least recent changes coming first. Matches
+ * that should be removed from the local cache will have a status of
+ * MATCH_DELETED. (turnBasedMatches.sync)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The token returned by the previous request.
+ * @opt_param int maxCompletedMatches
+ * The maximum number of completed or canceled matches to return in the response. If not set, all
+ * matches returned could be completed or canceled.
+ * @opt_param int maxResults
+ * The maximum number of matches to return in the response, used for paging. For any response, the
+ * actual number of matches to return may be less than the specified maxResults.
+ * @opt_param string language
+ * The preferred language to use for strings returned by this method.
+ * @opt_param bool includeMatchData
+ * True if match data should be returned in the response. Note that not all data will necessarily
+ * be returned if include_match_data is true; the server may decide to only return data for some of
+ * the matches to limit download size for the client. The remainder of the data for these matches
+ * will be retrievable on request.
+ * @return Google_Service_Games_TurnBasedMatchSync
+ */
+ public function sync($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('sync', array($params), "Google_Service_Games_TurnBasedMatchSync");
+ }
+ /**
+ * Commit the results of a player turn. (turnBasedMatches.takeTurn)
+ *
+ * @param string $matchId
+ * The ID of the match.
+ * @param Google_TurnBasedMatchTurn $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string language
+ * Specify the preferred language to use to format match info.
+ * @return Google_Service_Games_TurnBasedMatch
+ */
+ public function takeTurn($matchId, Google_Service_Games_TurnBasedMatchTurn $postBody, $optParams = array())
+ {
+ $params = array('matchId' => $matchId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('takeTurn', array($params), "Google_Service_Games_TurnBasedMatch");
+ }
+}
+
+
+
+
+class Google_Service_Games_AchievementDefinition extends Google_Model
+{
+ public $achievementType;
+ public $description;
+ public $formattedTotalSteps;
+ public $id;
+ public $initialState;
+ public $isRevealedIconUrlDefault;
+ public $isUnlockedIconUrlDefault;
+ public $kind;
+ public $name;
+ public $revealedIconUrl;
+ public $totalSteps;
+ public $unlockedIconUrl;
+
+ public function setAchievementType($achievementType)
+ {
+ $this->achievementType = $achievementType;
+ }
+
+ public function getAchievementType()
+ {
+ return $this->achievementType;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setFormattedTotalSteps($formattedTotalSteps)
+ {
+ $this->formattedTotalSteps = $formattedTotalSteps;
+ }
+
+ public function getFormattedTotalSteps()
+ {
+ return $this->formattedTotalSteps;
+ }
+
public function setId($id)
{
$this->id = $id;
@@ -1221,7 +1706,7 @@ public function getId()
{
return $this->id;
}
-
+
public function setInitialState($initialState)
{
$this->initialState = $initialState;
@@ -1231,7 +1716,7 @@ public function getInitialState()
{
return $this->initialState;
}
-
+
public function setIsRevealedIconUrlDefault($isRevealedIconUrlDefault)
{
$this->isRevealedIconUrlDefault = $isRevealedIconUrlDefault;
@@ -1241,7 +1726,7 @@ public function getIsRevealedIconUrlDefault()
{
return $this->isRevealedIconUrlDefault;
}
-
+
public function setIsUnlockedIconUrlDefault($isUnlockedIconUrlDefault)
{
$this->isUnlockedIconUrlDefault = $isUnlockedIconUrlDefault;
@@ -1251,7 +1736,7 @@ public function getIsUnlockedIconUrlDefault()
{
return $this->isUnlockedIconUrlDefault;
}
-
+
public function setKind($kind)
{
$this->kind = $kind;
@@ -1261,7 +1746,7 @@ public function getKind()
{
return $this->kind;
}
-
+
public function setName($name)
{
$this->name = $name;
@@ -1271,7 +1756,7 @@ public function getName()
{
return $this->name;
}
-
+
public function setRevealedIconUrl($revealedIconUrl)
{
$this->revealedIconUrl = $revealedIconUrl;
@@ -1281,7 +1766,7 @@ public function getRevealedIconUrl()
{
return $this->revealedIconUrl;
}
-
+
public function setTotalSteps($totalSteps)
{
$this->totalSteps = $totalSteps;
@@ -1291,7 +1776,7 @@ public function getTotalSteps()
{
return $this->totalSteps;
}
-
+
public function setUnlockedIconUrl($unlockedIconUrl)
{
$this->unlockedIconUrl = $unlockedIconUrl;
@@ -1301,7 +1786,6 @@ public function getUnlockedIconUrl()
{
return $this->unlockedIconUrl;
}
-
}
class Google_Service_Games_AchievementDefinitionsListResponse extends Google_Collection
@@ -1320,7 +1804,7 @@ public function getItems()
{
return $this->items;
}
-
+
public function setKind($kind)
{
$this->kind = $kind;
@@ -1330,7 +1814,7 @@ public function getKind()
{
return $this->kind;
}
-
+
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
@@ -1340,7 +1824,6 @@ public function getNextPageToken()
{
return $this->nextPageToken;
}
-
}
class Google_Service_Games_AchievementIncrementResponse extends Google_Model
@@ -1358,7 +1841,7 @@ public function getCurrentSteps()
{
return $this->currentSteps;
}
-
+
public function setKind($kind)
{
$this->kind = $kind;
@@ -1368,7 +1851,7 @@ public function getKind()
{
return $this->kind;
}
-
+
public function setNewlyUnlocked($newlyUnlocked)
{
$this->newlyUnlocked = $newlyUnlocked;
@@ -1378,7 +1861,6 @@ public function getNewlyUnlocked()
{
return $this->newlyUnlocked;
}
-
}
class Google_Service_Games_AchievementRevealResponse extends Google_Model
@@ -1395,7 +1877,7 @@ public function getCurrentState()
{
return $this->currentState;
}
-
+
public function setKind($kind)
{
$this->kind = $kind;
@@ -1405,7 +1887,6 @@ public function getKind()
{
return $this->kind;
}
-
}
class Google_Service_Games_AchievementSetStepsAtLeastResponse extends Google_Model
@@ -1423,7 +1904,7 @@ public function getCurrentSteps()
{
return $this->currentSteps;
}
-
+
public function setKind($kind)
{
$this->kind = $kind;
@@ -1433,7 +1914,7 @@ public function getKind()
{
return $this->kind;
}
-
+
public function setNewlyUnlocked($newlyUnlocked)
{
$this->newlyUnlocked = $newlyUnlocked;
@@ -1443,7 +1924,6 @@ public function getNewlyUnlocked()
{
return $this->newlyUnlocked;
}
-
}
class Google_Service_Games_AchievementUnlockResponse extends Google_Model
@@ -1460,7 +1940,7 @@ public function getKind()
{
return $this->kind;
}
-
+
public function setNewlyUnlocked($newlyUnlocked)
{
$this->newlyUnlocked = $newlyUnlocked;
@@ -1470,7 +1950,6 @@ public function getNewlyUnlocked()
{
return $this->newlyUnlocked;
}
-
}
class Google_Service_Games_AchievementUpdateMultipleRequest extends Google_Collection
@@ -1488,7 +1967,7 @@ public function getKind()
{
return $this->kind;
}
-
+
public function setUpdates($updates)
{
$this->updates = $updates;
@@ -1498,7 +1977,6 @@ public function getUpdates()
{
return $this->updates;
}
-
}
class Google_Service_Games_AchievementUpdateMultipleResponse extends Google_Collection
@@ -1516,7 +1994,7 @@ public function getKind()
{
return $this->kind;
}
-
+
public function setUpdatedAchievements($updatedAchievements)
{
$this->updatedAchievements = $updatedAchievements;
@@ -1526,7 +2004,6 @@ public function getUpdatedAchievements()
{
return $this->updatedAchievements;
}
-
}
class Google_Service_Games_AchievementUpdateRequest extends Google_Model
@@ -1548,7 +2025,7 @@ public function getAchievementId()
{
return $this->achievementId;
}
-
+
public function setIncrementPayload(Google_Service_Games_GamesAchievementIncrement $incrementPayload)
{
$this->incrementPayload = $incrementPayload;
@@ -1558,7 +2035,7 @@ public function getIncrementPayload()
{
return $this->incrementPayload;
}
-
+
public function setKind($kind)
{
$this->kind = $kind;
@@ -1568,7 +2045,7 @@ public function getKind()
{
return $this->kind;
}
-
+
public function setSetStepsAtLeastPayload(Google_Service_Games_GamesAchievementSetStepsAtLeast $setStepsAtLeastPayload)
{
$this->setStepsAtLeastPayload = $setStepsAtLeastPayload;
@@ -1578,7 +2055,7 @@ public function getSetStepsAtLeastPayload()
{
return $this->setStepsAtLeastPayload;
}
-
+
public function setUpdateType($updateType)
{
$this->updateType = $updateType;
@@ -1588,7 +2065,6 @@ public function getUpdateType()
{
return $this->updateType;
}
-
}
class Google_Service_Games_AchievementUpdateResponse extends Google_Model
@@ -1609,7 +2085,7 @@ public function getAchievementId()
{
return $this->achievementId;
}
-
+
public function setCurrentState($currentState)
{
$this->currentState = $currentState;
@@ -1619,7 +2095,7 @@ public function getCurrentState()
{
return $this->currentState;
}
-
+
public function setCurrentSteps($currentSteps)
{
$this->currentSteps = $currentSteps;
@@ -1629,7 +2105,7 @@ public function getCurrentSteps()
{
return $this->currentSteps;
}
-
+
public function setKind($kind)
{
$this->kind = $kind;
@@ -1639,7 +2115,7 @@ public function getKind()
{
return $this->kind;
}
-
+
public function setNewlyUnlocked($newlyUnlocked)
{
$this->newlyUnlocked = $newlyUnlocked;
@@ -1649,7 +2125,7 @@ public function getNewlyUnlocked()
{
return $this->newlyUnlocked;
}
-
+
public function setUpdateOccurred($updateOccurred)
{
$this->updateOccurred = $updateOccurred;
@@ -1659,7 +2135,6 @@ public function getUpdateOccurred()
{
return $this->updateOccurred;
}
-
}
class Google_Service_Games_AggregateStats extends Google_Model
@@ -1679,7 +2154,7 @@ public function getCount()
{
return $this->count;
}
-
+
public function setKind($kind)
{
$this->kind = $kind;
@@ -1689,7 +2164,7 @@ public function getKind()
{
return $this->kind;
}
-
+
public function setMax($max)
{
$this->max = $max;
@@ -1699,7 +2174,7 @@ public function getMax()
{
return $this->max;
}
-
+
public function setMin($min)
{
$this->min = $min;
@@ -1709,7 +2184,7 @@ public function getMin()
{
return $this->min;
}
-
+
public function setSum($sum)
{
$this->sum = $sum;
@@ -1719,7 +2194,6 @@ public function getSum()
{
return $this->sum;
}
-
}
class Google_Service_Games_AnonymousPlayer extends Google_Model
@@ -1737,7 +2211,7 @@ public function getAvatarImageUrl()
{
return $this->avatarImageUrl;
}
-
+
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
@@ -1747,7 +2221,7 @@ public function getDisplayName()
{
return $this->displayName;
}
-
+
public function setKind($kind)
{
$this->kind = $kind;
@@ -1757,7 +2231,6 @@ public function getKind()
{
return $this->kind;
}
-
}
class Google_Service_Games_Application extends Google_Collection
@@ -1786,7 +2259,7 @@ public function getAchievementCount()
{
return $this->achievementCount;
}
-
+
public function setAssets($assets)
{
$this->assets = $assets;
@@ -1796,7 +2269,7 @@ public function getAssets()
{
return $this->assets;
}
-
+
public function setAuthor($author)
{
$this->author = $author;
@@ -1806,7 +2279,7 @@ public function getAuthor()
{
return $this->author;
}
-
+
public function setCategory(Google_Service_Games_ApplicationCategory $category)
{
$this->category = $category;
@@ -1816,7 +2289,7 @@ public function getCategory()
{
return $this->category;
}
-
+
public function setDescription($description)
{
$this->description = $description;
@@ -1826,7 +2299,7 @@ public function getDescription()
{
return $this->description;
}
-
+
public function setId($id)
{
$this->id = $id;
@@ -1836,7 +2309,7 @@ public function getId()
{
return $this->id;
}
-
+
public function setInstances($instances)
{
$this->instances = $instances;
@@ -1846,7 +2319,7 @@ public function getInstances()
{
return $this->instances;
}
-
+
public function setKind($kind)
{
$this->kind = $kind;
@@ -1856,7 +2329,7 @@ public function getKind()
{
return $this->kind;
}
-
+
public function setLastUpdatedTimestamp($lastUpdatedTimestamp)
{
$this->lastUpdatedTimestamp = $lastUpdatedTimestamp;
@@ -1866,7 +2339,7 @@ public function getLastUpdatedTimestamp()
{
return $this->lastUpdatedTimestamp;
}
-
+
public function setLeaderboardCount($leaderboardCount)
{
$this->leaderboardCount = $leaderboardCount;
@@ -1876,7 +2349,7 @@ public function getLeaderboardCount()
{
return $this->leaderboardCount;
}
-
+
public function setName($name)
{
$this->name = $name;
@@ -1886,7 +2359,6 @@ public function getName()
{
return $this->name;
}
-
}
class Google_Service_Games_ApplicationCategory extends Google_Model
@@ -1904,7 +2376,7 @@ public function getKind()
{
return $this->kind;
}
-
+
public function setPrimary($primary)
{
$this->primary = $primary;
@@ -1914,7 +2386,7 @@ public function getPrimary()
{
return $this->primary;
}
-
+
public function setSecondary($secondary)
{
$this->secondary = $secondary;
@@ -1924,7 +2396,6 @@ public function getSecondary()
{
return $this->secondary;
}
-
}
class Google_Service_Games_GamesAchievementIncrement extends Google_Model
@@ -1942,7 +2413,7 @@ public function getKind()
{
return $this->kind;
}
-
+
public function setRequestId($requestId)
{
$this->requestId = $requestId;
@@ -1952,7 +2423,7 @@ public function getRequestId()
{
return $this->requestId;
}
-
+
public function setSteps($steps)
{
$this->steps = $steps;
@@ -1962,7 +2433,6 @@ public function getSteps()
{
return $this->steps;
}
-
}
class Google_Service_Games_GamesAchievementSetStepsAtLeast extends Google_Model
@@ -1979,7 +2449,7 @@ public function getKind()
{
return $this->kind;
}
-
+
public function setSteps($steps)
{
$this->steps = $steps;
@@ -1989,7 +2459,6 @@ public function getSteps()
{
return $this->steps;
}
-
}
class Google_Service_Games_ImageAsset extends Google_Model
@@ -2009,7 +2478,7 @@ public function getHeight()
{
return $this->height;
}
-
+
public function setKind($kind)
{
$this->kind = $kind;
@@ -2019,7 +2488,7 @@ public function getKind()
{
return $this->kind;
}
-
+
public function setName($name)
{
$this->name = $name;
@@ -2029,7 +2498,7 @@ public function getName()
{
return $this->name;
}
-
+
public function setUrl($url)
{
$this->url = $url;
@@ -2039,7 +2508,7 @@ public function getUrl()
{
return $this->url;
}
-
+
public function setWidth($width)
{
$this->width = $width;
@@ -2049,7 +2518,6 @@ public function getWidth()
{
return $this->width;
}
-
}
class Google_Service_Games_Instance extends Google_Model
@@ -2076,7 +2544,7 @@ public function getAcquisitionUri()
{
return $this->acquisitionUri;
}
-
+
public function setAndroidInstance(Google_Service_Games_InstanceAndroidDetails $androidInstance)
{
$this->androidInstance = $androidInstance;
@@ -2086,7 +2554,7 @@ public function getAndroidInstance()
{
return $this->androidInstance;
}
-
+
public function setIosInstance(Google_Service_Games_InstanceIosDetails $iosInstance)
{
$this->iosInstance = $iosInstance;
@@ -2096,7 +2564,7 @@ public function getIosInstance()
{
return $this->iosInstance;
}
-
+
public function setKind($kind)
{
$this->kind = $kind;
@@ -2106,7 +2574,7 @@ public function getKind()
{
return $this->kind;
}
-
+
public function setName($name)
{
$this->name = $name;
@@ -2116,7 +2584,7 @@ public function getName()
{
return $this->name;
}
-
+
public function setPlatformType($platformType)
{
$this->platformType = $platformType;
@@ -2126,7 +2594,7 @@ public function getPlatformType()
{
return $this->platformType;
}
-
+
public function setRealtimePlay($realtimePlay)
{
$this->realtimePlay = $realtimePlay;
@@ -2136,7 +2604,7 @@ public function getRealtimePlay()
{
return $this->realtimePlay;
}
-
+
public function setTurnBasedPlay($turnBasedPlay)
{
$this->turnBasedPlay = $turnBasedPlay;
@@ -2146,7 +2614,7 @@ public function getTurnBasedPlay()
{
return $this->turnBasedPlay;
}
-
+
public function setWebInstance(Google_Service_Games_InstanceWebDetails $webInstance)
{
$this->webInstance = $webInstance;
@@ -2156,7 +2624,6 @@ public function getWebInstance()
{
return $this->webInstance;
}
-
}
class Google_Service_Games_InstanceAndroidDetails extends Google_Model
@@ -2175,7 +2642,7 @@ public function getEnablePiracyCheck()
{
return $this->enablePiracyCheck;
}
-
+
public function setKind($kind)
{
$this->kind = $kind;
@@ -2185,7 +2652,7 @@ public function getKind()
{
return $this->kind;
}
-
+
public function setPackageName($packageName)
{
$this->packageName = $packageName;
@@ -2195,7 +2662,7 @@ public function getPackageName()
{
return $this->packageName;
}
-
+
public function setPreferred($preferred)
{
$this->preferred = $preferred;
@@ -2205,7 +2672,6 @@ public function getPreferred()
{
return $this->preferred;
}
-
}
class Google_Service_Games_InstanceIosDetails extends Google_Model
@@ -2227,7 +2693,7 @@ public function getBundleIdentifier()
{
return $this->bundleIdentifier;
}
-
+
public function setItunesAppId($itunesAppId)
{
$this->itunesAppId = $itunesAppId;
@@ -2237,7 +2703,7 @@ public function getItunesAppId()
{
return $this->itunesAppId;
}
-
+
public function setKind($kind)
{
$this->kind = $kind;
@@ -2247,7 +2713,7 @@ public function getKind()
{
return $this->kind;
}
-
+
public function setPreferredForIpad($preferredForIpad)
{
$this->preferredForIpad = $preferredForIpad;
@@ -2257,7 +2723,7 @@ public function getPreferredForIpad()
{
return $this->preferredForIpad;
}
-
+
public function setPreferredForIphone($preferredForIphone)
{
$this->preferredForIphone = $preferredForIphone;
@@ -2267,7 +2733,7 @@ public function getPreferredForIphone()
{
return $this->preferredForIphone;
}
-
+
public function setSupportIpad($supportIpad)
{
$this->supportIpad = $supportIpad;
@@ -2277,7 +2743,7 @@ public function getSupportIpad()
{
return $this->supportIpad;
}
-
+
public function setSupportIphone($supportIphone)
{
$this->supportIphone = $supportIphone;
@@ -2287,7 +2753,6 @@ public function getSupportIphone()
{
return $this->supportIphone;
}
-
}
class Google_Service_Games_InstanceWebDetails extends Google_Model
@@ -2305,7 +2770,7 @@ public function getKind()
{
return $this->kind;
}
-
+
public function setLaunchUrl($launchUrl)
{
$this->launchUrl = $launchUrl;
@@ -2315,7 +2780,7 @@ public function getLaunchUrl()
{
return $this->launchUrl;
}
-
+
public function setPreferred($preferred)
{
$this->preferred = $preferred;
@@ -2325,7 +2790,6 @@ public function getPreferred()
{
return $this->preferred;
}
-
}
class Google_Service_Games_Leaderboard extends Google_Model
@@ -2346,7 +2810,7 @@ public function getIconUrl()
{
return $this->iconUrl;
}
-
+
public function setId($id)
{
$this->id = $id;
@@ -2356,7 +2820,7 @@ public function getId()
{
return $this->id;
}
-
+
public function setIsIconUrlDefault($isIconUrlDefault)
{
$this->isIconUrlDefault = $isIconUrlDefault;
@@ -2366,7 +2830,7 @@ public function getIsIconUrlDefault()
{
return $this->isIconUrlDefault;
}
-
+
public function setKind($kind)
{
$this->kind = $kind;
@@ -2376,7 +2840,7 @@ public function getKind()
{
return $this->kind;
}
-
+
public function setName($name)
{
$this->name = $name;
@@ -2386,7 +2850,7 @@ public function getName()
{
return $this->name;
}
-
+
public function setOrder($order)
{
$this->order = $order;
@@ -2396,7 +2860,6 @@ public function getOrder()
{
return $this->order;
}
-
}
class Google_Service_Games_LeaderboardEntry extends Google_Model
@@ -2421,7 +2884,7 @@ public function getFormattedScore()
{
return $this->formattedScore;
}
-
+
public function setFormattedScoreRank($formattedScoreRank)
{
$this->formattedScoreRank = $formattedScoreRank;
@@ -2431,7 +2894,7 @@ public function getFormattedScoreRank()
{
return $this->formattedScoreRank;
}
-
+
public function setKind($kind)
{
$this->kind = $kind;
@@ -2441,7 +2904,7 @@ public function getKind()
{
return $this->kind;
}
-
+
public function setPlayer(Google_Service_Games_Player $player)
{
$this->player = $player;
@@ -2451,7 +2914,7 @@ public function getPlayer()
{
return $this->player;
}
-
+
public function setScoreRank($scoreRank)
{
$this->scoreRank = $scoreRank;
@@ -2461,7 +2924,7 @@ public function getScoreRank()
{
return $this->scoreRank;
}
-
+
public function setScoreTag($scoreTag)
{
$this->scoreTag = $scoreTag;
@@ -2471,7 +2934,7 @@ public function getScoreTag()
{
return $this->scoreTag;
}
-
+
public function setScoreValue($scoreValue)
{
$this->scoreValue = $scoreValue;
@@ -2481,7 +2944,7 @@ public function getScoreValue()
{
return $this->scoreValue;
}
-
+
public function setTimeSpan($timeSpan)
{
$this->timeSpan = $timeSpan;
@@ -2491,7 +2954,7 @@ public function getTimeSpan()
{
return $this->timeSpan;
}
-
+
public function setWriteTimestampMillis($writeTimestampMillis)
{
$this->writeTimestampMillis = $writeTimestampMillis;
@@ -2501,7 +2964,6 @@ public function getWriteTimestampMillis()
{
return $this->writeTimestampMillis;
}
-
}
class Google_Service_Games_LeaderboardListResponse extends Google_Collection
@@ -2520,7 +2982,7 @@ public function getItems()
{
return $this->items;
}
-
+
public function setKind($kind)
{
$this->kind = $kind;
@@ -2530,7 +2992,7 @@ public function getKind()
{
return $this->kind;
}
-
+
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
@@ -2540,7 +3002,6 @@ public function getNextPageToken()
{
return $this->nextPageToken;
}
-
}
class Google_Service_Games_LeaderboardScoreRank extends Google_Model
@@ -2560,7 +3021,7 @@ public function getFormattedNumScores()
{
return $this->formattedNumScores;
}
-
+
public function setFormattedRank($formattedRank)
{
$this->formattedRank = $formattedRank;
@@ -2570,7 +3031,7 @@ public function getFormattedRank()
{
return $this->formattedRank;
}
-
+
public function setKind($kind)
{
$this->kind = $kind;
@@ -2580,7 +3041,7 @@ public function getKind()
{
return $this->kind;
}
-
+
public function setNumScores($numScores)
{
$this->numScores = $numScores;
@@ -2590,7 +3051,7 @@ public function getNumScores()
{
return $this->numScores;
}
-
+
public function setRank($rank)
{
$this->rank = $rank;
@@ -2600,7 +3061,6 @@ public function getRank()
{
return $this->rank;
}
-
}
class Google_Service_Games_LeaderboardScores extends Google_Collection
@@ -2623,7 +3083,7 @@ public function getItems()
{
return $this->items;
}
-
+
public function setKind($kind)
{
$this->kind = $kind;
@@ -2633,7 +3093,7 @@ public function getKind()
{
return $this->kind;
}
-
+
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
@@ -2643,7 +3103,7 @@ public function getNextPageToken()
{
return $this->nextPageToken;
}
-
+
public function setNumScores($numScores)
{
$this->numScores = $numScores;
@@ -2653,7 +3113,7 @@ public function getNumScores()
{
return $this->numScores;
}
-
+
public function setPlayerScore(Google_Service_Games_LeaderboardEntry $playerScore)
{
$this->playerScore = $playerScore;
@@ -2663,7 +3123,7 @@ public function getPlayerScore()
{
return $this->playerScore;
}
-
+
public function setPrevPageToken($prevPageToken)
{
$this->prevPageToken = $prevPageToken;
@@ -2673,7 +3133,6 @@ public function getPrevPageToken()
{
return $this->prevPageToken;
}
-
}
class Google_Service_Games_NetworkDiagnostics extends Google_Model
@@ -2692,7 +3151,7 @@ public function getAndroidNetworkSubtype()
{
return $this->androidNetworkSubtype;
}
-
+
public function setAndroidNetworkType($androidNetworkType)
{
$this->androidNetworkType = $androidNetworkType;
@@ -2702,7 +3161,7 @@ public function getAndroidNetworkType()
{
return $this->androidNetworkType;
}
-
+
public function setKind($kind)
{
$this->kind = $kind;
@@ -2712,7 +3171,7 @@ public function getKind()
{
return $this->kind;
}
-
+
public function setRegistrationLatencyMillis($registrationLatencyMillis)
{
$this->registrationLatencyMillis = $registrationLatencyMillis;
@@ -2722,7 +3181,54 @@ public function getRegistrationLatencyMillis()
{
return $this->registrationLatencyMillis;
}
-
+}
+
+class Google_Service_Games_ParticipantResult extends Google_Model
+{
+ public $kind;
+ public $participantId;
+ public $placing;
+ public $result;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setParticipantId($participantId)
+ {
+ $this->participantId = $participantId;
+ }
+
+ public function getParticipantId()
+ {
+ return $this->participantId;
+ }
+
+ public function setPlacing($placing)
+ {
+ $this->placing = $placing;
+ }
+
+ public function getPlacing()
+ {
+ return $this->placing;
+ }
+
+ public function setResult($result)
+ {
+ $this->result = $result;
+ }
+
+ public function getResult()
+ {
+ return $this->result;
+ }
}
class Google_Service_Games_PeerChannelDiagnostics extends Google_Model
@@ -2748,7 +3254,7 @@ public function getBytesReceived()
{
return $this->bytesReceived;
}
-
+
public function setBytesSent(Google_Service_Games_AggregateStats $bytesSent)
{
$this->bytesSent = $bytesSent;
@@ -2758,7 +3264,7 @@ public function getBytesSent()
{
return $this->bytesSent;
}
-
+
public function setKind($kind)
{
$this->kind = $kind;
@@ -2768,7 +3274,7 @@ public function getKind()
{
return $this->kind;
}
-
+
public function setNumMessagesLost($numMessagesLost)
{
$this->numMessagesLost = $numMessagesLost;
@@ -2778,7 +3284,7 @@ public function getNumMessagesLost()
{
return $this->numMessagesLost;
}
-
+
public function setNumMessagesReceived($numMessagesReceived)
{
$this->numMessagesReceived = $numMessagesReceived;
@@ -2788,7 +3294,7 @@ public function getNumMessagesReceived()
{
return $this->numMessagesReceived;
}
-
+
public function setNumMessagesSent($numMessagesSent)
{
$this->numMessagesSent = $numMessagesSent;
@@ -2798,7 +3304,7 @@ public function getNumMessagesSent()
{
return $this->numMessagesSent;
}
-
+
public function setNumSendFailures($numSendFailures)
{
$this->numSendFailures = $numSendFailures;
@@ -2808,7 +3314,7 @@ public function getNumSendFailures()
{
return $this->numSendFailures;
}
-
+
public function setRoundtripLatencyMillis(Google_Service_Games_AggregateStats $roundtripLatencyMillis)
{
$this->roundtripLatencyMillis = $roundtripLatencyMillis;
@@ -2818,7 +3324,6 @@ public function getRoundtripLatencyMillis()
{
return $this->roundtripLatencyMillis;
}
-
}
class Google_Service_Games_PeerSessionDiagnostics extends Google_Model
@@ -2840,7 +3345,7 @@ public function getConnectedTimestampMillis()
{
return $this->connectedTimestampMillis;
}
-
+
public function setKind($kind)
{
$this->kind = $kind;
@@ -2850,7 +3355,7 @@ public function getKind()
{
return $this->kind;
}
-
+
public function setParticipantId($participantId)
{
$this->participantId = $participantId;
@@ -2860,7 +3365,7 @@ public function getParticipantId()
{
return $this->participantId;
}
-
+
public function setReliableChannel(Google_Service_Games_PeerChannelDiagnostics $reliableChannel)
{
$this->reliableChannel = $reliableChannel;
@@ -2870,7 +3375,7 @@ public function getReliableChannel()
{
return $this->reliableChannel;
}
-
+
public function setUnreliableChannel(Google_Service_Games_PeerChannelDiagnostics $unreliableChannel)
{
$this->unreliableChannel = $unreliableChannel;
@@ -2880,7 +3385,6 @@ public function getUnreliableChannel()
{
return $this->unreliableChannel;
}
-
}
class Google_Service_Games_Player extends Google_Model
@@ -2899,7 +3403,7 @@ public function getAvatarImageUrl()
{
return $this->avatarImageUrl;
}
-
+
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
@@ -2909,7 +3413,7 @@ public function getDisplayName()
{
return $this->displayName;
}
-
+
public function setKind($kind)
{
$this->kind = $kind;
@@ -2919,7 +3423,7 @@ public function getKind()
{
return $this->kind;
}
-
+
public function setPlayerId($playerId)
{
$this->playerId = $playerId;
@@ -2929,7 +3433,6 @@ public function getPlayerId()
{
return $this->playerId;
}
-
}
class Google_Service_Games_PlayerAchievement extends Google_Model
@@ -2950,7 +3453,7 @@ public function getAchievementState()
{
return $this->achievementState;
}
-
+
public function setCurrentSteps($currentSteps)
{
$this->currentSteps = $currentSteps;
@@ -2960,7 +3463,7 @@ public function getCurrentSteps()
{
return $this->currentSteps;
}
-
+
public function setFormattedCurrentStepsString($formattedCurrentStepsString)
{
$this->formattedCurrentStepsString = $formattedCurrentStepsString;
@@ -2970,7 +3473,7 @@ public function getFormattedCurrentStepsString()
{
return $this->formattedCurrentStepsString;
}
-
+
public function setId($id)
{
$this->id = $id;
@@ -2980,7 +3483,7 @@ public function getId()
{
return $this->id;
}
-
+
public function setKind($kind)
{
$this->kind = $kind;
@@ -2990,7 +3493,7 @@ public function getKind()
{
return $this->kind;
}
-
+
public function setLastUpdatedTimestamp($lastUpdatedTimestamp)
{
$this->lastUpdatedTimestamp = $lastUpdatedTimestamp;
@@ -3000,7 +3503,6 @@ public function getLastUpdatedTimestamp()
{
return $this->lastUpdatedTimestamp;
}
-
}
class Google_Service_Games_PlayerAchievementListResponse extends Google_Collection
@@ -3019,7 +3521,7 @@ public function getItems()
{
return $this->items;
}
-
+
public function setKind($kind)
{
$this->kind = $kind;
@@ -3029,7 +3531,7 @@ public function getKind()
{
return $this->kind;
}
-
+
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
@@ -3039,7 +3541,6 @@ public function getNextPageToken()
{
return $this->nextPageToken;
}
-
}
class Google_Service_Games_PlayerLeaderboardScore extends Google_Model
@@ -3065,7 +3566,7 @@ public function getKind()
{
return $this->kind;
}
-
+
public function setLeaderboardId($leaderboardId)
{
$this->leaderboardId = $leaderboardId;
@@ -3075,7 +3576,7 @@ public function getLeaderboardId()
{
return $this->leaderboardId;
}
-
+
public function setPublicRank(Google_Service_Games_LeaderboardScoreRank $publicRank)
{
$this->publicRank = $publicRank;
@@ -3085,7 +3586,7 @@ public function getPublicRank()
{
return $this->publicRank;
}
-
+
public function setScoreString($scoreString)
{
$this->scoreString = $scoreString;
@@ -3095,7 +3596,7 @@ public function getScoreString()
{
return $this->scoreString;
}
-
+
public function setScoreTag($scoreTag)
{
$this->scoreTag = $scoreTag;
@@ -3105,7 +3606,7 @@ public function getScoreTag()
{
return $this->scoreTag;
}
-
+
public function setScoreValue($scoreValue)
{
$this->scoreValue = $scoreValue;
@@ -3115,7 +3616,7 @@ public function getScoreValue()
{
return $this->scoreValue;
}
-
+
public function setSocialRank(Google_Service_Games_LeaderboardScoreRank $socialRank)
{
$this->socialRank = $socialRank;
@@ -3125,7 +3626,7 @@ public function getSocialRank()
{
return $this->socialRank;
}
-
+
public function setTimeSpan($timeSpan)
{
$this->timeSpan = $timeSpan;
@@ -3135,7 +3636,7 @@ public function getTimeSpan()
{
return $this->timeSpan;
}
-
+
public function setWriteTimestamp($writeTimestamp)
{
$this->writeTimestamp = $writeTimestamp;
@@ -3145,7 +3646,6 @@ public function getWriteTimestamp()
{
return $this->writeTimestamp;
}
-
}
class Google_Service_Games_PlayerLeaderboardScoreListResponse extends Google_Collection
@@ -3166,7 +3666,7 @@ public function getItems()
{
return $this->items;
}
-
+
public function setKind($kind)
{
$this->kind = $kind;
@@ -3176,7 +3676,7 @@ public function getKind()
{
return $this->kind;
}
-
+
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
@@ -3186,7 +3686,7 @@ public function getNextPageToken()
{
return $this->nextPageToken;
}
-
+
public function setPlayer(Google_Service_Games_Player $player)
{
$this->player = $player;
@@ -3196,7 +3696,6 @@ public function getPlayer()
{
return $this->player;
}
-
}
class Google_Service_Games_PlayerScore extends Google_Model
@@ -3216,7 +3715,7 @@ public function getFormattedScore()
{
return $this->formattedScore;
}
-
+
public function setKind($kind)
{
$this->kind = $kind;
@@ -3226,7 +3725,7 @@ public function getKind()
{
return $this->kind;
}
-
+
public function setScore($score)
{
$this->score = $score;
@@ -3236,7 +3735,7 @@ public function getScore()
{
return $this->score;
}
-
+
public function setScoreTag($scoreTag)
{
$this->scoreTag = $scoreTag;
@@ -3246,7 +3745,7 @@ public function getScoreTag()
{
return $this->scoreTag;
}
-
+
public function setTimeSpan($timeSpan)
{
$this->timeSpan = $timeSpan;
@@ -3256,7 +3755,6 @@ public function getTimeSpan()
{
return $this->timeSpan;
}
-
}
class Google_Service_Games_PlayerScoreListResponse extends Google_Collection
@@ -3274,7 +3772,7 @@ public function getKind()
{
return $this->kind;
}
-
+
public function setSubmittedScores($submittedScores)
{
$this->submittedScores = $submittedScores;
@@ -3284,7 +3782,6 @@ public function getSubmittedScores()
{
return $this->submittedScores;
}
-
}
class Google_Service_Games_PlayerScoreResponse extends Google_Collection
@@ -3306,7 +3803,7 @@ public function getBeatenScoreTimeSpans()
{
return $this->beatenScoreTimeSpans;
}
-
+
public function setFormattedScore($formattedScore)
{
$this->formattedScore = $formattedScore;
@@ -3316,7 +3813,7 @@ public function getFormattedScore()
{
return $this->formattedScore;
}
-
+
public function setKind($kind)
{
$this->kind = $kind;
@@ -3326,7 +3823,7 @@ public function getKind()
{
return $this->kind;
}
-
+
public function setLeaderboardId($leaderboardId)
{
$this->leaderboardId = $leaderboardId;
@@ -3336,7 +3833,7 @@ public function getLeaderboardId()
{
return $this->leaderboardId;
}
-
+
public function setScoreTag($scoreTag)
{
$this->scoreTag = $scoreTag;
@@ -3346,7 +3843,7 @@ public function getScoreTag()
{
return $this->scoreTag;
}
-
+
public function setUnbeatenScores($unbeatenScores)
{
$this->unbeatenScores = $unbeatenScores;
@@ -3356,7 +3853,6 @@ public function getUnbeatenScores()
{
return $this->unbeatenScores;
}
-
}
class Google_Service_Games_PlayerScoreSubmissionList extends Google_Collection
@@ -3374,7 +3870,7 @@ public function getKind()
{
return $this->kind;
}
-
+
public function setScores($scores)
{
$this->scores = $scores;
@@ -3384,7 +3880,6 @@ public function getScores()
{
return $this->scores;
}
-
}
class Google_Service_Games_RevisionCheckResponse extends Google_Model
@@ -3402,7 +3897,7 @@ public function getApiVersion()
{
return $this->apiVersion;
}
-
+
public function setKind($kind)
{
$this->kind = $kind;
@@ -3412,7 +3907,7 @@ public function getKind()
{
return $this->kind;
}
-
+
public function setRevisionStatus($revisionStatus)
{
$this->revisionStatus = $revisionStatus;
@@ -3422,7 +3917,6 @@ public function getRevisionStatus()
{
return $this->revisionStatus;
}
-
}
class Google_Service_Games_Room extends Google_Collection
@@ -3454,7 +3948,7 @@ public function getApplicationId()
{
return $this->applicationId;
}
-
+
public function setAutoMatchingCriteria(Google_Service_Games_RoomAutoMatchingCriteria $autoMatchingCriteria)
{
$this->autoMatchingCriteria = $autoMatchingCriteria;
@@ -3464,7 +3958,7 @@ public function getAutoMatchingCriteria()
{
return $this->autoMatchingCriteria;
}
-
+
public function setAutoMatchingStatus(Google_Service_Games_RoomAutoMatchStatus $autoMatchingStatus)
{
$this->autoMatchingStatus = $autoMatchingStatus;
@@ -3474,7 +3968,7 @@ public function getAutoMatchingStatus()
{
return $this->autoMatchingStatus;
}
-
+
public function setCreationDetails(Google_Service_Games_RoomModification $creationDetails)
{
$this->creationDetails = $creationDetails;
@@ -3484,7 +3978,7 @@ public function getCreationDetails()
{
return $this->creationDetails;
}
-
+
public function setDescription($description)
{
$this->description = $description;
@@ -3494,7 +3988,7 @@ public function getDescription()
{
return $this->description;
}
-
+
public function setKind($kind)
{
$this->kind = $kind;
@@ -3504,7 +3998,7 @@ public function getKind()
{
return $this->kind;
}
-
+
public function setLastUpdateDetails(Google_Service_Games_RoomModification $lastUpdateDetails)
{
$this->lastUpdateDetails = $lastUpdateDetails;
@@ -3514,7 +4008,7 @@ public function getLastUpdateDetails()
{
return $this->lastUpdateDetails;
}
-
+
public function setParticipants($participants)
{
$this->participants = $participants;
@@ -3524,7 +4018,7 @@ public function getParticipants()
{
return $this->participants;
}
-
+
public function setRoomId($roomId)
{
$this->roomId = $roomId;
@@ -3534,7 +4028,7 @@ public function getRoomId()
{
return $this->roomId;
}
-
+
public function setRoomStatusVersion($roomStatusVersion)
{
$this->roomStatusVersion = $roomStatusVersion;
@@ -3544,7 +4038,7 @@ public function getRoomStatusVersion()
{
return $this->roomStatusVersion;
}
-
+
public function setStatus($status)
{
$this->status = $status;
@@ -3554,7 +4048,7 @@ public function getStatus()
{
return $this->status;
}
-
+
public function setVariant($variant)
{
$this->variant = $variant;
@@ -3564,7 +4058,6 @@ public function getVariant()
{
return $this->variant;
}
-
}
class Google_Service_Games_RoomAutoMatchStatus extends Google_Model
@@ -3581,7 +4074,7 @@ public function getKind()
{
return $this->kind;
}
-
+
public function setWaitEstimateSeconds($waitEstimateSeconds)
{
$this->waitEstimateSeconds = $waitEstimateSeconds;
@@ -3591,7 +4084,6 @@ public function getWaitEstimateSeconds()
{
return $this->waitEstimateSeconds;
}
-
}
class Google_Service_Games_RoomAutoMatchingCriteria extends Google_Model
@@ -3610,7 +4102,7 @@ public function getExclusiveBitmask()
{
return $this->exclusiveBitmask;
}
-
+
public function setKind($kind)
{
$this->kind = $kind;
@@ -3620,7 +4112,7 @@ public function getKind()
{
return $this->kind;
}
-
+
public function setMaxAutoMatchingPlayers($maxAutoMatchingPlayers)
{
$this->maxAutoMatchingPlayers = $maxAutoMatchingPlayers;
@@ -3630,7 +4122,7 @@ public function getMaxAutoMatchingPlayers()
{
return $this->maxAutoMatchingPlayers;
}
-
+
public function setMinAutoMatchingPlayers($minAutoMatchingPlayers)
{
$this->minAutoMatchingPlayers = $minAutoMatchingPlayers;
@@ -3640,7 +4132,6 @@ public function getMinAutoMatchingPlayers()
{
return $this->minAutoMatchingPlayers;
}
-
}
class Google_Service_Games_RoomClientAddress extends Google_Model
@@ -3657,7 +4148,7 @@ public function getKind()
{
return $this->kind;
}
-
+
public function setXmppAddress($xmppAddress)
{
$this->xmppAddress = $xmppAddress;
@@ -3667,7 +4158,6 @@ public function getXmppAddress()
{
return $this->xmppAddress;
}
-
}
class Google_Service_Games_RoomCreateRequest extends Google_Collection
@@ -3692,7 +4182,7 @@ public function getAutoMatchingCriteria()
{
return $this->autoMatchingCriteria;
}
-
+
public function setCapabilities($capabilities)
{
$this->capabilities = $capabilities;
@@ -3702,7 +4192,7 @@ public function getCapabilities()
{
return $this->capabilities;
}
-
+
public function setClientAddress(Google_Service_Games_RoomClientAddress $clientAddress)
{
$this->clientAddress = $clientAddress;
@@ -3712,7 +4202,7 @@ public function getClientAddress()
{
return $this->clientAddress;
}
-
+
public function setInvitedPlayerIds($invitedPlayerIds)
{
$this->invitedPlayerIds = $invitedPlayerIds;
@@ -3722,7 +4212,7 @@ public function getInvitedPlayerIds()
{
return $this->invitedPlayerIds;
}
-
+
public function setKind($kind)
{
$this->kind = $kind;
@@ -3732,7 +4222,7 @@ public function getKind()
{
return $this->kind;
}
-
+
public function setNetworkDiagnostics(Google_Service_Games_NetworkDiagnostics $networkDiagnostics)
{
$this->networkDiagnostics = $networkDiagnostics;
@@ -3742,7 +4232,7 @@ public function getNetworkDiagnostics()
{
return $this->networkDiagnostics;
}
-
+
public function setVariant($variant)
{
$this->variant = $variant;
@@ -3752,7 +4242,6 @@ public function getVariant()
{
return $this->variant;
}
-
}
class Google_Service_Games_RoomJoinRequest extends Google_Collection
@@ -3773,7 +4262,7 @@ public function getCapabilities()
{
return $this->capabilities;
}
-
+
public function setClientAddress(Google_Service_Games_RoomClientAddress $clientAddress)
{
$this->clientAddress = $clientAddress;
@@ -3783,7 +4272,7 @@ public function getClientAddress()
{
return $this->clientAddress;
}
-
+
public function setKind($kind)
{
$this->kind = $kind;
@@ -3793,7 +4282,7 @@ public function getKind()
{
return $this->kind;
}
-
+
public function setNetworkDiagnostics(Google_Service_Games_NetworkDiagnostics $networkDiagnostics)
{
$this->networkDiagnostics = $networkDiagnostics;
@@ -3803,7 +4292,6 @@ public function getNetworkDiagnostics()
{
return $this->networkDiagnostics;
}
-
}
class Google_Service_Games_RoomLeaveDiagnostics extends Google_Collection
@@ -3824,7 +4312,7 @@ public function getAndroidNetworkSubtype()
{
return $this->androidNetworkSubtype;
}
-
+
public function setAndroidNetworkType($androidNetworkType)
{
$this->androidNetworkType = $androidNetworkType;
@@ -3834,7 +4322,7 @@ public function getAndroidNetworkType()
{
return $this->androidNetworkType;
}
-
+
public function setKind($kind)
{
$this->kind = $kind;
@@ -3844,7 +4332,7 @@ public function getKind()
{
return $this->kind;
}
-
+
public function setPeerSession($peerSession)
{
$this->peerSession = $peerSession;
@@ -3854,7 +4342,7 @@ public function getPeerSession()
{
return $this->peerSession;
}
-
+
public function setSocketsUsed($socketsUsed)
{
$this->socketsUsed = $socketsUsed;
@@ -3864,7 +4352,6 @@ public function getSocketsUsed()
{
return $this->socketsUsed;
}
-
}
class Google_Service_Games_RoomLeaveRequest extends Google_Model
@@ -3883,7 +4370,7 @@ public function getKind()
{
return $this->kind;
}
-
+
public function setLeaveDiagnostics(Google_Service_Games_RoomLeaveDiagnostics $leaveDiagnostics)
{
$this->leaveDiagnostics = $leaveDiagnostics;
@@ -3893,7 +4380,7 @@ public function getLeaveDiagnostics()
{
return $this->leaveDiagnostics;
}
-
+
public function setReason($reason)
{
$this->reason = $reason;
@@ -3903,7 +4390,6 @@ public function getReason()
{
return $this->reason;
}
-
}
class Google_Service_Games_RoomList extends Google_Collection
@@ -3922,7 +4408,7 @@ public function getItems()
{
return $this->items;
}
-
+
public function setKind($kind)
{
$this->kind = $kind;
@@ -3932,7 +4418,7 @@ public function getKind()
{
return $this->kind;
}
-
+
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
@@ -3942,7 +4428,6 @@ public function getNextPageToken()
{
return $this->nextPageToken;
}
-
}
class Google_Service_Games_RoomModification extends Google_Model
@@ -3960,7 +4445,7 @@ public function getKind()
{
return $this->kind;
}
-
+
public function setModifiedTimestampMillis($modifiedTimestampMillis)
{
$this->modifiedTimestampMillis = $modifiedTimestampMillis;
@@ -3970,7 +4455,7 @@ public function getModifiedTimestampMillis()
{
return $this->modifiedTimestampMillis;
}
-
+
public function setParticipantId($participantId)
{
$this->participantId = $participantId;
@@ -3980,7 +4465,6 @@ public function getParticipantId()
{
return $this->participantId;
}
-
}
class Google_Service_Games_RoomP2PStatus extends Google_Model
@@ -4002,7 +4486,7 @@ public function getConnectionSetupLatencyMillis()
{
return $this->connectionSetupLatencyMillis;
}
-
+
public function setError($error)
{
$this->error = $error;
@@ -4012,7 +4496,7 @@ public function getError()
{
return $this->error;
}
-
+
public function setErrorReason($errorReason)
{
$this->errorReason = $errorReason;
@@ -4022,7 +4506,7 @@ public function getErrorReason()
{
return $this->errorReason;
}
-
+
public function setKind($kind)
{
$this->kind = $kind;
@@ -4032,7 +4516,7 @@ public function getKind()
{
return $this->kind;
}
-
+
public function setParticipantId($participantId)
{
$this->participantId = $participantId;
@@ -4042,7 +4526,7 @@ public function getParticipantId()
{
return $this->participantId;
}
-
+
public function setStatus($status)
{
$this->status = $status;
@@ -4052,7 +4536,7 @@ public function getStatus()
{
return $this->status;
}
-
+
public function setUnreliableRoundtripLatencyMillis($unreliableRoundtripLatencyMillis)
{
$this->unreliableRoundtripLatencyMillis = $unreliableRoundtripLatencyMillis;
@@ -4062,7 +4546,6 @@ public function getUnreliableRoundtripLatencyMillis()
{
return $this->unreliableRoundtripLatencyMillis;
}
-
}
class Google_Service_Games_RoomP2PStatuses extends Google_Collection
@@ -4080,7 +4563,7 @@ public function getKind()
{
return $this->kind;
}
-
+
public function setUpdates($updates)
{
$this->updates = $updates;
@@ -4090,7 +4573,6 @@ public function getUpdates()
{
return $this->updates;
}
-
}
class Google_Service_Games_RoomParticipant extends Google_Collection
@@ -4117,7 +4599,7 @@ public function getAutoMatchedPlayer()
{
return $this->autoMatchedPlayer;
}
-
+
public function setCapabilities($capabilities)
{
$this->capabilities = $capabilities;
@@ -4127,7 +4609,7 @@ public function getCapabilities()
{
return $this->capabilities;
}
-
+
public function setClientAddress(Google_Service_Games_RoomClientAddress $clientAddress)
{
$this->clientAddress = $clientAddress;
@@ -4137,7 +4619,7 @@ public function getClientAddress()
{
return $this->clientAddress;
}
-
+
public function setConnected($connected)
{
$this->connected = $connected;
@@ -4147,7 +4629,7 @@ public function getConnected()
{
return $this->connected;
}
-
+
public function setId($id)
{
$this->id = $id;
@@ -4157,7 +4639,7 @@ public function getId()
{
return $this->id;
}
-
+
public function setKind($kind)
{
$this->kind = $kind;
@@ -4167,7 +4649,7 @@ public function getKind()
{
return $this->kind;
}
-
+
public function setLeaveReason($leaveReason)
{
$this->leaveReason = $leaveReason;
@@ -4177,7 +4659,7 @@ public function getLeaveReason()
{
return $this->leaveReason;
}
-
+
public function setPlayer(Google_Service_Games_Player $player)
{
$this->player = $player;
@@ -4187,7 +4669,7 @@ public function getPlayer()
{
return $this->player;
}
-
+
public function setStatus($status)
{
$this->status = $status;
@@ -4197,7 +4679,6 @@ public function getStatus()
{
return $this->status;
}
-
}
class Google_Service_Games_RoomStatus extends Google_Collection
@@ -4220,7 +4701,7 @@ public function getAutoMatchingStatus()
{
return $this->autoMatchingStatus;
}
-
+
public function setKind($kind)
{
$this->kind = $kind;
@@ -4230,7 +4711,7 @@ public function getKind()
{
return $this->kind;
}
-
+
public function setParticipants($participants)
{
$this->participants = $participants;
@@ -4240,7 +4721,7 @@ public function getParticipants()
{
return $this->participants;
}
-
+
public function setRoomId($roomId)
{
$this->roomId = $roomId;
@@ -4250,7 +4731,7 @@ public function getRoomId()
{
return $this->roomId;
}
-
+
public function setStatus($status)
{
$this->status = $status;
@@ -4260,7 +4741,7 @@ public function getStatus()
{
return $this->status;
}
-
+
public function setStatusVersion($statusVersion)
{
$this->statusVersion = $statusVersion;
@@ -4270,7 +4751,6 @@ public function getStatusVersion()
{
return $this->statusVersion;
}
-
}
class Google_Service_Games_ScoreSubmission extends Google_Model
@@ -4289,7 +4769,7 @@ public function getKind()
{
return $this->kind;
}
-
+
public function setLeaderboardId($leaderboardId)
{
$this->leaderboardId = $leaderboardId;
@@ -4299,7 +4779,7 @@ public function getLeaderboardId()
{
return $this->leaderboardId;
}
-
+
public function setScore($score)
{
$this->score = $score;
@@ -4309,7 +4789,7 @@ public function getScore()
{
return $this->score;
}
-
+
public function setScoreTag($scoreTag)
{
$this->scoreTag = $scoreTag;
@@ -4319,5 +4799,708 @@ public function getScoreTag()
{
return $this->scoreTag;
}
-
+}
+
+class Google_Service_Games_TurnBasedAutoMatchingCriteria extends Google_Model
+{
+ public $exclusiveBitmask;
+ public $kind;
+ public $maxAutoMatchingPlayers;
+ public $minAutoMatchingPlayers;
+
+ public function setExclusiveBitmask($exclusiveBitmask)
+ {
+ $this->exclusiveBitmask = $exclusiveBitmask;
+ }
+
+ public function getExclusiveBitmask()
+ {
+ return $this->exclusiveBitmask;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setMaxAutoMatchingPlayers($maxAutoMatchingPlayers)
+ {
+ $this->maxAutoMatchingPlayers = $maxAutoMatchingPlayers;
+ }
+
+ public function getMaxAutoMatchingPlayers()
+ {
+ return $this->maxAutoMatchingPlayers;
+ }
+
+ public function setMinAutoMatchingPlayers($minAutoMatchingPlayers)
+ {
+ $this->minAutoMatchingPlayers = $minAutoMatchingPlayers;
+ }
+
+ public function getMinAutoMatchingPlayers()
+ {
+ return $this->minAutoMatchingPlayers;
+ }
+}
+
+class Google_Service_Games_TurnBasedMatch extends Google_Collection
+{
+ public $applicationId;
+ protected $autoMatchingCriteriaType = 'Google_Service_Games_TurnBasedAutoMatchingCriteria';
+ protected $autoMatchingCriteriaDataType = '';
+ protected $creationDetailsType = 'Google_Service_Games_TurnBasedMatchModification';
+ protected $creationDetailsDataType = '';
+ protected $dataType = 'Google_Service_Games_TurnBasedMatchData';
+ protected $dataDataType = '';
+ public $kind;
+ protected $lastUpdateDetailsType = 'Google_Service_Games_TurnBasedMatchModification';
+ protected $lastUpdateDetailsDataType = '';
+ public $matchId;
+ public $matchNumber;
+ public $matchVersion;
+ protected $participantsType = 'Google_Service_Games_TurnBasedMatchParticipant';
+ protected $participantsDataType = 'array';
+ public $pendingParticipantId;
+ protected $previousMatchDataType = 'Google_Service_Games_TurnBasedMatchData';
+ protected $previousMatchDataDataType = '';
+ public $rematchId;
+ protected $resultsType = 'Google_Service_Games_ParticipantResult';
+ protected $resultsDataType = 'array';
+ public $status;
+ public $userMatchStatus;
+ public $variant;
+
+ public function setApplicationId($applicationId)
+ {
+ $this->applicationId = $applicationId;
+ }
+
+ public function getApplicationId()
+ {
+ return $this->applicationId;
+ }
+
+ public function setAutoMatchingCriteria(Google_Service_Games_TurnBasedAutoMatchingCriteria $autoMatchingCriteria)
+ {
+ $this->autoMatchingCriteria = $autoMatchingCriteria;
+ }
+
+ public function getAutoMatchingCriteria()
+ {
+ return $this->autoMatchingCriteria;
+ }
+
+ public function setCreationDetails(Google_Service_Games_TurnBasedMatchModification $creationDetails)
+ {
+ $this->creationDetails = $creationDetails;
+ }
+
+ public function getCreationDetails()
+ {
+ return $this->creationDetails;
+ }
+
+ public function setData(Google_Service_Games_TurnBasedMatchData $data)
+ {
+ $this->data = $data;
+ }
+
+ public function getData()
+ {
+ return $this->data;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setLastUpdateDetails(Google_Service_Games_TurnBasedMatchModification $lastUpdateDetails)
+ {
+ $this->lastUpdateDetails = $lastUpdateDetails;
+ }
+
+ public function getLastUpdateDetails()
+ {
+ return $this->lastUpdateDetails;
+ }
+
+ public function setMatchId($matchId)
+ {
+ $this->matchId = $matchId;
+ }
+
+ public function getMatchId()
+ {
+ return $this->matchId;
+ }
+
+ public function setMatchNumber($matchNumber)
+ {
+ $this->matchNumber = $matchNumber;
+ }
+
+ public function getMatchNumber()
+ {
+ return $this->matchNumber;
+ }
+
+ public function setMatchVersion($matchVersion)
+ {
+ $this->matchVersion = $matchVersion;
+ }
+
+ public function getMatchVersion()
+ {
+ return $this->matchVersion;
+ }
+
+ public function setParticipants($participants)
+ {
+ $this->participants = $participants;
+ }
+
+ public function getParticipants()
+ {
+ return $this->participants;
+ }
+
+ public function setPendingParticipantId($pendingParticipantId)
+ {
+ $this->pendingParticipantId = $pendingParticipantId;
+ }
+
+ public function getPendingParticipantId()
+ {
+ return $this->pendingParticipantId;
+ }
+
+ public function setPreviousMatchData(Google_Service_Games_TurnBasedMatchData $previousMatchData)
+ {
+ $this->previousMatchData = $previousMatchData;
+ }
+
+ public function getPreviousMatchData()
+ {
+ return $this->previousMatchData;
+ }
+
+ public function setRematchId($rematchId)
+ {
+ $this->rematchId = $rematchId;
+ }
+
+ public function getRematchId()
+ {
+ return $this->rematchId;
+ }
+
+ public function setResults($results)
+ {
+ $this->results = $results;
+ }
+
+ public function getResults()
+ {
+ return $this->results;
+ }
+
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+
+ public function getStatus()
+ {
+ return $this->status;
+ }
+
+ public function setUserMatchStatus($userMatchStatus)
+ {
+ $this->userMatchStatus = $userMatchStatus;
+ }
+
+ public function getUserMatchStatus()
+ {
+ return $this->userMatchStatus;
+ }
+
+ public function setVariant($variant)
+ {
+ $this->variant = $variant;
+ }
+
+ public function getVariant()
+ {
+ return $this->variant;
+ }
+}
+
+class Google_Service_Games_TurnBasedMatchCreateRequest extends Google_Collection
+{
+ protected $autoMatchingCriteriaType = 'Google_Service_Games_TurnBasedAutoMatchingCriteria';
+ protected $autoMatchingCriteriaDataType = '';
+ public $invitedPlayerIds;
+ public $kind;
+ public $requestId;
+ public $variant;
+
+ public function setAutoMatchingCriteria(Google_Service_Games_TurnBasedAutoMatchingCriteria $autoMatchingCriteria)
+ {
+ $this->autoMatchingCriteria = $autoMatchingCriteria;
+ }
+
+ public function getAutoMatchingCriteria()
+ {
+ return $this->autoMatchingCriteria;
+ }
+
+ public function setInvitedPlayerIds($invitedPlayerIds)
+ {
+ $this->invitedPlayerIds = $invitedPlayerIds;
+ }
+
+ public function getInvitedPlayerIds()
+ {
+ return $this->invitedPlayerIds;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setRequestId($requestId)
+ {
+ $this->requestId = $requestId;
+ }
+
+ public function getRequestId()
+ {
+ return $this->requestId;
+ }
+
+ public function setVariant($variant)
+ {
+ $this->variant = $variant;
+ }
+
+ public function getVariant()
+ {
+ return $this->variant;
+ }
+}
+
+class Google_Service_Games_TurnBasedMatchData extends Google_Model
+{
+ public $data;
+ public $dataAvailable;
+ public $kind;
+
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+
+ public function getData()
+ {
+ return $this->data;
+ }
+
+ public function setDataAvailable($dataAvailable)
+ {
+ $this->dataAvailable = $dataAvailable;
+ }
+
+ public function getDataAvailable()
+ {
+ return $this->dataAvailable;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Games_TurnBasedMatchDataRequest extends Google_Model
+{
+ public $data;
+ public $kind;
+
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+
+ public function getData()
+ {
+ return $this->data;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Games_TurnBasedMatchList extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_Games_TurnBasedMatch';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Games_TurnBasedMatchModification extends Google_Model
+{
+ public $kind;
+ public $modifiedTimestampMillis;
+ public $participantId;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setModifiedTimestampMillis($modifiedTimestampMillis)
+ {
+ $this->modifiedTimestampMillis = $modifiedTimestampMillis;
+ }
+
+ public function getModifiedTimestampMillis()
+ {
+ return $this->modifiedTimestampMillis;
+ }
+
+ public function setParticipantId($participantId)
+ {
+ $this->participantId = $participantId;
+ }
+
+ public function getParticipantId()
+ {
+ return $this->participantId;
+ }
+}
+
+class Google_Service_Games_TurnBasedMatchParticipant extends Google_Model
+{
+ protected $autoMatchedPlayerType = 'Google_Service_Games_AnonymousPlayer';
+ protected $autoMatchedPlayerDataType = '';
+ public $id;
+ public $kind;
+ protected $playerType = 'Google_Service_Games_Player';
+ protected $playerDataType = '';
+ public $status;
+
+ public function setAutoMatchedPlayer(Google_Service_Games_AnonymousPlayer $autoMatchedPlayer)
+ {
+ $this->autoMatchedPlayer = $autoMatchedPlayer;
+ }
+
+ public function getAutoMatchedPlayer()
+ {
+ return $this->autoMatchedPlayer;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setPlayer(Google_Service_Games_Player $player)
+ {
+ $this->player = $player;
+ }
+
+ public function getPlayer()
+ {
+ return $this->player;
+ }
+
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+
+ public function getStatus()
+ {
+ return $this->status;
+ }
+}
+
+class Google_Service_Games_TurnBasedMatchRematch extends Google_Model
+{
+ public $kind;
+ protected $previousMatchType = 'Google_Service_Games_TurnBasedMatch';
+ protected $previousMatchDataType = '';
+ protected $rematchType = 'Google_Service_Games_TurnBasedMatch';
+ protected $rematchDataType = '';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setPreviousMatch(Google_Service_Games_TurnBasedMatch $previousMatch)
+ {
+ $this->previousMatch = $previousMatch;
+ }
+
+ public function getPreviousMatch()
+ {
+ return $this->previousMatch;
+ }
+
+ public function setRematch(Google_Service_Games_TurnBasedMatch $rematch)
+ {
+ $this->rematch = $rematch;
+ }
+
+ public function getRematch()
+ {
+ return $this->rematch;
+ }
+}
+
+class Google_Service_Games_TurnBasedMatchResults extends Google_Collection
+{
+ protected $dataType = 'Google_Service_Games_TurnBasedMatchDataRequest';
+ protected $dataDataType = '';
+ public $kind;
+ public $matchVersion;
+ protected $resultsType = 'Google_Service_Games_ParticipantResult';
+ protected $resultsDataType = 'array';
+
+ public function setData(Google_Service_Games_TurnBasedMatchDataRequest $data)
+ {
+ $this->data = $data;
+ }
+
+ public function getData()
+ {
+ return $this->data;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setMatchVersion($matchVersion)
+ {
+ $this->matchVersion = $matchVersion;
+ }
+
+ public function getMatchVersion()
+ {
+ return $this->matchVersion;
+ }
+
+ public function setResults($results)
+ {
+ $this->results = $results;
+ }
+
+ public function getResults()
+ {
+ return $this->results;
+ }
+}
+
+class Google_Service_Games_TurnBasedMatchSync extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_Games_TurnBasedMatch';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $moreAvailable;
+ public $nextPageToken;
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setMoreAvailable($moreAvailable)
+ {
+ $this->moreAvailable = $moreAvailable;
+ }
+
+ public function getMoreAvailable()
+ {
+ return $this->moreAvailable;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Games_TurnBasedMatchTurn extends Google_Collection
+{
+ protected $dataType = 'Google_Service_Games_TurnBasedMatchDataRequest';
+ protected $dataDataType = '';
+ public $kind;
+ public $matchVersion;
+ public $pendingParticipantId;
+ protected $resultsType = 'Google_Service_Games_ParticipantResult';
+ protected $resultsDataType = 'array';
+
+ public function setData(Google_Service_Games_TurnBasedMatchDataRequest $data)
+ {
+ $this->data = $data;
+ }
+
+ public function getData()
+ {
+ return $this->data;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setMatchVersion($matchVersion)
+ {
+ $this->matchVersion = $matchVersion;
+ }
+
+ public function getMatchVersion()
+ {
+ return $this->matchVersion;
+ }
+
+ public function setPendingParticipantId($pendingParticipantId)
+ {
+ $this->pendingParticipantId = $pendingParticipantId;
+ }
+
+ public function getPendingParticipantId()
+ {
+ return $this->pendingParticipantId;
+ }
+
+ public function setResults($results)
+ {
+ $this->results = $results;
+ }
+
+ public function getResults()
+ {
+ return $this->results;
+ }
}
From c69915517fe2f86beb2783638f5af3418adb3151 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
+ * $adminService = new Google_Service_Directory(...);
+ * $channels = $adminService->channels;
+ *
+ */
+class Google_Service_Directory_Channels_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Stop watching resources through this channel (channels.stop)
+ *
+ * @param Google_Channel $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function stop(Google_Service_Directory_Channel $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('stop', array($params));
+ }
+}
+
/**
* The "chromeosdevices" collection of methods.
* Typical usage is:
@@ -1949,6 +2052,8 @@ public function insert(Google_Service_Directory_User $postBody, $optParams = arr
* Query string for prefix matching searches. Should be of the form "key:value*" where key can be
* "email", "givenName" or "familyName". The asterisk is required, for example: "givenName:Ann*" is
* a valid query.
+ * @opt_param string event
+ * Event on which subscription is intended (if subscribing)
* @return Google_Service_Directory_Users
*/
public function listUsers($optParams = array())
@@ -2015,6 +2120,42 @@ public function update($userKey, Google_Service_Directory_User $postBody, $optPa
$params = array_merge($params, $optParams);
return $this->call('update', array($params), "Google_Service_Directory_User");
}
+ /**
+ * Watch for changes in users list (users.watch)
+ *
+ * @param Google_Channel $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string customer
+ * Immutable id of the Google Apps account. In case of multi-domain, to fetch all users for a
+ * customer, fill this field instead of domain.
+ * @opt_param string orderBy
+ * Column to use for sorting results
+ * @opt_param string domain
+ * Name of the domain. Fill this field to get users from only this domain. To return all users in a
+ * multi-domain fill customer field instead.
+ * @opt_param string showDeleted
+ * If set to true retrieves the list of deleted users. Default is false
+ * @opt_param int maxResults
+ * Maximum number of results to return. Default is 100. Max allowed is 500
+ * @opt_param string pageToken
+ * Token to specify next page in the list
+ * @opt_param string sortOrder
+ * Whether to return results in ascending or descending order.
+ * @opt_param string query
+ * Query string for prefix matching searches. Should be of the form "key:value*" where key can be
+ * "email", "givenName" or "familyName". The asterisk is required, for example: "givenName:Ann*" is
+ * a valid query.
+ * @opt_param string event
+ * Event on which subscription is intended (if subscribing)
+ * @return Google_Service_Directory_Channel
+ */
+ public function watch(Google_Service_Directory_Channel $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('watch', array($params), "Google_Service_Directory_Channel");
+ }
}
/**
@@ -2064,6 +2205,9 @@ public function insert($userKey, Google_Service_Directory_Alias $postBody, $optP
* @param string $userKey
* Email or immutable Id of the user
* @param array $optParams Optional parameters.
+ *
+ * @opt_param string event
+ * Event on which subscription is intended (if subscribing)
* @return Google_Service_Directory_Aliases
*/
public function listUsersAliases($userKey, $optParams = array())
@@ -2072,6 +2216,24 @@ public function listUsersAliases($userKey, $optParams = array())
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Directory_Aliases");
}
+ /**
+ * Watch for changes in user aliases list (aliases.watch)
+ *
+ * @param string $userKey
+ * Email or immutable Id of the user
+ * @param Google_Channel $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string event
+ * Event on which subscription is intended (if subscribing)
+ * @return Google_Service_Directory_Channel
+ */
+ public function watch($userKey, Google_Service_Directory_Channel $postBody, $optParams = array())
+ {
+ $params = array('userKey' => $userKey, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('watch', array($params), "Google_Service_Directory_Channel");
+ }
}
/**
* The "photos" collection of methods.
@@ -2420,6 +2582,120 @@ public function getKind()
}
}
+class Google_Service_Directory_Channel extends Google_Model
+{
+ public $address;
+ public $expiration;
+ public $id;
+ public $kind;
+ public $params;
+ public $payload;
+ public $resourceId;
+ public $resourceUri;
+ public $token;
+ public $type;
+
+ public function setAddress($address)
+ {
+ $this->address = $address;
+ }
+
+ public function getAddress()
+ {
+ return $this->address;
+ }
+
+ public function setExpiration($expiration)
+ {
+ $this->expiration = $expiration;
+ }
+
+ public function getExpiration()
+ {
+ return $this->expiration;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setParams($params)
+ {
+ $this->params = $params;
+ }
+
+ public function getParams()
+ {
+ return $this->params;
+ }
+
+ public function setPayload($payload)
+ {
+ $this->payload = $payload;
+ }
+
+ public function getPayload()
+ {
+ return $this->payload;
+ }
+
+ public function setResourceId($resourceId)
+ {
+ $this->resourceId = $resourceId;
+ }
+
+ public function getResourceId()
+ {
+ return $this->resourceId;
+ }
+
+ public function setResourceUri($resourceUri)
+ {
+ $this->resourceUri = $resourceUri;
+ }
+
+ public function getResourceUri()
+ {
+ return $this->resourceUri;
+ }
+
+ public function setToken($token)
+ {
+ $this->token = $token;
+ }
+
+ public function getToken()
+ {
+ return $this->token;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
class Google_Service_Directory_ChromeOsDevice extends Google_Model
{
public $annotatedLocation;
From 2b3b475e3ee52e92fc7b649138ef4f9da3d4f9b9 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
+ * $adminService = new Google_Service_Reports(...);
+ * $channels = $adminService->channels;
+ *
+ */
+class Google_Service_Reports_Channels_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Stop watching resources through this channel (channels.stop)
+ *
+ * @param Google_Channel $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function stop(Google_Service_Reports_Channel $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('stop', array($params));
+ }
}
/**
@@ -636,6 +759,120 @@ public function getUniqueQualifier()
}
}
+class Google_Service_Reports_Channel extends Google_Model
+{
+ public $address;
+ public $expiration;
+ public $id;
+ public $kind;
+ public $params;
+ public $payload;
+ public $resourceId;
+ public $resourceUri;
+ public $token;
+ public $type;
+
+ public function setAddress($address)
+ {
+ $this->address = $address;
+ }
+
+ public function getAddress()
+ {
+ return $this->address;
+ }
+
+ public function setExpiration($expiration)
+ {
+ $this->expiration = $expiration;
+ }
+
+ public function getExpiration()
+ {
+ return $this->expiration;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setParams($params)
+ {
+ $this->params = $params;
+ }
+
+ public function getParams()
+ {
+ return $this->params;
+ }
+
+ public function setPayload($payload)
+ {
+ $this->payload = $payload;
+ }
+
+ public function getPayload()
+ {
+ return $this->payload;
+ }
+
+ public function setResourceId($resourceId)
+ {
+ $this->resourceId = $resourceId;
+ }
+
+ public function getResourceId()
+ {
+ return $this->resourceId;
+ }
+
+ public function setResourceUri($resourceUri)
+ {
+ $this->resourceUri = $resourceUri;
+ }
+
+ public function getResourceUri()
+ {
+ return $this->resourceUri;
+ }
+
+ public function setToken($token)
+ {
+ $this->token = $token;
+ }
+
+ public function getToken()
+ {
+ return $this->token;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
class Google_Service_Reports_UsageReport extends Google_Collection
{
public $date;
From 0bedf05809a016f7fda0ddfde5aa431182fc9e5e Mon Sep 17 00:00:00 2001
From: Silvano Luciani
+ * $adminService = new Google_Service_Directory(...);
+ * $channels = $adminService->channels;
+ *
+ */
+class Google_Service_Directory_Channels_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Stop watching resources through this channel (channels.stop)
+ *
+ * @param Google_Channel $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function stop(Google_Service_Directory_Channel $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('stop', array($params));
+ }
+}
+
/**
* The "chromeosdevices" collection of methods.
* Typical usage is:
@@ -1949,6 +2052,8 @@ public function insert(Google_Service_Directory_User $postBody, $optParams = arr
* Query string for prefix matching searches. Should be of the form "key:value*" where key can be
* "email", "givenName" or "familyName". The asterisk is required, for example: "givenName:Ann*" is
* a valid query.
+ * @opt_param string event
+ * Event on which subscription is intended (if subscribing)
* @return Google_Service_Directory_Users
*/
public function listUsers($optParams = array())
@@ -2015,6 +2120,42 @@ public function update($userKey, Google_Service_Directory_User $postBody, $optPa
$params = array_merge($params, $optParams);
return $this->call('update', array($params), "Google_Service_Directory_User");
}
+ /**
+ * Watch for changes in users list (users.watch)
+ *
+ * @param Google_Channel $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string customer
+ * Immutable id of the Google Apps account. In case of multi-domain, to fetch all users for a
+ * customer, fill this field instead of domain.
+ * @opt_param string orderBy
+ * Column to use for sorting results
+ * @opt_param string domain
+ * Name of the domain. Fill this field to get users from only this domain. To return all users in a
+ * multi-domain fill customer field instead.
+ * @opt_param string showDeleted
+ * If set to true retrieves the list of deleted users. Default is false
+ * @opt_param int maxResults
+ * Maximum number of results to return. Default is 100. Max allowed is 500
+ * @opt_param string pageToken
+ * Token to specify next page in the list
+ * @opt_param string sortOrder
+ * Whether to return results in ascending or descending order.
+ * @opt_param string query
+ * Query string for prefix matching searches. Should be of the form "key:value*" where key can be
+ * "email", "givenName" or "familyName". The asterisk is required, for example: "givenName:Ann*" is
+ * a valid query.
+ * @opt_param string event
+ * Event on which subscription is intended (if subscribing)
+ * @return Google_Service_Directory_Channel
+ */
+ public function watch(Google_Service_Directory_Channel $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('watch', array($params), "Google_Service_Directory_Channel");
+ }
}
/**
@@ -2064,6 +2205,9 @@ public function insert($userKey, Google_Service_Directory_Alias $postBody, $optP
* @param string $userKey
* Email or immutable Id of the user
* @param array $optParams Optional parameters.
+ *
+ * @opt_param string event
+ * Event on which subscription is intended (if subscribing)
* @return Google_Service_Directory_Aliases
*/
public function listUsersAliases($userKey, $optParams = array())
@@ -2072,6 +2216,24 @@ public function listUsersAliases($userKey, $optParams = array())
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Directory_Aliases");
}
+ /**
+ * Watch for changes in user aliases list (aliases.watch)
+ *
+ * @param string $userKey
+ * Email or immutable Id of the user
+ * @param Google_Channel $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string event
+ * Event on which subscription is intended (if subscribing)
+ * @return Google_Service_Directory_Channel
+ */
+ public function watch($userKey, Google_Service_Directory_Channel $postBody, $optParams = array())
+ {
+ $params = array('userKey' => $userKey, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('watch', array($params), "Google_Service_Directory_Channel");
+ }
}
/**
* The "photos" collection of methods.
@@ -2420,6 +2582,120 @@ public function getKind()
}
}
+class Google_Service_Directory_Channel extends Google_Model
+{
+ public $address;
+ public $expiration;
+ public $id;
+ public $kind;
+ public $params;
+ public $payload;
+ public $resourceId;
+ public $resourceUri;
+ public $token;
+ public $type;
+
+ public function setAddress($address)
+ {
+ $this->address = $address;
+ }
+
+ public function getAddress()
+ {
+ return $this->address;
+ }
+
+ public function setExpiration($expiration)
+ {
+ $this->expiration = $expiration;
+ }
+
+ public function getExpiration()
+ {
+ return $this->expiration;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setParams($params)
+ {
+ $this->params = $params;
+ }
+
+ public function getParams()
+ {
+ return $this->params;
+ }
+
+ public function setPayload($payload)
+ {
+ $this->payload = $payload;
+ }
+
+ public function getPayload()
+ {
+ return $this->payload;
+ }
+
+ public function setResourceId($resourceId)
+ {
+ $this->resourceId = $resourceId;
+ }
+
+ public function getResourceId()
+ {
+ return $this->resourceId;
+ }
+
+ public function setResourceUri($resourceUri)
+ {
+ $this->resourceUri = $resourceUri;
+ }
+
+ public function getResourceUri()
+ {
+ return $this->resourceUri;
+ }
+
+ public function setToken($token)
+ {
+ $this->token = $token;
+ }
+
+ public function getToken()
+ {
+ return $this->token;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
class Google_Service_Directory_ChromeOsDevice extends Google_Model
{
public $annotatedLocation;
diff --git a/src/Google/Service/Games.php b/src/Google/Service/Games.php
index 627923e7b..4a4646011 100644
--- a/src/Google/Service/Games.php
+++ b/src/Google/Service/Games.php
@@ -269,6 +269,24 @@ public function __construct(Google_Client $client)
'required' => true,
),
),
+ ),'list' => array(
+ 'path' => 'players/me/players/{collection}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'collection' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
),
)
)
@@ -1048,6 +1066,28 @@ public function get($playerId, $optParams = array())
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_Games_Player");
}
+ /**
+ * Get the collection of players for the currently authenticated user.
+ * (players.listPlayers)
+ *
+ * @param string $collection
+ * Collection of players being retrieved
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The token returned by the previous request.
+ * @opt_param int maxResults
+ * The maximum number of player resources to return in the response, used for paging. For any
+ * response, the actual number of player resources returned may be less than the specified
+ * maxResults.
+ * @return Google_Service_Games_PlayerListResponse
+ */
+ public function listPlayers($collection, $optParams = array())
+ {
+ $params = array('collection' => $collection);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Games_PlayerListResponse");
+ }
}
/**
@@ -3387,11 +3427,50 @@ public function getUnreliableChannel()
}
}
+class Google_Service_Games_Played extends Google_Model
+{
+ public $autoMatched;
+ public $kind;
+ public $timeMillis;
+
+ public function setAutoMatched($autoMatched)
+ {
+ $this->autoMatched = $autoMatched;
+ }
+
+ public function getAutoMatched()
+ {
+ return $this->autoMatched;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setTimeMillis($timeMillis)
+ {
+ $this->timeMillis = $timeMillis;
+ }
+
+ public function getTimeMillis()
+ {
+ return $this->timeMillis;
+ }
+}
+
class Google_Service_Games_Player extends Google_Model
{
public $avatarImageUrl;
public $displayName;
public $kind;
+ protected $lastPlayedWithType = 'Google_Service_Games_Played';
+ protected $lastPlayedWithDataType = '';
public $playerId;
public function setAvatarImageUrl($avatarImageUrl)
@@ -3424,6 +3503,16 @@ public function getKind()
return $this->kind;
}
+ public function setLastPlayedWith(Google_Service_Games_Played $lastPlayedWith)
+ {
+ $this->lastPlayedWith = $lastPlayedWith;
+ }
+
+ public function getLastPlayedWith()
+ {
+ return $this->lastPlayedWith;
+ }
+
public function setPlayerId($playerId)
{
$this->playerId = $playerId;
@@ -3698,6 +3787,44 @@ public function getPlayer()
}
}
+class Google_Service_Games_PlayerListResponse extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_Games_Player';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
class Google_Service_Games_PlayerScore extends Google_Model
{
public $formattedScore;
@@ -4171,6 +4298,7 @@ class Google_Service_Games_RoomCreateRequest extends Google_Collection
public $kind;
protected $networkDiagnosticsType = 'Google_Service_Games_NetworkDiagnostics';
protected $networkDiagnosticsDataType = '';
+ public $requestId;
public $variant;
public function setAutoMatchingCriteria(Google_Service_Games_RoomAutoMatchingCriteria $autoMatchingCriteria)
@@ -4233,6 +4361,16 @@ public function getNetworkDiagnostics()
return $this->networkDiagnostics;
}
+ public function setRequestId($requestId)
+ {
+ $this->requestId = $requestId;
+ }
+
+ public function getRequestId()
+ {
+ return $this->requestId;
+ }
+
public function setVariant($variant)
{
$this->variant = $variant;
@@ -4577,6 +4715,7 @@ public function getUpdates()
class Google_Service_Games_RoomParticipant extends Google_Collection
{
+ public $autoMatched;
protected $autoMatchedPlayerType = 'Google_Service_Games_AnonymousPlayer';
protected $autoMatchedPlayerDataType = '';
public $capabilities;
@@ -4590,6 +4729,16 @@ class Google_Service_Games_RoomParticipant extends Google_Collection
protected $playerDataType = '';
public $status;
+ public function setAutoMatched($autoMatched)
+ {
+ $this->autoMatched = $autoMatched;
+ }
+
+ public function getAutoMatched()
+ {
+ return $this->autoMatched;
+ }
+
public function setAutoMatchedPlayer(Google_Service_Games_AnonymousPlayer $autoMatchedPlayer)
{
$this->autoMatchedPlayer = $autoMatchedPlayer;
@@ -5247,6 +5396,7 @@ public function getParticipantId()
class Google_Service_Games_TurnBasedMatchParticipant extends Google_Model
{
+ public $autoMatched;
protected $autoMatchedPlayerType = 'Google_Service_Games_AnonymousPlayer';
protected $autoMatchedPlayerDataType = '';
public $id;
@@ -5255,6 +5405,16 @@ class Google_Service_Games_TurnBasedMatchParticipant extends Google_Model
protected $playerDataType = '';
public $status;
+ public function setAutoMatched($autoMatched)
+ {
+ $this->autoMatched = $autoMatched;
+ }
+
+ public function getAutoMatched()
+ {
+ return $this->autoMatched;
+ }
+
public function setAutoMatchedPlayer(Google_Service_Games_AnonymousPlayer $autoMatchedPlayer)
{
$this->autoMatchedPlayer = $autoMatchedPlayer;
diff --git a/src/Google/Service/GamesManagement.php b/src/Google/Service/GamesManagement.php
index 8cbf467a6..515639948 100644
--- a/src/Google/Service/GamesManagement.php
+++ b/src/Google/Service/GamesManagement.php
@@ -484,6 +484,32 @@ public function getUpdateOccurred()
}
}
+class Google_Service_GamesManagement_GamesPlayedResource extends Google_Model
+{
+ public $autoMatched;
+ public $timeMillis;
+
+ public function setAutoMatched($autoMatched)
+ {
+ $this->autoMatched = $autoMatched;
+ }
+
+ public function getAutoMatched()
+ {
+ return $this->autoMatched;
+ }
+
+ public function setTimeMillis($timeMillis)
+ {
+ $this->timeMillis = $timeMillis;
+ }
+
+ public function getTimeMillis()
+ {
+ return $this->timeMillis;
+ }
+}
+
class Google_Service_GamesManagement_HiddenPlayer extends Google_Model
{
public $hiddenTimeMillis;
@@ -565,6 +591,8 @@ class Google_Service_GamesManagement_Player extends Google_Model
public $avatarImageUrl;
public $displayName;
public $kind;
+ protected $lastPlayedWithType = 'Google_Service_GamesManagement_GamesPlayedResource';
+ protected $lastPlayedWithDataType = '';
public $playerId;
public function setAvatarImageUrl($avatarImageUrl)
@@ -597,6 +625,16 @@ public function getKind()
return $this->kind;
}
+ public function setLastPlayedWith(Google_Service_GamesManagement_GamesPlayedResource $lastPlayedWith)
+ {
+ $this->lastPlayedWith = $lastPlayedWith;
+ }
+
+ public function getLastPlayedWith()
+ {
+ return $this->lastPlayedWith;
+ }
+
public function setPlayerId($playerId)
{
$this->playerId = $playerId;
diff --git a/src/Google/Service/Oauth2.php b/src/Google/Service/Oauth2.php
index 2f3c71a85..e0480f3bb 100644
--- a/src/Google/Service/Oauth2.php
+++ b/src/Google/Service/Oauth2.php
@@ -143,13 +143,13 @@ class Google_Service_Oauth2_Userinfo_Resource extends Google_Service_Resource
* (userinfo.get)
*
* @param array $optParams Optional parameters.
- * @return Google_Service_Oauth2_Userinfo
+ * @return Google_Service_Oauth2_Userinfoplus
*/
public function get($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Oauth2_Userinfo");
+ return $this->call('get', array($params), "Google_Service_Oauth2_Userinfoplus");
}
}
@@ -181,13 +181,13 @@ class Google_Service_Oauth2_UserinfoV2Me_Resource extends Google_Service_Resourc
* (me.get)
*
* @param array $optParams Optional parameters.
- * @return Google_Service_Oauth2_Userinfo
+ * @return Google_Service_Oauth2_Userinfoplus
*/
public function get($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Oauth2_Userinfo");
+ return $this->call('get', array($params), "Google_Service_Oauth2_Userinfoplus");
}
}
@@ -286,7 +286,7 @@ public function getVerifiedEmail()
}
}
-class Google_Service_Oauth2_Userinfo extends Google_Model
+class Google_Service_Oauth2_Userinfoplus extends Google_Model
{
public $email;
public $familyName;
@@ -298,7 +298,6 @@ class Google_Service_Oauth2_Userinfo extends Google_Model
public $locale;
public $name;
public $picture;
- public $timezone;
public $verifiedEmail;
public function setEmail($email)
@@ -401,16 +400,6 @@ public function getPicture()
return $this->picture;
}
- public function setTimezone($timezone)
- {
- $this->timezone = $timezone;
- }
-
- public function getTimezone()
- {
- return $this->timezone;
- }
-
public function setVerifiedEmail($verifiedEmail)
{
$this->verifiedEmail = $verifiedEmail;
diff --git a/src/Google/Service/Shopping.php b/src/Google/Service/Shopping.php
index 12f0adbfb..350ebe85f 100644
--- a/src/Google/Service/Shopping.php
+++ b/src/Google/Service/Shopping.php
@@ -217,10 +217,6 @@ public function __construct(Google_Client $client)
'location' => 'query',
'type' => 'string',
),
- 'safe' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
'categories.useGcsConfig' => array(
'location' => 'query',
'type' => 'boolean',
@@ -402,8 +398,6 @@ public function get($source, $accountId, $productIdType, $productId, $optParams
* Category specification
* @opt_param string boostBy
* Boosting specification
- * @opt_param bool safe
- * Whether safe search is enabled. Default: true
* @opt_param bool categoriesUseGcsConfig
* This parameter is currently ignored
* @opt_param string maxResults
@@ -1434,27 +1428,14 @@ class Google_Service_Shopping_ShoppingModelProductJsonV1 extends Google_Collecti
public $gtins;
protected $imagesType = 'Google_Service_Shopping_ShoppingModelProductJsonV1Images';
protected $imagesDataType = 'array';
- public $internal1;
- public $internal10;
- public $internal12;
- public $internal13;
- public $internal14;
- public $internal15;
protected $internal16Type = 'Google_Service_Shopping_ShoppingModelProductJsonV1Internal16';
protected $internal16DataType = '';
- public $internal3;
- protected $internal4Type = 'Google_Service_Shopping_ShoppingModelProductJsonV1Internal4';
- protected $internal4DataType = 'array';
- public $internal6;
- public $internal7;
- public $internal8;
protected $inventoriesType = 'Google_Service_Shopping_ShoppingModelProductJsonV1Inventories';
protected $inventoriesDataType = 'array';
public $language;
public $link;
public $modificationTime;
public $mpns;
- public $plusOne;
public $providedId;
public $queryMatched;
public $score;
@@ -1583,66 +1564,6 @@ public function getImages()
return $this->images;
}
- public function setInternal1($internal1)
- {
- $this->internal1 = $internal1;
- }
-
- public function getInternal1()
- {
- return $this->internal1;
- }
-
- public function setInternal10($internal10)
- {
- $this->internal10 = $internal10;
- }
-
- public function getInternal10()
- {
- return $this->internal10;
- }
-
- public function setInternal12($internal12)
- {
- $this->internal12 = $internal12;
- }
-
- public function getInternal12()
- {
- return $this->internal12;
- }
-
- public function setInternal13($internal13)
- {
- $this->internal13 = $internal13;
- }
-
- public function getInternal13()
- {
- return $this->internal13;
- }
-
- public function setInternal14($internal14)
- {
- $this->internal14 = $internal14;
- }
-
- public function getInternal14()
- {
- return $this->internal14;
- }
-
- public function setInternal15($internal15)
- {
- $this->internal15 = $internal15;
- }
-
- public function getInternal15()
- {
- return $this->internal15;
- }
-
public function setInternal16(Google_Service_Shopping_ShoppingModelProductJsonV1Internal16 $internal16)
{
$this->internal16 = $internal16;
@@ -1653,56 +1574,6 @@ public function getInternal16()
return $this->internal16;
}
- public function setInternal3($internal3)
- {
- $this->internal3 = $internal3;
- }
-
- public function getInternal3()
- {
- return $this->internal3;
- }
-
- public function setInternal4($internal4)
- {
- $this->internal4 = $internal4;
- }
-
- public function getInternal4()
- {
- return $this->internal4;
- }
-
- public function setInternal6($internal6)
- {
- $this->internal6 = $internal6;
- }
-
- public function getInternal6()
- {
- return $this->internal6;
- }
-
- public function setInternal7($internal7)
- {
- $this->internal7 = $internal7;
- }
-
- public function getInternal7()
- {
- return $this->internal7;
- }
-
- public function setInternal8($internal8)
- {
- $this->internal8 = $internal8;
- }
-
- public function getInternal8()
- {
- return $this->internal8;
- }
-
public function setInventories($inventories)
{
$this->inventories = $inventories;
@@ -1753,16 +1624,6 @@ public function getMpns()
return $this->mpns;
}
- public function setPlusOne($plusOne)
- {
- $this->plusOne = $plusOne;
- }
-
- public function getPlusOne()
- {
- return $this->plusOne;
- }
-
public function setProvidedId($providedId)
{
$this->providedId = $providedId;
@@ -2032,32 +1893,6 @@ public function getSize()
}
}
-class Google_Service_Shopping_ShoppingModelProductJsonV1Internal4 extends Google_Model
-{
- public $confidence;
- public $node;
-
- public function setConfidence($confidence)
- {
- $this->confidence = $confidence;
- }
-
- public function getConfidence()
- {
- return $this->confidence;
- }
-
- public function setNode($node)
- {
- $this->node = $node;
- }
-
- public function getNode()
- {
- return $this->node;
- }
-}
-
class Google_Service_Shopping_ShoppingModelProductJsonV1Inventories extends Google_Model
{
public $availability;
diff --git a/tests/AllTests.php b/tests/AllTests.php
index 75d9f22d4..df71b8623 100644
--- a/tests/AllTests.php
+++ b/tests/AllTests.php
@@ -29,11 +29,13 @@
require_once 'pagespeed/AllPageSpeedTests.php';
require_once 'urlshortener/AllUrlShortenerTests.php';
require_once 'plus/PlusTest.php';
+require_once 'youtube/YouTubeTest.php';
class AllTests {
public static function suite() {
$suite = new PHPUnit_Framework_TestSuite();
$suite->setName('All Google API PHP Client tests');
+ $suite->addTestSuite(YouTubeTests::suite());
$suite->addTestSuite(AllTasksTests::suite());
$suite->addTestSuite(AllPageSpeedTests::suite());
$suite->addTestSuite(AllUrlShortenerTests::suite());
diff --git a/tests/OAuthHelper.php b/tests/OAuthHelper.php
index 847a09cac..d7c8753dd 100644
--- a/tests/OAuthHelper.php
+++ b/tests/OAuthHelper.php
@@ -22,9 +22,11 @@
"https://www.googleapis.com/auth/plus.me",
"https://www.googleapis.com/auth/urlshortener",
"https://www.googleapis.com/auth/tasks",
- "https://www.googleapis.com/auth/adsense"
+ "https://www.googleapis.com/auth/adsense",
+ "https://www.googleapis.com/auth/youtube"
));
$client->setRedirectUri("urn:ietf:wg:oauth:2.0:oob");
+$client->setAccessType("offline");
// Visit https://code.google.com/apis/console to
// generate your oauth2_client_id, oauth2_client_secret, and to
// register your oauth2_redirect_uri.
diff --git a/tests/general/ApiModelTest.php b/tests/general/ApiModelTest.php
index 740afaaaa..a7514f620 100644
--- a/tests/general/ApiModelTest.php
+++ b/tests/general/ApiModelTest.php
@@ -28,11 +28,18 @@ public function testJsonStructure() {
$model2->publicC = 12345;
$model2->publicD = null;
$model->publicB = $model2;
+ $model3 = new Google_Model();
+ $model3->publicE = 54321;
+ $model3->publicF = null;
+ $model->publicG = array($model3, "hello");
$string = json_encode($model->toSimpleObject());
$data = json_decode($string, true);
$this->assertEquals(12345, $data['publicB']['publicC']);
$this->assertEquals("This is a string", $data['publicA']);
$this->assertArrayNotHasKey("publicD", $data['publicB']);
+ $this->assertArrayHasKey("publicE", $data['publicG'][0]);
+ $this->assertArrayNotHasKey("publicF", $data['publicG'][0]);
+ $this->assertEquals("hello", $data['publicG'][1]);
$this->assertArrayNotHasKey("data", $data);
}
}
diff --git a/tests/general/RequestTest.php b/tests/general/RequestTest.php
index f9f9f6181..4e47d0b69 100644
--- a/tests/general/RequestTest.php
+++ b/tests/general/RequestTest.php
@@ -57,4 +57,18 @@ public function testRequestParameters()
$request->setBaseComponent($base . '/upload');
$this->assertEquals($url4, $request->getUrl());
}
+
+ public function testGzipSupport()
+ {
+ $url = 'http://localhost:8080/foo/bar?foo=a&foo=b&wowee=oh+my';
+ $request = new Google_Http_Request($url);
+ $request->enableGzip();
+ $this->assertStringEndsWith(Google_Http_Request::GZIP_UA, $request->getUserAgent());
+ $this->assertArrayHasKey('accept-encoding', $request->getRequestHeaders());
+ $this->assertTrue($request->canGzip());
+ $request->disableGzip();
+ $this->assertStringEndsNotWith(Google_Http_Request::GZIP_UA, $request->getUserAgent());
+ $this->assertArrayNotHasKey('accept-encoding', $request->getRequestHeaders());
+ $this->assertFalse($request->canGzip());
+ }
}
diff --git a/tests/general/RestTest.php b/tests/general/RestTest.php
index 505d23a25..7b6e44392 100644
--- a/tests/general/RestTest.php
+++ b/tests/general/RestTest.php
@@ -19,17 +19,20 @@
require_once "Google/Http/Request.php";
require_once "Google/Http/REST.php";
-class RestTest extends BaseTest {
+class RestTest extends BaseTest
+{
/**
* @var Google_Http_REST $rest
*/
private $rest;
- public function setUp() {
+ public function setUp()
+ {
$this->rest = new Google_Http_REST();
}
- public function testDecodeResponse() {
+ public function testDecodeResponse()
+ {
$url = 'http://localhost/';
$client = $this->getClient();
$response = new Google_Http_Request($url);
@@ -62,7 +65,8 @@ public function testDecodeResponse() {
}
- public function testDecodeEmptyResponse() {
+ public function testDecodeEmptyResponse()
+ {
$url = 'http://localhost/';
$response = new Google_Http_Request($url, 'GET', array());
@@ -73,7 +77,8 @@ public function testDecodeEmptyResponse() {
$this->assertEquals(array(), $decoded);
}
- public function testCreateRequestUri() {
+ public function testCreateRequestUri()
+ {
$basePath = "http://localhost/";
$restPath = "/plus/{u}";
@@ -113,5 +118,48 @@ public function testCreateRequestUri() {
$value = $this->rest->createRequestUri($basePath, '/plus', $params);
$this->assertEquals("http://localhost/plus?u=%40me%2F", $value);
}
+
+ /**
+ * @expectedException Google_Service_Exception
+ */
+ public function testBadErrorFormatting()
+ {
+ $request = new Google_Http_Request("/a/b");
+ $request->setResponseHttpCode(500);
+ $request->setResponseBody(
+ '{
+ "error": {
+ "code": 500,
+ "message": null
+ }
+ }'
+ );
+ Google_Http_Rest::decodeHttpResponse($request);
+ }
+
+ /**
+ * @expectedException Google_Service_Exception
+ */
+ public function tesProperErrorFormatting()
+ {
+ $request = new Google_Http_Request("/a/b");
+ $request->setResponseHttpCode(401);
+ $request->setResponseBody(
+ '{
+ error: {
+ errors: [
+ {
+ "domain": "global",
+ "reason": "authError",
+ "message": "Invalid Credentials",
+ "locationType": "header",
+ "location": "Authorization",
+ }
+ ],
+ "code": 401,
+ "message": "Invalid Credentials"
+ }'
+ );
+ Google_Http_Rest::decodeHttpResponse($request);
+ }
}
-
diff --git a/tests/youtube/YouTubeTest.php b/tests/youtube/YouTubeTest.php
new file mode 100644
index 000000000..b5f646bce
--- /dev/null
+++ b/tests/youtube/YouTubeTest.php
@@ -0,0 +1,93 @@
+setName('Google YouTube API tests');
+ $suite->addTestSuite('YouTubeTest');
+ return $suite;
+ }
+}
+
+class YouTubeTest extends BaseTest
+{
+ /** @var Google_PlusService */
+ public $plus;
+ public function __construct()
+ {
+ parent::__construct();
+ $this->youtube = new Google_Service_YouTube($this->getClient());
+ }
+
+ public function testMissingFieldsAreNull()
+ {
+ if (!$this->checkToken()) {
+ return;
+ }
+
+ $parts = "id,brandingSettings";
+ $opts = array("mine" => true);
+ $channels = $this->youtube->channels->listChannels($parts, $opts);
+
+ $newChannel = new Google_Service_YouTube_Channel();
+ $newChannel->setId($channels[0]->getId());
+ $newChannel->setBrandingSettings($channels[0]->getBrandingSettings());
+
+ $simpleOriginal = $channels[0]->toSimpleObject();
+ $simpleNew = $newChannel->toSimpleObject();
+
+ $this->assertObjectHasAttribute('etag', $simpleOriginal);
+ $this->assertObjectNotHasAttribute('etag', $simpleNew);
+
+ $owner_details = new Google_Service_YouTube_ChannelContentOwnerDetails();
+ $owner_details->setTimeLinked("123456789");
+ $o_channel = new Google_Service_YouTube_Channel();
+ $o_channel->setContentOwnerDetails($owner_details);
+ $simpleManual = $o_channel->toSimpleObject();
+ $this->assertObjectHasAttribute('timeLinked', $simpleManual->contentOwnerDetails);
+ $this->assertObjectNotHasAttribute('contentOwner', $simpleManual->contentOwnerDetails);
+
+ $owner_details = new Google_Service_YouTube_ChannelContentOwnerDetails();
+ $owner_details->timeLinked = "123456789";
+ $o_channel = new Google_Service_YouTube_Channel();
+ $o_channel->setContentOwnerDetails($owner_details);
+ $simpleManual = $o_channel->toSimpleObject();
+ $this->assertObjectHasAttribute('timeLinked', $simpleManual->contentOwnerDetails);
+ $this->assertObjectNotHasAttribute('contentOwner', $simpleManual->contentOwnerDetails);
+
+ $owner_details = new Google_Service_YouTube_ChannelContentOwnerDetails();
+ $owner_details['timeLinked'] = "123456789";
+ $o_channel = new Google_Service_YouTube_Channel();
+ $o_channel->setContentOwnerDetails($owner_details);
+ $simpleManual = $o_channel->toSimpleObject();
+ $this->assertObjectHasAttribute('timeLinked', $simpleManual->contentOwnerDetails);
+ $this->assertObjectNotHasAttribute('contentOwner', $simpleManual->contentOwnerDetails);
+
+ $ping = new Google_Service_YouTube_ChannelConversionPing();
+ $ping->setContext("hello");
+ $pings = new Google_Service_YouTube_ChannelConversionPings();
+ $pings->setPings(array($ping));
+ $simplePings = $pings->toSimpleObject();
+ $this->assertObjectHasAttribute('context', $simplePings->pings[0]);
+ $this->assertObjectNotHasAttribute('conversionUrl', $simplePings->pings[0]);
+ }
+}
From 6aac1664790a13b42b4b8f054c906a34ff4b8ca4 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
+ * For more information about this service, see the API + * Documentation + *
+ * + * @author Google, Inc. + */ +class Google_Service_QpxExpress extends Google_Service +{ + + + public $trips; + + + /** + * Constructs the internal representation of the QpxExpress service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->servicePath = 'qpxExpress/v1/trips/'; + $this->version = 'v1'; + $this->serviceName = 'qpxExpress'; + + $this->trips = new Google_Service_QpxExpress_Trips_Resource( + $this, + $this->serviceName, + 'trips', + array( + 'methods' => array( + 'search' => array( + 'path' => 'search', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + } +} + + +/** + * The "trips" collection of methods. + * Typical usage is: + *
+ * $qpxExpressService = new Google_Service_QpxExpress(...);
+ * $trips = $qpxExpressService->trips;
+ *
+ */
+class Google_Service_QpxExpress_Trips_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Returns a list of flights. (trips.search)
+ *
+ * @param Google_TripsSearchRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_QpxExpress_TripsSearchResponse
+ */
+ public function search(Google_Service_QpxExpress_TripsSearchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('search', array($params), "Google_Service_QpxExpress_TripsSearchResponse");
+ }
+}
+
+
+
+
+class Google_Service_QpxExpress_AircraftData extends Google_Model
+{
+ public $code;
+ public $kind;
+ public $name;
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+
+ public function getCode()
+ {
+ return $this->code;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Google_Service_QpxExpress_AirportData extends Google_Model
+{
+ public $city;
+ public $code;
+ public $kind;
+ public $name;
+
+ public function setCity($city)
+ {
+ $this->city = $city;
+ }
+
+ public function getCity()
+ {
+ return $this->city;
+ }
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+
+ public function getCode()
+ {
+ return $this->code;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Google_Service_QpxExpress_BagDescriptor extends Google_Collection
+{
+ public $commercialName;
+ public $count;
+ public $description;
+ public $kind;
+ public $subcode;
+
+ public function setCommercialName($commercialName)
+ {
+ $this->commercialName = $commercialName;
+ }
+
+ public function getCommercialName()
+ {
+ return $this->commercialName;
+ }
+
+ public function setCount($count)
+ {
+ $this->count = $count;
+ }
+
+ public function getCount()
+ {
+ return $this->count;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setSubcode($subcode)
+ {
+ $this->subcode = $subcode;
+ }
+
+ public function getSubcode()
+ {
+ return $this->subcode;
+ }
+}
+
+class Google_Service_QpxExpress_CarrierData extends Google_Model
+{
+ public $code;
+ public $kind;
+ public $name;
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+
+ public function getCode()
+ {
+ return $this->code;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Google_Service_QpxExpress_CityData extends Google_Model
+{
+ public $code;
+ public $country;
+ public $kind;
+ public $name;
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+
+ public function getCode()
+ {
+ return $this->code;
+ }
+
+ public function setCountry($country)
+ {
+ $this->country = $country;
+ }
+
+ public function getCountry()
+ {
+ return $this->country;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Google_Service_QpxExpress_Data extends Google_Collection
+{
+ protected $aircraftType = 'Google_Service_QpxExpress_AircraftData';
+ protected $aircraftDataType = 'array';
+ protected $airportType = 'Google_Service_QpxExpress_AirportData';
+ protected $airportDataType = 'array';
+ protected $carrierType = 'Google_Service_QpxExpress_CarrierData';
+ protected $carrierDataType = 'array';
+ protected $cityType = 'Google_Service_QpxExpress_CityData';
+ protected $cityDataType = 'array';
+ public $kind;
+ protected $taxType = 'Google_Service_QpxExpress_TaxData';
+ protected $taxDataType = 'array';
+
+ public function setAircraft($aircraft)
+ {
+ $this->aircraft = $aircraft;
+ }
+
+ public function getAircraft()
+ {
+ return $this->aircraft;
+ }
+
+ public function setAirport($airport)
+ {
+ $this->airport = $airport;
+ }
+
+ public function getAirport()
+ {
+ return $this->airport;
+ }
+
+ public function setCarrier($carrier)
+ {
+ $this->carrier = $carrier;
+ }
+
+ public function getCarrier()
+ {
+ return $this->carrier;
+ }
+
+ public function setCity($city)
+ {
+ $this->city = $city;
+ }
+
+ public function getCity()
+ {
+ return $this->city;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setTax($tax)
+ {
+ $this->tax = $tax;
+ }
+
+ public function getTax()
+ {
+ return $this->tax;
+ }
+}
+
+class Google_Service_QpxExpress_FareInfo extends Google_Model
+{
+ public $basisCode;
+ public $carrier;
+ public $destination;
+ public $id;
+ public $kind;
+ public $origin;
+ public $private;
+
+ public function setBasisCode($basisCode)
+ {
+ $this->basisCode = $basisCode;
+ }
+
+ public function getBasisCode()
+ {
+ return $this->basisCode;
+ }
+
+ public function setCarrier($carrier)
+ {
+ $this->carrier = $carrier;
+ }
+
+ public function getCarrier()
+ {
+ return $this->carrier;
+ }
+
+ public function setDestination($destination)
+ {
+ $this->destination = $destination;
+ }
+
+ public function getDestination()
+ {
+ return $this->destination;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setOrigin($origin)
+ {
+ $this->origin = $origin;
+ }
+
+ public function getOrigin()
+ {
+ return $this->origin;
+ }
+
+ public function setPrivate($private)
+ {
+ $this->private = $private;
+ }
+
+ public function getPrivate()
+ {
+ return $this->private;
+ }
+}
+
+class Google_Service_QpxExpress_FlightInfo extends Google_Model
+{
+ public $carrier;
+ public $number;
+
+ public function setCarrier($carrier)
+ {
+ $this->carrier = $carrier;
+ }
+
+ public function getCarrier()
+ {
+ return $this->carrier;
+ }
+
+ public function setNumber($number)
+ {
+ $this->number = $number;
+ }
+
+ public function getNumber()
+ {
+ return $this->number;
+ }
+}
+
+class Google_Service_QpxExpress_FreeBaggageAllowance extends Google_Collection
+{
+ protected $bagDescriptorType = 'Google_Service_QpxExpress_BagDescriptor';
+ protected $bagDescriptorDataType = 'array';
+ public $kilos;
+ public $kilosPerPiece;
+ public $kind;
+ public $pieces;
+ public $pounds;
+
+ public function setBagDescriptor($bagDescriptor)
+ {
+ $this->bagDescriptor = $bagDescriptor;
+ }
+
+ public function getBagDescriptor()
+ {
+ return $this->bagDescriptor;
+ }
+
+ public function setKilos($kilos)
+ {
+ $this->kilos = $kilos;
+ }
+
+ public function getKilos()
+ {
+ return $this->kilos;
+ }
+
+ public function setKilosPerPiece($kilosPerPiece)
+ {
+ $this->kilosPerPiece = $kilosPerPiece;
+ }
+
+ public function getKilosPerPiece()
+ {
+ return $this->kilosPerPiece;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setPieces($pieces)
+ {
+ $this->pieces = $pieces;
+ }
+
+ public function getPieces()
+ {
+ return $this->pieces;
+ }
+
+ public function setPounds($pounds)
+ {
+ $this->pounds = $pounds;
+ }
+
+ public function getPounds()
+ {
+ return $this->pounds;
+ }
+}
+
+class Google_Service_QpxExpress_LegInfo extends Google_Model
+{
+ public $aircraft;
+ public $arrivalTime;
+ public $changePlane;
+ public $connectionDuration;
+ public $departureTime;
+ public $destination;
+ public $destinationTerminal;
+ public $duration;
+ public $id;
+ public $kind;
+ public $meal;
+ public $mileage;
+ public $onTimePerformance;
+ public $operatingDisclosure;
+ public $origin;
+ public $originTerminal;
+ public $secure;
+
+ public function setAircraft($aircraft)
+ {
+ $this->aircraft = $aircraft;
+ }
+
+ public function getAircraft()
+ {
+ return $this->aircraft;
+ }
+
+ public function setArrivalTime($arrivalTime)
+ {
+ $this->arrivalTime = $arrivalTime;
+ }
+
+ public function getArrivalTime()
+ {
+ return $this->arrivalTime;
+ }
+
+ public function setChangePlane($changePlane)
+ {
+ $this->changePlane = $changePlane;
+ }
+
+ public function getChangePlane()
+ {
+ return $this->changePlane;
+ }
+
+ public function setConnectionDuration($connectionDuration)
+ {
+ $this->connectionDuration = $connectionDuration;
+ }
+
+ public function getConnectionDuration()
+ {
+ return $this->connectionDuration;
+ }
+
+ public function setDepartureTime($departureTime)
+ {
+ $this->departureTime = $departureTime;
+ }
+
+ public function getDepartureTime()
+ {
+ return $this->departureTime;
+ }
+
+ public function setDestination($destination)
+ {
+ $this->destination = $destination;
+ }
+
+ public function getDestination()
+ {
+ return $this->destination;
+ }
+
+ public function setDestinationTerminal($destinationTerminal)
+ {
+ $this->destinationTerminal = $destinationTerminal;
+ }
+
+ public function getDestinationTerminal()
+ {
+ return $this->destinationTerminal;
+ }
+
+ public function setDuration($duration)
+ {
+ $this->duration = $duration;
+ }
+
+ public function getDuration()
+ {
+ return $this->duration;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setMeal($meal)
+ {
+ $this->meal = $meal;
+ }
+
+ public function getMeal()
+ {
+ return $this->meal;
+ }
+
+ public function setMileage($mileage)
+ {
+ $this->mileage = $mileage;
+ }
+
+ public function getMileage()
+ {
+ return $this->mileage;
+ }
+
+ public function setOnTimePerformance($onTimePerformance)
+ {
+ $this->onTimePerformance = $onTimePerformance;
+ }
+
+ public function getOnTimePerformance()
+ {
+ return $this->onTimePerformance;
+ }
+
+ public function setOperatingDisclosure($operatingDisclosure)
+ {
+ $this->operatingDisclosure = $operatingDisclosure;
+ }
+
+ public function getOperatingDisclosure()
+ {
+ return $this->operatingDisclosure;
+ }
+
+ public function setOrigin($origin)
+ {
+ $this->origin = $origin;
+ }
+
+ public function getOrigin()
+ {
+ return $this->origin;
+ }
+
+ public function setOriginTerminal($originTerminal)
+ {
+ $this->originTerminal = $originTerminal;
+ }
+
+ public function getOriginTerminal()
+ {
+ return $this->originTerminal;
+ }
+
+ public function setSecure($secure)
+ {
+ $this->secure = $secure;
+ }
+
+ public function getSecure()
+ {
+ return $this->secure;
+ }
+}
+
+class Google_Service_QpxExpress_PassengerCounts extends Google_Model
+{
+ public $adultCount;
+ public $childCount;
+ public $infantInLapCount;
+ public $infantInSeatCount;
+ public $kind;
+ public $seniorCount;
+
+ public function setAdultCount($adultCount)
+ {
+ $this->adultCount = $adultCount;
+ }
+
+ public function getAdultCount()
+ {
+ return $this->adultCount;
+ }
+
+ public function setChildCount($childCount)
+ {
+ $this->childCount = $childCount;
+ }
+
+ public function getChildCount()
+ {
+ return $this->childCount;
+ }
+
+ public function setInfantInLapCount($infantInLapCount)
+ {
+ $this->infantInLapCount = $infantInLapCount;
+ }
+
+ public function getInfantInLapCount()
+ {
+ return $this->infantInLapCount;
+ }
+
+ public function setInfantInSeatCount($infantInSeatCount)
+ {
+ $this->infantInSeatCount = $infantInSeatCount;
+ }
+
+ public function getInfantInSeatCount()
+ {
+ return $this->infantInSeatCount;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setSeniorCount($seniorCount)
+ {
+ $this->seniorCount = $seniorCount;
+ }
+
+ public function getSeniorCount()
+ {
+ return $this->seniorCount;
+ }
+}
+
+class Google_Service_QpxExpress_PricingInfo extends Google_Collection
+{
+ public $baseFareTotal;
+ protected $fareType = 'Google_Service_QpxExpress_FareInfo';
+ protected $fareDataType = 'array';
+ public $fareCalculation;
+ public $kind;
+ public $latestTicketingTime;
+ protected $passengersType = 'Google_Service_QpxExpress_PassengerCounts';
+ protected $passengersDataType = '';
+ public $ptc;
+ public $refundable;
+ public $saleFareTotal;
+ public $saleTaxTotal;
+ public $saleTotal;
+ protected $segmentPricingType = 'Google_Service_QpxExpress_SegmentPricing';
+ protected $segmentPricingDataType = 'array';
+ protected $taxType = 'Google_Service_QpxExpress_TaxInfo';
+ protected $taxDataType = 'array';
+
+ public function setBaseFareTotal($baseFareTotal)
+ {
+ $this->baseFareTotal = $baseFareTotal;
+ }
+
+ public function getBaseFareTotal()
+ {
+ return $this->baseFareTotal;
+ }
+
+ public function setFare($fare)
+ {
+ $this->fare = $fare;
+ }
+
+ public function getFare()
+ {
+ return $this->fare;
+ }
+
+ public function setFareCalculation($fareCalculation)
+ {
+ $this->fareCalculation = $fareCalculation;
+ }
+
+ public function getFareCalculation()
+ {
+ return $this->fareCalculation;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setLatestTicketingTime($latestTicketingTime)
+ {
+ $this->latestTicketingTime = $latestTicketingTime;
+ }
+
+ public function getLatestTicketingTime()
+ {
+ return $this->latestTicketingTime;
+ }
+
+ public function setPassengers(Google_Service_QpxExpress_PassengerCounts $passengers)
+ {
+ $this->passengers = $passengers;
+ }
+
+ public function getPassengers()
+ {
+ return $this->passengers;
+ }
+
+ public function setPtc($ptc)
+ {
+ $this->ptc = $ptc;
+ }
+
+ public function getPtc()
+ {
+ return $this->ptc;
+ }
+
+ public function setRefundable($refundable)
+ {
+ $this->refundable = $refundable;
+ }
+
+ public function getRefundable()
+ {
+ return $this->refundable;
+ }
+
+ public function setSaleFareTotal($saleFareTotal)
+ {
+ $this->saleFareTotal = $saleFareTotal;
+ }
+
+ public function getSaleFareTotal()
+ {
+ return $this->saleFareTotal;
+ }
+
+ public function setSaleTaxTotal($saleTaxTotal)
+ {
+ $this->saleTaxTotal = $saleTaxTotal;
+ }
+
+ public function getSaleTaxTotal()
+ {
+ return $this->saleTaxTotal;
+ }
+
+ public function setSaleTotal($saleTotal)
+ {
+ $this->saleTotal = $saleTotal;
+ }
+
+ public function getSaleTotal()
+ {
+ return $this->saleTotal;
+ }
+
+ public function setSegmentPricing($segmentPricing)
+ {
+ $this->segmentPricing = $segmentPricing;
+ }
+
+ public function getSegmentPricing()
+ {
+ return $this->segmentPricing;
+ }
+
+ public function setTax($tax)
+ {
+ $this->tax = $tax;
+ }
+
+ public function getTax()
+ {
+ return $this->tax;
+ }
+}
+
+class Google_Service_QpxExpress_SegmentInfo extends Google_Collection
+{
+ public $bookingCode;
+ public $bookingCodeCount;
+ public $cabin;
+ public $connectionDuration;
+ public $duration;
+ protected $flightType = 'Google_Service_QpxExpress_FlightInfo';
+ protected $flightDataType = '';
+ public $id;
+ public $kind;
+ protected $legType = 'Google_Service_QpxExpress_LegInfo';
+ protected $legDataType = 'array';
+ public $marriedSegmentGroup;
+ public $subjectToGovernmentApproval;
+
+ public function setBookingCode($bookingCode)
+ {
+ $this->bookingCode = $bookingCode;
+ }
+
+ public function getBookingCode()
+ {
+ return $this->bookingCode;
+ }
+
+ public function setBookingCodeCount($bookingCodeCount)
+ {
+ $this->bookingCodeCount = $bookingCodeCount;
+ }
+
+ public function getBookingCodeCount()
+ {
+ return $this->bookingCodeCount;
+ }
+
+ public function setCabin($cabin)
+ {
+ $this->cabin = $cabin;
+ }
+
+ public function getCabin()
+ {
+ return $this->cabin;
+ }
+
+ public function setConnectionDuration($connectionDuration)
+ {
+ $this->connectionDuration = $connectionDuration;
+ }
+
+ public function getConnectionDuration()
+ {
+ return $this->connectionDuration;
+ }
+
+ public function setDuration($duration)
+ {
+ $this->duration = $duration;
+ }
+
+ public function getDuration()
+ {
+ return $this->duration;
+ }
+
+ public function setFlight(Google_Service_QpxExpress_FlightInfo $flight)
+ {
+ $this->flight = $flight;
+ }
+
+ public function getFlight()
+ {
+ return $this->flight;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setLeg($leg)
+ {
+ $this->leg = $leg;
+ }
+
+ public function getLeg()
+ {
+ return $this->leg;
+ }
+
+ public function setMarriedSegmentGroup($marriedSegmentGroup)
+ {
+ $this->marriedSegmentGroup = $marriedSegmentGroup;
+ }
+
+ public function getMarriedSegmentGroup()
+ {
+ return $this->marriedSegmentGroup;
+ }
+
+ public function setSubjectToGovernmentApproval($subjectToGovernmentApproval)
+ {
+ $this->subjectToGovernmentApproval = $subjectToGovernmentApproval;
+ }
+
+ public function getSubjectToGovernmentApproval()
+ {
+ return $this->subjectToGovernmentApproval;
+ }
+}
+
+class Google_Service_QpxExpress_SegmentPricing extends Google_Collection
+{
+ public $fareId;
+ protected $freeBaggageOptionType = 'Google_Service_QpxExpress_FreeBaggageAllowance';
+ protected $freeBaggageOptionDataType = 'array';
+ public $kind;
+ public $segmentId;
+
+ public function setFareId($fareId)
+ {
+ $this->fareId = $fareId;
+ }
+
+ public function getFareId()
+ {
+ return $this->fareId;
+ }
+
+ public function setFreeBaggageOption($freeBaggageOption)
+ {
+ $this->freeBaggageOption = $freeBaggageOption;
+ }
+
+ public function getFreeBaggageOption()
+ {
+ return $this->freeBaggageOption;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setSegmentId($segmentId)
+ {
+ $this->segmentId = $segmentId;
+ }
+
+ public function getSegmentId()
+ {
+ return $this->segmentId;
+ }
+}
+
+class Google_Service_QpxExpress_SliceInfo extends Google_Collection
+{
+ public $duration;
+ public $kind;
+ protected $segmentType = 'Google_Service_QpxExpress_SegmentInfo';
+ protected $segmentDataType = 'array';
+
+ public function setDuration($duration)
+ {
+ $this->duration = $duration;
+ }
+
+ public function getDuration()
+ {
+ return $this->duration;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setSegment($segment)
+ {
+ $this->segment = $segment;
+ }
+
+ public function getSegment()
+ {
+ return $this->segment;
+ }
+}
+
+class Google_Service_QpxExpress_SliceInput extends Google_Collection
+{
+ public $alliance;
+ public $date;
+ public $destination;
+ public $kind;
+ public $maxConnectionDuration;
+ public $maxStops;
+ public $origin;
+ public $permittedCarrier;
+ protected $permittedDepartureTimeType = 'Google_Service_QpxExpress_TimeOfDayRange';
+ protected $permittedDepartureTimeDataType = '';
+ public $preferredCabin;
+ public $prohibitedCarrier;
+
+ public function setAlliance($alliance)
+ {
+ $this->alliance = $alliance;
+ }
+
+ public function getAlliance()
+ {
+ return $this->alliance;
+ }
+
+ public function setDate($date)
+ {
+ $this->date = $date;
+ }
+
+ public function getDate()
+ {
+ return $this->date;
+ }
+
+ public function setDestination($destination)
+ {
+ $this->destination = $destination;
+ }
+
+ public function getDestination()
+ {
+ return $this->destination;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setMaxConnectionDuration($maxConnectionDuration)
+ {
+ $this->maxConnectionDuration = $maxConnectionDuration;
+ }
+
+ public function getMaxConnectionDuration()
+ {
+ return $this->maxConnectionDuration;
+ }
+
+ public function setMaxStops($maxStops)
+ {
+ $this->maxStops = $maxStops;
+ }
+
+ public function getMaxStops()
+ {
+ return $this->maxStops;
+ }
+
+ public function setOrigin($origin)
+ {
+ $this->origin = $origin;
+ }
+
+ public function getOrigin()
+ {
+ return $this->origin;
+ }
+
+ public function setPermittedCarrier($permittedCarrier)
+ {
+ $this->permittedCarrier = $permittedCarrier;
+ }
+
+ public function getPermittedCarrier()
+ {
+ return $this->permittedCarrier;
+ }
+
+ public function setPermittedDepartureTime(Google_Service_QpxExpress_TimeOfDayRange $permittedDepartureTime)
+ {
+ $this->permittedDepartureTime = $permittedDepartureTime;
+ }
+
+ public function getPermittedDepartureTime()
+ {
+ return $this->permittedDepartureTime;
+ }
+
+ public function setPreferredCabin($preferredCabin)
+ {
+ $this->preferredCabin = $preferredCabin;
+ }
+
+ public function getPreferredCabin()
+ {
+ return $this->preferredCabin;
+ }
+
+ public function setProhibitedCarrier($prohibitedCarrier)
+ {
+ $this->prohibitedCarrier = $prohibitedCarrier;
+ }
+
+ public function getProhibitedCarrier()
+ {
+ return $this->prohibitedCarrier;
+ }
+}
+
+class Google_Service_QpxExpress_TaxData extends Google_Model
+{
+ public $id;
+ public $kind;
+ public $name;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Google_Service_QpxExpress_TaxInfo extends Google_Model
+{
+ public $chargeType;
+ public $code;
+ public $country;
+ public $id;
+ public $kind;
+ public $salePrice;
+
+ public function setChargeType($chargeType)
+ {
+ $this->chargeType = $chargeType;
+ }
+
+ public function getChargeType()
+ {
+ return $this->chargeType;
+ }
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+
+ public function getCode()
+ {
+ return $this->code;
+ }
+
+ public function setCountry($country)
+ {
+ $this->country = $country;
+ }
+
+ public function getCountry()
+ {
+ return $this->country;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setSalePrice($salePrice)
+ {
+ $this->salePrice = $salePrice;
+ }
+
+ public function getSalePrice()
+ {
+ return $this->salePrice;
+ }
+}
+
+class Google_Service_QpxExpress_TimeOfDayRange extends Google_Model
+{
+ public $earliestTime;
+ public $kind;
+ public $latestTime;
+
+ public function setEarliestTime($earliestTime)
+ {
+ $this->earliestTime = $earliestTime;
+ }
+
+ public function getEarliestTime()
+ {
+ return $this->earliestTime;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setLatestTime($latestTime)
+ {
+ $this->latestTime = $latestTime;
+ }
+
+ public function getLatestTime()
+ {
+ return $this->latestTime;
+ }
+}
+
+class Google_Service_QpxExpress_TripOption extends Google_Collection
+{
+ public $id;
+ public $kind;
+ protected $pricingType = 'Google_Service_QpxExpress_PricingInfo';
+ protected $pricingDataType = 'array';
+ public $saleTotal;
+ protected $sliceType = 'Google_Service_QpxExpress_SliceInfo';
+ protected $sliceDataType = 'array';
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setPricing($pricing)
+ {
+ $this->pricing = $pricing;
+ }
+
+ public function getPricing()
+ {
+ return $this->pricing;
+ }
+
+ public function setSaleTotal($saleTotal)
+ {
+ $this->saleTotal = $saleTotal;
+ }
+
+ public function getSaleTotal()
+ {
+ return $this->saleTotal;
+ }
+
+ public function setSlice($slice)
+ {
+ $this->slice = $slice;
+ }
+
+ public function getSlice()
+ {
+ return $this->slice;
+ }
+}
+
+class Google_Service_QpxExpress_TripOptionsRequest extends Google_Collection
+{
+ public $maxPrice;
+ protected $passengersType = 'Google_Service_QpxExpress_PassengerCounts';
+ protected $passengersDataType = '';
+ public $refundable;
+ public $saleCountry;
+ protected $sliceType = 'Google_Service_QpxExpress_SliceInput';
+ protected $sliceDataType = 'array';
+ public $solutions;
+
+ public function setMaxPrice($maxPrice)
+ {
+ $this->maxPrice = $maxPrice;
+ }
+
+ public function getMaxPrice()
+ {
+ return $this->maxPrice;
+ }
+
+ public function setPassengers(Google_Service_QpxExpress_PassengerCounts $passengers)
+ {
+ $this->passengers = $passengers;
+ }
+
+ public function getPassengers()
+ {
+ return $this->passengers;
+ }
+
+ public function setRefundable($refundable)
+ {
+ $this->refundable = $refundable;
+ }
+
+ public function getRefundable()
+ {
+ return $this->refundable;
+ }
+
+ public function setSaleCountry($saleCountry)
+ {
+ $this->saleCountry = $saleCountry;
+ }
+
+ public function getSaleCountry()
+ {
+ return $this->saleCountry;
+ }
+
+ public function setSlice($slice)
+ {
+ $this->slice = $slice;
+ }
+
+ public function getSlice()
+ {
+ return $this->slice;
+ }
+
+ public function setSolutions($solutions)
+ {
+ $this->solutions = $solutions;
+ }
+
+ public function getSolutions()
+ {
+ return $this->solutions;
+ }
+}
+
+class Google_Service_QpxExpress_TripOptionsResponse extends Google_Collection
+{
+ protected $dataType = 'Google_Service_QpxExpress_Data';
+ protected $dataDataType = '';
+ public $kind;
+ public $requestId;
+ protected $tripOptionType = 'Google_Service_QpxExpress_TripOption';
+ protected $tripOptionDataType = 'array';
+
+ public function setData(Google_Service_QpxExpress_Data $data)
+ {
+ $this->data = $data;
+ }
+
+ public function getData()
+ {
+ return $this->data;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setRequestId($requestId)
+ {
+ $this->requestId = $requestId;
+ }
+
+ public function getRequestId()
+ {
+ return $this->requestId;
+ }
+
+ public function setTripOption($tripOption)
+ {
+ $this->tripOption = $tripOption;
+ }
+
+ public function getTripOption()
+ {
+ return $this->tripOption;
+ }
+}
+
+class Google_Service_QpxExpress_TripsSearchRequest extends Google_Model
+{
+ protected $requestType = 'Google_Service_QpxExpress_TripOptionsRequest';
+ protected $requestDataType = '';
+
+ public function setRequest(Google_Service_QpxExpress_TripOptionsRequest $request)
+ {
+ $this->request = $request;
+ }
+
+ public function getRequest()
+ {
+ return $this->request;
+ }
+}
+
+class Google_Service_QpxExpress_TripsSearchResponse extends Google_Model
+{
+ public $kind;
+ protected $tripsType = 'Google_Service_QpxExpress_TripOptionsResponse';
+ protected $tripsDataType = '';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setTrips(Google_Service_QpxExpress_TripOptionsResponse $trips)
+ {
+ $this->trips = $trips;
+ }
+
+ public function getTrips()
+ {
+ return $this->trips;
+ }
+}
From bd1bdb956615b61f64589dcc63a37dd2d24e150e Mon Sep 17 00:00:00 2001
From: Silvano Luciani
+ * $civicinfoService = new Google_Service_CivicInfo(...);
+ * $divisions = $civicinfoService->divisions;
+ *
+ */
+class Google_Service_CivicInfo_Divisions_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Searches for political divisions by their natural name or OCD ID.
+ * (divisions.search)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string query
+ * The search query. Queries can cover any parts of a OCD ID or a human readable division name. All
+ * words given in the query are treated as required patterns. In addition to that, most query
+ * operators of the Apache Lucene library are supported. See
+ * http://lucene.apache.org/core/2_9_4/queryparsersyntax.html
+ * @return Google_Service_CivicInfo_DivisionSearchResponse
+ */
+ public function search($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('search', array($params), "Google_Service_CivicInfo_DivisionSearchResponse");
+ }
+}
+
/**
* The "elections" collection of methods.
* Typical usage is:
@@ -700,6 +752,70 @@ public function getType()
}
}
+class Google_Service_CivicInfo_DivisionSearchResponse extends Google_Collection
+{
+ public $kind;
+ protected $resultsType = 'Google_Service_CivicInfo_DivisionSearchResult';
+ protected $resultsDataType = 'array';
+ public $status;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setResults($results)
+ {
+ $this->results = $results;
+ }
+
+ public function getResults()
+ {
+ return $this->results;
+ }
+
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+
+ public function getStatus()
+ {
+ return $this->status;
+ }
+}
+
+class Google_Service_CivicInfo_DivisionSearchResult extends Google_Model
+{
+ public $name;
+ public $ocdId;
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setOcdId($ocdId)
+ {
+ $this->ocdId = $ocdId;
+ }
+
+ public function getOcdId()
+ {
+ return $this->ocdId;
+ }
+}
+
class Google_Service_CivicInfo_Election extends Google_Model
{
public $electionDay;
From f55698e94230cd22cffd366792c4c053cf6d2dfa Mon Sep 17 00:00:00 2001
From: Ian Barber * For more information about this service, see the API - * Documentation + * Documentation *
* * @author Google, Inc. From b0e482c6cf07983b6add3cb77fde64e57e9d3097 Mon Sep 17 00:00:00 2001 From: Silvano Luciani
+ * $youtubeAnalyticsService = new Google_Service_YouTubeAnalytics(...);
+ * $batchReportDefinitions = $youtubeAnalyticsService->batchReportDefinitions;
+ *
+ */
+class Google_Service_YouTubeAnalytics_BatchReportDefinitions_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Retrieves a list of available batch report definitions.
+ * (batchReportDefinitions.listBatchReportDefinitions)
+ *
+ * @param string $onBehalfOfContentOwner
+ * The onBehalfOfContentOwner parameter identifies the content owner that the user is acting on
+ * behalf of.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_YouTubeAnalytics_BatchReportDefinitionList
+ */
+ public function listBatchReportDefinitions($onBehalfOfContentOwner, $optParams = array())
+ {
+ $params = array('onBehalfOfContentOwner' => $onBehalfOfContentOwner);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_YouTubeAnalytics_BatchReportDefinitionList");
+ }
+}
+
+/**
+ * The "batchReports" collection of methods.
+ * Typical usage is:
+ *
+ * $youtubeAnalyticsService = new Google_Service_YouTubeAnalytics(...);
+ * $batchReports = $youtubeAnalyticsService->batchReports;
+ *
+ */
+class Google_Service_YouTubeAnalytics_BatchReports_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Retrieves a list of processed batch reports. (batchReports.listBatchReports)
+ *
+ * @param string $batchReportDefinitionId
+ * The batchReportDefinitionId parameter specifies the ID of the batch reportort definition for
+ * which you are retrieving reports.
+ * @param string $onBehalfOfContentOwner
+ * The onBehalfOfContentOwner parameter identifies the content owner that the user is acting on
+ * behalf of.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_YouTubeAnalytics_BatchReportList
+ */
+ public function listBatchReports($batchReportDefinitionId, $onBehalfOfContentOwner, $optParams = array())
+ {
+ $params = array('batchReportDefinitionId' => $batchReportDefinitionId, 'onBehalfOfContentOwner' => $onBehalfOfContentOwner);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_YouTubeAnalytics_BatchReportList");
+ }
+}
+
/**
* The "reports" collection of methods.
* Typical usage is:
@@ -176,6 +283,270 @@ public function query($ids, $startDate, $endDate, $metrics, $optParams = array()
+class Google_Service_YouTubeAnalytics_BatchReportDefinitionList extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_YouTubeAnalytics_BatchReportDefinitionTemplate';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_YouTubeAnalytics_BatchReportDefinitionTemplate extends Google_Collection
+{
+ protected $defaultOutputType = 'Google_Service_YouTubeAnalytics_BatchReportDefinitionTemplateDefaultOutput';
+ protected $defaultOutputDataType = 'array';
+ public $id;
+ public $name;
+ public $status;
+ public $type;
+
+ public function setDefaultOutput($defaultOutput)
+ {
+ $this->defaultOutput = $defaultOutput;
+ }
+
+ public function getDefaultOutput()
+ {
+ return $this->defaultOutput;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+
+ public function getStatus()
+ {
+ return $this->status;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_YouTubeAnalytics_BatchReportDefinitionTemplateDefaultOutput extends Google_Model
+{
+ public $format;
+ public $type;
+
+ public function setFormat($format)
+ {
+ $this->format = $format;
+ }
+
+ public function getFormat()
+ {
+ return $this->format;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_YouTubeAnalytics_BatchReportList extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_YouTubeAnalytics_BatchReportTemplate';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_YouTubeAnalytics_BatchReportTemplate extends Google_Collection
+{
+ public $id;
+ protected $outputsType = 'Google_Service_YouTubeAnalytics_BatchReportTemplateOutputs';
+ protected $outputsDataType = 'array';
+ public $reportId;
+ protected $timeSpanType = 'Google_Service_YouTubeAnalytics_BatchReportTemplateTimeSpan';
+ protected $timeSpanDataType = '';
+ public $timeUpdated;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setOutputs($outputs)
+ {
+ $this->outputs = $outputs;
+ }
+
+ public function getOutputs()
+ {
+ return $this->outputs;
+ }
+
+ public function setReportId($reportId)
+ {
+ $this->reportId = $reportId;
+ }
+
+ public function getReportId()
+ {
+ return $this->reportId;
+ }
+
+ public function setTimeSpan(Google_Service_YouTubeAnalytics_BatchReportTemplateTimeSpan $timeSpan)
+ {
+ $this->timeSpan = $timeSpan;
+ }
+
+ public function getTimeSpan()
+ {
+ return $this->timeSpan;
+ }
+
+ public function setTimeUpdated($timeUpdated)
+ {
+ $this->timeUpdated = $timeUpdated;
+ }
+
+ public function getTimeUpdated()
+ {
+ return $this->timeUpdated;
+ }
+}
+
+class Google_Service_YouTubeAnalytics_BatchReportTemplateOutputs extends Google_Model
+{
+ public $downloadUrl;
+ public $format;
+ public $type;
+
+ public function setDownloadUrl($downloadUrl)
+ {
+ $this->downloadUrl = $downloadUrl;
+ }
+
+ public function getDownloadUrl()
+ {
+ return $this->downloadUrl;
+ }
+
+ public function setFormat($format)
+ {
+ $this->format = $format;
+ }
+
+ public function getFormat()
+ {
+ return $this->format;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_YouTubeAnalytics_BatchReportTemplateTimeSpan extends Google_Model
+{
+ public $endTime;
+ public $startTime;
+
+ public function setEndTime($endTime)
+ {
+ $this->endTime = $endTime;
+ }
+
+ public function getEndTime()
+ {
+ return $this->endTime;
+ }
+
+ public function setStartTime($startTime)
+ {
+ $this->startTime = $startTime;
+ }
+
+ public function getStartTime()
+ {
+ return $this->startTime;
+ }
+}
+
class Google_Service_YouTubeAnalytics_ResultTable extends Google_Collection
{
protected $columnHeadersType = 'Google_Service_YouTubeAnalytics_ResultTableColumnHeaders';
From 8b134e6fe51bafeb1a36ee8cd78b67fbed9de79d Mon Sep 17 00:00:00 2001
From: Silvano Luciani
+ * $gamesService = new Google_Service_Games(...);
+ * $pushtokens = $gamesService->pushtokens;
+ *
+ */
+class Google_Service_Games_Pushtokens_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Removes a push token for the current user and application. Removing a non-
+ * existent push token will report success. (pushtokens.remove)
+ *
+ * @param Google_PushTokenId $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function remove(Google_Service_Games_PushTokenId $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('remove', array($params));
+ }
+ /**
+ * Registers a push token for the current user and application.
+ * (pushtokens.update)
+ *
+ * @param Google_PushToken $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function update(Google_Service_Games_PushToken $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params));
+ }
+}
+
/**
* The "revisions" collection of methods.
* Typical usage is:
@@ -3179,6 +3237,7 @@ class Google_Service_Games_NetworkDiagnostics extends Google_Model
{
public $androidNetworkSubtype;
public $androidNetworkType;
+ public $iosNetworkType;
public $kind;
public $registrationLatencyMillis;
@@ -3202,6 +3261,16 @@ public function getAndroidNetworkType()
return $this->androidNetworkType;
}
+ public function setIosNetworkType($iosNetworkType)
+ {
+ $this->iosNetworkType = $iosNetworkType;
+ }
+
+ public function getIosNetworkType()
+ {
+ return $this->iosNetworkType;
+ }
+
public function setKind($kind)
{
$this->kind = $kind;
@@ -4009,6 +4078,108 @@ public function getScores()
}
}
+class Google_Service_Games_PushToken extends Google_Model
+{
+ public $clientRevision;
+ protected $idType = 'Google_Service_Games_PushTokenId';
+ protected $idDataType = '';
+ public $kind;
+ public $language;
+
+ public function setClientRevision($clientRevision)
+ {
+ $this->clientRevision = $clientRevision;
+ }
+
+ public function getClientRevision()
+ {
+ return $this->clientRevision;
+ }
+
+ public function setId(Google_Service_Games_PushTokenId $id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setLanguage($language)
+ {
+ $this->language = $language;
+ }
+
+ public function getLanguage()
+ {
+ return $this->language;
+ }
+}
+
+class Google_Service_Games_PushTokenId extends Google_Model
+{
+ protected $iosType = 'Google_Service_Games_PushTokenIdIos';
+ protected $iosDataType = '';
+ public $kind;
+
+ public function setIos(Google_Service_Games_PushTokenIdIos $ios)
+ {
+ $this->ios = $ios;
+ }
+
+ public function getIos()
+ {
+ return $this->ios;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Games_PushTokenIdIos extends Google_Model
+{
+ public $apnsDeviceToken;
+ public $apnsEnvironment;
+
+ public function setApnsDeviceToken($apnsDeviceToken)
+ {
+ $this->apnsDeviceToken = $apnsDeviceToken;
+ }
+
+ public function getApnsDeviceToken()
+ {
+ return $this->apnsDeviceToken;
+ }
+
+ public function setApnsEnvironment($apnsEnvironment)
+ {
+ $this->apnsEnvironment = $apnsEnvironment;
+ }
+
+ public function getApnsEnvironment()
+ {
+ return $this->apnsEnvironment;
+ }
+}
+
class Google_Service_Games_RevisionCheckResponse extends Google_Model
{
public $apiVersion;
@@ -4436,6 +4607,7 @@ class Google_Service_Games_RoomLeaveDiagnostics extends Google_Collection
{
public $androidNetworkSubtype;
public $androidNetworkType;
+ public $iosNetworkType;
public $kind;
protected $peerSessionType = 'Google_Service_Games_PeerSessionDiagnostics';
protected $peerSessionDataType = 'array';
@@ -4461,6 +4633,16 @@ public function getAndroidNetworkType()
return $this->androidNetworkType;
}
+ public function setIosNetworkType($iosNetworkType)
+ {
+ $this->iosNetworkType = $iosNetworkType;
+ }
+
+ public function getIosNetworkType()
+ {
+ return $this->iosNetworkType;
+ }
+
public function setKind($kind)
{
$this->kind = $kind;
From fca41f4ed4ce2e0b13e277fdf35b8a3aa8f873be Mon Sep 17 00:00:00 2001
From: Silvano Luciani + * For more information about this service, see the API + * Documentation + *
+ * + * @author Google, Inc. + */ +class Google_Service_AdExchangeBuyer extends Google_Service +{ + /** Manage your Ad Exchange buyer account configuration. */ + const ADEXCHANGE_BUYER = "https://www.googleapis.com/auth/adexchange.buyer"; + + public $accounts; + public $creatives; + public $directDeals; + public $performanceReport; + + + /** + * Constructs the internal representation of the AdExchangeBuyer service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->servicePath = 'adexchangebuyer/v1.3/'; + $this->version = 'v1.3'; + $this->serviceName = 'adexchangebuyer'; + + $this->accounts = new Google_Service_AdExchangeBuyer_Accounts_Resource( + $this, + $this->serviceName, + 'accounts', + array( + 'methods' => array( + 'get' => array( + 'path' => 'accounts/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'accounts', + 'httpMethod' => 'GET', + 'parameters' => array(), + ),'patch' => array( + 'path' => 'accounts/{id}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'accounts/{id}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->creatives = new Google_Service_AdExchangeBuyer_Creatives_Resource( + $this, + $this->serviceName, + 'creatives', + array( + 'methods' => array( + 'get' => array( + 'path' => 'creatives/{accountId}/{buyerCreativeId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + 'buyerCreativeId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'creatives', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'list' => array( + 'path' => 'creatives', + 'httpMethod' => 'GET', + 'parameters' => array( + 'statusFilter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->directDeals = new Google_Service_AdExchangeBuyer_DirectDeals_Resource( + $this, + $this->serviceName, + 'directDeals', + array( + 'methods' => array( + 'get' => array( + 'path' => 'directdeals/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'directdeals', + 'httpMethod' => 'GET', + 'parameters' => array(), + ), + ) + ) + ); + $this->performanceReport = new Google_Service_AdExchangeBuyer_PerformanceReport_Resource( + $this, + $this->serviceName, + 'performanceReport', + array( + 'methods' => array( + 'list' => array( + 'path' => 'performancereport', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'endDateTime' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'startDateTime' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "accounts" collection of methods. + * Typical usage is: + *
+ * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
+ * $accounts = $adexchangebuyerService->accounts;
+ *
+ */
+class Google_Service_AdExchangeBuyer_Accounts_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets one account by ID. (accounts.get)
+ *
+ * @param int $id
+ * The account id
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdExchangeBuyer_Account
+ */
+ public function get($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_Account");
+ }
+ /**
+ * Retrieves the authenticated user's list of accounts. (accounts.listAccounts)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdExchangeBuyer_AccountsList
+ */
+ public function listAccounts($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_AccountsList");
+ }
+ /**
+ * Updates an existing account. This method supports patch semantics.
+ * (accounts.patch)
+ *
+ * @param int $id
+ * The account id
+ * @param Google_Account $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdExchangeBuyer_Account
+ */
+ public function patch($id, Google_Service_AdExchangeBuyer_Account $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_AdExchangeBuyer_Account");
+ }
+ /**
+ * Updates an existing account. (accounts.update)
+ *
+ * @param int $id
+ * The account id
+ * @param Google_Account $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdExchangeBuyer_Account
+ */
+ public function update($id, Google_Service_AdExchangeBuyer_Account $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_AdExchangeBuyer_Account");
+ }
+}
+
+/**
+ * The "creatives" collection of methods.
+ * Typical usage is:
+ *
+ * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
+ * $creatives = $adexchangebuyerService->creatives;
+ *
+ */
+class Google_Service_AdExchangeBuyer_Creatives_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets the status for a single creative. A creative will be available 30-40
+ * minutes after submission. (creatives.get)
+ *
+ * @param int $accountId
+ * The id for the account that will serve this creative.
+ * @param string $buyerCreativeId
+ * The buyer-specific id for this creative.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdExchangeBuyer_Creative
+ */
+ public function get($accountId, $buyerCreativeId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'buyerCreativeId' => $buyerCreativeId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_Creative");
+ }
+ /**
+ * Submit a new creative. (creatives.insert)
+ *
+ * @param Google_Creative $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdExchangeBuyer_Creative
+ */
+ public function insert(Google_Service_AdExchangeBuyer_Creative $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_AdExchangeBuyer_Creative");
+ }
+ /**
+ * Retrieves a list of the authenticated user's active creatives. A creative
+ * will be available 30-40 minutes after submission. (creatives.listCreatives)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string statusFilter
+ * When specified, only creatives having the given status are returned.
+ * @opt_param string pageToken
+ * A continuation token, used to page through ad clients. To retrieve the next page, set this
+ * parameter to the value of "nextPageToken" from the previous response. Optional.
+ * @opt_param string maxResults
+ * Maximum number of entries returned on one result page. If not set, the default is 100. Optional.
+ * @return Google_Service_AdExchangeBuyer_CreativesList
+ */
+ public function listCreatives($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_CreativesList");
+ }
+}
+
+/**
+ * The "directDeals" collection of methods.
+ * Typical usage is:
+ *
+ * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
+ * $directDeals = $adexchangebuyerService->directDeals;
+ *
+ */
+class Google_Service_AdExchangeBuyer_DirectDeals_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets one direct deal by ID. (directDeals.get)
+ *
+ * @param string $id
+ * The direct deal id
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdExchangeBuyer_DirectDeal
+ */
+ public function get($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_DirectDeal");
+ }
+ /**
+ * Retrieves the authenticated user's list of direct deals.
+ * (directDeals.listDirectDeals)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdExchangeBuyer_DirectDealsList
+ */
+ public function listDirectDeals($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_DirectDealsList");
+ }
+}
+
+/**
+ * The "performanceReport" collection of methods.
+ * Typical usage is:
+ *
+ * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
+ * $performanceReport = $adexchangebuyerService->performanceReport;
+ *
+ */
+class Google_Service_AdExchangeBuyer_PerformanceReport_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Retrieves the authenticated user's list of performance metrics.
+ * (performanceReport.listPerformanceReport)
+ *
+ * @param string $accountId
+ * The account id to get the reports.
+ * @param string $endDateTime
+ * The end time of the report in ISO 8601 timestamp format using UTC.
+ * @param string $startDateTime
+ * The start time of the report in ISO 8601 timestamp format using UTC.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * A continuation token, used to page through performance reports. To retrieve the next page, set
+ * this parameter to the value of "nextPageToken" from the previous response. Optional.
+ * @opt_param string maxResults
+ * Maximum number of entries returned on one result page. If not set, the default is 100. Optional.
+ * @return Google_Service_AdExchangeBuyer_PerformanceReportList
+ */
+ public function listPerformanceReport($accountId, $endDateTime, $startDateTime, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'endDateTime' => $endDateTime, 'startDateTime' => $startDateTime);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_PerformanceReportList");
+ }
+}
+
+
+
+
+class Google_Service_AdExchangeBuyer_Account extends Google_Collection
+{
+ protected $bidderLocationType = 'Google_Service_AdExchangeBuyer_AccountBidderLocation';
+ protected $bidderLocationDataType = 'array';
+ public $cookieMatchingNid;
+ public $cookieMatchingUrl;
+ public $id;
+ public $kind;
+ public $maximumTotalQps;
+
+ public function setBidderLocation($bidderLocation)
+ {
+ $this->bidderLocation = $bidderLocation;
+ }
+
+ public function getBidderLocation()
+ {
+ return $this->bidderLocation;
+ }
+
+ public function setCookieMatchingNid($cookieMatchingNid)
+ {
+ $this->cookieMatchingNid = $cookieMatchingNid;
+ }
+
+ public function getCookieMatchingNid()
+ {
+ return $this->cookieMatchingNid;
+ }
+
+ public function setCookieMatchingUrl($cookieMatchingUrl)
+ {
+ $this->cookieMatchingUrl = $cookieMatchingUrl;
+ }
+
+ public function getCookieMatchingUrl()
+ {
+ return $this->cookieMatchingUrl;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setMaximumTotalQps($maximumTotalQps)
+ {
+ $this->maximumTotalQps = $maximumTotalQps;
+ }
+
+ public function getMaximumTotalQps()
+ {
+ return $this->maximumTotalQps;
+ }
+}
+
+class Google_Service_AdExchangeBuyer_AccountBidderLocation extends Google_Model
+{
+ public $maximumQps;
+ public $region;
+ public $url;
+
+ public function setMaximumQps($maximumQps)
+ {
+ $this->maximumQps = $maximumQps;
+ }
+
+ public function getMaximumQps()
+ {
+ return $this->maximumQps;
+ }
+
+ public function setRegion($region)
+ {
+ $this->region = $region;
+ }
+
+ public function getRegion()
+ {
+ return $this->region;
+ }
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Google_Service_AdExchangeBuyer_AccountsList extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_AdExchangeBuyer_Account';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_AdExchangeBuyer_Creative extends Google_Collection
+{
+ public $hTMLSnippet;
+ public $accountId;
+ public $advertiserId;
+ public $advertiserName;
+ public $agencyId;
+ public $attribute;
+ public $buyerCreativeId;
+ public $clickThroughUrl;
+ protected $correctionsType = 'Google_Service_AdExchangeBuyer_CreativeCorrections';
+ protected $correctionsDataType = 'array';
+ protected $disapprovalReasonsType = 'Google_Service_AdExchangeBuyer_CreativeDisapprovalReasons';
+ protected $disapprovalReasonsDataType = 'array';
+ protected $filteringReasonsType = 'Google_Service_AdExchangeBuyer_CreativeFilteringReasons';
+ protected $filteringReasonsDataType = '';
+ public $height;
+ public $kind;
+ public $productCategories;
+ public $restrictedCategories;
+ public $sensitiveCategories;
+ public $status;
+ public $vendorType;
+ public $videoURL;
+ public $width;
+
+ public function setHTMLSnippet($hTMLSnippet)
+ {
+ $this->hTMLSnippet = $hTMLSnippet;
+ }
+
+ public function getHTMLSnippet()
+ {
+ return $this->hTMLSnippet;
+ }
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+
+ public function setAdvertiserId($advertiserId)
+ {
+ $this->advertiserId = $advertiserId;
+ }
+
+ public function getAdvertiserId()
+ {
+ return $this->advertiserId;
+ }
+
+ public function setAdvertiserName($advertiserName)
+ {
+ $this->advertiserName = $advertiserName;
+ }
+
+ public function getAdvertiserName()
+ {
+ return $this->advertiserName;
+ }
+
+ public function setAgencyId($agencyId)
+ {
+ $this->agencyId = $agencyId;
+ }
+
+ public function getAgencyId()
+ {
+ return $this->agencyId;
+ }
+
+ public function setAttribute($attribute)
+ {
+ $this->attribute = $attribute;
+ }
+
+ public function getAttribute()
+ {
+ return $this->attribute;
+ }
+
+ public function setBuyerCreativeId($buyerCreativeId)
+ {
+ $this->buyerCreativeId = $buyerCreativeId;
+ }
+
+ public function getBuyerCreativeId()
+ {
+ return $this->buyerCreativeId;
+ }
+
+ public function setClickThroughUrl($clickThroughUrl)
+ {
+ $this->clickThroughUrl = $clickThroughUrl;
+ }
+
+ public function getClickThroughUrl()
+ {
+ return $this->clickThroughUrl;
+ }
+
+ public function setCorrections($corrections)
+ {
+ $this->corrections = $corrections;
+ }
+
+ public function getCorrections()
+ {
+ return $this->corrections;
+ }
+
+ public function setDisapprovalReasons($disapprovalReasons)
+ {
+ $this->disapprovalReasons = $disapprovalReasons;
+ }
+
+ public function getDisapprovalReasons()
+ {
+ return $this->disapprovalReasons;
+ }
+
+ public function setFilteringReasons(Google_Service_AdExchangeBuyer_CreativeFilteringReasons $filteringReasons)
+ {
+ $this->filteringReasons = $filteringReasons;
+ }
+
+ public function getFilteringReasons()
+ {
+ return $this->filteringReasons;
+ }
+
+ public function setHeight($height)
+ {
+ $this->height = $height;
+ }
+
+ public function getHeight()
+ {
+ return $this->height;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setProductCategories($productCategories)
+ {
+ $this->productCategories = $productCategories;
+ }
+
+ public function getProductCategories()
+ {
+ return $this->productCategories;
+ }
+
+ public function setRestrictedCategories($restrictedCategories)
+ {
+ $this->restrictedCategories = $restrictedCategories;
+ }
+
+ public function getRestrictedCategories()
+ {
+ return $this->restrictedCategories;
+ }
+
+ public function setSensitiveCategories($sensitiveCategories)
+ {
+ $this->sensitiveCategories = $sensitiveCategories;
+ }
+
+ public function getSensitiveCategories()
+ {
+ return $this->sensitiveCategories;
+ }
+
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+
+ public function getStatus()
+ {
+ return $this->status;
+ }
+
+ public function setVendorType($vendorType)
+ {
+ $this->vendorType = $vendorType;
+ }
+
+ public function getVendorType()
+ {
+ return $this->vendorType;
+ }
+
+ public function setVideoURL($videoURL)
+ {
+ $this->videoURL = $videoURL;
+ }
+
+ public function getVideoURL()
+ {
+ return $this->videoURL;
+ }
+
+ public function setWidth($width)
+ {
+ $this->width = $width;
+ }
+
+ public function getWidth()
+ {
+ return $this->width;
+ }
+}
+
+class Google_Service_AdExchangeBuyer_CreativeCorrections extends Google_Collection
+{
+ public $details;
+ public $reason;
+
+ public function setDetails($details)
+ {
+ $this->details = $details;
+ }
+
+ public function getDetails()
+ {
+ return $this->details;
+ }
+
+ public function setReason($reason)
+ {
+ $this->reason = $reason;
+ }
+
+ public function getReason()
+ {
+ return $this->reason;
+ }
+}
+
+class Google_Service_AdExchangeBuyer_CreativeDisapprovalReasons extends Google_Collection
+{
+ public $details;
+ public $reason;
+
+ public function setDetails($details)
+ {
+ $this->details = $details;
+ }
+
+ public function getDetails()
+ {
+ return $this->details;
+ }
+
+ public function setReason($reason)
+ {
+ $this->reason = $reason;
+ }
+
+ public function getReason()
+ {
+ return $this->reason;
+ }
+}
+
+class Google_Service_AdExchangeBuyer_CreativeFilteringReasons extends Google_Collection
+{
+ public $date;
+ protected $reasonsType = 'Google_Service_AdExchangeBuyer_CreativeFilteringReasonsReasons';
+ protected $reasonsDataType = 'array';
+
+ public function setDate($date)
+ {
+ $this->date = $date;
+ }
+
+ public function getDate()
+ {
+ return $this->date;
+ }
+
+ public function setReasons($reasons)
+ {
+ $this->reasons = $reasons;
+ }
+
+ public function getReasons()
+ {
+ return $this->reasons;
+ }
+}
+
+class Google_Service_AdExchangeBuyer_CreativeFilteringReasonsReasons extends Google_Model
+{
+ public $filteringCount;
+ public $filteringStatus;
+
+ public function setFilteringCount($filteringCount)
+ {
+ $this->filteringCount = $filteringCount;
+ }
+
+ public function getFilteringCount()
+ {
+ return $this->filteringCount;
+ }
+
+ public function setFilteringStatus($filteringStatus)
+ {
+ $this->filteringStatus = $filteringStatus;
+ }
+
+ public function getFilteringStatus()
+ {
+ return $this->filteringStatus;
+ }
+}
+
+class Google_Service_AdExchangeBuyer_CreativesList extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_AdExchangeBuyer_Creative';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_AdExchangeBuyer_DirectDeal extends Google_Model
+{
+ public $accountId;
+ public $advertiser;
+ public $currencyCode;
+ public $endTime;
+ public $fixedCpm;
+ public $id;
+ public $kind;
+ public $privateExchangeMinCpm;
+ public $sellerNetwork;
+ public $startTime;
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+
+ public function setAdvertiser($advertiser)
+ {
+ $this->advertiser = $advertiser;
+ }
+
+ public function getAdvertiser()
+ {
+ return $this->advertiser;
+ }
+
+ public function setCurrencyCode($currencyCode)
+ {
+ $this->currencyCode = $currencyCode;
+ }
+
+ public function getCurrencyCode()
+ {
+ return $this->currencyCode;
+ }
+
+ public function setEndTime($endTime)
+ {
+ $this->endTime = $endTime;
+ }
+
+ public function getEndTime()
+ {
+ return $this->endTime;
+ }
+
+ public function setFixedCpm($fixedCpm)
+ {
+ $this->fixedCpm = $fixedCpm;
+ }
+
+ public function getFixedCpm()
+ {
+ return $this->fixedCpm;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setPrivateExchangeMinCpm($privateExchangeMinCpm)
+ {
+ $this->privateExchangeMinCpm = $privateExchangeMinCpm;
+ }
+
+ public function getPrivateExchangeMinCpm()
+ {
+ return $this->privateExchangeMinCpm;
+ }
+
+ public function setSellerNetwork($sellerNetwork)
+ {
+ $this->sellerNetwork = $sellerNetwork;
+ }
+
+ public function getSellerNetwork()
+ {
+ return $this->sellerNetwork;
+ }
+
+ public function setStartTime($startTime)
+ {
+ $this->startTime = $startTime;
+ }
+
+ public function getStartTime()
+ {
+ return $this->startTime;
+ }
+}
+
+class Google_Service_AdExchangeBuyer_DirectDealsList extends Google_Collection
+{
+ protected $directDealsType = 'Google_Service_AdExchangeBuyer_DirectDeal';
+ protected $directDealsDataType = 'array';
+ public $kind;
+
+ public function setDirectDeals($directDeals)
+ {
+ $this->directDeals = $directDeals;
+ }
+
+ public function getDirectDeals()
+ {
+ return $this->directDeals;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_AdExchangeBuyer_PerformanceReport extends Google_Collection
+{
+ public $calloutStatusRate;
+ public $cookieMatcherStatusRate;
+ public $creativeStatusRate;
+ public $hostedMatchStatusRate;
+ public $kind;
+ public $latency50thPercentile;
+ public $latency85thPercentile;
+ public $latency95thPercentile;
+ public $noQuotaInRegion;
+ public $outOfQuota;
+ public $pixelMatchRequests;
+ public $pixelMatchResponses;
+ public $quotaConfiguredLimit;
+ public $quotaThrottledLimit;
+ public $region;
+ public $timestamp;
+
+ public function setCalloutStatusRate($calloutStatusRate)
+ {
+ $this->calloutStatusRate = $calloutStatusRate;
+ }
+
+ public function getCalloutStatusRate()
+ {
+ return $this->calloutStatusRate;
+ }
+
+ public function setCookieMatcherStatusRate($cookieMatcherStatusRate)
+ {
+ $this->cookieMatcherStatusRate = $cookieMatcherStatusRate;
+ }
+
+ public function getCookieMatcherStatusRate()
+ {
+ return $this->cookieMatcherStatusRate;
+ }
+
+ public function setCreativeStatusRate($creativeStatusRate)
+ {
+ $this->creativeStatusRate = $creativeStatusRate;
+ }
+
+ public function getCreativeStatusRate()
+ {
+ return $this->creativeStatusRate;
+ }
+
+ public function setHostedMatchStatusRate($hostedMatchStatusRate)
+ {
+ $this->hostedMatchStatusRate = $hostedMatchStatusRate;
+ }
+
+ public function getHostedMatchStatusRate()
+ {
+ return $this->hostedMatchStatusRate;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setLatency50thPercentile($latency50thPercentile)
+ {
+ $this->latency50thPercentile = $latency50thPercentile;
+ }
+
+ public function getLatency50thPercentile()
+ {
+ return $this->latency50thPercentile;
+ }
+
+ public function setLatency85thPercentile($latency85thPercentile)
+ {
+ $this->latency85thPercentile = $latency85thPercentile;
+ }
+
+ public function getLatency85thPercentile()
+ {
+ return $this->latency85thPercentile;
+ }
+
+ public function setLatency95thPercentile($latency95thPercentile)
+ {
+ $this->latency95thPercentile = $latency95thPercentile;
+ }
+
+ public function getLatency95thPercentile()
+ {
+ return $this->latency95thPercentile;
+ }
+
+ public function setNoQuotaInRegion($noQuotaInRegion)
+ {
+ $this->noQuotaInRegion = $noQuotaInRegion;
+ }
+
+ public function getNoQuotaInRegion()
+ {
+ return $this->noQuotaInRegion;
+ }
+
+ public function setOutOfQuota($outOfQuota)
+ {
+ $this->outOfQuota = $outOfQuota;
+ }
+
+ public function getOutOfQuota()
+ {
+ return $this->outOfQuota;
+ }
+
+ public function setPixelMatchRequests($pixelMatchRequests)
+ {
+ $this->pixelMatchRequests = $pixelMatchRequests;
+ }
+
+ public function getPixelMatchRequests()
+ {
+ return $this->pixelMatchRequests;
+ }
+
+ public function setPixelMatchResponses($pixelMatchResponses)
+ {
+ $this->pixelMatchResponses = $pixelMatchResponses;
+ }
+
+ public function getPixelMatchResponses()
+ {
+ return $this->pixelMatchResponses;
+ }
+
+ public function setQuotaConfiguredLimit($quotaConfiguredLimit)
+ {
+ $this->quotaConfiguredLimit = $quotaConfiguredLimit;
+ }
+
+ public function getQuotaConfiguredLimit()
+ {
+ return $this->quotaConfiguredLimit;
+ }
+
+ public function setQuotaThrottledLimit($quotaThrottledLimit)
+ {
+ $this->quotaThrottledLimit = $quotaThrottledLimit;
+ }
+
+ public function getQuotaThrottledLimit()
+ {
+ return $this->quotaThrottledLimit;
+ }
+
+ public function setRegion($region)
+ {
+ $this->region = $region;
+ }
+
+ public function getRegion()
+ {
+ return $this->region;
+ }
+
+ public function setTimestamp($timestamp)
+ {
+ $this->timestamp = $timestamp;
+ }
+
+ public function getTimestamp()
+ {
+ return $this->timestamp;
+ }
+}
+
+class Google_Service_AdExchangeBuyer_PerformanceReportList extends Google_Collection
+{
+ public $kind;
+ protected $performanceReportType = 'Google_Service_AdExchangeBuyer_PerformanceReport';
+ protected $performanceReportDataType = 'array';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setPerformanceReport($performanceReport)
+ {
+ $this->performanceReport = $performanceReport;
+ }
+
+ public function getPerformanceReport()
+ {
+ return $this->performanceReport;
+ }
+}
From fb101d972457b40f80aeaa33fc62dc970561a3d5 Mon Sep 17 00:00:00 2001
From: Ian Barber - * For more information about this service, see the API - * Documentation - *
- * - * @author Google, Inc. - */ -class Google_Service_Adexchangebuyer extends Google_Service -{ - /** Manage your Ad Exchange buyer account configuration. */ - const ADEXCHANGE_BUYER = "https://www.googleapis.com/auth/adexchange.buyer"; - - public $accounts; - public $creatives; - public $directDeals; - public $performanceReport; - - - /** - * Constructs the internal representation of the Adexchangebuyer service. - * - * @param Google_Client $client - */ - public function __construct(Google_Client $client) - { - parent::__construct($client); - $this->servicePath = 'adexchangebuyer/v1.3/'; - $this->version = 'v1.3'; - $this->serviceName = 'adexchangebuyer'; - - $this->accounts = new Google_Service_Adexchangebuyer_Accounts_Resource( - $this, - $this->serviceName, - 'accounts', - array( - 'methods' => array( - 'get' => array( - 'path' => 'accounts/{id}', - 'httpMethod' => 'GET', - 'parameters' => array( - 'id' => array( - 'location' => 'path', - 'type' => 'integer', - 'required' => true, - ), - ), - ),'list' => array( - 'path' => 'accounts', - 'httpMethod' => 'GET', - 'parameters' => array(), - ),'patch' => array( - 'path' => 'accounts/{id}', - 'httpMethod' => 'PATCH', - 'parameters' => array( - 'id' => array( - 'location' => 'path', - 'type' => 'integer', - 'required' => true, - ), - ), - ),'update' => array( - 'path' => 'accounts/{id}', - 'httpMethod' => 'PUT', - 'parameters' => array( - 'id' => array( - 'location' => 'path', - 'type' => 'integer', - 'required' => true, - ), - ), - ), - ) - ) - ); - $this->creatives = new Google_Service_Adexchangebuyer_Creatives_Resource( - $this, - $this->serviceName, - 'creatives', - array( - 'methods' => array( - 'get' => array( - 'path' => 'creatives/{accountId}/{buyerCreativeId}', - 'httpMethod' => 'GET', - 'parameters' => array( - 'accountId' => array( - 'location' => 'path', - 'type' => 'integer', - 'required' => true, - ), - 'buyerCreativeId' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ),'insert' => array( - 'path' => 'creatives', - 'httpMethod' => 'POST', - 'parameters' => array(), - ),'list' => array( - 'path' => 'creatives', - 'httpMethod' => 'GET', - 'parameters' => array( - 'statusFilter' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'pageToken' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'maxResults' => array( - 'location' => 'query', - 'type' => 'integer', - ), - ), - ), - ) - ) - ); - $this->directDeals = new Google_Service_Adexchangebuyer_DirectDeals_Resource( - $this, - $this->serviceName, - 'directDeals', - array( - 'methods' => array( - 'get' => array( - 'path' => 'directdeals/{id}', - 'httpMethod' => 'GET', - 'parameters' => array( - 'id' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ),'list' => array( - 'path' => 'directdeals', - 'httpMethod' => 'GET', - 'parameters' => array(), - ), - ) - ) - ); - $this->performanceReport = new Google_Service_Adexchangebuyer_PerformanceReport_Resource( - $this, - $this->serviceName, - 'performanceReport', - array( - 'methods' => array( - 'list' => array( - 'path' => 'performancereport', - 'httpMethod' => 'GET', - 'parameters' => array( - 'accountId' => array( - 'location' => 'query', - 'type' => 'string', - 'required' => true, - ), - 'endDateTime' => array( - 'location' => 'query', - 'type' => 'string', - 'required' => true, - ), - 'startDateTime' => array( - 'location' => 'query', - 'type' => 'string', - 'required' => true, - ), - 'pageToken' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'maxResults' => array( - 'location' => 'query', - 'type' => 'integer', - ), - ), - ), - ) - ) - ); - } -} - - -/** - * The "accounts" collection of methods. - * Typical usage is: - *
- * $adexchangebuyerService = new Google_Service_Adexchangebuyer(...);
- * $accounts = $adexchangebuyerService->accounts;
- *
- */
-class Google_Service_Adexchangebuyer_Accounts_Resource extends Google_Service_Resource
-{
-
- /**
- * Gets one account by ID. (accounts.get)
- *
- * @param int $id
- * The account id
- * @param array $optParams Optional parameters.
- * @return Google_Service_Adexchangebuyer_Account
- */
- public function get($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Adexchangebuyer_Account");
- }
- /**
- * Retrieves the authenticated user's list of accounts. (accounts.listAccounts)
- *
- * @param array $optParams Optional parameters.
- * @return Google_Service_Adexchangebuyer_AccountsList
- */
- public function listAccounts($optParams = array())
- {
- $params = array();
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Adexchangebuyer_AccountsList");
- }
- /**
- * Updates an existing account. This method supports patch semantics.
- * (accounts.patch)
- *
- * @param int $id
- * The account id
- * @param Google_Account $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Adexchangebuyer_Account
- */
- public function patch($id, Google_Service_Adexchangebuyer_Account $postBody, $optParams = array())
- {
- $params = array('id' => $id, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('patch', array($params), "Google_Service_Adexchangebuyer_Account");
- }
- /**
- * Updates an existing account. (accounts.update)
- *
- * @param int $id
- * The account id
- * @param Google_Account $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Adexchangebuyer_Account
- */
- public function update($id, Google_Service_Adexchangebuyer_Account $postBody, $optParams = array())
- {
- $params = array('id' => $id, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('update', array($params), "Google_Service_Adexchangebuyer_Account");
- }
-}
-
-/**
- * The "creatives" collection of methods.
- * Typical usage is:
- *
- * $adexchangebuyerService = new Google_Service_Adexchangebuyer(...);
- * $creatives = $adexchangebuyerService->creatives;
- *
- */
-class Google_Service_Adexchangebuyer_Creatives_Resource extends Google_Service_Resource
-{
-
- /**
- * Gets the status for a single creative. (creatives.get)
- *
- * @param int $accountId
- * The id for the account that will serve this creative.
- * @param string $buyerCreativeId
- * The buyer-specific id for this creative.
- * @param array $optParams Optional parameters.
- * @return Google_Service_Adexchangebuyer_Creative
- */
- public function get($accountId, $buyerCreativeId, $optParams = array())
- {
- $params = array('accountId' => $accountId, 'buyerCreativeId' => $buyerCreativeId);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Adexchangebuyer_Creative");
- }
- /**
- * Submit a new creative. (creatives.insert)
- *
- * @param Google_Creative $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Adexchangebuyer_Creative
- */
- public function insert(Google_Service_Adexchangebuyer_Creative $postBody, $optParams = array())
- {
- $params = array('postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('insert', array($params), "Google_Service_Adexchangebuyer_Creative");
- }
- /**
- * Retrieves a list of the authenticated user's active creatives.
- * (creatives.listCreatives)
- *
- * @param array $optParams Optional parameters.
- *
- * @opt_param string statusFilter
- * When specified, only creatives having the given status are returned.
- * @opt_param string pageToken
- * A continuation token, used to page through ad clients. To retrieve the next page, set this
- * parameter to the value of "nextPageToken" from the previous response. Optional.
- * @opt_param string maxResults
- * Maximum number of entries returned on one result page. If not set, the default is 100. Optional.
- * @return Google_Service_Adexchangebuyer_CreativesList
- */
- public function listCreatives($optParams = array())
- {
- $params = array();
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Adexchangebuyer_CreativesList");
- }
-}
-
-/**
- * The "directDeals" collection of methods.
- * Typical usage is:
- *
- * $adexchangebuyerService = new Google_Service_Adexchangebuyer(...);
- * $directDeals = $adexchangebuyerService->directDeals;
- *
- */
-class Google_Service_Adexchangebuyer_DirectDeals_Resource extends Google_Service_Resource
-{
-
- /**
- * Gets one direct deal by ID. (directDeals.get)
- *
- * @param string $id
- * The direct deal id
- * @param array $optParams Optional parameters.
- * @return Google_Service_Adexchangebuyer_DirectDeal
- */
- public function get($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Adexchangebuyer_DirectDeal");
- }
- /**
- * Retrieves the authenticated user's list of direct deals.
- * (directDeals.listDirectDeals)
- *
- * @param array $optParams Optional parameters.
- * @return Google_Service_Adexchangebuyer_DirectDealsList
- */
- public function listDirectDeals($optParams = array())
- {
- $params = array();
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Adexchangebuyer_DirectDealsList");
- }
-}
-
-/**
- * The "performanceReport" collection of methods.
- * Typical usage is:
- *
- * $adexchangebuyerService = new Google_Service_Adexchangebuyer(...);
- * $performanceReport = $adexchangebuyerService->performanceReport;
- *
- */
-class Google_Service_Adexchangebuyer_PerformanceReport_Resource extends Google_Service_Resource
-{
-
- /**
- * Retrieves the authenticated user's list of performance metrics.
- * (performanceReport.listPerformanceReport)
- *
- * @param string $accountId
- * The account id to get the reports.
- * @param string $endDateTime
- * The end time of the report in ISO 8601 timestamp format using UTC.
- * @param string $startDateTime
- * The start time of the report in ISO 8601 timestamp format using UTC.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string pageToken
- * A continuation token, used to page through performance reports. To retrieve the next page, set
- * this parameter to the value of "nextPageToken" from the previous response. Optional.
- * @opt_param string maxResults
- * Maximum number of entries returned on one result page. If not set, the default is 100. Optional.
- * @return Google_Service_Adexchangebuyer_PerformanceReportList
- */
- public function listPerformanceReport($accountId, $endDateTime, $startDateTime, $optParams = array())
- {
- $params = array('accountId' => $accountId, 'endDateTime' => $endDateTime, 'startDateTime' => $startDateTime);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Adexchangebuyer_PerformanceReportList");
- }
-}
-
-
-
-
-class Google_Service_Adexchangebuyer_Account extends Google_Collection
-{
- protected $bidderLocationType = 'Google_Service_Adexchangebuyer_AccountBidderLocation';
- protected $bidderLocationDataType = 'array';
- public $cookieMatchingNid;
- public $cookieMatchingUrl;
- public $id;
- public $kind;
- public $maximumTotalQps;
-
- public function setBidderLocation($bidderLocation)
- {
- $this->bidderLocation = $bidderLocation;
- }
-
- public function getBidderLocation()
- {
- return $this->bidderLocation;
- }
-
- public function setCookieMatchingNid($cookieMatchingNid)
- {
- $this->cookieMatchingNid = $cookieMatchingNid;
- }
-
- public function getCookieMatchingNid()
- {
- return $this->cookieMatchingNid;
- }
-
- public function setCookieMatchingUrl($cookieMatchingUrl)
- {
- $this->cookieMatchingUrl = $cookieMatchingUrl;
- }
-
- public function getCookieMatchingUrl()
- {
- return $this->cookieMatchingUrl;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setMaximumTotalQps($maximumTotalQps)
- {
- $this->maximumTotalQps = $maximumTotalQps;
- }
-
- public function getMaximumTotalQps()
- {
- return $this->maximumTotalQps;
- }
-}
-
-class Google_Service_Adexchangebuyer_AccountBidderLocation extends Google_Model
-{
- public $maximumQps;
- public $region;
- public $url;
-
- public function setMaximumQps($maximumQps)
- {
- $this->maximumQps = $maximumQps;
- }
-
- public function getMaximumQps()
- {
- return $this->maximumQps;
- }
-
- public function setRegion($region)
- {
- $this->region = $region;
- }
-
- public function getRegion()
- {
- return $this->region;
- }
-
- public function setUrl($url)
- {
- $this->url = $url;
- }
-
- public function getUrl()
- {
- return $this->url;
- }
-}
-
-class Google_Service_Adexchangebuyer_AccountsList extends Google_Collection
-{
- protected $itemsType = 'Google_Service_Adexchangebuyer_Account';
- protected $itemsDataType = 'array';
- public $kind;
-
- public function setItems($items)
- {
- $this->items = $items;
- }
-
- public function getItems()
- {
- return $this->items;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-}
-
-class Google_Service_Adexchangebuyer_Creative extends Google_Collection
-{
- public $hTMLSnippet;
- public $accountId;
- public $advertiserId;
- public $advertiserName;
- public $agencyId;
- public $attribute;
- public $buyerCreativeId;
- public $clickThroughUrl;
- protected $correctionsType = 'Google_Service_Adexchangebuyer_CreativeCorrections';
- protected $correctionsDataType = 'array';
- protected $disapprovalReasonsType = 'Google_Service_Adexchangebuyer_CreativeDisapprovalReasons';
- protected $disapprovalReasonsDataType = 'array';
- protected $filteringReasonsType = 'Google_Service_Adexchangebuyer_CreativeFilteringReasons';
- protected $filteringReasonsDataType = '';
- public $height;
- public $kind;
- public $productCategories;
- public $restrictedCategories;
- public $sensitiveCategories;
- public $status;
- public $vendorType;
- public $videoURL;
- public $width;
-
- public function setHTMLSnippet($hTMLSnippet)
- {
- $this->hTMLSnippet = $hTMLSnippet;
- }
-
- public function getHTMLSnippet()
- {
- return $this->hTMLSnippet;
- }
-
- public function setAccountId($accountId)
- {
- $this->accountId = $accountId;
- }
-
- public function getAccountId()
- {
- return $this->accountId;
- }
-
- public function setAdvertiserId($advertiserId)
- {
- $this->advertiserId = $advertiserId;
- }
-
- public function getAdvertiserId()
- {
- return $this->advertiserId;
- }
-
- public function setAdvertiserName($advertiserName)
- {
- $this->advertiserName = $advertiserName;
- }
-
- public function getAdvertiserName()
- {
- return $this->advertiserName;
- }
-
- public function setAgencyId($agencyId)
- {
- $this->agencyId = $agencyId;
- }
-
- public function getAgencyId()
- {
- return $this->agencyId;
- }
-
- public function setAttribute($attribute)
- {
- $this->attribute = $attribute;
- }
-
- public function getAttribute()
- {
- return $this->attribute;
- }
-
- public function setBuyerCreativeId($buyerCreativeId)
- {
- $this->buyerCreativeId = $buyerCreativeId;
- }
-
- public function getBuyerCreativeId()
- {
- return $this->buyerCreativeId;
- }
-
- public function setClickThroughUrl($clickThroughUrl)
- {
- $this->clickThroughUrl = $clickThroughUrl;
- }
-
- public function getClickThroughUrl()
- {
- return $this->clickThroughUrl;
- }
-
- public function setCorrections($corrections)
- {
- $this->corrections = $corrections;
- }
-
- public function getCorrections()
- {
- return $this->corrections;
- }
-
- public function setDisapprovalReasons($disapprovalReasons)
- {
- $this->disapprovalReasons = $disapprovalReasons;
- }
-
- public function getDisapprovalReasons()
- {
- return $this->disapprovalReasons;
- }
-
- public function setFilteringReasons(Google_Service_Adexchangebuyer_CreativeFilteringReasons $filteringReasons)
- {
- $this->filteringReasons = $filteringReasons;
- }
-
- public function getFilteringReasons()
- {
- return $this->filteringReasons;
- }
-
- public function setHeight($height)
- {
- $this->height = $height;
- }
-
- public function getHeight()
- {
- return $this->height;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setProductCategories($productCategories)
- {
- $this->productCategories = $productCategories;
- }
-
- public function getProductCategories()
- {
- return $this->productCategories;
- }
-
- public function setRestrictedCategories($restrictedCategories)
- {
- $this->restrictedCategories = $restrictedCategories;
- }
-
- public function getRestrictedCategories()
- {
- return $this->restrictedCategories;
- }
-
- public function setSensitiveCategories($sensitiveCategories)
- {
- $this->sensitiveCategories = $sensitiveCategories;
- }
-
- public function getSensitiveCategories()
- {
- return $this->sensitiveCategories;
- }
-
- public function setStatus($status)
- {
- $this->status = $status;
- }
-
- public function getStatus()
- {
- return $this->status;
- }
-
- public function setVendorType($vendorType)
- {
- $this->vendorType = $vendorType;
- }
-
- public function getVendorType()
- {
- return $this->vendorType;
- }
-
- public function setVideoURL($videoURL)
- {
- $this->videoURL = $videoURL;
- }
-
- public function getVideoURL()
- {
- return $this->videoURL;
- }
-
- public function setWidth($width)
- {
- $this->width = $width;
- }
-
- public function getWidth()
- {
- return $this->width;
- }
-}
-
-class Google_Service_Adexchangebuyer_CreativeCorrections extends Google_Collection
-{
- public $details;
- public $reason;
-
- public function setDetails($details)
- {
- $this->details = $details;
- }
-
- public function getDetails()
- {
- return $this->details;
- }
-
- public function setReason($reason)
- {
- $this->reason = $reason;
- }
-
- public function getReason()
- {
- return $this->reason;
- }
-}
-
-class Google_Service_Adexchangebuyer_CreativeDisapprovalReasons extends Google_Collection
-{
- public $details;
- public $reason;
-
- public function setDetails($details)
- {
- $this->details = $details;
- }
-
- public function getDetails()
- {
- return $this->details;
- }
-
- public function setReason($reason)
- {
- $this->reason = $reason;
- }
-
- public function getReason()
- {
- return $this->reason;
- }
-}
-
-class Google_Service_Adexchangebuyer_CreativeFilteringReasons extends Google_Collection
-{
- public $date;
- protected $reasonsType = 'Google_Service_Adexchangebuyer_CreativeFilteringReasonsReasons';
- protected $reasonsDataType = 'array';
-
- public function setDate($date)
- {
- $this->date = $date;
- }
-
- public function getDate()
- {
- return $this->date;
- }
-
- public function setReasons($reasons)
- {
- $this->reasons = $reasons;
- }
-
- public function getReasons()
- {
- return $this->reasons;
- }
-}
-
-class Google_Service_Adexchangebuyer_CreativeFilteringReasonsReasons extends Google_Model
-{
- public $filteringCount;
- public $filteringStatus;
-
- public function setFilteringCount($filteringCount)
- {
- $this->filteringCount = $filteringCount;
- }
-
- public function getFilteringCount()
- {
- return $this->filteringCount;
- }
-
- public function setFilteringStatus($filteringStatus)
- {
- $this->filteringStatus = $filteringStatus;
- }
-
- public function getFilteringStatus()
- {
- return $this->filteringStatus;
- }
-}
-
-class Google_Service_Adexchangebuyer_CreativesList extends Google_Collection
-{
- protected $itemsType = 'Google_Service_Adexchangebuyer_Creative';
- protected $itemsDataType = 'array';
- public $kind;
- public $nextPageToken;
-
- public function setItems($items)
- {
- $this->items = $items;
- }
-
- public function getItems()
- {
- return $this->items;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
-
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-}
-
-class Google_Service_Adexchangebuyer_DirectDeal extends Google_Model
-{
- public $accountId;
- public $advertiser;
- public $currencyCode;
- public $endTime;
- public $fixedCpm;
- public $id;
- public $kind;
- public $privateExchangeMinCpm;
- public $sellerNetwork;
- public $startTime;
-
- public function setAccountId($accountId)
- {
- $this->accountId = $accountId;
- }
-
- public function getAccountId()
- {
- return $this->accountId;
- }
-
- public function setAdvertiser($advertiser)
- {
- $this->advertiser = $advertiser;
- }
-
- public function getAdvertiser()
- {
- return $this->advertiser;
- }
-
- public function setCurrencyCode($currencyCode)
- {
- $this->currencyCode = $currencyCode;
- }
-
- public function getCurrencyCode()
- {
- return $this->currencyCode;
- }
-
- public function setEndTime($endTime)
- {
- $this->endTime = $endTime;
- }
-
- public function getEndTime()
- {
- return $this->endTime;
- }
-
- public function setFixedCpm($fixedCpm)
- {
- $this->fixedCpm = $fixedCpm;
- }
-
- public function getFixedCpm()
- {
- return $this->fixedCpm;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setPrivateExchangeMinCpm($privateExchangeMinCpm)
- {
- $this->privateExchangeMinCpm = $privateExchangeMinCpm;
- }
-
- public function getPrivateExchangeMinCpm()
- {
- return $this->privateExchangeMinCpm;
- }
-
- public function setSellerNetwork($sellerNetwork)
- {
- $this->sellerNetwork = $sellerNetwork;
- }
-
- public function getSellerNetwork()
- {
- return $this->sellerNetwork;
- }
-
- public function setStartTime($startTime)
- {
- $this->startTime = $startTime;
- }
-
- public function getStartTime()
- {
- return $this->startTime;
- }
-}
-
-class Google_Service_Adexchangebuyer_DirectDealsList extends Google_Collection
-{
- protected $directDealsType = 'Google_Service_Adexchangebuyer_DirectDeal';
- protected $directDealsDataType = 'array';
- public $kind;
-
- public function setDirectDeals($directDeals)
- {
- $this->directDeals = $directDeals;
- }
-
- public function getDirectDeals()
- {
- return $this->directDeals;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-}
-
-class Google_Service_Adexchangebuyer_PerformanceReport extends Google_Collection
-{
- public $calloutStatusRate;
- public $cookieMatcherStatusRate;
- public $creativeStatusRate;
- public $hostedMatchStatusRate;
- public $kind;
- public $latency50thPercentile;
- public $latency85thPercentile;
- public $latency95thPercentile;
- public $noQuotaInRegion;
- public $outOfQuota;
- public $pixelMatchRequests;
- public $pixelMatchResponses;
- public $quotaConfiguredLimit;
- public $quotaThrottledLimit;
- public $region;
- public $timestamp;
-
- public function setCalloutStatusRate($calloutStatusRate)
- {
- $this->calloutStatusRate = $calloutStatusRate;
- }
-
- public function getCalloutStatusRate()
- {
- return $this->calloutStatusRate;
- }
-
- public function setCookieMatcherStatusRate($cookieMatcherStatusRate)
- {
- $this->cookieMatcherStatusRate = $cookieMatcherStatusRate;
- }
-
- public function getCookieMatcherStatusRate()
- {
- return $this->cookieMatcherStatusRate;
- }
-
- public function setCreativeStatusRate($creativeStatusRate)
- {
- $this->creativeStatusRate = $creativeStatusRate;
- }
-
- public function getCreativeStatusRate()
- {
- return $this->creativeStatusRate;
- }
-
- public function setHostedMatchStatusRate($hostedMatchStatusRate)
- {
- $this->hostedMatchStatusRate = $hostedMatchStatusRate;
- }
-
- public function getHostedMatchStatusRate()
- {
- return $this->hostedMatchStatusRate;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setLatency50thPercentile($latency50thPercentile)
- {
- $this->latency50thPercentile = $latency50thPercentile;
- }
-
- public function getLatency50thPercentile()
- {
- return $this->latency50thPercentile;
- }
-
- public function setLatency85thPercentile($latency85thPercentile)
- {
- $this->latency85thPercentile = $latency85thPercentile;
- }
-
- public function getLatency85thPercentile()
- {
- return $this->latency85thPercentile;
- }
-
- public function setLatency95thPercentile($latency95thPercentile)
- {
- $this->latency95thPercentile = $latency95thPercentile;
- }
-
- public function getLatency95thPercentile()
- {
- return $this->latency95thPercentile;
- }
-
- public function setNoQuotaInRegion($noQuotaInRegion)
- {
- $this->noQuotaInRegion = $noQuotaInRegion;
- }
-
- public function getNoQuotaInRegion()
- {
- return $this->noQuotaInRegion;
- }
-
- public function setOutOfQuota($outOfQuota)
- {
- $this->outOfQuota = $outOfQuota;
- }
-
- public function getOutOfQuota()
- {
- return $this->outOfQuota;
- }
-
- public function setPixelMatchRequests($pixelMatchRequests)
- {
- $this->pixelMatchRequests = $pixelMatchRequests;
- }
-
- public function getPixelMatchRequests()
- {
- return $this->pixelMatchRequests;
- }
-
- public function setPixelMatchResponses($pixelMatchResponses)
- {
- $this->pixelMatchResponses = $pixelMatchResponses;
- }
-
- public function getPixelMatchResponses()
- {
- return $this->pixelMatchResponses;
- }
-
- public function setQuotaConfiguredLimit($quotaConfiguredLimit)
- {
- $this->quotaConfiguredLimit = $quotaConfiguredLimit;
- }
-
- public function getQuotaConfiguredLimit()
- {
- return $this->quotaConfiguredLimit;
- }
-
- public function setQuotaThrottledLimit($quotaThrottledLimit)
- {
- $this->quotaThrottledLimit = $quotaThrottledLimit;
- }
-
- public function getQuotaThrottledLimit()
- {
- return $this->quotaThrottledLimit;
- }
-
- public function setRegion($region)
- {
- $this->region = $region;
- }
-
- public function getRegion()
- {
- return $this->region;
- }
-
- public function setTimestamp($timestamp)
- {
- $this->timestamp = $timestamp;
- }
-
- public function getTimestamp()
- {
- return $this->timestamp;
- }
-}
-
-class Google_Service_Adexchangebuyer_PerformanceReportList extends Google_Collection
-{
- public $kind;
- protected $performanceReportType = 'Google_Service_Adexchangebuyer_PerformanceReport';
- protected $performanceReportDataType = 'array';
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setPerformanceReport($performanceReport)
- {
- $this->performanceReport = $performanceReport;
- }
-
- public function getPerformanceReport()
- {
- return $this->performanceReport;
- }
-}
From 1382c80c80cbd19d13f96c3613c995321ab66414 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
+ * $youtubeService = new Google_Service_YouTube(...);
+ * $i18nLanguage = $youtubeService->i18nLanguage;
+ *
+ */
+class Google_Service_YouTube_I18nLanguage_Resource extends Google_Service_Resource
+{
+
+ /**
+ * (i18nLanguage.listI18nLanguage)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string hl
+ * The hl parameter specifies the language that should be used for text values in the API response.
+ * @return Google_Service_YouTube_I18nLanguageListResponse
+ */
+ public function listI18nLanguage($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_YouTube_I18nLanguageListResponse");
+ }
+}
+
+/**
+ * The "i18nRegion" collection of methods.
+ * Typical usage is:
+ *
+ * $youtubeService = new Google_Service_YouTube(...);
+ * $i18nRegion = $youtubeService->i18nRegion;
+ *
+ */
+class Google_Service_YouTube_I18nRegion_Resource extends Google_Service_Resource
+{
+
+ /**
+ * (i18nRegion.listI18nRegion)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string hl
+ * The hl parameter specifies the language that should be used for text values in the API response.
+ * @return Google_Service_YouTube_I18nRegionListResponse
+ */
+ public function listI18nRegion($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_YouTube_I18nRegionListResponse");
+ }
+}
+
/**
* The "liveBroadcasts" collection of methods.
* Typical usage is:
@@ -5082,6 +5178,276 @@ public function getTitle()
}
}
+class Google_Service_YouTube_I18nLanguage extends Google_Model
+{
+ public $etag;
+ public $id;
+ public $kind;
+ protected $snippetType = 'Google_Service_YouTube_I18nLanguageSnippet';
+ protected $snippetDataType = '';
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setSnippet(Google_Service_YouTube_I18nLanguageSnippet $snippet)
+ {
+ $this->snippet = $snippet;
+ }
+
+ public function getSnippet()
+ {
+ return $this->snippet;
+ }
+}
+
+class Google_Service_YouTube_I18nLanguageListResponse extends Google_Collection
+{
+ public $etag;
+ public $eventId;
+ protected $itemsType = 'Google_Service_YouTube_I18nLanguage';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $visitorId;
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
+ public function setEventId($eventId)
+ {
+ $this->eventId = $eventId;
+ }
+
+ public function getEventId()
+ {
+ return $this->eventId;
+ }
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setVisitorId($visitorId)
+ {
+ $this->visitorId = $visitorId;
+ }
+
+ public function getVisitorId()
+ {
+ return $this->visitorId;
+ }
+}
+
+class Google_Service_YouTube_I18nLanguageSnippet extends Google_Model
+{
+ public $hl;
+ public $name;
+
+ public function setHl($hl)
+ {
+ $this->hl = $hl;
+ }
+
+ public function getHl()
+ {
+ return $this->hl;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Google_Service_YouTube_I18nRegion extends Google_Model
+{
+ public $etag;
+ public $id;
+ public $kind;
+ protected $snippetType = 'Google_Service_YouTube_I18nRegionSnippet';
+ protected $snippetDataType = '';
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setSnippet(Google_Service_YouTube_I18nRegionSnippet $snippet)
+ {
+ $this->snippet = $snippet;
+ }
+
+ public function getSnippet()
+ {
+ return $this->snippet;
+ }
+}
+
+class Google_Service_YouTube_I18nRegionListResponse extends Google_Collection
+{
+ public $etag;
+ public $eventId;
+ protected $itemsType = 'Google_Service_YouTube_I18nRegion';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $visitorId;
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
+ public function setEventId($eventId)
+ {
+ $this->eventId = $eventId;
+ }
+
+ public function getEventId()
+ {
+ return $this->eventId;
+ }
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setVisitorId($visitorId)
+ {
+ $this->visitorId = $visitorId;
+ }
+
+ public function getVisitorId()
+ {
+ return $this->visitorId;
+ }
+}
+
+class Google_Service_YouTube_I18nRegionSnippet extends Google_Model
+{
+ public $gl;
+ public $name;
+
+ public function setGl($gl)
+ {
+ $this->gl = $gl;
+ }
+
+ public function getGl()
+ {
+ return $this->gl;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
class Google_Service_YouTube_ImageSettings extends Google_Model
{
protected $backgroundImageUrlType = 'Google_Service_YouTube_LocalizedProperty';
@@ -9400,6 +9766,7 @@ class Google_Service_YouTube_VideoStatus extends Google_Model
public $license;
public $privacyStatus;
public $publicStatsViewable;
+ public $publishAt;
public $rejectionReason;
public $uploadStatus;
@@ -9453,6 +9820,16 @@ public function getPublicStatsViewable()
return $this->publicStatsViewable;
}
+ public function setPublishAt($publishAt)
+ {
+ $this->publishAt = $publishAt;
+ }
+
+ public function getPublishAt()
+ {
+ return $this->publishAt;
+ }
+
public function setRejectionReason($rejectionReason)
{
$this->rejectionReason = $rejectionReason;
From 06ed423db9b5f96e628ed7a5c8c3b2e078ec4045 Mon Sep 17 00:00:00 2001
From: Michael Stillwell + * For more information about this service, see the API + * Documentation + *
+ * + * @author Google, Inc. + */ +class Google_Service_Mapsengine extends Google_Service +{ + /** View and manage your Google Maps Engine data. */ + const MAPSENGINE = "https://www.googleapis.com/auth/mapsengine"; + /** View your Google Maps Engine data. */ + const MAPSENGINE_READONLY = "https://www.googleapis.com/auth/mapsengine.readonly"; + + public $assets; + public $assets_parents; + public $layers; + public $layers_parents; + public $maps; + public $projects; + public $rasterCollections; + public $rasterCollections_parents; + public $rasterCollections_rasters; + public $rasters; + public $rasters_files; + public $rasters_parents; + public $tables; + public $tables_features; + public $tables_files; + public $tables_parents; + + + /** + * Constructs the internal representation of the Mapsengine service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->servicePath = 'mapsengine/v1/'; + $this->version = 'v1'; + $this->serviceName = 'mapsengine'; + + $this->assets = new Google_Service_Mapsengine_Assets_Resource( + $this, + $this->serviceName, + 'assets', + array( + 'methods' => array( + 'get' => array( + 'path' => 'assets/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'assets', + 'httpMethod' => 'GET', + 'parameters' => array( + 'modifiedAfter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'createdAfter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projectId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'creatorEmail' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'bbox' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'modifiedBefore' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'createdBefore' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'type' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->assets_parents = new Google_Service_Mapsengine_AssetsParents_Resource( + $this, + $this->serviceName, + 'parents', + array( + 'methods' => array( + 'list' => array( + 'path' => 'assets/{id}/parents', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->layers = new Google_Service_Mapsengine_Layers_Resource( + $this, + $this->serviceName, + 'layers', + array( + 'methods' => array( + 'get' => array( + 'path' => 'layers/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'version' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'layers', + 'httpMethod' => 'GET', + 'parameters' => array( + 'modifiedAfter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'createdAfter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projectId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'creatorEmail' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'bbox' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'modifiedBefore' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'createdBefore' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->layers_parents = new Google_Service_Mapsengine_LayersParents_Resource( + $this, + $this->serviceName, + 'parents', + array( + 'methods' => array( + 'list' => array( + 'path' => 'layers/{id}/parents', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->maps = new Google_Service_Mapsengine_Maps_Resource( + $this, + $this->serviceName, + 'maps', + array( + 'methods' => array( + 'get' => array( + 'path' => 'maps/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'version' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'maps', + 'httpMethod' => 'GET', + 'parameters' => array( + 'modifiedAfter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'createdAfter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projectId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'creatorEmail' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'bbox' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'modifiedBefore' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'createdBefore' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->projects = new Google_Service_Mapsengine_Projects_Resource( + $this, + $this->serviceName, + 'projects', + array( + 'methods' => array( + 'list' => array( + 'path' => 'projects', + 'httpMethod' => 'GET', + 'parameters' => array(), + ), + ) + ) + ); + $this->rasterCollections = new Google_Service_Mapsengine_RasterCollections_Resource( + $this, + $this->serviceName, + 'rasterCollections', + array( + 'methods' => array( + 'get' => array( + 'path' => 'rasterCollections/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'rasterCollections', + 'httpMethod' => 'GET', + 'parameters' => array( + 'modifiedAfter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'createdAfter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projectId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'creatorEmail' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'bbox' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'modifiedBefore' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'createdBefore' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->rasterCollections_parents = new Google_Service_Mapsengine_RasterCollectionsParents_Resource( + $this, + $this->serviceName, + 'parents', + array( + 'methods' => array( + 'list' => array( + 'path' => 'rasterCollections/{id}/parents', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->rasterCollections_rasters = new Google_Service_Mapsengine_RasterCollectionsRasters_Resource( + $this, + $this->serviceName, + 'rasters', + array( + 'methods' => array( + 'list' => array( + 'path' => 'rasterCollections/{id}/rasters', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'modifiedAfter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'createdAfter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'creatorEmail' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'bbox' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'modifiedBefore' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'createdBefore' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->rasters = new Google_Service_Mapsengine_Rasters_Resource( + $this, + $this->serviceName, + 'rasters', + array( + 'methods' => array( + 'get' => array( + 'path' => 'rasters/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'upload' => array( + 'path' => 'rasters/upload', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->rasters_files = new Google_Service_Mapsengine_RastersFiles_Resource( + $this, + $this->serviceName, + 'files', + array( + 'methods' => array( + 'insert' => array( + 'path' => 'rasters/{id}/files', + 'httpMethod' => 'POST', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filename' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->rasters_parents = new Google_Service_Mapsengine_RastersParents_Resource( + $this, + $this->serviceName, + 'parents', + array( + 'methods' => array( + 'list' => array( + 'path' => 'rasters/{id}/parents', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->tables = new Google_Service_Mapsengine_Tables_Resource( + $this, + $this->serviceName, + 'tables', + array( + 'methods' => array( + 'create' => array( + 'path' => 'tables', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'get' => array( + 'path' => 'tables/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'version' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'tables', + 'httpMethod' => 'GET', + 'parameters' => array( + 'modifiedAfter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'createdAfter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projectId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'creatorEmail' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'bbox' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'modifiedBefore' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'createdBefore' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'upload' => array( + 'path' => 'tables/upload', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->tables_features = new Google_Service_Mapsengine_TablesFeatures_Resource( + $this, + $this->serviceName, + 'features', + array( + 'methods' => array( + 'batchDelete' => array( + 'path' => 'tables/{id}/features/batchDelete', + 'httpMethod' => 'POST', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'batchInsert' => array( + 'path' => 'tables/{id}/features/batchInsert', + 'httpMethod' => 'POST', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'batchPatch' => array( + 'path' => 'tables/{id}/features/batchPatch', + 'httpMethod' => 'POST', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'tables/{tableId}/features/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'version' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'select' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'tables/{id}/features', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'intersects' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'version' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'limit' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'include' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'where' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'select' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->tables_files = new Google_Service_Mapsengine_TablesFiles_Resource( + $this, + $this->serviceName, + 'files', + array( + 'methods' => array( + 'insert' => array( + 'path' => 'tables/{id}/files', + 'httpMethod' => 'POST', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filename' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->tables_parents = new Google_Service_Mapsengine_TablesParents_Resource( + $this, + $this->serviceName, + 'parents', + array( + 'methods' => array( + 'list' => array( + 'path' => 'tables/{id}/parents', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "assets" collection of methods. + * Typical usage is: + *
+ * $mapsengineService = new Google_Service_Mapsengine(...);
+ * $assets = $mapsengineService->assets;
+ *
+ */
+class Google_Service_Mapsengine_Assets_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Return metadata for a particular asset. (assets.get)
+ *
+ * @param string $id
+ * The ID of the asset.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Mapsengine_MapsengineResource
+ */
+ public function get($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Mapsengine_MapsengineResource");
+ }
+ /**
+ * Return all assets readable by the current user. (assets.listAssets)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string modifiedAfter
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been modified at or after this time.
+ * @opt_param string createdAfter
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or after this time.
+ * @opt_param string projectId
+ * The ID of a Maps Engine project, used to filter the response. To list all available projects
+ * with their IDs, send a Projects: list request. You can also find your project ID as the value of
+ * the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
+ * @opt_param string maxResults
+ * The maximum number of items to include in a single response page. The maximum supported value is
+ * 100.
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string creatorEmail
+ * An email address representing a user. Returned assets that have been created by the user
+ * associated with the provided email address.
+ * @opt_param string bbox
+ * A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this
+ * bounding box will be returned.
+ * @opt_param string modifiedBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been modified at or before this time.
+ * @opt_param string createdBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or before this time.
+ * @opt_param string type
+ * An asset type restriction. If set, only resources of this type will be returned.
+ * @return Google_Service_Mapsengine_ResourcesListResponse
+ */
+ public function listAssets($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Mapsengine_ResourcesListResponse");
+ }
+}
+
+/**
+ * The "parents" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_Mapsengine(...);
+ * $parents = $mapsengineService->parents;
+ *
+ */
+class Google_Service_Mapsengine_AssetsParents_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Return all parent ids of the specified asset. (parents.listAssetsParents)
+ *
+ * @param string $id
+ * The ID of the asset whose parents will be listed.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string maxResults
+ * The maximum number of items to include in a single response page. The maximum supported value is
+ * 50.
+ * @return Google_Service_Mapsengine_ParentsListResponse
+ */
+ public function listAssetsParents($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Mapsengine_ParentsListResponse");
+ }
+}
+
+/**
+ * The "layers" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_Mapsengine(...);
+ * $layers = $mapsengineService->layers;
+ *
+ */
+class Google_Service_Mapsengine_Layers_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Return metadata for a particular layer. (layers.get)
+ *
+ * @param string $id
+ * The ID of the layer.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string version
+ *
+ * @return Google_Service_Mapsengine_Layer
+ */
+ public function get($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Mapsengine_Layer");
+ }
+ /**
+ * Return all layers readable by the current user. (layers.listLayers)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string modifiedAfter
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been modified at or after this time.
+ * @opt_param string createdAfter
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or after this time.
+ * @opt_param string projectId
+ * The ID of a Maps Engine project, used to filter the response. To list all available projects
+ * with their IDs, send a Projects: list request. You can also find your project ID as the value of
+ * the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
+ * @opt_param string maxResults
+ * The maximum number of items to include in a single response page. The maximum supported value is
+ * 100.
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string creatorEmail
+ * An email address representing a user. Returned assets that have been created by the user
+ * associated with the provided email address.
+ * @opt_param string bbox
+ * A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this
+ * bounding box will be returned.
+ * @opt_param string modifiedBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been modified at or before this time.
+ * @opt_param string createdBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or before this time.
+ * @return Google_Service_Mapsengine_LayersListResponse
+ */
+ public function listLayers($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Mapsengine_LayersListResponse");
+ }
+}
+
+/**
+ * The "parents" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_Mapsengine(...);
+ * $parents = $mapsengineService->parents;
+ *
+ */
+class Google_Service_Mapsengine_LayersParents_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Return all parent ids of the specified layer. (parents.listLayersParents)
+ *
+ * @param string $id
+ * The ID of the layer whose parents will be listed.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string maxResults
+ * The maximum number of items to include in a single response page. The maximum supported value is
+ * 50.
+ * @return Google_Service_Mapsengine_ParentsListResponse
+ */
+ public function listLayersParents($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Mapsengine_ParentsListResponse");
+ }
+}
+
+/**
+ * The "maps" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_Mapsengine(...);
+ * $maps = $mapsengineService->maps;
+ *
+ */
+class Google_Service_Mapsengine_Maps_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Return metadata for a particular map. (maps.get)
+ *
+ * @param string $id
+ * The ID of the map.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string version
+ *
+ * @return Google_Service_Mapsengine_Map
+ */
+ public function get($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Mapsengine_Map");
+ }
+ /**
+ * Return all maps readable by the current user. (maps.listMaps)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string modifiedAfter
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been modified at or after this time.
+ * @opt_param string createdAfter
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or after this time.
+ * @opt_param string projectId
+ * The ID of a Maps Engine project, used to filter the response. To list all available projects
+ * with their IDs, send a Projects: list request. You can also find your project ID as the value of
+ * the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
+ * @opt_param string maxResults
+ * The maximum number of items to include in a single response page. The maximum supported value is
+ * 100.
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string creatorEmail
+ * An email address representing a user. Returned assets that have been created by the user
+ * associated with the provided email address.
+ * @opt_param string bbox
+ * A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this
+ * bounding box will be returned.
+ * @opt_param string modifiedBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been modified at or before this time.
+ * @opt_param string createdBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or before this time.
+ * @return Google_Service_Mapsengine_MapsListResponse
+ */
+ public function listMaps($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Mapsengine_MapsListResponse");
+ }
+}
+
+/**
+ * The "projects" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_Mapsengine(...);
+ * $projects = $mapsengineService->projects;
+ *
+ */
+class Google_Service_Mapsengine_Projects_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Return all projects readable by the current user. (projects.listProjects)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Mapsengine_ProjectsListResponse
+ */
+ public function listProjects($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Mapsengine_ProjectsListResponse");
+ }
+}
+
+/**
+ * The "rasterCollections" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_Mapsengine(...);
+ * $rasterCollections = $mapsengineService->rasterCollections;
+ *
+ */
+class Google_Service_Mapsengine_RasterCollections_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Return metadata for a particular raster collection. (rasterCollections.get)
+ *
+ * @param string $id
+ * The ID of the raster collection.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Mapsengine_RasterCollection
+ */
+ public function get($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Mapsengine_RasterCollection");
+ }
+ /**
+ * Return all raster collections readable by the current user.
+ * (rasterCollections.listRasterCollections)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string modifiedAfter
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been modified at or after this time.
+ * @opt_param string createdAfter
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or after this time.
+ * @opt_param string projectId
+ * The ID of a Maps Engine project, used to filter the response. To list all available projects
+ * with their IDs, send a Projects: list request. You can also find your project ID as the value of
+ * the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
+ * @opt_param string maxResults
+ * The maximum number of items to include in a single response page. The maximum supported value is
+ * 100.
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string creatorEmail
+ * An email address representing a user. Returned assets that have been created by the user
+ * associated with the provided email address.
+ * @opt_param string bbox
+ * A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this
+ * bounding box will be returned.
+ * @opt_param string modifiedBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been modified at or before this time.
+ * @opt_param string createdBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or before this time.
+ * @return Google_Service_Mapsengine_RastercollectionsListResponse
+ */
+ public function listRasterCollections($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Mapsengine_RastercollectionsListResponse");
+ }
+}
+
+/**
+ * The "parents" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_Mapsengine(...);
+ * $parents = $mapsengineService->parents;
+ *
+ */
+class Google_Service_Mapsengine_RasterCollectionsParents_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Return all parent ids of the specified raster collection.
+ * (parents.listRasterCollectionsParents)
+ *
+ * @param string $id
+ * The ID of the raster collection whose parents will be listed.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string maxResults
+ * The maximum number of items to include in a single response page. The maximum supported value is
+ * 50.
+ * @return Google_Service_Mapsengine_ParentsListResponse
+ */
+ public function listRasterCollectionsParents($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Mapsengine_ParentsListResponse");
+ }
+}
+/**
+ * The "rasters" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_Mapsengine(...);
+ * $rasters = $mapsengineService->rasters;
+ *
+ */
+class Google_Service_Mapsengine_RasterCollectionsRasters_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Return all rasters within a raster collection.
+ * (rasters.listRasterCollectionsRasters)
+ *
+ * @param string $id
+ * The ID of the raster collection to which these rasters belong.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string modifiedAfter
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been modified at or after this time.
+ * @opt_param string createdAfter
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or after this time.
+ * @opt_param string maxResults
+ * The maximum number of items to include in a single response page. The maximum supported value is
+ * 100.
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string creatorEmail
+ * An email address representing a user. Returned assets that have been created by the user
+ * associated with the provided email address.
+ * @opt_param string bbox
+ * A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this
+ * bounding box will be returned.
+ * @opt_param string modifiedBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been modified at or before this time.
+ * @opt_param string createdBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or before this time.
+ * @return Google_Service_Mapsengine_RastersListResponse
+ */
+ public function listRasterCollectionsRasters($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Mapsengine_RastersListResponse");
+ }
+}
+
+/**
+ * The "rasters" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_Mapsengine(...);
+ * $rasters = $mapsengineService->rasters;
+ *
+ */
+class Google_Service_Mapsengine_Rasters_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Return metadata for a single raster. (rasters.get)
+ *
+ * @param string $id
+ * The ID of the raster.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Mapsengine_Image
+ */
+ public function get($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Mapsengine_Image");
+ }
+ /**
+ * Create a skeleton raster asset for upload. (rasters.upload)
+ *
+ * @param Google_Image $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Mapsengine_Image
+ */
+ public function upload(Google_Service_Mapsengine_Image $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('upload', array($params), "Google_Service_Mapsengine_Image");
+ }
+}
+
+/**
+ * The "files" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_Mapsengine(...);
+ * $files = $mapsengineService->files;
+ *
+ */
+class Google_Service_Mapsengine_RastersFiles_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Upload a file to a raster asset. (files.insert)
+ *
+ * @param string $id
+ * The ID of the raster asset.
+ * @param string $filename
+ * The file name of this uploaded file.
+ * @param array $optParams Optional parameters.
+ */
+ public function insert($id, $filename, $optParams = array())
+ {
+ $params = array('id' => $id, 'filename' => $filename);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params));
+ }
+}
+/**
+ * The "parents" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_Mapsengine(...);
+ * $parents = $mapsengineService->parents;
+ *
+ */
+class Google_Service_Mapsengine_RastersParents_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Return all parent ids of the specified rasters. (parents.listRastersParents)
+ *
+ * @param string $id
+ * The ID of the rasters whose parents will be listed.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string maxResults
+ * The maximum number of items to include in a single response page. The maximum supported value is
+ * 50.
+ * @return Google_Service_Mapsengine_ParentsListResponse
+ */
+ public function listRastersParents($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Mapsengine_ParentsListResponse");
+ }
+}
+
+/**
+ * The "tables" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_Mapsengine(...);
+ * $tables = $mapsengineService->tables;
+ *
+ */
+class Google_Service_Mapsengine_Tables_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Create a table asset. (tables.create)
+ *
+ * @param Google_Table $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Mapsengine_Table
+ */
+ public function create(Google_Service_Mapsengine_Table $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Mapsengine_Table");
+ }
+ /**
+ * Return metadata for a particular table, including the schema. (tables.get)
+ *
+ * @param string $id
+ * The ID of the table.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string version
+ *
+ * @return Google_Service_Mapsengine_Table
+ */
+ public function get($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Mapsengine_Table");
+ }
+ /**
+ * Return all tables readable by the current user. (tables.listTables)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string modifiedAfter
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been modified at or after this time.
+ * @opt_param string createdAfter
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or after this time.
+ * @opt_param string projectId
+ * The ID of a Maps Engine project, used to filter the response. To list all available projects
+ * with their IDs, send a Projects: list request. You can also find your project ID as the value of
+ * the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
+ * @opt_param string maxResults
+ * The maximum number of items to include in a single response page. The maximum supported value is
+ * 100.
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string creatorEmail
+ * An email address representing a user. Returned assets that have been created by the user
+ * associated with the provided email address.
+ * @opt_param string bbox
+ * A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this
+ * bounding box will be returned.
+ * @opt_param string modifiedBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been modified at or before this time.
+ * @opt_param string createdBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or before this time.
+ * @return Google_Service_Mapsengine_TablesListResponse
+ */
+ public function listTables($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Mapsengine_TablesListResponse");
+ }
+ /**
+ * Create a placeholder table asset to which table files can be uploaded. Once
+ * the placeholder has been created, files are uploaded to the
+ * https://www.googleapis.com/upload/mapsengine/v1/tables/table_id/files
+ * endpoint. See Table Upload in the Developer's Guide or Table.files: insert in
+ * the reference documentation for more information. (tables.upload)
+ *
+ * @param Google_Table $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Mapsengine_Table
+ */
+ public function upload(Google_Service_Mapsengine_Table $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('upload', array($params), "Google_Service_Mapsengine_Table");
+ }
+}
+
+/**
+ * The "features" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_Mapsengine(...);
+ * $features = $mapsengineService->features;
+ *
+ */
+class Google_Service_Mapsengine_TablesFeatures_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Delete all features matching the given IDs. (features.batchDelete)
+ *
+ * @param string $id
+ * The ID of the table that contains the features to be deleted.
+ * @param Google_FeaturesBatchDeleteRequest $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function batchDelete($id, Google_Service_Mapsengine_FeaturesBatchDeleteRequest $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batchDelete', array($params));
+ }
+ /**
+ * Append features to an existing table.
+ *
+ * A single batchInsert request can create:
+ *
+ * - Up to 50 features. - A combined total of 10 000 vertices. Feature limits
+ * are documented in the Supported data formats and limits article of the Google
+ * Maps Engine help center. Note that free and paid accounts have different
+ * limits.
+ *
+ * For more information about inserting features, read Creating features in the
+ * Google Maps Engine developer's guide. (features.batchInsert)
+ *
+ * @param string $id
+ * The ID of the table to append the features to.
+ * @param Google_FeaturesBatchInsertRequest $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function batchInsert($id, Google_Service_Mapsengine_FeaturesBatchInsertRequest $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batchInsert', array($params));
+ }
+ /**
+ * Update the supplied features.
+ *
+ * A single batchPatch request can update:
+ *
+ * - Up to 50 features. - A combined total of 10 000 vertices. Feature limits
+ * are documented in the Supported data formats and limits article of the Google
+ * Maps Engine help center. Note that free and paid accounts have different
+ * limits.
+ *
+ * Feature updates use HTTP PATCH semantics:
+ *
+ * - A supplied value replaces an existing value (if any) in that field. -
+ * Omitted fields remain unchanged. - Complex values in geometries and
+ * properties must be replaced as atomic units. For example, providing just the
+ * coordinates of a geometry is not allowed; the complete geometry, including
+ * type, must be supplied. - Setting a property's value to null deletes that
+ * property. For more information about updating features, read Updating
+ * features in the Google Maps Engine developer's guide. (features.batchPatch)
+ *
+ * @param string $id
+ * The ID of the table containing the features to be patched.
+ * @param Google_FeaturesBatchPatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function batchPatch($id, Google_Service_Mapsengine_FeaturesBatchPatchRequest $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batchPatch', array($params));
+ }
+ /**
+ * Return a single feature, given its ID. (features.get)
+ *
+ * @param string $tableId
+ * The ID of the table.
+ * @param string $id
+ * The ID of the feature to get.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string version
+ * The table version to access. See Accessing Public Data for information.
+ * @opt_param string select
+ * A SQL-like projection clause used to specify returned properties. If this parameter is not
+ * included, all properties are returned.
+ * @return Google_Service_Mapsengine_Feature
+ */
+ public function get($tableId, $id, $optParams = array())
+ {
+ $params = array('tableId' => $tableId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Mapsengine_Feature");
+ }
+ /**
+ * Return all features readable by the current user.
+ * (features.listTablesFeatures)
+ *
+ * @param string $id
+ * The ID of the table to which these features belong.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string orderBy
+ * An SQL-like order by clause used to sort results. If this parameter is not included, the order
+ * of features is undefined.
+ * @opt_param string intersects
+ * A geometry literal that specifies the spatial restriction of the query.
+ * @opt_param string maxResults
+ * The maximum number of items to include in the response, used for paging.
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string version
+ * The table version to access. See Accessing Public Data for information.
+ * @opt_param string limit
+ * The total number of features to return from the query, irrespective of the number of pages.
+ * @opt_param string include
+ * A comma separated list of optional data to include. Optional data available: schema.
+ * @opt_param string where
+ * An SQL-like predicate used to filter results.
+ * @opt_param string select
+ * A SQL-like projection clause used to specify returned properties. If this parameter is not
+ * included, all properties are returned.
+ * @return Google_Service_Mapsengine_FeaturesListResponse
+ */
+ public function listTablesFeatures($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Mapsengine_FeaturesListResponse");
+ }
+}
+/**
+ * The "files" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_Mapsengine(...);
+ * $files = $mapsengineService->files;
+ *
+ */
+class Google_Service_Mapsengine_TablesFiles_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Upload a file to a placeholder table asset. See Table Upload in the
+ * Developer's Guide for more information. Supported file types are listed in
+ * the Supported data formats and limits article of the Google Maps Engine help
+ * center. (files.insert)
+ *
+ * @param string $id
+ * The ID of the table asset.
+ * @param string $filename
+ * The file name of this uploaded file.
+ * @param array $optParams Optional parameters.
+ */
+ public function insert($id, $filename, $optParams = array())
+ {
+ $params = array('id' => $id, 'filename' => $filename);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params));
+ }
+}
+/**
+ * The "parents" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_Mapsengine(...);
+ * $parents = $mapsengineService->parents;
+ *
+ */
+class Google_Service_Mapsengine_TablesParents_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Return all parent ids of the specified table. (parents.listTablesParents)
+ *
+ * @param string $id
+ * The ID of the table whose parents will be listed.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string maxResults
+ * The maximum number of items to include in a single response page. The maximum supported value is
+ * 50.
+ * @return Google_Service_Mapsengine_ParentsListResponse
+ */
+ public function listTablesParents($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Mapsengine_ParentsListResponse");
+ }
+}
+
+
+
+
+class Google_Service_Mapsengine_AcquisitionTime extends Google_Model
+{
+ public $end;
+ public $precision;
+ public $start;
+
+ public function setEnd($end)
+ {
+ $this->end = $end;
+ }
+
+ public function getEnd()
+ {
+ return $this->end;
+ }
+
+ public function setPrecision($precision)
+ {
+ $this->precision = $precision;
+ }
+
+ public function getPrecision()
+ {
+ return $this->precision;
+ }
+
+ public function setStart($start)
+ {
+ $this->start = $start;
+ }
+
+ public function getStart()
+ {
+ return $this->start;
+ }
+}
+
+class Google_Service_Mapsengine_Datasource extends Google_Model
+{
+ public $id;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+}
+
+class Google_Service_Mapsengine_Feature extends Google_Model
+{
+ protected $geometryType = 'Google_Service_Mapsengine_Geometry';
+ protected $geometryDataType = '';
+ public $properties;
+ public $type;
+
+ public function setGeometry(Google_Service_Mapsengine_Geometry $geometry)
+ {
+ $this->geometry = $geometry;
+ }
+
+ public function getGeometry()
+ {
+ return $this->geometry;
+ }
+
+ public function setProperties($properties)
+ {
+ $this->properties = $properties;
+ }
+
+ public function getProperties()
+ {
+ return $this->properties;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_Mapsengine_FeaturesBatchDeleteRequest extends Google_Collection
+{
+ public $featureIds;
+ public $gxIds;
+
+ public function setFeatureIds($featureIds)
+ {
+ $this->featureIds = $featureIds;
+ }
+
+ public function getFeatureIds()
+ {
+ return $this->featureIds;
+ }
+
+ public function setGxIds($gxIds)
+ {
+ $this->gxIds = $gxIds;
+ }
+
+ public function getGxIds()
+ {
+ return $this->gxIds;
+ }
+}
+
+class Google_Service_Mapsengine_FeaturesBatchInsertRequest extends Google_Collection
+{
+ protected $featuresType = 'Google_Service_Mapsengine_Feature';
+ protected $featuresDataType = 'array';
+
+ public function setFeatures($features)
+ {
+ $this->features = $features;
+ }
+
+ public function getFeatures()
+ {
+ return $this->features;
+ }
+}
+
+class Google_Service_Mapsengine_FeaturesBatchPatchRequest extends Google_Collection
+{
+ protected $featuresType = 'Google_Service_Mapsengine_Feature';
+ protected $featuresDataType = 'array';
+
+ public function setFeatures($features)
+ {
+ $this->features = $features;
+ }
+
+ public function getFeatures()
+ {
+ return $this->features;
+ }
+}
+
+class Google_Service_Mapsengine_FeaturesListResponse extends Google_Collection
+{
+ public $allowedQueriesPerSecond;
+ protected $featuresType = 'Google_Service_Mapsengine_Feature';
+ protected $featuresDataType = 'array';
+ public $nextPageToken;
+ protected $schemaType = 'Google_Service_Mapsengine_Schema';
+ protected $schemaDataType = '';
+ public $type;
+
+ public function setAllowedQueriesPerSecond($allowedQueriesPerSecond)
+ {
+ $this->allowedQueriesPerSecond = $allowedQueriesPerSecond;
+ }
+
+ public function getAllowedQueriesPerSecond()
+ {
+ return $this->allowedQueriesPerSecond;
+ }
+
+ public function setFeatures($features)
+ {
+ $this->features = $features;
+ }
+
+ public function getFeatures()
+ {
+ return $this->features;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setSchema(Google_Service_Mapsengine_Schema $schema)
+ {
+ $this->schema = $schema;
+ }
+
+ public function getSchema()
+ {
+ return $this->schema;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_Mapsengine_Geometry extends Google_Model
+{
+ public $type;
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_Mapsengine_GeometryCollection extends Google_Collection
+{
+ protected $geometriesType = 'Google_Service_Mapsengine_Geometry';
+ protected $geometriesDataType = 'array';
+
+ public function setGeometries($geometries)
+ {
+ $this->geometries = $geometries;
+ }
+
+ public function getGeometries()
+ {
+ return $this->geometries;
+ }
+}
+
+class Google_Service_Mapsengine_Image extends Google_Collection
+{
+ protected $acquisitionTimeType = 'Google_Service_Mapsengine_AcquisitionTime';
+ protected $acquisitionTimeDataType = '';
+ public $attribution;
+ public $bbox;
+ public $creationTime;
+ public $description;
+ public $draftAccessList;
+ protected $filesType = 'Google_Service_Mapsengine_MapsengineFile';
+ protected $filesDataType = 'array';
+ public $id;
+ public $lastModifiedTime;
+ public $maskType;
+ public $name;
+ public $processingStatus;
+ public $projectId;
+ public $rasterType;
+ public $tags;
+
+ public function setAcquisitionTime(Google_Service_Mapsengine_AcquisitionTime $acquisitionTime)
+ {
+ $this->acquisitionTime = $acquisitionTime;
+ }
+
+ public function getAcquisitionTime()
+ {
+ return $this->acquisitionTime;
+ }
+
+ public function setAttribution($attribution)
+ {
+ $this->attribution = $attribution;
+ }
+
+ public function getAttribution()
+ {
+ return $this->attribution;
+ }
+
+ public function setBbox($bbox)
+ {
+ $this->bbox = $bbox;
+ }
+
+ public function getBbox()
+ {
+ return $this->bbox;
+ }
+
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setDraftAccessList($draftAccessList)
+ {
+ $this->draftAccessList = $draftAccessList;
+ }
+
+ public function getDraftAccessList()
+ {
+ return $this->draftAccessList;
+ }
+
+ public function setFiles($files)
+ {
+ $this->files = $files;
+ }
+
+ public function getFiles()
+ {
+ return $this->files;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setLastModifiedTime($lastModifiedTime)
+ {
+ $this->lastModifiedTime = $lastModifiedTime;
+ }
+
+ public function getLastModifiedTime()
+ {
+ return $this->lastModifiedTime;
+ }
+
+ public function setMaskType($maskType)
+ {
+ $this->maskType = $maskType;
+ }
+
+ public function getMaskType()
+ {
+ return $this->maskType;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setProcessingStatus($processingStatus)
+ {
+ $this->processingStatus = $processingStatus;
+ }
+
+ public function getProcessingStatus()
+ {
+ return $this->processingStatus;
+ }
+
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+
+ public function setRasterType($rasterType)
+ {
+ $this->rasterType = $rasterType;
+ }
+
+ public function getRasterType()
+ {
+ return $this->rasterType;
+ }
+
+ public function setTags($tags)
+ {
+ $this->tags = $tags;
+ }
+
+ public function getTags()
+ {
+ return $this->tags;
+ }
+}
+
+class Google_Service_Mapsengine_Layer extends Google_Collection
+{
+ public $bbox;
+ public $creationTime;
+ public $datasourceType;
+ protected $datasourcesType = 'Google_Service_Mapsengine_Datasource';
+ protected $datasourcesDataType = 'array';
+ public $description;
+ public $id;
+ public $lastModifiedTime;
+ public $name;
+ public $projectId;
+ public $tags;
+
+ public function setBbox($bbox)
+ {
+ $this->bbox = $bbox;
+ }
+
+ public function getBbox()
+ {
+ return $this->bbox;
+ }
+
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+
+ public function setDatasourceType($datasourceType)
+ {
+ $this->datasourceType = $datasourceType;
+ }
+
+ public function getDatasourceType()
+ {
+ return $this->datasourceType;
+ }
+
+ public function setDatasources($datasources)
+ {
+ $this->datasources = $datasources;
+ }
+
+ public function getDatasources()
+ {
+ return $this->datasources;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setLastModifiedTime($lastModifiedTime)
+ {
+ $this->lastModifiedTime = $lastModifiedTime;
+ }
+
+ public function getLastModifiedTime()
+ {
+ return $this->lastModifiedTime;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+
+ public function setTags($tags)
+ {
+ $this->tags = $tags;
+ }
+
+ public function getTags()
+ {
+ return $this->tags;
+ }
+}
+
+class Google_Service_Mapsengine_LayersListResponse extends Google_Collection
+{
+ protected $layersType = 'Google_Service_Mapsengine_Layer';
+ protected $layersDataType = 'array';
+ public $nextPageToken;
+
+ public function setLayers($layers)
+ {
+ $this->layers = $layers;
+ }
+
+ public function getLayers()
+ {
+ return $this->layers;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Mapsengine_LineString extends Google_Collection
+{
+ public $coordinates;
+
+ public function setCoordinates($coordinates)
+ {
+ $this->coordinates = $coordinates;
+ }
+
+ public function getCoordinates()
+ {
+ return $this->coordinates;
+ }
+}
+
+class Google_Service_Mapsengine_Map extends Google_Collection
+{
+ public $bbox;
+ protected $contentsType = 'Google_Service_Mapsengine_MapItem';
+ protected $contentsDataType = 'array';
+ public $creationTime;
+ public $defaultViewport;
+ public $description;
+ public $id;
+ public $lastModifiedTime;
+ public $name;
+ public $projectId;
+ public $tags;
+ public $versions;
+
+ public function setBbox($bbox)
+ {
+ $this->bbox = $bbox;
+ }
+
+ public function getBbox()
+ {
+ return $this->bbox;
+ }
+
+ public function setContents($contents)
+ {
+ $this->contents = $contents;
+ }
+
+ public function getContents()
+ {
+ return $this->contents;
+ }
+
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+
+ public function setDefaultViewport($defaultViewport)
+ {
+ $this->defaultViewport = $defaultViewport;
+ }
+
+ public function getDefaultViewport()
+ {
+ return $this->defaultViewport;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setLastModifiedTime($lastModifiedTime)
+ {
+ $this->lastModifiedTime = $lastModifiedTime;
+ }
+
+ public function getLastModifiedTime()
+ {
+ return $this->lastModifiedTime;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+
+ public function setTags($tags)
+ {
+ $this->tags = $tags;
+ }
+
+ public function getTags()
+ {
+ return $this->tags;
+ }
+
+ public function setVersions($versions)
+ {
+ $this->versions = $versions;
+ }
+
+ public function getVersions()
+ {
+ return $this->versions;
+ }
+}
+
+class Google_Service_Mapsengine_MapFolder extends Google_Collection
+{
+ protected $contentsType = 'Google_Service_Mapsengine_MapItem';
+ protected $contentsDataType = 'array';
+ public $defaultViewport;
+ public $key;
+ public $name;
+ public $visibility;
+
+ public function setContents($contents)
+ {
+ $this->contents = $contents;
+ }
+
+ public function getContents()
+ {
+ return $this->contents;
+ }
+
+ public function setDefaultViewport($defaultViewport)
+ {
+ $this->defaultViewport = $defaultViewport;
+ }
+
+ public function getDefaultViewport()
+ {
+ return $this->defaultViewport;
+ }
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+
+ public function getKey()
+ {
+ return $this->key;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setVisibility($visibility)
+ {
+ $this->visibility = $visibility;
+ }
+
+ public function getVisibility()
+ {
+ return $this->visibility;
+ }
+}
+
+class Google_Service_Mapsengine_MapItem extends Google_Model
+{
+ public $type;
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_Mapsengine_MapKmlLink extends Google_Model
+{
+ public $defaultViewport;
+ public $kmlUrl;
+ public $name;
+ public $visibility;
+
+ public function setDefaultViewport($defaultViewport)
+ {
+ $this->defaultViewport = $defaultViewport;
+ }
+
+ public function getDefaultViewport()
+ {
+ return $this->defaultViewport;
+ }
+
+ public function setKmlUrl($kmlUrl)
+ {
+ $this->kmlUrl = $kmlUrl;
+ }
+
+ public function getKmlUrl()
+ {
+ return $this->kmlUrl;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setVisibility($visibility)
+ {
+ $this->visibility = $visibility;
+ }
+
+ public function getVisibility()
+ {
+ return $this->visibility;
+ }
+}
+
+class Google_Service_Mapsengine_MapLayer extends Google_Collection
+{
+ public $defaultViewport;
+ public $id;
+ public $key;
+ public $name;
+ public $visibility;
+
+ public function setDefaultViewport($defaultViewport)
+ {
+ $this->defaultViewport = $defaultViewport;
+ }
+
+ public function getDefaultViewport()
+ {
+ return $this->defaultViewport;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+
+ public function getKey()
+ {
+ return $this->key;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setVisibility($visibility)
+ {
+ $this->visibility = $visibility;
+ }
+
+ public function getVisibility()
+ {
+ return $this->visibility;
+ }
+}
+
+class Google_Service_Mapsengine_MapsListResponse extends Google_Collection
+{
+ protected $mapsType = 'Google_Service_Mapsengine_Map';
+ protected $mapsDataType = 'array';
+ public $nextPageToken;
+
+ public function setMaps($maps)
+ {
+ $this->maps = $maps;
+ }
+
+ public function getMaps()
+ {
+ return $this->maps;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Mapsengine_MapsengineFile extends Google_Model
+{
+ public $filename;
+ public $size;
+ public $uploadStatus;
+
+ public function setFilename($filename)
+ {
+ $this->filename = $filename;
+ }
+
+ public function getFilename()
+ {
+ return $this->filename;
+ }
+
+ public function setSize($size)
+ {
+ $this->size = $size;
+ }
+
+ public function getSize()
+ {
+ return $this->size;
+ }
+
+ public function setUploadStatus($uploadStatus)
+ {
+ $this->uploadStatus = $uploadStatus;
+ }
+
+ public function getUploadStatus()
+ {
+ return $this->uploadStatus;
+ }
+}
+
+class Google_Service_Mapsengine_MapsengineResource extends Google_Collection
+{
+ public $bbox;
+ public $creationTime;
+ public $description;
+ public $id;
+ public $lastModifiedTime;
+ public $name;
+ public $projectId;
+ public $resource;
+ public $tags;
+ public $type;
+
+ public function setBbox($bbox)
+ {
+ $this->bbox = $bbox;
+ }
+
+ public function getBbox()
+ {
+ return $this->bbox;
+ }
+
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setLastModifiedTime($lastModifiedTime)
+ {
+ $this->lastModifiedTime = $lastModifiedTime;
+ }
+
+ public function getLastModifiedTime()
+ {
+ return $this->lastModifiedTime;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+
+ public function setResource($resource)
+ {
+ $this->resource = $resource;
+ }
+
+ public function getResource()
+ {
+ return $this->resource;
+ }
+
+ public function setTags($tags)
+ {
+ $this->tags = $tags;
+ }
+
+ public function getTags()
+ {
+ return $this->tags;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_Mapsengine_MultiLineString extends Google_Collection
+{
+ public $coordinates;
+
+ public function setCoordinates($coordinates)
+ {
+ $this->coordinates = $coordinates;
+ }
+
+ public function getCoordinates()
+ {
+ return $this->coordinates;
+ }
+}
+
+class Google_Service_Mapsengine_MultiPoint extends Google_Collection
+{
+ public $coordinates;
+
+ public function setCoordinates($coordinates)
+ {
+ $this->coordinates = $coordinates;
+ }
+
+ public function getCoordinates()
+ {
+ return $this->coordinates;
+ }
+}
+
+class Google_Service_Mapsengine_MultiPolygon extends Google_Collection
+{
+ public $coordinates;
+
+ public function setCoordinates($coordinates)
+ {
+ $this->coordinates = $coordinates;
+ }
+
+ public function getCoordinates()
+ {
+ return $this->coordinates;
+ }
+}
+
+class Google_Service_Mapsengine_Parent extends Google_Model
+{
+ public $id;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+}
+
+class Google_Service_Mapsengine_ParentsListResponse extends Google_Collection
+{
+ public $nextPageToken;
+ protected $parentsType = 'Google_Service_Mapsengine_Parent';
+ protected $parentsDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setParents($parents)
+ {
+ $this->parents = $parents;
+ }
+
+ public function getParents()
+ {
+ return $this->parents;
+ }
+}
+
+class Google_Service_Mapsengine_Point extends Google_Collection
+{
+ public $coordinates;
+
+ public function setCoordinates($coordinates)
+ {
+ $this->coordinates = $coordinates;
+ }
+
+ public function getCoordinates()
+ {
+ return $this->coordinates;
+ }
+}
+
+class Google_Service_Mapsengine_Polygon extends Google_Collection
+{
+ public $coordinates;
+
+ public function setCoordinates($coordinates)
+ {
+ $this->coordinates = $coordinates;
+ }
+
+ public function getCoordinates()
+ {
+ return $this->coordinates;
+ }
+}
+
+class Google_Service_Mapsengine_Project extends Google_Model
+{
+ public $id;
+ public $name;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Google_Service_Mapsengine_ProjectsListResponse extends Google_Collection
+{
+ protected $projectsType = 'Google_Service_Mapsengine_Project';
+ protected $projectsDataType = 'array';
+
+ public function setProjects($projects)
+ {
+ $this->projects = $projects;
+ }
+
+ public function getProjects()
+ {
+ return $this->projects;
+ }
+}
+
+class Google_Service_Mapsengine_Raster extends Google_Collection
+{
+ public $bbox;
+ public $creationTime;
+ public $description;
+ public $id;
+ public $lastModifiedTime;
+ public $name;
+ public $projectId;
+ public $rasterType;
+ public $tags;
+
+ public function setBbox($bbox)
+ {
+ $this->bbox = $bbox;
+ }
+
+ public function getBbox()
+ {
+ return $this->bbox;
+ }
+
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setLastModifiedTime($lastModifiedTime)
+ {
+ $this->lastModifiedTime = $lastModifiedTime;
+ }
+
+ public function getLastModifiedTime()
+ {
+ return $this->lastModifiedTime;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+
+ public function setRasterType($rasterType)
+ {
+ $this->rasterType = $rasterType;
+ }
+
+ public function getRasterType()
+ {
+ return $this->rasterType;
+ }
+
+ public function setTags($tags)
+ {
+ $this->tags = $tags;
+ }
+
+ public function getTags()
+ {
+ return $this->tags;
+ }
+}
+
+class Google_Service_Mapsengine_RasterCollection extends Google_Collection
+{
+ public $bbox;
+ public $creationTime;
+ public $description;
+ public $id;
+ public $lastModifiedTime;
+ public $mosaic;
+ public $name;
+ public $projectId;
+ public $rasterType;
+ public $tags;
+
+ public function setBbox($bbox)
+ {
+ $this->bbox = $bbox;
+ }
+
+ public function getBbox()
+ {
+ return $this->bbox;
+ }
+
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setLastModifiedTime($lastModifiedTime)
+ {
+ $this->lastModifiedTime = $lastModifiedTime;
+ }
+
+ public function getLastModifiedTime()
+ {
+ return $this->lastModifiedTime;
+ }
+
+ public function setMosaic($mosaic)
+ {
+ $this->mosaic = $mosaic;
+ }
+
+ public function getMosaic()
+ {
+ return $this->mosaic;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+
+ public function setRasterType($rasterType)
+ {
+ $this->rasterType = $rasterType;
+ }
+
+ public function getRasterType()
+ {
+ return $this->rasterType;
+ }
+
+ public function setTags($tags)
+ {
+ $this->tags = $tags;
+ }
+
+ public function getTags()
+ {
+ return $this->tags;
+ }
+}
+
+class Google_Service_Mapsengine_RastercollectionsListResponse extends Google_Collection
+{
+ public $nextPageToken;
+ protected $rasterCollectionsType = 'Google_Service_Mapsengine_RasterCollection';
+ protected $rasterCollectionsDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setRasterCollections($rasterCollections)
+ {
+ $this->rasterCollections = $rasterCollections;
+ }
+
+ public function getRasterCollections()
+ {
+ return $this->rasterCollections;
+ }
+}
+
+class Google_Service_Mapsengine_RastersListResponse extends Google_Collection
+{
+ public $nextPageToken;
+ protected $rastersType = 'Google_Service_Mapsengine_Raster';
+ protected $rastersDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setRasters($rasters)
+ {
+ $this->rasters = $rasters;
+ }
+
+ public function getRasters()
+ {
+ return $this->rasters;
+ }
+}
+
+class Google_Service_Mapsengine_ResourcesListResponse extends Google_Collection
+{
+ protected $assetsType = 'Google_Service_Mapsengine_MapsengineResource';
+ protected $assetsDataType = 'array';
+ public $nextPageToken;
+
+ public function setAssets($assets)
+ {
+ $this->assets = $assets;
+ }
+
+ public function getAssets()
+ {
+ return $this->assets;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Mapsengine_Schema extends Google_Collection
+{
+ protected $columnsType = 'Google_Service_Mapsengine_SchemaColumns';
+ protected $columnsDataType = 'array';
+ public $primaryGeometry;
+ public $primaryKey;
+
+ public function setColumns($columns)
+ {
+ $this->columns = $columns;
+ }
+
+ public function getColumns()
+ {
+ return $this->columns;
+ }
+
+ public function setPrimaryGeometry($primaryGeometry)
+ {
+ $this->primaryGeometry = $primaryGeometry;
+ }
+
+ public function getPrimaryGeometry()
+ {
+ return $this->primaryGeometry;
+ }
+
+ public function setPrimaryKey($primaryKey)
+ {
+ $this->primaryKey = $primaryKey;
+ }
+
+ public function getPrimaryKey()
+ {
+ return $this->primaryKey;
+ }
+}
+
+class Google_Service_Mapsengine_SchemaColumns extends Google_Model
+{
+ public $name;
+ public $type;
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_Mapsengine_Table extends Google_Collection
+{
+ public $bbox;
+ public $creationTime;
+ public $description;
+ public $draftAccessList;
+ protected $filesType = 'Google_Service_Mapsengine_MapsengineFile';
+ protected $filesDataType = 'array';
+ public $id;
+ public $lastModifiedTime;
+ public $name;
+ public $processingStatus;
+ public $projectId;
+ public $publishedAccessList;
+ protected $schemaType = 'Google_Service_Mapsengine_Schema';
+ protected $schemaDataType = '';
+ public $sourceEncoding;
+ public $tags;
+
+ public function setBbox($bbox)
+ {
+ $this->bbox = $bbox;
+ }
+
+ public function getBbox()
+ {
+ return $this->bbox;
+ }
+
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setDraftAccessList($draftAccessList)
+ {
+ $this->draftAccessList = $draftAccessList;
+ }
+
+ public function getDraftAccessList()
+ {
+ return $this->draftAccessList;
+ }
+
+ public function setFiles($files)
+ {
+ $this->files = $files;
+ }
+
+ public function getFiles()
+ {
+ return $this->files;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setLastModifiedTime($lastModifiedTime)
+ {
+ $this->lastModifiedTime = $lastModifiedTime;
+ }
+
+ public function getLastModifiedTime()
+ {
+ return $this->lastModifiedTime;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setProcessingStatus($processingStatus)
+ {
+ $this->processingStatus = $processingStatus;
+ }
+
+ public function getProcessingStatus()
+ {
+ return $this->processingStatus;
+ }
+
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+
+ public function setPublishedAccessList($publishedAccessList)
+ {
+ $this->publishedAccessList = $publishedAccessList;
+ }
+
+ public function getPublishedAccessList()
+ {
+ return $this->publishedAccessList;
+ }
+
+ public function setSchema(Google_Service_Mapsengine_Schema $schema)
+ {
+ $this->schema = $schema;
+ }
+
+ public function getSchema()
+ {
+ return $this->schema;
+ }
+
+ public function setSourceEncoding($sourceEncoding)
+ {
+ $this->sourceEncoding = $sourceEncoding;
+ }
+
+ public function getSourceEncoding()
+ {
+ return $this->sourceEncoding;
+ }
+
+ public function setTags($tags)
+ {
+ $this->tags = $tags;
+ }
+
+ public function getTags()
+ {
+ return $this->tags;
+ }
+}
+
+class Google_Service_Mapsengine_TablesListResponse extends Google_Collection
+{
+ public $nextPageToken;
+ protected $tablesType = 'Google_Service_Mapsengine_Table';
+ protected $tablesDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setTables($tables)
+ {
+ $this->tables = $tables;
+ }
+
+ public function getTables()
+ {
+ return $this->tables;
+ }
+}
From ff7836f37b962183a1ed164c77175d548212339c Mon Sep 17 00:00:00 2001
From: Silvano Luciani + * For more information about this service, see the API + * Documentation + *
+ * + * @author Google, Inc. + */ +class Google_Service_Dns extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = "https://www.googleapis.com/auth/cloud-platform"; + /** View your DNS records hosted by Google Cloud DNS. */ + const NDEV_CLOUDDNS_READONLY = "https://www.googleapis.com/auth/ndev.clouddns.readonly"; + /** View and manage your DNS records hosted by Google Cloud DNS. */ + const NDEV_CLOUDDNS_READWRITE = "https://www.googleapis.com/auth/ndev.clouddns.readwrite"; + + public $changes; + public $managedZones; + public $projects; + public $resourceRecordSets; + + + /** + * Constructs the internal representation of the Dns service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->servicePath = 'dns/v1beta1/projects/'; + $this->version = 'v1beta1'; + $this->serviceName = 'dns'; + + $this->changes = new Google_Service_Dns_Changes_Resource( + $this, + $this->serviceName, + 'changes', + array( + 'methods' => array( + 'create' => array( + 'path' => '{project}/managedZones/{managedZone}/changes', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'managedZone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/managedZones/{managedZone}/changes/{changeId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'managedZone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'changeId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/managedZones/{managedZone}/changes', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'managedZone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->managedZones = new Google_Service_Dns_ManagedZones_Resource( + $this, + $this->serviceName, + 'managedZones', + array( + 'methods' => array( + 'create' => array( + 'path' => '{project}/managedZones', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => '{project}/managedZones/{managedZone}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'managedZone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/managedZones/{managedZone}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'managedZone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/managedZones', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->projects = new Google_Service_Dns_Projects_Resource( + $this, + $this->serviceName, + 'projects', + array( + 'methods' => array( + 'get' => array( + 'path' => '{project}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->resourceRecordSets = new Google_Service_Dns_ResourceRecordSets_Resource( + $this, + $this->serviceName, + 'resourceRecordSets', + array( + 'methods' => array( + 'list' => array( + 'path' => '{project}/managedZones/{managedZone}/rrsets', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'managedZone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'name' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'type' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "changes" collection of methods. + * Typical usage is: + *
+ * $dnsService = new Google_Service_Dns(...);
+ * $changes = $dnsService->changes;
+ *
+ */
+class Google_Service_Dns_Changes_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Atomically update the ResourceRecordSet collection. (changes.create)
+ *
+ * @param string $project
+ * Identifies the project addressed by this request.
+ * @param string $managedZone
+ * Identifies the managed zone addressed by this request. Can be the managed zone name or id.
+ * @param Google_Change $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dns_Change
+ */
+ public function create($project, $managedZone, Google_Service_Dns_Change $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'managedZone' => $managedZone, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Dns_Change");
+ }
+ /**
+ * Fetch the representation of an existing Change. (changes.get)
+ *
+ * @param string $project
+ * Identifies the project addressed by this request.
+ * @param string $managedZone
+ * Identifies the managed zone addressed by this request. Can be the managed zone name or id.
+ * @param string $changeId
+ * The identifier of the requested change, from a previous ResourceRecordSetsChangeResponse.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dns_Change
+ */
+ public function get($project, $managedZone, $changeId, $optParams = array())
+ {
+ $params = array('project' => $project, 'managedZone' => $managedZone, 'changeId' => $changeId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dns_Change");
+ }
+ /**
+ * Enumerate Changes to a ResourceRecordSet collection. (changes.listChanges)
+ *
+ * @param string $project
+ * Identifies the project addressed by this request.
+ * @param string $managedZone
+ * Identifies the managed zone addressed by this request. Can be the managed zone name or id.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int maxResults
+ * Optional. Maximum number of results to be returned. If unspecified, the server will decide how
+ * many results to return.
+ * @opt_param string pageToken
+ * Optional. A tag returned by a previous list request that was truncated. Use this parameter to
+ * continue a previous list request.
+ * @opt_param string sortBy
+ * Sorting criterion. The only supported value is change sequence.
+ * @opt_param string sortOrder
+ * Sorting order direction: 'ascending' or 'descending'.
+ * @return Google_Service_Dns_ChangesListResponse
+ */
+ public function listChanges($project, $managedZone, $optParams = array())
+ {
+ $params = array('project' => $project, 'managedZone' => $managedZone);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dns_ChangesListResponse");
+ }
+}
+
+/**
+ * The "managedZones" collection of methods.
+ * Typical usage is:
+ *
+ * $dnsService = new Google_Service_Dns(...);
+ * $managedZones = $dnsService->managedZones;
+ *
+ */
+class Google_Service_Dns_ManagedZones_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Create a new ManagedZone. (managedZones.create)
+ *
+ * @param string $project
+ * Identifies the project addressed by this request.
+ * @param Google_ManagedZone $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dns_ManagedZone
+ */
+ public function create($project, Google_Service_Dns_ManagedZone $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Dns_ManagedZone");
+ }
+ /**
+ * Delete a previously created ManagedZone. (managedZones.delete)
+ *
+ * @param string $project
+ * Identifies the project addressed by this request.
+ * @param string $managedZone
+ * Identifies the managed zone addressed by this request. Can be the managed zone name or id.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($project, $managedZone, $optParams = array())
+ {
+ $params = array('project' => $project, 'managedZone' => $managedZone);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Fetch the representation of an existing ManagedZone. (managedZones.get)
+ *
+ * @param string $project
+ * Identifies the project addressed by this request.
+ * @param string $managedZone
+ * Identifies the managed zone addressed by this request. Can be the managed zone name or id.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dns_ManagedZone
+ */
+ public function get($project, $managedZone, $optParams = array())
+ {
+ $params = array('project' => $project, 'managedZone' => $managedZone);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dns_ManagedZone");
+ }
+ /**
+ * Enumerate ManagedZones that have been created but not yet deleted.
+ * (managedZones.listManagedZones)
+ *
+ * @param string $project
+ * Identifies the project addressed by this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * Optional. A tag returned by a previous list request that was truncated. Use this parameter to
+ * continue a previous list request.
+ * @opt_param int maxResults
+ * Optional. Maximum number of results to be returned. If unspecified, the server will decide how
+ * many results to return.
+ * @return Google_Service_Dns_ManagedZonesListResponse
+ */
+ public function listManagedZones($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dns_ManagedZonesListResponse");
+ }
+}
+
+/**
+ * The "projects" collection of methods.
+ * Typical usage is:
+ *
+ * $dnsService = new Google_Service_Dns(...);
+ * $projects = $dnsService->projects;
+ *
+ */
+class Google_Service_Dns_Projects_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Fetch the representation of an existing Project. (projects.get)
+ *
+ * @param string $project
+ * Identifies the project addressed by this request.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dns_Project
+ */
+ public function get($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dns_Project");
+ }
+}
+
+/**
+ * The "resourceRecordSets" collection of methods.
+ * Typical usage is:
+ *
+ * $dnsService = new Google_Service_Dns(...);
+ * $resourceRecordSets = $dnsService->resourceRecordSets;
+ *
+ */
+class Google_Service_Dns_ResourceRecordSets_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Enumerate ResourceRecordSets that have been created but not yet deleted.
+ * (resourceRecordSets.listResourceRecordSets)
+ *
+ * @param string $project
+ * Identifies the project addressed by this request.
+ * @param string $managedZone
+ * Identifies the managed zone addressed by this request. Can be the managed zone name or id.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string name
+ * Restricts the list to return only records with this fully qualified domain name.
+ * @opt_param int maxResults
+ * Optional. Maximum number of results to be returned. If unspecified, the server will decide how
+ * many results to return.
+ * @opt_param string pageToken
+ * Optional. A tag returned by a previous list request that was truncated. Use this parameter to
+ * continue a previous list request.
+ * @opt_param string type
+ * Restricts the list to return only records of this type. If present, the "name" parameter must
+ * also be present.
+ * @return Google_Service_Dns_ResourceRecordSetsListResponse
+ */
+ public function listResourceRecordSets($project, $managedZone, $optParams = array())
+ {
+ $params = array('project' => $project, 'managedZone' => $managedZone);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dns_ResourceRecordSetsListResponse");
+ }
+}
+
+
+
+
+class Google_Service_Dns_Change extends Google_Collection
+{
+ protected $additionsType = 'Google_Service_Dns_ResourceRecordSet';
+ protected $additionsDataType = 'array';
+ protected $deletionsType = 'Google_Service_Dns_ResourceRecordSet';
+ protected $deletionsDataType = 'array';
+ public $id;
+ public $kind;
+ public $startTime;
+ public $status;
+
+ public function setAdditions($additions)
+ {
+ $this->additions = $additions;
+ }
+
+ public function getAdditions()
+ {
+ return $this->additions;
+ }
+
+ public function setDeletions($deletions)
+ {
+ $this->deletions = $deletions;
+ }
+
+ public function getDeletions()
+ {
+ return $this->deletions;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setStartTime($startTime)
+ {
+ $this->startTime = $startTime;
+ }
+
+ public function getStartTime()
+ {
+ return $this->startTime;
+ }
+
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+
+ public function getStatus()
+ {
+ return $this->status;
+ }
+}
+
+class Google_Service_Dns_ChangesListResponse extends Google_Collection
+{
+ protected $changesType = 'Google_Service_Dns_Change';
+ protected $changesDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+ public function setChanges($changes)
+ {
+ $this->changes = $changes;
+ }
+
+ public function getChanges()
+ {
+ return $this->changes;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Dns_ManagedZone extends Google_Collection
+{
+ public $creationTime;
+ public $description;
+ public $dnsName;
+ public $id;
+ public $kind;
+ public $name;
+ public $nameServers;
+
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setDnsName($dnsName)
+ {
+ $this->dnsName = $dnsName;
+ }
+
+ public function getDnsName()
+ {
+ return $this->dnsName;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setNameServers($nameServers)
+ {
+ $this->nameServers = $nameServers;
+ }
+
+ public function getNameServers()
+ {
+ return $this->nameServers;
+ }
+}
+
+class Google_Service_Dns_ManagedZonesListResponse extends Google_Collection
+{
+ public $kind;
+ protected $managedZonesType = 'Google_Service_Dns_ManagedZone';
+ protected $managedZonesDataType = 'array';
+ public $nextPageToken;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setManagedZones($managedZones)
+ {
+ $this->managedZones = $managedZones;
+ }
+
+ public function getManagedZones()
+ {
+ return $this->managedZones;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Dns_Project extends Google_Model
+{
+ public $id;
+ public $kind;
+ public $number;
+ protected $quotaType = 'Google_Service_Dns_Quota';
+ protected $quotaDataType = '';
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNumber($number)
+ {
+ $this->number = $number;
+ }
+
+ public function getNumber()
+ {
+ return $this->number;
+ }
+
+ public function setQuota(Google_Service_Dns_Quota $quota)
+ {
+ $this->quota = $quota;
+ }
+
+ public function getQuota()
+ {
+ return $this->quota;
+ }
+}
+
+class Google_Service_Dns_Quota extends Google_Model
+{
+ public $kind;
+ public $managedZones;
+ public $resourceRecordsPerRrset;
+ public $rrsetAdditionsPerChange;
+ public $rrsetDeletionsPerChange;
+ public $rrsetsPerManagedZone;
+ public $totalRrdataSizePerChange;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setManagedZones($managedZones)
+ {
+ $this->managedZones = $managedZones;
+ }
+
+ public function getManagedZones()
+ {
+ return $this->managedZones;
+ }
+
+ public function setResourceRecordsPerRrset($resourceRecordsPerRrset)
+ {
+ $this->resourceRecordsPerRrset = $resourceRecordsPerRrset;
+ }
+
+ public function getResourceRecordsPerRrset()
+ {
+ return $this->resourceRecordsPerRrset;
+ }
+
+ public function setRrsetAdditionsPerChange($rrsetAdditionsPerChange)
+ {
+ $this->rrsetAdditionsPerChange = $rrsetAdditionsPerChange;
+ }
+
+ public function getRrsetAdditionsPerChange()
+ {
+ return $this->rrsetAdditionsPerChange;
+ }
+
+ public function setRrsetDeletionsPerChange($rrsetDeletionsPerChange)
+ {
+ $this->rrsetDeletionsPerChange = $rrsetDeletionsPerChange;
+ }
+
+ public function getRrsetDeletionsPerChange()
+ {
+ return $this->rrsetDeletionsPerChange;
+ }
+
+ public function setRrsetsPerManagedZone($rrsetsPerManagedZone)
+ {
+ $this->rrsetsPerManagedZone = $rrsetsPerManagedZone;
+ }
+
+ public function getRrsetsPerManagedZone()
+ {
+ return $this->rrsetsPerManagedZone;
+ }
+
+ public function setTotalRrdataSizePerChange($totalRrdataSizePerChange)
+ {
+ $this->totalRrdataSizePerChange = $totalRrdataSizePerChange;
+ }
+
+ public function getTotalRrdataSizePerChange()
+ {
+ return $this->totalRrdataSizePerChange;
+ }
+}
+
+class Google_Service_Dns_ResourceRecordSet extends Google_Collection
+{
+ public $kind;
+ public $name;
+ public $rrdatas;
+ public $ttl;
+ public $type;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setRrdatas($rrdatas)
+ {
+ $this->rrdatas = $rrdatas;
+ }
+
+ public function getRrdatas()
+ {
+ return $this->rrdatas;
+ }
+
+ public function setTtl($ttl)
+ {
+ $this->ttl = $ttl;
+ }
+
+ public function getTtl()
+ {
+ return $this->ttl;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_Dns_ResourceRecordSetsListResponse extends Google_Collection
+{
+ public $kind;
+ public $nextPageToken;
+ protected $rrsetsType = 'Google_Service_Dns_ResourceRecordSet';
+ protected $rrsetsDataType = 'array';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setRrsets($rrsets)
+ {
+ $this->rrsets = $rrsets;
+ }
+
+ public function getRrsets()
+ {
+ return $this->rrsets;
+ }
+}
From db0c6638a7fdd1a33f9c7a049de0dd6a2292689b Mon Sep 17 00:00:00 2001
From: Silvano Luciani + * For more information about this service, see the API + * Documentation + *
+ * + * @author Google, Inc. + */ +class Google_Service_QPXExpress extends Google_Service +{ + + + public $trips; + + + /** + * Constructs the internal representation of the QPXExpress service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->servicePath = 'qpxExpress/v1/trips/'; + $this->version = 'v1'; + $this->serviceName = 'qpxExpress'; + + $this->trips = new Google_Service_QPXExpress_Trips_Resource( + $this, + $this->serviceName, + 'trips', + array( + 'methods' => array( + 'search' => array( + 'path' => 'search', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + } +} + + +/** + * The "trips" collection of methods. + * Typical usage is: + *
+ * $qpxExpressService = new Google_Service_QPXExpress(...);
+ * $trips = $qpxExpressService->trips;
+ *
+ */
+class Google_Service_QPXExpress_Trips_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Returns a list of flights. (trips.search)
+ *
+ * @param Google_TripsSearchRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_QPXExpress_TripsSearchResponse
+ */
+ public function search(Google_Service_QPXExpress_TripsSearchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('search', array($params), "Google_Service_QPXExpress_TripsSearchResponse");
+ }
+}
+
+
+
+
+class Google_Service_QPXExpress_AircraftData extends Google_Model
+{
+ public $code;
+ public $kind;
+ public $name;
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+
+ public function getCode()
+ {
+ return $this->code;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Google_Service_QPXExpress_AirportData extends Google_Model
+{
+ public $city;
+ public $code;
+ public $kind;
+ public $name;
+
+ public function setCity($city)
+ {
+ $this->city = $city;
+ }
+
+ public function getCity()
+ {
+ return $this->city;
+ }
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+
+ public function getCode()
+ {
+ return $this->code;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Google_Service_QPXExpress_BagDescriptor extends Google_Collection
+{
+ public $commercialName;
+ public $count;
+ public $description;
+ public $kind;
+ public $subcode;
+
+ public function setCommercialName($commercialName)
+ {
+ $this->commercialName = $commercialName;
+ }
+
+ public function getCommercialName()
+ {
+ return $this->commercialName;
+ }
+
+ public function setCount($count)
+ {
+ $this->count = $count;
+ }
+
+ public function getCount()
+ {
+ return $this->count;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setSubcode($subcode)
+ {
+ $this->subcode = $subcode;
+ }
+
+ public function getSubcode()
+ {
+ return $this->subcode;
+ }
+}
+
+class Google_Service_QPXExpress_CarrierData extends Google_Model
+{
+ public $code;
+ public $kind;
+ public $name;
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+
+ public function getCode()
+ {
+ return $this->code;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Google_Service_QPXExpress_CityData extends Google_Model
+{
+ public $code;
+ public $country;
+ public $kind;
+ public $name;
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+
+ public function getCode()
+ {
+ return $this->code;
+ }
+
+ public function setCountry($country)
+ {
+ $this->country = $country;
+ }
+
+ public function getCountry()
+ {
+ return $this->country;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Google_Service_QPXExpress_Data extends Google_Collection
+{
+ protected $aircraftType = 'Google_Service_QPXExpress_AircraftData';
+ protected $aircraftDataType = 'array';
+ protected $airportType = 'Google_Service_QPXExpress_AirportData';
+ protected $airportDataType = 'array';
+ protected $carrierType = 'Google_Service_QPXExpress_CarrierData';
+ protected $carrierDataType = 'array';
+ protected $cityType = 'Google_Service_QPXExpress_CityData';
+ protected $cityDataType = 'array';
+ public $kind;
+ protected $taxType = 'Google_Service_QPXExpress_TaxData';
+ protected $taxDataType = 'array';
+
+ public function setAircraft($aircraft)
+ {
+ $this->aircraft = $aircraft;
+ }
+
+ public function getAircraft()
+ {
+ return $this->aircraft;
+ }
+
+ public function setAirport($airport)
+ {
+ $this->airport = $airport;
+ }
+
+ public function getAirport()
+ {
+ return $this->airport;
+ }
+
+ public function setCarrier($carrier)
+ {
+ $this->carrier = $carrier;
+ }
+
+ public function getCarrier()
+ {
+ return $this->carrier;
+ }
+
+ public function setCity($city)
+ {
+ $this->city = $city;
+ }
+
+ public function getCity()
+ {
+ return $this->city;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setTax($tax)
+ {
+ $this->tax = $tax;
+ }
+
+ public function getTax()
+ {
+ return $this->tax;
+ }
+}
+
+class Google_Service_QPXExpress_FareInfo extends Google_Model
+{
+ public $basisCode;
+ public $carrier;
+ public $destination;
+ public $id;
+ public $kind;
+ public $origin;
+ public $private;
+
+ public function setBasisCode($basisCode)
+ {
+ $this->basisCode = $basisCode;
+ }
+
+ public function getBasisCode()
+ {
+ return $this->basisCode;
+ }
+
+ public function setCarrier($carrier)
+ {
+ $this->carrier = $carrier;
+ }
+
+ public function getCarrier()
+ {
+ return $this->carrier;
+ }
+
+ public function setDestination($destination)
+ {
+ $this->destination = $destination;
+ }
+
+ public function getDestination()
+ {
+ return $this->destination;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setOrigin($origin)
+ {
+ $this->origin = $origin;
+ }
+
+ public function getOrigin()
+ {
+ return $this->origin;
+ }
+
+ public function setPrivate($private)
+ {
+ $this->private = $private;
+ }
+
+ public function getPrivate()
+ {
+ return $this->private;
+ }
+}
+
+class Google_Service_QPXExpress_FlightInfo extends Google_Model
+{
+ public $carrier;
+ public $number;
+
+ public function setCarrier($carrier)
+ {
+ $this->carrier = $carrier;
+ }
+
+ public function getCarrier()
+ {
+ return $this->carrier;
+ }
+
+ public function setNumber($number)
+ {
+ $this->number = $number;
+ }
+
+ public function getNumber()
+ {
+ return $this->number;
+ }
+}
+
+class Google_Service_QPXExpress_FreeBaggageAllowance extends Google_Collection
+{
+ protected $bagDescriptorType = 'Google_Service_QPXExpress_BagDescriptor';
+ protected $bagDescriptorDataType = 'array';
+ public $kilos;
+ public $kilosPerPiece;
+ public $kind;
+ public $pieces;
+ public $pounds;
+
+ public function setBagDescriptor($bagDescriptor)
+ {
+ $this->bagDescriptor = $bagDescriptor;
+ }
+
+ public function getBagDescriptor()
+ {
+ return $this->bagDescriptor;
+ }
+
+ public function setKilos($kilos)
+ {
+ $this->kilos = $kilos;
+ }
+
+ public function getKilos()
+ {
+ return $this->kilos;
+ }
+
+ public function setKilosPerPiece($kilosPerPiece)
+ {
+ $this->kilosPerPiece = $kilosPerPiece;
+ }
+
+ public function getKilosPerPiece()
+ {
+ return $this->kilosPerPiece;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setPieces($pieces)
+ {
+ $this->pieces = $pieces;
+ }
+
+ public function getPieces()
+ {
+ return $this->pieces;
+ }
+
+ public function setPounds($pounds)
+ {
+ $this->pounds = $pounds;
+ }
+
+ public function getPounds()
+ {
+ return $this->pounds;
+ }
+}
+
+class Google_Service_QPXExpress_LegInfo extends Google_Model
+{
+ public $aircraft;
+ public $arrivalTime;
+ public $changePlane;
+ public $connectionDuration;
+ public $departureTime;
+ public $destination;
+ public $destinationTerminal;
+ public $duration;
+ public $id;
+ public $kind;
+ public $meal;
+ public $mileage;
+ public $onTimePerformance;
+ public $operatingDisclosure;
+ public $origin;
+ public $originTerminal;
+ public $secure;
+
+ public function setAircraft($aircraft)
+ {
+ $this->aircraft = $aircraft;
+ }
+
+ public function getAircraft()
+ {
+ return $this->aircraft;
+ }
+
+ public function setArrivalTime($arrivalTime)
+ {
+ $this->arrivalTime = $arrivalTime;
+ }
+
+ public function getArrivalTime()
+ {
+ return $this->arrivalTime;
+ }
+
+ public function setChangePlane($changePlane)
+ {
+ $this->changePlane = $changePlane;
+ }
+
+ public function getChangePlane()
+ {
+ return $this->changePlane;
+ }
+
+ public function setConnectionDuration($connectionDuration)
+ {
+ $this->connectionDuration = $connectionDuration;
+ }
+
+ public function getConnectionDuration()
+ {
+ return $this->connectionDuration;
+ }
+
+ public function setDepartureTime($departureTime)
+ {
+ $this->departureTime = $departureTime;
+ }
+
+ public function getDepartureTime()
+ {
+ return $this->departureTime;
+ }
+
+ public function setDestination($destination)
+ {
+ $this->destination = $destination;
+ }
+
+ public function getDestination()
+ {
+ return $this->destination;
+ }
+
+ public function setDestinationTerminal($destinationTerminal)
+ {
+ $this->destinationTerminal = $destinationTerminal;
+ }
+
+ public function getDestinationTerminal()
+ {
+ return $this->destinationTerminal;
+ }
+
+ public function setDuration($duration)
+ {
+ $this->duration = $duration;
+ }
+
+ public function getDuration()
+ {
+ return $this->duration;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setMeal($meal)
+ {
+ $this->meal = $meal;
+ }
+
+ public function getMeal()
+ {
+ return $this->meal;
+ }
+
+ public function setMileage($mileage)
+ {
+ $this->mileage = $mileage;
+ }
+
+ public function getMileage()
+ {
+ return $this->mileage;
+ }
+
+ public function setOnTimePerformance($onTimePerformance)
+ {
+ $this->onTimePerformance = $onTimePerformance;
+ }
+
+ public function getOnTimePerformance()
+ {
+ return $this->onTimePerformance;
+ }
+
+ public function setOperatingDisclosure($operatingDisclosure)
+ {
+ $this->operatingDisclosure = $operatingDisclosure;
+ }
+
+ public function getOperatingDisclosure()
+ {
+ return $this->operatingDisclosure;
+ }
+
+ public function setOrigin($origin)
+ {
+ $this->origin = $origin;
+ }
+
+ public function getOrigin()
+ {
+ return $this->origin;
+ }
+
+ public function setOriginTerminal($originTerminal)
+ {
+ $this->originTerminal = $originTerminal;
+ }
+
+ public function getOriginTerminal()
+ {
+ return $this->originTerminal;
+ }
+
+ public function setSecure($secure)
+ {
+ $this->secure = $secure;
+ }
+
+ public function getSecure()
+ {
+ return $this->secure;
+ }
+}
+
+class Google_Service_QPXExpress_PassengerCounts extends Google_Model
+{
+ public $adultCount;
+ public $childCount;
+ public $infantInLapCount;
+ public $infantInSeatCount;
+ public $kind;
+ public $seniorCount;
+
+ public function setAdultCount($adultCount)
+ {
+ $this->adultCount = $adultCount;
+ }
+
+ public function getAdultCount()
+ {
+ return $this->adultCount;
+ }
+
+ public function setChildCount($childCount)
+ {
+ $this->childCount = $childCount;
+ }
+
+ public function getChildCount()
+ {
+ return $this->childCount;
+ }
+
+ public function setInfantInLapCount($infantInLapCount)
+ {
+ $this->infantInLapCount = $infantInLapCount;
+ }
+
+ public function getInfantInLapCount()
+ {
+ return $this->infantInLapCount;
+ }
+
+ public function setInfantInSeatCount($infantInSeatCount)
+ {
+ $this->infantInSeatCount = $infantInSeatCount;
+ }
+
+ public function getInfantInSeatCount()
+ {
+ return $this->infantInSeatCount;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setSeniorCount($seniorCount)
+ {
+ $this->seniorCount = $seniorCount;
+ }
+
+ public function getSeniorCount()
+ {
+ return $this->seniorCount;
+ }
+}
+
+class Google_Service_QPXExpress_PricingInfo extends Google_Collection
+{
+ public $baseFareTotal;
+ protected $fareType = 'Google_Service_QPXExpress_FareInfo';
+ protected $fareDataType = 'array';
+ public $fareCalculation;
+ public $kind;
+ public $latestTicketingTime;
+ protected $passengersType = 'Google_Service_QPXExpress_PassengerCounts';
+ protected $passengersDataType = '';
+ public $ptc;
+ public $refundable;
+ public $saleFareTotal;
+ public $saleTaxTotal;
+ public $saleTotal;
+ protected $segmentPricingType = 'Google_Service_QPXExpress_SegmentPricing';
+ protected $segmentPricingDataType = 'array';
+ protected $taxType = 'Google_Service_QPXExpress_TaxInfo';
+ protected $taxDataType = 'array';
+
+ public function setBaseFareTotal($baseFareTotal)
+ {
+ $this->baseFareTotal = $baseFareTotal;
+ }
+
+ public function getBaseFareTotal()
+ {
+ return $this->baseFareTotal;
+ }
+
+ public function setFare($fare)
+ {
+ $this->fare = $fare;
+ }
+
+ public function getFare()
+ {
+ return $this->fare;
+ }
+
+ public function setFareCalculation($fareCalculation)
+ {
+ $this->fareCalculation = $fareCalculation;
+ }
+
+ public function getFareCalculation()
+ {
+ return $this->fareCalculation;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setLatestTicketingTime($latestTicketingTime)
+ {
+ $this->latestTicketingTime = $latestTicketingTime;
+ }
+
+ public function getLatestTicketingTime()
+ {
+ return $this->latestTicketingTime;
+ }
+
+ public function setPassengers(Google_Service_QPXExpress_PassengerCounts $passengers)
+ {
+ $this->passengers = $passengers;
+ }
+
+ public function getPassengers()
+ {
+ return $this->passengers;
+ }
+
+ public function setPtc($ptc)
+ {
+ $this->ptc = $ptc;
+ }
+
+ public function getPtc()
+ {
+ return $this->ptc;
+ }
+
+ public function setRefundable($refundable)
+ {
+ $this->refundable = $refundable;
+ }
+
+ public function getRefundable()
+ {
+ return $this->refundable;
+ }
+
+ public function setSaleFareTotal($saleFareTotal)
+ {
+ $this->saleFareTotal = $saleFareTotal;
+ }
+
+ public function getSaleFareTotal()
+ {
+ return $this->saleFareTotal;
+ }
+
+ public function setSaleTaxTotal($saleTaxTotal)
+ {
+ $this->saleTaxTotal = $saleTaxTotal;
+ }
+
+ public function getSaleTaxTotal()
+ {
+ return $this->saleTaxTotal;
+ }
+
+ public function setSaleTotal($saleTotal)
+ {
+ $this->saleTotal = $saleTotal;
+ }
+
+ public function getSaleTotal()
+ {
+ return $this->saleTotal;
+ }
+
+ public function setSegmentPricing($segmentPricing)
+ {
+ $this->segmentPricing = $segmentPricing;
+ }
+
+ public function getSegmentPricing()
+ {
+ return $this->segmentPricing;
+ }
+
+ public function setTax($tax)
+ {
+ $this->tax = $tax;
+ }
+
+ public function getTax()
+ {
+ return $this->tax;
+ }
+}
+
+class Google_Service_QPXExpress_SegmentInfo extends Google_Collection
+{
+ public $bookingCode;
+ public $bookingCodeCount;
+ public $cabin;
+ public $connectionDuration;
+ public $duration;
+ protected $flightType = 'Google_Service_QPXExpress_FlightInfo';
+ protected $flightDataType = '';
+ public $id;
+ public $kind;
+ protected $legType = 'Google_Service_QPXExpress_LegInfo';
+ protected $legDataType = 'array';
+ public $marriedSegmentGroup;
+ public $subjectToGovernmentApproval;
+
+ public function setBookingCode($bookingCode)
+ {
+ $this->bookingCode = $bookingCode;
+ }
+
+ public function getBookingCode()
+ {
+ return $this->bookingCode;
+ }
+
+ public function setBookingCodeCount($bookingCodeCount)
+ {
+ $this->bookingCodeCount = $bookingCodeCount;
+ }
+
+ public function getBookingCodeCount()
+ {
+ return $this->bookingCodeCount;
+ }
+
+ public function setCabin($cabin)
+ {
+ $this->cabin = $cabin;
+ }
+
+ public function getCabin()
+ {
+ return $this->cabin;
+ }
+
+ public function setConnectionDuration($connectionDuration)
+ {
+ $this->connectionDuration = $connectionDuration;
+ }
+
+ public function getConnectionDuration()
+ {
+ return $this->connectionDuration;
+ }
+
+ public function setDuration($duration)
+ {
+ $this->duration = $duration;
+ }
+
+ public function getDuration()
+ {
+ return $this->duration;
+ }
+
+ public function setFlight(Google_Service_QPXExpress_FlightInfo $flight)
+ {
+ $this->flight = $flight;
+ }
+
+ public function getFlight()
+ {
+ return $this->flight;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setLeg($leg)
+ {
+ $this->leg = $leg;
+ }
+
+ public function getLeg()
+ {
+ return $this->leg;
+ }
+
+ public function setMarriedSegmentGroup($marriedSegmentGroup)
+ {
+ $this->marriedSegmentGroup = $marriedSegmentGroup;
+ }
+
+ public function getMarriedSegmentGroup()
+ {
+ return $this->marriedSegmentGroup;
+ }
+
+ public function setSubjectToGovernmentApproval($subjectToGovernmentApproval)
+ {
+ $this->subjectToGovernmentApproval = $subjectToGovernmentApproval;
+ }
+
+ public function getSubjectToGovernmentApproval()
+ {
+ return $this->subjectToGovernmentApproval;
+ }
+}
+
+class Google_Service_QPXExpress_SegmentPricing extends Google_Collection
+{
+ public $fareId;
+ protected $freeBaggageOptionType = 'Google_Service_QPXExpress_FreeBaggageAllowance';
+ protected $freeBaggageOptionDataType = 'array';
+ public $kind;
+ public $segmentId;
+
+ public function setFareId($fareId)
+ {
+ $this->fareId = $fareId;
+ }
+
+ public function getFareId()
+ {
+ return $this->fareId;
+ }
+
+ public function setFreeBaggageOption($freeBaggageOption)
+ {
+ $this->freeBaggageOption = $freeBaggageOption;
+ }
+
+ public function getFreeBaggageOption()
+ {
+ return $this->freeBaggageOption;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setSegmentId($segmentId)
+ {
+ $this->segmentId = $segmentId;
+ }
+
+ public function getSegmentId()
+ {
+ return $this->segmentId;
+ }
+}
+
+class Google_Service_QPXExpress_SliceInfo extends Google_Collection
+{
+ public $duration;
+ public $kind;
+ protected $segmentType = 'Google_Service_QPXExpress_SegmentInfo';
+ protected $segmentDataType = 'array';
+
+ public function setDuration($duration)
+ {
+ $this->duration = $duration;
+ }
+
+ public function getDuration()
+ {
+ return $this->duration;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setSegment($segment)
+ {
+ $this->segment = $segment;
+ }
+
+ public function getSegment()
+ {
+ return $this->segment;
+ }
+}
+
+class Google_Service_QPXExpress_SliceInput extends Google_Collection
+{
+ public $alliance;
+ public $date;
+ public $destination;
+ public $kind;
+ public $maxConnectionDuration;
+ public $maxStops;
+ public $origin;
+ public $permittedCarrier;
+ protected $permittedDepartureTimeType = 'Google_Service_QPXExpress_TimeOfDayRange';
+ protected $permittedDepartureTimeDataType = '';
+ public $preferredCabin;
+ public $prohibitedCarrier;
+
+ public function setAlliance($alliance)
+ {
+ $this->alliance = $alliance;
+ }
+
+ public function getAlliance()
+ {
+ return $this->alliance;
+ }
+
+ public function setDate($date)
+ {
+ $this->date = $date;
+ }
+
+ public function getDate()
+ {
+ return $this->date;
+ }
+
+ public function setDestination($destination)
+ {
+ $this->destination = $destination;
+ }
+
+ public function getDestination()
+ {
+ return $this->destination;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setMaxConnectionDuration($maxConnectionDuration)
+ {
+ $this->maxConnectionDuration = $maxConnectionDuration;
+ }
+
+ public function getMaxConnectionDuration()
+ {
+ return $this->maxConnectionDuration;
+ }
+
+ public function setMaxStops($maxStops)
+ {
+ $this->maxStops = $maxStops;
+ }
+
+ public function getMaxStops()
+ {
+ return $this->maxStops;
+ }
+
+ public function setOrigin($origin)
+ {
+ $this->origin = $origin;
+ }
+
+ public function getOrigin()
+ {
+ return $this->origin;
+ }
+
+ public function setPermittedCarrier($permittedCarrier)
+ {
+ $this->permittedCarrier = $permittedCarrier;
+ }
+
+ public function getPermittedCarrier()
+ {
+ return $this->permittedCarrier;
+ }
+
+ public function setPermittedDepartureTime(Google_Service_QPXExpress_TimeOfDayRange $permittedDepartureTime)
+ {
+ $this->permittedDepartureTime = $permittedDepartureTime;
+ }
+
+ public function getPermittedDepartureTime()
+ {
+ return $this->permittedDepartureTime;
+ }
+
+ public function setPreferredCabin($preferredCabin)
+ {
+ $this->preferredCabin = $preferredCabin;
+ }
+
+ public function getPreferredCabin()
+ {
+ return $this->preferredCabin;
+ }
+
+ public function setProhibitedCarrier($prohibitedCarrier)
+ {
+ $this->prohibitedCarrier = $prohibitedCarrier;
+ }
+
+ public function getProhibitedCarrier()
+ {
+ return $this->prohibitedCarrier;
+ }
+}
+
+class Google_Service_QPXExpress_TaxData extends Google_Model
+{
+ public $id;
+ public $kind;
+ public $name;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Google_Service_QPXExpress_TaxInfo extends Google_Model
+{
+ public $chargeType;
+ public $code;
+ public $country;
+ public $id;
+ public $kind;
+ public $salePrice;
+
+ public function setChargeType($chargeType)
+ {
+ $this->chargeType = $chargeType;
+ }
+
+ public function getChargeType()
+ {
+ return $this->chargeType;
+ }
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+
+ public function getCode()
+ {
+ return $this->code;
+ }
+
+ public function setCountry($country)
+ {
+ $this->country = $country;
+ }
+
+ public function getCountry()
+ {
+ return $this->country;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setSalePrice($salePrice)
+ {
+ $this->salePrice = $salePrice;
+ }
+
+ public function getSalePrice()
+ {
+ return $this->salePrice;
+ }
+}
+
+class Google_Service_QPXExpress_TimeOfDayRange extends Google_Model
+{
+ public $earliestTime;
+ public $kind;
+ public $latestTime;
+
+ public function setEarliestTime($earliestTime)
+ {
+ $this->earliestTime = $earliestTime;
+ }
+
+ public function getEarliestTime()
+ {
+ return $this->earliestTime;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setLatestTime($latestTime)
+ {
+ $this->latestTime = $latestTime;
+ }
+
+ public function getLatestTime()
+ {
+ return $this->latestTime;
+ }
+}
+
+class Google_Service_QPXExpress_TripOption extends Google_Collection
+{
+ public $id;
+ public $kind;
+ protected $pricingType = 'Google_Service_QPXExpress_PricingInfo';
+ protected $pricingDataType = 'array';
+ public $saleTotal;
+ protected $sliceType = 'Google_Service_QPXExpress_SliceInfo';
+ protected $sliceDataType = 'array';
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setPricing($pricing)
+ {
+ $this->pricing = $pricing;
+ }
+
+ public function getPricing()
+ {
+ return $this->pricing;
+ }
+
+ public function setSaleTotal($saleTotal)
+ {
+ $this->saleTotal = $saleTotal;
+ }
+
+ public function getSaleTotal()
+ {
+ return $this->saleTotal;
+ }
+
+ public function setSlice($slice)
+ {
+ $this->slice = $slice;
+ }
+
+ public function getSlice()
+ {
+ return $this->slice;
+ }
+}
+
+class Google_Service_QPXExpress_TripOptionsRequest extends Google_Collection
+{
+ public $maxPrice;
+ protected $passengersType = 'Google_Service_QPXExpress_PassengerCounts';
+ protected $passengersDataType = '';
+ public $refundable;
+ public $saleCountry;
+ protected $sliceType = 'Google_Service_QPXExpress_SliceInput';
+ protected $sliceDataType = 'array';
+ public $solutions;
+
+ public function setMaxPrice($maxPrice)
+ {
+ $this->maxPrice = $maxPrice;
+ }
+
+ public function getMaxPrice()
+ {
+ return $this->maxPrice;
+ }
+
+ public function setPassengers(Google_Service_QPXExpress_PassengerCounts $passengers)
+ {
+ $this->passengers = $passengers;
+ }
+
+ public function getPassengers()
+ {
+ return $this->passengers;
+ }
+
+ public function setRefundable($refundable)
+ {
+ $this->refundable = $refundable;
+ }
+
+ public function getRefundable()
+ {
+ return $this->refundable;
+ }
+
+ public function setSaleCountry($saleCountry)
+ {
+ $this->saleCountry = $saleCountry;
+ }
+
+ public function getSaleCountry()
+ {
+ return $this->saleCountry;
+ }
+
+ public function setSlice($slice)
+ {
+ $this->slice = $slice;
+ }
+
+ public function getSlice()
+ {
+ return $this->slice;
+ }
+
+ public function setSolutions($solutions)
+ {
+ $this->solutions = $solutions;
+ }
+
+ public function getSolutions()
+ {
+ return $this->solutions;
+ }
+}
+
+class Google_Service_QPXExpress_TripOptionsResponse extends Google_Collection
+{
+ protected $dataType = 'Google_Service_QPXExpress_Data';
+ protected $dataDataType = '';
+ public $kind;
+ public $requestId;
+ protected $tripOptionType = 'Google_Service_QPXExpress_TripOption';
+ protected $tripOptionDataType = 'array';
+
+ public function setData(Google_Service_QPXExpress_Data $data)
+ {
+ $this->data = $data;
+ }
+
+ public function getData()
+ {
+ return $this->data;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setRequestId($requestId)
+ {
+ $this->requestId = $requestId;
+ }
+
+ public function getRequestId()
+ {
+ return $this->requestId;
+ }
+
+ public function setTripOption($tripOption)
+ {
+ $this->tripOption = $tripOption;
+ }
+
+ public function getTripOption()
+ {
+ return $this->tripOption;
+ }
+}
+
+class Google_Service_QPXExpress_TripsSearchRequest extends Google_Model
+{
+ protected $requestType = 'Google_Service_QPXExpress_TripOptionsRequest';
+ protected $requestDataType = '';
+
+ public function setRequest(Google_Service_QPXExpress_TripOptionsRequest $request)
+ {
+ $this->request = $request;
+ }
+
+ public function getRequest()
+ {
+ return $this->request;
+ }
+}
+
+class Google_Service_QPXExpress_TripsSearchResponse extends Google_Model
+{
+ public $kind;
+ protected $tripsType = 'Google_Service_QPXExpress_TripOptionsResponse';
+ protected $tripsDataType = '';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setTrips(Google_Service_QPXExpress_TripOptionsResponse $trips)
+ {
+ $this->trips = $trips;
+ }
+
+ public function getTrips()
+ {
+ return $this->trips;
+ }
+}
From 237b1ac456669de8dc2ea0107652c7fa46103f89 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $accountSummaries = $analyticsService->accountSummaries;
+ *
+ */
+class Google_Service_Analytics_ManagementAccountSummaries_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Lists account summaries (lightweight tree comprised of
+ * accounts/properties/profiles) to which the user has access.
+ * (accountSummaries.listManagementAccountSummaries)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int maxResults
+ * The maximum number of filters to include in this response.
+ * @opt_param int startIndex
+ * An index of the first entity to retrieve. Use this parameter as a pagination mechanism along
+ * with the max-results parameter.
+ * @return Google_Service_Analytics_AccountSummaries
+ */
+ public function listManagementAccountSummaries($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Analytics_AccountSummaries");
+ }
+}
/**
* The "accountUserLinks" collection of methods.
* Typical usage is:
@@ -2762,6 +2818,148 @@ public function getName()
}
}
+class Google_Service_Analytics_AccountSummaries extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_Analytics_AccountSummary';
+ protected $itemsDataType = 'array';
+ public $itemsPerPage;
+ public $kind;
+ public $nextLink;
+ public $previousLink;
+ public $startIndex;
+ public $totalResults;
+ public $username;
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setItemsPerPage($itemsPerPage)
+ {
+ $this->itemsPerPage = $itemsPerPage;
+ }
+
+ public function getItemsPerPage()
+ {
+ return $this->itemsPerPage;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextLink($nextLink)
+ {
+ $this->nextLink = $nextLink;
+ }
+
+ public function getNextLink()
+ {
+ return $this->nextLink;
+ }
+
+ public function setPreviousLink($previousLink)
+ {
+ $this->previousLink = $previousLink;
+ }
+
+ public function getPreviousLink()
+ {
+ return $this->previousLink;
+ }
+
+ public function setStartIndex($startIndex)
+ {
+ $this->startIndex = $startIndex;
+ }
+
+ public function getStartIndex()
+ {
+ return $this->startIndex;
+ }
+
+ public function setTotalResults($totalResults)
+ {
+ $this->totalResults = $totalResults;
+ }
+
+ public function getTotalResults()
+ {
+ return $this->totalResults;
+ }
+
+ public function setUsername($username)
+ {
+ $this->username = $username;
+ }
+
+ public function getUsername()
+ {
+ return $this->username;
+ }
+}
+
+class Google_Service_Analytics_AccountSummary extends Google_Collection
+{
+ public $id;
+ public $kind;
+ public $name;
+ protected $webPropertiesType = 'Google_Service_Analytics_WebPropertySummary';
+ protected $webPropertiesDataType = 'array';
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setWebProperties($webProperties)
+ {
+ $this->webProperties = $webProperties;
+ }
+
+ public function getWebProperties()
+ {
+ return $this->webProperties;
+ }
+}
+
class Google_Service_Analytics_Accounts extends Google_Collection
{
protected $itemsType = 'Google_Service_Analytics_Account';
@@ -6266,6 +6464,54 @@ public function getWebPropertyId()
}
}
+class Google_Service_Analytics_ProfileSummary extends Google_Model
+{
+ public $id;
+ public $kind;
+ public $name;
+ public $type;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
class Google_Service_Analytics_Profiles extends Google_Collection
{
protected $itemsType = 'Google_Service_Analytics_Profile';
@@ -7086,6 +7332,88 @@ public function getName()
}
}
+class Google_Service_Analytics_WebPropertySummary extends Google_Collection
+{
+ public $id;
+ public $internalWebPropertyId;
+ public $kind;
+ public $level;
+ public $name;
+ protected $profilesType = 'Google_Service_Analytics_ProfileSummary';
+ protected $profilesDataType = 'array';
+ public $websiteUrl;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setInternalWebPropertyId($internalWebPropertyId)
+ {
+ $this->internalWebPropertyId = $internalWebPropertyId;
+ }
+
+ public function getInternalWebPropertyId()
+ {
+ return $this->internalWebPropertyId;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setLevel($level)
+ {
+ $this->level = $level;
+ }
+
+ public function getLevel()
+ {
+ return $this->level;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setProfiles($profiles)
+ {
+ $this->profiles = $profiles;
+ }
+
+ public function getProfiles()
+ {
+ return $this->profiles;
+ }
+
+ public function setWebsiteUrl($websiteUrl)
+ {
+ $this->websiteUrl = $websiteUrl;
+ }
+
+ public function getWebsiteUrl()
+ {
+ return $this->websiteUrl;
+ }
+}
+
class Google_Service_Analytics_Webproperties extends Google_Collection
{
protected $itemsType = 'Google_Service_Analytics_Webproperty';
From e4485c15ac5aa1aeca347257b7ddfaa1967662f6 Mon Sep 17 00:00:00 2001
From: Misha Nasledov - * For more information about this service, see the API - * Documentation - *
- * - * @author Google, Inc. - */ -class Google_Service_QpxExpress extends Google_Service -{ - - - public $trips; - - - /** - * Constructs the internal representation of the QpxExpress service. - * - * @param Google_Client $client - */ - public function __construct(Google_Client $client) - { - parent::__construct($client); - $this->servicePath = 'qpxExpress/v1/trips/'; - $this->version = 'v1'; - $this->serviceName = 'qpxExpress'; - - $this->trips = new Google_Service_QpxExpress_Trips_Resource( - $this, - $this->serviceName, - 'trips', - array( - 'methods' => array( - 'search' => array( - 'path' => 'search', - 'httpMethod' => 'POST', - 'parameters' => array(), - ), - ) - ) - ); - } -} - - -/** - * The "trips" collection of methods. - * Typical usage is: - *
- * $qpxExpressService = new Google_Service_QpxExpress(...);
- * $trips = $qpxExpressService->trips;
- *
- */
-class Google_Service_QpxExpress_Trips_Resource extends Google_Service_Resource
-{
-
- /**
- * Returns a list of flights. (trips.search)
- *
- * @param Google_TripsSearchRequest $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_QpxExpress_TripsSearchResponse
- */
- public function search(Google_Service_QpxExpress_TripsSearchRequest $postBody, $optParams = array())
- {
- $params = array('postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('search', array($params), "Google_Service_QpxExpress_TripsSearchResponse");
- }
-}
-
-
-
-
-class Google_Service_QpxExpress_AircraftData extends Google_Model
-{
- public $code;
- public $kind;
- public $name;
-
- public function setCode($code)
- {
- $this->code = $code;
- }
-
- public function getCode()
- {
- return $this->code;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-}
-
-class Google_Service_QpxExpress_AirportData extends Google_Model
-{
- public $city;
- public $code;
- public $kind;
- public $name;
-
- public function setCity($city)
- {
- $this->city = $city;
- }
-
- public function getCity()
- {
- return $this->city;
- }
-
- public function setCode($code)
- {
- $this->code = $code;
- }
-
- public function getCode()
- {
- return $this->code;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-}
-
-class Google_Service_QpxExpress_BagDescriptor extends Google_Collection
-{
- public $commercialName;
- public $count;
- public $description;
- public $kind;
- public $subcode;
-
- public function setCommercialName($commercialName)
- {
- $this->commercialName = $commercialName;
- }
-
- public function getCommercialName()
- {
- return $this->commercialName;
- }
-
- public function setCount($count)
- {
- $this->count = $count;
- }
-
- public function getCount()
- {
- return $this->count;
- }
-
- public function setDescription($description)
- {
- $this->description = $description;
- }
-
- public function getDescription()
- {
- return $this->description;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setSubcode($subcode)
- {
- $this->subcode = $subcode;
- }
-
- public function getSubcode()
- {
- return $this->subcode;
- }
-}
-
-class Google_Service_QpxExpress_CarrierData extends Google_Model
-{
- public $code;
- public $kind;
- public $name;
-
- public function setCode($code)
- {
- $this->code = $code;
- }
-
- public function getCode()
- {
- return $this->code;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-}
-
-class Google_Service_QpxExpress_CityData extends Google_Model
-{
- public $code;
- public $country;
- public $kind;
- public $name;
-
- public function setCode($code)
- {
- $this->code = $code;
- }
-
- public function getCode()
- {
- return $this->code;
- }
-
- public function setCountry($country)
- {
- $this->country = $country;
- }
-
- public function getCountry()
- {
- return $this->country;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-}
-
-class Google_Service_QpxExpress_Data extends Google_Collection
-{
- protected $aircraftType = 'Google_Service_QpxExpress_AircraftData';
- protected $aircraftDataType = 'array';
- protected $airportType = 'Google_Service_QpxExpress_AirportData';
- protected $airportDataType = 'array';
- protected $carrierType = 'Google_Service_QpxExpress_CarrierData';
- protected $carrierDataType = 'array';
- protected $cityType = 'Google_Service_QpxExpress_CityData';
- protected $cityDataType = 'array';
- public $kind;
- protected $taxType = 'Google_Service_QpxExpress_TaxData';
- protected $taxDataType = 'array';
-
- public function setAircraft($aircraft)
- {
- $this->aircraft = $aircraft;
- }
-
- public function getAircraft()
- {
- return $this->aircraft;
- }
-
- public function setAirport($airport)
- {
- $this->airport = $airport;
- }
-
- public function getAirport()
- {
- return $this->airport;
- }
-
- public function setCarrier($carrier)
- {
- $this->carrier = $carrier;
- }
-
- public function getCarrier()
- {
- return $this->carrier;
- }
-
- public function setCity($city)
- {
- $this->city = $city;
- }
-
- public function getCity()
- {
- return $this->city;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setTax($tax)
- {
- $this->tax = $tax;
- }
-
- public function getTax()
- {
- return $this->tax;
- }
-}
-
-class Google_Service_QpxExpress_FareInfo extends Google_Model
-{
- public $basisCode;
- public $carrier;
- public $destination;
- public $id;
- public $kind;
- public $origin;
- public $private;
-
- public function setBasisCode($basisCode)
- {
- $this->basisCode = $basisCode;
- }
-
- public function getBasisCode()
- {
- return $this->basisCode;
- }
-
- public function setCarrier($carrier)
- {
- $this->carrier = $carrier;
- }
-
- public function getCarrier()
- {
- return $this->carrier;
- }
-
- public function setDestination($destination)
- {
- $this->destination = $destination;
- }
-
- public function getDestination()
- {
- return $this->destination;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setOrigin($origin)
- {
- $this->origin = $origin;
- }
-
- public function getOrigin()
- {
- return $this->origin;
- }
-
- public function setPrivate($private)
- {
- $this->private = $private;
- }
-
- public function getPrivate()
- {
- return $this->private;
- }
-}
-
-class Google_Service_QpxExpress_FlightInfo extends Google_Model
-{
- public $carrier;
- public $number;
-
- public function setCarrier($carrier)
- {
- $this->carrier = $carrier;
- }
-
- public function getCarrier()
- {
- return $this->carrier;
- }
-
- public function setNumber($number)
- {
- $this->number = $number;
- }
-
- public function getNumber()
- {
- return $this->number;
- }
-}
-
-class Google_Service_QpxExpress_FreeBaggageAllowance extends Google_Collection
-{
- protected $bagDescriptorType = 'Google_Service_QpxExpress_BagDescriptor';
- protected $bagDescriptorDataType = 'array';
- public $kilos;
- public $kilosPerPiece;
- public $kind;
- public $pieces;
- public $pounds;
-
- public function setBagDescriptor($bagDescriptor)
- {
- $this->bagDescriptor = $bagDescriptor;
- }
-
- public function getBagDescriptor()
- {
- return $this->bagDescriptor;
- }
-
- public function setKilos($kilos)
- {
- $this->kilos = $kilos;
- }
-
- public function getKilos()
- {
- return $this->kilos;
- }
-
- public function setKilosPerPiece($kilosPerPiece)
- {
- $this->kilosPerPiece = $kilosPerPiece;
- }
-
- public function getKilosPerPiece()
- {
- return $this->kilosPerPiece;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setPieces($pieces)
- {
- $this->pieces = $pieces;
- }
-
- public function getPieces()
- {
- return $this->pieces;
- }
-
- public function setPounds($pounds)
- {
- $this->pounds = $pounds;
- }
-
- public function getPounds()
- {
- return $this->pounds;
- }
-}
-
-class Google_Service_QpxExpress_LegInfo extends Google_Model
-{
- public $aircraft;
- public $arrivalTime;
- public $changePlane;
- public $connectionDuration;
- public $departureTime;
- public $destination;
- public $destinationTerminal;
- public $duration;
- public $id;
- public $kind;
- public $meal;
- public $mileage;
- public $onTimePerformance;
- public $operatingDisclosure;
- public $origin;
- public $originTerminal;
- public $secure;
-
- public function setAircraft($aircraft)
- {
- $this->aircraft = $aircraft;
- }
-
- public function getAircraft()
- {
- return $this->aircraft;
- }
-
- public function setArrivalTime($arrivalTime)
- {
- $this->arrivalTime = $arrivalTime;
- }
-
- public function getArrivalTime()
- {
- return $this->arrivalTime;
- }
-
- public function setChangePlane($changePlane)
- {
- $this->changePlane = $changePlane;
- }
-
- public function getChangePlane()
- {
- return $this->changePlane;
- }
-
- public function setConnectionDuration($connectionDuration)
- {
- $this->connectionDuration = $connectionDuration;
- }
-
- public function getConnectionDuration()
- {
- return $this->connectionDuration;
- }
-
- public function setDepartureTime($departureTime)
- {
- $this->departureTime = $departureTime;
- }
-
- public function getDepartureTime()
- {
- return $this->departureTime;
- }
-
- public function setDestination($destination)
- {
- $this->destination = $destination;
- }
-
- public function getDestination()
- {
- return $this->destination;
- }
-
- public function setDestinationTerminal($destinationTerminal)
- {
- $this->destinationTerminal = $destinationTerminal;
- }
-
- public function getDestinationTerminal()
- {
- return $this->destinationTerminal;
- }
-
- public function setDuration($duration)
- {
- $this->duration = $duration;
- }
-
- public function getDuration()
- {
- return $this->duration;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setMeal($meal)
- {
- $this->meal = $meal;
- }
-
- public function getMeal()
- {
- return $this->meal;
- }
-
- public function setMileage($mileage)
- {
- $this->mileage = $mileage;
- }
-
- public function getMileage()
- {
- return $this->mileage;
- }
-
- public function setOnTimePerformance($onTimePerformance)
- {
- $this->onTimePerformance = $onTimePerformance;
- }
-
- public function getOnTimePerformance()
- {
- return $this->onTimePerformance;
- }
-
- public function setOperatingDisclosure($operatingDisclosure)
- {
- $this->operatingDisclosure = $operatingDisclosure;
- }
-
- public function getOperatingDisclosure()
- {
- return $this->operatingDisclosure;
- }
-
- public function setOrigin($origin)
- {
- $this->origin = $origin;
- }
-
- public function getOrigin()
- {
- return $this->origin;
- }
-
- public function setOriginTerminal($originTerminal)
- {
- $this->originTerminal = $originTerminal;
- }
-
- public function getOriginTerminal()
- {
- return $this->originTerminal;
- }
-
- public function setSecure($secure)
- {
- $this->secure = $secure;
- }
-
- public function getSecure()
- {
- return $this->secure;
- }
-}
-
-class Google_Service_QpxExpress_PassengerCounts extends Google_Model
-{
- public $adultCount;
- public $childCount;
- public $infantInLapCount;
- public $infantInSeatCount;
- public $kind;
- public $seniorCount;
-
- public function setAdultCount($adultCount)
- {
- $this->adultCount = $adultCount;
- }
-
- public function getAdultCount()
- {
- return $this->adultCount;
- }
-
- public function setChildCount($childCount)
- {
- $this->childCount = $childCount;
- }
-
- public function getChildCount()
- {
- return $this->childCount;
- }
-
- public function setInfantInLapCount($infantInLapCount)
- {
- $this->infantInLapCount = $infantInLapCount;
- }
-
- public function getInfantInLapCount()
- {
- return $this->infantInLapCount;
- }
-
- public function setInfantInSeatCount($infantInSeatCount)
- {
- $this->infantInSeatCount = $infantInSeatCount;
- }
-
- public function getInfantInSeatCount()
- {
- return $this->infantInSeatCount;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setSeniorCount($seniorCount)
- {
- $this->seniorCount = $seniorCount;
- }
-
- public function getSeniorCount()
- {
- return $this->seniorCount;
- }
-}
-
-class Google_Service_QpxExpress_PricingInfo extends Google_Collection
-{
- public $baseFareTotal;
- protected $fareType = 'Google_Service_QpxExpress_FareInfo';
- protected $fareDataType = 'array';
- public $fareCalculation;
- public $kind;
- public $latestTicketingTime;
- protected $passengersType = 'Google_Service_QpxExpress_PassengerCounts';
- protected $passengersDataType = '';
- public $ptc;
- public $refundable;
- public $saleFareTotal;
- public $saleTaxTotal;
- public $saleTotal;
- protected $segmentPricingType = 'Google_Service_QpxExpress_SegmentPricing';
- protected $segmentPricingDataType = 'array';
- protected $taxType = 'Google_Service_QpxExpress_TaxInfo';
- protected $taxDataType = 'array';
-
- public function setBaseFareTotal($baseFareTotal)
- {
- $this->baseFareTotal = $baseFareTotal;
- }
-
- public function getBaseFareTotal()
- {
- return $this->baseFareTotal;
- }
-
- public function setFare($fare)
- {
- $this->fare = $fare;
- }
-
- public function getFare()
- {
- return $this->fare;
- }
-
- public function setFareCalculation($fareCalculation)
- {
- $this->fareCalculation = $fareCalculation;
- }
-
- public function getFareCalculation()
- {
- return $this->fareCalculation;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setLatestTicketingTime($latestTicketingTime)
- {
- $this->latestTicketingTime = $latestTicketingTime;
- }
-
- public function getLatestTicketingTime()
- {
- return $this->latestTicketingTime;
- }
-
- public function setPassengers(Google_Service_QpxExpress_PassengerCounts $passengers)
- {
- $this->passengers = $passengers;
- }
-
- public function getPassengers()
- {
- return $this->passengers;
- }
-
- public function setPtc($ptc)
- {
- $this->ptc = $ptc;
- }
-
- public function getPtc()
- {
- return $this->ptc;
- }
-
- public function setRefundable($refundable)
- {
- $this->refundable = $refundable;
- }
-
- public function getRefundable()
- {
- return $this->refundable;
- }
-
- public function setSaleFareTotal($saleFareTotal)
- {
- $this->saleFareTotal = $saleFareTotal;
- }
-
- public function getSaleFareTotal()
- {
- return $this->saleFareTotal;
- }
-
- public function setSaleTaxTotal($saleTaxTotal)
- {
- $this->saleTaxTotal = $saleTaxTotal;
- }
-
- public function getSaleTaxTotal()
- {
- return $this->saleTaxTotal;
- }
-
- public function setSaleTotal($saleTotal)
- {
- $this->saleTotal = $saleTotal;
- }
-
- public function getSaleTotal()
- {
- return $this->saleTotal;
- }
-
- public function setSegmentPricing($segmentPricing)
- {
- $this->segmentPricing = $segmentPricing;
- }
-
- public function getSegmentPricing()
- {
- return $this->segmentPricing;
- }
-
- public function setTax($tax)
- {
- $this->tax = $tax;
- }
-
- public function getTax()
- {
- return $this->tax;
- }
-}
-
-class Google_Service_QpxExpress_SegmentInfo extends Google_Collection
-{
- public $bookingCode;
- public $bookingCodeCount;
- public $cabin;
- public $connectionDuration;
- public $duration;
- protected $flightType = 'Google_Service_QpxExpress_FlightInfo';
- protected $flightDataType = '';
- public $id;
- public $kind;
- protected $legType = 'Google_Service_QpxExpress_LegInfo';
- protected $legDataType = 'array';
- public $marriedSegmentGroup;
- public $subjectToGovernmentApproval;
-
- public function setBookingCode($bookingCode)
- {
- $this->bookingCode = $bookingCode;
- }
-
- public function getBookingCode()
- {
- return $this->bookingCode;
- }
-
- public function setBookingCodeCount($bookingCodeCount)
- {
- $this->bookingCodeCount = $bookingCodeCount;
- }
-
- public function getBookingCodeCount()
- {
- return $this->bookingCodeCount;
- }
-
- public function setCabin($cabin)
- {
- $this->cabin = $cabin;
- }
-
- public function getCabin()
- {
- return $this->cabin;
- }
-
- public function setConnectionDuration($connectionDuration)
- {
- $this->connectionDuration = $connectionDuration;
- }
-
- public function getConnectionDuration()
- {
- return $this->connectionDuration;
- }
-
- public function setDuration($duration)
- {
- $this->duration = $duration;
- }
-
- public function getDuration()
- {
- return $this->duration;
- }
-
- public function setFlight(Google_Service_QpxExpress_FlightInfo $flight)
- {
- $this->flight = $flight;
- }
-
- public function getFlight()
- {
- return $this->flight;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setLeg($leg)
- {
- $this->leg = $leg;
- }
-
- public function getLeg()
- {
- return $this->leg;
- }
-
- public function setMarriedSegmentGroup($marriedSegmentGroup)
- {
- $this->marriedSegmentGroup = $marriedSegmentGroup;
- }
-
- public function getMarriedSegmentGroup()
- {
- return $this->marriedSegmentGroup;
- }
-
- public function setSubjectToGovernmentApproval($subjectToGovernmentApproval)
- {
- $this->subjectToGovernmentApproval = $subjectToGovernmentApproval;
- }
-
- public function getSubjectToGovernmentApproval()
- {
- return $this->subjectToGovernmentApproval;
- }
-}
-
-class Google_Service_QpxExpress_SegmentPricing extends Google_Collection
-{
- public $fareId;
- protected $freeBaggageOptionType = 'Google_Service_QpxExpress_FreeBaggageAllowance';
- protected $freeBaggageOptionDataType = 'array';
- public $kind;
- public $segmentId;
-
- public function setFareId($fareId)
- {
- $this->fareId = $fareId;
- }
-
- public function getFareId()
- {
- return $this->fareId;
- }
-
- public function setFreeBaggageOption($freeBaggageOption)
- {
- $this->freeBaggageOption = $freeBaggageOption;
- }
-
- public function getFreeBaggageOption()
- {
- return $this->freeBaggageOption;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setSegmentId($segmentId)
- {
- $this->segmentId = $segmentId;
- }
-
- public function getSegmentId()
- {
- return $this->segmentId;
- }
-}
-
-class Google_Service_QpxExpress_SliceInfo extends Google_Collection
-{
- public $duration;
- public $kind;
- protected $segmentType = 'Google_Service_QpxExpress_SegmentInfo';
- protected $segmentDataType = 'array';
-
- public function setDuration($duration)
- {
- $this->duration = $duration;
- }
-
- public function getDuration()
- {
- return $this->duration;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setSegment($segment)
- {
- $this->segment = $segment;
- }
-
- public function getSegment()
- {
- return $this->segment;
- }
-}
-
-class Google_Service_QpxExpress_SliceInput extends Google_Collection
-{
- public $alliance;
- public $date;
- public $destination;
- public $kind;
- public $maxConnectionDuration;
- public $maxStops;
- public $origin;
- public $permittedCarrier;
- protected $permittedDepartureTimeType = 'Google_Service_QpxExpress_TimeOfDayRange';
- protected $permittedDepartureTimeDataType = '';
- public $preferredCabin;
- public $prohibitedCarrier;
-
- public function setAlliance($alliance)
- {
- $this->alliance = $alliance;
- }
-
- public function getAlliance()
- {
- return $this->alliance;
- }
-
- public function setDate($date)
- {
- $this->date = $date;
- }
-
- public function getDate()
- {
- return $this->date;
- }
-
- public function setDestination($destination)
- {
- $this->destination = $destination;
- }
-
- public function getDestination()
- {
- return $this->destination;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setMaxConnectionDuration($maxConnectionDuration)
- {
- $this->maxConnectionDuration = $maxConnectionDuration;
- }
-
- public function getMaxConnectionDuration()
- {
- return $this->maxConnectionDuration;
- }
-
- public function setMaxStops($maxStops)
- {
- $this->maxStops = $maxStops;
- }
-
- public function getMaxStops()
- {
- return $this->maxStops;
- }
-
- public function setOrigin($origin)
- {
- $this->origin = $origin;
- }
-
- public function getOrigin()
- {
- return $this->origin;
- }
-
- public function setPermittedCarrier($permittedCarrier)
- {
- $this->permittedCarrier = $permittedCarrier;
- }
-
- public function getPermittedCarrier()
- {
- return $this->permittedCarrier;
- }
-
- public function setPermittedDepartureTime(Google_Service_QpxExpress_TimeOfDayRange $permittedDepartureTime)
- {
- $this->permittedDepartureTime = $permittedDepartureTime;
- }
-
- public function getPermittedDepartureTime()
- {
- return $this->permittedDepartureTime;
- }
-
- public function setPreferredCabin($preferredCabin)
- {
- $this->preferredCabin = $preferredCabin;
- }
-
- public function getPreferredCabin()
- {
- return $this->preferredCabin;
- }
-
- public function setProhibitedCarrier($prohibitedCarrier)
- {
- $this->prohibitedCarrier = $prohibitedCarrier;
- }
-
- public function getProhibitedCarrier()
- {
- return $this->prohibitedCarrier;
- }
-}
-
-class Google_Service_QpxExpress_TaxData extends Google_Model
-{
- public $id;
- public $kind;
- public $name;
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-}
-
-class Google_Service_QpxExpress_TaxInfo extends Google_Model
-{
- public $chargeType;
- public $code;
- public $country;
- public $id;
- public $kind;
- public $salePrice;
-
- public function setChargeType($chargeType)
- {
- $this->chargeType = $chargeType;
- }
-
- public function getChargeType()
- {
- return $this->chargeType;
- }
-
- public function setCode($code)
- {
- $this->code = $code;
- }
-
- public function getCode()
- {
- return $this->code;
- }
-
- public function setCountry($country)
- {
- $this->country = $country;
- }
-
- public function getCountry()
- {
- return $this->country;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setSalePrice($salePrice)
- {
- $this->salePrice = $salePrice;
- }
-
- public function getSalePrice()
- {
- return $this->salePrice;
- }
-}
-
-class Google_Service_QpxExpress_TimeOfDayRange extends Google_Model
-{
- public $earliestTime;
- public $kind;
- public $latestTime;
-
- public function setEarliestTime($earliestTime)
- {
- $this->earliestTime = $earliestTime;
- }
-
- public function getEarliestTime()
- {
- return $this->earliestTime;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setLatestTime($latestTime)
- {
- $this->latestTime = $latestTime;
- }
-
- public function getLatestTime()
- {
- return $this->latestTime;
- }
-}
-
-class Google_Service_QpxExpress_TripOption extends Google_Collection
-{
- public $id;
- public $kind;
- protected $pricingType = 'Google_Service_QpxExpress_PricingInfo';
- protected $pricingDataType = 'array';
- public $saleTotal;
- protected $sliceType = 'Google_Service_QpxExpress_SliceInfo';
- protected $sliceDataType = 'array';
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setPricing($pricing)
- {
- $this->pricing = $pricing;
- }
-
- public function getPricing()
- {
- return $this->pricing;
- }
-
- public function setSaleTotal($saleTotal)
- {
- $this->saleTotal = $saleTotal;
- }
-
- public function getSaleTotal()
- {
- return $this->saleTotal;
- }
-
- public function setSlice($slice)
- {
- $this->slice = $slice;
- }
-
- public function getSlice()
- {
- return $this->slice;
- }
-}
-
-class Google_Service_QpxExpress_TripOptionsRequest extends Google_Collection
-{
- public $maxPrice;
- protected $passengersType = 'Google_Service_QpxExpress_PassengerCounts';
- protected $passengersDataType = '';
- public $refundable;
- public $saleCountry;
- protected $sliceType = 'Google_Service_QpxExpress_SliceInput';
- protected $sliceDataType = 'array';
- public $solutions;
-
- public function setMaxPrice($maxPrice)
- {
- $this->maxPrice = $maxPrice;
- }
-
- public function getMaxPrice()
- {
- return $this->maxPrice;
- }
-
- public function setPassengers(Google_Service_QpxExpress_PassengerCounts $passengers)
- {
- $this->passengers = $passengers;
- }
-
- public function getPassengers()
- {
- return $this->passengers;
- }
-
- public function setRefundable($refundable)
- {
- $this->refundable = $refundable;
- }
-
- public function getRefundable()
- {
- return $this->refundable;
- }
-
- public function setSaleCountry($saleCountry)
- {
- $this->saleCountry = $saleCountry;
- }
-
- public function getSaleCountry()
- {
- return $this->saleCountry;
- }
-
- public function setSlice($slice)
- {
- $this->slice = $slice;
- }
-
- public function getSlice()
- {
- return $this->slice;
- }
-
- public function setSolutions($solutions)
- {
- $this->solutions = $solutions;
- }
-
- public function getSolutions()
- {
- return $this->solutions;
- }
-}
-
-class Google_Service_QpxExpress_TripOptionsResponse extends Google_Collection
-{
- protected $dataType = 'Google_Service_QpxExpress_Data';
- protected $dataDataType = '';
- public $kind;
- public $requestId;
- protected $tripOptionType = 'Google_Service_QpxExpress_TripOption';
- protected $tripOptionDataType = 'array';
-
- public function setData(Google_Service_QpxExpress_Data $data)
- {
- $this->data = $data;
- }
-
- public function getData()
- {
- return $this->data;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setRequestId($requestId)
- {
- $this->requestId = $requestId;
- }
-
- public function getRequestId()
- {
- return $this->requestId;
- }
-
- public function setTripOption($tripOption)
- {
- $this->tripOption = $tripOption;
- }
-
- public function getTripOption()
- {
- return $this->tripOption;
- }
-}
-
-class Google_Service_QpxExpress_TripsSearchRequest extends Google_Model
-{
- protected $requestType = 'Google_Service_QpxExpress_TripOptionsRequest';
- protected $requestDataType = '';
-
- public function setRequest(Google_Service_QpxExpress_TripOptionsRequest $request)
- {
- $this->request = $request;
- }
-
- public function getRequest()
- {
- return $this->request;
- }
-}
-
-class Google_Service_QpxExpress_TripsSearchResponse extends Google_Model
-{
- public $kind;
- protected $tripsType = 'Google_Service_QpxExpress_TripOptionsResponse';
- protected $tripsDataType = '';
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setTrips(Google_Service_QpxExpress_TripOptionsResponse $trips)
- {
- $this->trips = $trips;
- }
-
- public function getTrips()
- {
- return $this->trips;
- }
-}
From 528c482c026dc18d8cbbce027c5401657da0d1af Mon Sep 17 00:00:00 2001
From: Ian Barber + * For more information about this service, see the API + * Documentation + *
+ * + * @author Google, Inc. + */ +class Google_Service_MapsEngine extends Google_Service +{ + /** View and manage your Google Maps Engine data. */ + const MAPSENGINE = "https://www.googleapis.com/auth/mapsengine"; + /** View your Google Maps Engine data. */ + const MAPSENGINE_READONLY = "https://www.googleapis.com/auth/mapsengine.readonly"; + + public $assets; + public $assets_parents; + public $layers; + public $layers_parents; + public $maps; + public $projects; + public $rasterCollections; + public $rasterCollections_parents; + public $rasterCollections_rasters; + public $rasters; + public $rasters_files; + public $rasters_parents; + public $tables; + public $tables_features; + public $tables_files; + public $tables_parents; + + + /** + * Constructs the internal representation of the MapsEngine service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->servicePath = 'mapsengine/v1/'; + $this->version = 'v1'; + $this->serviceName = 'mapsengine'; + + $this->assets = new Google_Service_MapsEngine_Assets_Resource( + $this, + $this->serviceName, + 'assets', + array( + 'methods' => array( + 'get' => array( + 'path' => 'assets/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'assets', + 'httpMethod' => 'GET', + 'parameters' => array( + 'modifiedAfter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'createdAfter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projectId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'creatorEmail' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'bbox' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'modifiedBefore' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'createdBefore' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'type' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->assets_parents = new Google_Service_MapsEngine_AssetsParents_Resource( + $this, + $this->serviceName, + 'parents', + array( + 'methods' => array( + 'list' => array( + 'path' => 'assets/{id}/parents', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->layers = new Google_Service_MapsEngine_Layers_Resource( + $this, + $this->serviceName, + 'layers', + array( + 'methods' => array( + 'get' => array( + 'path' => 'layers/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'version' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'layers', + 'httpMethod' => 'GET', + 'parameters' => array( + 'modifiedAfter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'createdAfter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projectId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'creatorEmail' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'bbox' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'modifiedBefore' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'createdBefore' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->layers_parents = new Google_Service_MapsEngine_LayersParents_Resource( + $this, + $this->serviceName, + 'parents', + array( + 'methods' => array( + 'list' => array( + 'path' => 'layers/{id}/parents', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->maps = new Google_Service_MapsEngine_Maps_Resource( + $this, + $this->serviceName, + 'maps', + array( + 'methods' => array( + 'get' => array( + 'path' => 'maps/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'version' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'maps', + 'httpMethod' => 'GET', + 'parameters' => array( + 'modifiedAfter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'createdAfter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projectId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'creatorEmail' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'bbox' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'modifiedBefore' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'createdBefore' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->projects = new Google_Service_MapsEngine_Projects_Resource( + $this, + $this->serviceName, + 'projects', + array( + 'methods' => array( + 'list' => array( + 'path' => 'projects', + 'httpMethod' => 'GET', + 'parameters' => array(), + ), + ) + ) + ); + $this->rasterCollections = new Google_Service_MapsEngine_RasterCollections_Resource( + $this, + $this->serviceName, + 'rasterCollections', + array( + 'methods' => array( + 'get' => array( + 'path' => 'rasterCollections/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'rasterCollections', + 'httpMethod' => 'GET', + 'parameters' => array( + 'modifiedAfter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'createdAfter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projectId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'creatorEmail' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'bbox' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'modifiedBefore' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'createdBefore' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->rasterCollections_parents = new Google_Service_MapsEngine_RasterCollectionsParents_Resource( + $this, + $this->serviceName, + 'parents', + array( + 'methods' => array( + 'list' => array( + 'path' => 'rasterCollections/{id}/parents', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->rasterCollections_rasters = new Google_Service_MapsEngine_RasterCollectionsRasters_Resource( + $this, + $this->serviceName, + 'rasters', + array( + 'methods' => array( + 'list' => array( + 'path' => 'rasterCollections/{id}/rasters', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'modifiedAfter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'createdAfter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'creatorEmail' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'bbox' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'modifiedBefore' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'createdBefore' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->rasters = new Google_Service_MapsEngine_Rasters_Resource( + $this, + $this->serviceName, + 'rasters', + array( + 'methods' => array( + 'get' => array( + 'path' => 'rasters/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'upload' => array( + 'path' => 'rasters/upload', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->rasters_files = new Google_Service_MapsEngine_RastersFiles_Resource( + $this, + $this->serviceName, + 'files', + array( + 'methods' => array( + 'insert' => array( + 'path' => 'rasters/{id}/files', + 'httpMethod' => 'POST', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filename' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->rasters_parents = new Google_Service_MapsEngine_RastersParents_Resource( + $this, + $this->serviceName, + 'parents', + array( + 'methods' => array( + 'list' => array( + 'path' => 'rasters/{id}/parents', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->tables = new Google_Service_MapsEngine_Tables_Resource( + $this, + $this->serviceName, + 'tables', + array( + 'methods' => array( + 'create' => array( + 'path' => 'tables', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'get' => array( + 'path' => 'tables/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'version' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'tables', + 'httpMethod' => 'GET', + 'parameters' => array( + 'modifiedAfter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'createdAfter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projectId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'creatorEmail' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'bbox' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'modifiedBefore' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'createdBefore' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'upload' => array( + 'path' => 'tables/upload', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->tables_features = new Google_Service_MapsEngine_TablesFeatures_Resource( + $this, + $this->serviceName, + 'features', + array( + 'methods' => array( + 'batchDelete' => array( + 'path' => 'tables/{id}/features/batchDelete', + 'httpMethod' => 'POST', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'batchInsert' => array( + 'path' => 'tables/{id}/features/batchInsert', + 'httpMethod' => 'POST', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'batchPatch' => array( + 'path' => 'tables/{id}/features/batchPatch', + 'httpMethod' => 'POST', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'tables/{tableId}/features/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'version' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'select' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'tables/{id}/features', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'intersects' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'version' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'limit' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'include' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'where' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'select' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->tables_files = new Google_Service_MapsEngine_TablesFiles_Resource( + $this, + $this->serviceName, + 'files', + array( + 'methods' => array( + 'insert' => array( + 'path' => 'tables/{id}/files', + 'httpMethod' => 'POST', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filename' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->tables_parents = new Google_Service_MapsEngine_TablesParents_Resource( + $this, + $this->serviceName, + 'parents', + array( + 'methods' => array( + 'list' => array( + 'path' => 'tables/{id}/parents', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "assets" collection of methods. + * Typical usage is: + *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $assets = $mapsengineService->assets;
+ *
+ */
+class Google_Service_MapsEngine_Assets_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Return metadata for a particular asset. (assets.get)
+ *
+ * @param string $id
+ * The ID of the asset.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_MapsengineResource
+ */
+ public function get($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_MapsEngine_MapsengineResource");
+ }
+ /**
+ * Return all assets readable by the current user. (assets.listAssets)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string modifiedAfter
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been modified at or after this time.
+ * @opt_param string createdAfter
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or after this time.
+ * @opt_param string projectId
+ * The ID of a Maps Engine project, used to filter the response. To list all available projects
+ * with their IDs, send a Projects: list request. You can also find your project ID as the value of
+ * the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
+ * @opt_param string maxResults
+ * The maximum number of items to include in a single response page. The maximum supported value is
+ * 100.
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string creatorEmail
+ * An email address representing a user. Returned assets that have been created by the user
+ * associated with the provided email address.
+ * @opt_param string bbox
+ * A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this
+ * bounding box will be returned.
+ * @opt_param string modifiedBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been modified at or before this time.
+ * @opt_param string createdBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or before this time.
+ * @opt_param string type
+ * An asset type restriction. If set, only resources of this type will be returned.
+ * @return Google_Service_MapsEngine_ResourcesListResponse
+ */
+ public function listAssets($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_ResourcesListResponse");
+ }
+}
+
+/**
+ * The "parents" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $parents = $mapsengineService->parents;
+ *
+ */
+class Google_Service_MapsEngine_AssetsParents_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Return all parent ids of the specified asset. (parents.listAssetsParents)
+ *
+ * @param string $id
+ * The ID of the asset whose parents will be listed.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string maxResults
+ * The maximum number of items to include in a single response page. The maximum supported value is
+ * 50.
+ * @return Google_Service_MapsEngine_ParentsListResponse
+ */
+ public function listAssetsParents($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_ParentsListResponse");
+ }
+}
+
+/**
+ * The "layers" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $layers = $mapsengineService->layers;
+ *
+ */
+class Google_Service_MapsEngine_Layers_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Return metadata for a particular layer. (layers.get)
+ *
+ * @param string $id
+ * The ID of the layer.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string version
+ *
+ * @return Google_Service_MapsEngine_Layer
+ */
+ public function get($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_MapsEngine_Layer");
+ }
+ /**
+ * Return all layers readable by the current user. (layers.listLayers)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string modifiedAfter
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been modified at or after this time.
+ * @opt_param string createdAfter
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or after this time.
+ * @opt_param string projectId
+ * The ID of a Maps Engine project, used to filter the response. To list all available projects
+ * with their IDs, send a Projects: list request. You can also find your project ID as the value of
+ * the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
+ * @opt_param string maxResults
+ * The maximum number of items to include in a single response page. The maximum supported value is
+ * 100.
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string creatorEmail
+ * An email address representing a user. Returned assets that have been created by the user
+ * associated with the provided email address.
+ * @opt_param string bbox
+ * A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this
+ * bounding box will be returned.
+ * @opt_param string modifiedBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been modified at or before this time.
+ * @opt_param string createdBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or before this time.
+ * @return Google_Service_MapsEngine_LayersListResponse
+ */
+ public function listLayers($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_LayersListResponse");
+ }
+}
+
+/**
+ * The "parents" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $parents = $mapsengineService->parents;
+ *
+ */
+class Google_Service_MapsEngine_LayersParents_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Return all parent ids of the specified layer. (parents.listLayersParents)
+ *
+ * @param string $id
+ * The ID of the layer whose parents will be listed.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string maxResults
+ * The maximum number of items to include in a single response page. The maximum supported value is
+ * 50.
+ * @return Google_Service_MapsEngine_ParentsListResponse
+ */
+ public function listLayersParents($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_ParentsListResponse");
+ }
+}
+
+/**
+ * The "maps" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $maps = $mapsengineService->maps;
+ *
+ */
+class Google_Service_MapsEngine_Maps_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Return metadata for a particular map. (maps.get)
+ *
+ * @param string $id
+ * The ID of the map.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string version
+ *
+ * @return Google_Service_MapsEngine_Map
+ */
+ public function get($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_MapsEngine_Map");
+ }
+ /**
+ * Return all maps readable by the current user. (maps.listMaps)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string modifiedAfter
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been modified at or after this time.
+ * @opt_param string createdAfter
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or after this time.
+ * @opt_param string projectId
+ * The ID of a Maps Engine project, used to filter the response. To list all available projects
+ * with their IDs, send a Projects: list request. You can also find your project ID as the value of
+ * the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
+ * @opt_param string maxResults
+ * The maximum number of items to include in a single response page. The maximum supported value is
+ * 100.
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string creatorEmail
+ * An email address representing a user. Returned assets that have been created by the user
+ * associated with the provided email address.
+ * @opt_param string bbox
+ * A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this
+ * bounding box will be returned.
+ * @opt_param string modifiedBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been modified at or before this time.
+ * @opt_param string createdBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or before this time.
+ * @return Google_Service_MapsEngine_MapsListResponse
+ */
+ public function listMaps($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_MapsListResponse");
+ }
+}
+
+/**
+ * The "projects" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $projects = $mapsengineService->projects;
+ *
+ */
+class Google_Service_MapsEngine_Projects_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Return all projects readable by the current user. (projects.listProjects)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_ProjectsListResponse
+ */
+ public function listProjects($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_ProjectsListResponse");
+ }
+}
+
+/**
+ * The "rasterCollections" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $rasterCollections = $mapsengineService->rasterCollections;
+ *
+ */
+class Google_Service_MapsEngine_RasterCollections_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Return metadata for a particular raster collection. (rasterCollections.get)
+ *
+ * @param string $id
+ * The ID of the raster collection.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_RasterCollection
+ */
+ public function get($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_MapsEngine_RasterCollection");
+ }
+ /**
+ * Return all raster collections readable by the current user.
+ * (rasterCollections.listRasterCollections)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string modifiedAfter
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been modified at or after this time.
+ * @opt_param string createdAfter
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or after this time.
+ * @opt_param string projectId
+ * The ID of a Maps Engine project, used to filter the response. To list all available projects
+ * with their IDs, send a Projects: list request. You can also find your project ID as the value of
+ * the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
+ * @opt_param string maxResults
+ * The maximum number of items to include in a single response page. The maximum supported value is
+ * 100.
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string creatorEmail
+ * An email address representing a user. Returned assets that have been created by the user
+ * associated with the provided email address.
+ * @opt_param string bbox
+ * A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this
+ * bounding box will be returned.
+ * @opt_param string modifiedBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been modified at or before this time.
+ * @opt_param string createdBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or before this time.
+ * @return Google_Service_MapsEngine_RastercollectionsListResponse
+ */
+ public function listRasterCollections($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_RastercollectionsListResponse");
+ }
+}
+
+/**
+ * The "parents" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $parents = $mapsengineService->parents;
+ *
+ */
+class Google_Service_MapsEngine_RasterCollectionsParents_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Return all parent ids of the specified raster collection.
+ * (parents.listRasterCollectionsParents)
+ *
+ * @param string $id
+ * The ID of the raster collection whose parents will be listed.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string maxResults
+ * The maximum number of items to include in a single response page. The maximum supported value is
+ * 50.
+ * @return Google_Service_MapsEngine_ParentsListResponse
+ */
+ public function listRasterCollectionsParents($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_ParentsListResponse");
+ }
+}
+/**
+ * The "rasters" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $rasters = $mapsengineService->rasters;
+ *
+ */
+class Google_Service_MapsEngine_RasterCollectionsRasters_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Return all rasters within a raster collection.
+ * (rasters.listRasterCollectionsRasters)
+ *
+ * @param string $id
+ * The ID of the raster collection to which these rasters belong.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string modifiedAfter
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been modified at or after this time.
+ * @opt_param string createdAfter
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or after this time.
+ * @opt_param string maxResults
+ * The maximum number of items to include in a single response page. The maximum supported value is
+ * 100.
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string creatorEmail
+ * An email address representing a user. Returned assets that have been created by the user
+ * associated with the provided email address.
+ * @opt_param string bbox
+ * A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this
+ * bounding box will be returned.
+ * @opt_param string modifiedBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been modified at or before this time.
+ * @opt_param string createdBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or before this time.
+ * @return Google_Service_MapsEngine_RastersListResponse
+ */
+ public function listRasterCollectionsRasters($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_RastersListResponse");
+ }
+}
+
+/**
+ * The "rasters" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $rasters = $mapsengineService->rasters;
+ *
+ */
+class Google_Service_MapsEngine_Rasters_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Return metadata for a single raster. (rasters.get)
+ *
+ * @param string $id
+ * The ID of the raster.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_Image
+ */
+ public function get($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_MapsEngine_Image");
+ }
+ /**
+ * Create a skeleton raster asset for upload. (rasters.upload)
+ *
+ * @param Google_Image $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_Image
+ */
+ public function upload(Google_Service_MapsEngine_Image $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('upload', array($params), "Google_Service_MapsEngine_Image");
+ }
+}
+
+/**
+ * The "files" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $files = $mapsengineService->files;
+ *
+ */
+class Google_Service_MapsEngine_RastersFiles_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Upload a file to a raster asset. (files.insert)
+ *
+ * @param string $id
+ * The ID of the raster asset.
+ * @param string $filename
+ * The file name of this uploaded file.
+ * @param array $optParams Optional parameters.
+ */
+ public function insert($id, $filename, $optParams = array())
+ {
+ $params = array('id' => $id, 'filename' => $filename);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params));
+ }
+}
+/**
+ * The "parents" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $parents = $mapsengineService->parents;
+ *
+ */
+class Google_Service_MapsEngine_RastersParents_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Return all parent ids of the specified rasters. (parents.listRastersParents)
+ *
+ * @param string $id
+ * The ID of the rasters whose parents will be listed.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string maxResults
+ * The maximum number of items to include in a single response page. The maximum supported value is
+ * 50.
+ * @return Google_Service_MapsEngine_ParentsListResponse
+ */
+ public function listRastersParents($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_ParentsListResponse");
+ }
+}
+
+/**
+ * The "tables" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $tables = $mapsengineService->tables;
+ *
+ */
+class Google_Service_MapsEngine_Tables_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Create a table asset. (tables.create)
+ *
+ * @param Google_Table $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_Table
+ */
+ public function create(Google_Service_MapsEngine_Table $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_MapsEngine_Table");
+ }
+ /**
+ * Return metadata for a particular table, including the schema. (tables.get)
+ *
+ * @param string $id
+ * The ID of the table.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string version
+ *
+ * @return Google_Service_MapsEngine_Table
+ */
+ public function get($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_MapsEngine_Table");
+ }
+ /**
+ * Return all tables readable by the current user. (tables.listTables)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string modifiedAfter
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been modified at or after this time.
+ * @opt_param string createdAfter
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or after this time.
+ * @opt_param string projectId
+ * The ID of a Maps Engine project, used to filter the response. To list all available projects
+ * with their IDs, send a Projects: list request. You can also find your project ID as the value of
+ * the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
+ * @opt_param string maxResults
+ * The maximum number of items to include in a single response page. The maximum supported value is
+ * 100.
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string creatorEmail
+ * An email address representing a user. Returned assets that have been created by the user
+ * associated with the provided email address.
+ * @opt_param string bbox
+ * A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this
+ * bounding box will be returned.
+ * @opt_param string modifiedBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been modified at or before this time.
+ * @opt_param string createdBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or before this time.
+ * @return Google_Service_MapsEngine_TablesListResponse
+ */
+ public function listTables($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_TablesListResponse");
+ }
+ /**
+ * Create a placeholder table asset to which table files can be uploaded. Once
+ * the placeholder has been created, files are uploaded to the
+ * https://www.googleapis.com/upload/mapsengine/v1/tables/table_id/files
+ * endpoint. See Table Upload in the Developer's Guide or Table.files: insert in
+ * the reference documentation for more information. (tables.upload)
+ *
+ * @param Google_Table $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_Table
+ */
+ public function upload(Google_Service_MapsEngine_Table $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('upload', array($params), "Google_Service_MapsEngine_Table");
+ }
+}
+
+/**
+ * The "features" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $features = $mapsengineService->features;
+ *
+ */
+class Google_Service_MapsEngine_TablesFeatures_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Delete all features matching the given IDs. (features.batchDelete)
+ *
+ * @param string $id
+ * The ID of the table that contains the features to be deleted.
+ * @param Google_FeaturesBatchDeleteRequest $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function batchDelete($id, Google_Service_MapsEngine_FeaturesBatchDeleteRequest $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batchDelete', array($params));
+ }
+ /**
+ * Append features to an existing table.
+ *
+ * A single batchInsert request can create:
+ *
+ * - Up to 50 features. - A combined total of 10 000 vertices. Feature limits
+ * are documented in the Supported data formats and limits article of the Google
+ * Maps Engine help center. Note that free and paid accounts have different
+ * limits.
+ *
+ * For more information about inserting features, read Creating features in the
+ * Google Maps Engine developer's guide. (features.batchInsert)
+ *
+ * @param string $id
+ * The ID of the table to append the features to.
+ * @param Google_FeaturesBatchInsertRequest $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function batchInsert($id, Google_Service_MapsEngine_FeaturesBatchInsertRequest $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batchInsert', array($params));
+ }
+ /**
+ * Update the supplied features.
+ *
+ * A single batchPatch request can update:
+ *
+ * - Up to 50 features. - A combined total of 10 000 vertices. Feature limits
+ * are documented in the Supported data formats and limits article of the Google
+ * Maps Engine help center. Note that free and paid accounts have different
+ * limits.
+ *
+ * Feature updates use HTTP PATCH semantics:
+ *
+ * - A supplied value replaces an existing value (if any) in that field. -
+ * Omitted fields remain unchanged. - Complex values in geometries and
+ * properties must be replaced as atomic units. For example, providing just the
+ * coordinates of a geometry is not allowed; the complete geometry, including
+ * type, must be supplied. - Setting a property's value to null deletes that
+ * property. For more information about updating features, read Updating
+ * features in the Google Maps Engine developer's guide. (features.batchPatch)
+ *
+ * @param string $id
+ * The ID of the table containing the features to be patched.
+ * @param Google_FeaturesBatchPatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function batchPatch($id, Google_Service_MapsEngine_FeaturesBatchPatchRequest $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batchPatch', array($params));
+ }
+ /**
+ * Return a single feature, given its ID. (features.get)
+ *
+ * @param string $tableId
+ * The ID of the table.
+ * @param string $id
+ * The ID of the feature to get.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string version
+ * The table version to access. See Accessing Public Data for information.
+ * @opt_param string select
+ * A SQL-like projection clause used to specify returned properties. If this parameter is not
+ * included, all properties are returned.
+ * @return Google_Service_MapsEngine_Feature
+ */
+ public function get($tableId, $id, $optParams = array())
+ {
+ $params = array('tableId' => $tableId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_MapsEngine_Feature");
+ }
+ /**
+ * Return all features readable by the current user.
+ * (features.listTablesFeatures)
+ *
+ * @param string $id
+ * The ID of the table to which these features belong.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string orderBy
+ * An SQL-like order by clause used to sort results. If this parameter is not included, the order
+ * of features is undefined.
+ * @opt_param string intersects
+ * A geometry literal that specifies the spatial restriction of the query.
+ * @opt_param string maxResults
+ * The maximum number of items to include in the response, used for paging.
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string version
+ * The table version to access. See Accessing Public Data for information.
+ * @opt_param string limit
+ * The total number of features to return from the query, irrespective of the number of pages.
+ * @opt_param string include
+ * A comma separated list of optional data to include. Optional data available: schema.
+ * @opt_param string where
+ * An SQL-like predicate used to filter results.
+ * @opt_param string select
+ * A SQL-like projection clause used to specify returned properties. If this parameter is not
+ * included, all properties are returned.
+ * @return Google_Service_MapsEngine_FeaturesListResponse
+ */
+ public function listTablesFeatures($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_FeaturesListResponse");
+ }
+}
+/**
+ * The "files" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $files = $mapsengineService->files;
+ *
+ */
+class Google_Service_MapsEngine_TablesFiles_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Upload a file to a placeholder table asset. See Table Upload in the
+ * Developer's Guide for more information. Supported file types are listed in
+ * the Supported data formats and limits article of the Google Maps Engine help
+ * center. (files.insert)
+ *
+ * @param string $id
+ * The ID of the table asset.
+ * @param string $filename
+ * The file name of this uploaded file.
+ * @param array $optParams Optional parameters.
+ */
+ public function insert($id, $filename, $optParams = array())
+ {
+ $params = array('id' => $id, 'filename' => $filename);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params));
+ }
+}
+/**
+ * The "parents" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $parents = $mapsengineService->parents;
+ *
+ */
+class Google_Service_MapsEngine_TablesParents_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Return all parent ids of the specified table. (parents.listTablesParents)
+ *
+ * @param string $id
+ * The ID of the table whose parents will be listed.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string maxResults
+ * The maximum number of items to include in a single response page. The maximum supported value is
+ * 50.
+ * @return Google_Service_MapsEngine_ParentsListResponse
+ */
+ public function listTablesParents($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_ParentsListResponse");
+ }
+}
+
+
+
+
+class Google_Service_MapsEngine_AcquisitionTime extends Google_Model
+{
+ public $end;
+ public $precision;
+ public $start;
+
+ public function setEnd($end)
+ {
+ $this->end = $end;
+ }
+
+ public function getEnd()
+ {
+ return $this->end;
+ }
+
+ public function setPrecision($precision)
+ {
+ $this->precision = $precision;
+ }
+
+ public function getPrecision()
+ {
+ return $this->precision;
+ }
+
+ public function setStart($start)
+ {
+ $this->start = $start;
+ }
+
+ public function getStart()
+ {
+ return $this->start;
+ }
+}
+
+class Google_Service_MapsEngine_Datasource extends Google_Model
+{
+ public $id;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+}
+
+class Google_Service_MapsEngine_Feature extends Google_Model
+{
+ protected $geometryType = 'Google_Service_MapsEngine_GeoJsonGeometry';
+ protected $geometryDataType = '';
+ public $properties;
+ public $type;
+
+ public function setGeometry(Google_Service_MapsEngine_GeoJsonGeometry $geometry)
+ {
+ $this->geometry = $geometry;
+ }
+
+ public function getGeometry()
+ {
+ return $this->geometry;
+ }
+
+ public function setProperties($properties)
+ {
+ $this->properties = $properties;
+ }
+
+ public function getProperties()
+ {
+ return $this->properties;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_MapsEngine_FeaturesBatchDeleteRequest extends Google_Collection
+{
+ public $featureIds;
+ public $gxIds;
+
+ public function setFeatureIds($featureIds)
+ {
+ $this->featureIds = $featureIds;
+ }
+
+ public function getFeatureIds()
+ {
+ return $this->featureIds;
+ }
+
+ public function setGxIds($gxIds)
+ {
+ $this->gxIds = $gxIds;
+ }
+
+ public function getGxIds()
+ {
+ return $this->gxIds;
+ }
+}
+
+class Google_Service_MapsEngine_FeaturesBatchInsertRequest extends Google_Collection
+{
+ protected $featuresType = 'Google_Service_MapsEngine_Feature';
+ protected $featuresDataType = 'array';
+
+ public function setFeatures($features)
+ {
+ $this->features = $features;
+ }
+
+ public function getFeatures()
+ {
+ return $this->features;
+ }
+}
+
+class Google_Service_MapsEngine_FeaturesBatchPatchRequest extends Google_Collection
+{
+ protected $featuresType = 'Google_Service_MapsEngine_Feature';
+ protected $featuresDataType = 'array';
+
+ public function setFeatures($features)
+ {
+ $this->features = $features;
+ }
+
+ public function getFeatures()
+ {
+ return $this->features;
+ }
+}
+
+class Google_Service_MapsEngine_FeaturesListResponse extends Google_Collection
+{
+ public $allowedQueriesPerSecond;
+ protected $featuresType = 'Google_Service_MapsEngine_Feature';
+ protected $featuresDataType = 'array';
+ public $nextPageToken;
+ protected $schemaType = 'Google_Service_MapsEngine_Schema';
+ protected $schemaDataType = '';
+ public $type;
+
+ public function setAllowedQueriesPerSecond($allowedQueriesPerSecond)
+ {
+ $this->allowedQueriesPerSecond = $allowedQueriesPerSecond;
+ }
+
+ public function getAllowedQueriesPerSecond()
+ {
+ return $this->allowedQueriesPerSecond;
+ }
+
+ public function setFeatures($features)
+ {
+ $this->features = $features;
+ }
+
+ public function getFeatures()
+ {
+ return $this->features;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setSchema(Google_Service_MapsEngine_Schema $schema)
+ {
+ $this->schema = $schema;
+ }
+
+ public function getSchema()
+ {
+ return $this->schema;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_MapsEngine_GeoJsonGeometry extends Google_Model
+{
+ public $type;
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_MapsEngine_GeoJsonGeometryCollection extends Google_Collection
+{
+ protected $geometriesType = 'Google_Service_MapsEngine_GeoJsonGeometry';
+ protected $geometriesDataType = 'array';
+
+ public function setGeometries($geometries)
+ {
+ $this->geometries = $geometries;
+ }
+
+ public function getGeometries()
+ {
+ return $this->geometries;
+ }
+}
+
+class Google_Service_MapsEngine_GeoJsonLineString extends Google_Collection
+{
+ public $coordinates;
+
+ public function setCoordinates($coordinates)
+ {
+ $this->coordinates = $coordinates;
+ }
+
+ public function getCoordinates()
+ {
+ return $this->coordinates;
+ }
+}
+
+class Google_Service_MapsEngine_GeoJsonMultiLineString extends Google_Collection
+{
+ public $coordinates;
+
+ public function setCoordinates($coordinates)
+ {
+ $this->coordinates = $coordinates;
+ }
+
+ public function getCoordinates()
+ {
+ return $this->coordinates;
+ }
+}
+
+class Google_Service_MapsEngine_GeoJsonMultiPoint extends Google_Collection
+{
+ public $coordinates;
+
+ public function setCoordinates($coordinates)
+ {
+ $this->coordinates = $coordinates;
+ }
+
+ public function getCoordinates()
+ {
+ return $this->coordinates;
+ }
+}
+
+class Google_Service_MapsEngine_GeoJsonMultiPolygon extends Google_Collection
+{
+ public $coordinates;
+
+ public function setCoordinates($coordinates)
+ {
+ $this->coordinates = $coordinates;
+ }
+
+ public function getCoordinates()
+ {
+ return $this->coordinates;
+ }
+}
+
+class Google_Service_MapsEngine_GeoJsonPoint extends Google_Collection
+{
+ public $coordinates;
+
+ public function setCoordinates($coordinates)
+ {
+ $this->coordinates = $coordinates;
+ }
+
+ public function getCoordinates()
+ {
+ return $this->coordinates;
+ }
+}
+
+class Google_Service_MapsEngine_GeoJsonPolygon extends Google_Collection
+{
+ public $coordinates;
+
+ public function setCoordinates($coordinates)
+ {
+ $this->coordinates = $coordinates;
+ }
+
+ public function getCoordinates()
+ {
+ return $this->coordinates;
+ }
+}
+
+class Google_Service_MapsEngine_Image extends Google_Collection
+{
+ protected $acquisitionTimeType = 'Google_Service_MapsEngine_AcquisitionTime';
+ protected $acquisitionTimeDataType = '';
+ public $attribution;
+ public $bbox;
+ public $creationTime;
+ public $description;
+ public $draftAccessList;
+ protected $filesType = 'Google_Service_MapsEngine_MapsengineFile';
+ protected $filesDataType = 'array';
+ public $id;
+ public $lastModifiedTime;
+ public $maskType;
+ public $name;
+ public $processingStatus;
+ public $projectId;
+ public $rasterType;
+ public $tags;
+
+ public function setAcquisitionTime(Google_Service_MapsEngine_AcquisitionTime $acquisitionTime)
+ {
+ $this->acquisitionTime = $acquisitionTime;
+ }
+
+ public function getAcquisitionTime()
+ {
+ return $this->acquisitionTime;
+ }
+
+ public function setAttribution($attribution)
+ {
+ $this->attribution = $attribution;
+ }
+
+ public function getAttribution()
+ {
+ return $this->attribution;
+ }
+
+ public function setBbox($bbox)
+ {
+ $this->bbox = $bbox;
+ }
+
+ public function getBbox()
+ {
+ return $this->bbox;
+ }
+
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setDraftAccessList($draftAccessList)
+ {
+ $this->draftAccessList = $draftAccessList;
+ }
+
+ public function getDraftAccessList()
+ {
+ return $this->draftAccessList;
+ }
+
+ public function setFiles($files)
+ {
+ $this->files = $files;
+ }
+
+ public function getFiles()
+ {
+ return $this->files;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setLastModifiedTime($lastModifiedTime)
+ {
+ $this->lastModifiedTime = $lastModifiedTime;
+ }
+
+ public function getLastModifiedTime()
+ {
+ return $this->lastModifiedTime;
+ }
+
+ public function setMaskType($maskType)
+ {
+ $this->maskType = $maskType;
+ }
+
+ public function getMaskType()
+ {
+ return $this->maskType;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setProcessingStatus($processingStatus)
+ {
+ $this->processingStatus = $processingStatus;
+ }
+
+ public function getProcessingStatus()
+ {
+ return $this->processingStatus;
+ }
+
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+
+ public function setRasterType($rasterType)
+ {
+ $this->rasterType = $rasterType;
+ }
+
+ public function getRasterType()
+ {
+ return $this->rasterType;
+ }
+
+ public function setTags($tags)
+ {
+ $this->tags = $tags;
+ }
+
+ public function getTags()
+ {
+ return $this->tags;
+ }
+}
+
+class Google_Service_MapsEngine_Layer extends Google_Collection
+{
+ public $bbox;
+ public $creationTime;
+ public $datasourceType;
+ protected $datasourcesType = 'Google_Service_MapsEngine_Datasource';
+ protected $datasourcesDataType = 'array';
+ public $description;
+ public $id;
+ public $lastModifiedTime;
+ public $name;
+ public $projectId;
+ public $tags;
+
+ public function setBbox($bbox)
+ {
+ $this->bbox = $bbox;
+ }
+
+ public function getBbox()
+ {
+ return $this->bbox;
+ }
+
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+
+ public function setDatasourceType($datasourceType)
+ {
+ $this->datasourceType = $datasourceType;
+ }
+
+ public function getDatasourceType()
+ {
+ return $this->datasourceType;
+ }
+
+ public function setDatasources($datasources)
+ {
+ $this->datasources = $datasources;
+ }
+
+ public function getDatasources()
+ {
+ return $this->datasources;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setLastModifiedTime($lastModifiedTime)
+ {
+ $this->lastModifiedTime = $lastModifiedTime;
+ }
+
+ public function getLastModifiedTime()
+ {
+ return $this->lastModifiedTime;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+
+ public function setTags($tags)
+ {
+ $this->tags = $tags;
+ }
+
+ public function getTags()
+ {
+ return $this->tags;
+ }
+}
+
+class Google_Service_MapsEngine_LayersListResponse extends Google_Collection
+{
+ protected $layersType = 'Google_Service_MapsEngine_Layer';
+ protected $layersDataType = 'array';
+ public $nextPageToken;
+
+ public function setLayers($layers)
+ {
+ $this->layers = $layers;
+ }
+
+ public function getLayers()
+ {
+ return $this->layers;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_MapsEngine_Map extends Google_Collection
+{
+ public $bbox;
+ protected $contentsType = 'Google_Service_MapsEngine_MapItem';
+ protected $contentsDataType = 'array';
+ public $creationTime;
+ public $defaultViewport;
+ public $description;
+ public $id;
+ public $lastModifiedTime;
+ public $name;
+ public $projectId;
+ public $tags;
+ public $versions;
+
+ public function setBbox($bbox)
+ {
+ $this->bbox = $bbox;
+ }
+
+ public function getBbox()
+ {
+ return $this->bbox;
+ }
+
+ public function setContents($contents)
+ {
+ $this->contents = $contents;
+ }
+
+ public function getContents()
+ {
+ return $this->contents;
+ }
+
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+
+ public function setDefaultViewport($defaultViewport)
+ {
+ $this->defaultViewport = $defaultViewport;
+ }
+
+ public function getDefaultViewport()
+ {
+ return $this->defaultViewport;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setLastModifiedTime($lastModifiedTime)
+ {
+ $this->lastModifiedTime = $lastModifiedTime;
+ }
+
+ public function getLastModifiedTime()
+ {
+ return $this->lastModifiedTime;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+
+ public function setTags($tags)
+ {
+ $this->tags = $tags;
+ }
+
+ public function getTags()
+ {
+ return $this->tags;
+ }
+
+ public function setVersions($versions)
+ {
+ $this->versions = $versions;
+ }
+
+ public function getVersions()
+ {
+ return $this->versions;
+ }
+}
+
+class Google_Service_MapsEngine_MapFolder extends Google_Collection
+{
+ protected $contentsType = 'Google_Service_MapsEngine_MapItem';
+ protected $contentsDataType = 'array';
+ public $defaultViewport;
+ public $key;
+ public $name;
+ public $visibility;
+
+ public function setContents($contents)
+ {
+ $this->contents = $contents;
+ }
+
+ public function getContents()
+ {
+ return $this->contents;
+ }
+
+ public function setDefaultViewport($defaultViewport)
+ {
+ $this->defaultViewport = $defaultViewport;
+ }
+
+ public function getDefaultViewport()
+ {
+ return $this->defaultViewport;
+ }
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+
+ public function getKey()
+ {
+ return $this->key;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setVisibility($visibility)
+ {
+ $this->visibility = $visibility;
+ }
+
+ public function getVisibility()
+ {
+ return $this->visibility;
+ }
+}
+
+class Google_Service_MapsEngine_MapItem extends Google_Model
+{
+ public $type;
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_MapsEngine_MapKmlLink extends Google_Model
+{
+ public $defaultViewport;
+ public $kmlUrl;
+ public $name;
+ public $visibility;
+
+ public function setDefaultViewport($defaultViewport)
+ {
+ $this->defaultViewport = $defaultViewport;
+ }
+
+ public function getDefaultViewport()
+ {
+ return $this->defaultViewport;
+ }
+
+ public function setKmlUrl($kmlUrl)
+ {
+ $this->kmlUrl = $kmlUrl;
+ }
+
+ public function getKmlUrl()
+ {
+ return $this->kmlUrl;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setVisibility($visibility)
+ {
+ $this->visibility = $visibility;
+ }
+
+ public function getVisibility()
+ {
+ return $this->visibility;
+ }
+}
+
+class Google_Service_MapsEngine_MapLayer extends Google_Collection
+{
+ public $defaultViewport;
+ public $id;
+ public $key;
+ public $name;
+ public $visibility;
+
+ public function setDefaultViewport($defaultViewport)
+ {
+ $this->defaultViewport = $defaultViewport;
+ }
+
+ public function getDefaultViewport()
+ {
+ return $this->defaultViewport;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+
+ public function getKey()
+ {
+ return $this->key;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setVisibility($visibility)
+ {
+ $this->visibility = $visibility;
+ }
+
+ public function getVisibility()
+ {
+ return $this->visibility;
+ }
+}
+
+class Google_Service_MapsEngine_MapsListResponse extends Google_Collection
+{
+ protected $mapsType = 'Google_Service_MapsEngine_Map';
+ protected $mapsDataType = 'array';
+ public $nextPageToken;
+
+ public function setMaps($maps)
+ {
+ $this->maps = $maps;
+ }
+
+ public function getMaps()
+ {
+ return $this->maps;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_MapsEngine_MapsengineFile extends Google_Model
+{
+ public $filename;
+ public $size;
+ public $uploadStatus;
+
+ public function setFilename($filename)
+ {
+ $this->filename = $filename;
+ }
+
+ public function getFilename()
+ {
+ return $this->filename;
+ }
+
+ public function setSize($size)
+ {
+ $this->size = $size;
+ }
+
+ public function getSize()
+ {
+ return $this->size;
+ }
+
+ public function setUploadStatus($uploadStatus)
+ {
+ $this->uploadStatus = $uploadStatus;
+ }
+
+ public function getUploadStatus()
+ {
+ return $this->uploadStatus;
+ }
+}
+
+class Google_Service_MapsEngine_MapsengineResource extends Google_Collection
+{
+ public $bbox;
+ public $creationTime;
+ public $description;
+ public $id;
+ public $lastModifiedTime;
+ public $name;
+ public $projectId;
+ public $resource;
+ public $tags;
+ public $type;
+
+ public function setBbox($bbox)
+ {
+ $this->bbox = $bbox;
+ }
+
+ public function getBbox()
+ {
+ return $this->bbox;
+ }
+
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setLastModifiedTime($lastModifiedTime)
+ {
+ $this->lastModifiedTime = $lastModifiedTime;
+ }
+
+ public function getLastModifiedTime()
+ {
+ return $this->lastModifiedTime;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+
+ public function setResource($resource)
+ {
+ $this->resource = $resource;
+ }
+
+ public function getResource()
+ {
+ return $this->resource;
+ }
+
+ public function setTags($tags)
+ {
+ $this->tags = $tags;
+ }
+
+ public function getTags()
+ {
+ return $this->tags;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_MapsEngine_Parent extends Google_Model
+{
+ public $id;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+}
+
+class Google_Service_MapsEngine_ParentsListResponse extends Google_Collection
+{
+ public $nextPageToken;
+ protected $parentsType = 'Google_Service_MapsEngine_Parent';
+ protected $parentsDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setParents($parents)
+ {
+ $this->parents = $parents;
+ }
+
+ public function getParents()
+ {
+ return $this->parents;
+ }
+}
+
+class Google_Service_MapsEngine_Project extends Google_Model
+{
+ public $id;
+ public $name;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Google_Service_MapsEngine_ProjectsListResponse extends Google_Collection
+{
+ protected $projectsType = 'Google_Service_MapsEngine_Project';
+ protected $projectsDataType = 'array';
+
+ public function setProjects($projects)
+ {
+ $this->projects = $projects;
+ }
+
+ public function getProjects()
+ {
+ return $this->projects;
+ }
+}
+
+class Google_Service_MapsEngine_Raster extends Google_Collection
+{
+ public $bbox;
+ public $creationTime;
+ public $description;
+ public $id;
+ public $lastModifiedTime;
+ public $name;
+ public $projectId;
+ public $rasterType;
+ public $tags;
+
+ public function setBbox($bbox)
+ {
+ $this->bbox = $bbox;
+ }
+
+ public function getBbox()
+ {
+ return $this->bbox;
+ }
+
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setLastModifiedTime($lastModifiedTime)
+ {
+ $this->lastModifiedTime = $lastModifiedTime;
+ }
+
+ public function getLastModifiedTime()
+ {
+ return $this->lastModifiedTime;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+
+ public function setRasterType($rasterType)
+ {
+ $this->rasterType = $rasterType;
+ }
+
+ public function getRasterType()
+ {
+ return $this->rasterType;
+ }
+
+ public function setTags($tags)
+ {
+ $this->tags = $tags;
+ }
+
+ public function getTags()
+ {
+ return $this->tags;
+ }
+}
+
+class Google_Service_MapsEngine_RasterCollection extends Google_Collection
+{
+ public $bbox;
+ public $creationTime;
+ public $description;
+ public $id;
+ public $lastModifiedTime;
+ public $mosaic;
+ public $name;
+ public $projectId;
+ public $rasterType;
+ public $tags;
+
+ public function setBbox($bbox)
+ {
+ $this->bbox = $bbox;
+ }
+
+ public function getBbox()
+ {
+ return $this->bbox;
+ }
+
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setLastModifiedTime($lastModifiedTime)
+ {
+ $this->lastModifiedTime = $lastModifiedTime;
+ }
+
+ public function getLastModifiedTime()
+ {
+ return $this->lastModifiedTime;
+ }
+
+ public function setMosaic($mosaic)
+ {
+ $this->mosaic = $mosaic;
+ }
+
+ public function getMosaic()
+ {
+ return $this->mosaic;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+
+ public function setRasterType($rasterType)
+ {
+ $this->rasterType = $rasterType;
+ }
+
+ public function getRasterType()
+ {
+ return $this->rasterType;
+ }
+
+ public function setTags($tags)
+ {
+ $this->tags = $tags;
+ }
+
+ public function getTags()
+ {
+ return $this->tags;
+ }
+}
+
+class Google_Service_MapsEngine_RastercollectionsListResponse extends Google_Collection
+{
+ public $nextPageToken;
+ protected $rasterCollectionsType = 'Google_Service_MapsEngine_RasterCollection';
+ protected $rasterCollectionsDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setRasterCollections($rasterCollections)
+ {
+ $this->rasterCollections = $rasterCollections;
+ }
+
+ public function getRasterCollections()
+ {
+ return $this->rasterCollections;
+ }
+}
+
+class Google_Service_MapsEngine_RastersListResponse extends Google_Collection
+{
+ public $nextPageToken;
+ protected $rastersType = 'Google_Service_MapsEngine_Raster';
+ protected $rastersDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setRasters($rasters)
+ {
+ $this->rasters = $rasters;
+ }
+
+ public function getRasters()
+ {
+ return $this->rasters;
+ }
+}
+
+class Google_Service_MapsEngine_ResourcesListResponse extends Google_Collection
+{
+ protected $assetsType = 'Google_Service_MapsEngine_MapsengineResource';
+ protected $assetsDataType = 'array';
+ public $nextPageToken;
+
+ public function setAssets($assets)
+ {
+ $this->assets = $assets;
+ }
+
+ public function getAssets()
+ {
+ return $this->assets;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_MapsEngine_Schema extends Google_Collection
+{
+ protected $columnsType = 'Google_Service_MapsEngine_SchemaColumns';
+ protected $columnsDataType = 'array';
+ public $primaryGeometry;
+ public $primaryKey;
+
+ public function setColumns($columns)
+ {
+ $this->columns = $columns;
+ }
+
+ public function getColumns()
+ {
+ return $this->columns;
+ }
+
+ public function setPrimaryGeometry($primaryGeometry)
+ {
+ $this->primaryGeometry = $primaryGeometry;
+ }
+
+ public function getPrimaryGeometry()
+ {
+ return $this->primaryGeometry;
+ }
+
+ public function setPrimaryKey($primaryKey)
+ {
+ $this->primaryKey = $primaryKey;
+ }
+
+ public function getPrimaryKey()
+ {
+ return $this->primaryKey;
+ }
+}
+
+class Google_Service_MapsEngine_SchemaColumns extends Google_Model
+{
+ public $name;
+ public $type;
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_MapsEngine_Table extends Google_Collection
+{
+ public $bbox;
+ public $creationTime;
+ public $description;
+ public $draftAccessList;
+ protected $filesType = 'Google_Service_MapsEngine_MapsengineFile';
+ protected $filesDataType = 'array';
+ public $id;
+ public $lastModifiedTime;
+ public $name;
+ public $processingStatus;
+ public $projectId;
+ public $publishedAccessList;
+ protected $schemaType = 'Google_Service_MapsEngine_Schema';
+ protected $schemaDataType = '';
+ public $sourceEncoding;
+ public $tags;
+
+ public function setBbox($bbox)
+ {
+ $this->bbox = $bbox;
+ }
+
+ public function getBbox()
+ {
+ return $this->bbox;
+ }
+
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setDraftAccessList($draftAccessList)
+ {
+ $this->draftAccessList = $draftAccessList;
+ }
+
+ public function getDraftAccessList()
+ {
+ return $this->draftAccessList;
+ }
+
+ public function setFiles($files)
+ {
+ $this->files = $files;
+ }
+
+ public function getFiles()
+ {
+ return $this->files;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setLastModifiedTime($lastModifiedTime)
+ {
+ $this->lastModifiedTime = $lastModifiedTime;
+ }
+
+ public function getLastModifiedTime()
+ {
+ return $this->lastModifiedTime;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setProcessingStatus($processingStatus)
+ {
+ $this->processingStatus = $processingStatus;
+ }
+
+ public function getProcessingStatus()
+ {
+ return $this->processingStatus;
+ }
+
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+
+ public function setPublishedAccessList($publishedAccessList)
+ {
+ $this->publishedAccessList = $publishedAccessList;
+ }
+
+ public function getPublishedAccessList()
+ {
+ return $this->publishedAccessList;
+ }
+
+ public function setSchema(Google_Service_MapsEngine_Schema $schema)
+ {
+ $this->schema = $schema;
+ }
+
+ public function getSchema()
+ {
+ return $this->schema;
+ }
+
+ public function setSourceEncoding($sourceEncoding)
+ {
+ $this->sourceEncoding = $sourceEncoding;
+ }
+
+ public function getSourceEncoding()
+ {
+ return $this->sourceEncoding;
+ }
+
+ public function setTags($tags)
+ {
+ $this->tags = $tags;
+ }
+
+ public function getTags()
+ {
+ return $this->tags;
+ }
+}
+
+class Google_Service_MapsEngine_TablesListResponse extends Google_Collection
+{
+ public $nextPageToken;
+ protected $tablesType = 'Google_Service_MapsEngine_Table';
+ protected $tablesDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setTables($tables)
+ {
+ $this->tables = $tables;
+ }
+
+ public function getTables()
+ {
+ return $this->tables;
+ }
+}
From ed8b8325d8b938e47352c440e71848bd80b76393 Mon Sep 17 00:00:00 2001
From: Silvano Luciani - * For more information about this service, see the API - * Documentation - *
- * - * @author Google, Inc. - */ -class Google_Service_Mapsengine extends Google_Service -{ - /** View and manage your Google Maps Engine data. */ - const MAPSENGINE = "https://www.googleapis.com/auth/mapsengine"; - /** View your Google Maps Engine data. */ - const MAPSENGINE_READONLY = "https://www.googleapis.com/auth/mapsengine.readonly"; - - public $assets; - public $assets_parents; - public $layers; - public $layers_parents; - public $maps; - public $projects; - public $rasterCollections; - public $rasterCollections_parents; - public $rasterCollections_rasters; - public $rasters; - public $rasters_files; - public $rasters_parents; - public $tables; - public $tables_features; - public $tables_files; - public $tables_parents; - - - /** - * Constructs the internal representation of the Mapsengine service. - * - * @param Google_Client $client - */ - public function __construct(Google_Client $client) - { - parent::__construct($client); - $this->servicePath = 'mapsengine/v1/'; - $this->version = 'v1'; - $this->serviceName = 'mapsengine'; - - $this->assets = new Google_Service_Mapsengine_Assets_Resource( - $this, - $this->serviceName, - 'assets', - array( - 'methods' => array( - 'get' => array( - 'path' => 'assets/{id}', - 'httpMethod' => 'GET', - 'parameters' => array( - 'id' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ),'list' => array( - 'path' => 'assets', - 'httpMethod' => 'GET', - 'parameters' => array( - 'modifiedAfter' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'createdAfter' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'projectId' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'maxResults' => array( - 'location' => 'query', - 'type' => 'integer', - ), - 'pageToken' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'creatorEmail' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'bbox' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'modifiedBefore' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'createdBefore' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'type' => array( - 'location' => 'query', - 'type' => 'string', - ), - ), - ), - ) - ) - ); - $this->assets_parents = new Google_Service_Mapsengine_AssetsParents_Resource( - $this, - $this->serviceName, - 'parents', - array( - 'methods' => array( - 'list' => array( - 'path' => 'assets/{id}/parents', - 'httpMethod' => 'GET', - 'parameters' => array( - 'id' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'pageToken' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'maxResults' => array( - 'location' => 'query', - 'type' => 'integer', - ), - ), - ), - ) - ) - ); - $this->layers = new Google_Service_Mapsengine_Layers_Resource( - $this, - $this->serviceName, - 'layers', - array( - 'methods' => array( - 'get' => array( - 'path' => 'layers/{id}', - 'httpMethod' => 'GET', - 'parameters' => array( - 'id' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'version' => array( - 'location' => 'query', - 'type' => 'string', - ), - ), - ),'list' => array( - 'path' => 'layers', - 'httpMethod' => 'GET', - 'parameters' => array( - 'modifiedAfter' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'createdAfter' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'projectId' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'maxResults' => array( - 'location' => 'query', - 'type' => 'integer', - ), - 'pageToken' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'creatorEmail' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'bbox' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'modifiedBefore' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'createdBefore' => array( - 'location' => 'query', - 'type' => 'string', - ), - ), - ), - ) - ) - ); - $this->layers_parents = new Google_Service_Mapsengine_LayersParents_Resource( - $this, - $this->serviceName, - 'parents', - array( - 'methods' => array( - 'list' => array( - 'path' => 'layers/{id}/parents', - 'httpMethod' => 'GET', - 'parameters' => array( - 'id' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'pageToken' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'maxResults' => array( - 'location' => 'query', - 'type' => 'integer', - ), - ), - ), - ) - ) - ); - $this->maps = new Google_Service_Mapsengine_Maps_Resource( - $this, - $this->serviceName, - 'maps', - array( - 'methods' => array( - 'get' => array( - 'path' => 'maps/{id}', - 'httpMethod' => 'GET', - 'parameters' => array( - 'id' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'version' => array( - 'location' => 'query', - 'type' => 'string', - ), - ), - ),'list' => array( - 'path' => 'maps', - 'httpMethod' => 'GET', - 'parameters' => array( - 'modifiedAfter' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'createdAfter' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'projectId' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'maxResults' => array( - 'location' => 'query', - 'type' => 'integer', - ), - 'pageToken' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'creatorEmail' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'bbox' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'modifiedBefore' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'createdBefore' => array( - 'location' => 'query', - 'type' => 'string', - ), - ), - ), - ) - ) - ); - $this->projects = new Google_Service_Mapsengine_Projects_Resource( - $this, - $this->serviceName, - 'projects', - array( - 'methods' => array( - 'list' => array( - 'path' => 'projects', - 'httpMethod' => 'GET', - 'parameters' => array(), - ), - ) - ) - ); - $this->rasterCollections = new Google_Service_Mapsengine_RasterCollections_Resource( - $this, - $this->serviceName, - 'rasterCollections', - array( - 'methods' => array( - 'get' => array( - 'path' => 'rasterCollections/{id}', - 'httpMethod' => 'GET', - 'parameters' => array( - 'id' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ),'list' => array( - 'path' => 'rasterCollections', - 'httpMethod' => 'GET', - 'parameters' => array( - 'modifiedAfter' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'createdAfter' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'projectId' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'maxResults' => array( - 'location' => 'query', - 'type' => 'integer', - ), - 'pageToken' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'creatorEmail' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'bbox' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'modifiedBefore' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'createdBefore' => array( - 'location' => 'query', - 'type' => 'string', - ), - ), - ), - ) - ) - ); - $this->rasterCollections_parents = new Google_Service_Mapsengine_RasterCollectionsParents_Resource( - $this, - $this->serviceName, - 'parents', - array( - 'methods' => array( - 'list' => array( - 'path' => 'rasterCollections/{id}/parents', - 'httpMethod' => 'GET', - 'parameters' => array( - 'id' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'pageToken' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'maxResults' => array( - 'location' => 'query', - 'type' => 'integer', - ), - ), - ), - ) - ) - ); - $this->rasterCollections_rasters = new Google_Service_Mapsengine_RasterCollectionsRasters_Resource( - $this, - $this->serviceName, - 'rasters', - array( - 'methods' => array( - 'list' => array( - 'path' => 'rasterCollections/{id}/rasters', - 'httpMethod' => 'GET', - 'parameters' => array( - 'id' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'modifiedAfter' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'createdAfter' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'maxResults' => array( - 'location' => 'query', - 'type' => 'integer', - ), - 'pageToken' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'creatorEmail' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'bbox' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'modifiedBefore' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'createdBefore' => array( - 'location' => 'query', - 'type' => 'string', - ), - ), - ), - ) - ) - ); - $this->rasters = new Google_Service_Mapsengine_Rasters_Resource( - $this, - $this->serviceName, - 'rasters', - array( - 'methods' => array( - 'get' => array( - 'path' => 'rasters/{id}', - 'httpMethod' => 'GET', - 'parameters' => array( - 'id' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ),'upload' => array( - 'path' => 'rasters/upload', - 'httpMethod' => 'POST', - 'parameters' => array(), - ), - ) - ) - ); - $this->rasters_files = new Google_Service_Mapsengine_RastersFiles_Resource( - $this, - $this->serviceName, - 'files', - array( - 'methods' => array( - 'insert' => array( - 'path' => 'rasters/{id}/files', - 'httpMethod' => 'POST', - 'parameters' => array( - 'id' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'filename' => array( - 'location' => 'query', - 'type' => 'string', - 'required' => true, - ), - ), - ), - ) - ) - ); - $this->rasters_parents = new Google_Service_Mapsengine_RastersParents_Resource( - $this, - $this->serviceName, - 'parents', - array( - 'methods' => array( - 'list' => array( - 'path' => 'rasters/{id}/parents', - 'httpMethod' => 'GET', - 'parameters' => array( - 'id' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'pageToken' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'maxResults' => array( - 'location' => 'query', - 'type' => 'integer', - ), - ), - ), - ) - ) - ); - $this->tables = new Google_Service_Mapsengine_Tables_Resource( - $this, - $this->serviceName, - 'tables', - array( - 'methods' => array( - 'create' => array( - 'path' => 'tables', - 'httpMethod' => 'POST', - 'parameters' => array(), - ),'get' => array( - 'path' => 'tables/{id}', - 'httpMethod' => 'GET', - 'parameters' => array( - 'id' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'version' => array( - 'location' => 'query', - 'type' => 'string', - ), - ), - ),'list' => array( - 'path' => 'tables', - 'httpMethod' => 'GET', - 'parameters' => array( - 'modifiedAfter' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'createdAfter' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'projectId' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'maxResults' => array( - 'location' => 'query', - 'type' => 'integer', - ), - 'pageToken' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'creatorEmail' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'bbox' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'modifiedBefore' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'createdBefore' => array( - 'location' => 'query', - 'type' => 'string', - ), - ), - ),'upload' => array( - 'path' => 'tables/upload', - 'httpMethod' => 'POST', - 'parameters' => array(), - ), - ) - ) - ); - $this->tables_features = new Google_Service_Mapsengine_TablesFeatures_Resource( - $this, - $this->serviceName, - 'features', - array( - 'methods' => array( - 'batchDelete' => array( - 'path' => 'tables/{id}/features/batchDelete', - 'httpMethod' => 'POST', - 'parameters' => array( - 'id' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ),'batchInsert' => array( - 'path' => 'tables/{id}/features/batchInsert', - 'httpMethod' => 'POST', - 'parameters' => array( - 'id' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ),'batchPatch' => array( - 'path' => 'tables/{id}/features/batchPatch', - 'httpMethod' => 'POST', - 'parameters' => array( - 'id' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ),'get' => array( - 'path' => 'tables/{tableId}/features/{id}', - 'httpMethod' => 'GET', - 'parameters' => array( - 'tableId' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'id' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'version' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'select' => array( - 'location' => 'query', - 'type' => 'string', - ), - ), - ),'list' => array( - 'path' => 'tables/{id}/features', - 'httpMethod' => 'GET', - 'parameters' => array( - 'id' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'orderBy' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'intersects' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'maxResults' => array( - 'location' => 'query', - 'type' => 'integer', - ), - 'pageToken' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'version' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'limit' => array( - 'location' => 'query', - 'type' => 'integer', - ), - 'include' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'where' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'select' => array( - 'location' => 'query', - 'type' => 'string', - ), - ), - ), - ) - ) - ); - $this->tables_files = new Google_Service_Mapsengine_TablesFiles_Resource( - $this, - $this->serviceName, - 'files', - array( - 'methods' => array( - 'insert' => array( - 'path' => 'tables/{id}/files', - 'httpMethod' => 'POST', - 'parameters' => array( - 'id' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'filename' => array( - 'location' => 'query', - 'type' => 'string', - 'required' => true, - ), - ), - ), - ) - ) - ); - $this->tables_parents = new Google_Service_Mapsengine_TablesParents_Resource( - $this, - $this->serviceName, - 'parents', - array( - 'methods' => array( - 'list' => array( - 'path' => 'tables/{id}/parents', - 'httpMethod' => 'GET', - 'parameters' => array( - 'id' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'pageToken' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'maxResults' => array( - 'location' => 'query', - 'type' => 'integer', - ), - ), - ), - ) - ) - ); - } -} - - -/** - * The "assets" collection of methods. - * Typical usage is: - *
- * $mapsengineService = new Google_Service_Mapsengine(...);
- * $assets = $mapsengineService->assets;
- *
- */
-class Google_Service_Mapsengine_Assets_Resource extends Google_Service_Resource
-{
-
- /**
- * Return metadata for a particular asset. (assets.get)
- *
- * @param string $id
- * The ID of the asset.
- * @param array $optParams Optional parameters.
- * @return Google_Service_Mapsengine_MapsengineResource
- */
- public function get($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Mapsengine_MapsengineResource");
- }
- /**
- * Return all assets readable by the current user. (assets.listAssets)
- *
- * @param array $optParams Optional parameters.
- *
- * @opt_param string modifiedAfter
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been modified at or after this time.
- * @opt_param string createdAfter
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been created at or after this time.
- * @opt_param string projectId
- * The ID of a Maps Engine project, used to filter the response. To list all available projects
- * with their IDs, send a Projects: list request. You can also find your project ID as the value of
- * the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
- * @opt_param string maxResults
- * The maximum number of items to include in a single response page. The maximum supported value is
- * 100.
- * @opt_param string pageToken
- * The continuation token, used to page through large result sets. To get the next page of results,
- * set this parameter to the value of nextPageToken from the previous response.
- * @opt_param string creatorEmail
- * An email address representing a user. Returned assets that have been created by the user
- * associated with the provided email address.
- * @opt_param string bbox
- * A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this
- * bounding box will be returned.
- * @opt_param string modifiedBefore
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been modified at or before this time.
- * @opt_param string createdBefore
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been created at or before this time.
- * @opt_param string type
- * An asset type restriction. If set, only resources of this type will be returned.
- * @return Google_Service_Mapsengine_ResourcesListResponse
- */
- public function listAssets($optParams = array())
- {
- $params = array();
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Mapsengine_ResourcesListResponse");
- }
-}
-
-/**
- * The "parents" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_Mapsengine(...);
- * $parents = $mapsengineService->parents;
- *
- */
-class Google_Service_Mapsengine_AssetsParents_Resource extends Google_Service_Resource
-{
-
- /**
- * Return all parent ids of the specified asset. (parents.listAssetsParents)
- *
- * @param string $id
- * The ID of the asset whose parents will be listed.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string pageToken
- * The continuation token, used to page through large result sets. To get the next page of results,
- * set this parameter to the value of nextPageToken from the previous response.
- * @opt_param string maxResults
- * The maximum number of items to include in a single response page. The maximum supported value is
- * 50.
- * @return Google_Service_Mapsengine_ParentsListResponse
- */
- public function listAssetsParents($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Mapsengine_ParentsListResponse");
- }
-}
-
-/**
- * The "layers" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_Mapsengine(...);
- * $layers = $mapsengineService->layers;
- *
- */
-class Google_Service_Mapsengine_Layers_Resource extends Google_Service_Resource
-{
-
- /**
- * Return metadata for a particular layer. (layers.get)
- *
- * @param string $id
- * The ID of the layer.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string version
- *
- * @return Google_Service_Mapsengine_Layer
- */
- public function get($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Mapsengine_Layer");
- }
- /**
- * Return all layers readable by the current user. (layers.listLayers)
- *
- * @param array $optParams Optional parameters.
- *
- * @opt_param string modifiedAfter
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been modified at or after this time.
- * @opt_param string createdAfter
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been created at or after this time.
- * @opt_param string projectId
- * The ID of a Maps Engine project, used to filter the response. To list all available projects
- * with their IDs, send a Projects: list request. You can also find your project ID as the value of
- * the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
- * @opt_param string maxResults
- * The maximum number of items to include in a single response page. The maximum supported value is
- * 100.
- * @opt_param string pageToken
- * The continuation token, used to page through large result sets. To get the next page of results,
- * set this parameter to the value of nextPageToken from the previous response.
- * @opt_param string creatorEmail
- * An email address representing a user. Returned assets that have been created by the user
- * associated with the provided email address.
- * @opt_param string bbox
- * A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this
- * bounding box will be returned.
- * @opt_param string modifiedBefore
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been modified at or before this time.
- * @opt_param string createdBefore
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been created at or before this time.
- * @return Google_Service_Mapsengine_LayersListResponse
- */
- public function listLayers($optParams = array())
- {
- $params = array();
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Mapsengine_LayersListResponse");
- }
-}
-
-/**
- * The "parents" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_Mapsengine(...);
- * $parents = $mapsengineService->parents;
- *
- */
-class Google_Service_Mapsengine_LayersParents_Resource extends Google_Service_Resource
-{
-
- /**
- * Return all parent ids of the specified layer. (parents.listLayersParents)
- *
- * @param string $id
- * The ID of the layer whose parents will be listed.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string pageToken
- * The continuation token, used to page through large result sets. To get the next page of results,
- * set this parameter to the value of nextPageToken from the previous response.
- * @opt_param string maxResults
- * The maximum number of items to include in a single response page. The maximum supported value is
- * 50.
- * @return Google_Service_Mapsengine_ParentsListResponse
- */
- public function listLayersParents($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Mapsengine_ParentsListResponse");
- }
-}
-
-/**
- * The "maps" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_Mapsengine(...);
- * $maps = $mapsengineService->maps;
- *
- */
-class Google_Service_Mapsengine_Maps_Resource extends Google_Service_Resource
-{
-
- /**
- * Return metadata for a particular map. (maps.get)
- *
- * @param string $id
- * The ID of the map.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string version
- *
- * @return Google_Service_Mapsengine_Map
- */
- public function get($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Mapsengine_Map");
- }
- /**
- * Return all maps readable by the current user. (maps.listMaps)
- *
- * @param array $optParams Optional parameters.
- *
- * @opt_param string modifiedAfter
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been modified at or after this time.
- * @opt_param string createdAfter
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been created at or after this time.
- * @opt_param string projectId
- * The ID of a Maps Engine project, used to filter the response. To list all available projects
- * with their IDs, send a Projects: list request. You can also find your project ID as the value of
- * the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
- * @opt_param string maxResults
- * The maximum number of items to include in a single response page. The maximum supported value is
- * 100.
- * @opt_param string pageToken
- * The continuation token, used to page through large result sets. To get the next page of results,
- * set this parameter to the value of nextPageToken from the previous response.
- * @opt_param string creatorEmail
- * An email address representing a user. Returned assets that have been created by the user
- * associated with the provided email address.
- * @opt_param string bbox
- * A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this
- * bounding box will be returned.
- * @opt_param string modifiedBefore
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been modified at or before this time.
- * @opt_param string createdBefore
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been created at or before this time.
- * @return Google_Service_Mapsengine_MapsListResponse
- */
- public function listMaps($optParams = array())
- {
- $params = array();
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Mapsengine_MapsListResponse");
- }
-}
-
-/**
- * The "projects" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_Mapsengine(...);
- * $projects = $mapsengineService->projects;
- *
- */
-class Google_Service_Mapsengine_Projects_Resource extends Google_Service_Resource
-{
-
- /**
- * Return all projects readable by the current user. (projects.listProjects)
- *
- * @param array $optParams Optional parameters.
- * @return Google_Service_Mapsengine_ProjectsListResponse
- */
- public function listProjects($optParams = array())
- {
- $params = array();
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Mapsengine_ProjectsListResponse");
- }
-}
-
-/**
- * The "rasterCollections" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_Mapsengine(...);
- * $rasterCollections = $mapsengineService->rasterCollections;
- *
- */
-class Google_Service_Mapsengine_RasterCollections_Resource extends Google_Service_Resource
-{
-
- /**
- * Return metadata for a particular raster collection. (rasterCollections.get)
- *
- * @param string $id
- * The ID of the raster collection.
- * @param array $optParams Optional parameters.
- * @return Google_Service_Mapsengine_RasterCollection
- */
- public function get($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Mapsengine_RasterCollection");
- }
- /**
- * Return all raster collections readable by the current user.
- * (rasterCollections.listRasterCollections)
- *
- * @param array $optParams Optional parameters.
- *
- * @opt_param string modifiedAfter
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been modified at or after this time.
- * @opt_param string createdAfter
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been created at or after this time.
- * @opt_param string projectId
- * The ID of a Maps Engine project, used to filter the response. To list all available projects
- * with their IDs, send a Projects: list request. You can also find your project ID as the value of
- * the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
- * @opt_param string maxResults
- * The maximum number of items to include in a single response page. The maximum supported value is
- * 100.
- * @opt_param string pageToken
- * The continuation token, used to page through large result sets. To get the next page of results,
- * set this parameter to the value of nextPageToken from the previous response.
- * @opt_param string creatorEmail
- * An email address representing a user. Returned assets that have been created by the user
- * associated with the provided email address.
- * @opt_param string bbox
- * A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this
- * bounding box will be returned.
- * @opt_param string modifiedBefore
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been modified at or before this time.
- * @opt_param string createdBefore
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been created at or before this time.
- * @return Google_Service_Mapsengine_RastercollectionsListResponse
- */
- public function listRasterCollections($optParams = array())
- {
- $params = array();
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Mapsengine_RastercollectionsListResponse");
- }
-}
-
-/**
- * The "parents" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_Mapsengine(...);
- * $parents = $mapsengineService->parents;
- *
- */
-class Google_Service_Mapsengine_RasterCollectionsParents_Resource extends Google_Service_Resource
-{
-
- /**
- * Return all parent ids of the specified raster collection.
- * (parents.listRasterCollectionsParents)
- *
- * @param string $id
- * The ID of the raster collection whose parents will be listed.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string pageToken
- * The continuation token, used to page through large result sets. To get the next page of results,
- * set this parameter to the value of nextPageToken from the previous response.
- * @opt_param string maxResults
- * The maximum number of items to include in a single response page. The maximum supported value is
- * 50.
- * @return Google_Service_Mapsengine_ParentsListResponse
- */
- public function listRasterCollectionsParents($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Mapsengine_ParentsListResponse");
- }
-}
-/**
- * The "rasters" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_Mapsengine(...);
- * $rasters = $mapsengineService->rasters;
- *
- */
-class Google_Service_Mapsengine_RasterCollectionsRasters_Resource extends Google_Service_Resource
-{
-
- /**
- * Return all rasters within a raster collection.
- * (rasters.listRasterCollectionsRasters)
- *
- * @param string $id
- * The ID of the raster collection to which these rasters belong.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string modifiedAfter
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been modified at or after this time.
- * @opt_param string createdAfter
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been created at or after this time.
- * @opt_param string maxResults
- * The maximum number of items to include in a single response page. The maximum supported value is
- * 100.
- * @opt_param string pageToken
- * The continuation token, used to page through large result sets. To get the next page of results,
- * set this parameter to the value of nextPageToken from the previous response.
- * @opt_param string creatorEmail
- * An email address representing a user. Returned assets that have been created by the user
- * associated with the provided email address.
- * @opt_param string bbox
- * A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this
- * bounding box will be returned.
- * @opt_param string modifiedBefore
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been modified at or before this time.
- * @opt_param string createdBefore
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been created at or before this time.
- * @return Google_Service_Mapsengine_RastersListResponse
- */
- public function listRasterCollectionsRasters($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Mapsengine_RastersListResponse");
- }
-}
-
-/**
- * The "rasters" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_Mapsengine(...);
- * $rasters = $mapsengineService->rasters;
- *
- */
-class Google_Service_Mapsengine_Rasters_Resource extends Google_Service_Resource
-{
-
- /**
- * Return metadata for a single raster. (rasters.get)
- *
- * @param string $id
- * The ID of the raster.
- * @param array $optParams Optional parameters.
- * @return Google_Service_Mapsengine_Image
- */
- public function get($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Mapsengine_Image");
- }
- /**
- * Create a skeleton raster asset for upload. (rasters.upload)
- *
- * @param Google_Image $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Mapsengine_Image
- */
- public function upload(Google_Service_Mapsengine_Image $postBody, $optParams = array())
- {
- $params = array('postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('upload', array($params), "Google_Service_Mapsengine_Image");
- }
-}
-
-/**
- * The "files" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_Mapsengine(...);
- * $files = $mapsengineService->files;
- *
- */
-class Google_Service_Mapsengine_RastersFiles_Resource extends Google_Service_Resource
-{
-
- /**
- * Upload a file to a raster asset. (files.insert)
- *
- * @param string $id
- * The ID of the raster asset.
- * @param string $filename
- * The file name of this uploaded file.
- * @param array $optParams Optional parameters.
- */
- public function insert($id, $filename, $optParams = array())
- {
- $params = array('id' => $id, 'filename' => $filename);
- $params = array_merge($params, $optParams);
- return $this->call('insert', array($params));
- }
-}
-/**
- * The "parents" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_Mapsengine(...);
- * $parents = $mapsengineService->parents;
- *
- */
-class Google_Service_Mapsengine_RastersParents_Resource extends Google_Service_Resource
-{
-
- /**
- * Return all parent ids of the specified rasters. (parents.listRastersParents)
- *
- * @param string $id
- * The ID of the rasters whose parents will be listed.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string pageToken
- * The continuation token, used to page through large result sets. To get the next page of results,
- * set this parameter to the value of nextPageToken from the previous response.
- * @opt_param string maxResults
- * The maximum number of items to include in a single response page. The maximum supported value is
- * 50.
- * @return Google_Service_Mapsengine_ParentsListResponse
- */
- public function listRastersParents($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Mapsengine_ParentsListResponse");
- }
-}
-
-/**
- * The "tables" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_Mapsengine(...);
- * $tables = $mapsengineService->tables;
- *
- */
-class Google_Service_Mapsengine_Tables_Resource extends Google_Service_Resource
-{
-
- /**
- * Create a table asset. (tables.create)
- *
- * @param Google_Table $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Mapsengine_Table
- */
- public function create(Google_Service_Mapsengine_Table $postBody, $optParams = array())
- {
- $params = array('postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('create', array($params), "Google_Service_Mapsengine_Table");
- }
- /**
- * Return metadata for a particular table, including the schema. (tables.get)
- *
- * @param string $id
- * The ID of the table.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string version
- *
- * @return Google_Service_Mapsengine_Table
- */
- public function get($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Mapsengine_Table");
- }
- /**
- * Return all tables readable by the current user. (tables.listTables)
- *
- * @param array $optParams Optional parameters.
- *
- * @opt_param string modifiedAfter
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been modified at or after this time.
- * @opt_param string createdAfter
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been created at or after this time.
- * @opt_param string projectId
- * The ID of a Maps Engine project, used to filter the response. To list all available projects
- * with their IDs, send a Projects: list request. You can also find your project ID as the value of
- * the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
- * @opt_param string maxResults
- * The maximum number of items to include in a single response page. The maximum supported value is
- * 100.
- * @opt_param string pageToken
- * The continuation token, used to page through large result sets. To get the next page of results,
- * set this parameter to the value of nextPageToken from the previous response.
- * @opt_param string creatorEmail
- * An email address representing a user. Returned assets that have been created by the user
- * associated with the provided email address.
- * @opt_param string bbox
- * A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this
- * bounding box will be returned.
- * @opt_param string modifiedBefore
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been modified at or before this time.
- * @opt_param string createdBefore
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been created at or before this time.
- * @return Google_Service_Mapsengine_TablesListResponse
- */
- public function listTables($optParams = array())
- {
- $params = array();
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Mapsengine_TablesListResponse");
- }
- /**
- * Create a placeholder table asset to which table files can be uploaded. Once
- * the placeholder has been created, files are uploaded to the
- * https://www.googleapis.com/upload/mapsengine/v1/tables/table_id/files
- * endpoint. See Table Upload in the Developer's Guide or Table.files: insert in
- * the reference documentation for more information. (tables.upload)
- *
- * @param Google_Table $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Mapsengine_Table
- */
- public function upload(Google_Service_Mapsengine_Table $postBody, $optParams = array())
- {
- $params = array('postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('upload', array($params), "Google_Service_Mapsengine_Table");
- }
-}
-
-/**
- * The "features" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_Mapsengine(...);
- * $features = $mapsengineService->features;
- *
- */
-class Google_Service_Mapsengine_TablesFeatures_Resource extends Google_Service_Resource
-{
-
- /**
- * Delete all features matching the given IDs. (features.batchDelete)
- *
- * @param string $id
- * The ID of the table that contains the features to be deleted.
- * @param Google_FeaturesBatchDeleteRequest $postBody
- * @param array $optParams Optional parameters.
- */
- public function batchDelete($id, Google_Service_Mapsengine_FeaturesBatchDeleteRequest $postBody, $optParams = array())
- {
- $params = array('id' => $id, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('batchDelete', array($params));
- }
- /**
- * Append features to an existing table.
- *
- * A single batchInsert request can create:
- *
- * - Up to 50 features. - A combined total of 10 000 vertices. Feature limits
- * are documented in the Supported data formats and limits article of the Google
- * Maps Engine help center. Note that free and paid accounts have different
- * limits.
- *
- * For more information about inserting features, read Creating features in the
- * Google Maps Engine developer's guide. (features.batchInsert)
- *
- * @param string $id
- * The ID of the table to append the features to.
- * @param Google_FeaturesBatchInsertRequest $postBody
- * @param array $optParams Optional parameters.
- */
- public function batchInsert($id, Google_Service_Mapsengine_FeaturesBatchInsertRequest $postBody, $optParams = array())
- {
- $params = array('id' => $id, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('batchInsert', array($params));
- }
- /**
- * Update the supplied features.
- *
- * A single batchPatch request can update:
- *
- * - Up to 50 features. - A combined total of 10 000 vertices. Feature limits
- * are documented in the Supported data formats and limits article of the Google
- * Maps Engine help center. Note that free and paid accounts have different
- * limits.
- *
- * Feature updates use HTTP PATCH semantics:
- *
- * - A supplied value replaces an existing value (if any) in that field. -
- * Omitted fields remain unchanged. - Complex values in geometries and
- * properties must be replaced as atomic units. For example, providing just the
- * coordinates of a geometry is not allowed; the complete geometry, including
- * type, must be supplied. - Setting a property's value to null deletes that
- * property. For more information about updating features, read Updating
- * features in the Google Maps Engine developer's guide. (features.batchPatch)
- *
- * @param string $id
- * The ID of the table containing the features to be patched.
- * @param Google_FeaturesBatchPatchRequest $postBody
- * @param array $optParams Optional parameters.
- */
- public function batchPatch($id, Google_Service_Mapsengine_FeaturesBatchPatchRequest $postBody, $optParams = array())
- {
- $params = array('id' => $id, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('batchPatch', array($params));
- }
- /**
- * Return a single feature, given its ID. (features.get)
- *
- * @param string $tableId
- * The ID of the table.
- * @param string $id
- * The ID of the feature to get.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string version
- * The table version to access. See Accessing Public Data for information.
- * @opt_param string select
- * A SQL-like projection clause used to specify returned properties. If this parameter is not
- * included, all properties are returned.
- * @return Google_Service_Mapsengine_Feature
- */
- public function get($tableId, $id, $optParams = array())
- {
- $params = array('tableId' => $tableId, 'id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Mapsengine_Feature");
- }
- /**
- * Return all features readable by the current user.
- * (features.listTablesFeatures)
- *
- * @param string $id
- * The ID of the table to which these features belong.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string orderBy
- * An SQL-like order by clause used to sort results. If this parameter is not included, the order
- * of features is undefined.
- * @opt_param string intersects
- * A geometry literal that specifies the spatial restriction of the query.
- * @opt_param string maxResults
- * The maximum number of items to include in the response, used for paging.
- * @opt_param string pageToken
- * The continuation token, used to page through large result sets. To get the next page of results,
- * set this parameter to the value of nextPageToken from the previous response.
- * @opt_param string version
- * The table version to access. See Accessing Public Data for information.
- * @opt_param string limit
- * The total number of features to return from the query, irrespective of the number of pages.
- * @opt_param string include
- * A comma separated list of optional data to include. Optional data available: schema.
- * @opt_param string where
- * An SQL-like predicate used to filter results.
- * @opt_param string select
- * A SQL-like projection clause used to specify returned properties. If this parameter is not
- * included, all properties are returned.
- * @return Google_Service_Mapsengine_FeaturesListResponse
- */
- public function listTablesFeatures($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Mapsengine_FeaturesListResponse");
- }
-}
-/**
- * The "files" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_Mapsengine(...);
- * $files = $mapsengineService->files;
- *
- */
-class Google_Service_Mapsengine_TablesFiles_Resource extends Google_Service_Resource
-{
-
- /**
- * Upload a file to a placeholder table asset. See Table Upload in the
- * Developer's Guide for more information. Supported file types are listed in
- * the Supported data formats and limits article of the Google Maps Engine help
- * center. (files.insert)
- *
- * @param string $id
- * The ID of the table asset.
- * @param string $filename
- * The file name of this uploaded file.
- * @param array $optParams Optional parameters.
- */
- public function insert($id, $filename, $optParams = array())
- {
- $params = array('id' => $id, 'filename' => $filename);
- $params = array_merge($params, $optParams);
- return $this->call('insert', array($params));
- }
-}
-/**
- * The "parents" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_Mapsengine(...);
- * $parents = $mapsengineService->parents;
- *
- */
-class Google_Service_Mapsengine_TablesParents_Resource extends Google_Service_Resource
-{
-
- /**
- * Return all parent ids of the specified table. (parents.listTablesParents)
- *
- * @param string $id
- * The ID of the table whose parents will be listed.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string pageToken
- * The continuation token, used to page through large result sets. To get the next page of results,
- * set this parameter to the value of nextPageToken from the previous response.
- * @opt_param string maxResults
- * The maximum number of items to include in a single response page. The maximum supported value is
- * 50.
- * @return Google_Service_Mapsengine_ParentsListResponse
- */
- public function listTablesParents($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Mapsengine_ParentsListResponse");
- }
-}
-
-
-
-
-class Google_Service_Mapsengine_AcquisitionTime extends Google_Model
-{
- public $end;
- public $precision;
- public $start;
-
- public function setEnd($end)
- {
- $this->end = $end;
- }
-
- public function getEnd()
- {
- return $this->end;
- }
-
- public function setPrecision($precision)
- {
- $this->precision = $precision;
- }
-
- public function getPrecision()
- {
- return $this->precision;
- }
-
- public function setStart($start)
- {
- $this->start = $start;
- }
-
- public function getStart()
- {
- return $this->start;
- }
-}
-
-class Google_Service_Mapsengine_Datasource extends Google_Model
-{
- public $id;
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-}
-
-class Google_Service_Mapsengine_Feature extends Google_Model
-{
- protected $geometryType = 'Google_Service_Mapsengine_Geometry';
- protected $geometryDataType = '';
- public $properties;
- public $type;
-
- public function setGeometry(Google_Service_Mapsengine_Geometry $geometry)
- {
- $this->geometry = $geometry;
- }
-
- public function getGeometry()
- {
- return $this->geometry;
- }
-
- public function setProperties($properties)
- {
- $this->properties = $properties;
- }
-
- public function getProperties()
- {
- return $this->properties;
- }
-
- public function setType($type)
- {
- $this->type = $type;
- }
-
- public function getType()
- {
- return $this->type;
- }
-}
-
-class Google_Service_Mapsengine_FeaturesBatchDeleteRequest extends Google_Collection
-{
- public $featureIds;
- public $gxIds;
-
- public function setFeatureIds($featureIds)
- {
- $this->featureIds = $featureIds;
- }
-
- public function getFeatureIds()
- {
- return $this->featureIds;
- }
-
- public function setGxIds($gxIds)
- {
- $this->gxIds = $gxIds;
- }
-
- public function getGxIds()
- {
- return $this->gxIds;
- }
-}
-
-class Google_Service_Mapsengine_FeaturesBatchInsertRequest extends Google_Collection
-{
- protected $featuresType = 'Google_Service_Mapsengine_Feature';
- protected $featuresDataType = 'array';
-
- public function setFeatures($features)
- {
- $this->features = $features;
- }
-
- public function getFeatures()
- {
- return $this->features;
- }
-}
-
-class Google_Service_Mapsengine_FeaturesBatchPatchRequest extends Google_Collection
-{
- protected $featuresType = 'Google_Service_Mapsengine_Feature';
- protected $featuresDataType = 'array';
-
- public function setFeatures($features)
- {
- $this->features = $features;
- }
-
- public function getFeatures()
- {
- return $this->features;
- }
-}
-
-class Google_Service_Mapsengine_FeaturesListResponse extends Google_Collection
-{
- public $allowedQueriesPerSecond;
- protected $featuresType = 'Google_Service_Mapsengine_Feature';
- protected $featuresDataType = 'array';
- public $nextPageToken;
- protected $schemaType = 'Google_Service_Mapsengine_Schema';
- protected $schemaDataType = '';
- public $type;
-
- public function setAllowedQueriesPerSecond($allowedQueriesPerSecond)
- {
- $this->allowedQueriesPerSecond = $allowedQueriesPerSecond;
- }
-
- public function getAllowedQueriesPerSecond()
- {
- return $this->allowedQueriesPerSecond;
- }
-
- public function setFeatures($features)
- {
- $this->features = $features;
- }
-
- public function getFeatures()
- {
- return $this->features;
- }
-
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
-
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-
- public function setSchema(Google_Service_Mapsengine_Schema $schema)
- {
- $this->schema = $schema;
- }
-
- public function getSchema()
- {
- return $this->schema;
- }
-
- public function setType($type)
- {
- $this->type = $type;
- }
-
- public function getType()
- {
- return $this->type;
- }
-}
-
-class Google_Service_Mapsengine_Geometry extends Google_Model
-{
- public $type;
-
- public function setType($type)
- {
- $this->type = $type;
- }
-
- public function getType()
- {
- return $this->type;
- }
-}
-
-class Google_Service_Mapsengine_GeometryCollection extends Google_Collection
-{
- protected $geometriesType = 'Google_Service_Mapsengine_Geometry';
- protected $geometriesDataType = 'array';
-
- public function setGeometries($geometries)
- {
- $this->geometries = $geometries;
- }
-
- public function getGeometries()
- {
- return $this->geometries;
- }
-}
-
-class Google_Service_Mapsengine_Image extends Google_Collection
-{
- protected $acquisitionTimeType = 'Google_Service_Mapsengine_AcquisitionTime';
- protected $acquisitionTimeDataType = '';
- public $attribution;
- public $bbox;
- public $creationTime;
- public $description;
- public $draftAccessList;
- protected $filesType = 'Google_Service_Mapsengine_MapsengineFile';
- protected $filesDataType = 'array';
- public $id;
- public $lastModifiedTime;
- public $maskType;
- public $name;
- public $processingStatus;
- public $projectId;
- public $rasterType;
- public $tags;
-
- public function setAcquisitionTime(Google_Service_Mapsengine_AcquisitionTime $acquisitionTime)
- {
- $this->acquisitionTime = $acquisitionTime;
- }
-
- public function getAcquisitionTime()
- {
- return $this->acquisitionTime;
- }
-
- public function setAttribution($attribution)
- {
- $this->attribution = $attribution;
- }
-
- public function getAttribution()
- {
- return $this->attribution;
- }
-
- public function setBbox($bbox)
- {
- $this->bbox = $bbox;
- }
-
- public function getBbox()
- {
- return $this->bbox;
- }
-
- public function setCreationTime($creationTime)
- {
- $this->creationTime = $creationTime;
- }
-
- public function getCreationTime()
- {
- return $this->creationTime;
- }
-
- public function setDescription($description)
- {
- $this->description = $description;
- }
-
- public function getDescription()
- {
- return $this->description;
- }
-
- public function setDraftAccessList($draftAccessList)
- {
- $this->draftAccessList = $draftAccessList;
- }
-
- public function getDraftAccessList()
- {
- return $this->draftAccessList;
- }
-
- public function setFiles($files)
- {
- $this->files = $files;
- }
-
- public function getFiles()
- {
- return $this->files;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setLastModifiedTime($lastModifiedTime)
- {
- $this->lastModifiedTime = $lastModifiedTime;
- }
-
- public function getLastModifiedTime()
- {
- return $this->lastModifiedTime;
- }
-
- public function setMaskType($maskType)
- {
- $this->maskType = $maskType;
- }
-
- public function getMaskType()
- {
- return $this->maskType;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setProcessingStatus($processingStatus)
- {
- $this->processingStatus = $processingStatus;
- }
-
- public function getProcessingStatus()
- {
- return $this->processingStatus;
- }
-
- public function setProjectId($projectId)
- {
- $this->projectId = $projectId;
- }
-
- public function getProjectId()
- {
- return $this->projectId;
- }
-
- public function setRasterType($rasterType)
- {
- $this->rasterType = $rasterType;
- }
-
- public function getRasterType()
- {
- return $this->rasterType;
- }
-
- public function setTags($tags)
- {
- $this->tags = $tags;
- }
-
- public function getTags()
- {
- return $this->tags;
- }
-}
-
-class Google_Service_Mapsengine_Layer extends Google_Collection
-{
- public $bbox;
- public $creationTime;
- public $datasourceType;
- protected $datasourcesType = 'Google_Service_Mapsengine_Datasource';
- protected $datasourcesDataType = 'array';
- public $description;
- public $id;
- public $lastModifiedTime;
- public $name;
- public $projectId;
- public $tags;
-
- public function setBbox($bbox)
- {
- $this->bbox = $bbox;
- }
-
- public function getBbox()
- {
- return $this->bbox;
- }
-
- public function setCreationTime($creationTime)
- {
- $this->creationTime = $creationTime;
- }
-
- public function getCreationTime()
- {
- return $this->creationTime;
- }
-
- public function setDatasourceType($datasourceType)
- {
- $this->datasourceType = $datasourceType;
- }
-
- public function getDatasourceType()
- {
- return $this->datasourceType;
- }
-
- public function setDatasources($datasources)
- {
- $this->datasources = $datasources;
- }
-
- public function getDatasources()
- {
- return $this->datasources;
- }
-
- public function setDescription($description)
- {
- $this->description = $description;
- }
-
- public function getDescription()
- {
- return $this->description;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setLastModifiedTime($lastModifiedTime)
- {
- $this->lastModifiedTime = $lastModifiedTime;
- }
-
- public function getLastModifiedTime()
- {
- return $this->lastModifiedTime;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setProjectId($projectId)
- {
- $this->projectId = $projectId;
- }
-
- public function getProjectId()
- {
- return $this->projectId;
- }
-
- public function setTags($tags)
- {
- $this->tags = $tags;
- }
-
- public function getTags()
- {
- return $this->tags;
- }
-}
-
-class Google_Service_Mapsengine_LayersListResponse extends Google_Collection
-{
- protected $layersType = 'Google_Service_Mapsengine_Layer';
- protected $layersDataType = 'array';
- public $nextPageToken;
-
- public function setLayers($layers)
- {
- $this->layers = $layers;
- }
-
- public function getLayers()
- {
- return $this->layers;
- }
-
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
-
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-}
-
-class Google_Service_Mapsengine_LineString extends Google_Collection
-{
- public $coordinates;
-
- public function setCoordinates($coordinates)
- {
- $this->coordinates = $coordinates;
- }
-
- public function getCoordinates()
- {
- return $this->coordinates;
- }
-}
-
-class Google_Service_Mapsengine_Map extends Google_Collection
-{
- public $bbox;
- protected $contentsType = 'Google_Service_Mapsengine_MapItem';
- protected $contentsDataType = 'array';
- public $creationTime;
- public $defaultViewport;
- public $description;
- public $id;
- public $lastModifiedTime;
- public $name;
- public $projectId;
- public $tags;
- public $versions;
-
- public function setBbox($bbox)
- {
- $this->bbox = $bbox;
- }
-
- public function getBbox()
- {
- return $this->bbox;
- }
-
- public function setContents($contents)
- {
- $this->contents = $contents;
- }
-
- public function getContents()
- {
- return $this->contents;
- }
-
- public function setCreationTime($creationTime)
- {
- $this->creationTime = $creationTime;
- }
-
- public function getCreationTime()
- {
- return $this->creationTime;
- }
-
- public function setDefaultViewport($defaultViewport)
- {
- $this->defaultViewport = $defaultViewport;
- }
-
- public function getDefaultViewport()
- {
- return $this->defaultViewport;
- }
-
- public function setDescription($description)
- {
- $this->description = $description;
- }
-
- public function getDescription()
- {
- return $this->description;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setLastModifiedTime($lastModifiedTime)
- {
- $this->lastModifiedTime = $lastModifiedTime;
- }
-
- public function getLastModifiedTime()
- {
- return $this->lastModifiedTime;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setProjectId($projectId)
- {
- $this->projectId = $projectId;
- }
-
- public function getProjectId()
- {
- return $this->projectId;
- }
-
- public function setTags($tags)
- {
- $this->tags = $tags;
- }
-
- public function getTags()
- {
- return $this->tags;
- }
-
- public function setVersions($versions)
- {
- $this->versions = $versions;
- }
-
- public function getVersions()
- {
- return $this->versions;
- }
-}
-
-class Google_Service_Mapsengine_MapFolder extends Google_Collection
-{
- protected $contentsType = 'Google_Service_Mapsengine_MapItem';
- protected $contentsDataType = 'array';
- public $defaultViewport;
- public $key;
- public $name;
- public $visibility;
-
- public function setContents($contents)
- {
- $this->contents = $contents;
- }
-
- public function getContents()
- {
- return $this->contents;
- }
-
- public function setDefaultViewport($defaultViewport)
- {
- $this->defaultViewport = $defaultViewport;
- }
-
- public function getDefaultViewport()
- {
- return $this->defaultViewport;
- }
-
- public function setKey($key)
- {
- $this->key = $key;
- }
-
- public function getKey()
- {
- return $this->key;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setVisibility($visibility)
- {
- $this->visibility = $visibility;
- }
-
- public function getVisibility()
- {
- return $this->visibility;
- }
-}
-
-class Google_Service_Mapsengine_MapItem extends Google_Model
-{
- public $type;
-
- public function setType($type)
- {
- $this->type = $type;
- }
-
- public function getType()
- {
- return $this->type;
- }
-}
-
-class Google_Service_Mapsengine_MapKmlLink extends Google_Model
-{
- public $defaultViewport;
- public $kmlUrl;
- public $name;
- public $visibility;
-
- public function setDefaultViewport($defaultViewport)
- {
- $this->defaultViewport = $defaultViewport;
- }
-
- public function getDefaultViewport()
- {
- return $this->defaultViewport;
- }
-
- public function setKmlUrl($kmlUrl)
- {
- $this->kmlUrl = $kmlUrl;
- }
-
- public function getKmlUrl()
- {
- return $this->kmlUrl;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setVisibility($visibility)
- {
- $this->visibility = $visibility;
- }
-
- public function getVisibility()
- {
- return $this->visibility;
- }
-}
-
-class Google_Service_Mapsengine_MapLayer extends Google_Collection
-{
- public $defaultViewport;
- public $id;
- public $key;
- public $name;
- public $visibility;
-
- public function setDefaultViewport($defaultViewport)
- {
- $this->defaultViewport = $defaultViewport;
- }
-
- public function getDefaultViewport()
- {
- return $this->defaultViewport;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setKey($key)
- {
- $this->key = $key;
- }
-
- public function getKey()
- {
- return $this->key;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setVisibility($visibility)
- {
- $this->visibility = $visibility;
- }
-
- public function getVisibility()
- {
- return $this->visibility;
- }
-}
-
-class Google_Service_Mapsengine_MapsListResponse extends Google_Collection
-{
- protected $mapsType = 'Google_Service_Mapsengine_Map';
- protected $mapsDataType = 'array';
- public $nextPageToken;
-
- public function setMaps($maps)
- {
- $this->maps = $maps;
- }
-
- public function getMaps()
- {
- return $this->maps;
- }
-
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
-
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-}
-
-class Google_Service_Mapsengine_MapsengineFile extends Google_Model
-{
- public $filename;
- public $size;
- public $uploadStatus;
-
- public function setFilename($filename)
- {
- $this->filename = $filename;
- }
-
- public function getFilename()
- {
- return $this->filename;
- }
-
- public function setSize($size)
- {
- $this->size = $size;
- }
-
- public function getSize()
- {
- return $this->size;
- }
-
- public function setUploadStatus($uploadStatus)
- {
- $this->uploadStatus = $uploadStatus;
- }
-
- public function getUploadStatus()
- {
- return $this->uploadStatus;
- }
-}
-
-class Google_Service_Mapsengine_MapsengineResource extends Google_Collection
-{
- public $bbox;
- public $creationTime;
- public $description;
- public $id;
- public $lastModifiedTime;
- public $name;
- public $projectId;
- public $resource;
- public $tags;
- public $type;
-
- public function setBbox($bbox)
- {
- $this->bbox = $bbox;
- }
-
- public function getBbox()
- {
- return $this->bbox;
- }
-
- public function setCreationTime($creationTime)
- {
- $this->creationTime = $creationTime;
- }
-
- public function getCreationTime()
- {
- return $this->creationTime;
- }
-
- public function setDescription($description)
- {
- $this->description = $description;
- }
-
- public function getDescription()
- {
- return $this->description;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setLastModifiedTime($lastModifiedTime)
- {
- $this->lastModifiedTime = $lastModifiedTime;
- }
-
- public function getLastModifiedTime()
- {
- return $this->lastModifiedTime;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setProjectId($projectId)
- {
- $this->projectId = $projectId;
- }
-
- public function getProjectId()
- {
- return $this->projectId;
- }
-
- public function setResource($resource)
- {
- $this->resource = $resource;
- }
-
- public function getResource()
- {
- return $this->resource;
- }
-
- public function setTags($tags)
- {
- $this->tags = $tags;
- }
-
- public function getTags()
- {
- return $this->tags;
- }
-
- public function setType($type)
- {
- $this->type = $type;
- }
-
- public function getType()
- {
- return $this->type;
- }
-}
-
-class Google_Service_Mapsengine_MultiLineString extends Google_Collection
-{
- public $coordinates;
-
- public function setCoordinates($coordinates)
- {
- $this->coordinates = $coordinates;
- }
-
- public function getCoordinates()
- {
- return $this->coordinates;
- }
-}
-
-class Google_Service_Mapsengine_MultiPoint extends Google_Collection
-{
- public $coordinates;
-
- public function setCoordinates($coordinates)
- {
- $this->coordinates = $coordinates;
- }
-
- public function getCoordinates()
- {
- return $this->coordinates;
- }
-}
-
-class Google_Service_Mapsengine_MultiPolygon extends Google_Collection
-{
- public $coordinates;
-
- public function setCoordinates($coordinates)
- {
- $this->coordinates = $coordinates;
- }
-
- public function getCoordinates()
- {
- return $this->coordinates;
- }
-}
-
-class Google_Service_Mapsengine_Parent extends Google_Model
-{
- public $id;
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-}
-
-class Google_Service_Mapsengine_ParentsListResponse extends Google_Collection
-{
- public $nextPageToken;
- protected $parentsType = 'Google_Service_Mapsengine_Parent';
- protected $parentsDataType = 'array';
-
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
-
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-
- public function setParents($parents)
- {
- $this->parents = $parents;
- }
-
- public function getParents()
- {
- return $this->parents;
- }
-}
-
-class Google_Service_Mapsengine_Point extends Google_Collection
-{
- public $coordinates;
-
- public function setCoordinates($coordinates)
- {
- $this->coordinates = $coordinates;
- }
-
- public function getCoordinates()
- {
- return $this->coordinates;
- }
-}
-
-class Google_Service_Mapsengine_Polygon extends Google_Collection
-{
- public $coordinates;
-
- public function setCoordinates($coordinates)
- {
- $this->coordinates = $coordinates;
- }
-
- public function getCoordinates()
- {
- return $this->coordinates;
- }
-}
-
-class Google_Service_Mapsengine_Project extends Google_Model
-{
- public $id;
- public $name;
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-}
-
-class Google_Service_Mapsengine_ProjectsListResponse extends Google_Collection
-{
- protected $projectsType = 'Google_Service_Mapsengine_Project';
- protected $projectsDataType = 'array';
-
- public function setProjects($projects)
- {
- $this->projects = $projects;
- }
-
- public function getProjects()
- {
- return $this->projects;
- }
-}
-
-class Google_Service_Mapsengine_Raster extends Google_Collection
-{
- public $bbox;
- public $creationTime;
- public $description;
- public $id;
- public $lastModifiedTime;
- public $name;
- public $projectId;
- public $rasterType;
- public $tags;
-
- public function setBbox($bbox)
- {
- $this->bbox = $bbox;
- }
-
- public function getBbox()
- {
- return $this->bbox;
- }
-
- public function setCreationTime($creationTime)
- {
- $this->creationTime = $creationTime;
- }
-
- public function getCreationTime()
- {
- return $this->creationTime;
- }
-
- public function setDescription($description)
- {
- $this->description = $description;
- }
-
- public function getDescription()
- {
- return $this->description;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setLastModifiedTime($lastModifiedTime)
- {
- $this->lastModifiedTime = $lastModifiedTime;
- }
-
- public function getLastModifiedTime()
- {
- return $this->lastModifiedTime;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setProjectId($projectId)
- {
- $this->projectId = $projectId;
- }
-
- public function getProjectId()
- {
- return $this->projectId;
- }
-
- public function setRasterType($rasterType)
- {
- $this->rasterType = $rasterType;
- }
-
- public function getRasterType()
- {
- return $this->rasterType;
- }
-
- public function setTags($tags)
- {
- $this->tags = $tags;
- }
-
- public function getTags()
- {
- return $this->tags;
- }
-}
-
-class Google_Service_Mapsengine_RasterCollection extends Google_Collection
-{
- public $bbox;
- public $creationTime;
- public $description;
- public $id;
- public $lastModifiedTime;
- public $mosaic;
- public $name;
- public $projectId;
- public $rasterType;
- public $tags;
-
- public function setBbox($bbox)
- {
- $this->bbox = $bbox;
- }
-
- public function getBbox()
- {
- return $this->bbox;
- }
-
- public function setCreationTime($creationTime)
- {
- $this->creationTime = $creationTime;
- }
-
- public function getCreationTime()
- {
- return $this->creationTime;
- }
-
- public function setDescription($description)
- {
- $this->description = $description;
- }
-
- public function getDescription()
- {
- return $this->description;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setLastModifiedTime($lastModifiedTime)
- {
- $this->lastModifiedTime = $lastModifiedTime;
- }
-
- public function getLastModifiedTime()
- {
- return $this->lastModifiedTime;
- }
-
- public function setMosaic($mosaic)
- {
- $this->mosaic = $mosaic;
- }
-
- public function getMosaic()
- {
- return $this->mosaic;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setProjectId($projectId)
- {
- $this->projectId = $projectId;
- }
-
- public function getProjectId()
- {
- return $this->projectId;
- }
-
- public function setRasterType($rasterType)
- {
- $this->rasterType = $rasterType;
- }
-
- public function getRasterType()
- {
- return $this->rasterType;
- }
-
- public function setTags($tags)
- {
- $this->tags = $tags;
- }
-
- public function getTags()
- {
- return $this->tags;
- }
-}
-
-class Google_Service_Mapsengine_RastercollectionsListResponse extends Google_Collection
-{
- public $nextPageToken;
- protected $rasterCollectionsType = 'Google_Service_Mapsengine_RasterCollection';
- protected $rasterCollectionsDataType = 'array';
-
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
-
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-
- public function setRasterCollections($rasterCollections)
- {
- $this->rasterCollections = $rasterCollections;
- }
-
- public function getRasterCollections()
- {
- return $this->rasterCollections;
- }
-}
-
-class Google_Service_Mapsengine_RastersListResponse extends Google_Collection
-{
- public $nextPageToken;
- protected $rastersType = 'Google_Service_Mapsengine_Raster';
- protected $rastersDataType = 'array';
-
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
-
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-
- public function setRasters($rasters)
- {
- $this->rasters = $rasters;
- }
-
- public function getRasters()
- {
- return $this->rasters;
- }
-}
-
-class Google_Service_Mapsengine_ResourcesListResponse extends Google_Collection
-{
- protected $assetsType = 'Google_Service_Mapsengine_MapsengineResource';
- protected $assetsDataType = 'array';
- public $nextPageToken;
-
- public function setAssets($assets)
- {
- $this->assets = $assets;
- }
-
- public function getAssets()
- {
- return $this->assets;
- }
-
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
-
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-}
-
-class Google_Service_Mapsengine_Schema extends Google_Collection
-{
- protected $columnsType = 'Google_Service_Mapsengine_SchemaColumns';
- protected $columnsDataType = 'array';
- public $primaryGeometry;
- public $primaryKey;
-
- public function setColumns($columns)
- {
- $this->columns = $columns;
- }
-
- public function getColumns()
- {
- return $this->columns;
- }
-
- public function setPrimaryGeometry($primaryGeometry)
- {
- $this->primaryGeometry = $primaryGeometry;
- }
-
- public function getPrimaryGeometry()
- {
- return $this->primaryGeometry;
- }
-
- public function setPrimaryKey($primaryKey)
- {
- $this->primaryKey = $primaryKey;
- }
-
- public function getPrimaryKey()
- {
- return $this->primaryKey;
- }
-}
-
-class Google_Service_Mapsengine_SchemaColumns extends Google_Model
-{
- public $name;
- public $type;
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setType($type)
- {
- $this->type = $type;
- }
-
- public function getType()
- {
- return $this->type;
- }
-}
-
-class Google_Service_Mapsengine_Table extends Google_Collection
-{
- public $bbox;
- public $creationTime;
- public $description;
- public $draftAccessList;
- protected $filesType = 'Google_Service_Mapsengine_MapsengineFile';
- protected $filesDataType = 'array';
- public $id;
- public $lastModifiedTime;
- public $name;
- public $processingStatus;
- public $projectId;
- public $publishedAccessList;
- protected $schemaType = 'Google_Service_Mapsengine_Schema';
- protected $schemaDataType = '';
- public $sourceEncoding;
- public $tags;
-
- public function setBbox($bbox)
- {
- $this->bbox = $bbox;
- }
-
- public function getBbox()
- {
- return $this->bbox;
- }
-
- public function setCreationTime($creationTime)
- {
- $this->creationTime = $creationTime;
- }
-
- public function getCreationTime()
- {
- return $this->creationTime;
- }
-
- public function setDescription($description)
- {
- $this->description = $description;
- }
-
- public function getDescription()
- {
- return $this->description;
- }
-
- public function setDraftAccessList($draftAccessList)
- {
- $this->draftAccessList = $draftAccessList;
- }
-
- public function getDraftAccessList()
- {
- return $this->draftAccessList;
- }
-
- public function setFiles($files)
- {
- $this->files = $files;
- }
-
- public function getFiles()
- {
- return $this->files;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setLastModifiedTime($lastModifiedTime)
- {
- $this->lastModifiedTime = $lastModifiedTime;
- }
-
- public function getLastModifiedTime()
- {
- return $this->lastModifiedTime;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setProcessingStatus($processingStatus)
- {
- $this->processingStatus = $processingStatus;
- }
-
- public function getProcessingStatus()
- {
- return $this->processingStatus;
- }
-
- public function setProjectId($projectId)
- {
- $this->projectId = $projectId;
- }
-
- public function getProjectId()
- {
- return $this->projectId;
- }
-
- public function setPublishedAccessList($publishedAccessList)
- {
- $this->publishedAccessList = $publishedAccessList;
- }
-
- public function getPublishedAccessList()
- {
- return $this->publishedAccessList;
- }
-
- public function setSchema(Google_Service_Mapsengine_Schema $schema)
- {
- $this->schema = $schema;
- }
-
- public function getSchema()
- {
- return $this->schema;
- }
-
- public function setSourceEncoding($sourceEncoding)
- {
- $this->sourceEncoding = $sourceEncoding;
- }
-
- public function getSourceEncoding()
- {
- return $this->sourceEncoding;
- }
-
- public function setTags($tags)
- {
- $this->tags = $tags;
- }
-
- public function getTags()
- {
- return $this->tags;
- }
-}
-
-class Google_Service_Mapsengine_TablesListResponse extends Google_Collection
-{
- public $nextPageToken;
- protected $tablesType = 'Google_Service_Mapsengine_Table';
- protected $tablesDataType = 'array';
-
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
-
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-
- public function setTables($tables)
- {
- $this->tables = $tables;
- }
-
- public function getTables()
- {
- return $this->tables;
- }
-}
From 9b5e0c34e473af92ffed63ac29793ceb147680d3 Mon Sep 17 00:00:00 2001
From: Dion Hulse
+ * $youtubeService = new Google_Service_YouTube(...);
+ * $channelSections = $youtubeService->channelSections;
+ *
+ */
+class Google_Service_YouTube_ChannelSections_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Deletes a channelSection. (channelSections.delete)
+ *
+ * @param string $id
+ * The id parameter specifies the YouTube channelSection ID for the resource that is being deleted.
+ * In a channelSection resource, the id property specifies the YouTube channelSection ID.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Adds a channelSection for the authenticated user's channel.
+ * (channelSections.insert)
+ *
+ * @param string $part
+ * The part parameter serves two purposes in this operation. It identifies the properties that the
+ * write operation will set as well as the properties that the API response will include.
+ The part
+ * names that you can include in the parameter value are snippet and contentDetails.
+ * @param Google_ChannelSection $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string onBehalfOfContentOwnerChannel
+ * This parameter can only be used in a properly authorized request. Note: This parameter is
+ * intended exclusively for YouTube content partners.
+ The onBehalfOfContentOwnerChannel parameter
+ * specifies the YouTube channel ID of the channel to which a video is being added. This parameter
+ * is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it
+ * can only be used in conjunction with that parameter. In addition, the request must be authorized
+ * using a CMS account that is linked to the content owner that the onBehalfOfContentOwner
+ * parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value
+ * specifies must be linked to the content owner that the onBehalfOfContentOwner parameter
+ * specifies.
+ This parameter is intended for YouTube content partners that own and manage many
+ * different YouTube channels. It allows content owners to authenticate once and perform actions on
+ * behalf of the channel specified in the parameter value, without having to provide authentication
+ * credentials for each separate channel.
+ * @return Google_Service_YouTube_ChannelSection
+ */
+ public function insert($part, Google_Service_YouTube_ChannelSection $postBody, $optParams = array())
+ {
+ $params = array('part' => $part, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_YouTube_ChannelSection");
+ }
+ /**
+ * Returns channelSection resources that match the API request criteria.
+ * (channelSections.listChannelSections)
+ *
+ * @param string $part
+ * The part parameter specifies a comma-separated list of one or more channelSection resource
+ * properties that the API response will include. The part names that you can include in the
+ * parameter value are id, snippet, and contentDetails.
+ If the parameter identifies a property
+ * that contains child properties, the child properties will be included in the response. For
+ * example, in a channelSection resource, the snippet property contains other properties, such as a
+ * display title for the channelSection. If you set part=snippet, the API response will also
+ * contain all of those nested properties.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string onBehalfOfContentOwner
+ * Note: This parameter is intended exclusively for YouTube content partners.
+ The
+ * onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify
+ * a YouTube CMS user who is acting on behalf of the content owner specified in the parameter
+ * value. This parameter is intended for YouTube content partners that own and manage many
+ * different YouTube channels. It allows content owners to authenticate once and get access to all
+ * their video and channel data, without having to provide authentication credentials for each
+ * individual channel. The CMS account that the user authenticates with must be linked to the
+ * specified YouTube content owner.
+ * @opt_param string channelId
+ * The channelId parameter specifies a YouTube channel ID. The API will only return that channel's
+ * channelSections.
+ * @opt_param string id
+ * The id parameter specifies a comma-separated list of the YouTube channelSection ID(s) for the
+ * resource(s) that are being retrieved. In a channelSection resource, the id property specifies
+ * the YouTube channelSection ID.
+ * @opt_param bool mine
+ * Set this parameter's value to true to retrieve a feed of the authenticated user's
+ * channelSections.
+ * @return Google_Service_YouTube_ChannelSectionListResponse
+ */
+ public function listChannelSections($part, $optParams = array())
+ {
+ $params = array('part' => $part);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_YouTube_ChannelSectionListResponse");
+ }
+ /**
+ * Update a channelSection. (channelSections.update)
+ *
+ * @param string $part
+ * The part parameter serves two purposes in this operation. It identifies the properties that the
+ * write operation will set as well as the properties that the API response will include.
+ The part
+ * names that you can include in the parameter value are snippet and contentDetails.
+ * @param Google_ChannelSection $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_YouTube_ChannelSection
+ */
+ public function update($part, Google_Service_YouTube_ChannelSection $postBody, $optParams = array())
+ {
+ $params = array('part' => $part, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_YouTube_ChannelSection");
+ }
+}
+
/**
* The "channels" collection of methods.
* Typical usage is:
@@ -1490,56 +1694,64 @@ public function listGuideCategories($part, $optParams = array())
}
/**
- * The "i18nLanguage" collection of methods.
+ * The "i18nLanguages" collection of methods.
* Typical usage is:
*
* $youtubeService = new Google_Service_YouTube(...);
- * $i18nLanguage = $youtubeService->i18nLanguage;
+ * $i18nLanguages = $youtubeService->i18nLanguages;
*
*/
-class Google_Service_YouTube_I18nLanguage_Resource extends Google_Service_Resource
+class Google_Service_YouTube_I18nLanguages_Resource extends Google_Service_Resource
{
/**
- * (i18nLanguage.listI18nLanguage)
+ * Returns a list of supported languages. (i18nLanguages.listI18nLanguages)
*
+ * @param string $part
+ * The part parameter specifies a comma-separated list of one or more i18nLanguage resource
+ * properties that the API response will include. The part names that you can include in the
+ * parameter value are id and snippet.
* @param array $optParams Optional parameters.
*
* @opt_param string hl
* The hl parameter specifies the language that should be used for text values in the API response.
* @return Google_Service_YouTube_I18nLanguageListResponse
*/
- public function listI18nLanguage($optParams = array())
+ public function listI18nLanguages($part, $optParams = array())
{
- $params = array();
+ $params = array('part' => $part);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_YouTube_I18nLanguageListResponse");
}
}
/**
- * The "i18nRegion" collection of methods.
+ * The "i18nRegions" collection of methods.
* Typical usage is:
*
* $youtubeService = new Google_Service_YouTube(...);
- * $i18nRegion = $youtubeService->i18nRegion;
+ * $i18nRegions = $youtubeService->i18nRegions;
*
*/
-class Google_Service_YouTube_I18nRegion_Resource extends Google_Service_Resource
+class Google_Service_YouTube_I18nRegions_Resource extends Google_Service_Resource
{
/**
- * (i18nRegion.listI18nRegion)
+ * Returns a list of supported regions. (i18nRegions.listI18nRegions)
*
+ * @param string $part
+ * The part parameter specifies a comma-separated list of one or more i18nRegion resource
+ * properties that the API response will include. The part names that you can include in the
+ * parameter value are id and snippet.
* @param array $optParams Optional parameters.
*
* @opt_param string hl
* The hl parameter specifies the language that should be used for text values in the API response.
* @return Google_Service_YouTube_I18nRegionListResponse
*/
- public function listI18nRegion($optParams = array())
+ public function listI18nRegions($part, $optParams = array())
{
- $params = array();
+ $params = array('part' => $part);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_YouTube_I18nRegionListResponse");
}
@@ -4462,6 +4674,212 @@ public function getVisitorId()
}
}
+class Google_Service_YouTube_ChannelSection extends Google_Model
+{
+ protected $contentDetailsType = 'Google_Service_YouTube_ChannelSectionContentDetails';
+ protected $contentDetailsDataType = '';
+ public $etag;
+ public $id;
+ public $kind;
+ protected $snippetType = 'Google_Service_YouTube_ChannelSectionSnippet';
+ protected $snippetDataType = '';
+
+ public function setContentDetails(Google_Service_YouTube_ChannelSectionContentDetails $contentDetails)
+ {
+ $this->contentDetails = $contentDetails;
+ }
+
+ public function getContentDetails()
+ {
+ return $this->contentDetails;
+ }
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setSnippet(Google_Service_YouTube_ChannelSectionSnippet $snippet)
+ {
+ $this->snippet = $snippet;
+ }
+
+ public function getSnippet()
+ {
+ return $this->snippet;
+ }
+}
+
+class Google_Service_YouTube_ChannelSectionContentDetails extends Google_Collection
+{
+ public $channels;
+ public $playlists;
+
+ public function setChannels($channels)
+ {
+ $this->channels = $channels;
+ }
+
+ public function getChannels()
+ {
+ return $this->channels;
+ }
+
+ public function setPlaylists($playlists)
+ {
+ $this->playlists = $playlists;
+ }
+
+ public function getPlaylists()
+ {
+ return $this->playlists;
+ }
+}
+
+class Google_Service_YouTube_ChannelSectionListResponse extends Google_Collection
+{
+ public $etag;
+ public $eventId;
+ protected $itemsType = 'Google_Service_YouTube_ChannelSection';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $visitorId;
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
+ public function setEventId($eventId)
+ {
+ $this->eventId = $eventId;
+ }
+
+ public function getEventId()
+ {
+ return $this->eventId;
+ }
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setVisitorId($visitorId)
+ {
+ $this->visitorId = $visitorId;
+ }
+
+ public function getVisitorId()
+ {
+ return $this->visitorId;
+ }
+}
+
+class Google_Service_YouTube_ChannelSectionSnippet extends Google_Model
+{
+ public $channelId;
+ public $position;
+ public $style;
+ public $title;
+ public $type;
+
+ public function setChannelId($channelId)
+ {
+ $this->channelId = $channelId;
+ }
+
+ public function getChannelId()
+ {
+ return $this->channelId;
+ }
+
+ public function setPosition($position)
+ {
+ $this->position = $position;
+ }
+
+ public function getPosition()
+ {
+ return $this->position;
+ }
+
+ public function setStyle($style)
+ {
+ $this->style = $style;
+ }
+
+ public function getStyle()
+ {
+ return $this->style;
+ }
+
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+
+ public function getTitle()
+ {
+ return $this->title;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
class Google_Service_YouTube_ChannelSettings extends Google_Collection
{
public $defaultTab;
From 848f9e0dfaeafe447fbf589fd99f6e682d20cd35 Mon Sep 17 00:00:00 2001
From: Silvano Luciani - * For more information about this service, see the API - * Documentation - *
- * - * @author Google, Inc. - */ -class Google_Service_Shopping extends Google_Service -{ - /** View your product data. */ - const SHOPPINGAPI = "https://www.googleapis.com/auth/shoppingapi"; - - public $products; - - - /** - * Constructs the internal representation of the Shopping service. - * - * @param Google_Client $client - */ - public function __construct(Google_Client $client) - { - parent::__construct($client); - $this->servicePath = 'shopping/search/v1/'; - $this->version = 'v1'; - $this->serviceName = 'shopping'; - - $this->products = new Google_Service_Shopping_Products_Resource( - $this, - $this->serviceName, - 'products', - array( - 'methods' => array( - 'get' => array( - 'path' => '{source}/products/{accountId}/{productIdType}/{productId}', - 'httpMethod' => 'GET', - 'parameters' => array( - 'source' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'accountId' => array( - 'location' => 'path', - 'type' => 'integer', - 'required' => true, - ), - 'productIdType' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'productId' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'categories.include' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'recommendations.enabled' => array( - 'location' => 'query', - 'type' => 'boolean', - ), - 'thumbnails' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'taxonomy' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'categories.useGcsConfig' => array( - 'location' => 'query', - 'type' => 'boolean', - ), - 'recommendations.include' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'categories.enabled' => array( - 'location' => 'query', - 'type' => 'boolean', - ), - 'location' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'attributeFilter' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'recommendations.useGcsConfig' => array( - 'location' => 'query', - 'type' => 'boolean', - ), - ), - ),'list' => array( - 'path' => '{source}/products', - 'httpMethod' => 'GET', - 'parameters' => array( - 'source' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'facets.include' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'categoryRecommendations.category' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'extras.enabled' => array( - 'location' => 'query', - 'type' => 'boolean', - ), - 'facets.enabled' => array( - 'location' => 'query', - 'type' => 'boolean', - ), - 'promotions.enabled' => array( - 'location' => 'query', - 'type' => 'boolean', - ), - 'channels' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'currency' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'categoryRecommendations.enabled' => array( - 'location' => 'query', - 'type' => 'boolean', - ), - 'facets.discover' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'extras.info' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'startIndex' => array( - 'location' => 'query', - 'type' => 'integer', - ), - 'availability' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'crowdBy' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'q' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'spelling.enabled' => array( - 'location' => 'query', - 'type' => 'boolean', - ), - 'taxonomy' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'spelling.useGcsConfig' => array( - 'location' => 'query', - 'type' => 'boolean', - ), - 'useCase' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'location' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'maxVariants' => array( - 'location' => 'query', - 'type' => 'integer', - ), - 'categories.include' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'boostBy' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'categories.useGcsConfig' => array( - 'location' => 'query', - 'type' => 'boolean', - ), - 'maxResults' => array( - 'location' => 'query', - 'type' => 'integer', - ), - 'facets.useGcsConfig' => array( - 'location' => 'query', - 'type' => 'boolean', - ), - 'categories.enabled' => array( - 'location' => 'query', - 'type' => 'boolean', - ), - 'attributeFilter' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'clickTracking' => array( - 'location' => 'query', - 'type' => 'boolean', - ), - 'thumbnails' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'language' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'categoryRecommendations.include' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'country' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'rankBy' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'restrictBy' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'facets.includeEmptyBuckets' => array( - 'location' => 'query', - 'type' => 'boolean', - ), - 'redirects.enabled' => array( - 'location' => 'query', - 'type' => 'boolean', - ), - 'redirects.useGcsConfig' => array( - 'location' => 'query', - 'type' => 'boolean', - ), - 'categoryRecommendations.useGcsConfig' => array( - 'location' => 'query', - 'type' => 'boolean', - ), - 'promotions.useGcsConfig' => array( - 'location' => 'query', - 'type' => 'boolean', - ), - ), - ), - ) - ) - ); - } -} - - -/** - * The "products" collection of methods. - * Typical usage is: - *
- * $shoppingService = new Google_Service_Shopping(...);
- * $products = $shoppingService->products;
- *
- */
-class Google_Service_Shopping_Products_Resource extends Google_Service_Resource
-{
-
- /**
- * Returns a single product (products.get)
- *
- * @param string $source
- * Query source
- * @param string $accountId
- * Merchant center account id
- * @param string $productIdType
- * Type of productId
- * @param string $productId
- * Id of product
- * @param array $optParams Optional parameters.
- *
- * @opt_param string categoriesInclude
- * Category specification
- * @opt_param bool recommendationsEnabled
- * Whether to return recommendation information
- * @opt_param string thumbnails
- * Thumbnail specification
- * @opt_param string taxonomy
- * Merchant taxonomy
- * @opt_param bool categoriesUseGcsConfig
- * This parameter is currently ignored
- * @opt_param string recommendationsInclude
- * Recommendation specification
- * @opt_param bool categoriesEnabled
- * Whether to return category information
- * @opt_param string location
- * Location used to determine tax and shipping
- * @opt_param string attributeFilter
- * Comma separated list of attributes to return
- * @opt_param bool recommendationsUseGcsConfig
- * This parameter is currently ignored
- * @return Google_Service_Shopping_Product
- */
- public function get($source, $accountId, $productIdType, $productId, $optParams = array())
- {
- $params = array('source' => $source, 'accountId' => $accountId, 'productIdType' => $productIdType, 'productId' => $productId);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Shopping_Product");
- }
- /**
- * Returns a list of products and content modules (products.listProducts)
- *
- * @param string $source
- * Query source
- * @param array $optParams Optional parameters.
- *
- * @opt_param string facetsInclude
- * Facets to include (applies when useGcsConfig == false)
- * @opt_param string categoryRecommendationsCategory
- * Category for which to retrieve recommendations
- * @opt_param bool extrasEnabled
- * Whether to return extra information.
- * @opt_param bool facetsEnabled
- * Whether to return facet information
- * @opt_param bool promotionsEnabled
- * Whether to return promotion information
- * @opt_param string channels
- * Channels specification
- * @opt_param string currency
- * Currency restriction (ISO 4217)
- * @opt_param bool categoryRecommendationsEnabled
- * Whether to return category recommendation information
- * @opt_param string facetsDiscover
- * Facets to discover
- * @opt_param string extrasInfo
- * What extra information to return.
- * @opt_param string startIndex
- * Index (1-based) of first product to return
- * @opt_param string availability
- * Comma separated list of availabilities (outOfStock, limited, inStock, backOrder, preOrder,
- * onDisplayToOrder) to return
- * @opt_param string crowdBy
- * Crowding specification
- * @opt_param string q
- * Search query
- * @opt_param bool spellingEnabled
- * Whether to return spelling suggestions
- * @opt_param string taxonomy
- * Taxonomy name
- * @opt_param bool spellingUseGcsConfig
- * This parameter is currently ignored
- * @opt_param string useCase
- * One of CommerceSearchUseCase, ShoppingApiUseCase
- * @opt_param string location
- * Location used to determine tax and shipping
- * @opt_param int maxVariants
- * Maximum number of variant results to return per result
- * @opt_param string categoriesInclude
- * Category specification
- * @opt_param string boostBy
- * Boosting specification
- * @opt_param bool categoriesUseGcsConfig
- * This parameter is currently ignored
- * @opt_param string maxResults
- * Maximum number of results to return
- * @opt_param bool facetsUseGcsConfig
- * Whether to return facet information as configured in the GCS account
- * @opt_param bool categoriesEnabled
- * Whether to return category information
- * @opt_param string attributeFilter
- * Comma separated list of attributes to return
- * @opt_param bool clickTracking
- * Whether to add a click tracking parameter to offer URLs
- * @opt_param string thumbnails
- * Image thumbnails specification
- * @opt_param string language
- * Language restriction (BCP 47)
- * @opt_param string categoryRecommendationsInclude
- * Category recommendation specification
- * @opt_param string country
- * Country restriction (ISO 3166)
- * @opt_param string rankBy
- * Ranking specification
- * @opt_param string restrictBy
- * Restriction specification
- * @opt_param bool facetsIncludeEmptyBuckets
- * Return empty facet buckets.
- * @opt_param bool redirectsEnabled
- * Whether to return redirect information
- * @opt_param bool redirectsUseGcsConfig
- * Whether to return redirect information as configured in the GCS account
- * @opt_param bool categoryRecommendationsUseGcsConfig
- * This parameter is currently ignored
- * @opt_param bool promotionsUseGcsConfig
- * Whether to return promotion information as configured in the GCS account
- * @return Google_Service_Shopping_Products
- */
- public function listProducts($source, $optParams = array())
- {
- $params = array('source' => $source);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Shopping_Products");
- }
-}
-
-
-
-
-class Google_Service_Shopping_Product extends Google_Collection
-{
- protected $categoriesType = 'Google_Service_Shopping_ShoppingModelCategoryJsonV1';
- protected $categoriesDataType = 'array';
- protected $debugType = 'Google_Service_Shopping_ShoppingModelDebugJsonV1';
- protected $debugDataType = '';
- public $id;
- public $kind;
- protected $productType = 'Google_Service_Shopping_ShoppingModelProductJsonV1';
- protected $productDataType = '';
- protected $recommendationsType = 'Google_Service_Shopping_ShoppingModelRecommendationsJsonV1';
- protected $recommendationsDataType = 'array';
- public $requestId;
- public $selfLink;
-
- public function setCategories($categories)
- {
- $this->categories = $categories;
- }
-
- public function getCategories()
- {
- return $this->categories;
- }
-
- public function setDebug(Google_Service_Shopping_ShoppingModelDebugJsonV1 $debug)
- {
- $this->debug = $debug;
- }
-
- public function getDebug()
- {
- return $this->debug;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setProduct(Google_Service_Shopping_ShoppingModelProductJsonV1 $product)
- {
- $this->product = $product;
- }
-
- public function getProduct()
- {
- return $this->product;
- }
-
- public function setRecommendations($recommendations)
- {
- $this->recommendations = $recommendations;
- }
-
- public function getRecommendations()
- {
- return $this->recommendations;
- }
-
- public function setRequestId($requestId)
- {
- $this->requestId = $requestId;
- }
-
- public function getRequestId()
- {
- return $this->requestId;
- }
-
- public function setSelfLink($selfLink)
- {
- $this->selfLink = $selfLink;
- }
-
- public function getSelfLink()
- {
- return $this->selfLink;
- }
-}
-
-class Google_Service_Shopping_Products extends Google_Collection
-{
- protected $categoriesType = 'Google_Service_Shopping_ShoppingModelCategoryJsonV1';
- protected $categoriesDataType = 'array';
- protected $categoryRecommendationsType = 'Google_Service_Shopping_ShoppingModelRecommendationsJsonV1';
- protected $categoryRecommendationsDataType = 'array';
- public $currentItemCount;
- protected $debugType = 'Google_Service_Shopping_ShoppingModelDebugJsonV1';
- protected $debugDataType = '';
- public $etag;
- protected $extrasType = 'Google_Service_Shopping_ShoppingModelExtrasJsonV1';
- protected $extrasDataType = '';
- protected $facetsType = 'Google_Service_Shopping_ProductsFacets';
- protected $facetsDataType = 'array';
- public $id;
- protected $itemsType = 'Google_Service_Shopping_Product';
- protected $itemsDataType = 'array';
- public $itemsPerPage;
- public $kind;
- public $nextLink;
- public $previousLink;
- protected $promotionsType = 'Google_Service_Shopping_ProductsPromotions';
- protected $promotionsDataType = 'array';
- public $redirects;
- public $requestId;
- public $selfLink;
- protected $spellingType = 'Google_Service_Shopping_ProductsSpelling';
- protected $spellingDataType = '';
- public $startIndex;
- protected $storesType = 'Google_Service_Shopping_ProductsStores';
- protected $storesDataType = 'array';
- public $totalItems;
-
- public function setCategories($categories)
- {
- $this->categories = $categories;
- }
-
- public function getCategories()
- {
- return $this->categories;
- }
-
- public function setCategoryRecommendations($categoryRecommendations)
- {
- $this->categoryRecommendations = $categoryRecommendations;
- }
-
- public function getCategoryRecommendations()
- {
- return $this->categoryRecommendations;
- }
-
- public function setCurrentItemCount($currentItemCount)
- {
- $this->currentItemCount = $currentItemCount;
- }
-
- public function getCurrentItemCount()
- {
- return $this->currentItemCount;
- }
-
- public function setDebug(Google_Service_Shopping_ShoppingModelDebugJsonV1 $debug)
- {
- $this->debug = $debug;
- }
-
- public function getDebug()
- {
- return $this->debug;
- }
-
- public function setEtag($etag)
- {
- $this->etag = $etag;
- }
-
- public function getEtag()
- {
- return $this->etag;
- }
-
- public function setExtras(Google_Service_Shopping_ShoppingModelExtrasJsonV1 $extras)
- {
- $this->extras = $extras;
- }
-
- public function getExtras()
- {
- return $this->extras;
- }
-
- public function setFacets($facets)
- {
- $this->facets = $facets;
- }
-
- public function getFacets()
- {
- return $this->facets;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setItems($items)
- {
- $this->items = $items;
- }
-
- public function getItems()
- {
- return $this->items;
- }
-
- public function setItemsPerPage($itemsPerPage)
- {
- $this->itemsPerPage = $itemsPerPage;
- }
-
- public function getItemsPerPage()
- {
- return $this->itemsPerPage;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setNextLink($nextLink)
- {
- $this->nextLink = $nextLink;
- }
-
- public function getNextLink()
- {
- return $this->nextLink;
- }
-
- public function setPreviousLink($previousLink)
- {
- $this->previousLink = $previousLink;
- }
-
- public function getPreviousLink()
- {
- return $this->previousLink;
- }
-
- public function setPromotions($promotions)
- {
- $this->promotions = $promotions;
- }
-
- public function getPromotions()
- {
- return $this->promotions;
- }
-
- public function setRedirects($redirects)
- {
- $this->redirects = $redirects;
- }
-
- public function getRedirects()
- {
- return $this->redirects;
- }
-
- public function setRequestId($requestId)
- {
- $this->requestId = $requestId;
- }
-
- public function getRequestId()
- {
- return $this->requestId;
- }
-
- public function setSelfLink($selfLink)
- {
- $this->selfLink = $selfLink;
- }
-
- public function getSelfLink()
- {
- return $this->selfLink;
- }
-
- public function setSpelling(Google_Service_Shopping_ProductsSpelling $spelling)
- {
- $this->spelling = $spelling;
- }
-
- public function getSpelling()
- {
- return $this->spelling;
- }
-
- public function setStartIndex($startIndex)
- {
- $this->startIndex = $startIndex;
- }
-
- public function getStartIndex()
- {
- return $this->startIndex;
- }
-
- public function setStores($stores)
- {
- $this->stores = $stores;
- }
-
- public function getStores()
- {
- return $this->stores;
- }
-
- public function setTotalItems($totalItems)
- {
- $this->totalItems = $totalItems;
- }
-
- public function getTotalItems()
- {
- return $this->totalItems;
- }
-}
-
-class Google_Service_Shopping_ProductsFacets extends Google_Collection
-{
- protected $bucketsType = 'Google_Service_Shopping_ProductsFacetsBuckets';
- protected $bucketsDataType = 'array';
- public $count;
- public $displayName;
- public $name;
- public $property;
- public $type;
- public $unit;
-
- public function setBuckets($buckets)
- {
- $this->buckets = $buckets;
- }
-
- public function getBuckets()
- {
- return $this->buckets;
- }
-
- public function setCount($count)
- {
- $this->count = $count;
- }
-
- public function getCount()
- {
- return $this->count;
- }
-
- public function setDisplayName($displayName)
- {
- $this->displayName = $displayName;
- }
-
- public function getDisplayName()
- {
- return $this->displayName;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setProperty($property)
- {
- $this->property = $property;
- }
-
- public function getProperty()
- {
- return $this->property;
- }
-
- public function setType($type)
- {
- $this->type = $type;
- }
-
- public function getType()
- {
- return $this->type;
- }
-
- public function setUnit($unit)
- {
- $this->unit = $unit;
- }
-
- public function getUnit()
- {
- return $this->unit;
- }
-}
-
-class Google_Service_Shopping_ProductsFacetsBuckets extends Google_Model
-{
- public $count;
- public $max;
- public $maxExclusive;
- public $min;
- public $minExclusive;
- public $value;
-
- public function setCount($count)
- {
- $this->count = $count;
- }
-
- public function getCount()
- {
- return $this->count;
- }
-
- public function setMax($max)
- {
- $this->max = $max;
- }
-
- public function getMax()
- {
- return $this->max;
- }
-
- public function setMaxExclusive($maxExclusive)
- {
- $this->maxExclusive = $maxExclusive;
- }
-
- public function getMaxExclusive()
- {
- return $this->maxExclusive;
- }
-
- public function setMin($min)
- {
- $this->min = $min;
- }
-
- public function getMin()
- {
- return $this->min;
- }
-
- public function setMinExclusive($minExclusive)
- {
- $this->minExclusive = $minExclusive;
- }
-
- public function getMinExclusive()
- {
- return $this->minExclusive;
- }
-
- public function setValue($value)
- {
- $this->value = $value;
- }
-
- public function getValue()
- {
- return $this->value;
- }
-}
-
-class Google_Service_Shopping_ProductsPromotions extends Google_Collection
-{
- protected $customFieldsType = 'Google_Service_Shopping_ProductsPromotionsCustomFields';
- protected $customFieldsDataType = 'array';
- public $customHtml;
- public $description;
- public $destLink;
- public $imageLink;
- public $name;
- protected $productType = 'Google_Service_Shopping_ShoppingModelProductJsonV1';
- protected $productDataType = '';
- public $type;
-
- public function setCustomFields($customFields)
- {
- $this->customFields = $customFields;
- }
-
- public function getCustomFields()
- {
- return $this->customFields;
- }
-
- public function setCustomHtml($customHtml)
- {
- $this->customHtml = $customHtml;
- }
-
- public function getCustomHtml()
- {
- return $this->customHtml;
- }
-
- public function setDescription($description)
- {
- $this->description = $description;
- }
-
- public function getDescription()
- {
- return $this->description;
- }
-
- public function setDestLink($destLink)
- {
- $this->destLink = $destLink;
- }
-
- public function getDestLink()
- {
- return $this->destLink;
- }
-
- public function setImageLink($imageLink)
- {
- $this->imageLink = $imageLink;
- }
-
- public function getImageLink()
- {
- return $this->imageLink;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setProduct(Google_Service_Shopping_ShoppingModelProductJsonV1 $product)
- {
- $this->product = $product;
- }
-
- public function getProduct()
- {
- return $this->product;
- }
-
- public function setType($type)
- {
- $this->type = $type;
- }
-
- public function getType()
- {
- return $this->type;
- }
-}
-
-class Google_Service_Shopping_ProductsPromotionsCustomFields extends Google_Model
-{
- public $name;
- public $value;
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setValue($value)
- {
- $this->value = $value;
- }
-
- public function getValue()
- {
- return $this->value;
- }
-}
-
-class Google_Service_Shopping_ProductsSpelling extends Google_Model
-{
- public $suggestion;
-
- public function setSuggestion($suggestion)
- {
- $this->suggestion = $suggestion;
- }
-
- public function getSuggestion()
- {
- return $this->suggestion;
- }
-}
-
-class Google_Service_Shopping_ProductsStores extends Google_Model
-{
- public $address;
- public $location;
- public $name;
- public $storeCode;
- public $storeId;
- public $storeName;
- public $telephone;
-
- public function setAddress($address)
- {
- $this->address = $address;
- }
-
- public function getAddress()
- {
- return $this->address;
- }
-
- public function setLocation($location)
- {
- $this->location = $location;
- }
-
- public function getLocation()
- {
- return $this->location;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setStoreCode($storeCode)
- {
- $this->storeCode = $storeCode;
- }
-
- public function getStoreCode()
- {
- return $this->storeCode;
- }
-
- public function setStoreId($storeId)
- {
- $this->storeId = $storeId;
- }
-
- public function getStoreId()
- {
- return $this->storeId;
- }
-
- public function setStoreName($storeName)
- {
- $this->storeName = $storeName;
- }
-
- public function getStoreName()
- {
- return $this->storeName;
- }
-
- public function setTelephone($telephone)
- {
- $this->telephone = $telephone;
- }
-
- public function getTelephone()
- {
- return $this->telephone;
- }
-}
-
-class Google_Service_Shopping_ShoppingModelCategoryJsonV1 extends Google_Collection
-{
- public $id;
- public $parents;
- public $shortName;
- public $url;
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setParents($parents)
- {
- $this->parents = $parents;
- }
-
- public function getParents()
- {
- return $this->parents;
- }
-
- public function setShortName($shortName)
- {
- $this->shortName = $shortName;
- }
-
- public function getShortName()
- {
- return $this->shortName;
- }
-
- public function setUrl($url)
- {
- $this->url = $url;
- }
-
- public function getUrl()
- {
- return $this->url;
- }
-}
-
-class Google_Service_Shopping_ShoppingModelDebugJsonV1 extends Google_Collection
-{
- protected $backendTimesType = 'Google_Service_Shopping_ShoppingModelDebugJsonV1BackendTimes';
- protected $backendTimesDataType = 'array';
- public $elapsedMillis;
- public $facetsRequest;
- public $facetsResponse;
- public $rdcResponse;
- public $recommendedItemsRequest;
- public $recommendedItemsResponse;
- public $searchRequest;
- public $searchResponse;
-
- public function setBackendTimes($backendTimes)
- {
- $this->backendTimes = $backendTimes;
- }
-
- public function getBackendTimes()
- {
- return $this->backendTimes;
- }
-
- public function setElapsedMillis($elapsedMillis)
- {
- $this->elapsedMillis = $elapsedMillis;
- }
-
- public function getElapsedMillis()
- {
- return $this->elapsedMillis;
- }
-
- public function setFacetsRequest($facetsRequest)
- {
- $this->facetsRequest = $facetsRequest;
- }
-
- public function getFacetsRequest()
- {
- return $this->facetsRequest;
- }
-
- public function setFacetsResponse($facetsResponse)
- {
- $this->facetsResponse = $facetsResponse;
- }
-
- public function getFacetsResponse()
- {
- return $this->facetsResponse;
- }
-
- public function setRdcResponse($rdcResponse)
- {
- $this->rdcResponse = $rdcResponse;
- }
-
- public function getRdcResponse()
- {
- return $this->rdcResponse;
- }
-
- public function setRecommendedItemsRequest($recommendedItemsRequest)
- {
- $this->recommendedItemsRequest = $recommendedItemsRequest;
- }
-
- public function getRecommendedItemsRequest()
- {
- return $this->recommendedItemsRequest;
- }
-
- public function setRecommendedItemsResponse($recommendedItemsResponse)
- {
- $this->recommendedItemsResponse = $recommendedItemsResponse;
- }
-
- public function getRecommendedItemsResponse()
- {
- return $this->recommendedItemsResponse;
- }
-
- public function setSearchRequest($searchRequest)
- {
- $this->searchRequest = $searchRequest;
- }
-
- public function getSearchRequest()
- {
- return $this->searchRequest;
- }
-
- public function setSearchResponse($searchResponse)
- {
- $this->searchResponse = $searchResponse;
- }
-
- public function getSearchResponse()
- {
- return $this->searchResponse;
- }
-}
-
-class Google_Service_Shopping_ShoppingModelDebugJsonV1BackendTimes extends Google_Model
-{
- public $elapsedMillis;
- public $hostName;
- public $name;
- public $serverMillis;
-
- public function setElapsedMillis($elapsedMillis)
- {
- $this->elapsedMillis = $elapsedMillis;
- }
-
- public function getElapsedMillis()
- {
- return $this->elapsedMillis;
- }
-
- public function setHostName($hostName)
- {
- $this->hostName = $hostName;
- }
-
- public function getHostName()
- {
- return $this->hostName;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setServerMillis($serverMillis)
- {
- $this->serverMillis = $serverMillis;
- }
-
- public function getServerMillis()
- {
- return $this->serverMillis;
- }
-}
-
-class Google_Service_Shopping_ShoppingModelExtrasJsonV1 extends Google_Collection
-{
- protected $facetRulesType = 'Google_Service_Shopping_ShoppingModelExtrasJsonV1FacetRules';
- protected $facetRulesDataType = 'array';
- protected $rankingRulesType = 'Google_Service_Shopping_ShoppingModelExtrasJsonV1RankingRules';
- protected $rankingRulesDataType = 'array';
-
- public function setFacetRules($facetRules)
- {
- $this->facetRules = $facetRules;
- }
-
- public function getFacetRules()
- {
- return $this->facetRules;
- }
-
- public function setRankingRules($rankingRules)
- {
- $this->rankingRules = $rankingRules;
- }
-
- public function getRankingRules()
- {
- return $this->rankingRules;
- }
-}
-
-class Google_Service_Shopping_ShoppingModelExtrasJsonV1FacetRules extends Google_Model
-{
- public $name;
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-}
-
-class Google_Service_Shopping_ShoppingModelExtrasJsonV1RankingRules extends Google_Model
-{
- public $name;
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-}
-
-class Google_Service_Shopping_ShoppingModelProductJsonV1 extends Google_Collection
-{
- protected $attributesType = 'Google_Service_Shopping_ShoppingModelProductJsonV1Attributes';
- protected $attributesDataType = 'array';
- protected $authorType = 'Google_Service_Shopping_ShoppingModelProductJsonV1Author';
- protected $authorDataType = '';
- public $brand;
- public $categories;
- public $condition;
- public $country;
- public $creationTime;
- public $description;
- public $googleId;
- public $gtin;
- public $gtins;
- protected $imagesType = 'Google_Service_Shopping_ShoppingModelProductJsonV1Images';
- protected $imagesDataType = 'array';
- protected $internal16Type = 'Google_Service_Shopping_ShoppingModelProductJsonV1Internal16';
- protected $internal16DataType = '';
- protected $inventoriesType = 'Google_Service_Shopping_ShoppingModelProductJsonV1Inventories';
- protected $inventoriesDataType = 'array';
- public $language;
- public $link;
- public $modificationTime;
- public $mpns;
- public $providedId;
- public $queryMatched;
- public $score;
- public $title;
- public $totalMatchingVariants;
- protected $variantsType = 'Google_Service_Shopping_ShoppingModelProductJsonV1Variants';
- protected $variantsDataType = 'array';
-
- public function setAttributes($attributes)
- {
- $this->attributes = $attributes;
- }
-
- public function getAttributes()
- {
- return $this->attributes;
- }
-
- public function setAuthor(Google_Service_Shopping_ShoppingModelProductJsonV1Author $author)
- {
- $this->author = $author;
- }
-
- public function getAuthor()
- {
- return $this->author;
- }
-
- public function setBrand($brand)
- {
- $this->brand = $brand;
- }
-
- public function getBrand()
- {
- return $this->brand;
- }
-
- public function setCategories($categories)
- {
- $this->categories = $categories;
- }
-
- public function getCategories()
- {
- return $this->categories;
- }
-
- public function setCondition($condition)
- {
- $this->condition = $condition;
- }
-
- public function getCondition()
- {
- return $this->condition;
- }
-
- public function setCountry($country)
- {
- $this->country = $country;
- }
-
- public function getCountry()
- {
- return $this->country;
- }
-
- public function setCreationTime($creationTime)
- {
- $this->creationTime = $creationTime;
- }
-
- public function getCreationTime()
- {
- return $this->creationTime;
- }
-
- public function setDescription($description)
- {
- $this->description = $description;
- }
-
- public function getDescription()
- {
- return $this->description;
- }
-
- public function setGoogleId($googleId)
- {
- $this->googleId = $googleId;
- }
-
- public function getGoogleId()
- {
- return $this->googleId;
- }
-
- public function setGtin($gtin)
- {
- $this->gtin = $gtin;
- }
-
- public function getGtin()
- {
- return $this->gtin;
- }
-
- public function setGtins($gtins)
- {
- $this->gtins = $gtins;
- }
-
- public function getGtins()
- {
- return $this->gtins;
- }
-
- public function setImages($images)
- {
- $this->images = $images;
- }
-
- public function getImages()
- {
- return $this->images;
- }
-
- public function setInternal16(Google_Service_Shopping_ShoppingModelProductJsonV1Internal16 $internal16)
- {
- $this->internal16 = $internal16;
- }
-
- public function getInternal16()
- {
- return $this->internal16;
- }
-
- public function setInventories($inventories)
- {
- $this->inventories = $inventories;
- }
-
- public function getInventories()
- {
- return $this->inventories;
- }
-
- public function setLanguage($language)
- {
- $this->language = $language;
- }
-
- public function getLanguage()
- {
- return $this->language;
- }
-
- public function setLink($link)
- {
- $this->link = $link;
- }
-
- public function getLink()
- {
- return $this->link;
- }
-
- public function setModificationTime($modificationTime)
- {
- $this->modificationTime = $modificationTime;
- }
-
- public function getModificationTime()
- {
- return $this->modificationTime;
- }
-
- public function setMpns($mpns)
- {
- $this->mpns = $mpns;
- }
-
- public function getMpns()
- {
- return $this->mpns;
- }
-
- public function setProvidedId($providedId)
- {
- $this->providedId = $providedId;
- }
-
- public function getProvidedId()
- {
- return $this->providedId;
- }
-
- public function setQueryMatched($queryMatched)
- {
- $this->queryMatched = $queryMatched;
- }
-
- public function getQueryMatched()
- {
- return $this->queryMatched;
- }
-
- public function setScore($score)
- {
- $this->score = $score;
- }
-
- public function getScore()
- {
- return $this->score;
- }
-
- public function setTitle($title)
- {
- $this->title = $title;
- }
-
- public function getTitle()
- {
- return $this->title;
- }
-
- public function setTotalMatchingVariants($totalMatchingVariants)
- {
- $this->totalMatchingVariants = $totalMatchingVariants;
- }
-
- public function getTotalMatchingVariants()
- {
- return $this->totalMatchingVariants;
- }
-
- public function setVariants($variants)
- {
- $this->variants = $variants;
- }
-
- public function getVariants()
- {
- return $this->variants;
- }
-}
-
-class Google_Service_Shopping_ShoppingModelProductJsonV1Attributes extends Google_Model
-{
- public $displayName;
- public $name;
- public $type;
- public $unit;
- public $value;
-
- public function setDisplayName($displayName)
- {
- $this->displayName = $displayName;
- }
-
- public function getDisplayName()
- {
- return $this->displayName;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setType($type)
- {
- $this->type = $type;
- }
-
- public function getType()
- {
- return $this->type;
- }
-
- public function setUnit($unit)
- {
- $this->unit = $unit;
- }
-
- public function getUnit()
- {
- return $this->unit;
- }
-
- public function setValue($value)
- {
- $this->value = $value;
- }
-
- public function getValue()
- {
- return $this->value;
- }
-}
-
-class Google_Service_Shopping_ShoppingModelProductJsonV1Author extends Google_Model
-{
- public $accountId;
- public $name;
-
- public function setAccountId($accountId)
- {
- $this->accountId = $accountId;
- }
-
- public function getAccountId()
- {
- return $this->accountId;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-}
-
-class Google_Service_Shopping_ShoppingModelProductJsonV1Images extends Google_Collection
-{
- public $link;
- public $status;
- protected $thumbnailsType = 'Google_Service_Shopping_ShoppingModelProductJsonV1ImagesThumbnails';
- protected $thumbnailsDataType = 'array';
-
- public function setLink($link)
- {
- $this->link = $link;
- }
-
- public function getLink()
- {
- return $this->link;
- }
-
- public function setStatus($status)
- {
- $this->status = $status;
- }
-
- public function getStatus()
- {
- return $this->status;
- }
-
- public function setThumbnails($thumbnails)
- {
- $this->thumbnails = $thumbnails;
- }
-
- public function getThumbnails()
- {
- return $this->thumbnails;
- }
-}
-
-class Google_Service_Shopping_ShoppingModelProductJsonV1ImagesThumbnails extends Google_Model
-{
- public $content;
- public $height;
- public $link;
- public $width;
-
- public function setContent($content)
- {
- $this->content = $content;
- }
-
- public function getContent()
- {
- return $this->content;
- }
-
- public function setHeight($height)
- {
- $this->height = $height;
- }
-
- public function getHeight()
- {
- return $this->height;
- }
-
- public function setLink($link)
- {
- $this->link = $link;
- }
-
- public function getLink()
- {
- return $this->link;
- }
-
- public function setWidth($width)
- {
- $this->width = $width;
- }
-
- public function getWidth()
- {
- return $this->width;
- }
-}
-
-class Google_Service_Shopping_ShoppingModelProductJsonV1Internal16 extends Google_Model
-{
- public $length;
- public $number;
- public $size;
-
- public function setLength($length)
- {
- $this->length = $length;
- }
-
- public function getLength()
- {
- return $this->length;
- }
-
- public function setNumber($number)
- {
- $this->number = $number;
- }
-
- public function getNumber()
- {
- return $this->number;
- }
-
- public function setSize($size)
- {
- $this->size = $size;
- }
-
- public function getSize()
- {
- return $this->size;
- }
-}
-
-class Google_Service_Shopping_ShoppingModelProductJsonV1Inventories extends Google_Model
-{
- public $availability;
- public $channel;
- public $currency;
- public $distance;
- public $distanceUnit;
- public $installmentMonths;
- public $installmentPrice;
- public $originalPrice;
- public $price;
- public $saleEndDate;
- public $salePrice;
- public $saleStartDate;
- public $shipping;
- public $storeId;
- public $tax;
-
- public function setAvailability($availability)
- {
- $this->availability = $availability;
- }
-
- public function getAvailability()
- {
- return $this->availability;
- }
-
- public function setChannel($channel)
- {
- $this->channel = $channel;
- }
-
- public function getChannel()
- {
- return $this->channel;
- }
-
- public function setCurrency($currency)
- {
- $this->currency = $currency;
- }
-
- public function getCurrency()
- {
- return $this->currency;
- }
-
- public function setDistance($distance)
- {
- $this->distance = $distance;
- }
-
- public function getDistance()
- {
- return $this->distance;
- }
-
- public function setDistanceUnit($distanceUnit)
- {
- $this->distanceUnit = $distanceUnit;
- }
-
- public function getDistanceUnit()
- {
- return $this->distanceUnit;
- }
-
- public function setInstallmentMonths($installmentMonths)
- {
- $this->installmentMonths = $installmentMonths;
- }
-
- public function getInstallmentMonths()
- {
- return $this->installmentMonths;
- }
-
- public function setInstallmentPrice($installmentPrice)
- {
- $this->installmentPrice = $installmentPrice;
- }
-
- public function getInstallmentPrice()
- {
- return $this->installmentPrice;
- }
-
- public function setOriginalPrice($originalPrice)
- {
- $this->originalPrice = $originalPrice;
- }
-
- public function getOriginalPrice()
- {
- return $this->originalPrice;
- }
-
- public function setPrice($price)
- {
- $this->price = $price;
- }
-
- public function getPrice()
- {
- return $this->price;
- }
-
- public function setSaleEndDate($saleEndDate)
- {
- $this->saleEndDate = $saleEndDate;
- }
-
- public function getSaleEndDate()
- {
- return $this->saleEndDate;
- }
-
- public function setSalePrice($salePrice)
- {
- $this->salePrice = $salePrice;
- }
-
- public function getSalePrice()
- {
- return $this->salePrice;
- }
-
- public function setSaleStartDate($saleStartDate)
- {
- $this->saleStartDate = $saleStartDate;
- }
-
- public function getSaleStartDate()
- {
- return $this->saleStartDate;
- }
-
- public function setShipping($shipping)
- {
- $this->shipping = $shipping;
- }
-
- public function getShipping()
- {
- return $this->shipping;
- }
-
- public function setStoreId($storeId)
- {
- $this->storeId = $storeId;
- }
-
- public function getStoreId()
- {
- return $this->storeId;
- }
-
- public function setTax($tax)
- {
- $this->tax = $tax;
- }
-
- public function getTax()
- {
- return $this->tax;
- }
-}
-
-class Google_Service_Shopping_ShoppingModelProductJsonV1Variants extends Google_Model
-{
- protected $variantType = 'Google_Service_Shopping_ShoppingModelProductJsonV1';
- protected $variantDataType = '';
-
- public function setVariant(Google_Service_Shopping_ShoppingModelProductJsonV1 $variant)
- {
- $this->variant = $variant;
- }
-
- public function getVariant()
- {
- return $this->variant;
- }
-}
-
-class Google_Service_Shopping_ShoppingModelRecommendationsJsonV1 extends Google_Collection
-{
- protected $recommendationListType = 'Google_Service_Shopping_ShoppingModelRecommendationsJsonV1RecommendationList';
- protected $recommendationListDataType = 'array';
- public $type;
-
- public function setRecommendationList($recommendationList)
- {
- $this->recommendationList = $recommendationList;
- }
-
- public function getRecommendationList()
- {
- return $this->recommendationList;
- }
-
- public function setType($type)
- {
- $this->type = $type;
- }
-
- public function getType()
- {
- return $this->type;
- }
-}
-
-class Google_Service_Shopping_ShoppingModelRecommendationsJsonV1RecommendationList extends Google_Model
-{
- protected $productType = 'Google_Service_Shopping_ShoppingModelProductJsonV1';
- protected $productDataType = '';
-
- public function setProduct(Google_Service_Shopping_ShoppingModelProductJsonV1 $product)
- {
- $this->product = $product;
- }
-
- public function getProduct()
- {
- return $this->product;
- }
-}
From ee997168440ebdd4c88a3dc5d789dabde70c282d Mon Sep 17 00:00:00 2001
From: Mat Scales
+ * $sqladminService = new Google_Service_SQLAdmin(...);
+ * $flags = $sqladminService->flags;
+ *
+ */
+class Google_Service_SQLAdmin_Flags_Resource extends Google_Service_Resource
+{
+
+ /**
+ * List all available database flags for Google Cloud SQL instances.
+ * (flags.listFlags)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_FlagsListResponse
+ */
+ public function listFlags($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_SQLAdmin_FlagsListResponse");
+ }
+}
+
/**
* The "instances" collection of methods.
* Typical usage is:
@@ -545,6 +596,22 @@ public function listBackupRuns($project, $instance, $backupConfiguration, $optPa
class Google_Service_SQLAdmin_Instances_Resource extends Google_Service_Resource
{
+ /**
+ * Creates a Cloud SQL instance as a clone of the source instance.
+ * (instances.cloneInstances)
+ *
+ * @param string $project
+ * Project ID of the source as well as the clone Cloud SQL instance.
+ * @param Google_InstancesCloneRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_InstancesCloneResponse
+ */
+ public function cloneInstances($project, Google_Service_SQLAdmin_InstancesCloneRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('clone', array($params), "Google_Service_SQLAdmin_InstancesCloneResponse");
+ }
/**
* Deletes a Cloud SQL instance. (instances.delete)
*
@@ -1138,6 +1205,118 @@ public function getNextPageToken()
}
}
+class Google_Service_SQLAdmin_BinLogCoordinates extends Google_Model
+{
+ public $binLogFileName;
+ public $binLogPosition;
+ public $kind;
+
+ public function setBinLogFileName($binLogFileName)
+ {
+ $this->binLogFileName = $binLogFileName;
+ }
+
+ public function getBinLogFileName()
+ {
+ return $this->binLogFileName;
+ }
+
+ public function setBinLogPosition($binLogPosition)
+ {
+ $this->binLogPosition = $binLogPosition;
+ }
+
+ public function getBinLogPosition()
+ {
+ return $this->binLogPosition;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_SQLAdmin_CloneContext extends Google_Model
+{
+ protected $binLogCoordinatesType = 'Google_Service_SQLAdmin_BinLogCoordinates';
+ protected $binLogCoordinatesDataType = '';
+ public $destinationInstanceName;
+ public $kind;
+ public $sourceInstanceName;
+
+ public function setBinLogCoordinates(Google_Service_SQLAdmin_BinLogCoordinates $binLogCoordinates)
+ {
+ $this->binLogCoordinates = $binLogCoordinates;
+ }
+
+ public function getBinLogCoordinates()
+ {
+ return $this->binLogCoordinates;
+ }
+
+ public function setDestinationInstanceName($destinationInstanceName)
+ {
+ $this->destinationInstanceName = $destinationInstanceName;
+ }
+
+ public function getDestinationInstanceName()
+ {
+ return $this->destinationInstanceName;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setSourceInstanceName($sourceInstanceName)
+ {
+ $this->sourceInstanceName = $sourceInstanceName;
+ }
+
+ public function getSourceInstanceName()
+ {
+ return $this->sourceInstanceName;
+ }
+}
+
+class Google_Service_SQLAdmin_DatabaseFlags extends Google_Model
+{
+ public $name;
+ public $value;
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
class Google_Service_SQLAdmin_DatabaseInstance extends Google_Collection
{
public $currentDiskSize;
@@ -1325,6 +1504,114 @@ public function getUri()
}
}
+class Google_Service_SQLAdmin_Flag extends Google_Collection
+{
+ public $allowedStringValues;
+ public $appliesTo;
+ public $kind;
+ public $maxValue;
+ public $minValue;
+ public $name;
+ public $type;
+
+ public function setAllowedStringValues($allowedStringValues)
+ {
+ $this->allowedStringValues = $allowedStringValues;
+ }
+
+ public function getAllowedStringValues()
+ {
+ return $this->allowedStringValues;
+ }
+
+ public function setAppliesTo($appliesTo)
+ {
+ $this->appliesTo = $appliesTo;
+ }
+
+ public function getAppliesTo()
+ {
+ return $this->appliesTo;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setMaxValue($maxValue)
+ {
+ $this->maxValue = $maxValue;
+ }
+
+ public function getMaxValue()
+ {
+ return $this->maxValue;
+ }
+
+ public function setMinValue($minValue)
+ {
+ $this->minValue = $minValue;
+ }
+
+ public function getMinValue()
+ {
+ return $this->minValue;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_SQLAdmin_FlagsListResponse extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_SQLAdmin_Flag';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
class Google_Service_SQLAdmin_ImportContext extends Google_Collection
{
public $database;
@@ -1517,6 +1804,48 @@ public function getSetRootPasswordContext()
}
}
+class Google_Service_SQLAdmin_InstancesCloneRequest extends Google_Model
+{
+ protected $cloneContextType = 'Google_Service_SQLAdmin_CloneContext';
+ protected $cloneContextDataType = '';
+
+ public function setCloneContext(Google_Service_SQLAdmin_CloneContext $cloneContext)
+ {
+ $this->cloneContext = $cloneContext;
+ }
+
+ public function getCloneContext()
+ {
+ return $this->cloneContext;
+ }
+}
+
+class Google_Service_SQLAdmin_InstancesCloneResponse extends Google_Model
+{
+ public $kind;
+ public $operation;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setOperation($operation)
+ {
+ $this->operation = $operation;
+ }
+
+ public function getOperation()
+ {
+ return $this->operation;
+ }
+}
+
class Google_Service_SQLAdmin_InstancesDeleteResponse extends Google_Model
{
public $kind;
@@ -2017,6 +2346,8 @@ class Google_Service_SQLAdmin_Settings extends Google_Collection
public $authorizedGaeApplications;
protected $backupConfigurationType = 'Google_Service_SQLAdmin_BackupConfiguration';
protected $backupConfigurationDataType = 'array';
+ protected $databaseFlagsType = 'Google_Service_SQLAdmin_DatabaseFlags';
+ protected $databaseFlagsDataType = 'array';
protected $ipConfigurationType = 'Google_Service_SQLAdmin_IpConfiguration';
protected $ipConfigurationDataType = '';
public $kind;
@@ -2057,6 +2388,16 @@ public function getBackupConfiguration()
return $this->backupConfiguration;
}
+ public function setDatabaseFlags($databaseFlags)
+ {
+ $this->databaseFlags = $databaseFlags;
+ }
+
+ public function getDatabaseFlags()
+ {
+ return $this->databaseFlags;
+ }
+
public function setIpConfiguration(Google_Service_SQLAdmin_IpConfiguration $ipConfiguration)
{
$this->ipConfiguration = $ipConfiguration;
From 8d624668d270dfeebe50d48c8ed0be2eaa7329da Mon Sep 17 00:00:00 2001
From: David Anderson
+ * $mirrorService = new Google_Service_Mirror(...);
+ * $accounts = $mirrorService->accounts;
+ *
+ */
+class Google_Service_Mirror_Accounts_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Inserts a new account for a user (accounts.insert)
+ *
+ * @param string $userToken
+ * The ID for the user.
+ * @param string $accountType
+ * Account type to be passed to Android Account Manager.
+ * @param string $accountName
+ * The name of the account to be passed to the Android Account Manager.
+ * @param Google_Account $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Mirror_Account
+ */
+ public function insert($userToken, $accountType, $accountName, Google_Service_Mirror_Account $postBody, $optParams = array())
+ {
+ $params = array('userToken' => $userToken, 'accountType' => $accountType, 'accountName' => $accountName, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Mirror_Account");
+ }
+}
+
/**
* The "contacts" collection of methods.
* Typical usage is:
@@ -718,6 +781,56 @@ public function listTimelineAttachments($itemId, $optParams = array())
+class Google_Service_Mirror_Account extends Google_Collection
+{
+ protected $authTokensType = 'Google_Service_Mirror_AuthToken';
+ protected $authTokensDataType = 'array';
+ public $features;
+ public $password;
+ protected $userDataType = 'Google_Service_Mirror_UserData';
+ protected $userDataDataType = 'array';
+
+ public function setAuthTokens($authTokens)
+ {
+ $this->authTokens = $authTokens;
+ }
+
+ public function getAuthTokens()
+ {
+ return $this->authTokens;
+ }
+
+ public function setFeatures($features)
+ {
+ $this->features = $features;
+ }
+
+ public function getFeatures()
+ {
+ return $this->features;
+ }
+
+ public function setPassword($password)
+ {
+ $this->password = $password;
+ }
+
+ public function getPassword()
+ {
+ return $this->password;
+ }
+
+ public function setUserData($userData)
+ {
+ $this->userData = $userData;
+ }
+
+ public function getUserData()
+ {
+ return $this->userData;
+ }
+}
+
class Google_Service_Mirror_Attachment extends Google_Model
{
public $contentType;
@@ -793,6 +906,32 @@ public function getKind()
}
}
+class Google_Service_Mirror_AuthToken extends Google_Model
+{
+ public $authToken;
+ public $type;
+
+ public function setAuthToken($authToken)
+ {
+ $this->authToken = $authToken;
+ }
+
+ public function getAuthToken()
+ {
+ return $this->authToken;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
class Google_Service_Mirror_Command extends Google_Model
{
public $type;
@@ -1775,3 +1914,29 @@ public function getType()
return $this->type;
}
}
+
+class Google_Service_Mirror_UserData extends Google_Model
+{
+ public $key;
+ public $value;
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+
+ public function getKey()
+ {
+ return $this->key;
+ }
+
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
From 9ee1980689c5447cdd761fdd3b88f01d62691c1c Mon Sep 17 00:00:00 2001
From: Silvano Luciani
+ * $doubleclicksearchService = new Google_Service_Doubleclicksearch(...);
+ * $savedColumns = $doubleclicksearchService->savedColumns;
+ *
+ */
+class Google_Service_Doubleclicksearch_SavedColumns_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Retrieve the list of saved columns for a specified advertiser.
+ * (savedColumns.listSavedColumns)
+ *
+ * @param string $agencyId
+ * DS ID of the agency.
+ * @param string $advertiserId
+ * DS ID of the advertiser.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Doubleclicksearch_SavedColumnList
+ */
+ public function listSavedColumns($agencyId, $advertiserId, $optParams = array())
+ {
+ $params = array('agencyId' => $agencyId, 'advertiserId' => $advertiserId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Doubleclicksearch_SavedColumnList");
+ }
+}
+
@@ -1422,6 +1478,70 @@ public function getStartDate()
}
}
+class Google_Service_Doubleclicksearch_SavedColumn extends Google_Model
+{
+ public $kind;
+ public $savedColumnName;
+ public $type;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setSavedColumnName($savedColumnName)
+ {
+ $this->savedColumnName = $savedColumnName;
+ }
+
+ public function getSavedColumnName()
+ {
+ return $this->savedColumnName;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_Doubleclicksearch_SavedColumnList extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_Doubleclicksearch_SavedColumn';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
class Google_Service_Doubleclicksearch_UpdateAvailabilityRequest extends Google_Collection
{
protected $availabilitiesType = 'Google_Service_Doubleclicksearch_Availability';
From 8cf9cece302a546c023165bb587c085ef6edd7e1 Mon Sep 17 00:00:00 2001
From: Sarah Simmonds
+ * $booksService = new Google_Service_Books(...);
+ * $promooffer = $booksService->promooffer;
+ *
+ */
+class Google_Service_Books_Promooffer_Resource extends Google_Service_Resource
+{
+
+ /**
+ * (promooffer.accept)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string product
+ * device product
+ * @opt_param string offer_id
+ *
+ * @opt_param string volume_id
+ * Volume id to exercise the offer
+ * @opt_param string device
+ * device device
+ * @opt_param string model
+ * device model
+ * @opt_param string serial
+ * device serial
+ * @opt_param string manufacturer
+ * device manufacturer
+ */
+ public function accept($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('accept', array($params));
+ }
+ /**
+ * (promooffer.dismiss)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string product
+ * device product
+ * @opt_param string offer_id
+ * Offer to dimiss
+ * @opt_param string device
+ * device device
+ * @opt_param string model
+ * device model
+ * @opt_param string serial
+ * device serial
+ * @opt_param string manufacturer
+ * device manufacturer
+ */
+ public function dismiss($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('dismiss', array($params));
+ }
+ /**
+ * Returns a list of promo offers available to the user (promooffer.get)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string device
+ * device device
+ * @opt_param string model
+ * device model
+ * @opt_param string product
+ * device product
+ * @opt_param string serial
+ * device serial
+ * @opt_param string manufacturer
+ * device manufacturer
+ * @return Google_Service_Books_Offers
+ */
+ public function get($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Books_Offers");
+ }
+}
+
/**
* The "volumes" collection of methods.
* Typical usage is:
@@ -4512,6 +4696,141 @@ public function getVolumeId()
}
}
+class Google_Service_Books_Offers extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_Books_OffersItems';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Books_OffersItems extends Google_Collection
+{
+ public $artUrl;
+ public $id;
+ protected $itemsType = 'Google_Service_Books_OffersItemsItems';
+ protected $itemsDataType = 'array';
+
+ public function setArtUrl($artUrl)
+ {
+ $this->artUrl = $artUrl;
+ }
+
+ public function getArtUrl()
+ {
+ return $this->artUrl;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+}
+
+class Google_Service_Books_OffersItemsItems extends Google_Model
+{
+ public $author;
+ public $canonicalVolumeLink;
+ public $coverUrl;
+ public $description;
+ public $title;
+ public $volumeId;
+
+ public function setAuthor($author)
+ {
+ $this->author = $author;
+ }
+
+ public function getAuthor()
+ {
+ return $this->author;
+ }
+
+ public function setCanonicalVolumeLink($canonicalVolumeLink)
+ {
+ $this->canonicalVolumeLink = $canonicalVolumeLink;
+ }
+
+ public function getCanonicalVolumeLink()
+ {
+ return $this->canonicalVolumeLink;
+ }
+
+ public function setCoverUrl($coverUrl)
+ {
+ $this->coverUrl = $coverUrl;
+ }
+
+ public function getCoverUrl()
+ {
+ return $this->coverUrl;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+
+ public function getTitle()
+ {
+ return $this->title;
+ }
+
+ public function setVolumeId($volumeId)
+ {
+ $this->volumeId = $volumeId;
+ }
+
+ public function getVolumeId()
+ {
+ return $this->volumeId;
+ }
+}
+
class Google_Service_Books_ReadingPosition extends Google_Model
{
public $epubCfiPosition;
@@ -5758,6 +6077,7 @@ class Google_Service_Books_VolumeVolumeInfo extends Google_Collection
public $publishedDate;
public $publisher;
public $ratingsCount;
+ public $readingModes;
public $subtitle;
public $title;
@@ -5951,6 +6271,16 @@ public function getRatingsCount()
return $this->ratingsCount;
}
+ public function setReadingModes($readingModes)
+ {
+ $this->readingModes = $readingModes;
+ }
+
+ public function getReadingModes()
+ {
+ return $this->readingModes;
+ }
+
public function setSubtitle($subtitle)
{
$this->subtitle = $subtitle;
From 4ccde748b624e1afa6376a25add76559e2d5eac8 Mon Sep 17 00:00:00 2001
From: Silvano Luciani + * For more information about this service, see the API + * Documentation + *
+ * + * @author Google, Inc. + */ +class Google_Service_Replicapool extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = "https://www.googleapis.com/auth/cloud-platform"; + /** View and manage your Google Cloud Platform management resources and deployment status information. */ + const NDEV_CLOUDMAN = "https://www.googleapis.com/auth/ndev.cloudman"; + /** View your Google Cloud Platform management resources and deployment status information. */ + const NDEV_CLOUDMAN_READONLY = "https://www.googleapis.com/auth/ndev.cloudman.readonly"; + /** View and manage replica pools. */ + const REPLICAPOOL = "https://www.googleapis.com/auth/replicapool"; + /** View replica pools. */ + const REPLICAPOOL_READONLY = "https://www.googleapis.com/auth/replicapool.readonly"; + + public $pools; + public $replicas; + + + /** + * Constructs the internal representation of the Replicapool service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->servicePath = 'replicapool/v1beta1/projects/'; + $this->version = 'v1beta1'; + $this->serviceName = 'replicapool'; + + $this->pools = new Google_Service_Replicapool_Pools_Resource( + $this, + $this->serviceName, + 'pools', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{projectName}/zones/{zone}/pools/{poolName}', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'poolName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{projectName}/zones/{zone}/pools/{poolName}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'poolName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{projectName}/zones/{zone}/pools', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{projectName}/zones/{zone}/pools', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'resize' => array( + 'path' => '{projectName}/zones/{zone}/pools/{poolName}/resize', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'poolName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'numReplicas' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'updatetemplate' => array( + 'path' => '{projectName}/zones/{zone}/pools/{poolName}/updateTemplate', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'poolName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->replicas = new Google_Service_Replicapool_Replicas_Resource( + $this, + $this->serviceName, + 'replicas', + array( + 'methods' => array( + 'get' => array( + 'path' => '{projectName}/zones/{zone}/pools/{poolName}/replicas/{replicaName}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'poolName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'replicaName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{projectName}/zones/{zone}/pools/{poolName}/replicas', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'poolName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'restart' => array( + 'path' => '{projectName}/zones/{zone}/pools/{poolName}/replicas/{replicaName}/restart', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'poolName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'replicaName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "pools" collection of methods. + * Typical usage is: + *
+ * $replicapoolService = new Google_Service_Replicapool(...);
+ * $pools = $replicapoolService->pools;
+ *
+ */
+class Google_Service_Replicapool_Pools_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Deletes a replica pool. (pools.delete)
+ *
+ * @param string $projectName
+ * The project ID for this replica pool.
+ * @param string $zone
+ * The zone for this replica pool.
+ * @param string $poolName
+ * The name of the replica pool to delete.
+ * @param Google_PoolsDeleteRequest $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($projectName, $zone, $poolName, Google_Service_Replicapool_PoolsDeleteRequest $postBody, $optParams = array())
+ {
+ $params = array('projectName' => $projectName, 'zone' => $zone, 'poolName' => $poolName, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Gets information about a single replica pool. (pools.get)
+ *
+ * @param string $projectName
+ * The project ID for this replica pool.
+ * @param string $zone
+ * The zone for this replica pool.
+ * @param string $poolName
+ * The name of the replica pool for which you want to get more information.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Replicapool_Pool
+ */
+ public function get($projectName, $zone, $poolName, $optParams = array())
+ {
+ $params = array('projectName' => $projectName, 'zone' => $zone, 'poolName' => $poolName);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Replicapool_Pool");
+ }
+ /**
+ * Inserts a new replica pool. (pools.insert)
+ *
+ * @param string $projectName
+ * The project ID for this replica pool.
+ * @param string $zone
+ * The zone for this replica pool.
+ * @param Google_Pool $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Replicapool_Pool
+ */
+ public function insert($projectName, $zone, Google_Service_Replicapool_Pool $postBody, $optParams = array())
+ {
+ $params = array('projectName' => $projectName, 'zone' => $zone, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Replicapool_Pool");
+ }
+ /**
+ * List all replica pools. (pools.listPools)
+ *
+ * @param string $projectName
+ * The project ID for this replica pool.
+ * @param string $zone
+ * The zone for this replica pool.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * Specifies a nextPageToken returned by a previous list request. This token can be used to request
+ * the next page of results from a previous list request.
+ * @opt_param int maxResults
+ * Maximum count of results to be returned. Acceptable values are 0 to 100, inclusive. (Default:
+ * 50)
+ * @return Google_Service_Replicapool_PoolsListResponse
+ */
+ public function listPools($projectName, $zone, $optParams = array())
+ {
+ $params = array('projectName' => $projectName, 'zone' => $zone);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Replicapool_PoolsListResponse");
+ }
+ /**
+ * Resize a pool. (pools.resize)
+ *
+ * @param string $projectName
+ * The project ID for this replica pool.
+ * @param string $zone
+ * The zone for this replica pool.
+ * @param string $poolName
+ * The name of the replica pool to resize.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int numReplicas
+ * The desired number of replicas to resize to. If this number is larger than the existing number
+ * of replicas, new replicas will be added. If the number is smaller, then existing replicas will
+ * be deleted.
+ This is an asynchronous operation, and multiple overlapping resize requests can be
+ * made. Replica Pools will use the information from the last resize request.
+ * @return Google_Service_Replicapool_Pool
+ */
+ public function resize($projectName, $zone, $poolName, $optParams = array())
+ {
+ $params = array('projectName' => $projectName, 'zone' => $zone, 'poolName' => $poolName);
+ $params = array_merge($params, $optParams);
+ return $this->call('resize', array($params), "Google_Service_Replicapool_Pool");
+ }
+ /**
+ * Update the template used by the pool. (pools.updatetemplate)
+ *
+ * @param string $projectName
+ * The project ID for this replica pool.
+ * @param string $zone
+ * The zone for this replica pool.
+ * @param string $poolName
+ * The name of the replica pool to update.
+ * @param Google_Template $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function updatetemplate($projectName, $zone, $poolName, Google_Service_Replicapool_Template $postBody, $optParams = array())
+ {
+ $params = array('projectName' => $projectName, 'zone' => $zone, 'poolName' => $poolName, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('updatetemplate', array($params));
+ }
+}
+
+/**
+ * The "replicas" collection of methods.
+ * Typical usage is:
+ *
+ * $replicapoolService = new Google_Service_Replicapool(...);
+ * $replicas = $replicapoolService->replicas;
+ *
+ */
+class Google_Service_Replicapool_Replicas_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets information about a specific replica. (replicas.get)
+ *
+ * @param string $projectName
+ * The name of project ID for this request.
+ * @param string $zone
+ * The zone where the replica lives.
+ * @param string $poolName
+ * The replica pool name for this request.
+ * @param string $replicaName
+ * The name of the replica for which you want to get more information.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Replicapool_Replica
+ */
+ public function get($projectName, $zone, $poolName, $replicaName, $optParams = array())
+ {
+ $params = array('projectName' => $projectName, 'zone' => $zone, 'poolName' => $poolName, 'replicaName' => $replicaName);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Replicapool_Replica");
+ }
+ /**
+ * Lists all replicas in a pool. (replicas.listReplicas)
+ *
+ * @param string $projectName
+ * The name of project ID for this request.
+ * @param string $zone
+ * The zone where the replica lives.
+ * @param string $poolName
+ * The replica pool name for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * Specifies a nextPageToken returned by a previous list request. This token can be used to request
+ * the next page of results from a previous list request.
+ * @opt_param int maxResults
+ * Maximum count of results to be returned. Acceptable values are 0 to 100, inclusive. (Default:
+ * 50)
+ * @return Google_Service_Replicapool_ReplicasListResponse
+ */
+ public function listReplicas($projectName, $zone, $poolName, $optParams = array())
+ {
+ $params = array('projectName' => $projectName, 'zone' => $zone, 'poolName' => $poolName);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Replicapool_ReplicasListResponse");
+ }
+ /**
+ * Restarts a replica in a pool. (replicas.restart)
+ *
+ * @param string $projectName
+ * The name of project ID for this request.
+ * @param string $zone
+ * The zone where the replica lives.
+ * @param string $poolName
+ * The replica pool name for this request.
+ * @param string $replicaName
+ * The name of the replica to restart in the pool.
+ * @param array $optParams Optional parameters.
+ */
+ public function restart($projectName, $zone, $poolName, $replicaName, $optParams = array())
+ {
+ $params = array('projectName' => $projectName, 'zone' => $zone, 'poolName' => $poolName, 'replicaName' => $replicaName);
+ $params = array_merge($params, $optParams);
+ return $this->call('restart', array($params));
+ }
+}
+
+
+
+
+class Google_Service_Replicapool_AccessConfig extends Google_Model
+{
+ public $name;
+ public $natIp;
+ public $type;
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setNatIp($natIp)
+ {
+ $this->natIp = $natIp;
+ }
+
+ public function getNatIp()
+ {
+ return $this->natIp;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_Replicapool_Action extends Google_Collection
+{
+ public $commands;
+ protected $envVariablesType = 'Google_Service_Replicapool_EnvVariable';
+ protected $envVariablesDataType = 'array';
+ public $timeoutMilliSeconds;
+
+ public function setCommands($commands)
+ {
+ $this->commands = $commands;
+ }
+
+ public function getCommands()
+ {
+ return $this->commands;
+ }
+
+ public function setEnvVariables($envVariables)
+ {
+ $this->envVariables = $envVariables;
+ }
+
+ public function getEnvVariables()
+ {
+ return $this->envVariables;
+ }
+
+ public function setTimeoutMilliSeconds($timeoutMilliSeconds)
+ {
+ $this->timeoutMilliSeconds = $timeoutMilliSeconds;
+ }
+
+ public function getTimeoutMilliSeconds()
+ {
+ return $this->timeoutMilliSeconds;
+ }
+}
+
+class Google_Service_Replicapool_DiskAttachment extends Google_Model
+{
+ public $deviceName;
+ public $index;
+
+ public function setDeviceName($deviceName)
+ {
+ $this->deviceName = $deviceName;
+ }
+
+ public function getDeviceName()
+ {
+ return $this->deviceName;
+ }
+
+ public function setIndex($index)
+ {
+ $this->index = $index;
+ }
+
+ public function getIndex()
+ {
+ return $this->index;
+ }
+}
+
+class Google_Service_Replicapool_EnvVariable extends Google_Model
+{
+ public $hidden;
+ public $name;
+ public $value;
+
+ public function setHidden($hidden)
+ {
+ $this->hidden = $hidden;
+ }
+
+ public function getHidden()
+ {
+ return $this->hidden;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Google_Service_Replicapool_ExistingDisk extends Google_Model
+{
+ protected $attachmentType = 'Google_Service_Replicapool_DiskAttachment';
+ protected $attachmentDataType = '';
+ public $source;
+
+ public function setAttachment(Google_Service_Replicapool_DiskAttachment $attachment)
+ {
+ $this->attachment = $attachment;
+ }
+
+ public function getAttachment()
+ {
+ return $this->attachment;
+ }
+
+ public function setSource($source)
+ {
+ $this->source = $source;
+ }
+
+ public function getSource()
+ {
+ return $this->source;
+ }
+}
+
+class Google_Service_Replicapool_HealthCheck extends Google_Model
+{
+ public $checkIntervalSec;
+ public $description;
+ public $healthyThreshold;
+ public $host;
+ public $name;
+ public $path;
+ public $port;
+ public $timeoutSec;
+ public $unhealthyThreshold;
+
+ public function setCheckIntervalSec($checkIntervalSec)
+ {
+ $this->checkIntervalSec = $checkIntervalSec;
+ }
+
+ public function getCheckIntervalSec()
+ {
+ return $this->checkIntervalSec;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setHealthyThreshold($healthyThreshold)
+ {
+ $this->healthyThreshold = $healthyThreshold;
+ }
+
+ public function getHealthyThreshold()
+ {
+ return $this->healthyThreshold;
+ }
+
+ public function setHost($host)
+ {
+ $this->host = $host;
+ }
+
+ public function getHost()
+ {
+ return $this->host;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setPath($path)
+ {
+ $this->path = $path;
+ }
+
+ public function getPath()
+ {
+ return $this->path;
+ }
+
+ public function setPort($port)
+ {
+ $this->port = $port;
+ }
+
+ public function getPort()
+ {
+ return $this->port;
+ }
+
+ public function setTimeoutSec($timeoutSec)
+ {
+ $this->timeoutSec = $timeoutSec;
+ }
+
+ public function getTimeoutSec()
+ {
+ return $this->timeoutSec;
+ }
+
+ public function setUnhealthyThreshold($unhealthyThreshold)
+ {
+ $this->unhealthyThreshold = $unhealthyThreshold;
+ }
+
+ public function getUnhealthyThreshold()
+ {
+ return $this->unhealthyThreshold;
+ }
+}
+
+class Google_Service_Replicapool_Label extends Google_Model
+{
+ public $key;
+ public $value;
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+
+ public function getKey()
+ {
+ return $this->key;
+ }
+
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Google_Service_Replicapool_Metadata extends Google_Collection
+{
+ public $fingerPrint;
+ protected $itemsType = 'Google_Service_Replicapool_MetadataItem';
+ protected $itemsDataType = 'array';
+
+ public function setFingerPrint($fingerPrint)
+ {
+ $this->fingerPrint = $fingerPrint;
+ }
+
+ public function getFingerPrint()
+ {
+ return $this->fingerPrint;
+ }
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+}
+
+class Google_Service_Replicapool_MetadataItem extends Google_Model
+{
+ public $key;
+ public $value;
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+
+ public function getKey()
+ {
+ return $this->key;
+ }
+
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Google_Service_Replicapool_NetworkInterface extends Google_Collection
+{
+ protected $accessConfigsType = 'Google_Service_Replicapool_AccessConfig';
+ protected $accessConfigsDataType = 'array';
+ public $network;
+ public $networkIp;
+
+ public function setAccessConfigs($accessConfigs)
+ {
+ $this->accessConfigs = $accessConfigs;
+ }
+
+ public function getAccessConfigs()
+ {
+ return $this->accessConfigs;
+ }
+
+ public function setNetwork($network)
+ {
+ $this->network = $network;
+ }
+
+ public function getNetwork()
+ {
+ return $this->network;
+ }
+
+ public function setNetworkIp($networkIp)
+ {
+ $this->networkIp = $networkIp;
+ }
+
+ public function getNetworkIp()
+ {
+ return $this->networkIp;
+ }
+}
+
+class Google_Service_Replicapool_NewDisk extends Google_Model
+{
+ protected $attachmentType = 'Google_Service_Replicapool_DiskAttachment';
+ protected $attachmentDataType = '';
+ public $autoDelete;
+ public $boot;
+ protected $initializeParamsType = 'Google_Service_Replicapool_NewDiskInitializeParams';
+ protected $initializeParamsDataType = '';
+
+ public function setAttachment(Google_Service_Replicapool_DiskAttachment $attachment)
+ {
+ $this->attachment = $attachment;
+ }
+
+ public function getAttachment()
+ {
+ return $this->attachment;
+ }
+
+ public function setAutoDelete($autoDelete)
+ {
+ $this->autoDelete = $autoDelete;
+ }
+
+ public function getAutoDelete()
+ {
+ return $this->autoDelete;
+ }
+
+ public function setBoot($boot)
+ {
+ $this->boot = $boot;
+ }
+
+ public function getBoot()
+ {
+ return $this->boot;
+ }
+
+ public function setInitializeParams(Google_Service_Replicapool_NewDiskInitializeParams $initializeParams)
+ {
+ $this->initializeParams = $initializeParams;
+ }
+
+ public function getInitializeParams()
+ {
+ return $this->initializeParams;
+ }
+}
+
+class Google_Service_Replicapool_NewDiskInitializeParams extends Google_Model
+{
+ public $diskSizeGb;
+ public $sourceImage;
+
+ public function setDiskSizeGb($diskSizeGb)
+ {
+ $this->diskSizeGb = $diskSizeGb;
+ }
+
+ public function getDiskSizeGb()
+ {
+ return $this->diskSizeGb;
+ }
+
+ public function setSourceImage($sourceImage)
+ {
+ $this->sourceImage = $sourceImage;
+ }
+
+ public function getSourceImage()
+ {
+ return $this->sourceImage;
+ }
+}
+
+class Google_Service_Replicapool_Pool extends Google_Collection
+{
+ public $autoRestart;
+ public $baseInstanceName;
+ public $currentNumReplicas;
+ public $description;
+ protected $healthChecksType = 'Google_Service_Replicapool_HealthCheck';
+ protected $healthChecksDataType = 'array';
+ public $initialNumReplicas;
+ protected $labelsType = 'Google_Service_Replicapool_Label';
+ protected $labelsDataType = 'array';
+ public $name;
+ public $numReplicas;
+ public $resourceViews;
+ public $selfLink;
+ public $targetPool;
+ public $targetPools;
+ protected $templateType = 'Google_Service_Replicapool_Template';
+ protected $templateDataType = '';
+ public $type;
+
+ public function setAutoRestart($autoRestart)
+ {
+ $this->autoRestart = $autoRestart;
+ }
+
+ public function getAutoRestart()
+ {
+ return $this->autoRestart;
+ }
+
+ public function setBaseInstanceName($baseInstanceName)
+ {
+ $this->baseInstanceName = $baseInstanceName;
+ }
+
+ public function getBaseInstanceName()
+ {
+ return $this->baseInstanceName;
+ }
+
+ public function setCurrentNumReplicas($currentNumReplicas)
+ {
+ $this->currentNumReplicas = $currentNumReplicas;
+ }
+
+ public function getCurrentNumReplicas()
+ {
+ return $this->currentNumReplicas;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setHealthChecks($healthChecks)
+ {
+ $this->healthChecks = $healthChecks;
+ }
+
+ public function getHealthChecks()
+ {
+ return $this->healthChecks;
+ }
+
+ public function setInitialNumReplicas($initialNumReplicas)
+ {
+ $this->initialNumReplicas = $initialNumReplicas;
+ }
+
+ public function getInitialNumReplicas()
+ {
+ return $this->initialNumReplicas;
+ }
+
+ public function setLabels($labels)
+ {
+ $this->labels = $labels;
+ }
+
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setNumReplicas($numReplicas)
+ {
+ $this->numReplicas = $numReplicas;
+ }
+
+ public function getNumReplicas()
+ {
+ return $this->numReplicas;
+ }
+
+ public function setResourceViews($resourceViews)
+ {
+ $this->resourceViews = $resourceViews;
+ }
+
+ public function getResourceViews()
+ {
+ return $this->resourceViews;
+ }
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+
+ public function setTargetPool($targetPool)
+ {
+ $this->targetPool = $targetPool;
+ }
+
+ public function getTargetPool()
+ {
+ return $this->targetPool;
+ }
+
+ public function setTargetPools($targetPools)
+ {
+ $this->targetPools = $targetPools;
+ }
+
+ public function getTargetPools()
+ {
+ return $this->targetPools;
+ }
+
+ public function setTemplate(Google_Service_Replicapool_Template $template)
+ {
+ $this->template = $template;
+ }
+
+ public function getTemplate()
+ {
+ return $this->template;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_Replicapool_PoolsDeleteRequest extends Google_Collection
+{
+ public $abandonInstances;
+
+ public function setAbandonInstances($abandonInstances)
+ {
+ $this->abandonInstances = $abandonInstances;
+ }
+
+ public function getAbandonInstances()
+ {
+ return $this->abandonInstances;
+ }
+}
+
+class Google_Service_Replicapool_PoolsListResponse extends Google_Collection
+{
+ public $nextPageToken;
+ protected $resourcesType = 'Google_Service_Replicapool_Pool';
+ protected $resourcesDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+
+ public function getResources()
+ {
+ return $this->resources;
+ }
+}
+
+class Google_Service_Replicapool_Replica extends Google_Model
+{
+ public $name;
+ public $selfLink;
+ protected $statusType = 'Google_Service_Replicapool_ReplicaStatus';
+ protected $statusDataType = '';
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+
+ public function setStatus(Google_Service_Replicapool_ReplicaStatus $status)
+ {
+ $this->status = $status;
+ }
+
+ public function getStatus()
+ {
+ return $this->status;
+ }
+}
+
+class Google_Service_Replicapool_ReplicaStatus extends Google_Model
+{
+ public $details;
+ public $state;
+ public $templateVersion;
+ public $vmLink;
+ public $vmStartTime;
+
+ public function setDetails($details)
+ {
+ $this->details = $details;
+ }
+
+ public function getDetails()
+ {
+ return $this->details;
+ }
+
+ public function setState($state)
+ {
+ $this->state = $state;
+ }
+
+ public function getState()
+ {
+ return $this->state;
+ }
+
+ public function setTemplateVersion($templateVersion)
+ {
+ $this->templateVersion = $templateVersion;
+ }
+
+ public function getTemplateVersion()
+ {
+ return $this->templateVersion;
+ }
+
+ public function setVmLink($vmLink)
+ {
+ $this->vmLink = $vmLink;
+ }
+
+ public function getVmLink()
+ {
+ return $this->vmLink;
+ }
+
+ public function setVmStartTime($vmStartTime)
+ {
+ $this->vmStartTime = $vmStartTime;
+ }
+
+ public function getVmStartTime()
+ {
+ return $this->vmStartTime;
+ }
+}
+
+class Google_Service_Replicapool_ReplicasListResponse extends Google_Collection
+{
+ public $nextPageToken;
+ protected $resourcesType = 'Google_Service_Replicapool_Replica';
+ protected $resourcesDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+
+ public function getResources()
+ {
+ return $this->resources;
+ }
+}
+
+class Google_Service_Replicapool_ServiceAccount extends Google_Collection
+{
+ public $email;
+ public $scopes;
+
+ public function setEmail($email)
+ {
+ $this->email = $email;
+ }
+
+ public function getEmail()
+ {
+ return $this->email;
+ }
+
+ public function setScopes($scopes)
+ {
+ $this->scopes = $scopes;
+ }
+
+ public function getScopes()
+ {
+ return $this->scopes;
+ }
+}
+
+class Google_Service_Replicapool_Tag extends Google_Collection
+{
+ public $fingerPrint;
+ public $items;
+
+ public function setFingerPrint($fingerPrint)
+ {
+ $this->fingerPrint = $fingerPrint;
+ }
+
+ public function getFingerPrint()
+ {
+ return $this->fingerPrint;
+ }
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+}
+
+class Google_Service_Replicapool_Template extends Google_Collection
+{
+ protected $actionType = 'Google_Service_Replicapool_Action';
+ protected $actionDataType = '';
+ protected $healthChecksType = 'Google_Service_Replicapool_HealthCheck';
+ protected $healthChecksDataType = 'array';
+ public $version;
+ protected $vmParamsType = 'Google_Service_Replicapool_VmParams';
+ protected $vmParamsDataType = '';
+
+ public function setAction(Google_Service_Replicapool_Action $action)
+ {
+ $this->action = $action;
+ }
+
+ public function getAction()
+ {
+ return $this->action;
+ }
+
+ public function setHealthChecks($healthChecks)
+ {
+ $this->healthChecks = $healthChecks;
+ }
+
+ public function getHealthChecks()
+ {
+ return $this->healthChecks;
+ }
+
+ public function setVersion($version)
+ {
+ $this->version = $version;
+ }
+
+ public function getVersion()
+ {
+ return $this->version;
+ }
+
+ public function setVmParams(Google_Service_Replicapool_VmParams $vmParams)
+ {
+ $this->vmParams = $vmParams;
+ }
+
+ public function getVmParams()
+ {
+ return $this->vmParams;
+ }
+}
+
+class Google_Service_Replicapool_VmParams extends Google_Collection
+{
+ public $baseInstanceName;
+ public $canIpForward;
+ public $description;
+ protected $disksToAttachType = 'Google_Service_Replicapool_ExistingDisk';
+ protected $disksToAttachDataType = 'array';
+ protected $disksToCreateType = 'Google_Service_Replicapool_NewDisk';
+ protected $disksToCreateDataType = 'array';
+ public $machineType;
+ protected $metadataType = 'Google_Service_Replicapool_Metadata';
+ protected $metadataDataType = '';
+ protected $networkInterfacesType = 'Google_Service_Replicapool_NetworkInterface';
+ protected $networkInterfacesDataType = 'array';
+ public $onHostMaintenance;
+ protected $serviceAccountsType = 'Google_Service_Replicapool_ServiceAccount';
+ protected $serviceAccountsDataType = 'array';
+ protected $tagsType = 'Google_Service_Replicapool_Tag';
+ protected $tagsDataType = '';
+
+ public function setBaseInstanceName($baseInstanceName)
+ {
+ $this->baseInstanceName = $baseInstanceName;
+ }
+
+ public function getBaseInstanceName()
+ {
+ return $this->baseInstanceName;
+ }
+
+ public function setCanIpForward($canIpForward)
+ {
+ $this->canIpForward = $canIpForward;
+ }
+
+ public function getCanIpForward()
+ {
+ return $this->canIpForward;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setDisksToAttach($disksToAttach)
+ {
+ $this->disksToAttach = $disksToAttach;
+ }
+
+ public function getDisksToAttach()
+ {
+ return $this->disksToAttach;
+ }
+
+ public function setDisksToCreate($disksToCreate)
+ {
+ $this->disksToCreate = $disksToCreate;
+ }
+
+ public function getDisksToCreate()
+ {
+ return $this->disksToCreate;
+ }
+
+ public function setMachineType($machineType)
+ {
+ $this->machineType = $machineType;
+ }
+
+ public function getMachineType()
+ {
+ return $this->machineType;
+ }
+
+ public function setMetadata(Google_Service_Replicapool_Metadata $metadata)
+ {
+ $this->metadata = $metadata;
+ }
+
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+
+ public function setNetworkInterfaces($networkInterfaces)
+ {
+ $this->networkInterfaces = $networkInterfaces;
+ }
+
+ public function getNetworkInterfaces()
+ {
+ return $this->networkInterfaces;
+ }
+
+ public function setOnHostMaintenance($onHostMaintenance)
+ {
+ $this->onHostMaintenance = $onHostMaintenance;
+ }
+
+ public function getOnHostMaintenance()
+ {
+ return $this->onHostMaintenance;
+ }
+
+ public function setServiceAccounts($serviceAccounts)
+ {
+ $this->serviceAccounts = $serviceAccounts;
+ }
+
+ public function getServiceAccounts()
+ {
+ return $this->serviceAccounts;
+ }
+
+ public function setTags(Google_Service_Replicapool_Tag $tags)
+ {
+ $this->tags = $tags;
+ }
+
+ public function getTags()
+ {
+ return $this->tags;
+ }
+}
From 222cc73f86ce20d4af9f1c3ea625ee5743ab1355 Mon Sep 17 00:00:00 2001
From: Sarah Simmonds + * For more information about this service, see the API + * Documentation + *
+ * + * @author Google, Inc. + */ +class Google_Service_Manager extends Google_Service +{ + /** View and manage your applications deployed on Google App Engine. */ + const APPENGINE_ADMIN = "https://www.googleapis.com/auth/appengine.admin"; + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = "https://www.googleapis.com/auth/cloud-platform"; + /** View and manage your Google Compute Engine resources. */ + const COMPUTE = "https://www.googleapis.com/auth/compute"; + /** Manage your data in Google Cloud Storage. */ + const DEVSTORAGE_READ_WRITE = "https://www.googleapis.com/auth/devstorage.read_write"; + /** View and manage your Google Cloud Platform management resources and deployment status information. */ + const NDEV_CLOUDMAN = "https://www.googleapis.com/auth/ndev.cloudman"; + /** View your Google Cloud Platform management resources and deployment status information. */ + const NDEV_CLOUDMAN_READONLY = "https://www.googleapis.com/auth/ndev.cloudman.readonly"; + + public $deployments; + public $templates; + + + /** + * Constructs the internal representation of the Manager service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->servicePath = 'manager/v1beta2/projects/'; + $this->version = 'v1beta2'; + $this->serviceName = 'manager'; + + $this->deployments = new Google_Service_Manager_Deployments_Resource( + $this, + $this->serviceName, + 'deployments', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{projectId}/regions/{region}/deployments/{deploymentName}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deploymentName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{projectId}/regions/{region}/deployments/{deploymentName}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deploymentName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{projectId}/regions/{region}/deployments', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{projectId}/regions/{region}/deployments', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->templates = new Google_Service_Manager_Templates_Resource( + $this, + $this->serviceName, + 'templates', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{projectId}/templates/{templateName}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'templateName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{projectId}/templates/{templateName}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'templateName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{projectId}/templates', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{projectId}/templates', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "deployments" collection of methods. + * Typical usage is: + *
+ * $managerService = new Google_Service_Manager(...);
+ * $deployments = $managerService->deployments;
+ *
+ */
+class Google_Service_Manager_Deployments_Resource extends Google_Service_Resource
+{
+
+ /**
+ * (deployments.delete)
+ *
+ * @param string $projectId
+ *
+ * @param string $region
+ *
+ * @param string $deploymentName
+ *
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($projectId, $region, $deploymentName, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'region' => $region, 'deploymentName' => $deploymentName);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * (deployments.get)
+ *
+ * @param string $projectId
+ *
+ * @param string $region
+ *
+ * @param string $deploymentName
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Manager_Deployment
+ */
+ public function get($projectId, $region, $deploymentName, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'region' => $region, 'deploymentName' => $deploymentName);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Manager_Deployment");
+ }
+ /**
+ * (deployments.insert)
+ *
+ * @param string $projectId
+ *
+ * @param string $region
+ *
+ * @param Google_Deployment $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Manager_Deployment
+ */
+ public function insert($projectId, $region, Google_Service_Manager_Deployment $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'region' => $region, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Manager_Deployment");
+ }
+ /**
+ * (deployments.listDeployments)
+ *
+ * @param string $projectId
+ *
+ * @param string $region
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * Specifies a nextPageToken returned by a previous list request. This token can be used to request
+ * the next page of results from a previous list request.
+ * @opt_param int maxResults
+ * Maximum count of results to be returned. Acceptable values are 0 to 100, inclusive. (Default:
+ * 50)
+ * @return Google_Service_Manager_DeploymentsListResponse
+ */
+ public function listDeployments($projectId, $region, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'region' => $region);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Manager_DeploymentsListResponse");
+ }
+}
+
+/**
+ * The "templates" collection of methods.
+ * Typical usage is:
+ *
+ * $managerService = new Google_Service_Manager(...);
+ * $templates = $managerService->templates;
+ *
+ */
+class Google_Service_Manager_Templates_Resource extends Google_Service_Resource
+{
+
+ /**
+ * (templates.delete)
+ *
+ * @param string $projectId
+ *
+ * @param string $templateName
+ *
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($projectId, $templateName, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'templateName' => $templateName);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * (templates.get)
+ *
+ * @param string $projectId
+ *
+ * @param string $templateName
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Manager_Template
+ */
+ public function get($projectId, $templateName, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'templateName' => $templateName);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Manager_Template");
+ }
+ /**
+ * (templates.insert)
+ *
+ * @param string $projectId
+ *
+ * @param Google_Template $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Manager_Template
+ */
+ public function insert($projectId, Google_Service_Manager_Template $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Manager_Template");
+ }
+ /**
+ * (templates.listTemplates)
+ *
+ * @param string $projectId
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * Specifies a nextPageToken returned by a previous list request. This token can be used to request
+ * the next page of results from a previous list request.
+ * @opt_param int maxResults
+ * Maximum count of results to be returned. Acceptable values are 0 to 100, inclusive. (Default:
+ * 50)
+ * @return Google_Service_Manager_TemplatesListResponse
+ */
+ public function listTemplates($projectId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Manager_TemplatesListResponse");
+ }
+}
+
+
+
+
+class Google_Service_Manager_AccessConfig extends Google_Model
+{
+ public $name;
+ public $natIp;
+ public $type;
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setNatIp($natIp)
+ {
+ $this->natIp = $natIp;
+ }
+
+ public function getNatIp()
+ {
+ return $this->natIp;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_Manager_Action extends Google_Collection
+{
+ public $commands;
+ public $timeoutMs;
+
+ public function setCommands($commands)
+ {
+ $this->commands = $commands;
+ }
+
+ public function getCommands()
+ {
+ return $this->commands;
+ }
+
+ public function setTimeoutMs($timeoutMs)
+ {
+ $this->timeoutMs = $timeoutMs;
+ }
+
+ public function getTimeoutMs()
+ {
+ return $this->timeoutMs;
+ }
+}
+
+class Google_Service_Manager_AllowedRule extends Google_Collection
+{
+ public $iPProtocol;
+ public $ports;
+
+ public function setIPProtocol($iPProtocol)
+ {
+ $this->iPProtocol = $iPProtocol;
+ }
+
+ public function getIPProtocol()
+ {
+ return $this->iPProtocol;
+ }
+
+ public function setPorts($ports)
+ {
+ $this->ports = $ports;
+ }
+
+ public function getPorts()
+ {
+ return $this->ports;
+ }
+}
+
+class Google_Service_Manager_AutoscalingModule extends Google_Model
+{
+ public $coolDownPeriodSec;
+ public $description;
+ public $maxNumReplicas;
+ public $minNumReplicas;
+ public $signalType;
+ public $targetModule;
+ public $targetUtilization;
+
+ public function setCoolDownPeriodSec($coolDownPeriodSec)
+ {
+ $this->coolDownPeriodSec = $coolDownPeriodSec;
+ }
+
+ public function getCoolDownPeriodSec()
+ {
+ return $this->coolDownPeriodSec;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setMaxNumReplicas($maxNumReplicas)
+ {
+ $this->maxNumReplicas = $maxNumReplicas;
+ }
+
+ public function getMaxNumReplicas()
+ {
+ return $this->maxNumReplicas;
+ }
+
+ public function setMinNumReplicas($minNumReplicas)
+ {
+ $this->minNumReplicas = $minNumReplicas;
+ }
+
+ public function getMinNumReplicas()
+ {
+ return $this->minNumReplicas;
+ }
+
+ public function setSignalType($signalType)
+ {
+ $this->signalType = $signalType;
+ }
+
+ public function getSignalType()
+ {
+ return $this->signalType;
+ }
+
+ public function setTargetModule($targetModule)
+ {
+ $this->targetModule = $targetModule;
+ }
+
+ public function getTargetModule()
+ {
+ return $this->targetModule;
+ }
+
+ public function setTargetUtilization($targetUtilization)
+ {
+ $this->targetUtilization = $targetUtilization;
+ }
+
+ public function getTargetUtilization()
+ {
+ return $this->targetUtilization;
+ }
+}
+
+class Google_Service_Manager_AutoscalingModuleStatus extends Google_Model
+{
+ public $autoscalingConfigUrl;
+
+ public function setAutoscalingConfigUrl($autoscalingConfigUrl)
+ {
+ $this->autoscalingConfigUrl = $autoscalingConfigUrl;
+ }
+
+ public function getAutoscalingConfigUrl()
+ {
+ return $this->autoscalingConfigUrl;
+ }
+}
+
+class Google_Service_Manager_DeployState extends Google_Model
+{
+ public $details;
+ public $status;
+
+ public function setDetails($details)
+ {
+ $this->details = $details;
+ }
+
+ public function getDetails()
+ {
+ return $this->details;
+ }
+
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+
+ public function getStatus()
+ {
+ return $this->status;
+ }
+}
+
+class Google_Service_Manager_Deployment extends Google_Collection
+{
+ public $creationDate;
+ public $description;
+ protected $modulesType = 'Google_Service_Manager_ModuleStatus';
+ protected $modulesDataType = 'map';
+ public $name;
+ protected $overridesType = 'Google_Service_Manager_ParamOverride';
+ protected $overridesDataType = 'array';
+ protected $stateType = 'Google_Service_Manager_DeployState';
+ protected $stateDataType = '';
+ public $templateName;
+
+ public function setCreationDate($creationDate)
+ {
+ $this->creationDate = $creationDate;
+ }
+
+ public function getCreationDate()
+ {
+ return $this->creationDate;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setModules($modules)
+ {
+ $this->modules = $modules;
+ }
+
+ public function getModules()
+ {
+ return $this->modules;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setOverrides($overrides)
+ {
+ $this->overrides = $overrides;
+ }
+
+ public function getOverrides()
+ {
+ return $this->overrides;
+ }
+
+ public function setState(Google_Service_Manager_DeployState $state)
+ {
+ $this->state = $state;
+ }
+
+ public function getState()
+ {
+ return $this->state;
+ }
+
+ public function setTemplateName($templateName)
+ {
+ $this->templateName = $templateName;
+ }
+
+ public function getTemplateName()
+ {
+ return $this->templateName;
+ }
+}
+
+class Google_Service_Manager_DeploymentsListResponse extends Google_Collection
+{
+ public $nextPageToken;
+ protected $resourcesType = 'Google_Service_Manager_Deployment';
+ protected $resourcesDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+
+ public function getResources()
+ {
+ return $this->resources;
+ }
+}
+
+class Google_Service_Manager_DiskAttachment extends Google_Model
+{
+ public $deviceName;
+ public $index;
+
+ public function setDeviceName($deviceName)
+ {
+ $this->deviceName = $deviceName;
+ }
+
+ public function getDeviceName()
+ {
+ return $this->deviceName;
+ }
+
+ public function setIndex($index)
+ {
+ $this->index = $index;
+ }
+
+ public function getIndex()
+ {
+ return $this->index;
+ }
+}
+
+class Google_Service_Manager_EnvVariable extends Google_Model
+{
+ public $hidden;
+ public $value;
+
+ public function setHidden($hidden)
+ {
+ $this->hidden = $hidden;
+ }
+
+ public function getHidden()
+ {
+ return $this->hidden;
+ }
+
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Google_Service_Manager_ExistingDisk extends Google_Model
+{
+ protected $attachmentType = 'Google_Service_Manager_DiskAttachment';
+ protected $attachmentDataType = '';
+ public $source;
+
+ public function setAttachment(Google_Service_Manager_DiskAttachment $attachment)
+ {
+ $this->attachment = $attachment;
+ }
+
+ public function getAttachment()
+ {
+ return $this->attachment;
+ }
+
+ public function setSource($source)
+ {
+ $this->source = $source;
+ }
+
+ public function getSource()
+ {
+ return $this->source;
+ }
+}
+
+class Google_Service_Manager_FirewallModule extends Google_Collection
+{
+ protected $allowedType = 'Google_Service_Manager_AllowedRule';
+ protected $allowedDataType = 'array';
+ public $description;
+ public $network;
+ public $sourceRanges;
+ public $sourceTags;
+ public $targetTags;
+
+ public function setAllowed($allowed)
+ {
+ $this->allowed = $allowed;
+ }
+
+ public function getAllowed()
+ {
+ return $this->allowed;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setNetwork($network)
+ {
+ $this->network = $network;
+ }
+
+ public function getNetwork()
+ {
+ return $this->network;
+ }
+
+ public function setSourceRanges($sourceRanges)
+ {
+ $this->sourceRanges = $sourceRanges;
+ }
+
+ public function getSourceRanges()
+ {
+ return $this->sourceRanges;
+ }
+
+ public function setSourceTags($sourceTags)
+ {
+ $this->sourceTags = $sourceTags;
+ }
+
+ public function getSourceTags()
+ {
+ return $this->sourceTags;
+ }
+
+ public function setTargetTags($targetTags)
+ {
+ $this->targetTags = $targetTags;
+ }
+
+ public function getTargetTags()
+ {
+ return $this->targetTags;
+ }
+}
+
+class Google_Service_Manager_FirewallModuleStatus extends Google_Model
+{
+ public $firewallUrl;
+
+ public function setFirewallUrl($firewallUrl)
+ {
+ $this->firewallUrl = $firewallUrl;
+ }
+
+ public function getFirewallUrl()
+ {
+ return $this->firewallUrl;
+ }
+}
+
+class Google_Service_Manager_HealthCheckModule extends Google_Model
+{
+ public $checkIntervalSec;
+ public $description;
+ public $healthyThreshold;
+ public $host;
+ public $path;
+ public $port;
+ public $timeoutSec;
+ public $unhealthyThreshold;
+
+ public function setCheckIntervalSec($checkIntervalSec)
+ {
+ $this->checkIntervalSec = $checkIntervalSec;
+ }
+
+ public function getCheckIntervalSec()
+ {
+ return $this->checkIntervalSec;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setHealthyThreshold($healthyThreshold)
+ {
+ $this->healthyThreshold = $healthyThreshold;
+ }
+
+ public function getHealthyThreshold()
+ {
+ return $this->healthyThreshold;
+ }
+
+ public function setHost($host)
+ {
+ $this->host = $host;
+ }
+
+ public function getHost()
+ {
+ return $this->host;
+ }
+
+ public function setPath($path)
+ {
+ $this->path = $path;
+ }
+
+ public function getPath()
+ {
+ return $this->path;
+ }
+
+ public function setPort($port)
+ {
+ $this->port = $port;
+ }
+
+ public function getPort()
+ {
+ return $this->port;
+ }
+
+ public function setTimeoutSec($timeoutSec)
+ {
+ $this->timeoutSec = $timeoutSec;
+ }
+
+ public function getTimeoutSec()
+ {
+ return $this->timeoutSec;
+ }
+
+ public function setUnhealthyThreshold($unhealthyThreshold)
+ {
+ $this->unhealthyThreshold = $unhealthyThreshold;
+ }
+
+ public function getUnhealthyThreshold()
+ {
+ return $this->unhealthyThreshold;
+ }
+}
+
+class Google_Service_Manager_HealthCheckModuleStatus extends Google_Model
+{
+ public $healthCheckUrl;
+
+ public function setHealthCheckUrl($healthCheckUrl)
+ {
+ $this->healthCheckUrl = $healthCheckUrl;
+ }
+
+ public function getHealthCheckUrl()
+ {
+ return $this->healthCheckUrl;
+ }
+}
+
+class Google_Service_Manager_LbModule extends Google_Collection
+{
+ public $description;
+ public $healthChecks;
+ public $ipAddress;
+ public $ipProtocol;
+ public $portRange;
+ public $targetModules;
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setHealthChecks($healthChecks)
+ {
+ $this->healthChecks = $healthChecks;
+ }
+
+ public function getHealthChecks()
+ {
+ return $this->healthChecks;
+ }
+
+ public function setIpAddress($ipAddress)
+ {
+ $this->ipAddress = $ipAddress;
+ }
+
+ public function getIpAddress()
+ {
+ return $this->ipAddress;
+ }
+
+ public function setIpProtocol($ipProtocol)
+ {
+ $this->ipProtocol = $ipProtocol;
+ }
+
+ public function getIpProtocol()
+ {
+ return $this->ipProtocol;
+ }
+
+ public function setPortRange($portRange)
+ {
+ $this->portRange = $portRange;
+ }
+
+ public function getPortRange()
+ {
+ return $this->portRange;
+ }
+
+ public function setTargetModules($targetModules)
+ {
+ $this->targetModules = $targetModules;
+ }
+
+ public function getTargetModules()
+ {
+ return $this->targetModules;
+ }
+}
+
+class Google_Service_Manager_LbModuleStatus extends Google_Model
+{
+ public $forwardingRuleUrl;
+ public $targetPoolUrl;
+
+ public function setForwardingRuleUrl($forwardingRuleUrl)
+ {
+ $this->forwardingRuleUrl = $forwardingRuleUrl;
+ }
+
+ public function getForwardingRuleUrl()
+ {
+ return $this->forwardingRuleUrl;
+ }
+
+ public function setTargetPoolUrl($targetPoolUrl)
+ {
+ $this->targetPoolUrl = $targetPoolUrl;
+ }
+
+ public function getTargetPoolUrl()
+ {
+ return $this->targetPoolUrl;
+ }
+}
+
+class Google_Service_Manager_Metadata extends Google_Collection
+{
+ public $fingerPrint;
+ protected $itemsType = 'Google_Service_Manager_MetadataItem';
+ protected $itemsDataType = 'array';
+
+ public function setFingerPrint($fingerPrint)
+ {
+ $this->fingerPrint = $fingerPrint;
+ }
+
+ public function getFingerPrint()
+ {
+ return $this->fingerPrint;
+ }
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+}
+
+class Google_Service_Manager_MetadataItem extends Google_Model
+{
+ public $key;
+ public $value;
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+
+ public function getKey()
+ {
+ return $this->key;
+ }
+
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Google_Service_Manager_Module extends Google_Model
+{
+ protected $autoscalingModuleType = 'Google_Service_Manager_AutoscalingModule';
+ protected $autoscalingModuleDataType = '';
+ protected $firewallModuleType = 'Google_Service_Manager_FirewallModule';
+ protected $firewallModuleDataType = '';
+ protected $healthCheckModuleType = 'Google_Service_Manager_HealthCheckModule';
+ protected $healthCheckModuleDataType = '';
+ protected $lbModuleType = 'Google_Service_Manager_LbModule';
+ protected $lbModuleDataType = '';
+ protected $networkModuleType = 'Google_Service_Manager_NetworkModule';
+ protected $networkModuleDataType = '';
+ protected $replicaPoolModuleType = 'Google_Service_Manager_ReplicaPoolModule';
+ protected $replicaPoolModuleDataType = '';
+ public $type;
+
+ public function setAutoscalingModule(Google_Service_Manager_AutoscalingModule $autoscalingModule)
+ {
+ $this->autoscalingModule = $autoscalingModule;
+ }
+
+ public function getAutoscalingModule()
+ {
+ return $this->autoscalingModule;
+ }
+
+ public function setFirewallModule(Google_Service_Manager_FirewallModule $firewallModule)
+ {
+ $this->firewallModule = $firewallModule;
+ }
+
+ public function getFirewallModule()
+ {
+ return $this->firewallModule;
+ }
+
+ public function setHealthCheckModule(Google_Service_Manager_HealthCheckModule $healthCheckModule)
+ {
+ $this->healthCheckModule = $healthCheckModule;
+ }
+
+ public function getHealthCheckModule()
+ {
+ return $this->healthCheckModule;
+ }
+
+ public function setLbModule(Google_Service_Manager_LbModule $lbModule)
+ {
+ $this->lbModule = $lbModule;
+ }
+
+ public function getLbModule()
+ {
+ return $this->lbModule;
+ }
+
+ public function setNetworkModule(Google_Service_Manager_NetworkModule $networkModule)
+ {
+ $this->networkModule = $networkModule;
+ }
+
+ public function getNetworkModule()
+ {
+ return $this->networkModule;
+ }
+
+ public function setReplicaPoolModule(Google_Service_Manager_ReplicaPoolModule $replicaPoolModule)
+ {
+ $this->replicaPoolModule = $replicaPoolModule;
+ }
+
+ public function getReplicaPoolModule()
+ {
+ return $this->replicaPoolModule;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_Manager_ModuleStatus extends Google_Model
+{
+ protected $autoscalingModuleStatusType = 'Google_Service_Manager_AutoscalingModuleStatus';
+ protected $autoscalingModuleStatusDataType = '';
+ protected $firewallModuleStatusType = 'Google_Service_Manager_FirewallModuleStatus';
+ protected $firewallModuleStatusDataType = '';
+ protected $healthCheckModuleStatusType = 'Google_Service_Manager_HealthCheckModuleStatus';
+ protected $healthCheckModuleStatusDataType = '';
+ protected $lbModuleStatusType = 'Google_Service_Manager_LbModuleStatus';
+ protected $lbModuleStatusDataType = '';
+ protected $networkModuleStatusType = 'Google_Service_Manager_NetworkModuleStatus';
+ protected $networkModuleStatusDataType = '';
+ protected $replicaPoolModuleStatusType = 'Google_Service_Manager_ReplicaPoolModuleStatus';
+ protected $replicaPoolModuleStatusDataType = '';
+ protected $stateType = 'Google_Service_Manager_DeployState';
+ protected $stateDataType = '';
+ public $type;
+
+ public function setAutoscalingModuleStatus(Google_Service_Manager_AutoscalingModuleStatus $autoscalingModuleStatus)
+ {
+ $this->autoscalingModuleStatus = $autoscalingModuleStatus;
+ }
+
+ public function getAutoscalingModuleStatus()
+ {
+ return $this->autoscalingModuleStatus;
+ }
+
+ public function setFirewallModuleStatus(Google_Service_Manager_FirewallModuleStatus $firewallModuleStatus)
+ {
+ $this->firewallModuleStatus = $firewallModuleStatus;
+ }
+
+ public function getFirewallModuleStatus()
+ {
+ return $this->firewallModuleStatus;
+ }
+
+ public function setHealthCheckModuleStatus(Google_Service_Manager_HealthCheckModuleStatus $healthCheckModuleStatus)
+ {
+ $this->healthCheckModuleStatus = $healthCheckModuleStatus;
+ }
+
+ public function getHealthCheckModuleStatus()
+ {
+ return $this->healthCheckModuleStatus;
+ }
+
+ public function setLbModuleStatus(Google_Service_Manager_LbModuleStatus $lbModuleStatus)
+ {
+ $this->lbModuleStatus = $lbModuleStatus;
+ }
+
+ public function getLbModuleStatus()
+ {
+ return $this->lbModuleStatus;
+ }
+
+ public function setNetworkModuleStatus(Google_Service_Manager_NetworkModuleStatus $networkModuleStatus)
+ {
+ $this->networkModuleStatus = $networkModuleStatus;
+ }
+
+ public function getNetworkModuleStatus()
+ {
+ return $this->networkModuleStatus;
+ }
+
+ public function setReplicaPoolModuleStatus(Google_Service_Manager_ReplicaPoolModuleStatus $replicaPoolModuleStatus)
+ {
+ $this->replicaPoolModuleStatus = $replicaPoolModuleStatus;
+ }
+
+ public function getReplicaPoolModuleStatus()
+ {
+ return $this->replicaPoolModuleStatus;
+ }
+
+ public function setState(Google_Service_Manager_DeployState $state)
+ {
+ $this->state = $state;
+ }
+
+ public function getState()
+ {
+ return $this->state;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_Manager_NetworkInterface extends Google_Collection
+{
+ protected $accessConfigsType = 'Google_Service_Manager_AccessConfig';
+ protected $accessConfigsDataType = 'array';
+ public $name;
+ public $network;
+ public $networkIp;
+
+ public function setAccessConfigs($accessConfigs)
+ {
+ $this->accessConfigs = $accessConfigs;
+ }
+
+ public function getAccessConfigs()
+ {
+ return $this->accessConfigs;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setNetwork($network)
+ {
+ $this->network = $network;
+ }
+
+ public function getNetwork()
+ {
+ return $this->network;
+ }
+
+ public function setNetworkIp($networkIp)
+ {
+ $this->networkIp = $networkIp;
+ }
+
+ public function getNetworkIp()
+ {
+ return $this->networkIp;
+ }
+}
+
+class Google_Service_Manager_NetworkModule extends Google_Model
+{
+ public $iPv4Range;
+ public $description;
+ public $gatewayIPv4;
+
+ public function setIPv4Range($iPv4Range)
+ {
+ $this->iPv4Range = $iPv4Range;
+ }
+
+ public function getIPv4Range()
+ {
+ return $this->iPv4Range;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setGatewayIPv4($gatewayIPv4)
+ {
+ $this->gatewayIPv4 = $gatewayIPv4;
+ }
+
+ public function getGatewayIPv4()
+ {
+ return $this->gatewayIPv4;
+ }
+}
+
+class Google_Service_Manager_NetworkModuleStatus extends Google_Model
+{
+ public $networkUrl;
+
+ public function setNetworkUrl($networkUrl)
+ {
+ $this->networkUrl = $networkUrl;
+ }
+
+ public function getNetworkUrl()
+ {
+ return $this->networkUrl;
+ }
+}
+
+class Google_Service_Manager_NewDisk extends Google_Model
+{
+ protected $attachmentType = 'Google_Service_Manager_DiskAttachment';
+ protected $attachmentDataType = '';
+ public $autoDelete;
+ public $boot;
+ protected $initializeParamsType = 'Google_Service_Manager_NewDiskInitializeParams';
+ protected $initializeParamsDataType = '';
+
+ public function setAttachment(Google_Service_Manager_DiskAttachment $attachment)
+ {
+ $this->attachment = $attachment;
+ }
+
+ public function getAttachment()
+ {
+ return $this->attachment;
+ }
+
+ public function setAutoDelete($autoDelete)
+ {
+ $this->autoDelete = $autoDelete;
+ }
+
+ public function getAutoDelete()
+ {
+ return $this->autoDelete;
+ }
+
+ public function setBoot($boot)
+ {
+ $this->boot = $boot;
+ }
+
+ public function getBoot()
+ {
+ return $this->boot;
+ }
+
+ public function setInitializeParams(Google_Service_Manager_NewDiskInitializeParams $initializeParams)
+ {
+ $this->initializeParams = $initializeParams;
+ }
+
+ public function getInitializeParams()
+ {
+ return $this->initializeParams;
+ }
+}
+
+class Google_Service_Manager_NewDiskInitializeParams extends Google_Model
+{
+ public $diskSizeGb;
+ public $sourceImage;
+
+ public function setDiskSizeGb($diskSizeGb)
+ {
+ $this->diskSizeGb = $diskSizeGb;
+ }
+
+ public function getDiskSizeGb()
+ {
+ return $this->diskSizeGb;
+ }
+
+ public function setSourceImage($sourceImage)
+ {
+ $this->sourceImage = $sourceImage;
+ }
+
+ public function getSourceImage()
+ {
+ return $this->sourceImage;
+ }
+}
+
+class Google_Service_Manager_ParamOverride extends Google_Model
+{
+ public $path;
+ public $value;
+
+ public function setPath($path)
+ {
+ $this->path = $path;
+ }
+
+ public function getPath()
+ {
+ return $this->path;
+ }
+
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Google_Service_Manager_ReplicaPoolModule extends Google_Collection
+{
+ protected $envVariablesType = 'Google_Service_Manager_EnvVariable';
+ protected $envVariablesDataType = 'map';
+ public $healthChecks;
+ public $numReplicas;
+ protected $replicaPoolParamsType = 'Google_Service_Manager_ReplicaPoolParams';
+ protected $replicaPoolParamsDataType = '';
+ public $resourceView;
+
+ public function setEnvVariables($envVariables)
+ {
+ $this->envVariables = $envVariables;
+ }
+
+ public function getEnvVariables()
+ {
+ return $this->envVariables;
+ }
+
+ public function setHealthChecks($healthChecks)
+ {
+ $this->healthChecks = $healthChecks;
+ }
+
+ public function getHealthChecks()
+ {
+ return $this->healthChecks;
+ }
+
+ public function setNumReplicas($numReplicas)
+ {
+ $this->numReplicas = $numReplicas;
+ }
+
+ public function getNumReplicas()
+ {
+ return $this->numReplicas;
+ }
+
+ public function setReplicaPoolParams(Google_Service_Manager_ReplicaPoolParams $replicaPoolParams)
+ {
+ $this->replicaPoolParams = $replicaPoolParams;
+ }
+
+ public function getReplicaPoolParams()
+ {
+ return $this->replicaPoolParams;
+ }
+
+ public function setResourceView($resourceView)
+ {
+ $this->resourceView = $resourceView;
+ }
+
+ public function getResourceView()
+ {
+ return $this->resourceView;
+ }
+}
+
+class Google_Service_Manager_ReplicaPoolModuleStatus extends Google_Model
+{
+ public $replicaPoolUrl;
+ public $resourceViewUrl;
+
+ public function setReplicaPoolUrl($replicaPoolUrl)
+ {
+ $this->replicaPoolUrl = $replicaPoolUrl;
+ }
+
+ public function getReplicaPoolUrl()
+ {
+ return $this->replicaPoolUrl;
+ }
+
+ public function setResourceViewUrl($resourceViewUrl)
+ {
+ $this->resourceViewUrl = $resourceViewUrl;
+ }
+
+ public function getResourceViewUrl()
+ {
+ return $this->resourceViewUrl;
+ }
+}
+
+class Google_Service_Manager_ReplicaPoolParams extends Google_Model
+{
+ protected $v1beta1Type = 'Google_Service_Manager_ReplicaPoolParamsV1Beta1';
+ protected $v1beta1DataType = '';
+
+ public function setV1beta1(Google_Service_Manager_ReplicaPoolParamsV1Beta1 $v1beta1)
+ {
+ $this->v1beta1 = $v1beta1;
+ }
+
+ public function getV1beta1()
+ {
+ return $this->v1beta1;
+ }
+}
+
+class Google_Service_Manager_ReplicaPoolParamsV1Beta1 extends Google_Collection
+{
+ public $autoRestart;
+ public $baseInstanceName;
+ public $canIpForward;
+ public $description;
+ protected $disksToAttachType = 'Google_Service_Manager_ExistingDisk';
+ protected $disksToAttachDataType = 'array';
+ protected $disksToCreateType = 'Google_Service_Manager_NewDisk';
+ protected $disksToCreateDataType = 'array';
+ public $initAction;
+ public $machineType;
+ protected $metadataType = 'Google_Service_Manager_Metadata';
+ protected $metadataDataType = '';
+ protected $networkInterfacesType = 'Google_Service_Manager_NetworkInterface';
+ protected $networkInterfacesDataType = 'array';
+ public $onHostMaintenance;
+ protected $serviceAccountsType = 'Google_Service_Manager_ServiceAccount';
+ protected $serviceAccountsDataType = 'array';
+ protected $tagsType = 'Google_Service_Manager_Tag';
+ protected $tagsDataType = '';
+ public $zone;
+
+ public function setAutoRestart($autoRestart)
+ {
+ $this->autoRestart = $autoRestart;
+ }
+
+ public function getAutoRestart()
+ {
+ return $this->autoRestart;
+ }
+
+ public function setBaseInstanceName($baseInstanceName)
+ {
+ $this->baseInstanceName = $baseInstanceName;
+ }
+
+ public function getBaseInstanceName()
+ {
+ return $this->baseInstanceName;
+ }
+
+ public function setCanIpForward($canIpForward)
+ {
+ $this->canIpForward = $canIpForward;
+ }
+
+ public function getCanIpForward()
+ {
+ return $this->canIpForward;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setDisksToAttach($disksToAttach)
+ {
+ $this->disksToAttach = $disksToAttach;
+ }
+
+ public function getDisksToAttach()
+ {
+ return $this->disksToAttach;
+ }
+
+ public function setDisksToCreate($disksToCreate)
+ {
+ $this->disksToCreate = $disksToCreate;
+ }
+
+ public function getDisksToCreate()
+ {
+ return $this->disksToCreate;
+ }
+
+ public function setInitAction($initAction)
+ {
+ $this->initAction = $initAction;
+ }
+
+ public function getInitAction()
+ {
+ return $this->initAction;
+ }
+
+ public function setMachineType($machineType)
+ {
+ $this->machineType = $machineType;
+ }
+
+ public function getMachineType()
+ {
+ return $this->machineType;
+ }
+
+ public function setMetadata(Google_Service_Manager_Metadata $metadata)
+ {
+ $this->metadata = $metadata;
+ }
+
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+
+ public function setNetworkInterfaces($networkInterfaces)
+ {
+ $this->networkInterfaces = $networkInterfaces;
+ }
+
+ public function getNetworkInterfaces()
+ {
+ return $this->networkInterfaces;
+ }
+
+ public function setOnHostMaintenance($onHostMaintenance)
+ {
+ $this->onHostMaintenance = $onHostMaintenance;
+ }
+
+ public function getOnHostMaintenance()
+ {
+ return $this->onHostMaintenance;
+ }
+
+ public function setServiceAccounts($serviceAccounts)
+ {
+ $this->serviceAccounts = $serviceAccounts;
+ }
+
+ public function getServiceAccounts()
+ {
+ return $this->serviceAccounts;
+ }
+
+ public function setTags(Google_Service_Manager_Tag $tags)
+ {
+ $this->tags = $tags;
+ }
+
+ public function getTags()
+ {
+ return $this->tags;
+ }
+
+ public function setZone($zone)
+ {
+ $this->zone = $zone;
+ }
+
+ public function getZone()
+ {
+ return $this->zone;
+ }
+}
+
+class Google_Service_Manager_ServiceAccount extends Google_Collection
+{
+ public $email;
+ public $scopes;
+
+ public function setEmail($email)
+ {
+ $this->email = $email;
+ }
+
+ public function getEmail()
+ {
+ return $this->email;
+ }
+
+ public function setScopes($scopes)
+ {
+ $this->scopes = $scopes;
+ }
+
+ public function getScopes()
+ {
+ return $this->scopes;
+ }
+}
+
+class Google_Service_Manager_Tag extends Google_Collection
+{
+ public $fingerPrint;
+ public $items;
+
+ public function setFingerPrint($fingerPrint)
+ {
+ $this->fingerPrint = $fingerPrint;
+ }
+
+ public function getFingerPrint()
+ {
+ return $this->fingerPrint;
+ }
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+}
+
+class Google_Service_Manager_Template extends Google_Model
+{
+ protected $actionsType = 'Google_Service_Manager_Action';
+ protected $actionsDataType = 'map';
+ public $description;
+ protected $modulesType = 'Google_Service_Manager_Module';
+ protected $modulesDataType = 'map';
+ public $name;
+
+ public function setActions($actions)
+ {
+ $this->actions = $actions;
+ }
+
+ public function getActions()
+ {
+ return $this->actions;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setModules($modules)
+ {
+ $this->modules = $modules;
+ }
+
+ public function getModules()
+ {
+ return $this->modules;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Google_Service_Manager_TemplatesListResponse extends Google_Collection
+{
+ public $nextPageToken;
+ protected $resourcesType = 'Google_Service_Manager_Template';
+ protected $resourcesDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+
+ public function getResources()
+ {
+ return $this->resources;
+ }
+}
From 1cd8543b12c31ecf1e140c866d2615cd6ccaa09f Mon Sep 17 00:00:00 2001
From: Ian Barber
* Lets you store and retrieve potentially-large, immutable data objects.
@@ -54,8 +54,8 @@ class Google_Service_Storage extends Google_Service
public function __construct(Google_Client $client)
{
parent::__construct($client);
- $this->servicePath = 'storage/v1beta2/';
- $this->version = 'v1beta2';
+ $this->servicePath = 'storage/v1/';
+ $this->version = 'v1';
$this->serviceName = 'storage';
$this->bucketAccessControls = new Google_Service_Storage_BucketAccessControls_Resource(
@@ -203,6 +203,10 @@ public function __construct(Google_Client $client)
'type' => 'string',
'required' => true,
),
+ 'predefinedAcl' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
'projection' => array(
'location' => 'query',
'type' => 'string',
@@ -243,6 +247,10 @@ public function __construct(Google_Client $client)
'location' => 'query',
'type' => 'string',
),
+ 'predefinedAcl' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
'ifMetagenerationNotMatch' => array(
'location' => 'query',
'type' => 'string',
@@ -265,6 +273,10 @@ public function __construct(Google_Client $client)
'location' => 'query',
'type' => 'string',
),
+ 'predefinedAcl' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
'ifMetagenerationNotMatch' => array(
'location' => 'query',
'type' => 'string',
@@ -554,11 +566,15 @@ public function __construct(Google_Client $client)
'type' => 'string',
'required' => true,
),
+ 'ifGenerationMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
'ifMetagenerationMatch' => array(
'location' => 'query',
'type' => 'string',
),
- 'ifGenerationMatch' => array(
+ 'destinationPredefinedAcl' => array(
'location' => 'query',
'type' => 'string',
),
@@ -591,10 +607,6 @@ public function __construct(Google_Client $client)
'location' => 'query',
'type' => 'string',
),
- 'ifGenerationMatch' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
'ifGenerationNotMatch' => array(
'location' => 'query',
'type' => 'string',
@@ -603,7 +615,7 @@ public function __construct(Google_Client $client)
'location' => 'query',
'type' => 'string',
),
- 'ifMetagenerationNotMatch' => array(
+ 'ifMetagenerationMatch' => array(
'location' => 'query',
'type' => 'string',
),
@@ -611,6 +623,10 @@ public function __construct(Google_Client $client)
'location' => 'query',
'type' => 'string',
),
+ 'destinationPredefinedAcl' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
'ifSourceGenerationMatch' => array(
'location' => 'query',
'type' => 'string',
@@ -619,7 +635,11 @@ public function __construct(Google_Client $client)
'location' => 'query',
'type' => 'string',
),
- 'ifMetagenerationMatch' => array(
+ 'ifGenerationMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifMetagenerationNotMatch' => array(
'location' => 'query',
'type' => 'string',
),
@@ -711,6 +731,10 @@ public function __construct(Google_Client $client)
'type' => 'string',
'required' => true,
),
+ 'predefinedAcl' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
'projection' => array(
'location' => 'query',
'type' => 'string',
@@ -723,6 +747,10 @@ public function __construct(Google_Client $client)
'location' => 'query',
'type' => 'string',
),
+ 'contentEncoding' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
'ifGenerationMatch' => array(
'location' => 'query',
'type' => 'string',
@@ -784,6 +812,10 @@ public function __construct(Google_Client $client)
'type' => 'string',
'required' => true,
),
+ 'predefinedAcl' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
'ifGenerationNotMatch' => array(
'location' => 'query',
'type' => 'string',
@@ -823,6 +855,10 @@ public function __construct(Google_Client $client)
'type' => 'string',
'required' => true,
),
+ 'predefinedAcl' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
'ifGenerationNotMatch' => array(
'location' => 'query',
'type' => 'string',
@@ -1025,11 +1061,9 @@ class Google_Service_Storage_Buckets_Resource extends Google_Service_Resource
* @param array $optParams Optional parameters.
*
* @opt_param string ifMetagenerationMatch
- * Makes the return of the bucket metadata conditional on whether the bucket's current
- * metageneration matches the given value.
+ * If set, only deletes the bucket if its metageneration matches this value.
* @opt_param string ifMetagenerationNotMatch
- * Makes the return of the bucket metadata conditional on whether the bucket's current
- * metageneration does not match the given value.
+ * If set, only deletes the bucket if its metageneration does not match this value.
*/
public function delete($bucket, $optParams = array())
{
@@ -1068,6 +1102,8 @@ public function get($bucket, $optParams = array())
* @param Google_Bucket $postBody
* @param array $optParams Optional parameters.
*
+ * @opt_param string predefinedAcl
+ * Apply a predefined set of access controls to this bucket.
* @opt_param string projection
* Set of properties to return. Defaults to noAcl, unless the bucket resource specifies acl or
* defaultObjectAcl properties, when it defaults to full.
@@ -1111,6 +1147,8 @@ public function listBuckets($project, $optParams = array())
* @opt_param string ifMetagenerationMatch
* Makes the return of the bucket metadata conditional on whether the bucket's current
* metageneration matches the given value.
+ * @opt_param string predefinedAcl
+ * Apply a predefined set of access controls to this bucket.
* @opt_param string ifMetagenerationNotMatch
* Makes the return of the bucket metadata conditional on whether the bucket's current
* metageneration does not match the given value.
@@ -1135,6 +1173,8 @@ public function patch($bucket, Google_Service_Storage_Bucket $postBody, $optPara
* @opt_param string ifMetagenerationMatch
* Makes the return of the bucket metadata conditional on whether the bucket's current
* metageneration matches the given value.
+ * @opt_param string predefinedAcl
+ * Apply a predefined set of access controls to this bucket.
* @opt_param string ifMetagenerationNotMatch
* Makes the return of the bucket metadata conditional on whether the bucket's current
* metageneration does not match the given value.
@@ -1246,11 +1286,11 @@ public function insert($bucket, Google_Service_Storage_ObjectAccessControl $post
* @param array $optParams Optional parameters.
*
* @opt_param string ifMetagenerationMatch
- * Makes the operation conditional on whether the destination object's current metageneration
- * matches the given value.
+ * If present, only return default ACL listing if the bucket's current metageneration matches this
+ * value.
* @opt_param string ifMetagenerationNotMatch
- * Makes the operation conditional on whether the destination object's current metageneration does
- * not match the given value.
+ * If present, only return default ACL listing if the bucket's current metageneration does not
+ * match the given value.
* @return Google_Service_Storage_ObjectAccessControls
*/
public function listDefaultObjectAccessControls($bucket, $optParams = array())
@@ -1473,12 +1513,14 @@ class Google_Service_Storage_Objects_Resource extends Google_Service_Resource
* @param Google_ComposeRequest $postBody
* @param array $optParams Optional parameters.
*
- * @opt_param string ifMetagenerationMatch
- * Makes the operation conditional on whether the object's current metageneration matches the given
- * value.
* @opt_param string ifGenerationMatch
* Makes the operation conditional on whether the object's current generation matches the given
* value.
+ * @opt_param string ifMetagenerationMatch
+ * Makes the operation conditional on whether the object's current metageneration matches the given
+ * value.
+ * @opt_param string destinationPredefinedAcl
+ * Apply a predefined set of access controls to the destination object.
* @return Google_Service_Storage_StorageObject
*/
public function compose($destinationBucket, $destinationObject, Google_Service_Storage_ComposeRequest $postBody, $optParams = array())
@@ -1488,8 +1530,8 @@ public function compose($destinationBucket, $destinationObject, Google_Service_S
return $this->call('compose', array($params), "Google_Service_Storage_StorageObject");
}
/**
- * Copies an object to a destination in the same location. Optionally overrides
- * metadata. (objects.copy)
+ * Copies an object to a specified location. Optionally overrides metadata.
+ * (objects.copy)
*
* @param string $sourceBucket
* Name of the bucket in which to find the source object.
@@ -1507,30 +1549,32 @@ public function compose($destinationBucket, $destinationObject, Google_Service_S
* @opt_param string ifSourceGenerationNotMatch
* Makes the operation conditional on whether the source object's generation does not match the
* given value.
- * @opt_param string ifGenerationMatch
- * Makes the operation conditional on whether the destination object's current generation matches
- * the given value.
* @opt_param string ifGenerationNotMatch
* Makes the operation conditional on whether the destination object's current generation does not
* match the given value.
* @opt_param string ifSourceMetagenerationNotMatch
* Makes the operation conditional on whether the source object's current metageneration does not
* match the given value.
- * @opt_param string ifMetagenerationNotMatch
- * Makes the operation conditional on whether the destination object's current metageneration does
- * not match the given value.
+ * @opt_param string ifMetagenerationMatch
+ * Makes the operation conditional on whether the destination object's current metageneration
+ * matches the given value.
* @opt_param string sourceGeneration
* If present, selects a specific revision of the source object (as opposed to the latest version,
* the default).
+ * @opt_param string destinationPredefinedAcl
+ * Apply a predefined set of access controls to the destination object.
* @opt_param string ifSourceGenerationMatch
* Makes the operation conditional on whether the source object's generation matches the given
* value.
* @opt_param string ifSourceMetagenerationMatch
* Makes the operation conditional on whether the source object's current metageneration matches
* the given value.
- * @opt_param string ifMetagenerationMatch
- * Makes the operation conditional on whether the destination object's current metageneration
- * matches the given value.
+ * @opt_param string ifGenerationMatch
+ * Makes the operation conditional on whether the destination object's current generation matches
+ * the given value.
+ * @opt_param string ifMetagenerationNotMatch
+ * Makes the operation conditional on whether the destination object's current metageneration does
+ * not match the given value.
* @opt_param string projection
* Set of properties to return. Defaults to noAcl, unless the object resource specifies the acl
* property, when it defaults to full.
@@ -1543,9 +1587,9 @@ public function copy($sourceBucket, $sourceObject, $destinationBucket, $destinat
return $this->call('copy', array($params), "Google_Service_Storage_StorageObject");
}
/**
- * Deletes data blobs and associated metadata. Deletions are permanent if
- * versioning is not enabled for the bucket, or if the generation parameter is
- * used. (objects.delete)
+ * Deletes an object and its metadata. Deletions are permanent if versioning is
+ * not enabled for the bucket, or if the generation parameter is used.
+ * (objects.delete)
*
* @param string $bucket
* Name of the bucket in which the object resides.
@@ -1576,7 +1620,7 @@ public function delete($bucket, $object, $optParams = array())
return $this->call('delete', array($params));
}
/**
- * Retrieves objects or their associated metadata. (objects.get)
+ * Retrieves objects or their metadata. (objects.get)
*
* @param string $bucket
* Name of the bucket in which the object resides.
@@ -1609,7 +1653,7 @@ public function get($bucket, $object, $optParams = array())
return $this->call('get', array($params), "Google_Service_Storage_StorageObject");
}
/**
- * Stores new data blobs and associated metadata. (objects.insert)
+ * Stores a new object and metadata. (objects.insert)
*
* @param string $bucket
* Name of the bucket in which to store the new object. Overrides the provided object metadata's
@@ -1617,6 +1661,8 @@ public function get($bucket, $object, $optParams = array())
* @param Google_StorageObject $postBody
* @param array $optParams Optional parameters.
*
+ * @opt_param string predefinedAcl
+ * Apply a predefined set of access controls to this object.
* @opt_param string projection
* Set of properties to return. Defaults to noAcl, unless the object resource specifies the acl
* property, when it defaults to full.
@@ -1626,6 +1672,11 @@ public function get($bucket, $object, $optParams = array())
* @opt_param string ifMetagenerationMatch
* Makes the operation conditional on whether the object's current metageneration matches the given
* value.
+ * @opt_param string contentEncoding
+ * If set, sets the contentEncoding property of the final object to this value. Setting this
+ * parameter is equivalent to setting the contentEncoding metadata property. This can be useful
+ * when uploading an object with uploadType=media to indicate the encoding of the content being
+ * uploaded.
* @opt_param string ifGenerationMatch
* Makes the operation conditional on whether the object's current generation matches the given
* value.
@@ -1675,8 +1726,8 @@ public function listObjects($bucket, $optParams = array())
return $this->call('list', array($params), "Google_Service_Storage_Objects");
}
/**
- * Updates a data blob's associated metadata. This method supports patch
- * semantics. (objects.patch)
+ * Updates an object's metadata. This method supports patch semantics.
+ * (objects.patch)
*
* @param string $bucket
* Name of the bucket in which the object resides.
@@ -1685,6 +1736,8 @@ public function listObjects($bucket, $optParams = array())
* @param Google_StorageObject $postBody
* @param array $optParams Optional parameters.
*
+ * @opt_param string predefinedAcl
+ * Apply a predefined set of access controls to this object.
* @opt_param string ifGenerationNotMatch
* Makes the operation conditional on whether the object's current generation does not match the
* given value.
@@ -1711,7 +1764,7 @@ public function patch($bucket, $object, Google_Service_Storage_StorageObject $po
return $this->call('patch', array($params), "Google_Service_Storage_StorageObject");
}
/**
- * Updates a data blob's associated metadata. (objects.update)
+ * Updates an object's metadata. (objects.update)
*
* @param string $bucket
* Name of the bucket in which the object resides.
@@ -1720,6 +1773,8 @@ public function patch($bucket, $object, Google_Service_Storage_StorageObject $po
* @param Google_StorageObject $postBody
* @param array $optParams Optional parameters.
*
+ * @opt_param string predefinedAcl
+ * Apply a predefined set of access controls to this object.
* @opt_param string ifGenerationNotMatch
* Makes the operation conditional on whether the object's current generation does not match the
* given value.
@@ -1802,6 +1857,7 @@ class Google_Service_Storage_Bucket extends Google_Collection
public $name;
protected $ownerType = 'Google_Service_Storage_BucketOwner';
protected $ownerDataType = '';
+ public $projectNumber;
public $selfLink;
public $storageClass;
public $timeCreated;
@@ -1930,6 +1986,16 @@ public function getOwner()
return $this->owner;
}
+ public function setProjectNumber($projectNumber)
+ {
+ $this->projectNumber = $projectNumber;
+ }
+
+ public function getProjectNumber()
+ {
+ return $this->projectNumber;
+ }
+
public function setSelfLink($selfLink)
{
$this->selfLink = $selfLink;
@@ -1991,6 +2057,8 @@ class Google_Service_Storage_BucketAccessControl extends Google_Model
public $etag;
public $id;
public $kind;
+ protected $projectTeamType = 'Google_Service_Storage_BucketAccessControlProjectTeam';
+ protected $projectTeamDataType = '';
public $role;
public $selfLink;
@@ -2074,6 +2142,16 @@ public function getKind()
return $this->kind;
}
+ public function setProjectTeam(Google_Service_Storage_BucketAccessControlProjectTeam $projectTeam)
+ {
+ $this->projectTeam = $projectTeam;
+ }
+
+ public function getProjectTeam()
+ {
+ return $this->projectTeam;
+ }
+
public function setRole($role)
{
$this->role = $role;
@@ -2095,6 +2173,32 @@ public function getSelfLink()
}
}
+class Google_Service_Storage_BucketAccessControlProjectTeam extends Google_Model
+{
+ public $projectNumber;
+ public $team;
+
+ public function setProjectNumber($projectNumber)
+ {
+ $this->projectNumber = $projectNumber;
+ }
+
+ public function getProjectNumber()
+ {
+ return $this->projectNumber;
+ }
+
+ public function setTeam($team)
+ {
+ $this->team = $team;
+ }
+
+ public function getTeam()
+ {
+ return $this->team;
+ }
+}
+
class Google_Service_Storage_BucketAccessControls extends Google_Collection
{
protected $itemsType = 'Google_Service_Storage_BucketAccessControl';
@@ -2626,6 +2730,8 @@ class Google_Service_Storage_ObjectAccessControl extends Google_Model
public $id;
public $kind;
public $object;
+ protected $projectTeamType = 'Google_Service_Storage_ObjectAccessControlProjectTeam';
+ protected $projectTeamDataType = '';
public $role;
public $selfLink;
@@ -2729,6 +2835,16 @@ public function getObject()
return $this->object;
}
+ public function setProjectTeam(Google_Service_Storage_ObjectAccessControlProjectTeam $projectTeam)
+ {
+ $this->projectTeam = $projectTeam;
+ }
+
+ public function getProjectTeam()
+ {
+ return $this->projectTeam;
+ }
+
public function setRole($role)
{
$this->role = $role;
@@ -2750,6 +2866,32 @@ public function getSelfLink()
}
}
+class Google_Service_Storage_ObjectAccessControlProjectTeam extends Google_Model
+{
+ public $projectNumber;
+ public $team;
+
+ public function setProjectNumber($projectNumber)
+ {
+ $this->projectNumber = $projectNumber;
+ }
+
+ public function getProjectNumber()
+ {
+ return $this->projectNumber;
+ }
+
+ public function setTeam($team)
+ {
+ $this->team = $team;
+ }
+
+ public function getTeam()
+ {
+ return $this->team;
+ }
+}
+
class Google_Service_Storage_ObjectAccessControls extends Google_Collection
{
public $items;
From e8dcb3318be6a5dc430328cf2ee3c463c9ebb23d Mon Sep 17 00:00:00 2001
From: Silvano Luciani
+ * For more information about this service, see the API + * Documentation + *
+ * + * @author Google, Inc. + */ +class Google_Service_Resourceviews extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = "https://www.googleapis.com/auth/cloud-platform"; + /** View and manage your Google Cloud Platform management resources and deployment status information. */ + const NDEV_CLOUDMAN = "https://www.googleapis.com/auth/ndev.cloudman"; + /** View your Google Cloud Platform management resources and deployment status information. */ + const NDEV_CLOUDMAN_READONLY = "https://www.googleapis.com/auth/ndev.cloudman.readonly"; + + public $regionViews; + public $zoneViews; + + + /** + * Constructs the internal representation of the Resourceviews service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->servicePath = 'resourceviews/v1beta1/projects/'; + $this->version = 'v1beta1'; + $this->serviceName = 'resourceviews'; + + $this->regionViews = new Google_Service_Resourceviews_RegionViews_Resource( + $this, + $this->serviceName, + 'regionViews', + array( + 'methods' => array( + 'addresources' => array( + 'path' => '{projectName}/regions/{region}/resourceViews/{resourceViewName}/addResources', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resourceViewName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => '{projectName}/regions/{region}/resourceViews/{resourceViewName}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'projectName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resourceViewName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{projectName}/regions/{region}/resourceViews/{resourceViewName}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resourceViewName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{projectName}/regions/{region}/resourceViews', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{projectName}/regions/{region}/resourceViews', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'listresources' => array( + 'path' => '{projectName}/regions/{region}/resourceViews/{resourceViewName}/resources', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resourceViewName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'removeresources' => array( + 'path' => '{projectName}/regions/{region}/resourceViews/{resourceViewName}/removeResources', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resourceViewName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->zoneViews = new Google_Service_Resourceviews_ZoneViews_Resource( + $this, + $this->serviceName, + 'zoneViews', + array( + 'methods' => array( + 'addresources' => array( + 'path' => '{projectName}/zones/{zone}/resourceViews/{resourceViewName}/addResources', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resourceViewName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => '{projectName}/zones/{zone}/resourceViews/{resourceViewName}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'projectName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resourceViewName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{projectName}/zones/{zone}/resourceViews/{resourceViewName}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resourceViewName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{projectName}/zones/{zone}/resourceViews', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{projectName}/zones/{zone}/resourceViews', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'listresources' => array( + 'path' => '{projectName}/zones/{zone}/resourceViews/{resourceViewName}/resources', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resourceViewName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'removeresources' => array( + 'path' => '{projectName}/zones/{zone}/resourceViews/{resourceViewName}/removeResources', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resourceViewName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "regionViews" collection of methods. + * Typical usage is: + *
+ * $resourceviewsService = new Google_Service_Resourceviews(...);
+ * $regionViews = $resourceviewsService->regionViews;
+ *
+ */
+class Google_Service_Resourceviews_RegionViews_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Add resources to the view. (regionViews.addresources)
+ *
+ * @param string $projectName
+ * The project name of the resource view.
+ * @param string $region
+ * The region name of the resource view.
+ * @param string $resourceViewName
+ * The name of the resource view.
+ * @param Google_RegionViewsAddResourcesRequest $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function addresources($projectName, $region, $resourceViewName, Google_Service_Resourceviews_RegionViewsAddResourcesRequest $postBody, $optParams = array())
+ {
+ $params = array('projectName' => $projectName, 'region' => $region, 'resourceViewName' => $resourceViewName, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('addresources', array($params));
+ }
+ /**
+ * Delete a resource view. (regionViews.delete)
+ *
+ * @param string $projectName
+ * The project name of the resource view.
+ * @param string $region
+ * The region name of the resource view.
+ * @param string $resourceViewName
+ * The name of the resource view.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($projectName, $region, $resourceViewName, $optParams = array())
+ {
+ $params = array('projectName' => $projectName, 'region' => $region, 'resourceViewName' => $resourceViewName);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Get the information of a resource view. (regionViews.get)
+ *
+ * @param string $projectName
+ * The project name of the resource view.
+ * @param string $region
+ * The region name of the resource view.
+ * @param string $resourceViewName
+ * The name of the resource view.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Resourceviews_ResourceView
+ */
+ public function get($projectName, $region, $resourceViewName, $optParams = array())
+ {
+ $params = array('projectName' => $projectName, 'region' => $region, 'resourceViewName' => $resourceViewName);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Resourceviews_ResourceView");
+ }
+ /**
+ * Create a resource view. (regionViews.insert)
+ *
+ * @param string $projectName
+ * The project name of the resource view.
+ * @param string $region
+ * The region name of the resource view.
+ * @param Google_ResourceView $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Resourceviews_RegionViewsInsertResponse
+ */
+ public function insert($projectName, $region, Google_Service_Resourceviews_ResourceView $postBody, $optParams = array())
+ {
+ $params = array('projectName' => $projectName, 'region' => $region, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Resourceviews_RegionViewsInsertResponse");
+ }
+ /**
+ * List resource views. (regionViews.listRegionViews)
+ *
+ * @param string $projectName
+ * The project name of the resource view.
+ * @param string $region
+ * The region name of the resource view.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * Specifies a nextPageToken returned by a previous list request. This token can be used to request
+ * the next page of results from a previous list request.
+ * @opt_param int maxResults
+ * Maximum count of results to be returned. Acceptable values are 0 to 500, inclusive. (Default:
+ * 50)
+ * @return Google_Service_Resourceviews_RegionViewsListResponse
+ */
+ public function listRegionViews($projectName, $region, $optParams = array())
+ {
+ $params = array('projectName' => $projectName, 'region' => $region);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Resourceviews_RegionViewsListResponse");
+ }
+ /**
+ * List the resources in the view. (regionViews.listresources)
+ *
+ * @param string $projectName
+ * The project name of the resource view.
+ * @param string $region
+ * The region name of the resource view.
+ * @param string $resourceViewName
+ * The name of the resource view.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * Specifies a nextPageToken returned by a previous list request. This token can be used to request
+ * the next page of results from a previous list request.
+ * @opt_param int maxResults
+ * Maximum count of results to be returned. Acceptable values are 0 to 500, inclusive. (Default:
+ * 50)
+ * @return Google_Service_Resourceviews_RegionViewsListResourcesResponse
+ */
+ public function listresources($projectName, $region, $resourceViewName, $optParams = array())
+ {
+ $params = array('projectName' => $projectName, 'region' => $region, 'resourceViewName' => $resourceViewName);
+ $params = array_merge($params, $optParams);
+ return $this->call('listresources', array($params), "Google_Service_Resourceviews_RegionViewsListResourcesResponse");
+ }
+ /**
+ * Remove resources from the view. (regionViews.removeresources)
+ *
+ * @param string $projectName
+ * The project name of the resource view.
+ * @param string $region
+ * The region name of the resource view.
+ * @param string $resourceViewName
+ * The name of the resource view.
+ * @param Google_RegionViewsRemoveResourcesRequest $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function removeresources($projectName, $region, $resourceViewName, Google_Service_Resourceviews_RegionViewsRemoveResourcesRequest $postBody, $optParams = array())
+ {
+ $params = array('projectName' => $projectName, 'region' => $region, 'resourceViewName' => $resourceViewName, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('removeresources', array($params));
+ }
+}
+
+/**
+ * The "zoneViews" collection of methods.
+ * Typical usage is:
+ *
+ * $resourceviewsService = new Google_Service_Resourceviews(...);
+ * $zoneViews = $resourceviewsService->zoneViews;
+ *
+ */
+class Google_Service_Resourceviews_ZoneViews_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Add resources to the view. (zoneViews.addresources)
+ *
+ * @param string $projectName
+ * The project name of the resource view.
+ * @param string $zone
+ * The zone name of the resource view.
+ * @param string $resourceViewName
+ * The name of the resource view.
+ * @param Google_ZoneViewsAddResourcesRequest $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function addresources($projectName, $zone, $resourceViewName, Google_Service_Resourceviews_ZoneViewsAddResourcesRequest $postBody, $optParams = array())
+ {
+ $params = array('projectName' => $projectName, 'zone' => $zone, 'resourceViewName' => $resourceViewName, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('addresources', array($params));
+ }
+ /**
+ * Delete a resource view. (zoneViews.delete)
+ *
+ * @param string $projectName
+ * The project name of the resource view.
+ * @param string $zone
+ * The zone name of the resource view.
+ * @param string $resourceViewName
+ * The name of the resource view.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($projectName, $zone, $resourceViewName, $optParams = array())
+ {
+ $params = array('projectName' => $projectName, 'zone' => $zone, 'resourceViewName' => $resourceViewName);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Get the information of a zonal resource view. (zoneViews.get)
+ *
+ * @param string $projectName
+ * The project name of the resource view.
+ * @param string $zone
+ * The zone name of the resource view.
+ * @param string $resourceViewName
+ * The name of the resource view.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Resourceviews_ResourceView
+ */
+ public function get($projectName, $zone, $resourceViewName, $optParams = array())
+ {
+ $params = array('projectName' => $projectName, 'zone' => $zone, 'resourceViewName' => $resourceViewName);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Resourceviews_ResourceView");
+ }
+ /**
+ * Create a resource view. (zoneViews.insert)
+ *
+ * @param string $projectName
+ * The project name of the resource view.
+ * @param string $zone
+ * The zone name of the resource view.
+ * @param Google_ResourceView $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Resourceviews_ZoneViewsInsertResponse
+ */
+ public function insert($projectName, $zone, Google_Service_Resourceviews_ResourceView $postBody, $optParams = array())
+ {
+ $params = array('projectName' => $projectName, 'zone' => $zone, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Resourceviews_ZoneViewsInsertResponse");
+ }
+ /**
+ * List resource views. (zoneViews.listZoneViews)
+ *
+ * @param string $projectName
+ * The project name of the resource view.
+ * @param string $zone
+ * The zone name of the resource view.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * Specifies a nextPageToken returned by a previous list request. This token can be used to request
+ * the next page of results from a previous list request.
+ * @opt_param int maxResults
+ * Maximum count of results to be returned. Acceptable values are 0 to 500, inclusive. (Default:
+ * 50)
+ * @return Google_Service_Resourceviews_ZoneViewsListResponse
+ */
+ public function listZoneViews($projectName, $zone, $optParams = array())
+ {
+ $params = array('projectName' => $projectName, 'zone' => $zone);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Resourceviews_ZoneViewsListResponse");
+ }
+ /**
+ * List the resources of the resource view. (zoneViews.listresources)
+ *
+ * @param string $projectName
+ * The project name of the resource view.
+ * @param string $zone
+ * The zone name of the resource view.
+ * @param string $resourceViewName
+ * The name of the resource view.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * Specifies a nextPageToken returned by a previous list request. This token can be used to request
+ * the next page of results from a previous list request.
+ * @opt_param int maxResults
+ * Maximum count of results to be returned. Acceptable values are 0 to 500, inclusive. (Default:
+ * 50)
+ * @return Google_Service_Resourceviews_ZoneViewsListResourcesResponse
+ */
+ public function listresources($projectName, $zone, $resourceViewName, $optParams = array())
+ {
+ $params = array('projectName' => $projectName, 'zone' => $zone, 'resourceViewName' => $resourceViewName);
+ $params = array_merge($params, $optParams);
+ return $this->call('listresources', array($params), "Google_Service_Resourceviews_ZoneViewsListResourcesResponse");
+ }
+ /**
+ * Remove resources from the view. (zoneViews.removeresources)
+ *
+ * @param string $projectName
+ * The project name of the resource view.
+ * @param string $zone
+ * The zone name of the resource view.
+ * @param string $resourceViewName
+ * The name of the resource view.
+ * @param Google_ZoneViewsRemoveResourcesRequest $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function removeresources($projectName, $zone, $resourceViewName, Google_Service_Resourceviews_ZoneViewsRemoveResourcesRequest $postBody, $optParams = array())
+ {
+ $params = array('projectName' => $projectName, 'zone' => $zone, 'resourceViewName' => $resourceViewName, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('removeresources', array($params));
+ }
+}
+
+
+
+
+class Google_Service_Resourceviews_Label extends Google_Model
+{
+ public $key;
+ public $value;
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+
+ public function getKey()
+ {
+ return $this->key;
+ }
+
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Google_Service_Resourceviews_RegionViewsAddResourcesRequest extends Google_Collection
+{
+ public $resources;
+
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+
+ public function getResources()
+ {
+ return $this->resources;
+ }
+}
+
+class Google_Service_Resourceviews_RegionViewsInsertResponse extends Google_Model
+{
+ protected $resourceType = 'Google_Service_Resourceviews_ResourceView';
+ protected $resourceDataType = '';
+
+ public function setResource(Google_Service_Resourceviews_ResourceView $resource)
+ {
+ $this->resource = $resource;
+ }
+
+ public function getResource()
+ {
+ return $this->resource;
+ }
+}
+
+class Google_Service_Resourceviews_RegionViewsListResourcesResponse extends Google_Collection
+{
+ public $members;
+ public $nextPageToken;
+
+ public function setMembers($members)
+ {
+ $this->members = $members;
+ }
+
+ public function getMembers()
+ {
+ return $this->members;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Resourceviews_RegionViewsListResponse extends Google_Collection
+{
+ public $nextPageToken;
+ protected $resourceViewsType = 'Google_Service_Resourceviews_ResourceView';
+ protected $resourceViewsDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setResourceViews($resourceViews)
+ {
+ $this->resourceViews = $resourceViews;
+ }
+
+ public function getResourceViews()
+ {
+ return $this->resourceViews;
+ }
+}
+
+class Google_Service_Resourceviews_RegionViewsRemoveResourcesRequest extends Google_Collection
+{
+ public $resources;
+
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+
+ public function getResources()
+ {
+ return $this->resources;
+ }
+}
+
+class Google_Service_Resourceviews_ResourceView extends Google_Collection
+{
+ public $creationTime;
+ public $description;
+ public $id;
+ protected $labelsType = 'Google_Service_Resourceviews_Label';
+ protected $labelsDataType = 'array';
+ public $lastModified;
+ public $members;
+ public $name;
+ public $numMembers;
+ public $selfLink;
+
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setLabels($labels)
+ {
+ $this->labels = $labels;
+ }
+
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+
+ public function setLastModified($lastModified)
+ {
+ $this->lastModified = $lastModified;
+ }
+
+ public function getLastModified()
+ {
+ return $this->lastModified;
+ }
+
+ public function setMembers($members)
+ {
+ $this->members = $members;
+ }
+
+ public function getMembers()
+ {
+ return $this->members;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setNumMembers($numMembers)
+ {
+ $this->numMembers = $numMembers;
+ }
+
+ public function getNumMembers()
+ {
+ return $this->numMembers;
+ }
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Google_Service_Resourceviews_ZoneViewsAddResourcesRequest extends Google_Collection
+{
+ public $resources;
+
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+
+ public function getResources()
+ {
+ return $this->resources;
+ }
+}
+
+class Google_Service_Resourceviews_ZoneViewsInsertResponse extends Google_Model
+{
+ protected $resourceType = 'Google_Service_Resourceviews_ResourceView';
+ protected $resourceDataType = '';
+
+ public function setResource(Google_Service_Resourceviews_ResourceView $resource)
+ {
+ $this->resource = $resource;
+ }
+
+ public function getResource()
+ {
+ return $this->resource;
+ }
+}
+
+class Google_Service_Resourceviews_ZoneViewsListResourcesResponse extends Google_Collection
+{
+ public $members;
+ public $nextPageToken;
+
+ public function setMembers($members)
+ {
+ $this->members = $members;
+ }
+
+ public function getMembers()
+ {
+ return $this->members;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Resourceviews_ZoneViewsListResponse extends Google_Collection
+{
+ public $nextPageToken;
+ protected $resourceViewsType = 'Google_Service_Resourceviews_ResourceView';
+ protected $resourceViewsDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setResourceViews($resourceViews)
+ {
+ $this->resourceViews = $resourceViews;
+ }
+
+ public function getResourceViews()
+ {
+ return $this->resourceViews;
+ }
+}
+
+class Google_Service_Resourceviews_ZoneViewsRemoveResourcesRequest extends Google_Collection
+{
+ public $resources;
+
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+
+ public function getResources()
+ {
+ return $this->resources;
+ }
+}
From 2b8fc32209f22891273a7b74f593c92b062e013e Mon Sep 17 00:00:00 2001
From: Silvano Luciani - * The Google Replica Pool API provides groups of homogenous VMs. + * The Replica Pool API allows users to declaratively provision and manage groups of Google Compute Engine instances based on a common template. *
* ** For more information about this service, see the API - * Documentation + * Documentation *
* * @author Google, Inc. @@ -319,7 +319,7 @@ public function delete($projectName, $zone, $poolName, Google_Service_Replicapoo * @param string $zone * The zone for this replica pool. * @param string $poolName - * The name of the replica pool for which you want to get more information. + * The name of the replica pool to get more information about. * @param array $optParams Optional parameters. * @return Google_Service_Replicapool_Pool */ @@ -350,14 +350,14 @@ public function insert($projectName, $zone, Google_Service_Replicapool_Pool $pos * List all replica pools. (pools.listPools) * * @param string $projectName - * The project ID for this replica pool. + * The project ID for this request. * @param string $zone * The zone for this replica pool. * @param array $optParams Optional parameters. * * @opt_param string pageToken - * Specifies a nextPageToken returned by a previous list request. This token can be used to request - * the next page of results from a previous list request. + * Set this to the nextPageToken value returned by a previous list request to obtain the next page + * of results from the previous list request. * @opt_param int maxResults * Maximum count of results to be returned. Acceptable values are 0 to 100, inclusive. (Default: * 50) @@ -370,7 +370,9 @@ public function listPools($projectName, $zone, $optParams = array()) return $this->call('list', array($params), "Google_Service_Replicapool_PoolsListResponse"); } /** - * Resize a pool. (pools.resize) + * Resize a pool. This is an asynchronous operation, and multiple overlapping + * resize requests can be made. Replica Pools will use the information from the + * last resize request. (pools.resize) * * @param string $projectName * The project ID for this replica pool. @@ -384,8 +386,6 @@ public function listPools($projectName, $zone, $optParams = array()) * The desired number of replicas to resize to. If this number is larger than the existing number * of replicas, new replicas will be added. If the number is smaller, then existing replicas will * be deleted. - This is an asynchronous operation, and multiple overlapping resize requests can be - * made. Replica Pools will use the information from the last resize request. * @return Google_Service_Replicapool_Pool */ public function resize($projectName, $zone, $poolName, $optParams = array()) @@ -429,13 +429,13 @@ class Google_Service_Replicapool_Replicas_Resource extends Google_Service_Resour * Gets information about a specific replica. (replicas.get) * * @param string $projectName - * The name of project ID for this request. + * The project ID for this request. * @param string $zone * The zone where the replica lives. * @param string $poolName * The replica pool name for this request. * @param string $replicaName - * The name of the replica for which you want to get more information. + * The name of the replica to get more information about. * @param array $optParams Optional parameters. * @return Google_Service_Replicapool_Replica */ @@ -449,16 +449,16 @@ public function get($projectName, $zone, $poolName, $replicaName, $optParams = a * Lists all replicas in a pool. (replicas.listReplicas) * * @param string $projectName - * The name of project ID for this request. + * The project ID for this request. * @param string $zone - * The zone where the replica lives. + * The zone where the replica pool lives. * @param string $poolName * The replica pool name for this request. * @param array $optParams Optional parameters. * * @opt_param string pageToken - * Specifies a nextPageToken returned by a previous list request. This token can be used to request - * the next page of results from a previous list request. + * Set this to the nextPageToken value returned by a previous list request to obtain the next page + * of results from the previous list request. * @opt_param int maxResults * Maximum count of results to be returned. Acceptable values are 0 to 100, inclusive. (Default: * 50) @@ -474,7 +474,7 @@ public function listReplicas($projectName, $zone, $poolName, $optParams = array( * Restarts a replica in a pool. (replicas.restart) * * @param string $projectName - * The name of project ID for this request. + * The project ID for this request. * @param string $zone * The zone where the replica lives. * @param string $poolName From 5d16e0112692b2190437695a8c964c1fbcd7c681 Mon Sep 17 00:00:00 2001 From: Silvano Luciani
+ * $mirrorService = new Google_Service_Mirror(...);
+ * $settings = $mirrorService->settings;
+ *
+ */
+class Google_Service_Mirror_Settings_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets a single setting by ID. (settings.get)
+ *
+ * @param string $id
+ * The ID of the setting.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Mirror_Setting
+ */
+ public function get($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Mirror_Setting");
+ }
+}
+
/**
* The "subscriptions" collection of methods.
* Typical usage is:
@@ -1424,6 +1472,43 @@ public function getLevel()
}
}
+class Google_Service_Mirror_Setting extends Google_Model
+{
+ public $id;
+ public $kind;
+ public $value;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
class Google_Service_Mirror_Subscription extends Google_Collection
{
public $callbackUrl;
From f4d224a415a424edadf1f3e4028cc5105e469497 Mon Sep 17 00:00:00 2001
From: Silvano Luciani + * For more information about this service, see the API + * Documentation + *
+ * + * @author Google, Inc. + */ +class Google_Service_Genomics extends Google_Service +{ + /** Manage your data in Google Cloud Storage. */ + const DEVSTORAGE_READ_WRITE = "https://www.googleapis.com/auth/devstorage.read_write"; + /** View and manage Genomics data. */ + const GENOMICS = "https://www.googleapis.com/auth/genomics"; + + public $beacons; + public $callsets; + public $datasets; + public $experimental_jobs; + public $jobs; + public $jobs_deprecated; + public $reads; + public $readsets; + public $variants; + + + /** + * Constructs the internal representation of the Genomics service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->servicePath = 'genomics/v1beta/'; + $this->version = 'v1beta'; + $this->serviceName = 'genomics'; + + $this->beacons = new Google_Service_Genomics_Beacons_Resource( + $this, + $this->serviceName, + 'beacons', + array( + 'methods' => array( + 'get' => array( + 'path' => 'beacons/{datasetId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'datasetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'allele' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'contig' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'position' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->callsets = new Google_Service_Genomics_Callsets_Resource( + $this, + $this->serviceName, + 'callsets', + array( + 'methods' => array( + 'create' => array( + 'path' => 'callsets', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'delete' => array( + 'path' => 'callsets/{callsetId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'callsetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'callsets/{callsetId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'callsetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => 'callsets/{callsetId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'callsetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'search' => array( + 'path' => 'callsets/search', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'update' => array( + 'path' => 'callsets/{callsetId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'callsetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->datasets = new Google_Service_Genomics_Datasets_Resource( + $this, + $this->serviceName, + 'datasets', + array( + 'methods' => array( + 'create' => array( + 'path' => 'datasets', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'delete' => array( + 'path' => 'datasets/{datasetId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'datasetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'datasets/{datasetId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'datasetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'datasets', + 'httpMethod' => 'GET', + 'parameters' => array( + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projectId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'datasets/{datasetId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'datasetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'datasets/{datasetId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'datasetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->experimental_jobs = new Google_Service_Genomics_ExperimentalJobs_Resource( + $this, + $this->serviceName, + 'jobs', + array( + 'methods' => array( + 'create' => array( + 'path' => 'experimental/jobs/create', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->jobs = new Google_Service_Genomics_Jobs_Resource( + $this, + $this->serviceName, + 'jobs', + array( + 'methods' => array( + 'get' => array( + 'path' => 'jobs/{jobId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->jobs_deprecated = new Google_Service_Genomics_JobsDeprecated_Resource( + $this, + $this->serviceName, + 'deprecated', + array( + 'methods' => array( + 'get' => array( + 'path' => 'jobs/deprecated/{jobId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->reads = new Google_Service_Genomics_Reads_Resource( + $this, + $this->serviceName, + 'reads', + array( + 'methods' => array( + 'get' => array( + 'path' => 'reads/{readId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'readId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'search' => array( + 'path' => 'reads/search', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->readsets = new Google_Service_Genomics_Readsets_Resource( + $this, + $this->serviceName, + 'readsets', + array( + 'methods' => array( + 'create' => array( + 'path' => 'readsets', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'delete' => array( + 'path' => 'readsets/{readsetId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'readsetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'export' => array( + 'path' => 'readsets/export', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'get' => array( + 'path' => 'readsets/{readsetId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'readsetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'import' => array( + 'path' => 'readsets/import', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'patch' => array( + 'path' => 'readsets/{readsetId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'readsetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'search' => array( + 'path' => 'readsets/search', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'update' => array( + 'path' => 'readsets/{readsetId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'readsetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->variants = new Google_Service_Genomics_Variants_Resource( + $this, + $this->serviceName, + 'variants', + array( + 'methods' => array( + 'create' => array( + 'path' => 'variants', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'delete' => array( + 'path' => 'variants/{variantId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'variantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'export' => array( + 'path' => 'variants/export', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'get' => array( + 'path' => 'variants/{variantId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'variantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'import' => array( + 'path' => 'variants/import', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'patch' => array( + 'path' => 'variants/{variantId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'variantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'search' => array( + 'path' => 'variants/search', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'update' => array( + 'path' => 'variants/{variantId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'variantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "beacons" collection of methods. + * Typical usage is: + *
+ * $genomicsService = new Google_Service_Genomics(...);
+ * $beacons = $genomicsService->beacons;
+ *
+ */
+class Google_Service_Genomics_Beacons_Resource extends Google_Service_Resource
+{
+
+ /**
+ * This is an experimental API that provides a Global Alliance for Genomics and
+ * Health Beacon. It may change at any time. (beacons.get)
+ *
+ * @param string $datasetId
+ * The ID of the dataset to query over. It must be public. Private datasets will return an
+ * unauthorized exception.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string allele
+ * Required. The allele to look for ('A', 'C', 'G' or 'T').
+ * @opt_param string contig
+ * Required. The contig to query over.
+ * @opt_param string position
+ * Required. The 1-based position to query at.
+ * @return Google_Service_Genomics_Beacon
+ */
+ public function get($datasetId, $optParams = array())
+ {
+ $params = array('datasetId' => $datasetId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Genomics_Beacon");
+ }
+}
+
+/**
+ * The "callsets" collection of methods.
+ * Typical usage is:
+ *
+ * $genomicsService = new Google_Service_Genomics(...);
+ * $callsets = $genomicsService->callsets;
+ *
+ */
+class Google_Service_Genomics_Callsets_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Creates a new callset. (callsets.create)
+ *
+ * @param Google_Callset $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_Callset
+ */
+ public function create(Google_Service_Genomics_Callset $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Genomics_Callset");
+ }
+ /**
+ * Deletes a callset. (callsets.delete)
+ *
+ * @param string $callsetId
+ * The ID of the callset to be deleted.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($callsetId, $optParams = array())
+ {
+ $params = array('callsetId' => $callsetId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Gets a callset by ID. (callsets.get)
+ *
+ * @param string $callsetId
+ * The ID of the callset.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_Callset
+ */
+ public function get($callsetId, $optParams = array())
+ {
+ $params = array('callsetId' => $callsetId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Genomics_Callset");
+ }
+ /**
+ * Updates a callset. This method supports patch semantics. (callsets.patch)
+ *
+ * @param string $callsetId
+ * The ID of the callset to be updated.
+ * @param Google_Callset $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_Callset
+ */
+ public function patch($callsetId, Google_Service_Genomics_Callset $postBody, $optParams = array())
+ {
+ $params = array('callsetId' => $callsetId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Genomics_Callset");
+ }
+ /**
+ * Gets a list of callsets matching the criteria. (callsets.search)
+ *
+ * @param Google_SearchCallsetsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_SearchCallsetsResponse
+ */
+ public function search(Google_Service_Genomics_SearchCallsetsRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('search', array($params), "Google_Service_Genomics_SearchCallsetsResponse");
+ }
+ /**
+ * Updates a callset. (callsets.update)
+ *
+ * @param string $callsetId
+ * The ID of the callset to be updated.
+ * @param Google_Callset $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_Callset
+ */
+ public function update($callsetId, Google_Service_Genomics_Callset $postBody, $optParams = array())
+ {
+ $params = array('callsetId' => $callsetId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Genomics_Callset");
+ }
+}
+
+/**
+ * The "datasets" collection of methods.
+ * Typical usage is:
+ *
+ * $genomicsService = new Google_Service_Genomics(...);
+ * $datasets = $genomicsService->datasets;
+ *
+ */
+class Google_Service_Genomics_Datasets_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Creates a new dataset. (datasets.create)
+ *
+ * @param Google_Dataset $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_Dataset
+ */
+ public function create(Google_Service_Genomics_Dataset $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Genomics_Dataset");
+ }
+ /**
+ * Deletes a dataset. (datasets.delete)
+ *
+ * @param string $datasetId
+ * The ID of the dataset to be deleted.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($datasetId, $optParams = array())
+ {
+ $params = array('datasetId' => $datasetId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Gets a dataset by ID. (datasets.get)
+ *
+ * @param string $datasetId
+ * The ID of the dataset.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_Dataset
+ */
+ public function get($datasetId, $optParams = array())
+ {
+ $params = array('datasetId' => $datasetId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Genomics_Dataset");
+ }
+ /**
+ * Lists all datasets. (datasets.listDatasets)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The continuation token, which is used to page through large result sets. To get the next page of
+ * results, set this parameter to the value of "nextPageToken" from the previous response.
+ * @opt_param string projectId
+ * Only return datasets which belong to this Google Developers Console project.
+ * @return Google_Service_Genomics_ListDatasetsResponse
+ */
+ public function listDatasets($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Genomics_ListDatasetsResponse");
+ }
+ /**
+ * Updates a dataset. This method supports patch semantics. (datasets.patch)
+ *
+ * @param string $datasetId
+ * The ID of the dataset to be updated.
+ * @param Google_Dataset $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_Dataset
+ */
+ public function patch($datasetId, Google_Service_Genomics_Dataset $postBody, $optParams = array())
+ {
+ $params = array('datasetId' => $datasetId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Genomics_Dataset");
+ }
+ /**
+ * Updates a dataset. (datasets.update)
+ *
+ * @param string $datasetId
+ * The ID of the dataset to be updated.
+ * @param Google_Dataset $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_Dataset
+ */
+ public function update($datasetId, Google_Service_Genomics_Dataset $postBody, $optParams = array())
+ {
+ $params = array('datasetId' => $datasetId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Genomics_Dataset");
+ }
+}
+
+/**
+ * The "experimental" collection of methods.
+ * Typical usage is:
+ *
+ * $genomicsService = new Google_Service_Genomics(...);
+ * $experimental = $genomicsService->experimental;
+ *
+ */
+class Google_Service_Genomics_Experimental_Resource extends Google_Service_Resource
+{
+
+}
+
+/**
+ * The "jobs" collection of methods.
+ * Typical usage is:
+ *
+ * $genomicsService = new Google_Service_Genomics(...);
+ * $jobs = $genomicsService->jobs;
+ *
+ */
+class Google_Service_Genomics_ExperimentalJobs_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Creates and asynchronously runs an ad-hoc job. NOTE: This is an experimental
+ * call and may vanish or change without warning. (jobs.create)
+ *
+ * @param Google_ExperimentalCreateJobRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_ExperimentalCreateJobResponse
+ */
+ public function create(Google_Service_Genomics_ExperimentalCreateJobRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Genomics_ExperimentalCreateJobResponse");
+ }
+}
+
+/**
+ * The "jobs" collection of methods.
+ * Typical usage is:
+ *
+ * $genomicsService = new Google_Service_Genomics(...);
+ * $jobs = $genomicsService->jobs;
+ *
+ */
+class Google_Service_Genomics_Jobs_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets a job by ID. (jobs.get)
+ *
+ * @param string $jobId
+ * The ID of the job.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_Job
+ */
+ public function get($jobId, $optParams = array())
+ {
+ $params = array('jobId' => $jobId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Genomics_Job");
+ }
+}
+
+/**
+ * The "deprecated" collection of methods.
+ * Typical usage is:
+ *
+ * $genomicsService = new Google_Service_Genomics(...);
+ * $deprecated = $genomicsService->deprecated;
+ *
+ */
+class Google_Service_Genomics_JobsDeprecated_Resource extends Google_Service_Resource
+{
+
+ /**
+ * TODO(garrick): Remove in follow-up CL. Gets a job by ID. (deprecated.get)
+ *
+ * @param string $jobId
+ * The ID of the job.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_Job
+ */
+ public function get($jobId, $optParams = array())
+ {
+ $params = array('jobId' => $jobId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Genomics_Job");
+ }
+}
+
+/**
+ * The "reads" collection of methods.
+ * Typical usage is:
+ *
+ * $genomicsService = new Google_Service_Genomics(...);
+ * $reads = $genomicsService->reads;
+ *
+ */
+class Google_Service_Genomics_Reads_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets a read by ID. (reads.get)
+ *
+ * @param string $readId
+ * The ID of the read.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_Read
+ */
+ public function get($readId, $optParams = array())
+ {
+ $params = array('readId' => $readId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Genomics_Read");
+ }
+ /**
+ * Gets a list of reads matching the criteria. (reads.search)
+ *
+ * @param Google_SearchReadsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_SearchReadsResponse
+ */
+ public function search(Google_Service_Genomics_SearchReadsRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('search', array($params), "Google_Service_Genomics_SearchReadsResponse");
+ }
+}
+
+/**
+ * The "readsets" collection of methods.
+ * Typical usage is:
+ *
+ * $genomicsService = new Google_Service_Genomics(...);
+ * $readsets = $genomicsService->readsets;
+ *
+ */
+class Google_Service_Genomics_Readsets_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Creates a new readset. (readsets.create)
+ *
+ * @param Google_Readset $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_Readset
+ */
+ public function create(Google_Service_Genomics_Readset $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Genomics_Readset");
+ }
+ /**
+ * Deletes a readset. (readsets.delete)
+ *
+ * @param string $readsetId
+ * The ID of the readset to be deleted.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($readsetId, $optParams = array())
+ {
+ $params = array('readsetId' => $readsetId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Exports readsets to a file. (readsets.export)
+ *
+ * @param Google_ExportReadsetsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_ExportReadsetsResponse
+ */
+ public function export(Google_Service_Genomics_ExportReadsetsRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('export', array($params), "Google_Service_Genomics_ExportReadsetsResponse");
+ }
+ /**
+ * Gets a readset by ID. (readsets.get)
+ *
+ * @param string $readsetId
+ * The ID of the readset.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_Readset
+ */
+ public function get($readsetId, $optParams = array())
+ {
+ $params = array('readsetId' => $readsetId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Genomics_Readset");
+ }
+ /**
+ * Creates readsets by asynchronously importing the provided information.
+ * (readsets.import)
+ *
+ * @param Google_ImportReadsetsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_ImportReadsetsResponse
+ */
+ public function import(Google_Service_Genomics_ImportReadsetsRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('import', array($params), "Google_Service_Genomics_ImportReadsetsResponse");
+ }
+ /**
+ * Updates a readset. This method supports patch semantics. (readsets.patch)
+ *
+ * @param string $readsetId
+ * The ID of the readset to be updated.
+ * @param Google_Readset $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_Readset
+ */
+ public function patch($readsetId, Google_Service_Genomics_Readset $postBody, $optParams = array())
+ {
+ $params = array('readsetId' => $readsetId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Genomics_Readset");
+ }
+ /**
+ * Gets a list of readsets matching the criteria. (readsets.search)
+ *
+ * @param Google_SearchReadsetsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_SearchReadsetsResponse
+ */
+ public function search(Google_Service_Genomics_SearchReadsetsRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('search', array($params), "Google_Service_Genomics_SearchReadsetsResponse");
+ }
+ /**
+ * Updates a readset. (readsets.update)
+ *
+ * @param string $readsetId
+ * The ID of the readset to be updated.
+ * @param Google_Readset $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_Readset
+ */
+ public function update($readsetId, Google_Service_Genomics_Readset $postBody, $optParams = array())
+ {
+ $params = array('readsetId' => $readsetId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Genomics_Readset");
+ }
+}
+
+/**
+ * The "variants" collection of methods.
+ * Typical usage is:
+ *
+ * $genomicsService = new Google_Service_Genomics(...);
+ * $variants = $genomicsService->variants;
+ *
+ */
+class Google_Service_Genomics_Variants_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Creates a new variant. (variants.create)
+ *
+ * @param Google_Variant $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_Variant
+ */
+ public function create(Google_Service_Genomics_Variant $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Genomics_Variant");
+ }
+ /**
+ * Deletes a variant. (variants.delete)
+ *
+ * @param string $variantId
+ * The ID of the variant to be deleted.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($variantId, $optParams = array())
+ {
+ $params = array('variantId' => $variantId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Exports variant data to an external destination. (variants.export)
+ *
+ * @param Google_ExportVariantsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_ExportVariantsResponse
+ */
+ public function export(Google_Service_Genomics_ExportVariantsRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('export', array($params), "Google_Service_Genomics_ExportVariantsResponse");
+ }
+ /**
+ * Gets a variant by ID. (variants.get)
+ *
+ * @param string $variantId
+ * The ID of the variant.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_Variant
+ */
+ public function get($variantId, $optParams = array())
+ {
+ $params = array('variantId' => $variantId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Genomics_Variant");
+ }
+ /**
+ * Creates variant data by asynchronously importing the provided information.
+ * (variants.import)
+ *
+ * @param Google_ImportVariantsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_ImportVariantsResponse
+ */
+ public function import(Google_Service_Genomics_ImportVariantsRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('import', array($params), "Google_Service_Genomics_ImportVariantsResponse");
+ }
+ /**
+ * Updates a variant. This method supports patch semantics. (variants.patch)
+ *
+ * @param string $variantId
+ * The ID of the variant to be updated..
+ * @param Google_Variant $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_Variant
+ */
+ public function patch($variantId, Google_Service_Genomics_Variant $postBody, $optParams = array())
+ {
+ $params = array('variantId' => $variantId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Genomics_Variant");
+ }
+ /**
+ * Gets a list of variants matching the criteria. (variants.search)
+ *
+ * @param Google_SearchVariantsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_SearchVariantsResponse
+ */
+ public function search(Google_Service_Genomics_SearchVariantsRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('search', array($params), "Google_Service_Genomics_SearchVariantsResponse");
+ }
+ /**
+ * Updates a variant. (variants.update)
+ *
+ * @param string $variantId
+ * The ID of the variant to be updated..
+ * @param Google_Variant $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_Variant
+ */
+ public function update($variantId, Google_Service_Genomics_Variant $postBody, $optParams = array())
+ {
+ $params = array('variantId' => $variantId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Genomics_Variant");
+ }
+}
+
+
+
+
+class Google_Service_Genomics_Beacon extends Google_Model
+{
+ public $exists;
+
+ public function setExists($exists)
+ {
+ $this->exists = $exists;
+ }
+
+ public function getExists()
+ {
+ return $this->exists;
+ }
+}
+
+class Google_Service_Genomics_Call extends Google_Collection
+{
+ public $callsetId;
+ public $callsetName;
+ public $genotype;
+ public $genotypeLikelihood;
+ public $info;
+ public $phaseset;
+
+ public function setCallsetId($callsetId)
+ {
+ $this->callsetId = $callsetId;
+ }
+
+ public function getCallsetId()
+ {
+ return $this->callsetId;
+ }
+
+ public function setCallsetName($callsetName)
+ {
+ $this->callsetName = $callsetName;
+ }
+
+ public function getCallsetName()
+ {
+ return $this->callsetName;
+ }
+
+ public function setGenotype($genotype)
+ {
+ $this->genotype = $genotype;
+ }
+
+ public function getGenotype()
+ {
+ return $this->genotype;
+ }
+
+ public function setGenotypeLikelihood($genotypeLikelihood)
+ {
+ $this->genotypeLikelihood = $genotypeLikelihood;
+ }
+
+ public function getGenotypeLikelihood()
+ {
+ return $this->genotypeLikelihood;
+ }
+
+ public function setInfo($info)
+ {
+ $this->info = $info;
+ }
+
+ public function getInfo()
+ {
+ return $this->info;
+ }
+
+ public function setPhaseset($phaseset)
+ {
+ $this->phaseset = $phaseset;
+ }
+
+ public function getPhaseset()
+ {
+ return $this->phaseset;
+ }
+}
+
+class Google_Service_Genomics_Callset extends Google_Model
+{
+ public $created;
+ public $datasetId;
+ public $id;
+ public $info;
+ public $name;
+
+ public function setCreated($created)
+ {
+ $this->created = $created;
+ }
+
+ public function getCreated()
+ {
+ return $this->created;
+ }
+
+ public function setDatasetId($datasetId)
+ {
+ $this->datasetId = $datasetId;
+ }
+
+ public function getDatasetId()
+ {
+ return $this->datasetId;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setInfo($info)
+ {
+ $this->info = $info;
+ }
+
+ public function getInfo()
+ {
+ return $this->info;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Google_Service_Genomics_Dataset extends Google_Model
+{
+ public $id;
+ public $isPublic;
+ public $projectId;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setIsPublic($isPublic)
+ {
+ $this->isPublic = $isPublic;
+ }
+
+ public function getIsPublic()
+ {
+ return $this->isPublic;
+ }
+
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+}
+
+class Google_Service_Genomics_ExperimentalCreateJobRequest extends Google_Collection
+{
+ public $align;
+ public $callVariants;
+ public $gcsOutputPath;
+ public $projectId;
+ public $sourceUris;
+
+ public function setAlign($align)
+ {
+ $this->align = $align;
+ }
+
+ public function getAlign()
+ {
+ return $this->align;
+ }
+
+ public function setCallVariants($callVariants)
+ {
+ $this->callVariants = $callVariants;
+ }
+
+ public function getCallVariants()
+ {
+ return $this->callVariants;
+ }
+
+ public function setGcsOutputPath($gcsOutputPath)
+ {
+ $this->gcsOutputPath = $gcsOutputPath;
+ }
+
+ public function getGcsOutputPath()
+ {
+ return $this->gcsOutputPath;
+ }
+
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+
+ public function setSourceUris($sourceUris)
+ {
+ $this->sourceUris = $sourceUris;
+ }
+
+ public function getSourceUris()
+ {
+ return $this->sourceUris;
+ }
+}
+
+class Google_Service_Genomics_ExperimentalCreateJobResponse extends Google_Model
+{
+ public $jobId;
+
+ public function setJobId($jobId)
+ {
+ $this->jobId = $jobId;
+ }
+
+ public function getJobId()
+ {
+ return $this->jobId;
+ }
+}
+
+class Google_Service_Genomics_ExportReadsetsRequest extends Google_Collection
+{
+ public $exportUri;
+ public $projectId;
+ public $readsetIds;
+
+ public function setExportUri($exportUri)
+ {
+ $this->exportUri = $exportUri;
+ }
+
+ public function getExportUri()
+ {
+ return $this->exportUri;
+ }
+
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+
+ public function setReadsetIds($readsetIds)
+ {
+ $this->readsetIds = $readsetIds;
+ }
+
+ public function getReadsetIds()
+ {
+ return $this->readsetIds;
+ }
+}
+
+class Google_Service_Genomics_ExportReadsetsResponse extends Google_Model
+{
+ public $exportId;
+
+ public function setExportId($exportId)
+ {
+ $this->exportId = $exportId;
+ }
+
+ public function getExportId()
+ {
+ return $this->exportId;
+ }
+}
+
+class Google_Service_Genomics_ExportVariantsRequest extends Google_Collection
+{
+ public $callsetIds;
+ public $datasetIds;
+ public $exportUri;
+ public $format;
+ public $projectId;
+
+ public function setCallsetIds($callsetIds)
+ {
+ $this->callsetIds = $callsetIds;
+ }
+
+ public function getCallsetIds()
+ {
+ return $this->callsetIds;
+ }
+
+ public function setDatasetIds($datasetIds)
+ {
+ $this->datasetIds = $datasetIds;
+ }
+
+ public function getDatasetIds()
+ {
+ return $this->datasetIds;
+ }
+
+ public function setExportUri($exportUri)
+ {
+ $this->exportUri = $exportUri;
+ }
+
+ public function getExportUri()
+ {
+ return $this->exportUri;
+ }
+
+ public function setFormat($format)
+ {
+ $this->format = $format;
+ }
+
+ public function getFormat()
+ {
+ return $this->format;
+ }
+
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+}
+
+class Google_Service_Genomics_ExportVariantsResponse extends Google_Model
+{
+ public $jobId;
+
+ public function setJobId($jobId)
+ {
+ $this->jobId = $jobId;
+ }
+
+ public function getJobId()
+ {
+ return $this->jobId;
+ }
+}
+
+class Google_Service_Genomics_Header extends Google_Model
+{
+ public $sortingOrder;
+ public $version;
+
+ public function setSortingOrder($sortingOrder)
+ {
+ $this->sortingOrder = $sortingOrder;
+ }
+
+ public function getSortingOrder()
+ {
+ return $this->sortingOrder;
+ }
+
+ public function setVersion($version)
+ {
+ $this->version = $version;
+ }
+
+ public function getVersion()
+ {
+ return $this->version;
+ }
+}
+
+class Google_Service_Genomics_HeaderSection extends Google_Collection
+{
+ public $comments;
+ public $fileUri;
+ protected $headersType = 'Google_Service_Genomics_Header';
+ protected $headersDataType = 'array';
+ protected $programsType = 'Google_Service_Genomics_Program';
+ protected $programsDataType = 'array';
+ protected $readGroupsType = 'Google_Service_Genomics_ReadGroup';
+ protected $readGroupsDataType = 'array';
+ protected $refSequencesType = 'Google_Service_Genomics_ReferenceSequence';
+ protected $refSequencesDataType = 'array';
+
+ public function setComments($comments)
+ {
+ $this->comments = $comments;
+ }
+
+ public function getComments()
+ {
+ return $this->comments;
+ }
+
+ public function setFileUri($fileUri)
+ {
+ $this->fileUri = $fileUri;
+ }
+
+ public function getFileUri()
+ {
+ return $this->fileUri;
+ }
+
+ public function setHeaders($headers)
+ {
+ $this->headers = $headers;
+ }
+
+ public function getHeaders()
+ {
+ return $this->headers;
+ }
+
+ public function setPrograms($programs)
+ {
+ $this->programs = $programs;
+ }
+
+ public function getPrograms()
+ {
+ return $this->programs;
+ }
+
+ public function setReadGroups($readGroups)
+ {
+ $this->readGroups = $readGroups;
+ }
+
+ public function getReadGroups()
+ {
+ return $this->readGroups;
+ }
+
+ public function setRefSequences($refSequences)
+ {
+ $this->refSequences = $refSequences;
+ }
+
+ public function getRefSequences()
+ {
+ return $this->refSequences;
+ }
+}
+
+class Google_Service_Genomics_ImportReadsetsRequest extends Google_Collection
+{
+ public $datasetId;
+ public $sourceUris;
+
+ public function setDatasetId($datasetId)
+ {
+ $this->datasetId = $datasetId;
+ }
+
+ public function getDatasetId()
+ {
+ return $this->datasetId;
+ }
+
+ public function setSourceUris($sourceUris)
+ {
+ $this->sourceUris = $sourceUris;
+ }
+
+ public function getSourceUris()
+ {
+ return $this->sourceUris;
+ }
+}
+
+class Google_Service_Genomics_ImportReadsetsResponse extends Google_Model
+{
+ public $jobId;
+
+ public function setJobId($jobId)
+ {
+ $this->jobId = $jobId;
+ }
+
+ public function getJobId()
+ {
+ return $this->jobId;
+ }
+}
+
+class Google_Service_Genomics_ImportVariantsRequest extends Google_Collection
+{
+ public $datasetId;
+ public $sourceUris;
+
+ public function setDatasetId($datasetId)
+ {
+ $this->datasetId = $datasetId;
+ }
+
+ public function getDatasetId()
+ {
+ return $this->datasetId;
+ }
+
+ public function setSourceUris($sourceUris)
+ {
+ $this->sourceUris = $sourceUris;
+ }
+
+ public function getSourceUris()
+ {
+ return $this->sourceUris;
+ }
+}
+
+class Google_Service_Genomics_ImportVariantsResponse extends Google_Model
+{
+ public $jobId;
+
+ public function setJobId($jobId)
+ {
+ $this->jobId = $jobId;
+ }
+
+ public function getJobId()
+ {
+ return $this->jobId;
+ }
+}
+
+class Google_Service_Genomics_Job extends Google_Collection
+{
+ public $description;
+ public $errors;
+ public $id;
+ public $importedIds;
+ public $projectId;
+ public $status;
+ public $warnings;
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setImportedIds($importedIds)
+ {
+ $this->importedIds = $importedIds;
+ }
+
+ public function getImportedIds()
+ {
+ return $this->importedIds;
+ }
+
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+
+ public function getStatus()
+ {
+ return $this->status;
+ }
+
+ public function setWarnings($warnings)
+ {
+ $this->warnings = $warnings;
+ }
+
+ public function getWarnings()
+ {
+ return $this->warnings;
+ }
+}
+
+class Google_Service_Genomics_ListDatasetsResponse extends Google_Collection
+{
+ protected $datasetsType = 'Google_Service_Genomics_Dataset';
+ protected $datasetsDataType = 'array';
+ public $nextPageToken;
+
+ public function setDatasets($datasets)
+ {
+ $this->datasets = $datasets;
+ }
+
+ public function getDatasets()
+ {
+ return $this->datasets;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Genomics_Program extends Google_Model
+{
+ public $commandLine;
+ public $id;
+ public $name;
+ public $prevProgramId;
+ public $version;
+
+ public function setCommandLine($commandLine)
+ {
+ $this->commandLine = $commandLine;
+ }
+
+ public function getCommandLine()
+ {
+ return $this->commandLine;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setPrevProgramId($prevProgramId)
+ {
+ $this->prevProgramId = $prevProgramId;
+ }
+
+ public function getPrevProgramId()
+ {
+ return $this->prevProgramId;
+ }
+
+ public function setVersion($version)
+ {
+ $this->version = $version;
+ }
+
+ public function getVersion()
+ {
+ return $this->version;
+ }
+}
+
+class Google_Service_Genomics_Read extends Google_Model
+{
+ public $alignedBases;
+ public $baseQuality;
+ public $cigar;
+ public $flags;
+ public $id;
+ public $mappingQuality;
+ public $matePosition;
+ public $mateReferenceSequenceName;
+ public $name;
+ public $originalBases;
+ public $position;
+ public $readsetId;
+ public $referenceSequenceName;
+ public $tags;
+ public $templateLength;
+
+ public function setAlignedBases($alignedBases)
+ {
+ $this->alignedBases = $alignedBases;
+ }
+
+ public function getAlignedBases()
+ {
+ return $this->alignedBases;
+ }
+
+ public function setBaseQuality($baseQuality)
+ {
+ $this->baseQuality = $baseQuality;
+ }
+
+ public function getBaseQuality()
+ {
+ return $this->baseQuality;
+ }
+
+ public function setCigar($cigar)
+ {
+ $this->cigar = $cigar;
+ }
+
+ public function getCigar()
+ {
+ return $this->cigar;
+ }
+
+ public function setFlags($flags)
+ {
+ $this->flags = $flags;
+ }
+
+ public function getFlags()
+ {
+ return $this->flags;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setMappingQuality($mappingQuality)
+ {
+ $this->mappingQuality = $mappingQuality;
+ }
+
+ public function getMappingQuality()
+ {
+ return $this->mappingQuality;
+ }
+
+ public function setMatePosition($matePosition)
+ {
+ $this->matePosition = $matePosition;
+ }
+
+ public function getMatePosition()
+ {
+ return $this->matePosition;
+ }
+
+ public function setMateReferenceSequenceName($mateReferenceSequenceName)
+ {
+ $this->mateReferenceSequenceName = $mateReferenceSequenceName;
+ }
+
+ public function getMateReferenceSequenceName()
+ {
+ return $this->mateReferenceSequenceName;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setOriginalBases($originalBases)
+ {
+ $this->originalBases = $originalBases;
+ }
+
+ public function getOriginalBases()
+ {
+ return $this->originalBases;
+ }
+
+ public function setPosition($position)
+ {
+ $this->position = $position;
+ }
+
+ public function getPosition()
+ {
+ return $this->position;
+ }
+
+ public function setReadsetId($readsetId)
+ {
+ $this->readsetId = $readsetId;
+ }
+
+ public function getReadsetId()
+ {
+ return $this->readsetId;
+ }
+
+ public function setReferenceSequenceName($referenceSequenceName)
+ {
+ $this->referenceSequenceName = $referenceSequenceName;
+ }
+
+ public function getReferenceSequenceName()
+ {
+ return $this->referenceSequenceName;
+ }
+
+ public function setTags($tags)
+ {
+ $this->tags = $tags;
+ }
+
+ public function getTags()
+ {
+ return $this->tags;
+ }
+
+ public function setTemplateLength($templateLength)
+ {
+ $this->templateLength = $templateLength;
+ }
+
+ public function getTemplateLength()
+ {
+ return $this->templateLength;
+ }
+}
+
+class Google_Service_Genomics_ReadGroup extends Google_Model
+{
+ public $date;
+ public $description;
+ public $flowOrder;
+ public $id;
+ public $keySequence;
+ public $library;
+ public $platformUnit;
+ public $predictedInsertSize;
+ public $processingProgram;
+ public $sample;
+ public $sequencingCenterName;
+ public $sequencingTechnology;
+
+ public function setDate($date)
+ {
+ $this->date = $date;
+ }
+
+ public function getDate()
+ {
+ return $this->date;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setFlowOrder($flowOrder)
+ {
+ $this->flowOrder = $flowOrder;
+ }
+
+ public function getFlowOrder()
+ {
+ return $this->flowOrder;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKeySequence($keySequence)
+ {
+ $this->keySequence = $keySequence;
+ }
+
+ public function getKeySequence()
+ {
+ return $this->keySequence;
+ }
+
+ public function setLibrary($library)
+ {
+ $this->library = $library;
+ }
+
+ public function getLibrary()
+ {
+ return $this->library;
+ }
+
+ public function setPlatformUnit($platformUnit)
+ {
+ $this->platformUnit = $platformUnit;
+ }
+
+ public function getPlatformUnit()
+ {
+ return $this->platformUnit;
+ }
+
+ public function setPredictedInsertSize($predictedInsertSize)
+ {
+ $this->predictedInsertSize = $predictedInsertSize;
+ }
+
+ public function getPredictedInsertSize()
+ {
+ return $this->predictedInsertSize;
+ }
+
+ public function setProcessingProgram($processingProgram)
+ {
+ $this->processingProgram = $processingProgram;
+ }
+
+ public function getProcessingProgram()
+ {
+ return $this->processingProgram;
+ }
+
+ public function setSample($sample)
+ {
+ $this->sample = $sample;
+ }
+
+ public function getSample()
+ {
+ return $this->sample;
+ }
+
+ public function setSequencingCenterName($sequencingCenterName)
+ {
+ $this->sequencingCenterName = $sequencingCenterName;
+ }
+
+ public function getSequencingCenterName()
+ {
+ return $this->sequencingCenterName;
+ }
+
+ public function setSequencingTechnology($sequencingTechnology)
+ {
+ $this->sequencingTechnology = $sequencingTechnology;
+ }
+
+ public function getSequencingTechnology()
+ {
+ return $this->sequencingTechnology;
+ }
+}
+
+class Google_Service_Genomics_Readset extends Google_Collection
+{
+ public $created;
+ public $datasetId;
+ protected $fileDataType = 'Google_Service_Genomics_HeaderSection';
+ protected $fileDataDataType = 'array';
+ public $id;
+ public $name;
+ public $readCount;
+
+ public function setCreated($created)
+ {
+ $this->created = $created;
+ }
+
+ public function getCreated()
+ {
+ return $this->created;
+ }
+
+ public function setDatasetId($datasetId)
+ {
+ $this->datasetId = $datasetId;
+ }
+
+ public function getDatasetId()
+ {
+ return $this->datasetId;
+ }
+
+ public function setFileData($fileData)
+ {
+ $this->fileData = $fileData;
+ }
+
+ public function getFileData()
+ {
+ return $this->fileData;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setReadCount($readCount)
+ {
+ $this->readCount = $readCount;
+ }
+
+ public function getReadCount()
+ {
+ return $this->readCount;
+ }
+}
+
+class Google_Service_Genomics_ReferenceSequence extends Google_Model
+{
+ public $assemblyId;
+ public $length;
+ public $md5Checksum;
+ public $name;
+ public $species;
+ public $uri;
+
+ public function setAssemblyId($assemblyId)
+ {
+ $this->assemblyId = $assemblyId;
+ }
+
+ public function getAssemblyId()
+ {
+ return $this->assemblyId;
+ }
+
+ public function setLength($length)
+ {
+ $this->length = $length;
+ }
+
+ public function getLength()
+ {
+ return $this->length;
+ }
+
+ public function setMd5Checksum($md5Checksum)
+ {
+ $this->md5Checksum = $md5Checksum;
+ }
+
+ public function getMd5Checksum()
+ {
+ return $this->md5Checksum;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setSpecies($species)
+ {
+ $this->species = $species;
+ }
+
+ public function getSpecies()
+ {
+ return $this->species;
+ }
+
+ public function setUri($uri)
+ {
+ $this->uri = $uri;
+ }
+
+ public function getUri()
+ {
+ return $this->uri;
+ }
+}
+
+class Google_Service_Genomics_SearchCallsetsRequest extends Google_Collection
+{
+ public $datasetIds;
+ public $name;
+ public $pageToken;
+
+ public function setDatasetIds($datasetIds)
+ {
+ $this->datasetIds = $datasetIds;
+ }
+
+ public function getDatasetIds()
+ {
+ return $this->datasetIds;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setPageToken($pageToken)
+ {
+ $this->pageToken = $pageToken;
+ }
+
+ public function getPageToken()
+ {
+ return $this->pageToken;
+ }
+}
+
+class Google_Service_Genomics_SearchCallsetsResponse extends Google_Collection
+{
+ protected $callsetsType = 'Google_Service_Genomics_Callset';
+ protected $callsetsDataType = 'array';
+ public $nextPageToken;
+
+ public function setCallsets($callsets)
+ {
+ $this->callsets = $callsets;
+ }
+
+ public function getCallsets()
+ {
+ return $this->callsets;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Genomics_SearchReadsRequest extends Google_Collection
+{
+ public $pageToken;
+ public $readsetIds;
+ public $sequenceEnd;
+ public $sequenceName;
+ public $sequenceStart;
+
+ public function setPageToken($pageToken)
+ {
+ $this->pageToken = $pageToken;
+ }
+
+ public function getPageToken()
+ {
+ return $this->pageToken;
+ }
+
+ public function setReadsetIds($readsetIds)
+ {
+ $this->readsetIds = $readsetIds;
+ }
+
+ public function getReadsetIds()
+ {
+ return $this->readsetIds;
+ }
+
+ public function setSequenceEnd($sequenceEnd)
+ {
+ $this->sequenceEnd = $sequenceEnd;
+ }
+
+ public function getSequenceEnd()
+ {
+ return $this->sequenceEnd;
+ }
+
+ public function setSequenceName($sequenceName)
+ {
+ $this->sequenceName = $sequenceName;
+ }
+
+ public function getSequenceName()
+ {
+ return $this->sequenceName;
+ }
+
+ public function setSequenceStart($sequenceStart)
+ {
+ $this->sequenceStart = $sequenceStart;
+ }
+
+ public function getSequenceStart()
+ {
+ return $this->sequenceStart;
+ }
+}
+
+class Google_Service_Genomics_SearchReadsResponse extends Google_Collection
+{
+ public $nextPageToken;
+ protected $readsType = 'Google_Service_Genomics_Read';
+ protected $readsDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setReads($reads)
+ {
+ $this->reads = $reads;
+ }
+
+ public function getReads()
+ {
+ return $this->reads;
+ }
+}
+
+class Google_Service_Genomics_SearchReadsetsRequest extends Google_Collection
+{
+ public $datasetIds;
+ public $name;
+ public $pageToken;
+
+ public function setDatasetIds($datasetIds)
+ {
+ $this->datasetIds = $datasetIds;
+ }
+
+ public function getDatasetIds()
+ {
+ return $this->datasetIds;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setPageToken($pageToken)
+ {
+ $this->pageToken = $pageToken;
+ }
+
+ public function getPageToken()
+ {
+ return $this->pageToken;
+ }
+}
+
+class Google_Service_Genomics_SearchReadsetsResponse extends Google_Collection
+{
+ public $nextPageToken;
+ protected $readsetsType = 'Google_Service_Genomics_Readset';
+ protected $readsetsDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setReadsets($readsets)
+ {
+ $this->readsets = $readsets;
+ }
+
+ public function getReadsets()
+ {
+ return $this->readsets;
+ }
+}
+
+class Google_Service_Genomics_SearchVariantsRequest extends Google_Collection
+{
+ public $callsetIds;
+ public $callsetNames;
+ public $contig;
+ public $datasetId;
+ public $endPosition;
+ public $maxResults;
+ public $pageToken;
+ public $startPosition;
+ public $variantName;
+
+ public function setCallsetIds($callsetIds)
+ {
+ $this->callsetIds = $callsetIds;
+ }
+
+ public function getCallsetIds()
+ {
+ return $this->callsetIds;
+ }
+
+ public function setCallsetNames($callsetNames)
+ {
+ $this->callsetNames = $callsetNames;
+ }
+
+ public function getCallsetNames()
+ {
+ return $this->callsetNames;
+ }
+
+ public function setContig($contig)
+ {
+ $this->contig = $contig;
+ }
+
+ public function getContig()
+ {
+ return $this->contig;
+ }
+
+ public function setDatasetId($datasetId)
+ {
+ $this->datasetId = $datasetId;
+ }
+
+ public function getDatasetId()
+ {
+ return $this->datasetId;
+ }
+
+ public function setEndPosition($endPosition)
+ {
+ $this->endPosition = $endPosition;
+ }
+
+ public function getEndPosition()
+ {
+ return $this->endPosition;
+ }
+
+ public function setMaxResults($maxResults)
+ {
+ $this->maxResults = $maxResults;
+ }
+
+ public function getMaxResults()
+ {
+ return $this->maxResults;
+ }
+
+ public function setPageToken($pageToken)
+ {
+ $this->pageToken = $pageToken;
+ }
+
+ public function getPageToken()
+ {
+ return $this->pageToken;
+ }
+
+ public function setStartPosition($startPosition)
+ {
+ $this->startPosition = $startPosition;
+ }
+
+ public function getStartPosition()
+ {
+ return $this->startPosition;
+ }
+
+ public function setVariantName($variantName)
+ {
+ $this->variantName = $variantName;
+ }
+
+ public function getVariantName()
+ {
+ return $this->variantName;
+ }
+}
+
+class Google_Service_Genomics_SearchVariantsResponse extends Google_Collection
+{
+ public $nextPageToken;
+ protected $variantsType = 'Google_Service_Genomics_Variant';
+ protected $variantsDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setVariants($variants)
+ {
+ $this->variants = $variants;
+ }
+
+ public function getVariants()
+ {
+ return $this->variants;
+ }
+}
+
+class Google_Service_Genomics_Variant extends Google_Collection
+{
+ public $alternateBases;
+ protected $callsType = 'Google_Service_Genomics_Call';
+ protected $callsDataType = 'array';
+ public $contig;
+ public $created;
+ public $datasetId;
+ public $id;
+ public $info;
+ public $names;
+ public $position;
+ public $referenceBases;
+
+ public function setAlternateBases($alternateBases)
+ {
+ $this->alternateBases = $alternateBases;
+ }
+
+ public function getAlternateBases()
+ {
+ return $this->alternateBases;
+ }
+
+ public function setCalls($calls)
+ {
+ $this->calls = $calls;
+ }
+
+ public function getCalls()
+ {
+ return $this->calls;
+ }
+
+ public function setContig($contig)
+ {
+ $this->contig = $contig;
+ }
+
+ public function getContig()
+ {
+ return $this->contig;
+ }
+
+ public function setCreated($created)
+ {
+ $this->created = $created;
+ }
+
+ public function getCreated()
+ {
+ return $this->created;
+ }
+
+ public function setDatasetId($datasetId)
+ {
+ $this->datasetId = $datasetId;
+ }
+
+ public function getDatasetId()
+ {
+ return $this->datasetId;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setInfo($info)
+ {
+ $this->info = $info;
+ }
+
+ public function getInfo()
+ {
+ return $this->info;
+ }
+
+ public function setNames($names)
+ {
+ $this->names = $names;
+ }
+
+ public function getNames()
+ {
+ return $this->names;
+ }
+
+ public function setPosition($position)
+ {
+ $this->position = $position;
+ }
+
+ public function getPosition()
+ {
+ return $this->position;
+ }
+
+ public function setReferenceBases($referenceBases)
+ {
+ $this->referenceBases = $referenceBases;
+ }
+
+ public function getReferenceBases()
+ {
+ return $this->referenceBases;
+ }
+}
From f3ed3e4e89a286e617d29d43d4108def899474ea Mon Sep 17 00:00:00 2001
From: Silvano Luciani
- * $genomicsService = new Google_Service_Genomics(...);
- * $deprecated = $genomicsService->deprecated;
- *
- */
-class Google_Service_Genomics_JobsDeprecated_Resource extends Google_Service_Resource
-{
-
- /**
- * TODO(garrick): Remove in follow-up CL. Gets a job by ID. (deprecated.get)
- *
- * @param string $jobId
- * The ID of the job.
- * @param array $optParams Optional parameters.
- * @return Google_Service_Genomics_Job
- */
- public function get($jobId, $optParams = array())
- {
- $params = array('jobId' => $jobId);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Genomics_Job");
- }
-}
-
/**
* The "reads" collection of methods.
* Typical usage is:
@@ -1340,27 +1292,49 @@ public function getReadsetIds()
class Google_Service_Genomics_ExportReadsetsResponse extends Google_Model
{
- public $exportId;
+ public $jobId;
- public function setExportId($exportId)
+ public function setJobId($jobId)
{
- $this->exportId = $exportId;
+ $this->jobId = $jobId;
}
- public function getExportId()
+ public function getJobId()
{
- return $this->exportId;
+ return $this->jobId;
}
}
class Google_Service_Genomics_ExportVariantsRequest extends Google_Collection
{
+ public $bigqueryDataset;
+ public $bigqueryTable;
public $callsetIds;
public $datasetIds;
public $exportUri;
public $format;
public $projectId;
+ public function setBigqueryDataset($bigqueryDataset)
+ {
+ $this->bigqueryDataset = $bigqueryDataset;
+ }
+
+ public function getBigqueryDataset()
+ {
+ return $this->bigqueryDataset;
+ }
+
+ public function setBigqueryTable($bigqueryTable)
+ {
+ $this->bigqueryTable = $bigqueryTable;
+ }
+
+ public function getBigqueryTable()
+ {
+ return $this->bigqueryTable;
+ }
+
public function setCallsetIds($callsetIds)
{
$this->callsetIds = $callsetIds;
From acdfc1e58ee008c4850cb36ca3be7c96b95aa858 Mon Sep 17 00:00:00 2001
From: Silvano Luciani - * The Deployment Manager API allows users to declaratively configure and deploy Cloud resources on the Google Cloud Platform. + * The Deployment Manager API allows users to declaratively configure, deploy and run complex solutions on the Google Cloud Platform. *
* ** For more information about this service, see the API - * Documentation + * Documentation *
* * @author Google, Inc. From 46396efcc62d4c1a5659ee1d7b81f7661d3dc871 Mon Sep 17 00:00:00 2001 From: Ian Barber
- * $analyticsService = new Google_Service_Analytics(...);
- * $data = $analyticsService->data;
- *
- */
-class Google_Service_Analytics_Data_Resource extends Google_Service_Resource
-{
-
-}
+ ),'insert' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'max-results' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'start-index' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyAdWordsLinkId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyAdWordsLinkId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->management_webproperties = new Google_Service_Analytics_ManagementWebproperties_Resource(
+ $this,
+ $this->serviceName,
+ 'webproperties',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'max-results' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'start-index' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->management_webpropertyUserLinks = new Google_Service_Analytics_ManagementWebpropertyUserLinks_Resource(
+ $this,
+ $this->serviceName,
+ 'webpropertyUserLinks',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks/{linkId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'linkId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'max-results' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'start-index' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks/{linkId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'linkId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->metadata_columns = new Google_Service_Analytics_MetadataColumns_Resource(
+ $this,
+ $this->serviceName,
+ 'columns',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'metadata/{reportType}/columns',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'reportType' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->provisioning = new Google_Service_Analytics_Provisioning_Resource(
+ $this,
+ $this->serviceName,
+ 'provisioning',
+ array(
+ 'methods' => array(
+ 'createAccountTicket' => array(
+ 'path' => 'provisioning/createAccountTicket',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "data" collection of methods.
+ * Typical usage is:
+ *
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $data = $analyticsService->data;
+ *
+ */
+class Google_Service_Analytics_Data_Resource extends Google_Service_Resource
+{
+
+}
+
+/**
+ * The "ga" collection of methods.
+ * Typical usage is:
+ *
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $ga = $analyticsService->ga;
+ *
+ */
+class Google_Service_Analytics_DataGa_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Returns Analytics data for a view (profile). (ga.get)
+ *
+ * @param string $ids
+ * Unique table ID for retrieving Analytics data. Table ID is of the form ga:XXXX, where XXXX is
+ * the Analytics view (profile) ID.
+ * @param string $startDate
+ * Start date for fetching Analytics data. Requests can specify a start date formatted as YYYY-MM-
+ * DD, or as a relative date (e.g., today, yesterday, or 7daysAgo). The default value is 7daysAgo.
+ * @param string $endDate
+ * End date for fetching Analytics data. Request can should specify an end date formatted as YYYY-
+ * MM-DD, or as a relative date (e.g., today, yesterday, or 7daysAgo). The default value is
+ * yesterday.
+ * @param string $metrics
+ * A comma-separated list of Analytics metrics. E.g., 'ga:sessions,ga:pageviews'. At least one
+ * metric must be specified.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results
+ * The maximum number of entries to include in this feed.
+ * @opt_param string sort
+ * A comma-separated list of dimensions or metrics that determine the sort order for Analytics
+ * data.
+ * @opt_param string dimensions
+ * A comma-separated list of Analytics dimensions. E.g., 'ga:browser,ga:city'.
+ * @opt_param int start-index
+ * An index of the first entity to retrieve. Use this parameter as a pagination mechanism along
+ * with the max-results parameter.
+ * @opt_param string segment
+ * An Analytics segment to be applied to data.
+ * @opt_param string samplingLevel
+ * The desired sampling level.
+ * @opt_param string filters
+ * A comma-separated list of dimension or metric filters to be applied to Analytics data.
+ * @opt_param string output
+ * The selected format for the response. Default format is JSON.
+ * @return Google_Service_Analytics_GaData
+ */
+ public function get($ids, $startDate, $endDate, $metrics, $optParams = array())
+ {
+ $params = array('ids' => $ids, 'start-date' => $startDate, 'end-date' => $endDate, 'metrics' => $metrics);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Analytics_GaData");
+ }
+}
+/**
+ * The "mcf" collection of methods.
+ * Typical usage is:
+ *
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $mcf = $analyticsService->mcf;
+ *
+ */
+class Google_Service_Analytics_DataMcf_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Returns Analytics Multi-Channel Funnels data for a view (profile). (mcf.get)
+ *
+ * @param string $ids
+ * Unique table ID for retrieving Analytics data. Table ID is of the form ga:XXXX, where XXXX is
+ * the Analytics view (profile) ID.
+ * @param string $startDate
+ * Start date for fetching Analytics data. Requests can specify a start date formatted as YYYY-MM-
+ * DD, or as a relative date (e.g., today, yesterday, or 7daysAgo). The default value is 7daysAgo.
+ * @param string $endDate
+ * End date for fetching Analytics data. Requests can specify a start date formatted as YYYY-MM-DD,
+ * or as a relative date (e.g., today, yesterday, or 7daysAgo). The default value is 7daysAgo.
+ * @param string $metrics
+ * A comma-separated list of Multi-Channel Funnels metrics. E.g.,
+ * 'mcf:totalConversions,mcf:totalConversionValue'. At least one metric must be specified.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results
+ * The maximum number of entries to include in this feed.
+ * @opt_param string sort
+ * A comma-separated list of dimensions or metrics that determine the sort order for the Analytics
+ * data.
+ * @opt_param string dimensions
+ * A comma-separated list of Multi-Channel Funnels dimensions. E.g., 'mcf:source,mcf:medium'.
+ * @opt_param int start-index
+ * An index of the first entity to retrieve. Use this parameter as a pagination mechanism along
+ * with the max-results parameter.
+ * @opt_param string samplingLevel
+ * The desired sampling level.
+ * @opt_param string filters
+ * A comma-separated list of dimension or metric filters to be applied to the Analytics data.
+ * @return Google_Service_Analytics_McfData
+ */
+ public function get($ids, $startDate, $endDate, $metrics, $optParams = array())
+ {
+ $params = array('ids' => $ids, 'start-date' => $startDate, 'end-date' => $endDate, 'metrics' => $metrics);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Analytics_McfData");
+ }
+}
+/**
+ * The "realtime" collection of methods.
+ * Typical usage is:
+ *
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $realtime = $analyticsService->realtime;
+ *
+ */
+class Google_Service_Analytics_DataRealtime_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Returns real time data for a view (profile). (realtime.get)
+ *
+ * @param string $ids
+ * Unique table ID for retrieving real time data. Table ID is of the form ga:XXXX, where XXXX is
+ * the Analytics view (profile) ID.
+ * @param string $metrics
+ * A comma-separated list of real time metrics. E.g., 'rt:activeUsers'. At least one metric must be
+ * specified.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results
+ * The maximum number of entries to include in this feed.
+ * @opt_param string sort
+ * A comma-separated list of dimensions or metrics that determine the sort order for real time
+ * data.
+ * @opt_param string dimensions
+ * A comma-separated list of real time dimensions. E.g., 'rt:medium,rt:city'.
+ * @opt_param string filters
+ * A comma-separated list of dimension or metric filters to be applied to real time data.
+ * @return Google_Service_Analytics_RealtimeData
+ */
+ public function get($ids, $metrics, $optParams = array())
+ {
+ $params = array('ids' => $ids, 'metrics' => $metrics);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Analytics_RealtimeData");
+ }
+}
+
+/**
+ * The "management" collection of methods.
+ * Typical usage is:
+ *
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $management = $analyticsService->management;
+ *
+ */
+class Google_Service_Analytics_Management_Resource extends Google_Service_Resource
+{
+
+}
+
+/**
+ * The "accountSummaries" collection of methods.
+ * Typical usage is:
+ *
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $accountSummaries = $analyticsService->accountSummaries;
+ *
+ */
+class Google_Service_Analytics_ManagementAccountSummaries_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Lists account summaries (lightweight tree comprised of
+ * accounts/properties/profiles) to which the user has access.
+ * (accountSummaries.listManagementAccountSummaries)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results
+ * The maximum number of filters to include in this response.
+ * @opt_param int start-index
+ * An index of the first entity to retrieve. Use this parameter as a pagination mechanism along
+ * with the max-results parameter.
+ * @return Google_Service_Analytics_AccountSummaries
+ */
+ public function listManagementAccountSummaries($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Analytics_AccountSummaries");
+ }
+}
+/**
+ * The "accountUserLinks" collection of methods.
+ * Typical usage is:
+ *
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $accountUserLinks = $analyticsService->accountUserLinks;
+ *
+ */
+class Google_Service_Analytics_ManagementAccountUserLinks_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Removes a user from the given account. (accountUserLinks.delete)
+ *
+ * @param string $accountId
+ * Account ID to delete the user link for.
+ * @param string $linkId
+ * Link ID to delete the user link for.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($accountId, $linkId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'linkId' => $linkId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Adds a new user to the given account. (accountUserLinks.insert)
+ *
+ * @param string $accountId
+ * Account ID to create the user link for.
+ * @param Google_EntityUserLink $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_EntityUserLink
+ */
+ public function insert($accountId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Analytics_EntityUserLink");
+ }
+ /**
+ * Lists account-user links for a given account.
+ * (accountUserLinks.listManagementAccountUserLinks)
+ *
+ * @param string $accountId
+ * Account ID to retrieve the user links for.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results
+ * The maximum number of account-user links to include in this response.
+ * @opt_param int start-index
+ * An index of the first account-user link to retrieve. Use this parameter as a pagination
+ * mechanism along with the max-results parameter.
+ * @return Google_Service_Analytics_EntityUserLinks
+ */
+ public function listManagementAccountUserLinks($accountId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Analytics_EntityUserLinks");
+ }
+ /**
+ * Updates permissions for an existing user on the given account.
+ * (accountUserLinks.update)
+ *
+ * @param string $accountId
+ * Account ID to update the account-user link for.
+ * @param string $linkId
+ * Link ID to update the account-user link for.
+ * @param Google_EntityUserLink $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_EntityUserLink
+ */
+ public function update($accountId, $linkId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'linkId' => $linkId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Analytics_EntityUserLink");
+ }
+}
+/**
+ * The "accounts" collection of methods.
+ * Typical usage is:
+ *
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $accounts = $analyticsService->accounts;
+ *
+ */
+class Google_Service_Analytics_ManagementAccounts_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Lists all accounts to which the user has access.
+ * (accounts.listManagementAccounts)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results
+ * The maximum number of accounts to include in this response.
+ * @opt_param int start-index
+ * An index of the first account to retrieve. Use this parameter as a pagination mechanism along
+ * with the max-results parameter.
+ * @return Google_Service_Analytics_Accounts
+ */
+ public function listManagementAccounts($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Analytics_Accounts");
+ }
+}
+/**
+ * The "customDataSources" collection of methods.
+ * Typical usage is:
+ *
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $customDataSources = $analyticsService->customDataSources;
+ *
+ */
+class Google_Service_Analytics_ManagementCustomDataSources_Resource extends Google_Service_Resource
+{
+
+ /**
+ * List custom data sources to which the user has access.
+ * (customDataSources.listManagementCustomDataSources)
+ *
+ * @param string $accountId
+ * Account Id for the custom data sources to retrieve.
+ * @param string $webPropertyId
+ * Web property Id for the custom data sources to retrieve.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results
+ * The maximum number of custom data sources to include in this response.
+ * @opt_param int start-index
+ * A 1-based index of the first custom data source to retrieve. Use this parameter as a pagination
+ * mechanism along with the max-results parameter.
+ * @return Google_Service_Analytics_CustomDataSources
+ */
+ public function listManagementCustomDataSources($accountId, $webPropertyId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Analytics_CustomDataSources");
+ }
+}
+/**
+ * The "dailyUploads" collection of methods.
+ * Typical usage is:
+ *
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $dailyUploads = $analyticsService->dailyUploads;
+ *
+ */
+class Google_Service_Analytics_ManagementDailyUploads_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Delete uploaded data for the given date. (dailyUploads.delete)
+ *
+ * @param string $accountId
+ * Account Id associated with daily upload delete.
+ * @param string $webPropertyId
+ * Web property Id associated with daily upload delete.
+ * @param string $customDataSourceId
+ * Custom data source Id associated with daily upload delete.
+ * @param string $date
+ * Date for which data is to be deleted. Date should be formatted as YYYY-MM-DD.
+ * @param string $type
+ * Type of data for this delete.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($accountId, $webPropertyId, $customDataSourceId, $date, $type, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'date' => $date, 'type' => $type);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * List daily uploads to which the user has access.
+ * (dailyUploads.listManagementDailyUploads)
+ *
+ * @param string $accountId
+ * Account Id for the daily uploads to retrieve.
+ * @param string $webPropertyId
+ * Web property Id for the daily uploads to retrieve.
+ * @param string $customDataSourceId
+ * Custom data source Id for daily uploads to retrieve.
+ * @param string $startDate
+ * Start date of the form YYYY-MM-DD.
+ * @param string $endDate
+ * End date of the form YYYY-MM-DD.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results
+ * The maximum number of custom data sources to include in this response.
+ * @opt_param int start-index
+ * A 1-based index of the first daily upload to retrieve. Use this parameter as a pagination
+ * mechanism along with the max-results parameter.
+ * @return Google_Service_Analytics_DailyUploads
+ */
+ public function listManagementDailyUploads($accountId, $webPropertyId, $customDataSourceId, $startDate, $endDate, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'start-date' => $startDate, 'end-date' => $endDate);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Analytics_DailyUploads");
+ }
+ /**
+ * Update/Overwrite data for a custom data source. (dailyUploads.upload)
+ *
+ * @param string $accountId
+ * Account Id associated with daily upload.
+ * @param string $webPropertyId
+ * Web property Id associated with daily upload.
+ * @param string $customDataSourceId
+ * Custom data source Id to which the data being uploaded belongs.
+ * @param string $date
+ * Date for which data is uploaded. Date should be formatted as YYYY-MM-DD.
+ * @param int $appendNumber
+ * Append number for this upload indexed from 1.
+ * @param string $type
+ * Type of data for this upload.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool reset
+ * Reset/Overwrite all previous appends for this date and start over with this file as the first
+ * upload.
+ * @return Google_Service_Analytics_DailyUploadAppend
+ */
+ public function upload($accountId, $webPropertyId, $customDataSourceId, $date, $appendNumber, $type, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'date' => $date, 'appendNumber' => $appendNumber, 'type' => $type);
+ $params = array_merge($params, $optParams);
+ return $this->call('upload', array($params), "Google_Service_Analytics_DailyUploadAppend");
+ }
+}
+/**
+ * The "experiments" collection of methods.
+ * Typical usage is:
+ *
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $experiments = $analyticsService->experiments;
+ *
+ */
+class Google_Service_Analytics_ManagementExperiments_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Delete an experiment. (experiments.delete)
+ *
+ * @param string $accountId
+ * Account ID to which the experiment belongs
+ * @param string $webPropertyId
+ * Web property ID to which the experiment belongs
+ * @param string $profileId
+ * View (Profile) ID to which the experiment belongs
+ * @param string $experimentId
+ * ID of the experiment to delete
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($accountId, $webPropertyId, $profileId, $experimentId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Returns an experiment to which the user has access. (experiments.get)
+ *
+ * @param string $accountId
+ * Account ID to retrieve the experiment for.
+ * @param string $webPropertyId
+ * Web property ID to retrieve the experiment for.
+ * @param string $profileId
+ * View (Profile) ID to retrieve the experiment for.
+ * @param string $experimentId
+ * Experiment ID to retrieve the experiment for.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Experiment
+ */
+ public function get($accountId, $webPropertyId, $profileId, $experimentId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Analytics_Experiment");
+ }
+ /**
+ * Create a new experiment. (experiments.insert)
+ *
+ * @param string $accountId
+ * Account ID to create the experiment for.
+ * @param string $webPropertyId
+ * Web property ID to create the experiment for.
+ * @param string $profileId
+ * View (Profile) ID to create the experiment for.
+ * @param Google_Experiment $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Experiment
+ */
+ public function insert($accountId, $webPropertyId, $profileId, Google_Service_Analytics_Experiment $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Analytics_Experiment");
+ }
+ /**
+ * Lists experiments to which the user has access.
+ * (experiments.listManagementExperiments)
+ *
+ * @param string $accountId
+ * Account ID to retrieve experiments for.
+ * @param string $webPropertyId
+ * Web property ID to retrieve experiments for.
+ * @param string $profileId
+ * View (Profile) ID to retrieve experiments for.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results
+ * The maximum number of experiments to include in this response.
+ * @opt_param int start-index
+ * An index of the first experiment to retrieve. Use this parameter as a pagination mechanism along
+ * with the max-results parameter.
+ * @return Google_Service_Analytics_Experiments
+ */
+ public function listManagementExperiments($accountId, $webPropertyId, $profileId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Analytics_Experiments");
+ }
+ /**
+ * Update an existing experiment. This method supports patch semantics.
+ * (experiments.patch)
+ *
+ * @param string $accountId
+ * Account ID of the experiment to update.
+ * @param string $webPropertyId
+ * Web property ID of the experiment to update.
+ * @param string $profileId
+ * View (Profile) ID of the experiment to update.
+ * @param string $experimentId
+ * Experiment ID of the experiment to update.
+ * @param Google_Experiment $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Experiment
+ */
+ public function patch($accountId, $webPropertyId, $profileId, $experimentId, Google_Service_Analytics_Experiment $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Analytics_Experiment");
+ }
+ /**
+ * Update an existing experiment. (experiments.update)
+ *
+ * @param string $accountId
+ * Account ID of the experiment to update.
+ * @param string $webPropertyId
+ * Web property ID of the experiment to update.
+ * @param string $profileId
+ * View (Profile) ID of the experiment to update.
+ * @param string $experimentId
+ * Experiment ID of the experiment to update.
+ * @param Google_Experiment $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Experiment
+ */
+ public function update($accountId, $webPropertyId, $profileId, $experimentId, Google_Service_Analytics_Experiment $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Analytics_Experiment");
+ }
+}
+/**
+ * The "filters" collection of methods.
+ * Typical usage is:
+ *
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $filters = $analyticsService->filters;
+ *
+ */
+class Google_Service_Analytics_ManagementFilters_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Delete a filter. (filters.delete)
+ *
+ * @param string $accountId
+ * Account ID to delete the filter for.
+ * @param string $filterId
+ * ID of the filter to be deleted.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Filter
+ */
+ public function delete($accountId, $filterId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'filterId' => $filterId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Analytics_Filter");
+ }
+ /**
+ * Returns a filters to which the user has access. (filters.get)
+ *
+ * @param string $accountId
+ * Account ID to retrieve filters for.
+ * @param string $filterId
+ * Filter ID to retrieve filters for.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Filter
+ */
+ public function get($accountId, $filterId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'filterId' => $filterId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Analytics_Filter");
+ }
+ /**
+ * Create a new filter. (filters.insert)
+ *
+ * @param string $accountId
+ * Account ID to create filter for.
+ * @param Google_Filter $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Filter
+ */
+ public function insert($accountId, Google_Service_Analytics_Filter $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Analytics_Filter");
+ }
+ /**
+ * Lists all filters for an account (filters.listManagementFilters)
+ *
+ * @param string $accountId
+ * Account ID to retrieve filters for.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results
+ * The maximum number of filters to include in this response.
+ * @opt_param int start-index
+ * An index of the first entity to retrieve. Use this parameter as a pagination mechanism along
+ * with the max-results parameter.
+ * @return Google_Service_Analytics_Filters
+ */
+ public function listManagementFilters($accountId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Analytics_Filters");
+ }
+ /**
+ * Updates an existing filter. This method supports patch semantics.
+ * (filters.patch)
+ *
+ * @param string $accountId
+ * Account ID to which the filter belongs.
+ * @param string $filterId
+ * ID of the filter to be updated.
+ * @param Google_Filter $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Filter
+ */
+ public function patch($accountId, $filterId, Google_Service_Analytics_Filter $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'filterId' => $filterId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Analytics_Filter");
+ }
+ /**
+ * Updates an existing filter. (filters.update)
+ *
+ * @param string $accountId
+ * Account ID to which the filter belongs.
+ * @param string $filterId
+ * ID of the filter to be updated.
+ * @param Google_Filter $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Filter
+ */
+ public function update($accountId, $filterId, Google_Service_Analytics_Filter $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'filterId' => $filterId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Analytics_Filter");
+ }
+}
+/**
+ * The "goals" collection of methods.
+ * Typical usage is:
+ *
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $goals = $analyticsService->goals;
+ *
+ */
+class Google_Service_Analytics_ManagementGoals_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets a goal to which the user has access. (goals.get)
+ *
+ * @param string $accountId
+ * Account ID to retrieve the goal for.
+ * @param string $webPropertyId
+ * Web property ID to retrieve the goal for.
+ * @param string $profileId
+ * View (Profile) ID to retrieve the goal for.
+ * @param string $goalId
+ * Goal ID to retrieve the goal for.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Goal
+ */
+ public function get($accountId, $webPropertyId, $profileId, $goalId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'goalId' => $goalId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Analytics_Goal");
+ }
+ /**
+ * Create a new goal. (goals.insert)
+ *
+ * @param string $accountId
+ * Account ID to create the goal for.
+ * @param string $webPropertyId
+ * Web property ID to create the goal for.
+ * @param string $profileId
+ * View (Profile) ID to create the goal for.
+ * @param Google_Goal $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Goal
+ */
+ public function insert($accountId, $webPropertyId, $profileId, Google_Service_Analytics_Goal $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Analytics_Goal");
+ }
+ /**
+ * Lists goals to which the user has access. (goals.listManagementGoals)
+ *
+ * @param string $accountId
+ * Account ID to retrieve goals for. Can either be a specific account ID or '~all', which refers to
+ * all the accounts that user has access to.
+ * @param string $webPropertyId
+ * Web property ID to retrieve goals for. Can either be a specific web property ID or '~all', which
+ * refers to all the web properties that user has access to.
+ * @param string $profileId
+ * View (Profile) ID to retrieve goals for. Can either be a specific view (profile) ID or '~all',
+ * which refers to all the views (profiles) that user has access to.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results
+ * The maximum number of goals to include in this response.
+ * @opt_param int start-index
+ * An index of the first goal to retrieve. Use this parameter as a pagination mechanism along with
+ * the max-results parameter.
+ * @return Google_Service_Analytics_Goals
+ */
+ public function listManagementGoals($accountId, $webPropertyId, $profileId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Analytics_Goals");
+ }
+ /**
+ * Updates an existing view (profile). This method supports patch semantics.
+ * (goals.patch)
+ *
+ * @param string $accountId
+ * Account ID to update the goal.
+ * @param string $webPropertyId
+ * Web property ID to update the goal.
+ * @param string $profileId
+ * View (Profile) ID to update the goal.
+ * @param string $goalId
+ * Index of the goal to be updated.
+ * @param Google_Goal $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Goal
+ */
+ public function patch($accountId, $webPropertyId, $profileId, $goalId, Google_Service_Analytics_Goal $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'goalId' => $goalId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Analytics_Goal");
+ }
+ /**
+ * Updates an existing view (profile). (goals.update)
+ *
+ * @param string $accountId
+ * Account ID to update the goal.
+ * @param string $webPropertyId
+ * Web property ID to update the goal.
+ * @param string $profileId
+ * View (Profile) ID to update the goal.
+ * @param string $goalId
+ * Index of the goal to be updated.
+ * @param Google_Goal $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Goal
+ */
+ public function update($accountId, $webPropertyId, $profileId, $goalId, Google_Service_Analytics_Goal $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'goalId' => $goalId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Analytics_Goal");
+ }
+}
+/**
+ * The "profileFilterLinks" collection of methods.
+ * Typical usage is:
+ *
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $profileFilterLinks = $analyticsService->profileFilterLinks;
+ *
+ */
+class Google_Service_Analytics_ManagementProfileFilterLinks_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Delete a profile filter link. (profileFilterLinks.delete)
+ *
+ * @param string $accountId
+ * Account ID to which the profile filter link belongs.
+ * @param string $webPropertyId
+ * Web property Id to which the profile filter link belongs.
+ * @param string $profileId
+ * Profile ID to which the filter link belongs.
+ * @param string $linkId
+ * ID of the profile filter link to delete.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($accountId, $webPropertyId, $profileId, $linkId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Returns a single profile filter link. (profileFilterLinks.get)
+ *
+ * @param string $accountId
+ * Account ID to retrieve profile filter link for.
+ * @param string $webPropertyId
+ * Web property Id to retrieve profile filter link for.
+ * @param string $profileId
+ * Profile ID to retrieve filter link for.
+ * @param string $linkId
+ * ID of the profile filter link.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_ProfileFilterLink
+ */
+ public function get($accountId, $webPropertyId, $profileId, $linkId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Analytics_ProfileFilterLink");
+ }
+ /**
+ * Create a new profile filter link. (profileFilterLinks.insert)
+ *
+ * @param string $accountId
+ * Account ID to create profile filter link for.
+ * @param string $webPropertyId
+ * Web property Id to create profile filter link for.
+ * @param string $profileId
+ * Profile ID to create filter link for.
+ * @param Google_ProfileFilterLink $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_ProfileFilterLink
+ */
+ public function insert($accountId, $webPropertyId, $profileId, Google_Service_Analytics_ProfileFilterLink $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Analytics_ProfileFilterLink");
+ }
+ /**
+ * Lists all profile filter links for a profile.
+ * (profileFilterLinks.listManagementProfileFilterLinks)
+ *
+ * @param string $accountId
+ * Account ID to retrieve profile filter links for.
+ * @param string $webPropertyId
+ * Web property Id for profile filter links for. Can either be a specific web property ID or
+ * '~all', which refers to all the web properties that user has access to.
+ * @param string $profileId
+ * Profile ID to retrieve filter links for. Can either be a specific profile ID or '~all', which
+ * refers to all the profiles that user has access to.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results
+ * The maximum number of profile filter links to include in this response.
+ * @opt_param int start-index
+ * An index of the first entity to retrieve. Use this parameter as a pagination mechanism along
+ * with the max-results parameter.
+ * @return Google_Service_Analytics_ProfileFilterLinks
+ */
+ public function listManagementProfileFilterLinks($accountId, $webPropertyId, $profileId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Analytics_ProfileFilterLinks");
+ }
+ /**
+ * Update an existing profile filter link. This method supports patch semantics.
+ * (profileFilterLinks.patch)
+ *
+ * @param string $accountId
+ * Account ID to which profile filter link belongs.
+ * @param string $webPropertyId
+ * Web property Id to which profile filter link belongs
+ * @param string $profileId
+ * Profile ID to which filter link belongs
+ * @param string $linkId
+ * ID of the profile filter link to be updated.
+ * @param Google_ProfileFilterLink $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_ProfileFilterLink
+ */
+ public function patch($accountId, $webPropertyId, $profileId, $linkId, Google_Service_Analytics_ProfileFilterLink $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Analytics_ProfileFilterLink");
+ }
+ /**
+ * Update an existing profile filter link. (profileFilterLinks.update)
+ *
+ * @param string $accountId
+ * Account ID to which profile filter link belongs.
+ * @param string $webPropertyId
+ * Web property Id to which profile filter link belongs
+ * @param string $profileId
+ * Profile ID to which filter link belongs
+ * @param string $linkId
+ * ID of the profile filter link to be updated.
+ * @param Google_ProfileFilterLink $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_ProfileFilterLink
+ */
+ public function update($accountId, $webPropertyId, $profileId, $linkId, Google_Service_Analytics_ProfileFilterLink $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Analytics_ProfileFilterLink");
+ }
+}
+/**
+ * The "profileUserLinks" collection of methods.
+ * Typical usage is:
+ *
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $profileUserLinks = $analyticsService->profileUserLinks;
+ *
+ */
+class Google_Service_Analytics_ManagementProfileUserLinks_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Removes a user from the given view (profile). (profileUserLinks.delete)
+ *
+ * @param string $accountId
+ * Account ID to delete the user link for.
+ * @param string $webPropertyId
+ * Web Property ID to delete the user link for.
+ * @param string $profileId
+ * View (Profile) ID to delete the user link for.
+ * @param string $linkId
+ * Link ID to delete the user link for.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($accountId, $webPropertyId, $profileId, $linkId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Adds a new user to the given view (profile). (profileUserLinks.insert)
+ *
+ * @param string $accountId
+ * Account ID to create the user link for.
+ * @param string $webPropertyId
+ * Web Property ID to create the user link for.
+ * @param string $profileId
+ * View (Profile) ID to create the user link for.
+ * @param Google_EntityUserLink $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_EntityUserLink
+ */
+ public function insert($accountId, $webPropertyId, $profileId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Analytics_EntityUserLink");
+ }
+ /**
+ * Lists profile-user links for a given view (profile).
+ * (profileUserLinks.listManagementProfileUserLinks)
+ *
+ * @param string $accountId
+ * Account ID which the given view (profile) belongs to.
+ * @param string $webPropertyId
+ * Web Property ID which the given view (profile) belongs to.
+ * @param string $profileId
+ * View (Profile) ID to retrieve the profile-user links for
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results
+ * The maximum number of profile-user links to include in this response.
+ * @opt_param int start-index
+ * An index of the first profile-user link to retrieve. Use this parameter as a pagination
+ * mechanism along with the max-results parameter.
+ * @return Google_Service_Analytics_EntityUserLinks
+ */
+ public function listManagementProfileUserLinks($accountId, $webPropertyId, $profileId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Analytics_EntityUserLinks");
+ }
+ /**
+ * Updates permissions for an existing user on the given view (profile).
+ * (profileUserLinks.update)
+ *
+ * @param string $accountId
+ * Account ID to update the user link for.
+ * @param string $webPropertyId
+ * Web Property ID to update the user link for.
+ * @param string $profileId
+ * View (Profile ID) to update the user link for.
+ * @param string $linkId
+ * Link ID to update the user link for.
+ * @param Google_EntityUserLink $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_EntityUserLink
+ */
+ public function update($accountId, $webPropertyId, $profileId, $linkId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Analytics_EntityUserLink");
+ }
+}
+/**
+ * The "profiles" collection of methods.
+ * Typical usage is:
+ *
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $profiles = $analyticsService->profiles;
+ *
+ */
+class Google_Service_Analytics_ManagementProfiles_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Deletes a view (profile). (profiles.delete)
+ *
+ * @param string $accountId
+ * Account ID to delete the view (profile) for.
+ * @param string $webPropertyId
+ * Web property ID to delete the view (profile) for.
+ * @param string $profileId
+ * ID of the view (profile) to be deleted.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($accountId, $webPropertyId, $profileId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Gets a view (profile) to which the user has access. (profiles.get)
+ *
+ * @param string $accountId
+ * Account ID to retrieve the goal for.
+ * @param string $webPropertyId
+ * Web property ID to retrieve the goal for.
+ * @param string $profileId
+ * View (Profile) ID to retrieve the goal for.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Profile
+ */
+ public function get($accountId, $webPropertyId, $profileId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Analytics_Profile");
+ }
+ /**
+ * Create a new view (profile). (profiles.insert)
+ *
+ * @param string $accountId
+ * Account ID to create the view (profile) for.
+ * @param string $webPropertyId
+ * Web property ID to create the view (profile) for.
+ * @param Google_Profile $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Profile
+ */
+ public function insert($accountId, $webPropertyId, Google_Service_Analytics_Profile $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Analytics_Profile");
+ }
+ /**
+ * Lists views (profiles) to which the user has access.
+ * (profiles.listManagementProfiles)
+ *
+ * @param string $accountId
+ * Account ID for the view (profiles) to retrieve. Can either be a specific account ID or '~all',
+ * which refers to all the accounts to which the user has access.
+ * @param string $webPropertyId
+ * Web property ID for the views (profiles) to retrieve. Can either be a specific web property ID
+ * or '~all', which refers to all the web properties to which the user has access.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results
+ * The maximum number of views (profiles) to include in this response.
+ * @opt_param int start-index
+ * An index of the first entity to retrieve. Use this parameter as a pagination mechanism along
+ * with the max-results parameter.
+ * @return Google_Service_Analytics_Profiles
+ */
+ public function listManagementProfiles($accountId, $webPropertyId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Analytics_Profiles");
+ }
+ /**
+ * Updates an existing view (profile). This method supports patch semantics.
+ * (profiles.patch)
+ *
+ * @param string $accountId
+ * Account ID to which the view (profile) belongs
+ * @param string $webPropertyId
+ * Web property ID to which the view (profile) belongs
+ * @param string $profileId
+ * ID of the view (profile) to be updated.
+ * @param Google_Profile $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Profile
+ */
+ public function patch($accountId, $webPropertyId, $profileId, Google_Service_Analytics_Profile $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Analytics_Profile");
+ }
+ /**
+ * Updates an existing view (profile). (profiles.update)
+ *
+ * @param string $accountId
+ * Account ID to which the view (profile) belongs
+ * @param string $webPropertyId
+ * Web property ID to which the view (profile) belongs
+ * @param string $profileId
+ * ID of the view (profile) to be updated.
+ * @param Google_Profile $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Profile
+ */
+ public function update($accountId, $webPropertyId, $profileId, Google_Service_Analytics_Profile $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Analytics_Profile");
+ }
+}
+/**
+ * The "segments" collection of methods.
+ * Typical usage is:
+ *
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $segments = $analyticsService->segments;
+ *
+ */
+class Google_Service_Analytics_ManagementSegments_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Lists segments to which the user has access.
+ * (segments.listManagementSegments)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results
+ * The maximum number of segments to include in this response.
+ * @opt_param int start-index
+ * An index of the first segment to retrieve. Use this parameter as a pagination mechanism along
+ * with the max-results parameter.
+ * @return Google_Service_Analytics_Segments
+ */
+ public function listManagementSegments($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Analytics_Segments");
+ }
+}
+/**
+ * The "unsampledReports" collection of methods.
+ * Typical usage is:
+ *
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $unsampledReports = $analyticsService->unsampledReports;
+ *
+ */
+class Google_Service_Analytics_ManagementUnsampledReports_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Returns a single unsampled report. (unsampledReports.get)
+ *
+ * @param string $accountId
+ * Account ID to retrieve unsampled report for.
+ * @param string $webPropertyId
+ * Web property ID to retrieve unsampled reports for.
+ * @param string $profileId
+ * View (Profile) ID to retrieve unsampled report for.
+ * @param string $unsampledReportId
+ * ID of the unsampled report to retrieve.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_UnsampledReport
+ */
+ public function get($accountId, $webPropertyId, $profileId, $unsampledReportId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'unsampledReportId' => $unsampledReportId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Analytics_UnsampledReport");
+ }
+ /**
+ * Create a new unsampled report. (unsampledReports.insert)
+ *
+ * @param string $accountId
+ * Account ID to create the unsampled report for.
+ * @param string $webPropertyId
+ * Web property ID to create the unsampled report for.
+ * @param string $profileId
+ * View (Profile) ID to create the unsampled report for.
+ * @param Google_UnsampledReport $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_UnsampledReport
+ */
+ public function insert($accountId, $webPropertyId, $profileId, Google_Service_Analytics_UnsampledReport $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Analytics_UnsampledReport");
+ }
+ /**
+ * Lists unsampled reports to which the user has access.
+ * (unsampledReports.listManagementUnsampledReports)
+ *
+ * @param string $accountId
+ * Account ID to retrieve unsampled reports for. Must be a specific account ID, ~all is not
+ * supported.
+ * @param string $webPropertyId
+ * Web property ID to retrieve unsampled reports for. Must be a specific web property ID, ~all is
+ * not supported.
+ * @param string $profileId
+ * View (Profile) ID to retrieve unsampled reports for. Must be a specific view (profile) ID, ~all
+ * is not supported.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results
+ * The maximum number of unsampled reports to include in this response.
+ * @opt_param int start-index
+ * An index of the first unsampled report to retrieve. Use this parameter as a pagination mechanism
+ * along with the max-results parameter.
+ * @return Google_Service_Analytics_UnsampledReports
+ */
+ public function listManagementUnsampledReports($accountId, $webPropertyId, $profileId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Analytics_UnsampledReports");
+ }
+}
+/**
+ * The "uploads" collection of methods.
+ * Typical usage is:
+ *
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $uploads = $analyticsService->uploads;
+ *
+ */
+class Google_Service_Analytics_ManagementUploads_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Delete data associated with a previous upload. (uploads.deleteUploadData)
+ *
+ * @param string $accountId
+ * Account Id for the uploads to be deleted.
+ * @param string $webPropertyId
+ * Web property Id for the uploads to be deleted.
+ * @param string $customDataSourceId
+ * Custom data source Id for the uploads to be deleted.
+ * @param Google_AnalyticsDataimportDeleteUploadDataRequest $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function deleteUploadData($accountId, $webPropertyId, $customDataSourceId, Google_Service_Analytics_AnalyticsDataimportDeleteUploadDataRequest $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('deleteUploadData', array($params));
+ }
+ /**
+ * List uploads to which the user has access. (uploads.get)
+ *
+ * @param string $accountId
+ * Account Id for the upload to retrieve.
+ * @param string $webPropertyId
+ * Web property Id for the upload to retrieve.
+ * @param string $customDataSourceId
+ * Custom data source Id for upload to retrieve.
+ * @param string $uploadId
+ * Upload Id to retrieve.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Upload
+ */
+ public function get($accountId, $webPropertyId, $customDataSourceId, $uploadId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'uploadId' => $uploadId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Analytics_Upload");
+ }
+ /**
+ * List uploads to which the user has access. (uploads.listManagementUploads)
+ *
+ * @param string $accountId
+ * Account Id for the uploads to retrieve.
+ * @param string $webPropertyId
+ * Web property Id for the uploads to retrieve.
+ * @param string $customDataSourceId
+ * Custom data source Id for uploads to retrieve.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results
+ * The maximum number of uploads to include in this response.
+ * @opt_param int start-index
+ * A 1-based index of the first upload to retrieve. Use this parameter as a pagination mechanism
+ * along with the max-results parameter.
+ * @return Google_Service_Analytics_Uploads
+ */
+ public function listManagementUploads($accountId, $webPropertyId, $customDataSourceId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Analytics_Uploads");
+ }
+ /**
+ * Upload data for a custom data source. (uploads.uploadData)
+ *
+ * @param string $accountId
+ * Account Id associated with the upload.
+ * @param string $webPropertyId
+ * Web property UA-string associated with the upload.
+ * @param string $customDataSourceId
+ * Custom data source Id to which the data being uploaded belongs.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Upload
+ */
+ public function uploadData($accountId, $webPropertyId, $customDataSourceId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId);
+ $params = array_merge($params, $optParams);
+ return $this->call('uploadData', array($params), "Google_Service_Analytics_Upload");
+ }
+}
+/**
+ * The "webPropertyAdWordsLinks" collection of methods.
+ * Typical usage is:
+ *
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $webPropertyAdWordsLinks = $analyticsService->webPropertyAdWordsLinks;
+ *
+ */
+class Google_Service_Analytics_ManagementWebPropertyAdWordsLinks_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Deletes a web property-AdWords link. (webPropertyAdWordsLinks.delete)
+ *
+ * @param string $accountId
+ * ID of the account which the given web property belongs to.
+ * @param string $webPropertyId
+ * Web property ID to delete the AdWords link for.
+ * @param string $webPropertyAdWordsLinkId
+ * Web property AdWords link ID.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($accountId, $webPropertyId, $webPropertyAdWordsLinkId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'webPropertyAdWordsLinkId' => $webPropertyAdWordsLinkId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Returns a web property-AdWords link to which the user has access.
+ * (webPropertyAdWordsLinks.get)
+ *
+ * @param string $accountId
+ * ID of the account which the given web property belongs to.
+ * @param string $webPropertyId
+ * Web property ID to retrieve the AdWords link for.
+ * @param string $webPropertyAdWordsLinkId
+ * Web property-AdWords link ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_EntityAdWordsLink
+ */
+ public function get($accountId, $webPropertyId, $webPropertyAdWordsLinkId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'webPropertyAdWordsLinkId' => $webPropertyAdWordsLinkId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Analytics_EntityAdWordsLink");
+ }
+ /**
+ * Creates a webProperty-AdWords link. (webPropertyAdWordsLinks.insert)
+ *
+ * @param string $accountId
+ * ID of the Google Analytics account to create the link for.
+ * @param string $webPropertyId
+ * Web property ID to create the link for.
+ * @param Google_EntityAdWordsLink $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_EntityAdWordsLink
+ */
+ public function insert($accountId, $webPropertyId, Google_Service_Analytics_EntityAdWordsLink $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Analytics_EntityAdWordsLink");
+ }
+ /**
+ * Lists webProperty-AdWords links for a given web property.
+ * (webPropertyAdWordsLinks.listManagementWebPropertyAdWordsLinks)
+ *
+ * @param string $accountId
+ * ID of the account which the given web property belongs to.
+ * @param string $webPropertyId
+ * Web property ID to retrieve the AdWords links for.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results
+ * The maximum number of webProperty-AdWords links to include in this response.
+ * @opt_param int start-index
+ * An index of the first webProperty-AdWords link to retrieve. Use this parameter as a pagination
+ * mechanism along with the max-results parameter.
+ * @return Google_Service_Analytics_EntityAdWordsLinks
+ */
+ public function listManagementWebPropertyAdWordsLinks($accountId, $webPropertyId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Analytics_EntityAdWordsLinks");
+ }
+ /**
+ * Updates an existing webProperty-AdWords link. This method supports patch
+ * semantics. (webPropertyAdWordsLinks.patch)
+ *
+ * @param string $accountId
+ * ID of the account which the given web property belongs to.
+ * @param string $webPropertyId
+ * Web property ID to retrieve the AdWords link for.
+ * @param string $webPropertyAdWordsLinkId
+ * Web property-AdWords link ID.
+ * @param Google_EntityAdWordsLink $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_EntityAdWordsLink
+ */
+ public function patch($accountId, $webPropertyId, $webPropertyAdWordsLinkId, Google_Service_Analytics_EntityAdWordsLink $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'webPropertyAdWordsLinkId' => $webPropertyAdWordsLinkId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Analytics_EntityAdWordsLink");
+ }
+ /**
+ * Updates an existing webProperty-AdWords link.
+ * (webPropertyAdWordsLinks.update)
+ *
+ * @param string $accountId
+ * ID of the account which the given web property belongs to.
+ * @param string $webPropertyId
+ * Web property ID to retrieve the AdWords link for.
+ * @param string $webPropertyAdWordsLinkId
+ * Web property-AdWords link ID.
+ * @param Google_EntityAdWordsLink $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_EntityAdWordsLink
+ */
+ public function update($accountId, $webPropertyId, $webPropertyAdWordsLinkId, Google_Service_Analytics_EntityAdWordsLink $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'webPropertyAdWordsLinkId' => $webPropertyAdWordsLinkId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Analytics_EntityAdWordsLink");
+ }
+}
+/**
+ * The "webproperties" collection of methods.
+ * Typical usage is:
+ *
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $webproperties = $analyticsService->webproperties;
+ *
+ */
+class Google_Service_Analytics_ManagementWebproperties_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets a web property to which the user has access. (webproperties.get)
+ *
+ * @param string $accountId
+ * Account ID to retrieve the web property for.
+ * @param string $webPropertyId
+ * ID to retrieve the web property for.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Webproperty
+ */
+ public function get($accountId, $webPropertyId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Analytics_Webproperty");
+ }
+ /**
+ * Create a new property if the account has fewer than 20 properties. Web
+ * properties are visible in the Google Analytics interface only if they have at
+ * least one profile. (webproperties.insert)
+ *
+ * @param string $accountId
+ * Account ID to create the web property for.
+ * @param Google_Webproperty $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Webproperty
+ */
+ public function insert($accountId, Google_Service_Analytics_Webproperty $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Analytics_Webproperty");
+ }
+ /**
+ * Lists web properties to which the user has access.
+ * (webproperties.listManagementWebproperties)
+ *
+ * @param string $accountId
+ * Account ID to retrieve web properties for. Can either be a specific account ID or '~all', which
+ * refers to all the accounts that user has access to.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results
+ * The maximum number of web properties to include in this response.
+ * @opt_param int start-index
+ * An index of the first entity to retrieve. Use this parameter as a pagination mechanism along
+ * with the max-results parameter.
+ * @return Google_Service_Analytics_Webproperties
+ */
+ public function listManagementWebproperties($accountId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Analytics_Webproperties");
+ }
+ /**
+ * Updates an existing web property. This method supports patch semantics.
+ * (webproperties.patch)
+ *
+ * @param string $accountId
+ * Account ID to which the web property belongs
+ * @param string $webPropertyId
+ * Web property ID
+ * @param Google_Webproperty $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Webproperty
+ */
+ public function patch($accountId, $webPropertyId, Google_Service_Analytics_Webproperty $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Analytics_Webproperty");
+ }
+ /**
+ * Updates an existing web property. (webproperties.update)
+ *
+ * @param string $accountId
+ * Account ID to which the web property belongs
+ * @param string $webPropertyId
+ * Web property ID
+ * @param Google_Webproperty $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Webproperty
+ */
+ public function update($accountId, $webPropertyId, Google_Service_Analytics_Webproperty $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Analytics_Webproperty");
+ }
+}
+/**
+ * The "webpropertyUserLinks" collection of methods.
+ * Typical usage is:
+ *
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $webpropertyUserLinks = $analyticsService->webpropertyUserLinks;
+ *
+ */
+class Google_Service_Analytics_ManagementWebpropertyUserLinks_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Removes a user from the given web property. (webpropertyUserLinks.delete)
+ *
+ * @param string $accountId
+ * Account ID to delete the user link for.
+ * @param string $webPropertyId
+ * Web Property ID to delete the user link for.
+ * @param string $linkId
+ * Link ID to delete the user link for.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($accountId, $webPropertyId, $linkId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'linkId' => $linkId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Adds a new user to the given web property. (webpropertyUserLinks.insert)
+ *
+ * @param string $accountId
+ * Account ID to create the user link for.
+ * @param string $webPropertyId
+ * Web Property ID to create the user link for.
+ * @param Google_EntityUserLink $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_EntityUserLink
+ */
+ public function insert($accountId, $webPropertyId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Analytics_EntityUserLink");
+ }
+ /**
+ * Lists webProperty-user links for a given web property.
+ * (webpropertyUserLinks.listManagementWebpropertyUserLinks)
+ *
+ * @param string $accountId
+ * Account ID which the given web property belongs to.
+ * @param string $webPropertyId
+ * Web Property ID for the webProperty-user links to retrieve.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results
+ * The maximum number of webProperty-user Links to include in this response.
+ * @opt_param int start-index
+ * An index of the first webProperty-user link to retrieve. Use this parameter as a pagination
+ * mechanism along with the max-results parameter.
+ * @return Google_Service_Analytics_EntityUserLinks
+ */
+ public function listManagementWebpropertyUserLinks($accountId, $webPropertyId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Analytics_EntityUserLinks");
+ }
+ /**
+ * Updates permissions for an existing user on the given web property.
+ * (webpropertyUserLinks.update)
+ *
+ * @param string $accountId
+ * Account ID to update the account-user link for.
+ * @param string $webPropertyId
+ * Web property ID to update the account-user link for.
+ * @param string $linkId
+ * Link ID to update the account-user link for.
+ * @param Google_EntityUserLink $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_EntityUserLink
+ */
+ public function update($accountId, $webPropertyId, $linkId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'linkId' => $linkId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Analytics_EntityUserLink");
+ }
+}
+
+/**
+ * The "metadata" collection of methods.
+ * Typical usage is:
+ *
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $metadata = $analyticsService->metadata;
+ *
+ */
+class Google_Service_Analytics_Metadata_Resource extends Google_Service_Resource
+{
+
+}
+
+/**
+ * The "columns" collection of methods.
+ * Typical usage is:
+ *
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $columns = $analyticsService->columns;
+ *
+ */
+class Google_Service_Analytics_MetadataColumns_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Lists all columns for a report type (columns.listMetadataColumns)
+ *
+ * @param string $reportType
+ * Report type. Allowed Values: 'ga'. Where 'ga' corresponds to the Core Reporting API
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Columns
+ */
+ public function listMetadataColumns($reportType, $optParams = array())
+ {
+ $params = array('reportType' => $reportType);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Analytics_Columns");
+ }
+}
+
+/**
+ * The "provisioning" collection of methods.
+ * Typical usage is:
+ *
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $provisioning = $analyticsService->provisioning;
+ *
+ */
+class Google_Service_Analytics_Provisioning_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Creates an account ticket. (provisioning.createAccountTicket)
+ *
+ * @param Google_AccountTicket $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_AccountTicket
+ */
+ public function createAccountTicket(Google_Service_Analytics_AccountTicket $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('createAccountTicket', array($params), "Google_Service_Analytics_AccountTicket");
+ }
+}
+
+
+
+
+class Google_Service_Analytics_Account extends Google_Model
+{
+ protected $childLinkType = 'Google_Service_Analytics_AccountChildLink';
+ protected $childLinkDataType = '';
+ public $created;
+ public $id;
+ public $kind;
+ public $name;
+ protected $permissionsType = 'Google_Service_Analytics_AccountPermissions';
+ protected $permissionsDataType = '';
+ public $selfLink;
+ public $updated;
+
+ public function setChildLink(Google_Service_Analytics_AccountChildLink $childLink)
+ {
+ $this->childLink = $childLink;
+ }
+
+ public function getChildLink()
+ {
+ return $this->childLink;
+ }
+
+ public function setCreated($created)
+ {
+ $this->created = $created;
+ }
+
+ public function getCreated()
+ {
+ return $this->created;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setPermissions(Google_Service_Analytics_AccountPermissions $permissions)
+ {
+ $this->permissions = $permissions;
+ }
+
+ public function getPermissions()
+ {
+ return $this->permissions;
+ }
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+
+ public function setUpdated($updated)
+ {
+ $this->updated = $updated;
+ }
+
+ public function getUpdated()
+ {
+ return $this->updated;
+ }
+}
+
+class Google_Service_Analytics_AccountChildLink extends Google_Model
+{
+ public $href;
+ public $type;
+
+ public function setHref($href)
+ {
+ $this->href = $href;
+ }
+
+ public function getHref()
+ {
+ return $this->href;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_Analytics_AccountPermissions extends Google_Collection
+{
+ public $effective;
+
+ public function setEffective($effective)
+ {
+ $this->effective = $effective;
+ }
+
+ public function getEffective()
+ {
+ return $this->effective;
+ }
+}
+
+class Google_Service_Analytics_AccountRef extends Google_Model
+{
+ public $href;
+ public $id;
+ public $kind;
+ public $name;
+
+ public function setHref($href)
+ {
+ $this->href = $href;
+ }
+
+ public function getHref()
+ {
+ return $this->href;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Google_Service_Analytics_AccountSummaries extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_Analytics_AccountSummary';
+ protected $itemsDataType = 'array';
+ public $itemsPerPage;
+ public $kind;
+ public $nextLink;
+ public $previousLink;
+ public $startIndex;
+ public $totalResults;
+ public $username;
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setItemsPerPage($itemsPerPage)
+ {
+ $this->itemsPerPage = $itemsPerPage;
+ }
+
+ public function getItemsPerPage()
+ {
+ return $this->itemsPerPage;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextLink($nextLink)
+ {
+ $this->nextLink = $nextLink;
+ }
+
+ public function getNextLink()
+ {
+ return $this->nextLink;
+ }
+
+ public function setPreviousLink($previousLink)
+ {
+ $this->previousLink = $previousLink;
+ }
+
+ public function getPreviousLink()
+ {
+ return $this->previousLink;
+ }
+
+ public function setStartIndex($startIndex)
+ {
+ $this->startIndex = $startIndex;
+ }
+
+ public function getStartIndex()
+ {
+ return $this->startIndex;
+ }
+
+ public function setTotalResults($totalResults)
+ {
+ $this->totalResults = $totalResults;
+ }
+
+ public function getTotalResults()
+ {
+ return $this->totalResults;
+ }
+
+ public function setUsername($username)
+ {
+ $this->username = $username;
+ }
+
+ public function getUsername()
+ {
+ return $this->username;
+ }
+}
+
+class Google_Service_Analytics_AccountSummary extends Google_Collection
+{
+ public $id;
+ public $kind;
+ public $name;
+ protected $webPropertiesType = 'Google_Service_Analytics_WebPropertySummary';
+ protected $webPropertiesDataType = 'array';
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setWebProperties($webProperties)
+ {
+ $this->webProperties = $webProperties;
+ }
+
+ public function getWebProperties()
+ {
+ return $this->webProperties;
+ }
+}
+
+class Google_Service_Analytics_AccountTicket extends Google_Model
+{
+ protected $accountType = 'Google_Service_Analytics_Account';
+ protected $accountDataType = '';
+ public $id;
+ public $kind;
+ protected $profileType = 'Google_Service_Analytics_Profile';
+ protected $profileDataType = '';
+ public $redirectUri;
+ protected $webpropertyType = 'Google_Service_Analytics_Webproperty';
+ protected $webpropertyDataType = '';
+
+ public function setAccount(Google_Service_Analytics_Account $account)
+ {
+ $this->account = $account;
+ }
+
+ public function getAccount()
+ {
+ return $this->account;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setProfile(Google_Service_Analytics_Profile $profile)
+ {
+ $this->profile = $profile;
+ }
+
+ public function getProfile()
+ {
+ return $this->profile;
+ }
+
+ public function setRedirectUri($redirectUri)
+ {
+ $this->redirectUri = $redirectUri;
+ }
+
+ public function getRedirectUri()
+ {
+ return $this->redirectUri;
+ }
+
+ public function setWebproperty(Google_Service_Analytics_Webproperty $webproperty)
+ {
+ $this->webproperty = $webproperty;
+ }
+
+ public function getWebproperty()
+ {
+ return $this->webproperty;
+ }
+}
+
+class Google_Service_Analytics_Accounts extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_Analytics_Account';
+ protected $itemsDataType = 'array';
+ public $itemsPerPage;
+ public $kind;
+ public $nextLink;
+ public $previousLink;
+ public $startIndex;
+ public $totalResults;
+ public $username;
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setItemsPerPage($itemsPerPage)
+ {
+ $this->itemsPerPage = $itemsPerPage;
+ }
+
+ public function getItemsPerPage()
+ {
+ return $this->itemsPerPage;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextLink($nextLink)
+ {
+ $this->nextLink = $nextLink;
+ }
+
+ public function getNextLink()
+ {
+ return $this->nextLink;
+ }
+
+ public function setPreviousLink($previousLink)
+ {
+ $this->previousLink = $previousLink;
+ }
+
+ public function getPreviousLink()
+ {
+ return $this->previousLink;
+ }
-/**
- * The "ga" collection of methods.
- * Typical usage is:
- *
- * $analyticsService = new Google_Service_Analytics(...);
- * $ga = $analyticsService->ga;
- *
- */
-class Google_Service_Analytics_DataGa_Resource extends Google_Service_Resource
+ public function setStartIndex($startIndex)
+ {
+ $this->startIndex = $startIndex;
+ }
+
+ public function getStartIndex()
+ {
+ return $this->startIndex;
+ }
+
+ public function setTotalResults($totalResults)
+ {
+ $this->totalResults = $totalResults;
+ }
+
+ public function getTotalResults()
+ {
+ return $this->totalResults;
+ }
+
+ public function setUsername($username)
+ {
+ $this->username = $username;
+ }
+
+ public function getUsername()
+ {
+ return $this->username;
+ }
+}
+
+class Google_Service_Analytics_AdWordsAccount extends Google_Model
{
+ public $autoTaggingEnabled;
+ public $customerId;
+ public $kind;
+ public $name;
- /**
- * Returns Analytics data for a view (profile). (ga.get)
- *
- * @param string $ids
- * Unique table ID for retrieving Analytics data. Table ID is of the form ga:XXXX, where XXXX is
- * the Analytics view (profile) ID.
- * @param string $startDate
- * Start date for fetching Analytics data. Requests can specify a start date formatted as YYYY-MM-
- * DD, or as a relative date (e.g., today, yesterday, or 7daysAgo). The default value is 7daysAgo.
- * @param string $endDate
- * End date for fetching Analytics data. Request can should specify an end date formatted as YYYY-
- * MM-DD, or as a relative date (e.g., today, yesterday, or 7daysAgo). The default value is
- * yesterday.
- * @param string $metrics
- * A comma-separated list of Analytics metrics. E.g., 'ga:sessions,ga:pageviews'. At least one
- * metric must be specified.
- * @param array $optParams Optional parameters.
- *
- * @opt_param int max-results
- * The maximum number of entries to include in this feed.
- * @opt_param string sort
- * A comma-separated list of dimensions or metrics that determine the sort order for Analytics
- * data.
- * @opt_param string dimensions
- * A comma-separated list of Analytics dimensions. E.g., 'ga:browser,ga:city'.
- * @opt_param int start-index
- * An index of the first entity to retrieve. Use this parameter as a pagination mechanism along
- * with the max-results parameter.
- * @opt_param string segment
- * An Analytics segment to be applied to data.
- * @opt_param string samplingLevel
- * The desired sampling level.
- * @opt_param string filters
- * A comma-separated list of dimension or metric filters to be applied to Analytics data.
- * @opt_param string output
- * The selected format for the response. Default format is JSON.
- * @return Google_Service_Analytics_GaData
- */
- public function get($ids, $startDate, $endDate, $metrics, $optParams = array())
+ public function setAutoTaggingEnabled($autoTaggingEnabled)
{
- $params = array('ids' => $ids, 'start-date' => $startDate, 'end-date' => $endDate, 'metrics' => $metrics);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Analytics_GaData");
+ $this->autoTaggingEnabled = $autoTaggingEnabled;
+ }
+
+ public function getAutoTaggingEnabled()
+ {
+ return $this->autoTaggingEnabled;
+ }
+
+ public function setCustomerId($customerId)
+ {
+ $this->customerId = $customerId;
+ }
+
+ public function getCustomerId()
+ {
+ return $this->customerId;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
}
}
-/**
- * The "mcf" collection of methods.
- * Typical usage is:
- *
- * $analyticsService = new Google_Service_Analytics(...);
- * $mcf = $analyticsService->mcf;
- *
- */
-class Google_Service_Analytics_DataMcf_Resource extends Google_Service_Resource
+
+class Google_Service_Analytics_AnalyticsDataimportDeleteUploadDataRequest extends Google_Collection
+{
+ public $customDataImportUids;
+
+ public function setCustomDataImportUids($customDataImportUids)
+ {
+ $this->customDataImportUids = $customDataImportUids;
+ }
+
+ public function getCustomDataImportUids()
+ {
+ return $this->customDataImportUids;
+ }
+}
+
+class Google_Service_Analytics_Column extends Google_Model
{
+ public $attributes;
+ public $id;
+ public $kind;
- /**
- * Returns Analytics Multi-Channel Funnels data for a view (profile). (mcf.get)
- *
- * @param string $ids
- * Unique table ID for retrieving Analytics data. Table ID is of the form ga:XXXX, where XXXX is
- * the Analytics view (profile) ID.
- * @param string $startDate
- * Start date for fetching Analytics data. Requests can specify a start date formatted as YYYY-MM-
- * DD, or as a relative date (e.g., today, yesterday, or 7daysAgo). The default value is 7daysAgo.
- * @param string $endDate
- * End date for fetching Analytics data. Requests can specify a start date formatted as YYYY-MM-DD,
- * or as a relative date (e.g., today, yesterday, or 7daysAgo). The default value is 7daysAgo.
- * @param string $metrics
- * A comma-separated list of Multi-Channel Funnels metrics. E.g.,
- * 'mcf:totalConversions,mcf:totalConversionValue'. At least one metric must be specified.
- * @param array $optParams Optional parameters.
- *
- * @opt_param int max-results
- * The maximum number of entries to include in this feed.
- * @opt_param string sort
- * A comma-separated list of dimensions or metrics that determine the sort order for the Analytics
- * data.
- * @opt_param string dimensions
- * A comma-separated list of Multi-Channel Funnels dimensions. E.g., 'mcf:source,mcf:medium'.
- * @opt_param int start-index
- * An index of the first entity to retrieve. Use this parameter as a pagination mechanism along
- * with the max-results parameter.
- * @opt_param string samplingLevel
- * The desired sampling level.
- * @opt_param string filters
- * A comma-separated list of dimension or metric filters to be applied to the Analytics data.
- * @return Google_Service_Analytics_McfData
- */
- public function get($ids, $startDate, $endDate, $metrics, $optParams = array())
+ public function setAttributes($attributes)
+ {
+ $this->attributes = $attributes;
+ }
+
+ public function getAttributes()
+ {
+ return $this->attributes;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Analytics_Columns extends Google_Collection
+{
+ public $attributeNames;
+ public $etag;
+ protected $itemsType = 'Google_Service_Analytics_Column';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $totalResults;
+
+ public function setAttributeNames($attributeNames)
+ {
+ $this->attributeNames = $attributeNames;
+ }
+
+ public function getAttributeNames()
+ {
+ return $this->attributeNames;
+ }
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setTotalResults($totalResults)
{
- $params = array('ids' => $ids, 'start-date' => $startDate, 'end-date' => $endDate, 'metrics' => $metrics);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Analytics_McfData");
+ $this->totalResults = $totalResults;
}
-}
-/**
- * The "realtime" collection of methods.
- * Typical usage is:
- *
- * $analyticsService = new Google_Service_Analytics(...);
- * $realtime = $analyticsService->realtime;
- *
- */
-class Google_Service_Analytics_DataRealtime_Resource extends Google_Service_Resource
-{
- /**
- * Returns real time data for a view (profile). (realtime.get)
- *
- * @param string $ids
- * Unique table ID for retrieving real time data. Table ID is of the form ga:XXXX, where XXXX is
- * the Analytics view (profile) ID.
- * @param string $metrics
- * A comma-separated list of real time metrics. E.g., 'rt:activeUsers'. At least one metric must be
- * specified.
- * @param array $optParams Optional parameters.
- *
- * @opt_param int max-results
- * The maximum number of entries to include in this feed.
- * @opt_param string sort
- * A comma-separated list of dimensions or metrics that determine the sort order for real time
- * data.
- * @opt_param string dimensions
- * A comma-separated list of real time dimensions. E.g., 'rt:medium,rt:city'.
- * @opt_param string filters
- * A comma-separated list of dimension or metric filters to be applied to real time data.
- * @return Google_Service_Analytics_RealtimeData
- */
- public function get($ids, $metrics, $optParams = array())
+ public function getTotalResults()
{
- $params = array('ids' => $ids, 'metrics' => $metrics);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Analytics_RealtimeData");
+ return $this->totalResults;
}
}
-/**
- * The "management" collection of methods.
- * Typical usage is:
- *
- * $analyticsService = new Google_Service_Analytics(...);
- * $management = $analyticsService->management;
- *
- */
-class Google_Service_Analytics_Management_Resource extends Google_Service_Resource
+class Google_Service_Analytics_CustomDataSource extends Google_Collection
{
+ public $accountId;
+ protected $childLinkType = 'Google_Service_Analytics_CustomDataSourceChildLink';
+ protected $childLinkDataType = '';
+ public $created;
+ public $description;
+ public $id;
+ public $kind;
+ public $name;
+ protected $parentLinkType = 'Google_Service_Analytics_CustomDataSourceParentLink';
+ protected $parentLinkDataType = '';
+ public $profilesLinked;
+ public $selfLink;
+ public $type;
+ public $updated;
+ public $webPropertyId;
-}
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
-/**
- * The "accountSummaries" collection of methods.
- * Typical usage is:
- *
- * $analyticsService = new Google_Service_Analytics(...);
- * $accountSummaries = $analyticsService->accountSummaries;
- *
- */
-class Google_Service_Analytics_ManagementAccountSummaries_Resource extends Google_Service_Resource
-{
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
- /**
- * Lists account summaries (lightweight tree comprised of
- * accounts/properties/profiles) to which the user has access.
- * (accountSummaries.listManagementAccountSummaries)
- *
- * @param array $optParams Optional parameters.
- *
- * @opt_param int max-results
- * The maximum number of filters to include in this response.
- * @opt_param int start-index
- * An index of the first entity to retrieve. Use this parameter as a pagination mechanism along
- * with the max-results parameter.
- * @return Google_Service_Analytics_AccountSummaries
- */
- public function listManagementAccountSummaries($optParams = array())
+ public function setChildLink(Google_Service_Analytics_CustomDataSourceChildLink $childLink)
{
- $params = array();
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Analytics_AccountSummaries");
+ $this->childLink = $childLink;
}
-}
-/**
- * The "accountUserLinks" collection of methods.
- * Typical usage is:
- *
- * $analyticsService = new Google_Service_Analytics(...);
- * $accountUserLinks = $analyticsService->accountUserLinks;
- *
- */
-class Google_Service_Analytics_ManagementAccountUserLinks_Resource extends Google_Service_Resource
-{
- /**
- * Removes a user from the given account. (accountUserLinks.delete)
- *
- * @param string $accountId
- * Account ID to delete the user link for.
- * @param string $linkId
- * Link ID to delete the user link for.
- * @param array $optParams Optional parameters.
- */
- public function delete($accountId, $linkId, $optParams = array())
+ public function getChildLink()
{
- $params = array('accountId' => $accountId, 'linkId' => $linkId);
- $params = array_merge($params, $optParams);
- return $this->call('delete', array($params));
+ return $this->childLink;
}
- /**
- * Adds a new user to the given account. (accountUserLinks.insert)
- *
- * @param string $accountId
- * Account ID to create the user link for.
- * @param Google_EntityUserLink $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Analytics_EntityUserLink
- */
- public function insert($accountId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
+
+ public function setCreated($created)
{
- $params = array('accountId' => $accountId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('insert', array($params), "Google_Service_Analytics_EntityUserLink");
+ $this->created = $created;
}
- /**
- * Lists account-user links for a given account.
- * (accountUserLinks.listManagementAccountUserLinks)
- *
- * @param string $accountId
- * Account ID to retrieve the user links for.
- * @param array $optParams Optional parameters.
- *
- * @opt_param int max-results
- * The maximum number of account-user links to include in this response.
- * @opt_param int start-index
- * An index of the first account-user link to retrieve. Use this parameter as a pagination
- * mechanism along with the max-results parameter.
- * @return Google_Service_Analytics_EntityUserLinks
- */
- public function listManagementAccountUserLinks($accountId, $optParams = array())
+
+ public function getCreated()
{
- $params = array('accountId' => $accountId);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Analytics_EntityUserLinks");
+ return $this->created;
}
- /**
- * Updates permissions for an existing user on the given account.
- * (accountUserLinks.update)
- *
- * @param string $accountId
- * Account ID to update the account-user link for.
- * @param string $linkId
- * Link ID to update the account-user link for.
- * @param Google_EntityUserLink $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Analytics_EntityUserLink
- */
- public function update($accountId, $linkId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
+
+ public function setDescription($description)
{
- $params = array('accountId' => $accountId, 'linkId' => $linkId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('update', array($params), "Google_Service_Analytics_EntityUserLink");
+ $this->description = $description;
}
-}
-/**
- * The "accounts" collection of methods.
- * Typical usage is:
- *
- * $analyticsService = new Google_Service_Analytics(...);
- * $accounts = $analyticsService->accounts;
- *
- */
-class Google_Service_Analytics_ManagementAccounts_Resource extends Google_Service_Resource
-{
- /**
- * Lists all accounts to which the user has access.
- * (accounts.listManagementAccounts)
- *
- * @param array $optParams Optional parameters.
- *
- * @opt_param int max-results
- * The maximum number of accounts to include in this response.
- * @opt_param int start-index
- * An index of the first account to retrieve. Use this parameter as a pagination mechanism along
- * with the max-results parameter.
- * @return Google_Service_Analytics_Accounts
- */
- public function listManagementAccounts($optParams = array())
+ public function getDescription()
{
- $params = array();
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Analytics_Accounts");
+ return $this->description;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
}
-}
-/**
- * The "customDataSources" collection of methods.
- * Typical usage is:
- *
- * $analyticsService = new Google_Service_Analytics(...);
- * $customDataSources = $analyticsService->customDataSources;
- *
- */
-class Google_Service_Analytics_ManagementCustomDataSources_Resource extends Google_Service_Resource
-{
- /**
- * List custom data sources to which the user has access.
- * (customDataSources.listManagementCustomDataSources)
- *
- * @param string $accountId
- * Account Id for the custom data sources to retrieve.
- * @param string $webPropertyId
- * Web property Id for the custom data sources to retrieve.
- * @param array $optParams Optional parameters.
- *
- * @opt_param int max-results
- * The maximum number of custom data sources to include in this response.
- * @opt_param int start-index
- * A 1-based index of the first custom data source to retrieve. Use this parameter as a pagination
- * mechanism along with the max-results parameter.
- * @return Google_Service_Analytics_CustomDataSources
- */
- public function listManagementCustomDataSources($accountId, $webPropertyId, $optParams = array())
+ public function getName()
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Analytics_CustomDataSources");
+ return $this->name;
}
-}
-/**
- * The "dailyUploads" collection of methods.
- * Typical usage is:
- *
- * $analyticsService = new Google_Service_Analytics(...);
- * $dailyUploads = $analyticsService->dailyUploads;
- *
- */
-class Google_Service_Analytics_ManagementDailyUploads_Resource extends Google_Service_Resource
-{
- /**
- * Delete uploaded data for the given date. (dailyUploads.delete)
- *
- * @param string $accountId
- * Account Id associated with daily upload delete.
- * @param string $webPropertyId
- * Web property Id associated with daily upload delete.
- * @param string $customDataSourceId
- * Custom data source Id associated with daily upload delete.
- * @param string $date
- * Date for which data is to be deleted. Date should be formatted as YYYY-MM-DD.
- * @param string $type
- * Type of data for this delete.
- * @param array $optParams Optional parameters.
- */
- public function delete($accountId, $webPropertyId, $customDataSourceId, $date, $type, $optParams = array())
+ public function setParentLink(Google_Service_Analytics_CustomDataSourceParentLink $parentLink)
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'date' => $date, 'type' => $type);
- $params = array_merge($params, $optParams);
- return $this->call('delete', array($params));
+ $this->parentLink = $parentLink;
}
- /**
- * List daily uploads to which the user has access.
- * (dailyUploads.listManagementDailyUploads)
- *
- * @param string $accountId
- * Account Id for the daily uploads to retrieve.
- * @param string $webPropertyId
- * Web property Id for the daily uploads to retrieve.
- * @param string $customDataSourceId
- * Custom data source Id for daily uploads to retrieve.
- * @param string $startDate
- * Start date of the form YYYY-MM-DD.
- * @param string $endDate
- * End date of the form YYYY-MM-DD.
- * @param array $optParams Optional parameters.
- *
- * @opt_param int max-results
- * The maximum number of custom data sources to include in this response.
- * @opt_param int start-index
- * A 1-based index of the first daily upload to retrieve. Use this parameter as a pagination
- * mechanism along with the max-results parameter.
- * @return Google_Service_Analytics_DailyUploads
- */
- public function listManagementDailyUploads($accountId, $webPropertyId, $customDataSourceId, $startDate, $endDate, $optParams = array())
+
+ public function getParentLink()
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'start-date' => $startDate, 'end-date' => $endDate);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Analytics_DailyUploads");
+ return $this->parentLink;
}
- /**
- * Update/Overwrite data for a custom data source. (dailyUploads.upload)
- *
- * @param string $accountId
- * Account Id associated with daily upload.
- * @param string $webPropertyId
- * Web property Id associated with daily upload.
- * @param string $customDataSourceId
- * Custom data source Id to which the data being uploaded belongs.
- * @param string $date
- * Date for which data is uploaded. Date should be formatted as YYYY-MM-DD.
- * @param int $appendNumber
- * Append number for this upload indexed from 1.
- * @param string $type
- * Type of data for this upload.
- * @param array $optParams Optional parameters.
- *
- * @opt_param bool reset
- * Reset/Overwrite all previous appends for this date and start over with this file as the first
- * upload.
- * @return Google_Service_Analytics_DailyUploadAppend
- */
- public function upload($accountId, $webPropertyId, $customDataSourceId, $date, $appendNumber, $type, $optParams = array())
+
+ public function setProfilesLinked($profilesLinked)
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'date' => $date, 'appendNumber' => $appendNumber, 'type' => $type);
- $params = array_merge($params, $optParams);
- return $this->call('upload', array($params), "Google_Service_Analytics_DailyUploadAppend");
+ $this->profilesLinked = $profilesLinked;
}
-}
-/**
- * The "experiments" collection of methods.
- * Typical usage is:
- *
- * $analyticsService = new Google_Service_Analytics(...);
- * $experiments = $analyticsService->experiments;
- *
- */
-class Google_Service_Analytics_ManagementExperiments_Resource extends Google_Service_Resource
-{
- /**
- * Delete an experiment. (experiments.delete)
- *
- * @param string $accountId
- * Account ID to which the experiment belongs
- * @param string $webPropertyId
- * Web property ID to which the experiment belongs
- * @param string $profileId
- * View (Profile) ID to which the experiment belongs
- * @param string $experimentId
- * ID of the experiment to delete
- * @param array $optParams Optional parameters.
- */
- public function delete($accountId, $webPropertyId, $profileId, $experimentId, $optParams = array())
+ public function getProfilesLinked()
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId);
- $params = array_merge($params, $optParams);
- return $this->call('delete', array($params));
+ return $this->profilesLinked;
}
- /**
- * Returns an experiment to which the user has access. (experiments.get)
- *
- * @param string $accountId
- * Account ID to retrieve the experiment for.
- * @param string $webPropertyId
- * Web property ID to retrieve the experiment for.
- * @param string $profileId
- * View (Profile) ID to retrieve the experiment for.
- * @param string $experimentId
- * Experiment ID to retrieve the experiment for.
- * @param array $optParams Optional parameters.
- * @return Google_Service_Analytics_Experiment
- */
- public function get($accountId, $webPropertyId, $profileId, $experimentId, $optParams = array())
+
+ public function setSelfLink($selfLink)
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Analytics_Experiment");
+ $this->selfLink = $selfLink;
}
- /**
- * Create a new experiment. (experiments.insert)
- *
- * @param string $accountId
- * Account ID to create the experiment for.
- * @param string $webPropertyId
- * Web property ID to create the experiment for.
- * @param string $profileId
- * View (Profile) ID to create the experiment for.
- * @param Google_Experiment $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Analytics_Experiment
- */
- public function insert($accountId, $webPropertyId, $profileId, Google_Service_Analytics_Experiment $postBody, $optParams = array())
+
+ public function getSelfLink()
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('insert', array($params), "Google_Service_Analytics_Experiment");
+ return $this->selfLink;
}
- /**
- * Lists experiments to which the user has access.
- * (experiments.listManagementExperiments)
- *
- * @param string $accountId
- * Account ID to retrieve experiments for.
- * @param string $webPropertyId
- * Web property ID to retrieve experiments for.
- * @param string $profileId
- * View (Profile) ID to retrieve experiments for.
- * @param array $optParams Optional parameters.
- *
- * @opt_param int max-results
- * The maximum number of experiments to include in this response.
- * @opt_param int start-index
- * An index of the first experiment to retrieve. Use this parameter as a pagination mechanism along
- * with the max-results parameter.
- * @return Google_Service_Analytics_Experiments
- */
- public function listManagementExperiments($accountId, $webPropertyId, $profileId, $optParams = array())
+
+ public function setType($type)
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Analytics_Experiments");
+ $this->type = $type;
}
- /**
- * Update an existing experiment. This method supports patch semantics.
- * (experiments.patch)
- *
- * @param string $accountId
- * Account ID of the experiment to update.
- * @param string $webPropertyId
- * Web property ID of the experiment to update.
- * @param string $profileId
- * View (Profile) ID of the experiment to update.
- * @param string $experimentId
- * Experiment ID of the experiment to update.
- * @param Google_Experiment $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Analytics_Experiment
- */
- public function patch($accountId, $webPropertyId, $profileId, $experimentId, Google_Service_Analytics_Experiment $postBody, $optParams = array())
+
+ public function getType()
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('patch', array($params), "Google_Service_Analytics_Experiment");
+ return $this->type;
}
- /**
- * Update an existing experiment. (experiments.update)
- *
- * @param string $accountId
- * Account ID of the experiment to update.
- * @param string $webPropertyId
- * Web property ID of the experiment to update.
- * @param string $profileId
- * View (Profile) ID of the experiment to update.
- * @param string $experimentId
- * Experiment ID of the experiment to update.
- * @param Google_Experiment $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Analytics_Experiment
- */
- public function update($accountId, $webPropertyId, $profileId, $experimentId, Google_Service_Analytics_Experiment $postBody, $optParams = array())
+
+ public function setUpdated($updated)
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('update', array($params), "Google_Service_Analytics_Experiment");
+ $this->updated = $updated;
}
-}
-/**
- * The "goals" collection of methods.
- * Typical usage is:
- *
- * $analyticsService = new Google_Service_Analytics(...);
- * $goals = $analyticsService->goals;
- *
- */
-class Google_Service_Analytics_ManagementGoals_Resource extends Google_Service_Resource
-{
- /**
- * Gets a goal to which the user has access. (goals.get)
- *
- * @param string $accountId
- * Account ID to retrieve the goal for.
- * @param string $webPropertyId
- * Web property ID to retrieve the goal for.
- * @param string $profileId
- * View (Profile) ID to retrieve the goal for.
- * @param string $goalId
- * Goal ID to retrieve the goal for.
- * @param array $optParams Optional parameters.
- * @return Google_Service_Analytics_Goal
- */
- public function get($accountId, $webPropertyId, $profileId, $goalId, $optParams = array())
+ public function getUpdated()
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'goalId' => $goalId);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Analytics_Goal");
+ return $this->updated;
}
- /**
- * Create a new goal. (goals.insert)
- *
- * @param string $accountId
- * Account ID to create the goal for.
- * @param string $webPropertyId
- * Web property ID to create the goal for.
- * @param string $profileId
- * View (Profile) ID to create the goal for.
- * @param Google_Goal $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Analytics_Goal
- */
- public function insert($accountId, $webPropertyId, $profileId, Google_Service_Analytics_Goal $postBody, $optParams = array())
+
+ public function setWebPropertyId($webPropertyId)
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('insert', array($params), "Google_Service_Analytics_Goal");
+ $this->webPropertyId = $webPropertyId;
}
- /**
- * Lists goals to which the user has access. (goals.listManagementGoals)
- *
- * @param string $accountId
- * Account ID to retrieve goals for. Can either be a specific account ID or '~all', which refers to
- * all the accounts that user has access to.
- * @param string $webPropertyId
- * Web property ID to retrieve goals for. Can either be a specific web property ID or '~all', which
- * refers to all the web properties that user has access to.
- * @param string $profileId
- * View (Profile) ID to retrieve goals for. Can either be a specific view (profile) ID or '~all',
- * which refers to all the views (profiles) that user has access to.
- * @param array $optParams Optional parameters.
- *
- * @opt_param int max-results
- * The maximum number of goals to include in this response.
- * @opt_param int start-index
- * An index of the first goal to retrieve. Use this parameter as a pagination mechanism along with
- * the max-results parameter.
- * @return Google_Service_Analytics_Goals
- */
- public function listManagementGoals($accountId, $webPropertyId, $profileId, $optParams = array())
+
+ public function getWebPropertyId()
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Analytics_Goals");
+ return $this->webPropertyId;
}
- /**
- * Updates an existing view (profile). This method supports patch semantics.
- * (goals.patch)
- *
- * @param string $accountId
- * Account ID to update the goal.
- * @param string $webPropertyId
- * Web property ID to update the goal.
- * @param string $profileId
- * View (Profile) ID to update the goal.
- * @param string $goalId
- * Index of the goal to be updated.
- * @param Google_Goal $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Analytics_Goal
- */
- public function patch($accountId, $webPropertyId, $profileId, $goalId, Google_Service_Analytics_Goal $postBody, $optParams = array())
+}
+
+class Google_Service_Analytics_CustomDataSourceChildLink extends Google_Model
+{
+ public $href;
+ public $type;
+
+ public function setHref($href)
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'goalId' => $goalId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('patch', array($params), "Google_Service_Analytics_Goal");
+ $this->href = $href;
}
- /**
- * Updates an existing view (profile). (goals.update)
- *
- * @param string $accountId
- * Account ID to update the goal.
- * @param string $webPropertyId
- * Web property ID to update the goal.
- * @param string $profileId
- * View (Profile) ID to update the goal.
- * @param string $goalId
- * Index of the goal to be updated.
- * @param Google_Goal $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Analytics_Goal
- */
- public function update($accountId, $webPropertyId, $profileId, $goalId, Google_Service_Analytics_Goal $postBody, $optParams = array())
+
+ public function getHref()
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'goalId' => $goalId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('update', array($params), "Google_Service_Analytics_Goal");
+ return $this->href;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
}
}
-/**
- * The "profileUserLinks" collection of methods.
- * Typical usage is:
- *
- * $analyticsService = new Google_Service_Analytics(...);
- * $profileUserLinks = $analyticsService->profileUserLinks;
- *
- */
-class Google_Service_Analytics_ManagementProfileUserLinks_Resource extends Google_Service_Resource
+
+class Google_Service_Analytics_CustomDataSourceParentLink extends Google_Model
{
+ public $href;
+ public $type;
- /**
- * Removes a user from the given view (profile). (profileUserLinks.delete)
- *
- * @param string $accountId
- * Account ID to delete the user link for.
- * @param string $webPropertyId
- * Web Property ID to delete the user link for.
- * @param string $profileId
- * View (Profile) ID to delete the user link for.
- * @param string $linkId
- * Link ID to delete the user link for.
- * @param array $optParams Optional parameters.
- */
- public function delete($accountId, $webPropertyId, $profileId, $linkId, $optParams = array())
+ public function setHref($href)
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId);
- $params = array_merge($params, $optParams);
- return $this->call('delete', array($params));
+ $this->href = $href;
}
- /**
- * Adds a new user to the given view (profile). (profileUserLinks.insert)
- *
- * @param string $accountId
- * Account ID to create the user link for.
- * @param string $webPropertyId
- * Web Property ID to create the user link for.
- * @param string $profileId
- * View (Profile) ID to create the user link for.
- * @param Google_EntityUserLink $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Analytics_EntityUserLink
- */
- public function insert($accountId, $webPropertyId, $profileId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
+
+ public function getHref()
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('insert', array($params), "Google_Service_Analytics_EntityUserLink");
+ return $this->href;
}
- /**
- * Lists profile-user links for a given view (profile).
- * (profileUserLinks.listManagementProfileUserLinks)
- *
- * @param string $accountId
- * Account ID which the given view (profile) belongs to.
- * @param string $webPropertyId
- * Web Property ID which the given view (profile) belongs to.
- * @param string $profileId
- * View (Profile) ID to retrieve the profile-user links for
- * @param array $optParams Optional parameters.
- *
- * @opt_param int max-results
- * The maximum number of profile-user links to include in this response.
- * @opt_param int start-index
- * An index of the first profile-user link to retrieve. Use this parameter as a pagination
- * mechanism along with the max-results parameter.
- * @return Google_Service_Analytics_EntityUserLinks
- */
- public function listManagementProfileUserLinks($accountId, $webPropertyId, $profileId, $optParams = array())
+
+ public function setType($type)
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Analytics_EntityUserLinks");
+ $this->type = $type;
}
- /**
- * Updates permissions for an existing user on the given view (profile).
- * (profileUserLinks.update)
- *
- * @param string $accountId
- * Account ID to update the user link for.
- * @param string $webPropertyId
- * Web Property ID to update the user link for.
- * @param string $profileId
- * View (Profile ID) to update the user link for.
- * @param string $linkId
- * Link ID to update the user link for.
- * @param Google_EntityUserLink $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Analytics_EntityUserLink
- */
- public function update($accountId, $webPropertyId, $profileId, $linkId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_Analytics_CustomDataSources extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_Analytics_CustomDataSource';
+ protected $itemsDataType = 'array';
+ public $itemsPerPage;
+ public $kind;
+ public $nextLink;
+ public $previousLink;
+ public $startIndex;
+ public $totalResults;
+ public $username;
+
+ public function setItems($items)
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('update', array($params), "Google_Service_Analytics_EntityUserLink");
+ $this->items = $items;
}
-}
-/**
- * The "profiles" collection of methods.
- * Typical usage is:
- *
- * $analyticsService = new Google_Service_Analytics(...);
- * $profiles = $analyticsService->profiles;
- *
- */
-class Google_Service_Analytics_ManagementProfiles_Resource extends Google_Service_Resource
-{
- /**
- * Deletes a view (profile). (profiles.delete)
- *
- * @param string $accountId
- * Account ID to delete the view (profile) for.
- * @param string $webPropertyId
- * Web property ID to delete the view (profile) for.
- * @param string $profileId
- * ID of the view (profile) to be deleted.
- * @param array $optParams Optional parameters.
- */
- public function delete($accountId, $webPropertyId, $profileId, $optParams = array())
+ public function getItems()
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
- $params = array_merge($params, $optParams);
- return $this->call('delete', array($params));
+ return $this->items;
}
- /**
- * Gets a view (profile) to which the user has access. (profiles.get)
- *
- * @param string $accountId
- * Account ID to retrieve the goal for.
- * @param string $webPropertyId
- * Web property ID to retrieve the goal for.
- * @param string $profileId
- * View (Profile) ID to retrieve the goal for.
- * @param array $optParams Optional parameters.
- * @return Google_Service_Analytics_Profile
- */
- public function get($accountId, $webPropertyId, $profileId, $optParams = array())
+
+ public function setItemsPerPage($itemsPerPage)
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Analytics_Profile");
+ $this->itemsPerPage = $itemsPerPage;
}
- /**
- * Create a new view (profile). (profiles.insert)
- *
- * @param string $accountId
- * Account ID to create the view (profile) for.
- * @param string $webPropertyId
- * Web property ID to create the view (profile) for.
- * @param Google_Profile $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Analytics_Profile
- */
- public function insert($accountId, $webPropertyId, Google_Service_Analytics_Profile $postBody, $optParams = array())
+
+ public function getItemsPerPage()
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('insert', array($params), "Google_Service_Analytics_Profile");
+ return $this->itemsPerPage;
}
- /**
- * Lists views (profiles) to which the user has access.
- * (profiles.listManagementProfiles)
- *
- * @param string $accountId
- * Account ID for the view (profiles) to retrieve. Can either be a specific account ID or '~all',
- * which refers to all the accounts to which the user has access.
- * @param string $webPropertyId
- * Web property ID for the views (profiles) to retrieve. Can either be a specific web property ID
- * or '~all', which refers to all the web properties to which the user has access.
- * @param array $optParams Optional parameters.
- *
- * @opt_param int max-results
- * The maximum number of views (profiles) to include in this response.
- * @opt_param int start-index
- * An index of the first entity to retrieve. Use this parameter as a pagination mechanism along
- * with the max-results parameter.
- * @return Google_Service_Analytics_Profiles
- */
- public function listManagementProfiles($accountId, $webPropertyId, $optParams = array())
+
+ public function setKind($kind)
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Analytics_Profiles");
+ $this->kind = $kind;
}
- /**
- * Updates an existing view (profile). This method supports patch semantics.
- * (profiles.patch)
- *
- * @param string $accountId
- * Account ID to which the view (profile) belongs
- * @param string $webPropertyId
- * Web property ID to which the view (profile) belongs
- * @param string $profileId
- * ID of the view (profile) to be updated.
- * @param Google_Profile $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Analytics_Profile
- */
- public function patch($accountId, $webPropertyId, $profileId, Google_Service_Analytics_Profile $postBody, $optParams = array())
+
+ public function getKind()
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('patch', array($params), "Google_Service_Analytics_Profile");
+ return $this->kind;
}
- /**
- * Updates an existing view (profile). (profiles.update)
- *
- * @param string $accountId
- * Account ID to which the view (profile) belongs
- * @param string $webPropertyId
- * Web property ID to which the view (profile) belongs
- * @param string $profileId
- * ID of the view (profile) to be updated.
- * @param Google_Profile $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Analytics_Profile
- */
- public function update($accountId, $webPropertyId, $profileId, Google_Service_Analytics_Profile $postBody, $optParams = array())
+
+ public function setNextLink($nextLink)
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('update', array($params), "Google_Service_Analytics_Profile");
+ $this->nextLink = $nextLink;
}
-}
-/**
- * The "segments" collection of methods.
- * Typical usage is:
- *
- * $analyticsService = new Google_Service_Analytics(...);
- * $segments = $analyticsService->segments;
- *
- */
-class Google_Service_Analytics_ManagementSegments_Resource extends Google_Service_Resource
-{
- /**
- * Lists segments to which the user has access.
- * (segments.listManagementSegments)
- *
- * @param array $optParams Optional parameters.
- *
- * @opt_param int max-results
- * The maximum number of segments to include in this response.
- * @opt_param int start-index
- * An index of the first segment to retrieve. Use this parameter as a pagination mechanism along
- * with the max-results parameter.
- * @return Google_Service_Analytics_Segments
- */
- public function listManagementSegments($optParams = array())
+ public function getNextLink()
{
- $params = array();
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Analytics_Segments");
+ return $this->nextLink;
}
-}
-/**
- * The "uploads" collection of methods.
- * Typical usage is:
- *
- * $analyticsService = new Google_Service_Analytics(...);
- * $uploads = $analyticsService->uploads;
- *
- */
-class Google_Service_Analytics_ManagementUploads_Resource extends Google_Service_Resource
-{
- /**
- * Delete data associated with a previous upload. (uploads.deleteUploadData)
- *
- * @param string $accountId
- * Account Id for the uploads to be deleted.
- * @param string $webPropertyId
- * Web property Id for the uploads to be deleted.
- * @param string $customDataSourceId
- * Custom data source Id for the uploads to be deleted.
- * @param Google_AnalyticsDataimportDeleteUploadDataRequest $postBody
- * @param array $optParams Optional parameters.
- */
- public function deleteUploadData($accountId, $webPropertyId, $customDataSourceId, Google_Service_Analytics_AnalyticsDataimportDeleteUploadDataRequest $postBody, $optParams = array())
+ public function setPreviousLink($previousLink)
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('deleteUploadData', array($params));
+ $this->previousLink = $previousLink;
}
- /**
- * List uploads to which the user has access. (uploads.get)
- *
- * @param string $accountId
- * Account Id for the upload to retrieve.
- * @param string $webPropertyId
- * Web property Id for the upload to retrieve.
- * @param string $customDataSourceId
- * Custom data source Id for upload to retrieve.
- * @param string $uploadId
- * Upload Id to retrieve.
- * @param array $optParams Optional parameters.
- * @return Google_Service_Analytics_Upload
- */
- public function get($accountId, $webPropertyId, $customDataSourceId, $uploadId, $optParams = array())
+
+ public function getPreviousLink()
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'uploadId' => $uploadId);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Analytics_Upload");
+ return $this->previousLink;
}
- /**
- * List uploads to which the user has access. (uploads.listManagementUploads)
- *
- * @param string $accountId
- * Account Id for the uploads to retrieve.
- * @param string $webPropertyId
- * Web property Id for the uploads to retrieve.
- * @param string $customDataSourceId
- * Custom data source Id for uploads to retrieve.
- * @param array $optParams Optional parameters.
- *
- * @opt_param int max-results
- * The maximum number of uploads to include in this response.
- * @opt_param int start-index
- * A 1-based index of the first upload to retrieve. Use this parameter as a pagination mechanism
- * along with the max-results parameter.
- * @return Google_Service_Analytics_Uploads
- */
- public function listManagementUploads($accountId, $webPropertyId, $customDataSourceId, $optParams = array())
+
+ public function setStartIndex($startIndex)
+ {
+ $this->startIndex = $startIndex;
+ }
+
+ public function getStartIndex()
+ {
+ return $this->startIndex;
+ }
+
+ public function setTotalResults($totalResults)
+ {
+ $this->totalResults = $totalResults;
+ }
+
+ public function getTotalResults()
+ {
+ return $this->totalResults;
+ }
+
+ public function setUsername($username)
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Analytics_Uploads");
+ $this->username = $username;
}
- /**
- * Upload data for a custom data source. (uploads.uploadData)
- *
- * @param string $accountId
- * Account Id associated with the upload.
- * @param string $webPropertyId
- * Web property UA-string associated with the upload.
- * @param string $customDataSourceId
- * Custom data source Id to which the data being uploaded belongs.
- * @param array $optParams Optional parameters.
- * @return Google_Service_Analytics_Upload
- */
- public function uploadData($accountId, $webPropertyId, $customDataSourceId, $optParams = array())
+
+ public function getUsername()
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId);
- $params = array_merge($params, $optParams);
- return $this->call('uploadData', array($params), "Google_Service_Analytics_Upload");
+ return $this->username;
}
}
-/**
- * The "webproperties" collection of methods.
- * Typical usage is:
- *
- * $analyticsService = new Google_Service_Analytics(...);
- * $webproperties = $analyticsService->webproperties;
- *
- */
-class Google_Service_Analytics_ManagementWebproperties_Resource extends Google_Service_Resource
+
+class Google_Service_Analytics_DailyUpload extends Google_Collection
{
+ public $accountId;
+ public $appendCount;
+ public $createdTime;
+ public $customDataSourceId;
+ public $date;
+ public $kind;
+ public $modifiedTime;
+ protected $parentLinkType = 'Google_Service_Analytics_DailyUploadParentLink';
+ protected $parentLinkDataType = '';
+ protected $recentChangesType = 'Google_Service_Analytics_DailyUploadRecentChanges';
+ protected $recentChangesDataType = 'array';
+ public $selfLink;
+ public $webPropertyId;
- /**
- * Gets a web property to which the user has access. (webproperties.get)
- *
- * @param string $accountId
- * Account ID to retrieve the web property for.
- * @param string $webPropertyId
- * ID to retrieve the web property for.
- * @param array $optParams Optional parameters.
- * @return Google_Service_Analytics_Webproperty
- */
- public function get($accountId, $webPropertyId, $optParams = array())
+ public function setAccountId($accountId)
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Analytics_Webproperty");
+ $this->accountId = $accountId;
}
- /**
- * Create a new property if the account has fewer than 20 properties. Web
- * properties are visible in the Google Analytics interface only if they have at
- * least one profile. (webproperties.insert)
- *
- * @param string $accountId
- * Account ID to create the web property for.
- * @param Google_Webproperty $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Analytics_Webproperty
- */
- public function insert($accountId, Google_Service_Analytics_Webproperty $postBody, $optParams = array())
+
+ public function getAccountId()
{
- $params = array('accountId' => $accountId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('insert', array($params), "Google_Service_Analytics_Webproperty");
+ return $this->accountId;
}
- /**
- * Lists web properties to which the user has access.
- * (webproperties.listManagementWebproperties)
- *
- * @param string $accountId
- * Account ID to retrieve web properties for. Can either be a specific account ID or '~all', which
- * refers to all the accounts that user has access to.
- * @param array $optParams Optional parameters.
- *
- * @opt_param int max-results
- * The maximum number of web properties to include in this response.
- * @opt_param int start-index
- * An index of the first entity to retrieve. Use this parameter as a pagination mechanism along
- * with the max-results parameter.
- * @return Google_Service_Analytics_Webproperties
- */
- public function listManagementWebproperties($accountId, $optParams = array())
+
+ public function setAppendCount($appendCount)
{
- $params = array('accountId' => $accountId);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Analytics_Webproperties");
+ $this->appendCount = $appendCount;
}
- /**
- * Updates an existing web property. This method supports patch semantics.
- * (webproperties.patch)
- *
- * @param string $accountId
- * Account ID to which the web property belongs
- * @param string $webPropertyId
- * Web property ID
- * @param Google_Webproperty $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Analytics_Webproperty
- */
- public function patch($accountId, $webPropertyId, Google_Service_Analytics_Webproperty $postBody, $optParams = array())
+
+ public function getAppendCount()
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('patch', array($params), "Google_Service_Analytics_Webproperty");
+ return $this->appendCount;
}
- /**
- * Updates an existing web property. (webproperties.update)
- *
- * @param string $accountId
- * Account ID to which the web property belongs
- * @param string $webPropertyId
- * Web property ID
- * @param Google_Webproperty $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Analytics_Webproperty
- */
- public function update($accountId, $webPropertyId, Google_Service_Analytics_Webproperty $postBody, $optParams = array())
+
+ public function setCreatedTime($createdTime)
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('update', array($params), "Google_Service_Analytics_Webproperty");
+ $this->createdTime = $createdTime;
}
-}
-/**
- * The "webpropertyUserLinks" collection of methods.
- * Typical usage is:
- *
- * $analyticsService = new Google_Service_Analytics(...);
- * $webpropertyUserLinks = $analyticsService->webpropertyUserLinks;
- *
- */
-class Google_Service_Analytics_ManagementWebpropertyUserLinks_Resource extends Google_Service_Resource
-{
- /**
- * Removes a user from the given web property. (webpropertyUserLinks.delete)
- *
- * @param string $accountId
- * Account ID to delete the user link for.
- * @param string $webPropertyId
- * Web Property ID to delete the user link for.
- * @param string $linkId
- * Link ID to delete the user link for.
- * @param array $optParams Optional parameters.
- */
- public function delete($accountId, $webPropertyId, $linkId, $optParams = array())
+ public function getCreatedTime()
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'linkId' => $linkId);
- $params = array_merge($params, $optParams);
- return $this->call('delete', array($params));
+ return $this->createdTime;
}
- /**
- * Adds a new user to the given web property. (webpropertyUserLinks.insert)
- *
- * @param string $accountId
- * Account ID to create the user link for.
- * @param string $webPropertyId
- * Web Property ID to create the user link for.
- * @param Google_EntityUserLink $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Analytics_EntityUserLink
- */
- public function insert($accountId, $webPropertyId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
+
+ public function setCustomDataSourceId($customDataSourceId)
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('insert', array($params), "Google_Service_Analytics_EntityUserLink");
+ $this->customDataSourceId = $customDataSourceId;
}
- /**
- * Lists webProperty-user links for a given web property.
- * (webpropertyUserLinks.listManagementWebpropertyUserLinks)
- *
- * @param string $accountId
- * Account ID which the given web property belongs to.
- * @param string $webPropertyId
- * Web Property ID for the webProperty-user links to retrieve.
- * @param array $optParams Optional parameters.
- *
- * @opt_param int max-results
- * The maximum number of webProperty-user Links to include in this response.
- * @opt_param int start-index
- * An index of the first webProperty-user link to retrieve. Use this parameter as a pagination
- * mechanism along with the max-results parameter.
- * @return Google_Service_Analytics_EntityUserLinks
- */
- public function listManagementWebpropertyUserLinks($accountId, $webPropertyId, $optParams = array())
+
+ public function getCustomDataSourceId()
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Analytics_EntityUserLinks");
+ return $this->customDataSourceId;
}
- /**
- * Updates permissions for an existing user on the given web property.
- * (webpropertyUserLinks.update)
- *
- * @param string $accountId
- * Account ID to update the account-user link for.
- * @param string $webPropertyId
- * Web property ID to update the account-user link for.
- * @param string $linkId
- * Link ID to update the account-user link for.
- * @param Google_EntityUserLink $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Analytics_EntityUserLink
- */
- public function update($accountId, $webPropertyId, $linkId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
+
+ public function setDate($date)
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'linkId' => $linkId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('update', array($params), "Google_Service_Analytics_EntityUserLink");
+ $this->date = $date;
+ }
+
+ public function getDate()
+ {
+ return $this->date;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setModifiedTime($modifiedTime)
+ {
+ $this->modifiedTime = $modifiedTime;
}
-}
-
-/**
- * The "metadata" collection of methods.
- * Typical usage is:
- *
- * $analyticsService = new Google_Service_Analytics(...);
- * $metadata = $analyticsService->metadata;
- *
- */
-class Google_Service_Analytics_Metadata_Resource extends Google_Service_Resource
-{
-}
+ public function getModifiedTime()
+ {
+ return $this->modifiedTime;
+ }
-/**
- * The "columns" collection of methods.
- * Typical usage is:
- *
- * $analyticsService = new Google_Service_Analytics(...);
- * $columns = $analyticsService->columns;
- *
- */
-class Google_Service_Analytics_MetadataColumns_Resource extends Google_Service_Resource
-{
+ public function setParentLink(Google_Service_Analytics_DailyUploadParentLink $parentLink)
+ {
+ $this->parentLink = $parentLink;
+ }
- /**
- * Lists all columns for a report type (columns.listMetadataColumns)
- *
- * @param string $reportType
- * Report type. Allowed Values: 'ga'. Where 'ga' corresponds to the Core Reporting API
- * @param array $optParams Optional parameters.
- * @return Google_Service_Analytics_Columns
- */
- public function listMetadataColumns($reportType, $optParams = array())
+ public function getParentLink()
{
- $params = array('reportType' => $reportType);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Analytics_Columns");
+ return $this->parentLink;
}
-}
+ public function setRecentChanges($recentChanges)
+ {
+ $this->recentChanges = $recentChanges;
+ }
+ public function getRecentChanges()
+ {
+ return $this->recentChanges;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
-class Google_Service_Analytics_Account extends Google_Model
-{
- protected $childLinkType = 'Google_Service_Analytics_AccountChildLink';
- protected $childLinkDataType = '';
- public $created;
- public $id;
- public $kind;
- public $name;
- protected $permissionsType = 'Google_Service_Analytics_AccountPermissions';
- protected $permissionsDataType = '';
- public $selfLink;
- public $updated;
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
- public function setChildLink(Google_Service_Analytics_AccountChildLink $childLink)
+ public function setWebPropertyId($webPropertyId)
{
- $this->childLink = $childLink;
+ $this->webPropertyId = $webPropertyId;
}
- public function getChildLink()
+ public function getWebPropertyId()
{
- return $this->childLink;
+ return $this->webPropertyId;
}
+}
- public function setCreated($created)
+class Google_Service_Analytics_DailyUploadAppend extends Google_Model
+{
+ public $accountId;
+ public $appendNumber;
+ public $customDataSourceId;
+ public $date;
+ public $kind;
+ public $nextAppendLink;
+ public $webPropertyId;
+
+ public function setAccountId($accountId)
{
- $this->created = $created;
+ $this->accountId = $accountId;
}
- public function getCreated()
+ public function getAccountId()
{
- return $this->created;
+ return $this->accountId;
}
- public function setId($id)
+ public function setAppendNumber($appendNumber)
{
- $this->id = $id;
+ $this->appendNumber = $appendNumber;
}
- public function getId()
+ public function getAppendNumber()
{
- return $this->id;
+ return $this->appendNumber;
}
- public function setKind($kind)
+ public function setCustomDataSourceId($customDataSourceId)
{
- $this->kind = $kind;
+ $this->customDataSourceId = $customDataSourceId;
}
- public function getKind()
+ public function getCustomDataSourceId()
{
- return $this->kind;
+ return $this->customDataSourceId;
}
- public function setName($name)
+ public function setDate($date)
{
- $this->name = $name;
+ $this->date = $date;
}
- public function getName()
+ public function getDate()
{
- return $this->name;
+ return $this->date;
}
- public function setPermissions(Google_Service_Analytics_AccountPermissions $permissions)
+ public function setKind($kind)
{
- $this->permissions = $permissions;
+ $this->kind = $kind;
}
- public function getPermissions()
+ public function getKind()
{
- return $this->permissions;
+ return $this->kind;
}
- public function setSelfLink($selfLink)
+ public function setNextAppendLink($nextAppendLink)
{
- $this->selfLink = $selfLink;
+ $this->nextAppendLink = $nextAppendLink;
}
- public function getSelfLink()
+ public function getNextAppendLink()
{
- return $this->selfLink;
+ return $this->nextAppendLink;
}
- public function setUpdated($updated)
+ public function setWebPropertyId($webPropertyId)
{
- $this->updated = $updated;
+ $this->webPropertyId = $webPropertyId;
}
- public function getUpdated()
+ public function getWebPropertyId()
{
- return $this->updated;
+ return $this->webPropertyId;
}
}
-class Google_Service_Analytics_AccountChildLink extends Google_Model
+class Google_Service_Analytics_DailyUploadParentLink extends Google_Model
{
public $href;
public $type;
@@ -2755,36 +4789,155 @@ public function getType()
}
}
-class Google_Service_Analytics_AccountPermissions extends Google_Collection
+class Google_Service_Analytics_DailyUploadRecentChanges extends Google_Model
{
- public $effective;
+ public $change;
+ public $time;
+
+ public function setChange($change)
+ {
+ $this->change = $change;
+ }
+
+ public function getChange()
+ {
+ return $this->change;
+ }
+
+ public function setTime($time)
+ {
+ $this->time = $time;
+ }
+
+ public function getTime()
+ {
+ return $this->time;
+ }
+}
+
+class Google_Service_Analytics_DailyUploads extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_Analytics_DailyUpload';
+ protected $itemsDataType = 'array';
+ public $itemsPerPage;
+ public $kind;
+ public $nextLink;
+ public $previousLink;
+ public $startIndex;
+ public $totalResults;
+ public $username;
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setItemsPerPage($itemsPerPage)
+ {
+ $this->itemsPerPage = $itemsPerPage;
+ }
+
+ public function getItemsPerPage()
+ {
+ return $this->itemsPerPage;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextLink($nextLink)
+ {
+ $this->nextLink = $nextLink;
+ }
+
+ public function getNextLink()
+ {
+ return $this->nextLink;
+ }
+
+ public function setPreviousLink($previousLink)
+ {
+ $this->previousLink = $previousLink;
+ }
+
+ public function getPreviousLink()
+ {
+ return $this->previousLink;
+ }
+
+ public function setStartIndex($startIndex)
+ {
+ $this->startIndex = $startIndex;
+ }
+
+ public function getStartIndex()
+ {
+ return $this->startIndex;
+ }
+
+ public function setTotalResults($totalResults)
+ {
+ $this->totalResults = $totalResults;
+ }
+
+ public function getTotalResults()
+ {
+ return $this->totalResults;
+ }
- public function setEffective($effective)
+ public function setUsername($username)
{
- $this->effective = $effective;
+ $this->username = $username;
}
- public function getEffective()
+ public function getUsername()
{
- return $this->effective;
+ return $this->username;
}
}
-class Google_Service_Analytics_AccountRef extends Google_Model
+class Google_Service_Analytics_EntityAdWordsLink extends Google_Collection
{
- public $href;
+ protected $adWordsAccountsType = 'Google_Service_Analytics_AdWordsAccount';
+ protected $adWordsAccountsDataType = 'array';
+ protected $entityType = 'Google_Service_Analytics_EntityAdWordsLinkEntity';
+ protected $entityDataType = '';
public $id;
public $kind;
public $name;
+ public $profileIds;
+ public $selfLink;
- public function setHref($href)
+ public function setAdWordsAccounts($adWordsAccounts)
{
- $this->href = $href;
+ $this->adWordsAccounts = $adWordsAccounts;
}
- public function getHref()
+ public function getAdWordsAccounts()
{
- return $this->href;
+ return $this->adWordsAccounts;
+ }
+
+ public function setEntity(Google_Service_Analytics_EntityAdWordsLinkEntity $entity)
+ {
+ $this->entity = $entity;
+ }
+
+ public function getEntity()
+ {
+ return $this->entity;
}
public function setId($id)
@@ -2816,11 +4969,47 @@ public function getName()
{
return $this->name;
}
+
+ public function setProfileIds($profileIds)
+ {
+ $this->profileIds = $profileIds;
+ }
+
+ public function getProfileIds()
+ {
+ return $this->profileIds;
+ }
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
}
-class Google_Service_Analytics_AccountSummaries extends Google_Collection
+class Google_Service_Analytics_EntityAdWordsLinkEntity extends Google_Model
{
- protected $itemsType = 'Google_Service_Analytics_AccountSummary';
+ protected $webPropertyRefType = 'Google_Service_Analytics_WebPropertyRef';
+ protected $webPropertyRefDataType = '';
+
+ public function setWebPropertyRef(Google_Service_Analytics_WebPropertyRef $webPropertyRef)
+ {
+ $this->webPropertyRef = $webPropertyRef;
+ }
+
+ public function getWebPropertyRef()
+ {
+ return $this->webPropertyRef;
+ }
+}
+
+class Google_Service_Analytics_EntityAdWordsLinks extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_Analytics_EntityAdWordsLink';
protected $itemsDataType = 'array';
public $itemsPerPage;
public $kind;
@@ -2828,7 +5017,6 @@ class Google_Service_Analytics_AccountSummaries extends Google_Collection
public $previousLink;
public $startIndex;
public $totalResults;
- public $username;
public function setItems($items)
{
@@ -2899,25 +5087,29 @@ public function getTotalResults()
{
return $this->totalResults;
}
+}
- public function setUsername($username)
+class Google_Service_Analytics_EntityUserLink extends Google_Model
+{
+ protected $entityType = 'Google_Service_Analytics_EntityUserLinkEntity';
+ protected $entityDataType = '';
+ public $id;
+ public $kind;
+ protected $permissionsType = 'Google_Service_Analytics_EntityUserLinkPermissions';
+ protected $permissionsDataType = '';
+ public $selfLink;
+ protected $userRefType = 'Google_Service_Analytics_UserRef';
+ protected $userRefDataType = '';
+
+ public function setEntity(Google_Service_Analytics_EntityUserLinkEntity $entity)
{
- $this->username = $username;
+ $this->entity = $entity;
}
- public function getUsername()
+ public function getEntity()
{
- return $this->username;
+ return $this->entity;
}
-}
-
-class Google_Service_Analytics_AccountSummary extends Google_Collection
-{
- public $id;
- public $kind;
- public $name;
- protected $webPropertiesType = 'Google_Service_Analytics_WebPropertySummary';
- protected $webPropertiesDataType = 'array';
public function setId($id)
{
@@ -2939,30 +5131,106 @@ public function getKind()
return $this->kind;
}
- public function setName($name)
+ public function setPermissions(Google_Service_Analytics_EntityUserLinkPermissions $permissions)
{
- $this->name = $name;
+ $this->permissions = $permissions;
}
- public function getName()
+ public function getPermissions()
{
- return $this->name;
+ return $this->permissions;
}
- public function setWebProperties($webProperties)
+ public function setSelfLink($selfLink)
{
- $this->webProperties = $webProperties;
+ $this->selfLink = $selfLink;
}
- public function getWebProperties()
+ public function getSelfLink()
{
- return $this->webProperties;
+ return $this->selfLink;
+ }
+
+ public function setUserRef(Google_Service_Analytics_UserRef $userRef)
+ {
+ $this->userRef = $userRef;
+ }
+
+ public function getUserRef()
+ {
+ return $this->userRef;
}
}
-class Google_Service_Analytics_Accounts extends Google_Collection
+class Google_Service_Analytics_EntityUserLinkEntity extends Google_Model
{
- protected $itemsType = 'Google_Service_Analytics_Account';
+ protected $accountRefType = 'Google_Service_Analytics_AccountRef';
+ protected $accountRefDataType = '';
+ protected $profileRefType = 'Google_Service_Analytics_ProfileRef';
+ protected $profileRefDataType = '';
+ protected $webPropertyRefType = 'Google_Service_Analytics_WebPropertyRef';
+ protected $webPropertyRefDataType = '';
+
+ public function setAccountRef(Google_Service_Analytics_AccountRef $accountRef)
+ {
+ $this->accountRef = $accountRef;
+ }
+
+ public function getAccountRef()
+ {
+ return $this->accountRef;
+ }
+
+ public function setProfileRef(Google_Service_Analytics_ProfileRef $profileRef)
+ {
+ $this->profileRef = $profileRef;
+ }
+
+ public function getProfileRef()
+ {
+ return $this->profileRef;
+ }
+
+ public function setWebPropertyRef(Google_Service_Analytics_WebPropertyRef $webPropertyRef)
+ {
+ $this->webPropertyRef = $webPropertyRef;
+ }
+
+ public function getWebPropertyRef()
+ {
+ return $this->webPropertyRef;
+ }
+}
+
+class Google_Service_Analytics_EntityUserLinkPermissions extends Google_Collection
+{
+ public $effective;
+ public $local;
+
+ public function setEffective($effective)
+ {
+ $this->effective = $effective;
+ }
+
+ public function getEffective()
+ {
+ return $this->effective;
+ }
+
+ public function setLocal($local)
+ {
+ $this->local = $local;
+ }
+
+ public function getLocal()
+ {
+ return $this->local;
+ }
+}
+
+class Google_Service_Analytics_EntityUserLinks extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_Analytics_EntityUserLink';
protected $itemsDataType = 'array';
public $itemsPerPage;
public $kind;
@@ -2970,7 +5238,6 @@ class Google_Service_Analytics_Accounts extends Google_Collection
public $previousLink;
public $startIndex;
public $totalResults;
- public $username;
public function setItems($items)
{
@@ -3041,47 +5308,99 @@ public function getTotalResults()
{
return $this->totalResults;
}
+}
- public function setUsername($username)
+class Google_Service_Analytics_Experiment extends Google_Collection
+{
+ public $accountId;
+ public $created;
+ public $description;
+ public $editableInGaUi;
+ public $endTime;
+ public $equalWeighting;
+ public $id;
+ public $internalWebPropertyId;
+ public $kind;
+ public $minimumExperimentLengthInDays;
+ public $name;
+ public $objectiveMetric;
+ public $optimizationType;
+ protected $parentLinkType = 'Google_Service_Analytics_ExperimentParentLink';
+ protected $parentLinkDataType = '';
+ public $profileId;
+ public $reasonExperimentEnded;
+ public $rewriteVariationUrlsAsOriginal;
+ public $selfLink;
+ public $servingFramework;
+ public $snippet;
+ public $startTime;
+ public $status;
+ public $trafficCoverage;
+ public $updated;
+ protected $variationsType = 'Google_Service_Analytics_ExperimentVariations';
+ protected $variationsDataType = 'array';
+ public $webPropertyId;
+ public $winnerConfidenceLevel;
+ public $winnerFound;
+
+ public function setAccountId($accountId)
{
- $this->username = $username;
+ $this->accountId = $accountId;
}
- public function getUsername()
+ public function getAccountId()
{
- return $this->username;
+ return $this->accountId;
+ }
+
+ public function setCreated($created)
+ {
+ $this->created = $created;
+ }
+
+ public function getCreated()
+ {
+ return $this->created;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setEditableInGaUi($editableInGaUi)
+ {
+ $this->editableInGaUi = $editableInGaUi;
}
-}
-
-class Google_Service_Analytics_AnalyticsDataimportDeleteUploadDataRequest extends Google_Collection
-{
- public $customDataImportUids;
- public function setCustomDataImportUids($customDataImportUids)
+ public function getEditableInGaUi()
{
- $this->customDataImportUids = $customDataImportUids;
+ return $this->editableInGaUi;
}
- public function getCustomDataImportUids()
+ public function setEndTime($endTime)
{
- return $this->customDataImportUids;
+ $this->endTime = $endTime;
}
-}
-class Google_Service_Analytics_Column extends Google_Model
-{
- public $attributes;
- public $id;
- public $kind;
+ public function getEndTime()
+ {
+ return $this->endTime;
+ }
- public function setAttributes($attributes)
+ public function setEqualWeighting($equalWeighting)
{
- $this->attributes = $attributes;
+ $this->equalWeighting = $equalWeighting;
}
- public function getAttributes()
+ public function getEqualWeighting()
{
- return $this->attributes;
+ return $this->equalWeighting;
}
public function setId($id)
@@ -3094,6 +5413,16 @@ public function getId()
return $this->id;
}
+ public function setInternalWebPropertyId($internalWebPropertyId)
+ {
+ $this->internalWebPropertyId = $internalWebPropertyId;
+ }
+
+ public function getInternalWebPropertyId()
+ {
+ return $this->internalWebPropertyId;
+ }
+
public function setKind($kind)
{
$this->kind = $kind;
@@ -3103,218 +5432,199 @@ public function getKind()
{
return $this->kind;
}
-}
-class Google_Service_Analytics_Columns extends Google_Collection
-{
- public $attributeNames;
- public $etag;
- protected $itemsType = 'Google_Service_Analytics_Column';
- protected $itemsDataType = 'array';
- public $kind;
- public $totalResults;
+ public function setMinimumExperimentLengthInDays($minimumExperimentLengthInDays)
+ {
+ $this->minimumExperimentLengthInDays = $minimumExperimentLengthInDays;
+ }
- public function setAttributeNames($attributeNames)
+ public function getMinimumExperimentLengthInDays()
{
- $this->attributeNames = $attributeNames;
+ return $this->minimumExperimentLengthInDays;
}
- public function getAttributeNames()
+ public function setName($name)
{
- return $this->attributeNames;
+ $this->name = $name;
}
- public function setEtag($etag)
+ public function getName()
{
- $this->etag = $etag;
+ return $this->name;
}
- public function getEtag()
+ public function setObjectiveMetric($objectiveMetric)
{
- return $this->etag;
+ $this->objectiveMetric = $objectiveMetric;
}
- public function setItems($items)
+ public function getObjectiveMetric()
{
- $this->items = $items;
+ return $this->objectiveMetric;
}
- public function getItems()
+ public function setOptimizationType($optimizationType)
{
- return $this->items;
+ $this->optimizationType = $optimizationType;
}
- public function setKind($kind)
+ public function getOptimizationType()
{
- $this->kind = $kind;
+ return $this->optimizationType;
}
- public function getKind()
+ public function setParentLink(Google_Service_Analytics_ExperimentParentLink $parentLink)
{
- return $this->kind;
+ $this->parentLink = $parentLink;
}
- public function setTotalResults($totalResults)
+ public function getParentLink()
{
- $this->totalResults = $totalResults;
+ return $this->parentLink;
}
- public function getTotalResults()
+ public function setProfileId($profileId)
{
- return $this->totalResults;
+ $this->profileId = $profileId;
}
-}
-class Google_Service_Analytics_CustomDataSource extends Google_Collection
-{
- public $accountId;
- protected $childLinkType = 'Google_Service_Analytics_CustomDataSourceChildLink';
- protected $childLinkDataType = '';
- public $created;
- public $description;
- public $id;
- public $kind;
- public $name;
- protected $parentLinkType = 'Google_Service_Analytics_CustomDataSourceParentLink';
- protected $parentLinkDataType = '';
- public $profilesLinked;
- public $selfLink;
- public $type;
- public $updated;
- public $webPropertyId;
+ public function getProfileId()
+ {
+ return $this->profileId;
+ }
- public function setAccountId($accountId)
+ public function setReasonExperimentEnded($reasonExperimentEnded)
{
- $this->accountId = $accountId;
+ $this->reasonExperimentEnded = $reasonExperimentEnded;
}
- public function getAccountId()
+ public function getReasonExperimentEnded()
{
- return $this->accountId;
+ return $this->reasonExperimentEnded;
}
- public function setChildLink(Google_Service_Analytics_CustomDataSourceChildLink $childLink)
+ public function setRewriteVariationUrlsAsOriginal($rewriteVariationUrlsAsOriginal)
{
- $this->childLink = $childLink;
+ $this->rewriteVariationUrlsAsOriginal = $rewriteVariationUrlsAsOriginal;
}
- public function getChildLink()
+ public function getRewriteVariationUrlsAsOriginal()
{
- return $this->childLink;
+ return $this->rewriteVariationUrlsAsOriginal;
}
- public function setCreated($created)
+ public function setSelfLink($selfLink)
{
- $this->created = $created;
+ $this->selfLink = $selfLink;
}
- public function getCreated()
+ public function getSelfLink()
{
- return $this->created;
+ return $this->selfLink;
}
- public function setDescription($description)
+ public function setServingFramework($servingFramework)
{
- $this->description = $description;
+ $this->servingFramework = $servingFramework;
}
- public function getDescription()
+ public function getServingFramework()
{
- return $this->description;
+ return $this->servingFramework;
}
- public function setId($id)
+ public function setSnippet($snippet)
{
- $this->id = $id;
+ $this->snippet = $snippet;
}
- public function getId()
+ public function getSnippet()
{
- return $this->id;
+ return $this->snippet;
}
- public function setKind($kind)
+ public function setStartTime($startTime)
{
- $this->kind = $kind;
+ $this->startTime = $startTime;
}
- public function getKind()
+ public function getStartTime()
{
- return $this->kind;
+ return $this->startTime;
}
- public function setName($name)
+ public function setStatus($status)
{
- $this->name = $name;
+ $this->status = $status;
}
- public function getName()
+ public function getStatus()
{
- return $this->name;
+ return $this->status;
}
- public function setParentLink(Google_Service_Analytics_CustomDataSourceParentLink $parentLink)
+ public function setTrafficCoverage($trafficCoverage)
{
- $this->parentLink = $parentLink;
+ $this->trafficCoverage = $trafficCoverage;
}
- public function getParentLink()
+ public function getTrafficCoverage()
{
- return $this->parentLink;
+ return $this->trafficCoverage;
}
- public function setProfilesLinked($profilesLinked)
+ public function setUpdated($updated)
{
- $this->profilesLinked = $profilesLinked;
+ $this->updated = $updated;
}
- public function getProfilesLinked()
+ public function getUpdated()
{
- return $this->profilesLinked;
+ return $this->updated;
}
- public function setSelfLink($selfLink)
+ public function setVariations($variations)
{
- $this->selfLink = $selfLink;
+ $this->variations = $variations;
}
- public function getSelfLink()
+ public function getVariations()
{
- return $this->selfLink;
+ return $this->variations;
}
- public function setType($type)
+ public function setWebPropertyId($webPropertyId)
{
- $this->type = $type;
+ $this->webPropertyId = $webPropertyId;
}
- public function getType()
+ public function getWebPropertyId()
{
- return $this->type;
+ return $this->webPropertyId;
}
- public function setUpdated($updated)
+ public function setWinnerConfidenceLevel($winnerConfidenceLevel)
{
- $this->updated = $updated;
+ $this->winnerConfidenceLevel = $winnerConfidenceLevel;
}
- public function getUpdated()
+ public function getWinnerConfidenceLevel()
{
- return $this->updated;
+ return $this->winnerConfidenceLevel;
}
- public function setWebPropertyId($webPropertyId)
+ public function setWinnerFound($winnerFound)
{
- $this->webPropertyId = $webPropertyId;
+ $this->winnerFound = $winnerFound;
}
- public function getWebPropertyId()
+ public function getWinnerFound()
{
- return $this->webPropertyId;
+ return $this->winnerFound;
}
}
-class Google_Service_Analytics_CustomDataSourceChildLink extends Google_Model
+class Google_Service_Analytics_ExperimentParentLink extends Google_Model
{
public $href;
public $type;
@@ -3324,51 +5634,84 @@ public function setHref($href)
$this->href = $href;
}
- public function getHref()
+ public function getHref()
+ {
+ return $this->href;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_Analytics_ExperimentVariations extends Google_Model
+{
+ public $name;
+ public $status;
+ public $url;
+ public $weight;
+ public $won;
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setStatus($status)
{
- return $this->href;
+ $this->status = $status;
}
- public function setType($type)
+ public function getStatus()
{
- $this->type = $type;
+ return $this->status;
}
- public function getType()
+ public function setUrl($url)
{
- return $this->type;
+ $this->url = $url;
}
-}
-class Google_Service_Analytics_CustomDataSourceParentLink extends Google_Model
-{
- public $href;
- public $type;
+ public function getUrl()
+ {
+ return $this->url;
+ }
- public function setHref($href)
+ public function setWeight($weight)
{
- $this->href = $href;
+ $this->weight = $weight;
}
- public function getHref()
+ public function getWeight()
{
- return $this->href;
+ return $this->weight;
}
- public function setType($type)
+ public function setWon($won)
{
- $this->type = $type;
+ $this->won = $won;
}
- public function getType()
+ public function getWon()
{
- return $this->type;
+ return $this->won;
}
}
-class Google_Service_Analytics_CustomDataSources extends Google_Collection
+class Google_Service_Analytics_Experiments extends Google_Collection
{
- protected $itemsType = 'Google_Service_Analytics_CustomDataSource';
+ protected $itemsType = 'Google_Service_Analytics_Experiment';
protected $itemsDataType = 'array';
public $itemsPerPage;
public $kind;
@@ -3459,21 +5802,30 @@ public function getUsername()
}
}
-class Google_Service_Analytics_DailyUpload extends Google_Collection
+class Google_Service_Analytics_Filter extends Google_Model
{
public $accountId;
- public $appendCount;
- public $createdTime;
- public $customDataSourceId;
- public $date;
+ protected $advancedDetailsType = 'Google_Service_Analytics_FilterAdvancedDetails';
+ protected $advancedDetailsDataType = '';
+ public $created;
+ protected $excludeDetailsType = 'Google_Service_Analytics_FilterExpression';
+ protected $excludeDetailsDataType = '';
+ public $id;
+ protected $includeDetailsType = 'Google_Service_Analytics_FilterExpression';
+ protected $includeDetailsDataType = '';
public $kind;
- public $modifiedTime;
- protected $parentLinkType = 'Google_Service_Analytics_DailyUploadParentLink';
+ protected $lowercaseDetailsType = 'Google_Service_Analytics_FilterLowercaseDetails';
+ protected $lowercaseDetailsDataType = '';
+ public $name;
+ protected $parentLinkType = 'Google_Service_Analytics_FilterParentLink';
protected $parentLinkDataType = '';
- protected $recentChangesType = 'Google_Service_Analytics_DailyUploadRecentChanges';
- protected $recentChangesDataType = 'array';
+ protected $searchAndReplaceDetailsType = 'Google_Service_Analytics_FilterSearchAndReplaceDetails';
+ protected $searchAndReplaceDetailsDataType = '';
public $selfLink;
- public $webPropertyId;
+ public $type;
+ public $updated;
+ protected $uppercaseDetailsType = 'Google_Service_Analytics_FilterUppercaseDetails';
+ protected $uppercaseDetailsDataType = '';
public function setAccountId($accountId)
{
@@ -3485,44 +5837,54 @@ public function getAccountId()
return $this->accountId;
}
- public function setAppendCount($appendCount)
+ public function setAdvancedDetails(Google_Service_Analytics_FilterAdvancedDetails $advancedDetails)
{
- $this->appendCount = $appendCount;
+ $this->advancedDetails = $advancedDetails;
}
- public function getAppendCount()
+ public function getAdvancedDetails()
{
- return $this->appendCount;
+ return $this->advancedDetails;
}
- public function setCreatedTime($createdTime)
+ public function setCreated($created)
{
- $this->createdTime = $createdTime;
+ $this->created = $created;
}
- public function getCreatedTime()
+ public function getCreated()
{
- return $this->createdTime;
+ return $this->created;
}
- public function setCustomDataSourceId($customDataSourceId)
+ public function setExcludeDetails(Google_Service_Analytics_FilterExpression $excludeDetails)
{
- $this->customDataSourceId = $customDataSourceId;
+ $this->excludeDetails = $excludeDetails;
}
- public function getCustomDataSourceId()
+ public function getExcludeDetails()
{
- return $this->customDataSourceId;
+ return $this->excludeDetails;
}
- public function setDate($date)
+ public function setId($id)
{
- $this->date = $date;
+ $this->id = $id;
}
- public function getDate()
+ public function getId()
{
- return $this->date;
+ return $this->id;
+ }
+
+ public function setIncludeDetails(Google_Service_Analytics_FilterExpression $includeDetails)
+ {
+ $this->includeDetails = $includeDetails;
+ }
+
+ public function getIncludeDetails()
+ {
+ return $this->includeDetails;
}
public function setKind($kind)
@@ -3535,17 +5897,27 @@ public function getKind()
return $this->kind;
}
- public function setModifiedTime($modifiedTime)
+ public function setLowercaseDetails(Google_Service_Analytics_FilterLowercaseDetails $lowercaseDetails)
{
- $this->modifiedTime = $modifiedTime;
+ $this->lowercaseDetails = $lowercaseDetails;
}
- public function getModifiedTime()
+ public function getLowercaseDetails()
{
- return $this->modifiedTime;
+ return $this->lowercaseDetails;
}
- public function setParentLink(Google_Service_Analytics_DailyUploadParentLink $parentLink)
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setParentLink(Google_Service_Analytics_FilterParentLink $parentLink)
{
$this->parentLink = $parentLink;
}
@@ -3555,14 +5927,14 @@ public function getParentLink()
return $this->parentLink;
}
- public function setRecentChanges($recentChanges)
+ public function setSearchAndReplaceDetails(Google_Service_Analytics_FilterSearchAndReplaceDetails $searchAndReplaceDetails)
{
- $this->recentChanges = $recentChanges;
+ $this->searchAndReplaceDetails = $searchAndReplaceDetails;
}
- public function getRecentChanges()
+ public function getSearchAndReplaceDetails()
{
- return $this->recentChanges;
+ return $this->searchAndReplaceDetails;
}
public function setSelfLink($selfLink)
@@ -3575,263 +5947,277 @@ public function getSelfLink()
return $this->selfLink;
}
- public function setWebPropertyId($webPropertyId)
+ public function setType($type)
{
- $this->webPropertyId = $webPropertyId;
+ $this->type = $type;
}
- public function getWebPropertyId()
+ public function getType()
{
- return $this->webPropertyId;
+ return $this->type;
}
-}
-
-class Google_Service_Analytics_DailyUploadAppend extends Google_Model
-{
- public $accountId;
- public $appendNumber;
- public $customDataSourceId;
- public $date;
- public $kind;
- public $nextAppendLink;
- public $webPropertyId;
- public function setAccountId($accountId)
+ public function setUpdated($updated)
{
- $this->accountId = $accountId;
+ $this->updated = $updated;
}
- public function getAccountId()
+ public function getUpdated()
{
- return $this->accountId;
+ return $this->updated;
}
- public function setAppendNumber($appendNumber)
+ public function setUppercaseDetails(Google_Service_Analytics_FilterUppercaseDetails $uppercaseDetails)
{
- $this->appendNumber = $appendNumber;
+ $this->uppercaseDetails = $uppercaseDetails;
}
- public function getAppendNumber()
+ public function getUppercaseDetails()
{
- return $this->appendNumber;
+ return $this->uppercaseDetails;
}
+}
- public function setCustomDataSourceId($customDataSourceId)
+class Google_Service_Analytics_FilterAdvancedDetails extends Google_Model
+{
+ public $caseSensitive;
+ public $extractA;
+ public $extractB;
+ public $fieldA;
+ public $fieldARequired;
+ public $fieldB;
+ public $fieldBRequired;
+ public $outputConstructor;
+ public $outputToField;
+ public $overrideOutputField;
+
+ public function setCaseSensitive($caseSensitive)
{
- $this->customDataSourceId = $customDataSourceId;
+ $this->caseSensitive = $caseSensitive;
}
- public function getCustomDataSourceId()
+ public function getCaseSensitive()
{
- return $this->customDataSourceId;
+ return $this->caseSensitive;
}
- public function setDate($date)
+ public function setExtractA($extractA)
{
- $this->date = $date;
+ $this->extractA = $extractA;
}
- public function getDate()
+ public function getExtractA()
{
- return $this->date;
+ return $this->extractA;
}
- public function setKind($kind)
+ public function setExtractB($extractB)
{
- $this->kind = $kind;
+ $this->extractB = $extractB;
}
- public function getKind()
+ public function getExtractB()
{
- return $this->kind;
+ return $this->extractB;
}
- public function setNextAppendLink($nextAppendLink)
+ public function setFieldA($fieldA)
{
- $this->nextAppendLink = $nextAppendLink;
+ $this->fieldA = $fieldA;
}
- public function getNextAppendLink()
+ public function getFieldA()
{
- return $this->nextAppendLink;
+ return $this->fieldA;
}
- public function setWebPropertyId($webPropertyId)
+ public function setFieldARequired($fieldARequired)
{
- $this->webPropertyId = $webPropertyId;
+ $this->fieldARequired = $fieldARequired;
}
- public function getWebPropertyId()
+ public function getFieldARequired()
{
- return $this->webPropertyId;
+ return $this->fieldARequired;
}
-}
-class Google_Service_Analytics_DailyUploadParentLink extends Google_Model
-{
- public $href;
- public $type;
+ public function setFieldB($fieldB)
+ {
+ $this->fieldB = $fieldB;
+ }
- public function setHref($href)
+ public function getFieldB()
{
- $this->href = $href;
+ return $this->fieldB;
}
- public function getHref()
+ public function setFieldBRequired($fieldBRequired)
{
- return $this->href;
+ $this->fieldBRequired = $fieldBRequired;
}
- public function setType($type)
+ public function getFieldBRequired()
{
- $this->type = $type;
+ return $this->fieldBRequired;
}
- public function getType()
+ public function setOutputConstructor($outputConstructor)
{
- return $this->type;
+ $this->outputConstructor = $outputConstructor;
}
-}
-class Google_Service_Analytics_DailyUploadRecentChanges extends Google_Model
-{
- public $change;
- public $time;
+ public function getOutputConstructor()
+ {
+ return $this->outputConstructor;
+ }
- public function setChange($change)
+ public function setOutputToField($outputToField)
{
- $this->change = $change;
+ $this->outputToField = $outputToField;
}
- public function getChange()
+ public function getOutputToField()
{
- return $this->change;
+ return $this->outputToField;
}
- public function setTime($time)
+ public function setOverrideOutputField($overrideOutputField)
{
- $this->time = $time;
+ $this->overrideOutputField = $overrideOutputField;
}
- public function getTime()
+ public function getOverrideOutputField()
{
- return $this->time;
+ return $this->overrideOutputField;
}
}
-class Google_Service_Analytics_DailyUploads extends Google_Collection
+class Google_Service_Analytics_FilterExpression extends Google_Model
{
- protected $itemsType = 'Google_Service_Analytics_DailyUpload';
- protected $itemsDataType = 'array';
- public $itemsPerPage;
+ public $caseSensitive;
+ public $expressionValue;
+ public $field;
public $kind;
- public $nextLink;
- public $previousLink;
- public $startIndex;
- public $totalResults;
- public $username;
+ public $matchType;
- public function setItems($items)
+ public function setCaseSensitive($caseSensitive)
{
- $this->items = $items;
+ $this->caseSensitive = $caseSensitive;
}
- public function getItems()
+ public function getCaseSensitive()
{
- return $this->items;
+ return $this->caseSensitive;
}
- public function setItemsPerPage($itemsPerPage)
+ public function setExpressionValue($expressionValue)
{
- $this->itemsPerPage = $itemsPerPage;
+ $this->expressionValue = $expressionValue;
}
- public function getItemsPerPage()
+ public function getExpressionValue()
{
- return $this->itemsPerPage;
+ return $this->expressionValue;
}
- public function setKind($kind)
+ public function setField($field)
{
- $this->kind = $kind;
+ $this->field = $field;
}
- public function getKind()
+ public function getField()
{
- return $this->kind;
+ return $this->field;
}
- public function setNextLink($nextLink)
+ public function setKind($kind)
{
- $this->nextLink = $nextLink;
+ $this->kind = $kind;
}
- public function getNextLink()
+ public function getKind()
{
- return $this->nextLink;
+ return $this->kind;
}
- public function setPreviousLink($previousLink)
+ public function setMatchType($matchType)
{
- $this->previousLink = $previousLink;
+ $this->matchType = $matchType;
}
- public function getPreviousLink()
+ public function getMatchType()
{
- return $this->previousLink;
+ return $this->matchType;
}
+}
- public function setStartIndex($startIndex)
+class Google_Service_Analytics_FilterLowercaseDetails extends Google_Model
+{
+ public $field;
+
+ public function setField($field)
{
- $this->startIndex = $startIndex;
+ $this->field = $field;
}
- public function getStartIndex()
+ public function getField()
{
- return $this->startIndex;
+ return $this->field;
}
+}
- public function setTotalResults($totalResults)
+class Google_Service_Analytics_FilterParentLink extends Google_Model
+{
+ public $href;
+ public $type;
+
+ public function setHref($href)
{
- $this->totalResults = $totalResults;
+ $this->href = $href;
}
- public function getTotalResults()
+ public function getHref()
{
- return $this->totalResults;
+ return $this->href;
}
- public function setUsername($username)
+ public function setType($type)
{
- $this->username = $username;
+ $this->type = $type;
}
- public function getUsername()
+ public function getType()
{
- return $this->username;
+ return $this->type;
}
}
-class Google_Service_Analytics_EntityUserLink extends Google_Model
+class Google_Service_Analytics_FilterRef extends Google_Model
{
- protected $entityType = 'Google_Service_Analytics_EntityUserLinkEntity';
- protected $entityDataType = '';
+ public $accountId;
+ public $href;
public $id;
public $kind;
- protected $permissionsType = 'Google_Service_Analytics_EntityUserLinkPermissions';
- protected $permissionsDataType = '';
- public $selfLink;
- protected $userRefType = 'Google_Service_Analytics_UserRef';
- protected $userRefDataType = '';
+ public $name;
- public function setEntity(Google_Service_Analytics_EntityUserLinkEntity $entity)
+ public function setAccountId($accountId)
{
- $this->entity = $entity;
+ $this->accountId = $accountId;
}
- public function getEntity()
+ public function getAccountId()
{
- return $this->entity;
+ return $this->accountId;
+ }
+
+ public function setHref($href)
+ {
+ $this->href = $href;
+ }
+
+ public function getHref()
+ {
+ return $this->href;
}
public function setId($id)
@@ -3854,106 +6240,83 @@ public function getKind()
return $this->kind;
}
- public function setPermissions(Google_Service_Analytics_EntityUserLinkPermissions $permissions)
- {
- $this->permissions = $permissions;
- }
-
- public function getPermissions()
+ public function setName($name)
{
- return $this->permissions;
+ $this->name = $name;
}
- public function setSelfLink($selfLink)
+ public function getName()
{
- $this->selfLink = $selfLink;
+ return $this->name;
}
+}
- public function getSelfLink()
- {
- return $this->selfLink;
- }
+class Google_Service_Analytics_FilterSearchAndReplaceDetails extends Google_Model
+{
+ public $caseSensitive;
+ public $field;
+ public $replaceString;
+ public $searchString;
- public function setUserRef(Google_Service_Analytics_UserRef $userRef)
+ public function setCaseSensitive($caseSensitive)
{
- $this->userRef = $userRef;
+ $this->caseSensitive = $caseSensitive;
}
- public function getUserRef()
+ public function getCaseSensitive()
{
- return $this->userRef;
+ return $this->caseSensitive;
}
-}
-
-class Google_Service_Analytics_EntityUserLinkEntity extends Google_Model
-{
- protected $accountRefType = 'Google_Service_Analytics_AccountRef';
- protected $accountRefDataType = '';
- protected $profileRefType = 'Google_Service_Analytics_ProfileRef';
- protected $profileRefDataType = '';
- protected $webPropertyRefType = 'Google_Service_Analytics_WebPropertyRef';
- protected $webPropertyRefDataType = '';
- public function setAccountRef(Google_Service_Analytics_AccountRef $accountRef)
+ public function setField($field)
{
- $this->accountRef = $accountRef;
+ $this->field = $field;
}
- public function getAccountRef()
+ public function getField()
{
- return $this->accountRef;
+ return $this->field;
}
- public function setProfileRef(Google_Service_Analytics_ProfileRef $profileRef)
+ public function setReplaceString($replaceString)
{
- $this->profileRef = $profileRef;
+ $this->replaceString = $replaceString;
}
- public function getProfileRef()
+ public function getReplaceString()
{
- return $this->profileRef;
+ return $this->replaceString;
}
- public function setWebPropertyRef(Google_Service_Analytics_WebPropertyRef $webPropertyRef)
+ public function setSearchString($searchString)
{
- $this->webPropertyRef = $webPropertyRef;
+ $this->searchString = $searchString;
}
- public function getWebPropertyRef()
+ public function getSearchString()
{
- return $this->webPropertyRef;
+ return $this->searchString;
}
}
-class Google_Service_Analytics_EntityUserLinkPermissions extends Google_Collection
+class Google_Service_Analytics_FilterUppercaseDetails extends Google_Model
{
- public $effective;
- public $local;
-
- public function setEffective($effective)
- {
- $this->effective = $effective;
- }
+ public $field;
- public function getEffective()
- {
- return $this->effective;
- }
-
- public function setLocal($local)
+ public function setField($field)
{
- $this->local = $local;
+ $this->field = $field;
}
- public function getLocal()
+ public function getField()
{
- return $this->local;
+ return $this->field;
}
}
-class Google_Service_Analytics_EntityUserLinks extends Google_Collection
+class Google_Service_Analytics_Filters extends Google_Collection
{
- protected $itemsType = 'Google_Service_Analytics_EntityUserLink';
+ protected $itemsType = 'Google_Service_Analytics_Filter';
protected $itemsDataType = 'array';
public $itemsPerPage;
public $kind;
@@ -3961,6 +6324,7 @@ class Google_Service_Analytics_EntityUserLinks extends Google_Collection
public $previousLink;
public $startIndex;
public $totalResults;
+ public $username;
public function setItems($items)
{
@@ -4031,551 +6395,594 @@ public function getTotalResults()
{
return $this->totalResults;
}
+
+ public function setUsername($username)
+ {
+ $this->username = $username;
+ }
+
+ public function getUsername()
+ {
+ return $this->username;
+ }
}
-class Google_Service_Analytics_Experiment extends Google_Collection
+class Google_Service_Analytics_GaData extends Google_Collection
{
- public $accountId;
- public $created;
- public $description;
- public $editableInGaUi;
- public $endTime;
- public $equalWeighting;
+ protected $columnHeadersType = 'Google_Service_Analytics_GaDataColumnHeaders';
+ protected $columnHeadersDataType = 'array';
+ public $containsSampledData;
+ protected $dataTableType = 'Google_Service_Analytics_GaDataDataTable';
+ protected $dataTableDataType = '';
public $id;
- public $internalWebPropertyId;
+ public $itemsPerPage;
public $kind;
- public $minimumExperimentLengthInDays;
- public $name;
- public $objectiveMetric;
- public $optimizationType;
- protected $parentLinkType = 'Google_Service_Analytics_ExperimentParentLink';
- protected $parentLinkDataType = '';
- public $profileId;
- public $reasonExperimentEnded;
- public $rewriteVariationUrlsAsOriginal;
+ public $nextLink;
+ public $previousLink;
+ protected $profileInfoType = 'Google_Service_Analytics_GaDataProfileInfo';
+ protected $profileInfoDataType = '';
+ protected $queryType = 'Google_Service_Analytics_GaDataQuery';
+ protected $queryDataType = '';
+ public $rows;
+ public $sampleSize;
+ public $sampleSpace;
public $selfLink;
- public $servingFramework;
- public $snippet;
- public $startTime;
- public $status;
- public $trafficCoverage;
- public $updated;
- protected $variationsType = 'Google_Service_Analytics_ExperimentVariations';
- protected $variationsDataType = 'array';
- public $webPropertyId;
- public $winnerConfidenceLevel;
- public $winnerFound;
+ public $totalResults;
+ public $totalsForAllResults;
- public function setAccountId($accountId)
+ public function setColumnHeaders($columnHeaders)
{
- $this->accountId = $accountId;
+ $this->columnHeaders = $columnHeaders;
}
- public function getAccountId()
+ public function getColumnHeaders()
{
- return $this->accountId;
+ return $this->columnHeaders;
}
- public function setCreated($created)
+ public function setContainsSampledData($containsSampledData)
{
- $this->created = $created;
+ $this->containsSampledData = $containsSampledData;
}
- public function getCreated()
+ public function getContainsSampledData()
{
- return $this->created;
+ return $this->containsSampledData;
}
- public function setDescription($description)
+ public function setDataTable(Google_Service_Analytics_GaDataDataTable $dataTable)
{
- $this->description = $description;
+ $this->dataTable = $dataTable;
}
- public function getDescription()
+ public function getDataTable()
{
- return $this->description;
+ return $this->dataTable;
}
- public function setEditableInGaUi($editableInGaUi)
+ public function setId($id)
{
- $this->editableInGaUi = $editableInGaUi;
+ $this->id = $id;
}
- public function getEditableInGaUi()
+ public function getId()
{
- return $this->editableInGaUi;
+ return $this->id;
}
- public function setEndTime($endTime)
+ public function setItemsPerPage($itemsPerPage)
{
- $this->endTime = $endTime;
+ $this->itemsPerPage = $itemsPerPage;
}
- public function getEndTime()
+ public function getItemsPerPage()
{
- return $this->endTime;
+ return $this->itemsPerPage;
}
- public function setEqualWeighting($equalWeighting)
+ public function setKind($kind)
{
- $this->equalWeighting = $equalWeighting;
+ $this->kind = $kind;
}
- public function getEqualWeighting()
+ public function getKind()
{
- return $this->equalWeighting;
+ return $this->kind;
}
- public function setId($id)
+ public function setNextLink($nextLink)
{
- $this->id = $id;
+ $this->nextLink = $nextLink;
}
- public function getId()
+ public function getNextLink()
{
- return $this->id;
+ return $this->nextLink;
}
- public function setInternalWebPropertyId($internalWebPropertyId)
+ public function setPreviousLink($previousLink)
{
- $this->internalWebPropertyId = $internalWebPropertyId;
+ $this->previousLink = $previousLink;
}
- public function getInternalWebPropertyId()
+ public function getPreviousLink()
{
- return $this->internalWebPropertyId;
+ return $this->previousLink;
}
- public function setKind($kind)
+ public function setProfileInfo(Google_Service_Analytics_GaDataProfileInfo $profileInfo)
{
- $this->kind = $kind;
+ $this->profileInfo = $profileInfo;
}
- public function getKind()
+ public function getProfileInfo()
{
- return $this->kind;
+ return $this->profileInfo;
}
- public function setMinimumExperimentLengthInDays($minimumExperimentLengthInDays)
+ public function setQuery(Google_Service_Analytics_GaDataQuery $query)
{
- $this->minimumExperimentLengthInDays = $minimumExperimentLengthInDays;
+ $this->query = $query;
}
- public function getMinimumExperimentLengthInDays()
+ public function getQuery()
{
- return $this->minimumExperimentLengthInDays;
+ return $this->query;
}
- public function setName($name)
+ public function setRows($rows)
{
- $this->name = $name;
+ $this->rows = $rows;
}
- public function getName()
+ public function getRows()
{
- return $this->name;
+ return $this->rows;
}
- public function setObjectiveMetric($objectiveMetric)
+ public function setSampleSize($sampleSize)
{
- $this->objectiveMetric = $objectiveMetric;
+ $this->sampleSize = $sampleSize;
}
- public function getObjectiveMetric()
+ public function getSampleSize()
{
- return $this->objectiveMetric;
+ return $this->sampleSize;
}
- public function setOptimizationType($optimizationType)
+ public function setSampleSpace($sampleSpace)
{
- $this->optimizationType = $optimizationType;
+ $this->sampleSpace = $sampleSpace;
}
- public function getOptimizationType()
+ public function getSampleSpace()
{
- return $this->optimizationType;
+ return $this->sampleSpace;
}
- public function setParentLink(Google_Service_Analytics_ExperimentParentLink $parentLink)
+ public function setSelfLink($selfLink)
{
- $this->parentLink = $parentLink;
+ $this->selfLink = $selfLink;
}
- public function getParentLink()
+ public function getSelfLink()
{
- return $this->parentLink;
+ return $this->selfLink;
}
- public function setProfileId($profileId)
+ public function setTotalResults($totalResults)
{
- $this->profileId = $profileId;
+ $this->totalResults = $totalResults;
}
- public function getProfileId()
+ public function getTotalResults()
{
- return $this->profileId;
+ return $this->totalResults;
}
- public function setReasonExperimentEnded($reasonExperimentEnded)
+ public function setTotalsForAllResults($totalsForAllResults)
{
- $this->reasonExperimentEnded = $reasonExperimentEnded;
+ $this->totalsForAllResults = $totalsForAllResults;
}
- public function getReasonExperimentEnded()
+ public function getTotalsForAllResults()
{
- return $this->reasonExperimentEnded;
+ return $this->totalsForAllResults;
}
+}
- public function setRewriteVariationUrlsAsOriginal($rewriteVariationUrlsAsOriginal)
+class Google_Service_Analytics_GaDataColumnHeaders extends Google_Model
+{
+ public $columnType;
+ public $dataType;
+ public $name;
+
+ public function setColumnType($columnType)
{
- $this->rewriteVariationUrlsAsOriginal = $rewriteVariationUrlsAsOriginal;
+ $this->columnType = $columnType;
}
- public function getRewriteVariationUrlsAsOriginal()
+ public function getColumnType()
{
- return $this->rewriteVariationUrlsAsOriginal;
+ return $this->columnType;
}
- public function setSelfLink($selfLink)
+ public function setDataType($dataType)
{
- $this->selfLink = $selfLink;
+ $this->dataType = $dataType;
}
- public function getSelfLink()
+ public function getDataType()
{
- return $this->selfLink;
+ return $this->dataType;
}
- public function setServingFramework($servingFramework)
+ public function setName($name)
{
- $this->servingFramework = $servingFramework;
+ $this->name = $name;
}
- public function getServingFramework()
+ public function getName()
{
- return $this->servingFramework;
+ return $this->name;
}
+}
- public function setSnippet($snippet)
+class Google_Service_Analytics_GaDataDataTable extends Google_Collection
+{
+ protected $colsType = 'Google_Service_Analytics_GaDataDataTableCols';
+ protected $colsDataType = 'array';
+ protected $rowsType = 'Google_Service_Analytics_GaDataDataTableRows';
+ protected $rowsDataType = 'array';
+
+ public function setCols($cols)
{
- $this->snippet = $snippet;
+ $this->cols = $cols;
}
- public function getSnippet()
+ public function getCols()
{
- return $this->snippet;
+ return $this->cols;
}
- public function setStartTime($startTime)
+ public function setRows($rows)
{
- $this->startTime = $startTime;
+ $this->rows = $rows;
}
- public function getStartTime()
+ public function getRows()
{
- return $this->startTime;
+ return $this->rows;
}
+}
- public function setStatus($status)
+class Google_Service_Analytics_GaDataDataTableCols extends Google_Model
+{
+ public $id;
+ public $label;
+ public $type;
+
+ public function setId($id)
{
- $this->status = $status;
+ $this->id = $id;
}
- public function getStatus()
+ public function getId()
{
- return $this->status;
+ return $this->id;
}
- public function setTrafficCoverage($trafficCoverage)
+ public function setLabel($label)
{
- $this->trafficCoverage = $trafficCoverage;
+ $this->label = $label;
}
- public function getTrafficCoverage()
+ public function getLabel()
{
- return $this->trafficCoverage;
+ return $this->label;
}
- public function setUpdated($updated)
+ public function setType($type)
{
- $this->updated = $updated;
+ $this->type = $type;
}
- public function getUpdated()
+ public function getType()
{
- return $this->updated;
+ return $this->type;
}
+}
- public function setVariations($variations)
+class Google_Service_Analytics_GaDataDataTableRows extends Google_Collection
+{
+ protected $cType = 'Google_Service_Analytics_GaDataDataTableRowsC';
+ protected $cDataType = 'array';
+
+ public function setC($c)
{
- $this->variations = $variations;
+ $this->c = $c;
}
- public function getVariations()
+ public function getC()
{
- return $this->variations;
+ return $this->c;
}
+}
- public function setWebPropertyId($webPropertyId)
+class Google_Service_Analytics_GaDataDataTableRowsC extends Google_Model
+{
+ public $v;
+
+ public function setV($v)
{
- $this->webPropertyId = $webPropertyId;
+ $this->v = $v;
}
- public function getWebPropertyId()
+ public function getV()
{
- return $this->webPropertyId;
+ return $this->v;
}
+}
- public function setWinnerConfidenceLevel($winnerConfidenceLevel)
+class Google_Service_Analytics_GaDataProfileInfo extends Google_Model
+{
+ public $accountId;
+ public $internalWebPropertyId;
+ public $profileId;
+ public $profileName;
+ public $tableId;
+ public $webPropertyId;
+
+ public function setAccountId($accountId)
{
- $this->winnerConfidenceLevel = $winnerConfidenceLevel;
+ $this->accountId = $accountId;
}
- public function getWinnerConfidenceLevel()
+ public function getAccountId()
{
- return $this->winnerConfidenceLevel;
+ return $this->accountId;
}
- public function setWinnerFound($winnerFound)
+ public function setInternalWebPropertyId($internalWebPropertyId)
{
- $this->winnerFound = $winnerFound;
+ $this->internalWebPropertyId = $internalWebPropertyId;
}
- public function getWinnerFound()
+ public function getInternalWebPropertyId()
{
- return $this->winnerFound;
+ return $this->internalWebPropertyId;
}
-}
-class Google_Service_Analytics_ExperimentParentLink extends Google_Model
-{
- public $href;
- public $type;
-
- public function setHref($href)
+ public function setProfileId($profileId)
{
- $this->href = $href;
+ $this->profileId = $profileId;
}
- public function getHref()
+ public function getProfileId()
{
- return $this->href;
+ return $this->profileId;
}
- public function setType($type)
+ public function setProfileName($profileName)
{
- $this->type = $type;
+ $this->profileName = $profileName;
}
- public function getType()
+ public function getProfileName()
{
- return $this->type;
+ return $this->profileName;
}
-}
-
-class Google_Service_Analytics_ExperimentVariations extends Google_Model
-{
- public $name;
- public $status;
- public $url;
- public $weight;
- public $won;
- public function setName($name)
+ public function setTableId($tableId)
{
- $this->name = $name;
+ $this->tableId = $tableId;
}
- public function getName()
+ public function getTableId()
{
- return $this->name;
+ return $this->tableId;
}
- public function setStatus($status)
+ public function setWebPropertyId($webPropertyId)
{
- $this->status = $status;
+ $this->webPropertyId = $webPropertyId;
}
- public function getStatus()
+ public function getWebPropertyId()
{
- return $this->status;
+ return $this->webPropertyId;
}
+}
- public function setUrl($url)
+class Google_Service_Analytics_GaDataQuery extends Google_Collection
+{
+ public $dimensions;
+ public $endDate;
+ public $filters;
+ public $ids;
+ public $maxResults;
+ public $metrics;
+ public $samplingLevel;
+ public $segment;
+ public $sort;
+ public $startDate;
+ public $startIndex;
+
+ public function setDimensions($dimensions)
{
- $this->url = $url;
+ $this->dimensions = $dimensions;
}
- public function getUrl()
+ public function getDimensions()
{
- return $this->url;
+ return $this->dimensions;
}
- public function setWeight($weight)
+ public function setEndDate($endDate)
{
- $this->weight = $weight;
+ $this->endDate = $endDate;
}
- public function getWeight()
+ public function getEndDate()
{
- return $this->weight;
+ return $this->endDate;
}
- public function setWon($won)
+ public function setFilters($filters)
{
- $this->won = $won;
+ $this->filters = $filters;
}
- public function getWon()
+ public function getFilters()
{
- return $this->won;
+ return $this->filters;
}
-}
-
-class Google_Service_Analytics_Experiments extends Google_Collection
-{
- protected $itemsType = 'Google_Service_Analytics_Experiment';
- protected $itemsDataType = 'array';
- public $itemsPerPage;
- public $kind;
- public $nextLink;
- public $previousLink;
- public $startIndex;
- public $totalResults;
- public $username;
- public function setItems($items)
+ public function setIds($ids)
{
- $this->items = $items;
+ $this->ids = $ids;
}
- public function getItems()
+ public function getIds()
{
- return $this->items;
+ return $this->ids;
}
- public function setItemsPerPage($itemsPerPage)
+ public function setMaxResults($maxResults)
{
- $this->itemsPerPage = $itemsPerPage;
+ $this->maxResults = $maxResults;
}
- public function getItemsPerPage()
+ public function getMaxResults()
{
- return $this->itemsPerPage;
+ return $this->maxResults;
}
- public function setKind($kind)
+ public function setMetrics($metrics)
{
- $this->kind = $kind;
+ $this->metrics = $metrics;
}
- public function getKind()
+ public function getMetrics()
{
- return $this->kind;
+ return $this->metrics;
}
- public function setNextLink($nextLink)
+ public function setSamplingLevel($samplingLevel)
{
- $this->nextLink = $nextLink;
+ $this->samplingLevel = $samplingLevel;
}
- public function getNextLink()
+ public function getSamplingLevel()
{
- return $this->nextLink;
+ return $this->samplingLevel;
}
- public function setPreviousLink($previousLink)
+ public function setSegment($segment)
{
- $this->previousLink = $previousLink;
+ $this->segment = $segment;
}
- public function getPreviousLink()
+ public function getSegment()
{
- return $this->previousLink;
+ return $this->segment;
}
- public function setStartIndex($startIndex)
+ public function setSort($sort)
{
- $this->startIndex = $startIndex;
+ $this->sort = $sort;
}
- public function getStartIndex()
+ public function getSort()
{
- return $this->startIndex;
+ return $this->sort;
}
- public function setTotalResults($totalResults)
+ public function setStartDate($startDate)
{
- $this->totalResults = $totalResults;
+ $this->startDate = $startDate;
}
- public function getTotalResults()
+ public function getStartDate()
{
- return $this->totalResults;
+ return $this->startDate;
}
- public function setUsername($username)
+ public function setStartIndex($startIndex)
{
- $this->username = $username;
+ $this->startIndex = $startIndex;
}
- public function getUsername()
+ public function getStartIndex()
{
- return $this->username;
+ return $this->startIndex;
}
}
-class Google_Service_Analytics_GaData extends Google_Collection
+class Google_Service_Analytics_Goal extends Google_Model
{
- protected $columnHeadersType = 'Google_Service_Analytics_GaDataColumnHeaders';
- protected $columnHeadersDataType = 'array';
- public $containsSampledData;
- protected $dataTableType = 'Google_Service_Analytics_GaDataDataTable';
- protected $dataTableDataType = '';
+ public $accountId;
+ public $active;
+ public $created;
+ protected $eventDetailsType = 'Google_Service_Analytics_GoalEventDetails';
+ protected $eventDetailsDataType = '';
public $id;
- public $itemsPerPage;
+ public $internalWebPropertyId;
public $kind;
- public $nextLink;
- public $previousLink;
- protected $profileInfoType = 'Google_Service_Analytics_GaDataProfileInfo';
- protected $profileInfoDataType = '';
- protected $queryType = 'Google_Service_Analytics_GaDataQuery';
- protected $queryDataType = '';
- public $rows;
- public $sampleSize;
- public $sampleSpace;
+ public $name;
+ protected $parentLinkType = 'Google_Service_Analytics_GoalParentLink';
+ protected $parentLinkDataType = '';
+ public $profileId;
public $selfLink;
- public $totalResults;
- public $totalsForAllResults;
+ public $type;
+ public $updated;
+ protected $urlDestinationDetailsType = 'Google_Service_Analytics_GoalUrlDestinationDetails';
+ protected $urlDestinationDetailsDataType = '';
+ public $value;
+ protected $visitNumPagesDetailsType = 'Google_Service_Analytics_GoalVisitNumPagesDetails';
+ protected $visitNumPagesDetailsDataType = '';
+ protected $visitTimeOnSiteDetailsType = 'Google_Service_Analytics_GoalVisitTimeOnSiteDetails';
+ protected $visitTimeOnSiteDetailsDataType = '';
+ public $webPropertyId;
- public function setColumnHeaders($columnHeaders)
+ public function setAccountId($accountId)
{
- $this->columnHeaders = $columnHeaders;
+ $this->accountId = $accountId;
}
- public function getColumnHeaders()
+ public function getAccountId()
{
- return $this->columnHeaders;
+ return $this->accountId;
}
- public function setContainsSampledData($containsSampledData)
+ public function setActive($active)
{
- $this->containsSampledData = $containsSampledData;
+ $this->active = $active;
}
- public function getContainsSampledData()
+ public function getActive()
{
- return $this->containsSampledData;
+ return $this->active;
}
- public function setDataTable(Google_Service_Analytics_GaDataDataTable $dataTable)
+ public function setCreated($created)
{
- $this->dataTable = $dataTable;
+ $this->created = $created;
}
- public function getDataTable()
+ public function getCreated()
{
- return $this->dataTable;
+ return $this->created;
+ }
+
+ public function setEventDetails(Google_Service_Analytics_GoalEventDetails $eventDetails)
+ {
+ $this->eventDetails = $eventDetails;
+ }
+
+ public function getEventDetails()
+ {
+ return $this->eventDetails;
}
public function setId($id)
@@ -4588,14 +6995,14 @@ public function getId()
return $this->id;
}
- public function setItemsPerPage($itemsPerPage)
+ public function setInternalWebPropertyId($internalWebPropertyId)
{
- $this->itemsPerPage = $itemsPerPage;
+ $this->internalWebPropertyId = $internalWebPropertyId;
}
- public function getItemsPerPage()
+ public function getInternalWebPropertyId()
{
- return $this->itemsPerPage;
+ return $this->internalWebPropertyId;
}
public function setKind($kind)
@@ -4608,196 +7015,216 @@ public function getKind()
return $this->kind;
}
- public function setNextLink($nextLink)
+ public function setName($name)
{
- $this->nextLink = $nextLink;
+ $this->name = $name;
}
- public function getNextLink()
+ public function getName()
{
- return $this->nextLink;
+ return $this->name;
}
- public function setPreviousLink($previousLink)
+ public function setParentLink(Google_Service_Analytics_GoalParentLink $parentLink)
{
- $this->previousLink = $previousLink;
+ $this->parentLink = $parentLink;
}
- public function getPreviousLink()
+ public function getParentLink()
{
- return $this->previousLink;
+ return $this->parentLink;
}
- public function setProfileInfo(Google_Service_Analytics_GaDataProfileInfo $profileInfo)
+ public function setProfileId($profileId)
{
- $this->profileInfo = $profileInfo;
+ $this->profileId = $profileId;
}
- public function getProfileInfo()
+ public function getProfileId()
{
- return $this->profileInfo;
+ return $this->profileId;
}
- public function setQuery(Google_Service_Analytics_GaDataQuery $query)
+ public function setSelfLink($selfLink)
{
- $this->query = $query;
+ $this->selfLink = $selfLink;
}
- public function getQuery()
+ public function getSelfLink()
{
- return $this->query;
+ return $this->selfLink;
}
- public function setRows($rows)
+ public function setType($type)
{
- $this->rows = $rows;
+ $this->type = $type;
}
- public function getRows()
+ public function getType()
{
- return $this->rows;
+ return $this->type;
}
- public function setSampleSize($sampleSize)
+ public function setUpdated($updated)
{
- $this->sampleSize = $sampleSize;
+ $this->updated = $updated;
}
- public function getSampleSize()
+ public function getUpdated()
{
- return $this->sampleSize;
+ return $this->updated;
}
- public function setSampleSpace($sampleSpace)
+ public function setUrlDestinationDetails(Google_Service_Analytics_GoalUrlDestinationDetails $urlDestinationDetails)
{
- $this->sampleSpace = $sampleSpace;
+ $this->urlDestinationDetails = $urlDestinationDetails;
}
- public function getSampleSpace()
+ public function getUrlDestinationDetails()
{
- return $this->sampleSpace;
+ return $this->urlDestinationDetails;
}
- public function setSelfLink($selfLink)
+ public function setValue($value)
{
- $this->selfLink = $selfLink;
+ $this->value = $value;
}
- public function getSelfLink()
+ public function getValue()
{
- return $this->selfLink;
+ return $this->value;
+ }
+
+ public function setVisitNumPagesDetails(Google_Service_Analytics_GoalVisitNumPagesDetails $visitNumPagesDetails)
+ {
+ $this->visitNumPagesDetails = $visitNumPagesDetails;
+ }
+
+ public function getVisitNumPagesDetails()
+ {
+ return $this->visitNumPagesDetails;
+ }
+
+ public function setVisitTimeOnSiteDetails(Google_Service_Analytics_GoalVisitTimeOnSiteDetails $visitTimeOnSiteDetails)
+ {
+ $this->visitTimeOnSiteDetails = $visitTimeOnSiteDetails;
+ }
+
+ public function getVisitTimeOnSiteDetails()
+ {
+ return $this->visitTimeOnSiteDetails;
+ }
+
+ public function setWebPropertyId($webPropertyId)
+ {
+ $this->webPropertyId = $webPropertyId;
+ }
+
+ public function getWebPropertyId()
+ {
+ return $this->webPropertyId;
}
+}
- public function setTotalResults($totalResults)
+class Google_Service_Analytics_GoalEventDetails extends Google_Collection
+{
+ protected $eventConditionsType = 'Google_Service_Analytics_GoalEventDetailsEventConditions';
+ protected $eventConditionsDataType = 'array';
+ public $useEventValue;
+
+ public function setEventConditions($eventConditions)
{
- $this->totalResults = $totalResults;
+ $this->eventConditions = $eventConditions;
}
- public function getTotalResults()
+ public function getEventConditions()
{
- return $this->totalResults;
+ return $this->eventConditions;
}
- public function setTotalsForAllResults($totalsForAllResults)
+ public function setUseEventValue($useEventValue)
{
- $this->totalsForAllResults = $totalsForAllResults;
+ $this->useEventValue = $useEventValue;
}
- public function getTotalsForAllResults()
+ public function getUseEventValue()
{
- return $this->totalsForAllResults;
+ return $this->useEventValue;
}
}
-class Google_Service_Analytics_GaDataColumnHeaders extends Google_Model
+class Google_Service_Analytics_GoalEventDetailsEventConditions extends Google_Model
{
- public $columnType;
- public $dataType;
- public $name;
+ public $comparisonType;
+ public $comparisonValue;
+ public $expression;
+ public $matchType;
+ public $type;
- public function setColumnType($columnType)
+ public function setComparisonType($comparisonType)
{
- $this->columnType = $columnType;
+ $this->comparisonType = $comparisonType;
}
- public function getColumnType()
+ public function getComparisonType()
{
- return $this->columnType;
+ return $this->comparisonType;
}
- public function setDataType($dataType)
+ public function setComparisonValue($comparisonValue)
{
- $this->dataType = $dataType;
+ $this->comparisonValue = $comparisonValue;
}
- public function getDataType()
+ public function getComparisonValue()
{
- return $this->dataType;
+ return $this->comparisonValue;
}
- public function setName($name)
+ public function setExpression($expression)
{
- $this->name = $name;
+ $this->expression = $expression;
}
- public function getName()
+ public function getExpression()
{
- return $this->name;
+ return $this->expression;
}
-}
-
-class Google_Service_Analytics_GaDataDataTable extends Google_Collection
-{
- protected $colsType = 'Google_Service_Analytics_GaDataDataTableCols';
- protected $colsDataType = 'array';
- protected $rowsType = 'Google_Service_Analytics_GaDataDataTableRows';
- protected $rowsDataType = 'array';
- public function setCols($cols)
+ public function setMatchType($matchType)
{
- $this->cols = $cols;
+ $this->matchType = $matchType;
}
- public function getCols()
+ public function getMatchType()
{
- return $this->cols;
+ return $this->matchType;
}
- public function setRows($rows)
+ public function setType($type)
{
- $this->rows = $rows;
+ $this->type = $type;
}
- public function getRows()
+ public function getType()
{
- return $this->rows;
+ return $this->type;
}
}
-class Google_Service_Analytics_GaDataDataTableCols extends Google_Model
+class Google_Service_Analytics_GoalParentLink extends Google_Model
{
- public $id;
- public $label;
+ public $href;
public $type;
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setLabel($label)
+ public function setHref($href)
{
- $this->label = $label;
+ $this->href = $href;
}
- public function getLabel()
+ public function getHref()
{
- return $this->label;
+ return $this->href;
}
public function setType($type)
@@ -4811,219 +7238,215 @@ public function getType()
}
}
-class Google_Service_Analytics_GaDataDataTableRows extends Google_Collection
+class Google_Service_Analytics_GoalUrlDestinationDetails extends Google_Collection
{
- protected $cType = 'Google_Service_Analytics_GaDataDataTableRowsC';
- protected $cDataType = 'array';
+ public $caseSensitive;
+ public $firstStepRequired;
+ public $matchType;
+ protected $stepsType = 'Google_Service_Analytics_GoalUrlDestinationDetailsSteps';
+ protected $stepsDataType = 'array';
+ public $url;
- public function setC($c)
+ public function setCaseSensitive($caseSensitive)
{
- $this->c = $c;
+ $this->caseSensitive = $caseSensitive;
}
- public function getC()
+ public function getCaseSensitive()
{
- return $this->c;
+ return $this->caseSensitive;
}
-}
-
-class Google_Service_Analytics_GaDataDataTableRowsC extends Google_Model
-{
- public $v;
- public function setV($v)
+ public function setFirstStepRequired($firstStepRequired)
{
- $this->v = $v;
+ $this->firstStepRequired = $firstStepRequired;
}
- public function getV()
+ public function getFirstStepRequired()
{
- return $this->v;
+ return $this->firstStepRequired;
}
-}
-
-class Google_Service_Analytics_GaDataProfileInfo extends Google_Model
-{
- public $accountId;
- public $internalWebPropertyId;
- public $profileId;
- public $profileName;
- public $tableId;
- public $webPropertyId;
- public function setAccountId($accountId)
+ public function setMatchType($matchType)
{
- $this->accountId = $accountId;
+ $this->matchType = $matchType;
}
- public function getAccountId()
+ public function getMatchType()
{
- return $this->accountId;
+ return $this->matchType;
}
- public function setInternalWebPropertyId($internalWebPropertyId)
+ public function setSteps($steps)
{
- $this->internalWebPropertyId = $internalWebPropertyId;
+ $this->steps = $steps;
}
- public function getInternalWebPropertyId()
+ public function getSteps()
{
- return $this->internalWebPropertyId;
+ return $this->steps;
}
- public function setProfileId($profileId)
+ public function setUrl($url)
{
- $this->profileId = $profileId;
+ $this->url = $url;
}
- public function getProfileId()
+ public function getUrl()
{
- return $this->profileId;
+ return $this->url;
}
+}
- public function setProfileName($profileName)
+class Google_Service_Analytics_GoalUrlDestinationDetailsSteps extends Google_Model
+{
+ public $name;
+ public $number;
+ public $url;
+
+ public function setName($name)
{
- $this->profileName = $profileName;
+ $this->name = $name;
}
- public function getProfileName()
+ public function getName()
{
- return $this->profileName;
+ return $this->name;
}
- public function setTableId($tableId)
+ public function setNumber($number)
{
- $this->tableId = $tableId;
+ $this->number = $number;
}
- public function getTableId()
+ public function getNumber()
{
- return $this->tableId;
+ return $this->number;
}
- public function setWebPropertyId($webPropertyId)
+ public function setUrl($url)
{
- $this->webPropertyId = $webPropertyId;
+ $this->url = $url;
}
- public function getWebPropertyId()
+ public function getUrl()
{
- return $this->webPropertyId;
+ return $this->url;
}
}
-class Google_Service_Analytics_GaDataQuery extends Google_Collection
+class Google_Service_Analytics_GoalVisitNumPagesDetails extends Google_Model
{
- public $dimensions;
- public $endDate;
- public $filters;
- public $ids;
- public $maxResults;
- public $metrics;
- public $samplingLevel;
- public $segment;
- public $sort;
- public $startDate;
- public $startIndex;
-
- public function setDimensions($dimensions)
- {
- $this->dimensions = $dimensions;
- }
+ public $comparisonType;
+ public $comparisonValue;
- public function getDimensions()
+ public function setComparisonType($comparisonType)
{
- return $this->dimensions;
+ $this->comparisonType = $comparisonType;
}
- public function setEndDate($endDate)
+ public function getComparisonType()
{
- $this->endDate = $endDate;
+ return $this->comparisonType;
}
- public function getEndDate()
+ public function setComparisonValue($comparisonValue)
{
- return $this->endDate;
+ $this->comparisonValue = $comparisonValue;
}
- public function setFilters($filters)
+ public function getComparisonValue()
{
- $this->filters = $filters;
+ return $this->comparisonValue;
}
+}
- public function getFilters()
- {
- return $this->filters;
- }
+class Google_Service_Analytics_GoalVisitTimeOnSiteDetails extends Google_Model
+{
+ public $comparisonType;
+ public $comparisonValue;
- public function setIds($ids)
+ public function setComparisonType($comparisonType)
{
- $this->ids = $ids;
+ $this->comparisonType = $comparisonType;
}
- public function getIds()
+ public function getComparisonType()
{
- return $this->ids;
+ return $this->comparisonType;
}
- public function setMaxResults($maxResults)
+ public function setComparisonValue($comparisonValue)
{
- $this->maxResults = $maxResults;
+ $this->comparisonValue = $comparisonValue;
}
- public function getMaxResults()
+ public function getComparisonValue()
{
- return $this->maxResults;
+ return $this->comparisonValue;
}
+}
- public function setMetrics($metrics)
+class Google_Service_Analytics_Goals extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_Analytics_Goal';
+ protected $itemsDataType = 'array';
+ public $itemsPerPage;
+ public $kind;
+ public $nextLink;
+ public $previousLink;
+ public $startIndex;
+ public $totalResults;
+ public $username;
+
+ public function setItems($items)
{
- $this->metrics = $metrics;
+ $this->items = $items;
}
- public function getMetrics()
+ public function getItems()
{
- return $this->metrics;
+ return $this->items;
}
- public function setSamplingLevel($samplingLevel)
+ public function setItemsPerPage($itemsPerPage)
{
- $this->samplingLevel = $samplingLevel;
+ $this->itemsPerPage = $itemsPerPage;
}
- public function getSamplingLevel()
+ public function getItemsPerPage()
{
- return $this->samplingLevel;
+ return $this->itemsPerPage;
}
- public function setSegment($segment)
+ public function setKind($kind)
{
- $this->segment = $segment;
+ $this->kind = $kind;
}
- public function getSegment()
+ public function getKind()
{
- return $this->segment;
+ return $this->kind;
}
- public function setSort($sort)
+ public function setNextLink($nextLink)
{
- $this->sort = $sort;
+ $this->nextLink = $nextLink;
}
- public function getSort()
+ public function getNextLink()
{
- return $this->sort;
+ return $this->nextLink;
}
- public function setStartDate($startDate)
+ public function setPreviousLink($previousLink)
{
- $this->startDate = $startDate;
+ $this->previousLink = $previousLink;
}
- public function getStartDate()
+ public function getPreviousLink()
{
- return $this->startDate;
+ return $this->previousLink;
}
public function setStartIndex($startIndex)
@@ -5035,72 +7458,68 @@ public function getStartIndex()
{
return $this->startIndex;
}
-}
-
-class Google_Service_Analytics_Goal extends Google_Model
-{
- public $accountId;
- public $active;
- public $created;
- protected $eventDetailsType = 'Google_Service_Analytics_GoalEventDetails';
- protected $eventDetailsDataType = '';
- public $id;
- public $internalWebPropertyId;
- public $kind;
- public $name;
- protected $parentLinkType = 'Google_Service_Analytics_GoalParentLink';
- protected $parentLinkDataType = '';
- public $profileId;
- public $selfLink;
- public $type;
- public $updated;
- protected $urlDestinationDetailsType = 'Google_Service_Analytics_GoalUrlDestinationDetails';
- protected $urlDestinationDetailsDataType = '';
- public $value;
- protected $visitNumPagesDetailsType = 'Google_Service_Analytics_GoalVisitNumPagesDetails';
- protected $visitNumPagesDetailsDataType = '';
- protected $visitTimeOnSiteDetailsType = 'Google_Service_Analytics_GoalVisitTimeOnSiteDetails';
- protected $visitTimeOnSiteDetailsDataType = '';
- public $webPropertyId;
- public function setAccountId($accountId)
+ public function setTotalResults($totalResults)
{
- $this->accountId = $accountId;
+ $this->totalResults = $totalResults;
}
- public function getAccountId()
+ public function getTotalResults()
{
- return $this->accountId;
+ return $this->totalResults;
}
- public function setActive($active)
+ public function setUsername($username)
{
- $this->active = $active;
+ $this->username = $username;
}
- public function getActive()
+ public function getUsername()
{
- return $this->active;
+ return $this->username;
}
+}
- public function setCreated($created)
+class Google_Service_Analytics_McfData extends Google_Collection
+{
+ protected $columnHeadersType = 'Google_Service_Analytics_McfDataColumnHeaders';
+ protected $columnHeadersDataType = 'array';
+ public $containsSampledData;
+ public $id;
+ public $itemsPerPage;
+ public $kind;
+ public $nextLink;
+ public $previousLink;
+ protected $profileInfoType = 'Google_Service_Analytics_McfDataProfileInfo';
+ protected $profileInfoDataType = '';
+ protected $queryType = 'Google_Service_Analytics_McfDataQuery';
+ protected $queryDataType = '';
+ protected $rowsType = 'Google_Service_Analytics_McfDataRows';
+ protected $rowsDataType = 'array';
+ public $sampleSize;
+ public $sampleSpace;
+ public $selfLink;
+ public $totalResults;
+ public $totalsForAllResults;
+
+ public function setColumnHeaders($columnHeaders)
{
- $this->created = $created;
+ $this->columnHeaders = $columnHeaders;
}
- public function getCreated()
+ public function getColumnHeaders()
{
- return $this->created;
+ return $this->columnHeaders;
}
- public function setEventDetails(Google_Service_Analytics_GoalEventDetails $eventDetails)
+ public function setContainsSampledData($containsSampledData)
{
- $this->eventDetails = $eventDetails;
+ $this->containsSampledData = $containsSampledData;
}
- public function getEventDetails()
+ public function getContainsSampledData()
{
- return $this->eventDetails;
+ return $this->containsSampledData;
}
public function setId($id)
@@ -5113,14 +7532,14 @@ public function getId()
return $this->id;
}
- public function setInternalWebPropertyId($internalWebPropertyId)
+ public function setItemsPerPage($itemsPerPage)
{
- $this->internalWebPropertyId = $internalWebPropertyId;
+ $this->itemsPerPage = $itemsPerPage;
}
- public function getInternalWebPropertyId()
+ public function getItemsPerPage()
{
- return $this->internalWebPropertyId;
+ return $this->itemsPerPage;
}
public function setKind($kind)
@@ -5133,511 +7552,489 @@ public function getKind()
return $this->kind;
}
- public function setName($name)
+ public function setNextLink($nextLink)
{
- $this->name = $name;
+ $this->nextLink = $nextLink;
}
- public function getName()
+ public function getNextLink()
{
- return $this->name;
+ return $this->nextLink;
}
- public function setParentLink(Google_Service_Analytics_GoalParentLink $parentLink)
+ public function setPreviousLink($previousLink)
{
- $this->parentLink = $parentLink;
+ $this->previousLink = $previousLink;
}
- public function getParentLink()
+ public function getPreviousLink()
{
- return $this->parentLink;
+ return $this->previousLink;
}
- public function setProfileId($profileId)
+ public function setProfileInfo(Google_Service_Analytics_McfDataProfileInfo $profileInfo)
{
- $this->profileId = $profileId;
+ $this->profileInfo = $profileInfo;
}
- public function getProfileId()
+ public function getProfileInfo()
{
- return $this->profileId;
+ return $this->profileInfo;
}
- public function setSelfLink($selfLink)
+ public function setQuery(Google_Service_Analytics_McfDataQuery $query)
{
- $this->selfLink = $selfLink;
+ $this->query = $query;
}
- public function getSelfLink()
+ public function getQuery()
{
- return $this->selfLink;
+ return $this->query;
}
- public function setType($type)
+ public function setRows($rows)
{
- $this->type = $type;
+ $this->rows = $rows;
}
- public function getType()
+ public function getRows()
{
- return $this->type;
+ return $this->rows;
}
- public function setUpdated($updated)
+ public function setSampleSize($sampleSize)
{
- $this->updated = $updated;
+ $this->sampleSize = $sampleSize;
}
- public function getUpdated()
+ public function getSampleSize()
{
- return $this->updated;
+ return $this->sampleSize;
}
- public function setUrlDestinationDetails(Google_Service_Analytics_GoalUrlDestinationDetails $urlDestinationDetails)
+ public function setSampleSpace($sampleSpace)
{
- $this->urlDestinationDetails = $urlDestinationDetails;
+ $this->sampleSpace = $sampleSpace;
}
- public function getUrlDestinationDetails()
+ public function getSampleSpace()
{
- return $this->urlDestinationDetails;
+ return $this->sampleSpace;
}
- public function setValue($value)
+ public function setSelfLink($selfLink)
{
- $this->value = $value;
+ $this->selfLink = $selfLink;
}
- public function getValue()
+ public function getSelfLink()
{
- return $this->value;
+ return $this->selfLink;
}
- public function setVisitNumPagesDetails(Google_Service_Analytics_GoalVisitNumPagesDetails $visitNumPagesDetails)
+ public function setTotalResults($totalResults)
{
- $this->visitNumPagesDetails = $visitNumPagesDetails;
+ $this->totalResults = $totalResults;
}
- public function getVisitNumPagesDetails()
+ public function getTotalResults()
{
- return $this->visitNumPagesDetails;
+ return $this->totalResults;
}
- public function setVisitTimeOnSiteDetails(Google_Service_Analytics_GoalVisitTimeOnSiteDetails $visitTimeOnSiteDetails)
+ public function setTotalsForAllResults($totalsForAllResults)
{
- $this->visitTimeOnSiteDetails = $visitTimeOnSiteDetails;
+ $this->totalsForAllResults = $totalsForAllResults;
}
- public function getVisitTimeOnSiteDetails()
+ public function getTotalsForAllResults()
{
- return $this->visitTimeOnSiteDetails;
+ return $this->totalsForAllResults;
}
+}
- public function setWebPropertyId($webPropertyId)
+class Google_Service_Analytics_McfDataColumnHeaders extends Google_Model
+{
+ public $columnType;
+ public $dataType;
+ public $name;
+
+ public function setColumnType($columnType)
{
- $this->webPropertyId = $webPropertyId;
+ $this->columnType = $columnType;
}
- public function getWebPropertyId()
+ public function getColumnType()
{
- return $this->webPropertyId;
+ return $this->columnType;
}
-}
-
-class Google_Service_Analytics_GoalEventDetails extends Google_Collection
-{
- protected $eventConditionsType = 'Google_Service_Analytics_GoalEventDetailsEventConditions';
- protected $eventConditionsDataType = 'array';
- public $useEventValue;
- public function setEventConditions($eventConditions)
+ public function setDataType($dataType)
{
- $this->eventConditions = $eventConditions;
+ $this->dataType = $dataType;
}
- public function getEventConditions()
+ public function getDataType()
{
- return $this->eventConditions;
+ return $this->dataType;
}
- public function setUseEventValue($useEventValue)
+ public function setName($name)
{
- $this->useEventValue = $useEventValue;
+ $this->name = $name;
}
- public function getUseEventValue()
+ public function getName()
{
- return $this->useEventValue;
+ return $this->name;
}
}
-class Google_Service_Analytics_GoalEventDetailsEventConditions extends Google_Model
+class Google_Service_Analytics_McfDataProfileInfo extends Google_Model
{
- public $comparisonType;
- public $comparisonValue;
- public $expression;
- public $matchType;
- public $type;
+ public $accountId;
+ public $internalWebPropertyId;
+ public $profileId;
+ public $profileName;
+ public $tableId;
+ public $webPropertyId;
- public function setComparisonType($comparisonType)
+ public function setAccountId($accountId)
{
- $this->comparisonType = $comparisonType;
+ $this->accountId = $accountId;
}
- public function getComparisonType()
+ public function getAccountId()
{
- return $this->comparisonType;
+ return $this->accountId;
}
- public function setComparisonValue($comparisonValue)
+ public function setInternalWebPropertyId($internalWebPropertyId)
{
- $this->comparisonValue = $comparisonValue;
+ $this->internalWebPropertyId = $internalWebPropertyId;
}
- public function getComparisonValue()
+ public function getInternalWebPropertyId()
{
- return $this->comparisonValue;
+ return $this->internalWebPropertyId;
}
- public function setExpression($expression)
+ public function setProfileId($profileId)
{
- $this->expression = $expression;
+ $this->profileId = $profileId;
}
- public function getExpression()
+ public function getProfileId()
{
- return $this->expression;
+ return $this->profileId;
}
- public function setMatchType($matchType)
+ public function setProfileName($profileName)
{
- $this->matchType = $matchType;
+ $this->profileName = $profileName;
}
- public function getMatchType()
+ public function getProfileName()
{
- return $this->matchType;
+ return $this->profileName;
}
- public function setType($type)
+ public function setTableId($tableId)
{
- $this->type = $type;
+ $this->tableId = $tableId;
}
- public function getType()
+ public function getTableId()
{
- return $this->type;
+ return $this->tableId;
}
-}
-
-class Google_Service_Analytics_GoalParentLink extends Google_Model
-{
- public $href;
- public $type;
- public function setHref($href)
+ public function setWebPropertyId($webPropertyId)
{
- $this->href = $href;
+ $this->webPropertyId = $webPropertyId;
}
- public function getHref()
+ public function getWebPropertyId()
{
- return $this->href;
+ return $this->webPropertyId;
}
+}
- public function setType($type)
+class Google_Service_Analytics_McfDataQuery extends Google_Collection
+{
+ public $dimensions;
+ public $endDate;
+ public $filters;
+ public $ids;
+ public $maxResults;
+ public $metrics;
+ public $samplingLevel;
+ public $segment;
+ public $sort;
+ public $startDate;
+ public $startIndex;
+
+ public function setDimensions($dimensions)
{
- $this->type = $type;
+ $this->dimensions = $dimensions;
}
- public function getType()
+ public function getDimensions()
{
- return $this->type;
+ return $this->dimensions;
}
-}
-
-class Google_Service_Analytics_GoalUrlDestinationDetails extends Google_Collection
-{
- public $caseSensitive;
- public $firstStepRequired;
- public $matchType;
- protected $stepsType = 'Google_Service_Analytics_GoalUrlDestinationDetailsSteps';
- protected $stepsDataType = 'array';
- public $url;
- public function setCaseSensitive($caseSensitive)
+ public function setEndDate($endDate)
{
- $this->caseSensitive = $caseSensitive;
+ $this->endDate = $endDate;
}
- public function getCaseSensitive()
+ public function getEndDate()
{
- return $this->caseSensitive;
+ return $this->endDate;
}
- public function setFirstStepRequired($firstStepRequired)
+ public function setFilters($filters)
{
- $this->firstStepRequired = $firstStepRequired;
+ $this->filters = $filters;
}
- public function getFirstStepRequired()
+ public function getFilters()
{
- return $this->firstStepRequired;
+ return $this->filters;
}
- public function setMatchType($matchType)
+ public function setIds($ids)
{
- $this->matchType = $matchType;
+ $this->ids = $ids;
}
- public function getMatchType()
+ public function getIds()
{
- return $this->matchType;
+ return $this->ids;
}
- public function setSteps($steps)
+ public function setMaxResults($maxResults)
{
- $this->steps = $steps;
+ $this->maxResults = $maxResults;
}
- public function getSteps()
+ public function getMaxResults()
{
- return $this->steps;
+ return $this->maxResults;
}
- public function setUrl($url)
+ public function setMetrics($metrics)
{
- $this->url = $url;
+ $this->metrics = $metrics;
}
- public function getUrl()
+ public function getMetrics()
{
- return $this->url;
+ return $this->metrics;
}
-}
-class Google_Service_Analytics_GoalUrlDestinationDetailsSteps extends Google_Model
-{
- public $name;
- public $number;
- public $url;
-
- public function setName($name)
+ public function setSamplingLevel($samplingLevel)
{
- $this->name = $name;
+ $this->samplingLevel = $samplingLevel;
}
- public function getName()
+ public function getSamplingLevel()
{
- return $this->name;
+ return $this->samplingLevel;
}
- public function setNumber($number)
+ public function setSegment($segment)
{
- $this->number = $number;
+ $this->segment = $segment;
}
- public function getNumber()
+ public function getSegment()
{
- return $this->number;
+ return $this->segment;
}
- public function setUrl($url)
+ public function setSort($sort)
{
- $this->url = $url;
+ $this->sort = $sort;
}
- public function getUrl()
+ public function getSort()
{
- return $this->url;
+ return $this->sort;
}
-}
-
-class Google_Service_Analytics_GoalVisitNumPagesDetails extends Google_Model
-{
- public $comparisonType;
- public $comparisonValue;
- public function setComparisonType($comparisonType)
+ public function setStartDate($startDate)
{
- $this->comparisonType = $comparisonType;
+ $this->startDate = $startDate;
}
- public function getComparisonType()
+ public function getStartDate()
{
- return $this->comparisonType;
+ return $this->startDate;
}
- public function setComparisonValue($comparisonValue)
+ public function setStartIndex($startIndex)
{
- $this->comparisonValue = $comparisonValue;
+ $this->startIndex = $startIndex;
}
- public function getComparisonValue()
+ public function getStartIndex()
{
- return $this->comparisonValue;
+ return $this->startIndex;
}
}
-class Google_Service_Analytics_GoalVisitTimeOnSiteDetails extends Google_Model
+class Google_Service_Analytics_McfDataRows extends Google_Collection
{
- public $comparisonType;
- public $comparisonValue;
+ protected $conversionPathValueType = 'Google_Service_Analytics_McfDataRowsConversionPathValue';
+ protected $conversionPathValueDataType = 'array';
+ public $primitiveValue;
- public function setComparisonType($comparisonType)
+ public function setConversionPathValue($conversionPathValue)
{
- $this->comparisonType = $comparisonType;
+ $this->conversionPathValue = $conversionPathValue;
}
- public function getComparisonType()
+ public function getConversionPathValue()
{
- return $this->comparisonType;
+ return $this->conversionPathValue;
}
- public function setComparisonValue($comparisonValue)
+ public function setPrimitiveValue($primitiveValue)
{
- $this->comparisonValue = $comparisonValue;
+ $this->primitiveValue = $primitiveValue;
}
- public function getComparisonValue()
+ public function getPrimitiveValue()
{
- return $this->comparisonValue;
+ return $this->primitiveValue;
}
}
-class Google_Service_Analytics_Goals extends Google_Collection
+class Google_Service_Analytics_McfDataRowsConversionPathValue extends Google_Model
{
- protected $itemsType = 'Google_Service_Analytics_Goal';
- protected $itemsDataType = 'array';
- public $itemsPerPage;
- public $kind;
- public $nextLink;
- public $previousLink;
- public $startIndex;
- public $totalResults;
- public $username;
-
- public function setItems($items)
- {
- $this->items = $items;
- }
-
- public function getItems()
- {
- return $this->items;
- }
+ public $interactionType;
+ public $nodeValue;
- public function setItemsPerPage($itemsPerPage)
+ public function setInteractionType($interactionType)
{
- $this->itemsPerPage = $itemsPerPage;
+ $this->interactionType = $interactionType;
}
- public function getItemsPerPage()
+ public function getInteractionType()
{
- return $this->itemsPerPage;
+ return $this->interactionType;
}
- public function setKind($kind)
+ public function setNodeValue($nodeValue)
{
- $this->kind = $kind;
+ $this->nodeValue = $nodeValue;
}
- public function getKind()
+ public function getNodeValue()
{
- return $this->kind;
+ return $this->nodeValue;
}
+}
- public function setNextLink($nextLink)
+class Google_Service_Analytics_Profile extends Google_Model
+{
+ public $accountId;
+ protected $childLinkType = 'Google_Service_Analytics_ProfileChildLink';
+ protected $childLinkDataType = '';
+ public $created;
+ public $currency;
+ public $defaultPage;
+ public $eCommerceTracking;
+ public $excludeQueryParameters;
+ public $id;
+ public $internalWebPropertyId;
+ public $kind;
+ public $name;
+ protected $parentLinkType = 'Google_Service_Analytics_ProfileParentLink';
+ protected $parentLinkDataType = '';
+ protected $permissionsType = 'Google_Service_Analytics_ProfilePermissions';
+ protected $permissionsDataType = '';
+ public $selfLink;
+ public $siteSearchCategoryParameters;
+ public $siteSearchQueryParameters;
+ public $stripSiteSearchCategoryParameters;
+ public $stripSiteSearchQueryParameters;
+ public $timezone;
+ public $type;
+ public $updated;
+ public $webPropertyId;
+ public $websiteUrl;
+
+ public function setAccountId($accountId)
{
- $this->nextLink = $nextLink;
+ $this->accountId = $accountId;
}
- public function getNextLink()
+ public function getAccountId()
{
- return $this->nextLink;
+ return $this->accountId;
}
- public function setPreviousLink($previousLink)
+ public function setChildLink(Google_Service_Analytics_ProfileChildLink $childLink)
{
- $this->previousLink = $previousLink;
+ $this->childLink = $childLink;
}
- public function getPreviousLink()
+ public function getChildLink()
{
- return $this->previousLink;
+ return $this->childLink;
}
- public function setStartIndex($startIndex)
+ public function setCreated($created)
{
- $this->startIndex = $startIndex;
+ $this->created = $created;
}
- public function getStartIndex()
+ public function getCreated()
{
- return $this->startIndex;
+ return $this->created;
}
- public function setTotalResults($totalResults)
+ public function setCurrency($currency)
{
- $this->totalResults = $totalResults;
+ $this->currency = $currency;
}
- public function getTotalResults()
+ public function getCurrency()
{
- return $this->totalResults;
+ return $this->currency;
}
- public function setUsername($username)
+ public function setDefaultPage($defaultPage)
{
- $this->username = $username;
+ $this->defaultPage = $defaultPage;
}
- public function getUsername()
+ public function getDefaultPage()
{
- return $this->username;
+ return $this->defaultPage;
}
-}
-
-class Google_Service_Analytics_McfData extends Google_Collection
-{
- protected $columnHeadersType = 'Google_Service_Analytics_McfDataColumnHeaders';
- protected $columnHeadersDataType = 'array';
- public $containsSampledData;
- public $id;
- public $itemsPerPage;
- public $kind;
- public $nextLink;
- public $previousLink;
- protected $profileInfoType = 'Google_Service_Analytics_McfDataProfileInfo';
- protected $profileInfoDataType = '';
- protected $queryType = 'Google_Service_Analytics_McfDataQuery';
- protected $queryDataType = '';
- protected $rowsType = 'Google_Service_Analytics_McfDataRows';
- protected $rowsDataType = 'array';
- public $sampleSize;
- public $sampleSpace;
- public $selfLink;
- public $totalResults;
- public $totalsForAllResults;
- public function setColumnHeaders($columnHeaders)
+ public function setECommerceTracking($eCommerceTracking)
{
- $this->columnHeaders = $columnHeaders;
+ $this->eCommerceTracking = $eCommerceTracking;
}
- public function getColumnHeaders()
+ public function getECommerceTracking()
{
- return $this->columnHeaders;
+ return $this->eCommerceTracking;
}
- public function setContainsSampledData($containsSampledData)
+ public function setExcludeQueryParameters($excludeQueryParameters)
{
- $this->containsSampledData = $containsSampledData;
+ $this->excludeQueryParameters = $excludeQueryParameters;
}
- public function getContainsSampledData()
+ public function getExcludeQueryParameters()
{
- return $this->containsSampledData;
+ return $this->excludeQueryParameters;
}
public function setId($id)
@@ -5650,14 +8047,14 @@ public function getId()
return $this->id;
}
- public function setItemsPerPage($itemsPerPage)
+ public function setInternalWebPropertyId($internalWebPropertyId)
{
- $this->itemsPerPage = $itemsPerPage;
+ $this->internalWebPropertyId = $internalWebPropertyId;
}
- public function getItemsPerPage()
+ public function getInternalWebPropertyId()
{
- return $this->itemsPerPage;
+ return $this->internalWebPropertyId;
}
public function setKind($kind)
@@ -5670,509 +8067,528 @@ public function getKind()
return $this->kind;
}
- public function setNextLink($nextLink)
+ public function setName($name)
{
- $this->nextLink = $nextLink;
+ $this->name = $name;
}
- public function getNextLink()
+ public function getName()
{
- return $this->nextLink;
+ return $this->name;
}
- public function setPreviousLink($previousLink)
+ public function setParentLink(Google_Service_Analytics_ProfileParentLink $parentLink)
{
- $this->previousLink = $previousLink;
+ $this->parentLink = $parentLink;
}
- public function getPreviousLink()
+ public function getParentLink()
{
- return $this->previousLink;
+ return $this->parentLink;
}
- public function setProfileInfo(Google_Service_Analytics_McfDataProfileInfo $profileInfo)
+ public function setPermissions(Google_Service_Analytics_ProfilePermissions $permissions)
{
- $this->profileInfo = $profileInfo;
+ $this->permissions = $permissions;
}
- public function getProfileInfo()
+ public function getPermissions()
{
- return $this->profileInfo;
+ return $this->permissions;
}
- public function setQuery(Google_Service_Analytics_McfDataQuery $query)
+ public function setSelfLink($selfLink)
{
- $this->query = $query;
+ $this->selfLink = $selfLink;
}
- public function getQuery()
+ public function getSelfLink()
{
- return $this->query;
+ return $this->selfLink;
}
- public function setRows($rows)
+ public function setSiteSearchCategoryParameters($siteSearchCategoryParameters)
{
- $this->rows = $rows;
+ $this->siteSearchCategoryParameters = $siteSearchCategoryParameters;
}
- public function getRows()
+ public function getSiteSearchCategoryParameters()
{
- return $this->rows;
+ return $this->siteSearchCategoryParameters;
}
- public function setSampleSize($sampleSize)
+ public function setSiteSearchQueryParameters($siteSearchQueryParameters)
{
- $this->sampleSize = $sampleSize;
+ $this->siteSearchQueryParameters = $siteSearchQueryParameters;
}
- public function getSampleSize()
+ public function getSiteSearchQueryParameters()
{
- return $this->sampleSize;
+ return $this->siteSearchQueryParameters;
}
- public function setSampleSpace($sampleSpace)
+ public function setStripSiteSearchCategoryParameters($stripSiteSearchCategoryParameters)
{
- $this->sampleSpace = $sampleSpace;
+ $this->stripSiteSearchCategoryParameters = $stripSiteSearchCategoryParameters;
}
- public function getSampleSpace()
+ public function getStripSiteSearchCategoryParameters()
{
- return $this->sampleSpace;
+ return $this->stripSiteSearchCategoryParameters;
}
- public function setSelfLink($selfLink)
+ public function setStripSiteSearchQueryParameters($stripSiteSearchQueryParameters)
{
- $this->selfLink = $selfLink;
+ $this->stripSiteSearchQueryParameters = $stripSiteSearchQueryParameters;
}
- public function getSelfLink()
+ public function getStripSiteSearchQueryParameters()
{
- return $this->selfLink;
+ return $this->stripSiteSearchQueryParameters;
}
- public function setTotalResults($totalResults)
+ public function setTimezone($timezone)
{
- $this->totalResults = $totalResults;
+ $this->timezone = $timezone;
}
- public function getTotalResults()
+ public function getTimezone()
{
- return $this->totalResults;
+ return $this->timezone;
}
- public function setTotalsForAllResults($totalsForAllResults)
+ public function setType($type)
{
- $this->totalsForAllResults = $totalsForAllResults;
+ $this->type = $type;
}
- public function getTotalsForAllResults()
+ public function getType()
{
- return $this->totalsForAllResults;
+ return $this->type;
}
-}
-class Google_Service_Analytics_McfDataColumnHeaders extends Google_Model
-{
- public $columnType;
- public $dataType;
- public $name;
+ public function setUpdated($updated)
+ {
+ $this->updated = $updated;
+ }
- public function setColumnType($columnType)
+ public function getUpdated()
{
- $this->columnType = $columnType;
+ return $this->updated;
}
- public function getColumnType()
+ public function setWebPropertyId($webPropertyId)
{
- return $this->columnType;
+ $this->webPropertyId = $webPropertyId;
}
- public function setDataType($dataType)
+ public function getWebPropertyId()
{
- $this->dataType = $dataType;
+ return $this->webPropertyId;
}
- public function getDataType()
+ public function setWebsiteUrl($websiteUrl)
{
- return $this->dataType;
+ $this->websiteUrl = $websiteUrl;
}
- public function setName($name)
+ public function getWebsiteUrl()
+ {
+ return $this->websiteUrl;
+ }
+}
+
+class Google_Service_Analytics_ProfileChildLink extends Google_Model
+{
+ public $href;
+ public $type;
+
+ public function setHref($href)
+ {
+ $this->href = $href;
+ }
+
+ public function getHref()
+ {
+ return $this->href;
+ }
+
+ public function setType($type)
{
- $this->name = $name;
+ $this->type = $type;
}
- public function getName()
+ public function getType()
{
- return $this->name;
+ return $this->type;
}
}
-class Google_Service_Analytics_McfDataProfileInfo extends Google_Model
+class Google_Service_Analytics_ProfileFilterLink extends Google_Model
{
- public $accountId;
- public $internalWebPropertyId;
- public $profileId;
- public $profileName;
- public $tableId;
- public $webPropertyId;
+ protected $filterRefType = 'Google_Service_Analytics_FilterRef';
+ protected $filterRefDataType = '';
+ public $id;
+ public $kind;
+ protected $profileRefType = 'Google_Service_Analytics_ProfileRef';
+ protected $profileRefDataType = '';
+ public $rank;
+ public $selfLink;
- public function setAccountId($accountId)
+ public function setFilterRef(Google_Service_Analytics_FilterRef $filterRef)
{
- $this->accountId = $accountId;
+ $this->filterRef = $filterRef;
}
- public function getAccountId()
+ public function getFilterRef()
{
- return $this->accountId;
+ return $this->filterRef;
}
- public function setInternalWebPropertyId($internalWebPropertyId)
+ public function setId($id)
{
- $this->internalWebPropertyId = $internalWebPropertyId;
+ $this->id = $id;
}
- public function getInternalWebPropertyId()
+ public function getId()
{
- return $this->internalWebPropertyId;
+ return $this->id;
}
- public function setProfileId($profileId)
+ public function setKind($kind)
{
- $this->profileId = $profileId;
+ $this->kind = $kind;
}
- public function getProfileId()
+ public function getKind()
{
- return $this->profileId;
+ return $this->kind;
}
- public function setProfileName($profileName)
+ public function setProfileRef(Google_Service_Analytics_ProfileRef $profileRef)
{
- $this->profileName = $profileName;
+ $this->profileRef = $profileRef;
}
- public function getProfileName()
+ public function getProfileRef()
{
- return $this->profileName;
+ return $this->profileRef;
}
- public function setTableId($tableId)
+ public function setRank($rank)
{
- $this->tableId = $tableId;
+ $this->rank = $rank;
}
- public function getTableId()
+ public function getRank()
{
- return $this->tableId;
+ return $this->rank;
}
- public function setWebPropertyId($webPropertyId)
+ public function setSelfLink($selfLink)
{
- $this->webPropertyId = $webPropertyId;
+ $this->selfLink = $selfLink;
}
- public function getWebPropertyId()
+ public function getSelfLink()
{
- return $this->webPropertyId;
+ return $this->selfLink;
}
}
-class Google_Service_Analytics_McfDataQuery extends Google_Collection
+class Google_Service_Analytics_ProfileFilterLinks extends Google_Collection
{
- public $dimensions;
- public $endDate;
- public $filters;
- public $ids;
- public $maxResults;
- public $metrics;
- public $samplingLevel;
- public $segment;
- public $sort;
- public $startDate;
+ protected $itemsType = 'Google_Service_Analytics_ProfileFilterLink';
+ protected $itemsDataType = 'array';
+ public $itemsPerPage;
+ public $kind;
+ public $nextLink;
+ public $previousLink;
public $startIndex;
+ public $totalResults;
+ public $username;
- public function setDimensions($dimensions)
+ public function setItems($items)
{
- $this->dimensions = $dimensions;
+ $this->items = $items;
}
- public function getDimensions()
+ public function getItems()
{
- return $this->dimensions;
+ return $this->items;
}
- public function setEndDate($endDate)
+ public function setItemsPerPage($itemsPerPage)
{
- $this->endDate = $endDate;
+ $this->itemsPerPage = $itemsPerPage;
}
- public function getEndDate()
+ public function getItemsPerPage()
{
- return $this->endDate;
+ return $this->itemsPerPage;
}
- public function setFilters($filters)
+ public function setKind($kind)
{
- $this->filters = $filters;
+ $this->kind = $kind;
}
- public function getFilters()
+ public function getKind()
{
- return $this->filters;
+ return $this->kind;
}
- public function setIds($ids)
+ public function setNextLink($nextLink)
{
- $this->ids = $ids;
+ $this->nextLink = $nextLink;
}
- public function getIds()
+ public function getNextLink()
{
- return $this->ids;
+ return $this->nextLink;
}
- public function setMaxResults($maxResults)
+ public function setPreviousLink($previousLink)
{
- $this->maxResults = $maxResults;
+ $this->previousLink = $previousLink;
}
- public function getMaxResults()
+ public function getPreviousLink()
{
- return $this->maxResults;
+ return $this->previousLink;
}
- public function setMetrics($metrics)
+ public function setStartIndex($startIndex)
{
- $this->metrics = $metrics;
+ $this->startIndex = $startIndex;
}
- public function getMetrics()
+ public function getStartIndex()
{
- return $this->metrics;
+ return $this->startIndex;
}
- public function setSamplingLevel($samplingLevel)
+ public function setTotalResults($totalResults)
{
- $this->samplingLevel = $samplingLevel;
+ $this->totalResults = $totalResults;
}
- public function getSamplingLevel()
+ public function getTotalResults()
{
- return $this->samplingLevel;
+ return $this->totalResults;
}
- public function setSegment($segment)
+ public function setUsername($username)
{
- $this->segment = $segment;
+ $this->username = $username;
}
- public function getSegment()
+ public function getUsername()
{
- return $this->segment;
+ return $this->username;
}
+}
- public function setSort($sort)
+class Google_Service_Analytics_ProfileParentLink extends Google_Model
+{
+ public $href;
+ public $type;
+
+ public function setHref($href)
{
- $this->sort = $sort;
+ $this->href = $href;
}
- public function getSort()
+ public function getHref()
{
- return $this->sort;
+ return $this->href;
}
- public function setStartDate($startDate)
+ public function setType($type)
{
- $this->startDate = $startDate;
+ $this->type = $type;
}
- public function getStartDate()
+ public function getType()
{
- return $this->startDate;
+ return $this->type;
}
+}
- public function setStartIndex($startIndex)
+class Google_Service_Analytics_ProfilePermissions extends Google_Collection
+{
+ public $effective;
+
+ public function setEffective($effective)
{
- $this->startIndex = $startIndex;
+ $this->effective = $effective;
}
- public function getStartIndex()
+ public function getEffective()
{
- return $this->startIndex;
+ return $this->effective;
}
}
-class Google_Service_Analytics_McfDataRows extends Google_Collection
+class Google_Service_Analytics_ProfileRef extends Google_Model
{
- protected $conversionPathValueType = 'Google_Service_Analytics_McfDataRowsConversionPathValue';
- protected $conversionPathValueDataType = 'array';
- public $primitiveValue;
-
- public function setConversionPathValue($conversionPathValue)
- {
- $this->conversionPathValue = $conversionPathValue;
- }
+ public $accountId;
+ public $href;
+ public $id;
+ public $internalWebPropertyId;
+ public $kind;
+ public $name;
+ public $webPropertyId;
- public function getConversionPathValue()
+ public function setAccountId($accountId)
{
- return $this->conversionPathValue;
+ $this->accountId = $accountId;
}
- public function setPrimitiveValue($primitiveValue)
+ public function getAccountId()
{
- $this->primitiveValue = $primitiveValue;
+ return $this->accountId;
}
- public function getPrimitiveValue()
+ public function setHref($href)
{
- return $this->primitiveValue;
+ $this->href = $href;
}
-}
-
-class Google_Service_Analytics_McfDataRowsConversionPathValue extends Google_Model
-{
- public $interactionType;
- public $nodeValue;
- public function setInteractionType($interactionType)
+ public function getHref()
{
- $this->interactionType = $interactionType;
+ return $this->href;
}
- public function getInteractionType()
+ public function setId($id)
{
- return $this->interactionType;
+ $this->id = $id;
}
- public function setNodeValue($nodeValue)
+ public function getId()
{
- $this->nodeValue = $nodeValue;
+ return $this->id;
}
- public function getNodeValue()
+ public function setInternalWebPropertyId($internalWebPropertyId)
{
- return $this->nodeValue;
+ $this->internalWebPropertyId = $internalWebPropertyId;
}
-}
-
-class Google_Service_Analytics_Profile extends Google_Model
-{
- public $accountId;
- protected $childLinkType = 'Google_Service_Analytics_ProfileChildLink';
- protected $childLinkDataType = '';
- public $created;
- public $currency;
- public $defaultPage;
- public $eCommerceTracking;
- public $excludeQueryParameters;
- public $id;
- public $internalWebPropertyId;
- public $kind;
- public $name;
- protected $parentLinkType = 'Google_Service_Analytics_ProfileParentLink';
- protected $parentLinkDataType = '';
- protected $permissionsType = 'Google_Service_Analytics_ProfilePermissions';
- protected $permissionsDataType = '';
- public $selfLink;
- public $siteSearchCategoryParameters;
- public $siteSearchQueryParameters;
- public $stripSiteSearchCategoryParameters;
- public $stripSiteSearchQueryParameters;
- public $timezone;
- public $type;
- public $updated;
- public $webPropertyId;
- public $websiteUrl;
- public function setAccountId($accountId)
+ public function getInternalWebPropertyId()
{
- $this->accountId = $accountId;
+ return $this->internalWebPropertyId;
}
- public function getAccountId()
+ public function setKind($kind)
{
- return $this->accountId;
+ $this->kind = $kind;
}
- public function setChildLink(Google_Service_Analytics_ProfileChildLink $childLink)
+ public function getKind()
{
- $this->childLink = $childLink;
+ return $this->kind;
}
- public function getChildLink()
+ public function setName($name)
{
- return $this->childLink;
+ $this->name = $name;
}
- public function setCreated($created)
+ public function getName()
{
- $this->created = $created;
+ return $this->name;
}
- public function getCreated()
+ public function setWebPropertyId($webPropertyId)
{
- return $this->created;
+ $this->webPropertyId = $webPropertyId;
}
- public function setCurrency($currency)
+ public function getWebPropertyId()
{
- $this->currency = $currency;
+ return $this->webPropertyId;
}
+}
- public function getCurrency()
+class Google_Service_Analytics_ProfileSummary extends Google_Model
+{
+ public $id;
+ public $kind;
+ public $name;
+ public $type;
+
+ public function setId($id)
{
- return $this->currency;
+ $this->id = $id;
}
- public function setDefaultPage($defaultPage)
+ public function getId()
{
- $this->defaultPage = $defaultPage;
+ return $this->id;
}
- public function getDefaultPage()
+ public function setKind($kind)
{
- return $this->defaultPage;
+ $this->kind = $kind;
}
- public function setECommerceTracking($eCommerceTracking)
+ public function getKind()
{
- $this->eCommerceTracking = $eCommerceTracking;
+ return $this->kind;
}
- public function getECommerceTracking()
+ public function setName($name)
{
- return $this->eCommerceTracking;
+ $this->name = $name;
}
- public function setExcludeQueryParameters($excludeQueryParameters)
+ public function getName()
{
- $this->excludeQueryParameters = $excludeQueryParameters;
+ return $this->name;
}
- public function getExcludeQueryParameters()
+ public function setType($type)
{
- return $this->excludeQueryParameters;
+ $this->type = $type;
}
- public function setId($id)
+ public function getType()
{
- $this->id = $id;
+ return $this->type;
}
+}
- public function getId()
+class Google_Service_Analytics_Profiles extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_Analytics_Profile';
+ protected $itemsDataType = 'array';
+ public $itemsPerPage;
+ public $kind;
+ public $nextLink;
+ public $previousLink;
+ public $startIndex;
+ public $totalResults;
+ public $username;
+
+ public function setItems($items)
{
- return $this->id;
+ $this->items = $items;
}
- public function setInternalWebPropertyId($internalWebPropertyId)
+ public function getItems()
{
- $this->internalWebPropertyId = $internalWebPropertyId;
+ return $this->items;
}
- public function getInternalWebPropertyId()
+ public function setItemsPerPage($itemsPerPage)
{
- return $this->internalWebPropertyId;
+ $this->itemsPerPage = $itemsPerPage;
+ }
+
+ public function getItemsPerPage()
+ {
+ return $this->itemsPerPage;
}
public function setKind($kind)
@@ -6185,212 +8601,207 @@ public function getKind()
return $this->kind;
}
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
+ public function setNextLink($nextLink)
{
- return $this->name;
+ $this->nextLink = $nextLink;
}
- public function setParentLink(Google_Service_Analytics_ProfileParentLink $parentLink)
+ public function getNextLink()
{
- $this->parentLink = $parentLink;
+ return $this->nextLink;
}
- public function getParentLink()
+ public function setPreviousLink($previousLink)
{
- return $this->parentLink;
+ $this->previousLink = $previousLink;
}
- public function setPermissions(Google_Service_Analytics_ProfilePermissions $permissions)
+ public function getPreviousLink()
{
- $this->permissions = $permissions;
+ return $this->previousLink;
}
- public function getPermissions()
+ public function setStartIndex($startIndex)
{
- return $this->permissions;
+ $this->startIndex = $startIndex;
}
- public function setSelfLink($selfLink)
+ public function getStartIndex()
{
- $this->selfLink = $selfLink;
+ return $this->startIndex;
}
- public function getSelfLink()
+ public function setTotalResults($totalResults)
{
- return $this->selfLink;
+ $this->totalResults = $totalResults;
}
- public function setSiteSearchCategoryParameters($siteSearchCategoryParameters)
+ public function getTotalResults()
{
- $this->siteSearchCategoryParameters = $siteSearchCategoryParameters;
+ return $this->totalResults;
}
- public function getSiteSearchCategoryParameters()
+ public function setUsername($username)
{
- return $this->siteSearchCategoryParameters;
+ $this->username = $username;
}
- public function setSiteSearchQueryParameters($siteSearchQueryParameters)
+ public function getUsername()
{
- $this->siteSearchQueryParameters = $siteSearchQueryParameters;
+ return $this->username;
}
+}
- public function getSiteSearchQueryParameters()
- {
- return $this->siteSearchQueryParameters;
- }
+class Google_Service_Analytics_RealtimeData extends Google_Collection
+{
+ protected $columnHeadersType = 'Google_Service_Analytics_RealtimeDataColumnHeaders';
+ protected $columnHeadersDataType = 'array';
+ public $id;
+ public $kind;
+ protected $profileInfoType = 'Google_Service_Analytics_RealtimeDataProfileInfo';
+ protected $profileInfoDataType = '';
+ protected $queryType = 'Google_Service_Analytics_RealtimeDataQuery';
+ protected $queryDataType = '';
+ public $rows;
+ public $selfLink;
+ public $totalResults;
+ public $totalsForAllResults;
- public function setStripSiteSearchCategoryParameters($stripSiteSearchCategoryParameters)
+ public function setColumnHeaders($columnHeaders)
{
- $this->stripSiteSearchCategoryParameters = $stripSiteSearchCategoryParameters;
+ $this->columnHeaders = $columnHeaders;
}
- public function getStripSiteSearchCategoryParameters()
+ public function getColumnHeaders()
{
- return $this->stripSiteSearchCategoryParameters;
+ return $this->columnHeaders;
}
- public function setStripSiteSearchQueryParameters($stripSiteSearchQueryParameters)
+ public function setId($id)
{
- $this->stripSiteSearchQueryParameters = $stripSiteSearchQueryParameters;
+ $this->id = $id;
}
- public function getStripSiteSearchQueryParameters()
+ public function getId()
{
- return $this->stripSiteSearchQueryParameters;
+ return $this->id;
}
- public function setTimezone($timezone)
+ public function setKind($kind)
{
- $this->timezone = $timezone;
+ $this->kind = $kind;
}
- public function getTimezone()
+ public function getKind()
{
- return $this->timezone;
+ return $this->kind;
}
- public function setType($type)
+ public function setProfileInfo(Google_Service_Analytics_RealtimeDataProfileInfo $profileInfo)
{
- $this->type = $type;
+ $this->profileInfo = $profileInfo;
}
- public function getType()
+ public function getProfileInfo()
{
- return $this->type;
+ return $this->profileInfo;
}
- public function setUpdated($updated)
+ public function setQuery(Google_Service_Analytics_RealtimeDataQuery $query)
{
- $this->updated = $updated;
+ $this->query = $query;
}
- public function getUpdated()
+ public function getQuery()
{
- return $this->updated;
+ return $this->query;
}
- public function setWebPropertyId($webPropertyId)
+ public function setRows($rows)
{
- $this->webPropertyId = $webPropertyId;
+ $this->rows = $rows;
}
- public function getWebPropertyId()
+ public function getRows()
{
- return $this->webPropertyId;
+ return $this->rows;
}
- public function setWebsiteUrl($websiteUrl)
+ public function setSelfLink($selfLink)
{
- $this->websiteUrl = $websiteUrl;
+ $this->selfLink = $selfLink;
}
- public function getWebsiteUrl()
+ public function getSelfLink()
{
- return $this->websiteUrl;
+ return $this->selfLink;
}
-}
-
-class Google_Service_Analytics_ProfileChildLink extends Google_Model
-{
- public $href;
- public $type;
- public function setHref($href)
+ public function setTotalResults($totalResults)
{
- $this->href = $href;
+ $this->totalResults = $totalResults;
}
- public function getHref()
+ public function getTotalResults()
{
- return $this->href;
+ return $this->totalResults;
}
- public function setType($type)
+ public function setTotalsForAllResults($totalsForAllResults)
{
- $this->type = $type;
+ $this->totalsForAllResults = $totalsForAllResults;
}
- public function getType()
+ public function getTotalsForAllResults()
{
- return $this->type;
+ return $this->totalsForAllResults;
}
}
-class Google_Service_Analytics_ProfileParentLink extends Google_Model
+class Google_Service_Analytics_RealtimeDataColumnHeaders extends Google_Model
{
- public $href;
- public $type;
-
- public function setHref($href)
- {
- $this->href = $href;
- }
+ public $columnType;
+ public $dataType;
+ public $name;
- public function getHref()
+ public function setColumnType($columnType)
{
- return $this->href;
+ $this->columnType = $columnType;
}
- public function setType($type)
+ public function getColumnType()
{
- $this->type = $type;
+ return $this->columnType;
}
- public function getType()
+ public function setDataType($dataType)
{
- return $this->type;
+ $this->dataType = $dataType;
}
-}
-class Google_Service_Analytics_ProfilePermissions extends Google_Collection
-{
- public $effective;
+ public function getDataType()
+ {
+ return $this->dataType;
+ }
- public function setEffective($effective)
+ public function setName($name)
{
- $this->effective = $effective;
+ $this->name = $name;
}
- public function getEffective()
+ public function getName()
{
- return $this->effective;
+ return $this->name;
}
}
-class Google_Service_Analytics_ProfileRef extends Google_Model
+class Google_Service_Analytics_RealtimeDataProfileInfo extends Google_Model
{
public $accountId;
- public $href;
- public $id;
public $internalWebPropertyId;
- public $kind;
- public $name;
+ public $profileId;
+ public $profileName;
+ public $tableId;
public $webPropertyId;
public function setAccountId($accountId)
@@ -6403,54 +8814,44 @@ public function getAccountId()
return $this->accountId;
}
- public function setHref($href)
- {
- $this->href = $href;
- }
-
- public function getHref()
- {
- return $this->href;
- }
-
- public function setId($id)
+ public function setInternalWebPropertyId($internalWebPropertyId)
{
- $this->id = $id;
+ $this->internalWebPropertyId = $internalWebPropertyId;
}
- public function getId()
+ public function getInternalWebPropertyId()
{
- return $this->id;
+ return $this->internalWebPropertyId;
}
- public function setInternalWebPropertyId($internalWebPropertyId)
+ public function setProfileId($profileId)
{
- $this->internalWebPropertyId = $internalWebPropertyId;
+ $this->profileId = $profileId;
}
- public function getInternalWebPropertyId()
+ public function getProfileId()
{
- return $this->internalWebPropertyId;
+ return $this->profileId;
}
- public function setKind($kind)
+ public function setProfileName($profileName)
{
- $this->kind = $kind;
+ $this->profileName = $profileName;
}
- public function getKind()
+ public function getProfileName()
{
- return $this->kind;
+ return $this->profileName;
}
- public function setName($name)
+ public function setTableId($tableId)
{
- $this->name = $name;
+ $this->tableId = $tableId;
}
- public function getName()
+ public function getTableId()
{
- return $this->name;
+ return $this->tableId;
}
public function setWebPropertyId($webPropertyId)
@@ -6464,297 +8865,294 @@ public function getWebPropertyId()
}
}
-class Google_Service_Analytics_ProfileSummary extends Google_Model
+class Google_Service_Analytics_RealtimeDataQuery extends Google_Collection
{
- public $id;
- public $kind;
- public $name;
- public $type;
-
- public function setId($id)
- {
- $this->id = $id;
- }
+ public $dimensions;
+ public $filters;
+ public $ids;
+ public $maxResults;
+ public $metrics;
+ public $sort;
- public function getId()
+ public function setDimensions($dimensions)
{
- return $this->id;
+ $this->dimensions = $dimensions;
}
- public function setKind($kind)
+ public function getDimensions()
{
- $this->kind = $kind;
+ return $this->dimensions;
}
- public function getKind()
+ public function setFilters($filters)
{
- return $this->kind;
+ $this->filters = $filters;
}
- public function setName($name)
+ public function getFilters()
{
- $this->name = $name;
+ return $this->filters;
}
- public function getName()
+ public function setIds($ids)
{
- return $this->name;
+ $this->ids = $ids;
}
- public function setType($type)
+ public function getIds()
{
- $this->type = $type;
+ return $this->ids;
}
- public function getType()
+ public function setMaxResults($maxResults)
{
- return $this->type;
+ $this->maxResults = $maxResults;
}
-}
-
-class Google_Service_Analytics_Profiles extends Google_Collection
-{
- protected $itemsType = 'Google_Service_Analytics_Profile';
- protected $itemsDataType = 'array';
- public $itemsPerPage;
- public $kind;
- public $nextLink;
- public $previousLink;
- public $startIndex;
- public $totalResults;
- public $username;
- public function setItems($items)
+ public function getMaxResults()
{
- $this->items = $items;
+ return $this->maxResults;
}
- public function getItems()
+ public function setMetrics($metrics)
{
- return $this->items;
+ $this->metrics = $metrics;
}
- public function setItemsPerPage($itemsPerPage)
+ public function getMetrics()
{
- $this->itemsPerPage = $itemsPerPage;
+ return $this->metrics;
}
- public function getItemsPerPage()
+ public function setSort($sort)
{
- return $this->itemsPerPage;
+ $this->sort = $sort;
}
- public function setKind($kind)
+ public function getSort()
{
- $this->kind = $kind;
+ return $this->sort;
}
+}
- public function getKind()
- {
- return $this->kind;
- }
+class Google_Service_Analytics_Segment extends Google_Model
+{
+ public $created;
+ public $definition;
+ public $id;
+ public $kind;
+ public $name;
+ public $segmentId;
+ public $selfLink;
+ public $type;
+ public $updated;
- public function setNextLink($nextLink)
+ public function setCreated($created)
{
- $this->nextLink = $nextLink;
+ $this->created = $created;
}
- public function getNextLink()
+ public function getCreated()
{
- return $this->nextLink;
+ return $this->created;
}
- public function setPreviousLink($previousLink)
+ public function setDefinition($definition)
{
- $this->previousLink = $previousLink;
+ $this->definition = $definition;
}
- public function getPreviousLink()
+ public function getDefinition()
{
- return $this->previousLink;
+ return $this->definition;
}
- public function setStartIndex($startIndex)
+ public function setId($id)
{
- $this->startIndex = $startIndex;
+ $this->id = $id;
}
- public function getStartIndex()
+ public function getId()
{
- return $this->startIndex;
+ return $this->id;
}
- public function setTotalResults($totalResults)
+ public function setKind($kind)
{
- $this->totalResults = $totalResults;
+ $this->kind = $kind;
}
- public function getTotalResults()
+ public function getKind()
{
- return $this->totalResults;
+ return $this->kind;
}
- public function setUsername($username)
+ public function setName($name)
{
- $this->username = $username;
+ $this->name = $name;
}
- public function getUsername()
+ public function getName()
{
- return $this->username;
+ return $this->name;
}
-}
-
-class Google_Service_Analytics_RealtimeData extends Google_Collection
-{
- protected $columnHeadersType = 'Google_Service_Analytics_RealtimeDataColumnHeaders';
- protected $columnHeadersDataType = 'array';
- public $id;
- public $kind;
- protected $profileInfoType = 'Google_Service_Analytics_RealtimeDataProfileInfo';
- protected $profileInfoDataType = '';
- protected $queryType = 'Google_Service_Analytics_RealtimeDataQuery';
- protected $queryDataType = '';
- public $rows;
- public $selfLink;
- public $totalResults;
- public $totalsForAllResults;
- public function setColumnHeaders($columnHeaders)
+ public function setSegmentId($segmentId)
{
- $this->columnHeaders = $columnHeaders;
+ $this->segmentId = $segmentId;
}
- public function getColumnHeaders()
+ public function getSegmentId()
{
- return $this->columnHeaders;
+ return $this->segmentId;
}
- public function setId($id)
+ public function setSelfLink($selfLink)
{
- $this->id = $id;
+ $this->selfLink = $selfLink;
}
- public function getId()
+ public function getSelfLink()
{
- return $this->id;
+ return $this->selfLink;
}
- public function setKind($kind)
+ public function setType($type)
{
- $this->kind = $kind;
+ $this->type = $type;
}
- public function getKind()
+ public function getType()
{
- return $this->kind;
+ return $this->type;
}
- public function setProfileInfo(Google_Service_Analytics_RealtimeDataProfileInfo $profileInfo)
+ public function setUpdated($updated)
{
- $this->profileInfo = $profileInfo;
+ $this->updated = $updated;
}
- public function getProfileInfo()
+ public function getUpdated()
{
- return $this->profileInfo;
+ return $this->updated;
}
+}
- public function setQuery(Google_Service_Analytics_RealtimeDataQuery $query)
+class Google_Service_Analytics_Segments extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_Analytics_Segment';
+ protected $itemsDataType = 'array';
+ public $itemsPerPage;
+ public $kind;
+ public $nextLink;
+ public $previousLink;
+ public $startIndex;
+ public $totalResults;
+ public $username;
+
+ public function setItems($items)
{
- $this->query = $query;
+ $this->items = $items;
}
- public function getQuery()
+ public function getItems()
{
- return $this->query;
+ return $this->items;
}
- public function setRows($rows)
+ public function setItemsPerPage($itemsPerPage)
{
- $this->rows = $rows;
+ $this->itemsPerPage = $itemsPerPage;
}
- public function getRows()
+ public function getItemsPerPage()
{
- return $this->rows;
+ return $this->itemsPerPage;
}
- public function setSelfLink($selfLink)
+ public function setKind($kind)
{
- $this->selfLink = $selfLink;
+ $this->kind = $kind;
}
- public function getSelfLink()
+ public function getKind()
{
- return $this->selfLink;
+ return $this->kind;
}
- public function setTotalResults($totalResults)
+ public function setNextLink($nextLink)
{
- $this->totalResults = $totalResults;
+ $this->nextLink = $nextLink;
}
- public function getTotalResults()
+ public function getNextLink()
{
- return $this->totalResults;
+ return $this->nextLink;
}
- public function setTotalsForAllResults($totalsForAllResults)
+ public function setPreviousLink($previousLink)
{
- $this->totalsForAllResults = $totalsForAllResults;
+ $this->previousLink = $previousLink;
}
- public function getTotalsForAllResults()
+ public function getPreviousLink()
{
- return $this->totalsForAllResults;
+ return $this->previousLink;
}
-}
-
-class Google_Service_Analytics_RealtimeDataColumnHeaders extends Google_Model
-{
- public $columnType;
- public $dataType;
- public $name;
- public function setColumnType($columnType)
+ public function setStartIndex($startIndex)
{
- $this->columnType = $columnType;
+ $this->startIndex = $startIndex;
}
- public function getColumnType()
+ public function getStartIndex()
{
- return $this->columnType;
+ return $this->startIndex;
}
- public function setDataType($dataType)
+ public function setTotalResults($totalResults)
{
- $this->dataType = $dataType;
+ $this->totalResults = $totalResults;
}
- public function getDataType()
+ public function getTotalResults()
{
- return $this->dataType;
+ return $this->totalResults;
}
- public function setName($name)
+ public function setUsername($username)
{
- $this->name = $name;
+ $this->username = $username;
}
- public function getName()
+ public function getUsername()
{
- return $this->name;
+ return $this->username;
}
}
-class Google_Service_Analytics_RealtimeDataProfileInfo extends Google_Model
+class Google_Service_Analytics_UnsampledReport extends Google_Model
{
public $accountId;
- public $internalWebPropertyId;
+ protected $cloudStorageDownloadDetailsType = 'Google_Service_Analytics_UnsampledReportCloudStorageDownloadDetails';
+ protected $cloudStorageDownloadDetailsDataType = '';
+ public $created;
+ public $dimensions;
+ public $downloadType;
+ protected $driveDownloadDetailsType = 'Google_Service_Analytics_UnsampledReportDriveDownloadDetails';
+ protected $driveDownloadDetailsDataType = '';
+ public $endDate;
+ public $filters;
+ public $id;
+ public $kind;
+ public $metrics;
public $profileId;
- public $profileName;
- public $tableId;
+ public $segment;
+ public $selfLink;
+ public $startDate;
+ public $status;
+ public $title;
+ public $updated;
public $webPropertyId;
public function setAccountId($accountId)
@@ -6767,74 +9165,64 @@ public function getAccountId()
return $this->accountId;
}
- public function setInternalWebPropertyId($internalWebPropertyId)
+ public function setCloudStorageDownloadDetails(Google_Service_Analytics_UnsampledReportCloudStorageDownloadDetails $cloudStorageDownloadDetails)
{
- $this->internalWebPropertyId = $internalWebPropertyId;
+ $this->cloudStorageDownloadDetails = $cloudStorageDownloadDetails;
}
- public function getInternalWebPropertyId()
+ public function getCloudStorageDownloadDetails()
{
- return $this->internalWebPropertyId;
+ return $this->cloudStorageDownloadDetails;
}
- public function setProfileId($profileId)
+ public function setCreated($created)
{
- $this->profileId = $profileId;
+ $this->created = $created;
}
- public function getProfileId()
+ public function getCreated()
{
- return $this->profileId;
+ return $this->created;
}
- public function setProfileName($profileName)
+ public function setDimensions($dimensions)
{
- $this->profileName = $profileName;
+ $this->dimensions = $dimensions;
}
- public function getProfileName()
+ public function getDimensions()
{
- return $this->profileName;
+ return $this->dimensions;
}
- public function setTableId($tableId)
+ public function setDownloadType($downloadType)
{
- $this->tableId = $tableId;
+ $this->downloadType = $downloadType;
}
- public function getTableId()
+ public function getDownloadType()
{
- return $this->tableId;
+ return $this->downloadType;
}
- public function setWebPropertyId($webPropertyId)
+ public function setDriveDownloadDetails(Google_Service_Analytics_UnsampledReportDriveDownloadDetails $driveDownloadDetails)
{
- $this->webPropertyId = $webPropertyId;
+ $this->driveDownloadDetails = $driveDownloadDetails;
}
- public function getWebPropertyId()
+ public function getDriveDownloadDetails()
{
- return $this->webPropertyId;
+ return $this->driveDownloadDetails;
}
-}
-
-class Google_Service_Analytics_RealtimeDataQuery extends Google_Collection
-{
- public $dimensions;
- public $filters;
- public $ids;
- public $maxResults;
- public $metrics;
- public $sort;
- public function setDimensions($dimensions)
+ public function setEndDate($endDate)
{
- $this->dimensions = $dimensions;
+ $this->endDate = $endDate;
}
- public function getDimensions()
+ public function getEndDate()
{
- return $this->dimensions;
+ return $this->endDate;
}
public function setFilters($filters)
@@ -6847,24 +9235,24 @@ public function getFilters()
return $this->filters;
}
- public function setIds($ids)
+ public function setId($id)
{
- $this->ids = $ids;
+ $this->id = $id;
}
- public function getIds()
+ public function getId()
{
- return $this->ids;
+ return $this->id;
}
- public function setMaxResults($maxResults)
+ public function setKind($kind)
{
- $this->maxResults = $maxResults;
+ $this->kind = $kind;
}
- public function getMaxResults()
+ public function getKind()
{
- return $this->maxResults;
+ return $this->kind;
}
public function setMetrics($metrics)
@@ -6877,123 +9265,131 @@ public function getMetrics()
return $this->metrics;
}
- public function setSort($sort)
+ public function setProfileId($profileId)
{
- $this->sort = $sort;
+ $this->profileId = $profileId;
}
- public function getSort()
+ public function getProfileId()
{
- return $this->sort;
+ return $this->profileId;
}
-}
-class Google_Service_Analytics_Segment extends Google_Model
-{
- public $created;
- public $definition;
- public $id;
- public $kind;
- public $name;
- public $segmentId;
- public $selfLink;
- public $type;
- public $updated;
+ public function setSegment($segment)
+ {
+ $this->segment = $segment;
+ }
- public function setCreated($created)
+ public function getSegment()
{
- $this->created = $created;
+ return $this->segment;
}
- public function getCreated()
+ public function setSelfLink($selfLink)
{
- return $this->created;
+ $this->selfLink = $selfLink;
}
- public function setDefinition($definition)
+ public function getSelfLink()
{
- $this->definition = $definition;
+ return $this->selfLink;
}
- public function getDefinition()
+ public function setStartDate($startDate)
{
- return $this->definition;
+ $this->startDate = $startDate;
}
- public function setId($id)
+ public function getStartDate()
{
- $this->id = $id;
+ return $this->startDate;
}
- public function getId()
+ public function setStatus($status)
{
- return $this->id;
+ $this->status = $status;
}
- public function setKind($kind)
+ public function getStatus()
{
- $this->kind = $kind;
+ return $this->status;
}
- public function getKind()
+ public function setTitle($title)
{
- return $this->kind;
+ $this->title = $title;
}
- public function setName($name)
+ public function getTitle()
{
- $this->name = $name;
+ return $this->title;
}
- public function getName()
+ public function setUpdated($updated)
{
- return $this->name;
+ $this->updated = $updated;
}
- public function setSegmentId($segmentId)
+ public function getUpdated()
{
- $this->segmentId = $segmentId;
+ return $this->updated;
}
- public function getSegmentId()
+ public function setWebPropertyId($webPropertyId)
{
- return $this->segmentId;
+ $this->webPropertyId = $webPropertyId;
}
- public function setSelfLink($selfLink)
+ public function getWebPropertyId()
{
- $this->selfLink = $selfLink;
+ return $this->webPropertyId;
}
+}
- public function getSelfLink()
+class Google_Service_Analytics_UnsampledReportCloudStorageDownloadDetails extends Google_Model
+{
+ public $bucketId;
+ public $objectId;
+
+ public function setBucketId($bucketId)
{
- return $this->selfLink;
+ $this->bucketId = $bucketId;
}
- public function setType($type)
+ public function getBucketId()
{
- $this->type = $type;
+ return $this->bucketId;
}
- public function getType()
+ public function setObjectId($objectId)
{
- return $this->type;
+ $this->objectId = $objectId;
}
- public function setUpdated($updated)
+ public function getObjectId()
{
- $this->updated = $updated;
+ return $this->objectId;
}
+}
- public function getUpdated()
+class Google_Service_Analytics_UnsampledReportDriveDownloadDetails extends Google_Model
+{
+ public $documentId;
+
+ public function setDocumentId($documentId)
{
- return $this->updated;
+ $this->documentId = $documentId;
+ }
+
+ public function getDocumentId()
+ {
+ return $this->documentId;
}
}
-class Google_Service_Analytics_Segments extends Google_Collection
+class Google_Service_Analytics_UnsampledReports extends Google_Collection
{
- protected $itemsType = 'Google_Service_Analytics_Segment';
+ protected $itemsType = 'Google_Service_Analytics_UnsampledReport';
protected $itemsDataType = 'array';
public $itemsPerPage;
public $kind;
From ec9b3697bf25befbad56976b63eb860f26d23d20 Mon Sep 17 00:00:00 2001
From: Ian Barber "; +var_dump($results); +echo ""; + +echo pageFooter(__FILE__); diff --git a/src/Google/Auth/Abstract.php b/src/Google/Auth/Abstract.php index 344aad874..0832df3a4 100644 --- a/src/Google/Auth/Abstract.php +++ b/src/Google/Auth/Abstract.php @@ -31,11 +31,5 @@ abstract class Google_Auth_Abstract * @return Google_Http_Request $request */ abstract public function authenticatedRequest(Google_Http_Request $request); - - abstract public function authenticate($code); abstract public function sign(Google_Http_Request $request); - abstract public function createAuthUrl($scope); - - abstract public function refreshToken($refreshToken); - abstract public function revokeToken(); } diff --git a/src/Google/Auth/AppIdentity.php b/src/Google/Auth/AppIdentity.php new file mode 100644 index 000000000..6f2e8f67c --- /dev/null +++ b/src/Google/Auth/AppIdentity.php @@ -0,0 +1,93 @@ +client = $client; + } + + /** + * Retrieve an access token for the scopes supplied. + */ + public function authenticateForScope($scopes) { + if ($this->token && $this->tokenScopes == $scopes) { + return $this->token; + } + $memcache = new Memcached(); + $this->token = $memcache->get(self::CACHE_PREFIX . $scopes); + if (!$this->token) { + $this->token = AppIdentityService::getAccessToken($scopes); + if ($this->token) { + $memcache->set(self::CACHE_PREFIX . $scopes, $this->token, self::CACHE_LIFETIME); + } + } + $this->tokenScopes = $scopes; + return $this->token; + } + + /** + * Perform an authenticated / signed apiHttpRequest. + * This function takes the apiHttpRequest, calls apiAuth->sign on it + * (which can modify the request in what ever way fits the auth mechanism) + * and then calls apiCurlIO::makeRequest on the signed request + * + * @param Google_Http_Request $request + * @return Google_Http_Request The resulting HTTP response including the + * responseHttpCode, responseHeaders and responseBody. + */ + public function authenticatedRequest(Google_Http_Request $request) + { + $request = $this->sign($request); + return $this->io->makeRequest($request); + } + + public function sign(Google_Http_Request $request) + { + if (!$this->token) { + // No token, so nothing to do. + return $request; + } + // Add the OAuth2 header to the request + $request->setRequestHeaders( + array('Authorization' => 'Bearer ' . $this->token['access_token']) + ); + + return $request; + } +} diff --git a/src/Google/Auth/Simple.php b/src/Google/Auth/Simple.php index 8fcf61e52..e83900fc2 100644 --- a/src/Google/Auth/Simple.php +++ b/src/Google/Auth/Simple.php @@ -51,36 +51,6 @@ public function authenticatedRequest(Google_Http_Request $request) return $this->io->makeRequest($request); } - public function authenticate($code) - { - throw new Google_Auth_Exception("Simple auth does not exchange tokens."); - } - - public function setAccessToken($accessToken) - { - /* noop*/ - } - - public function getAccessToken() - { - return null; - } - - public function createAuthUrl($scope) - { - return null; - } - - public function refreshToken($refreshToken) - { - /* noop*/ - } - - public function revokeToken() - { - /* noop*/ - } - public function sign(Google_Http_Request $request) { $key = $this->client->getClassConfig($this, 'developer_key'); diff --git a/tests/general/AuthTest.php b/tests/general/AuthTest.php index 815746a69..65928a04a 100644 --- a/tests/general/AuthTest.php +++ b/tests/general/AuthTest.php @@ -234,17 +234,6 @@ public function testNoAuth() { $req = new Google_Http_Request("http://example.com/"); $resp = $noAuth->sign($req); - try { - $noAuth->authenticate(null); - $this->assertTrue(false, "Exception expected"); - } catch (Google_Auth_Exception $e) { - - } - $noAuth->createAuthUrl(null); - $noAuth->setAccessToken(null); - $noAuth->getAccessToken(); - $noAuth->refreshToken(null); - $noAuth->revokeToken(); $this->assertEquals("http://example.com/", $resp->getUrl()); $this->getClient()->setAuth($oldAuth); } From f0e314b4f14936d85daac6584ec48306361f9d10 Mon Sep 17 00:00:00 2001 From: Ian Barber
+ * $computeService = new Google_Service_Compute(...);
+ * $diskTypes = $computeService->diskTypes;
+ *
+ */
+class Google_Service_Compute_DiskTypes_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Retrieves the list of disk type resources grouped by scope.
+ * (diskTypes.aggregatedList)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter
+ * Optional. Filter expression for filtering listed resources.
+ * @opt_param string pageToken
+ * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a
+ * previous list request.
+ * @opt_param string maxResults
+ * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
+ * 500.
+ * @return Google_Service_Compute_DiskTypeAggregatedList
+ */
+ public function aggregatedList($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('aggregatedList', array($params), "Google_Service_Compute_DiskTypeAggregatedList");
+ }
+ /**
+ * Returns the specified disk type resource. (diskTypes.get)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param string $zone
+ * Name of the zone scoping this request.
+ * @param string $diskType
+ * Name of the disk type resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_DiskType
+ */
+ public function get($project, $zone, $diskType, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'diskType' => $diskType);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Compute_DiskType");
+ }
+ /**
+ * Retrieves the list of disk type resources available to the specified project.
+ * (diskTypes.listDiskTypes)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param string $zone
+ * Name of the zone scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter
+ * Optional. Filter expression for filtering listed resources.
+ * @opt_param string pageToken
+ * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a
+ * previous list request.
+ * @opt_param string maxResults
+ * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
+ * 500.
+ * @return Google_Service_Compute_DiskTypeList
+ */
+ public function listDiskTypes($project, $zone, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Compute_DiskTypeList");
+ }
+}
+
/**
* The "disks" collection of methods.
* Typical usage is:
@@ -5074,6 +5235,322 @@ public function getSelfLink()
}
}
+class Google_Service_Compute_DiskType extends Google_Model
+{
+ public $creationTimestamp;
+ protected $deprecatedType = 'Google_Service_Compute_DeprecationStatus';
+ protected $deprecatedDataType = '';
+ public $description;
+ public $id;
+ public $kind;
+ public $name;
+ public $selfLink;
+ public $validDiskSize;
+ public $zone;
+
+ public function setCreationTimestamp($creationTimestamp)
+ {
+ $this->creationTimestamp = $creationTimestamp;
+ }
+
+ public function getCreationTimestamp()
+ {
+ return $this->creationTimestamp;
+ }
+
+ public function setDeprecated(Google_Service_Compute_DeprecationStatus $deprecated)
+ {
+ $this->deprecated = $deprecated;
+ }
+
+ public function getDeprecated()
+ {
+ return $this->deprecated;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+
+ public function setValidDiskSize($validDiskSize)
+ {
+ $this->validDiskSize = $validDiskSize;
+ }
+
+ public function getValidDiskSize()
+ {
+ return $this->validDiskSize;
+ }
+
+ public function setZone($zone)
+ {
+ $this->zone = $zone;
+ }
+
+ public function getZone()
+ {
+ return $this->zone;
+ }
+}
+
+class Google_Service_Compute_DiskTypeAggregatedList extends Google_Model
+{
+ public $id;
+ protected $itemsType = 'Google_Service_Compute_DiskTypesScopedList';
+ protected $itemsDataType = 'map';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Google_Service_Compute_DiskTypeList extends Google_Collection
+{
+ public $id;
+ protected $itemsType = 'Google_Service_Compute_DiskType';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Google_Service_Compute_DiskTypesScopedList extends Google_Collection
+{
+ protected $diskTypesType = 'Google_Service_Compute_DiskType';
+ protected $diskTypesDataType = 'array';
+ protected $warningType = 'Google_Service_Compute_DiskTypesScopedListWarning';
+ protected $warningDataType = '';
+
+ public function setDiskTypes($diskTypes)
+ {
+ $this->diskTypes = $diskTypes;
+ }
+
+ public function getDiskTypes()
+ {
+ return $this->diskTypes;
+ }
+
+ public function setWarning(Google_Service_Compute_DiskTypesScopedListWarning $warning)
+ {
+ $this->warning = $warning;
+ }
+
+ public function getWarning()
+ {
+ return $this->warning;
+ }
+}
+
+class Google_Service_Compute_DiskTypesScopedListWarning extends Google_Collection
+{
+ public $code;
+ protected $dataType = 'Google_Service_Compute_DiskTypesScopedListWarningData';
+ protected $dataDataType = 'array';
+ public $message;
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+
+ public function getCode()
+ {
+ return $this->code;
+ }
+
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+
+ public function getData()
+ {
+ return $this->data;
+ }
+
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Google_Service_Compute_DiskTypesScopedListWarningData extends Google_Model
+{
+ public $key;
+ public $value;
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+
+ public function getKey()
+ {
+ return $this->key;
+ }
+
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
class Google_Service_Compute_DisksScopedList extends Google_Collection
{
protected $disksType = 'Google_Service_Compute_Disk';
From 8ee26469c007ceda8458e3da53b12918d23902fc Mon Sep 17 00:00:00 2001
From: Silvano Luciani
* An API for accessing civic information.
@@ -46,8 +46,8 @@ class Google_Service_CivicInfo extends Google_Service
public function __construct(Google_Client $client)
{
parent::__construct($client);
- $this->servicePath = 'civicinfo/us_v1/';
- $this->version = 'us_v1';
+ $this->servicePath = 'civicinfo/v1/';
+ $this->version = 'v1';
$this->serviceName = 'civicinfo';
$this->divisions = new Google_Service_CivicInfo_Divisions_Resource(
@@ -115,6 +115,10 @@ public function __construct(Google_Client $client)
'location' => 'query',
'type' => 'boolean',
),
+ 'recursive' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
),
),
)
@@ -225,6 +229,10 @@ class Google_Service_CivicInfo_Representatives_Resource extends Google_Service_R
* @opt_param bool includeOffices
* Whether to return information about offices and officials. If false, only the top-level district
* information will be returned.
+ * @opt_param bool recursive
+ * When ocd_id is supplied, return all divisions which are hierarchically nested within the queried
+ * division. For example, if querying ocd-division/country:us/district:dc, this would also return
+ * all DC's wards and ANCs.
* @return Google_Service_CivicInfo_RepresentativeInfoResponse
*/
public function representativeInfoQuery(Google_Service_CivicInfo_RepresentativeInfoRequest $postBody, $optParams = array())
@@ -790,11 +798,22 @@ public function getStatus()
}
}
-class Google_Service_CivicInfo_DivisionSearchResult extends Google_Model
+class Google_Service_CivicInfo_DivisionSearchResult extends Google_Collection
{
+ public $aliases;
public $name;
public $ocdId;
+ public function setAliases($aliases)
+ {
+ $this->aliases = $aliases;
+ }
+
+ public function getAliases()
+ {
+ return $this->aliases;
+ }
+
public function setName($name)
{
$this->name = $name;
@@ -978,10 +997,21 @@ public function getScope()
class Google_Service_CivicInfo_GeographicDivision extends Google_Collection
{
+ public $alsoKnownAs;
public $name;
public $officeIds;
public $scope;
+ public function setAlsoKnownAs($alsoKnownAs)
+ {
+ $this->alsoKnownAs = $alsoKnownAs;
+ }
+
+ public function getAlsoKnownAs()
+ {
+ return $this->alsoKnownAs;
+ }
+
public function setName($name)
{
$this->name = $name;
@@ -1015,12 +1045,23 @@ public function getScope()
class Google_Service_CivicInfo_Office extends Google_Collection
{
+ public $divisionId;
public $level;
public $name;
public $officialIds;
protected $sourcesType = 'Google_Service_CivicInfo_Source';
protected $sourcesDataType = 'array';
+ public function setDivisionId($divisionId)
+ {
+ $this->divisionId = $divisionId;
+ }
+
+ public function getDivisionId()
+ {
+ return $this->divisionId;
+ }
+
public function setLevel($level)
{
$this->level = $level;
From 5f651cdc3c383986f9b7932a7d73f326f1920e0c Mon Sep 17 00:00:00 2001
From: Silvano Luciani
+ * For more information about this service, see the API + * Documentation + *
+ * + * @author Google, Inc. + */ +class Google_Service_Content extends Google_Service +{ + /** Manage your product listings and accounts for Google Shopping. */ + const CONTENT = "https://www.googleapis.com/auth/content"; + + public $accounts; + public $accountstatuses; + public $datafeeds; + public $datafeedstatuses; + public $inventory; + public $products; + public $productstatuses; + + + /** + * Constructs the internal representation of the Content service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->servicePath = 'content/v2/'; + $this->version = 'v2'; + $this->serviceName = 'content'; + + $this->accounts = new Google_Service_Content_Accounts_Resource( + $this, + $this->serviceName, + 'accounts', + array( + 'methods' => array( + 'custombatch' => array( + 'path' => 'accounts/batch', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'delete' => array( + 'path' => '{merchantId}/accounts/{accountId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{merchantId}/accounts/{accountId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{merchantId}/accounts', + 'httpMethod' => 'POST', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{merchantId}/accounts', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'patch' => array( + 'path' => '{merchantId}/accounts/{accountId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => '{merchantId}/accounts/{accountId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->accountstatuses = new Google_Service_Content_Accountstatuses_Resource( + $this, + $this->serviceName, + 'accountstatuses', + array( + 'methods' => array( + 'custombatch' => array( + 'path' => 'accountstatuses/batch', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'get' => array( + 'path' => '{merchantId}/accountstatuses/{accountId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{merchantId}/accountstatuses', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->datafeeds = new Google_Service_Content_Datafeeds_Resource( + $this, + $this->serviceName, + 'datafeeds', + array( + 'methods' => array( + 'batch' => array( + 'path' => 'datafeedsNativeBatch', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'custombatch' => array( + 'path' => 'datafeeds/batch', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'delete' => array( + 'path' => '{merchantId}/datafeeds/{datafeedId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'datafeedId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{merchantId}/datafeeds/{datafeedId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'datafeedId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{merchantId}/datafeeds', + 'httpMethod' => 'POST', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{merchantId}/datafeeds', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => '{merchantId}/datafeeds/{datafeedId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'datafeedId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => '{merchantId}/datafeeds/{datafeedId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'datafeedId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->datafeedstatuses = new Google_Service_Content_Datafeedstatuses_Resource( + $this, + $this->serviceName, + 'datafeedstatuses', + array( + 'methods' => array( + 'batch' => array( + 'path' => 'datafeedstatusesNativeBatch', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'custombatch' => array( + 'path' => 'datafeedstatuses/batch', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'get' => array( + 'path' => '{merchantId}/datafeedstatuses/{datafeedId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'datafeedId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{merchantId}/datafeedstatuses', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->inventory = new Google_Service_Content_Inventory_Resource( + $this, + $this->serviceName, + 'inventory', + array( + 'methods' => array( + 'custombatch' => array( + 'path' => 'inventory/batch', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'set' => array( + 'path' => '{merchantId}/inventory/{storeCode}/products/{productId}', + 'httpMethod' => 'POST', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'storeCode' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'productId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->products = new Google_Service_Content_Products_Resource( + $this, + $this->serviceName, + 'products', + array( + 'methods' => array( + 'custombatch' => array( + 'path' => 'products/batch', + 'httpMethod' => 'POST', + 'parameters' => array( + 'dryRun' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'delete' => array( + 'path' => '{merchantId}/products/{productId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'productId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dryRun' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'get' => array( + 'path' => '{merchantId}/products/{productId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'productId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{merchantId}/products', + 'httpMethod' => 'POST', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dryRun' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'list' => array( + 'path' => '{merchantId}/products', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->productstatuses = new Google_Service_Content_Productstatuses_Resource( + $this, + $this->serviceName, + 'productstatuses', + array( + 'methods' => array( + 'custombatch' => array( + 'path' => 'productstatuses/batch', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'get' => array( + 'path' => '{merchantId}/productstatuses/{productId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'productId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{merchantId}/productstatuses', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "accounts" collection of methods. + * Typical usage is: + *
+ * $contentService = new Google_Service_Content(...);
+ * $accounts = $contentService->accounts;
+ *
+ */
+class Google_Service_Content_Accounts_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Retrieve, insert, update, and delete multiple Merchant Center (sub-)accounts
+ * in a single request. (accounts.custombatch)
+ *
+ * @param Google_AccountsCustomBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Content_AccountsCustomBatchResponse
+ */
+ public function custombatch(Google_Service_Content_AccountsCustomBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('custombatch', array($params), "Google_Service_Content_AccountsCustomBatchResponse");
+ }
+ /**
+ * Delete a Merchant Center sub-account. (accounts.delete)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param string $accountId
+ * The ID of the account.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($merchantId, $accountId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Retrieve a Merchant Center account. (accounts.get)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param string $accountId
+ * The ID of the account.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Content_Account
+ */
+ public function get($merchantId, $accountId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Content_Account");
+ }
+ /**
+ * Create a Merchant Center sub-account. (accounts.insert)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param Google_Account $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Content_Account
+ */
+ public function insert($merchantId, Google_Service_Content_Account $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Content_Account");
+ }
+ /**
+ * List the sub-accounts in your Merchant Center account.
+ * (accounts.listAccounts)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The token returned by the previous request.
+ * @opt_param string maxResults
+ * The maximum number of accounts to return in the response, used for paging.
+ * @return Google_Service_Content_AccountsListResponse
+ */
+ public function listAccounts($merchantId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Content_AccountsListResponse");
+ }
+ /**
+ * Update a Merchant Center account. This method supports patch semantics.
+ * (accounts.patch)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param string $accountId
+ * The ID of the account.
+ * @param Google_Account $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Content_Account
+ */
+ public function patch($merchantId, $accountId, Google_Service_Content_Account $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Content_Account");
+ }
+ /**
+ * Update a Merchant Center account. (accounts.update)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param string $accountId
+ * The ID of the account.
+ * @param Google_Account $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Content_Account
+ */
+ public function update($merchantId, $accountId, Google_Service_Content_Account $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Content_Account");
+ }
+}
+
+/**
+ * The "accountstatuses" collection of methods.
+ * Typical usage is:
+ *
+ * $contentService = new Google_Service_Content(...);
+ * $accountstatuses = $contentService->accountstatuses;
+ *
+ */
+class Google_Service_Content_Accountstatuses_Resource extends Google_Service_Resource
+{
+
+ /**
+ * (accountstatuses.custombatch)
+ *
+ * @param Google_AccountstatusesCustomBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Content_AccountstatusesCustomBatchResponse
+ */
+ public function custombatch(Google_Service_Content_AccountstatusesCustomBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('custombatch', array($params), "Google_Service_Content_AccountstatusesCustomBatchResponse");
+ }
+ /**
+ * Retrieve the status of a Merchant Center account. (accountstatuses.get)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param string $accountId
+ * The ID of the account.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Content_AccountStatus
+ */
+ public function get($merchantId, $accountId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Content_AccountStatus");
+ }
+ /**
+ * List the statuses of the sub-accounts in your Merchant Center account.
+ * (accountstatuses.listAccountstatuses)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The token returned by the previous request.
+ * @opt_param string maxResults
+ * The maximum number of account statuses to return in the response, used for paging.
+ * @return Google_Service_Content_AccountstatusesListResponse
+ */
+ public function listAccountstatuses($merchantId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Content_AccountstatusesListResponse");
+ }
+}
+
+/**
+ * The "datafeeds" collection of methods.
+ * Typical usage is:
+ *
+ * $contentService = new Google_Service_Content(...);
+ * $datafeeds = $contentService->datafeeds;
+ *
+ */
+class Google_Service_Content_Datafeeds_Resource extends Google_Service_Resource
+{
+
+ /**
+ * (datafeeds.batch)
+ *
+ * @param Google_DatafeedsBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Content_DatafeedsBatchResponse
+ */
+ public function batch(Google_Service_Content_DatafeedsBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batch', array($params), "Google_Service_Content_DatafeedsBatchResponse");
+ }
+ /**
+ * (datafeeds.custombatch)
+ *
+ * @param Google_DatafeedsCustomBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Content_DatafeedsCustomBatchResponse
+ */
+ public function custombatch(Google_Service_Content_DatafeedsCustomBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('custombatch', array($params), "Google_Service_Content_DatafeedsCustomBatchResponse");
+ }
+ /**
+ * Delete a datafeed from your Merchant Center account. (datafeeds.delete)
+ *
+ * @param string $merchantId
+ *
+ * @param string $datafeedId
+ *
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($merchantId, $datafeedId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Retrieve a datafeed from your Merchant Center account. (datafeeds.get)
+ *
+ * @param string $merchantId
+ *
+ * @param string $datafeedId
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Content_Datafeed
+ */
+ public function get($merchantId, $datafeedId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Content_Datafeed");
+ }
+ /**
+ * Register a datafeed against your Merchant Center account. (datafeeds.insert)
+ *
+ * @param string $merchantId
+ *
+ * @param Google_Datafeed $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Content_Datafeed
+ */
+ public function insert($merchantId, Google_Service_Content_Datafeed $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Content_Datafeed");
+ }
+ /**
+ * List the datafeeds in your Merchant Center account. (datafeeds.listDatafeeds)
+ *
+ * @param string $merchantId
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Content_DatafeedsListResponse
+ */
+ public function listDatafeeds($merchantId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Content_DatafeedsListResponse");
+ }
+ /**
+ * Update a datafeed of your Merchant Center account. This method supports patch
+ * semantics. (datafeeds.patch)
+ *
+ * @param string $merchantId
+ *
+ * @param string $datafeedId
+ *
+ * @param Google_Datafeed $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Content_Datafeed
+ */
+ public function patch($merchantId, $datafeedId, Google_Service_Content_Datafeed $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Content_Datafeed");
+ }
+ /**
+ * Update a datafeed of your Merchant Center account. (datafeeds.update)
+ *
+ * @param string $merchantId
+ *
+ * @param string $datafeedId
+ *
+ * @param Google_Datafeed $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Content_Datafeed
+ */
+ public function update($merchantId, $datafeedId, Google_Service_Content_Datafeed $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Content_Datafeed");
+ }
+}
+
+/**
+ * The "datafeedstatuses" collection of methods.
+ * Typical usage is:
+ *
+ * $contentService = new Google_Service_Content(...);
+ * $datafeedstatuses = $contentService->datafeedstatuses;
+ *
+ */
+class Google_Service_Content_Datafeedstatuses_Resource extends Google_Service_Resource
+{
+
+ /**
+ * (datafeedstatuses.batch)
+ *
+ * @param Google_DatafeedstatusesBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Content_DatafeedstatusesBatchResponse
+ */
+ public function batch(Google_Service_Content_DatafeedstatusesBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batch', array($params), "Google_Service_Content_DatafeedstatusesBatchResponse");
+ }
+ /**
+ * (datafeedstatuses.custombatch)
+ *
+ * @param Google_DatafeedstatusesCustomBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Content_DatafeedstatusesCustomBatchResponse
+ */
+ public function custombatch(Google_Service_Content_DatafeedstatusesCustomBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('custombatch', array($params), "Google_Service_Content_DatafeedstatusesCustomBatchResponse");
+ }
+ /**
+ * Retrieve the status of a datafeed from your Merchant Center account.
+ * (datafeedstatuses.get)
+ *
+ * @param string $merchantId
+ *
+ * @param string $datafeedId
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Content_DatafeedStatus
+ */
+ public function get($merchantId, $datafeedId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Content_DatafeedStatus");
+ }
+ /**
+ * List the statuses of the datafeeds in your Merchant Center account.
+ * (datafeedstatuses.listDatafeedstatuses)
+ *
+ * @param string $merchantId
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Content_DatafeedstatusesListResponse
+ */
+ public function listDatafeedstatuses($merchantId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Content_DatafeedstatusesListResponse");
+ }
+}
+
+/**
+ * The "inventory" collection of methods.
+ * Typical usage is:
+ *
+ * $contentService = new Google_Service_Content(...);
+ * $inventory = $contentService->inventory;
+ *
+ */
+class Google_Service_Content_Inventory_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Update price and availability for multiple products or stores in a single
+ * request. (inventory.custombatch)
+ *
+ * @param Google_InventoryCustomBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Content_InventoryCustomBatchResponse
+ */
+ public function custombatch(Google_Service_Content_InventoryCustomBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('custombatch', array($params), "Google_Service_Content_InventoryCustomBatchResponse");
+ }
+ /**
+ * Update price and availability of a product in your Merchant Center account.
+ * (inventory.set)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param string $storeCode
+ * The code of the store for which to update price and availability.
+ * @param string $productId
+ * The ID of the product for which to update price and availability.
+ * @param Google_InventorySetRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Content_InventorySetResponse
+ */
+ public function set($merchantId, $storeCode, $productId, Google_Service_Content_InventorySetRequest $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'storeCode' => $storeCode, 'productId' => $productId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('set', array($params), "Google_Service_Content_InventorySetResponse");
+ }
+}
+
+/**
+ * The "products" collection of methods.
+ * Typical usage is:
+ *
+ * $contentService = new Google_Service_Content(...);
+ * $products = $contentService->products;
+ *
+ */
+class Google_Service_Content_Products_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Retrieve, insert, and delete multiple products in a single request.
+ * (products.custombatch)
+ *
+ * @param Google_ProductsCustomBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool dryRun
+ * Flag to run the request in dry-run mode.
+ * @return Google_Service_Content_ProductsCustomBatchResponse
+ */
+ public function custombatch(Google_Service_Content_ProductsCustomBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('custombatch', array($params), "Google_Service_Content_ProductsCustomBatchResponse");
+ }
+ /**
+ * Delete a product from your Merchant Center account. (products.delete)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param string $productId
+ * The ID of the product.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool dryRun
+ * Flag to run the request in dry-run mode.
+ */
+ public function delete($merchantId, $productId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'productId' => $productId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Retrieve a product from your Merchant Center account. (products.get)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param string $productId
+ * The ID of the product.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Content_Product
+ */
+ public function get($merchantId, $productId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'productId' => $productId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Content_Product");
+ }
+ /**
+ * Upload products to your Merchant Center account. (products.insert)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param Google_Product $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool dryRun
+ * Flag to run the request in dry-run mode.
+ * @return Google_Service_Content_Product
+ */
+ public function insert($merchantId, Google_Service_Content_Product $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Content_Product");
+ }
+ /**
+ * List the products in your Merchant Center account. (products.listProducts)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The token returned by the previous request.
+ * @opt_param string maxResults
+ * The maximum number of products to return in the response, used for paging.
+ * @return Google_Service_Content_ProductsListResponse
+ */
+ public function listProducts($merchantId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Content_ProductsListResponse");
+ }
+}
+
+/**
+ * The "productstatuses" collection of methods.
+ * Typical usage is:
+ *
+ * $contentService = new Google_Service_Content(...);
+ * $productstatuses = $contentService->productstatuses;
+ *
+ */
+class Google_Service_Content_Productstatuses_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Get the statuses of multiple products in a single request.
+ * (productstatuses.custombatch)
+ *
+ * @param Google_ProductstatusesCustomBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Content_ProductstatusesCustomBatchResponse
+ */
+ public function custombatch(Google_Service_Content_ProductstatusesCustomBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('custombatch', array($params), "Google_Service_Content_ProductstatusesCustomBatchResponse");
+ }
+ /**
+ * Get the status of a product from your Merchant Center account.
+ * (productstatuses.get)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param string $productId
+ * The ID of the product.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Content_ProductStatus
+ */
+ public function get($merchantId, $productId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'productId' => $productId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Content_ProductStatus");
+ }
+ /**
+ * List the statuses of the products in your Merchant Center account.
+ * (productstatuses.listProductstatuses)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The token returned by the previous request.
+ * @opt_param string maxResults
+ * The maximum number of product statuses to return in the response, used for paging.
+ * @return Google_Service_Content_ProductstatusesListResponse
+ */
+ public function listProductstatuses($merchantId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Content_ProductstatusesListResponse");
+ }
+}
+
+
+
+
+class Google_Service_Content_Account extends Google_Collection
+{
+ public $adultContent;
+ protected $adwordsLinksType = 'Google_Service_Content_AccountAdwordsLink';
+ protected $adwordsLinksDataType = 'array';
+ public $id;
+ public $kind;
+ public $name;
+ public $reviewsUrl;
+ public $sellerId;
+ protected $usersType = 'Google_Service_Content_AccountUser';
+ protected $usersDataType = 'array';
+ public $websiteUrl;
+
+ public function setAdultContent($adultContent)
+ {
+ $this->adultContent = $adultContent;
+ }
+
+ public function getAdultContent()
+ {
+ return $this->adultContent;
+ }
+
+ public function setAdwordsLinks($adwordsLinks)
+ {
+ $this->adwordsLinks = $adwordsLinks;
+ }
+
+ public function getAdwordsLinks()
+ {
+ return $this->adwordsLinks;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setReviewsUrl($reviewsUrl)
+ {
+ $this->reviewsUrl = $reviewsUrl;
+ }
+
+ public function getReviewsUrl()
+ {
+ return $this->reviewsUrl;
+ }
+
+ public function setSellerId($sellerId)
+ {
+ $this->sellerId = $sellerId;
+ }
+
+ public function getSellerId()
+ {
+ return $this->sellerId;
+ }
+
+ public function setUsers($users)
+ {
+ $this->users = $users;
+ }
+
+ public function getUsers()
+ {
+ return $this->users;
+ }
+
+ public function setWebsiteUrl($websiteUrl)
+ {
+ $this->websiteUrl = $websiteUrl;
+ }
+
+ public function getWebsiteUrl()
+ {
+ return $this->websiteUrl;
+ }
+}
+
+class Google_Service_Content_AccountAdwordsLink extends Google_Model
+{
+ public $adwordsId;
+ public $status;
+
+ public function setAdwordsId($adwordsId)
+ {
+ $this->adwordsId = $adwordsId;
+ }
+
+ public function getAdwordsId()
+ {
+ return $this->adwordsId;
+ }
+
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+
+ public function getStatus()
+ {
+ return $this->status;
+ }
+}
+
+class Google_Service_Content_AccountStatus extends Google_Collection
+{
+ public $accountId;
+ protected $dataQualityIssuesType = 'Google_Service_Content_AccountStatusDataQualityIssue';
+ protected $dataQualityIssuesDataType = 'array';
+ public $kind;
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+
+ public function setDataQualityIssues($dataQualityIssues)
+ {
+ $this->dataQualityIssues = $dataQualityIssues;
+ }
+
+ public function getDataQualityIssues()
+ {
+ return $this->dataQualityIssues;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Content_AccountStatusDataQualityIssue extends Google_Collection
+{
+ public $country;
+ public $displayedValue;
+ protected $exampleItemsType = 'Google_Service_Content_AccountStatusExampleItem';
+ protected $exampleItemsDataType = 'array';
+ public $id;
+ public $lastChecked;
+ public $numItems;
+ public $severity;
+ public $submittedValue;
+
+ public function setCountry($country)
+ {
+ $this->country = $country;
+ }
+
+ public function getCountry()
+ {
+ return $this->country;
+ }
+
+ public function setDisplayedValue($displayedValue)
+ {
+ $this->displayedValue = $displayedValue;
+ }
+
+ public function getDisplayedValue()
+ {
+ return $this->displayedValue;
+ }
+
+ public function setExampleItems($exampleItems)
+ {
+ $this->exampleItems = $exampleItems;
+ }
+
+ public function getExampleItems()
+ {
+ return $this->exampleItems;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setLastChecked($lastChecked)
+ {
+ $this->lastChecked = $lastChecked;
+ }
+
+ public function getLastChecked()
+ {
+ return $this->lastChecked;
+ }
+
+ public function setNumItems($numItems)
+ {
+ $this->numItems = $numItems;
+ }
+
+ public function getNumItems()
+ {
+ return $this->numItems;
+ }
+
+ public function setSeverity($severity)
+ {
+ $this->severity = $severity;
+ }
+
+ public function getSeverity()
+ {
+ return $this->severity;
+ }
+
+ public function setSubmittedValue($submittedValue)
+ {
+ $this->submittedValue = $submittedValue;
+ }
+
+ public function getSubmittedValue()
+ {
+ return $this->submittedValue;
+ }
+}
+
+class Google_Service_Content_AccountStatusExampleItem extends Google_Model
+{
+ public $itemId;
+ public $link;
+ public $submittedValue;
+ public $title;
+ public $valueOnLandingPage;
+
+ public function setItemId($itemId)
+ {
+ $this->itemId = $itemId;
+ }
+
+ public function getItemId()
+ {
+ return $this->itemId;
+ }
+
+ public function setLink($link)
+ {
+ $this->link = $link;
+ }
+
+ public function getLink()
+ {
+ return $this->link;
+ }
+
+ public function setSubmittedValue($submittedValue)
+ {
+ $this->submittedValue = $submittedValue;
+ }
+
+ public function getSubmittedValue()
+ {
+ return $this->submittedValue;
+ }
+
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+
+ public function getTitle()
+ {
+ return $this->title;
+ }
+
+ public function setValueOnLandingPage($valueOnLandingPage)
+ {
+ $this->valueOnLandingPage = $valueOnLandingPage;
+ }
+
+ public function getValueOnLandingPage()
+ {
+ return $this->valueOnLandingPage;
+ }
+}
+
+class Google_Service_Content_AccountUser extends Google_Model
+{
+ public $admin;
+ public $emailAddress;
+
+ public function setAdmin($admin)
+ {
+ $this->admin = $admin;
+ }
+
+ public function getAdmin()
+ {
+ return $this->admin;
+ }
+
+ public function setEmailAddress($emailAddress)
+ {
+ $this->emailAddress = $emailAddress;
+ }
+
+ public function getEmailAddress()
+ {
+ return $this->emailAddress;
+ }
+}
+
+class Google_Service_Content_AccountsCustomBatchRequest extends Google_Collection
+{
+ protected $entriesType = 'Google_Service_Content_AccountsCustomBatchRequestEntry';
+ protected $entriesDataType = 'array';
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+}
+
+class Google_Service_Content_AccountsCustomBatchRequestEntry extends Google_Model
+{
+ protected $accountType = 'Google_Service_Content_Account';
+ protected $accountDataType = '';
+ public $accountId;
+ public $batchId;
+ public $merchantId;
+ public $method;
+
+ public function setAccount(Google_Service_Content_Account $account)
+ {
+ $this->account = $account;
+ }
+
+ public function getAccount()
+ {
+ return $this->account;
+ }
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setMerchantId($merchantId)
+ {
+ $this->merchantId = $merchantId;
+ }
+
+ public function getMerchantId()
+ {
+ return $this->merchantId;
+ }
+
+ public function setMethod($method)
+ {
+ $this->method = $method;
+ }
+
+ public function getMethod()
+ {
+ return $this->method;
+ }
+}
+
+class Google_Service_Content_AccountsCustomBatchResponse extends Google_Collection
+{
+ protected $entriesType = 'Google_Service_Content_AccountsCustomBatchResponseEntry';
+ protected $entriesDataType = 'array';
+ public $kind;
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Content_AccountsCustomBatchResponseEntry extends Google_Model
+{
+ protected $accountType = 'Google_Service_Content_Account';
+ protected $accountDataType = '';
+ public $batchId;
+ protected $errorsType = 'Google_Service_Content_Errors';
+ protected $errorsDataType = '';
+ public $kind;
+
+ public function setAccount(Google_Service_Content_Account $account)
+ {
+ $this->account = $account;
+ }
+
+ public function getAccount()
+ {
+ return $this->account;
+ }
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setErrors(Google_Service_Content_Errors $errors)
+ {
+ $this->errors = $errors;
+ }
+
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Content_AccountsListResponse extends Google_Collection
+{
+ public $kind;
+ public $nextPageToken;
+ protected $resourcesType = 'Google_Service_Content_Account';
+ protected $resourcesDataType = 'array';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+
+ public function getResources()
+ {
+ return $this->resources;
+ }
+}
+
+class Google_Service_Content_AccountstatusesCustomBatchRequest extends Google_Collection
+{
+ protected $entriesType = 'Google_Service_Content_AccountstatusesCustomBatchRequestEntry';
+ protected $entriesDataType = 'array';
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+}
+
+class Google_Service_Content_AccountstatusesCustomBatchRequestEntry extends Google_Model
+{
+ public $accountId;
+ public $batchId;
+ public $merchantId;
+ public $method;
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setMerchantId($merchantId)
+ {
+ $this->merchantId = $merchantId;
+ }
+
+ public function getMerchantId()
+ {
+ return $this->merchantId;
+ }
+
+ public function setMethod($method)
+ {
+ $this->method = $method;
+ }
+
+ public function getMethod()
+ {
+ return $this->method;
+ }
+}
+
+class Google_Service_Content_AccountstatusesCustomBatchResponse extends Google_Collection
+{
+ protected $entriesType = 'Google_Service_Content_AccountstatusesCustomBatchResponseEntry';
+ protected $entriesDataType = 'array';
+ public $kind;
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Content_AccountstatusesCustomBatchResponseEntry extends Google_Model
+{
+ protected $accountStatusType = 'Google_Service_Content_AccountStatus';
+ protected $accountStatusDataType = '';
+ public $batchId;
+ protected $errorsType = 'Google_Service_Content_Errors';
+ protected $errorsDataType = '';
+
+ public function setAccountStatus(Google_Service_Content_AccountStatus $accountStatus)
+ {
+ $this->accountStatus = $accountStatus;
+ }
+
+ public function getAccountStatus()
+ {
+ return $this->accountStatus;
+ }
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setErrors(Google_Service_Content_Errors $errors)
+ {
+ $this->errors = $errors;
+ }
+
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+}
+
+class Google_Service_Content_AccountstatusesListResponse extends Google_Collection
+{
+ public $kind;
+ public $nextPageToken;
+ protected $resourcesType = 'Google_Service_Content_AccountStatus';
+ protected $resourcesDataType = 'array';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+
+ public function getResources()
+ {
+ return $this->resources;
+ }
+}
+
+class Google_Service_Content_Datafeed extends Google_Collection
+{
+ public $attributeLanguage;
+ public $contentLanguage;
+ public $contentType;
+ protected $fetchScheduleType = 'Google_Service_Content_DatafeedFetchSchedule';
+ protected $fetchScheduleDataType = '';
+ public $fileName;
+ protected $formatType = 'Google_Service_Content_DatafeedFormat';
+ protected $formatDataType = '';
+ public $id;
+ public $intendedDestinations;
+ public $kind;
+ public $name;
+ public $targetCountry;
+
+ public function setAttributeLanguage($attributeLanguage)
+ {
+ $this->attributeLanguage = $attributeLanguage;
+ }
+
+ public function getAttributeLanguage()
+ {
+ return $this->attributeLanguage;
+ }
+
+ public function setContentLanguage($contentLanguage)
+ {
+ $this->contentLanguage = $contentLanguage;
+ }
+
+ public function getContentLanguage()
+ {
+ return $this->contentLanguage;
+ }
+
+ public function setContentType($contentType)
+ {
+ $this->contentType = $contentType;
+ }
+
+ public function getContentType()
+ {
+ return $this->contentType;
+ }
+
+ public function setFetchSchedule(Google_Service_Content_DatafeedFetchSchedule $fetchSchedule)
+ {
+ $this->fetchSchedule = $fetchSchedule;
+ }
+
+ public function getFetchSchedule()
+ {
+ return $this->fetchSchedule;
+ }
+
+ public function setFileName($fileName)
+ {
+ $this->fileName = $fileName;
+ }
+
+ public function getFileName()
+ {
+ return $this->fileName;
+ }
+
+ public function setFormat(Google_Service_Content_DatafeedFormat $format)
+ {
+ $this->format = $format;
+ }
+
+ public function getFormat()
+ {
+ return $this->format;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setIntendedDestinations($intendedDestinations)
+ {
+ $this->intendedDestinations = $intendedDestinations;
+ }
+
+ public function getIntendedDestinations()
+ {
+ return $this->intendedDestinations;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setTargetCountry($targetCountry)
+ {
+ $this->targetCountry = $targetCountry;
+ }
+
+ public function getTargetCountry()
+ {
+ return $this->targetCountry;
+ }
+}
+
+class Google_Service_Content_DatafeedFetchSchedule extends Google_Model
+{
+ public $dayOfMonth;
+ public $fetchUrl;
+ public $hour;
+ public $password;
+ public $timeZone;
+ public $username;
+ public $weekday;
+
+ public function setDayOfMonth($dayOfMonth)
+ {
+ $this->dayOfMonth = $dayOfMonth;
+ }
+
+ public function getDayOfMonth()
+ {
+ return $this->dayOfMonth;
+ }
+
+ public function setFetchUrl($fetchUrl)
+ {
+ $this->fetchUrl = $fetchUrl;
+ }
+
+ public function getFetchUrl()
+ {
+ return $this->fetchUrl;
+ }
+
+ public function setHour($hour)
+ {
+ $this->hour = $hour;
+ }
+
+ public function getHour()
+ {
+ return $this->hour;
+ }
+
+ public function setPassword($password)
+ {
+ $this->password = $password;
+ }
+
+ public function getPassword()
+ {
+ return $this->password;
+ }
+
+ public function setTimeZone($timeZone)
+ {
+ $this->timeZone = $timeZone;
+ }
+
+ public function getTimeZone()
+ {
+ return $this->timeZone;
+ }
+
+ public function setUsername($username)
+ {
+ $this->username = $username;
+ }
+
+ public function getUsername()
+ {
+ return $this->username;
+ }
+
+ public function setWeekday($weekday)
+ {
+ $this->weekday = $weekday;
+ }
+
+ public function getWeekday()
+ {
+ return $this->weekday;
+ }
+}
+
+class Google_Service_Content_DatafeedFormat extends Google_Model
+{
+ public $columnDelimiter;
+ public $fileEncoding;
+ public $quotingMode;
+
+ public function setColumnDelimiter($columnDelimiter)
+ {
+ $this->columnDelimiter = $columnDelimiter;
+ }
+
+ public function getColumnDelimiter()
+ {
+ return $this->columnDelimiter;
+ }
+
+ public function setFileEncoding($fileEncoding)
+ {
+ $this->fileEncoding = $fileEncoding;
+ }
+
+ public function getFileEncoding()
+ {
+ return $this->fileEncoding;
+ }
+
+ public function setQuotingMode($quotingMode)
+ {
+ $this->quotingMode = $quotingMode;
+ }
+
+ public function getQuotingMode()
+ {
+ return $this->quotingMode;
+ }
+}
+
+class Google_Service_Content_DatafeedStatus extends Google_Collection
+{
+ public $datafeedId;
+ protected $errorsType = 'Google_Service_Content_DatafeedStatusError';
+ protected $errorsDataType = 'array';
+ public $itemsTotal;
+ public $itemsValid;
+ public $kind;
+ public $processingStatus;
+ protected $warningsType = 'Google_Service_Content_DatafeedStatusError';
+ protected $warningsDataType = 'array';
+
+ public function setDatafeedId($datafeedId)
+ {
+ $this->datafeedId = $datafeedId;
+ }
+
+ public function getDatafeedId()
+ {
+ return $this->datafeedId;
+ }
+
+ public function setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+
+ public function setItemsTotal($itemsTotal)
+ {
+ $this->itemsTotal = $itemsTotal;
+ }
+
+ public function getItemsTotal()
+ {
+ return $this->itemsTotal;
+ }
+
+ public function setItemsValid($itemsValid)
+ {
+ $this->itemsValid = $itemsValid;
+ }
+
+ public function getItemsValid()
+ {
+ return $this->itemsValid;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setProcessingStatus($processingStatus)
+ {
+ $this->processingStatus = $processingStatus;
+ }
+
+ public function getProcessingStatus()
+ {
+ return $this->processingStatus;
+ }
+
+ public function setWarnings($warnings)
+ {
+ $this->warnings = $warnings;
+ }
+
+ public function getWarnings()
+ {
+ return $this->warnings;
+ }
+}
+
+class Google_Service_Content_DatafeedStatusError extends Google_Collection
+{
+ public $code;
+ public $count;
+ protected $examplesType = 'Google_Service_Content_DatafeedStatusExample';
+ protected $examplesDataType = 'array';
+ public $message;
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+
+ public function getCode()
+ {
+ return $this->code;
+ }
+
+ public function setCount($count)
+ {
+ $this->count = $count;
+ }
+
+ public function getCount()
+ {
+ return $this->count;
+ }
+
+ public function setExamples($examples)
+ {
+ $this->examples = $examples;
+ }
+
+ public function getExamples()
+ {
+ return $this->examples;
+ }
+
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Google_Service_Content_DatafeedStatusExample extends Google_Model
+{
+ public $itemId;
+ public $lineNumber;
+ public $value;
+
+ public function setItemId($itemId)
+ {
+ $this->itemId = $itemId;
+ }
+
+ public function getItemId()
+ {
+ return $this->itemId;
+ }
+
+ public function setLineNumber($lineNumber)
+ {
+ $this->lineNumber = $lineNumber;
+ }
+
+ public function getLineNumber()
+ {
+ return $this->lineNumber;
+ }
+
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Google_Service_Content_DatafeedsBatchRequest extends Google_Collection
+{
+ protected $entrysType = 'Google_Service_Content_DatafeedsBatchRequestEntry';
+ protected $entrysDataType = 'array';
+
+ public function setEntrys($entrys)
+ {
+ $this->entrys = $entrys;
+ }
+
+ public function getEntrys()
+ {
+ return $this->entrys;
+ }
+}
+
+class Google_Service_Content_DatafeedsBatchRequestEntry extends Google_Model
+{
+ public $batchId;
+ protected $datafeedsinsertrequestType = 'Google_Service_Content_DatafeedsInsertRequest';
+ protected $datafeedsinsertrequestDataType = '';
+ protected $datafeedsupdaterequestType = 'Google_Service_Content_DatafeedsUpdateRequest';
+ protected $datafeedsupdaterequestDataType = '';
+ public $methodName;
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setDatafeedsinsertrequest(Google_Service_Content_DatafeedsInsertRequest $datafeedsinsertrequest)
+ {
+ $this->datafeedsinsertrequest = $datafeedsinsertrequest;
+ }
+
+ public function getDatafeedsinsertrequest()
+ {
+ return $this->datafeedsinsertrequest;
+ }
+
+ public function setDatafeedsupdaterequest(Google_Service_Content_DatafeedsUpdateRequest $datafeedsupdaterequest)
+ {
+ $this->datafeedsupdaterequest = $datafeedsupdaterequest;
+ }
+
+ public function getDatafeedsupdaterequest()
+ {
+ return $this->datafeedsupdaterequest;
+ }
+
+ public function setMethodName($methodName)
+ {
+ $this->methodName = $methodName;
+ }
+
+ public function getMethodName()
+ {
+ return $this->methodName;
+ }
+}
+
+class Google_Service_Content_DatafeedsBatchResponse extends Google_Collection
+{
+ protected $entrysType = 'Google_Service_Content_DatafeedsBatchResponseEntry';
+ protected $entrysDataType = 'array';
+ public $kind;
+
+ public function setEntrys($entrys)
+ {
+ $this->entrys = $entrys;
+ }
+
+ public function getEntrys()
+ {
+ return $this->entrys;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Content_DatafeedsBatchResponseEntry extends Google_Model
+{
+ public $batchId;
+ protected $datafeedsgetresponseType = 'Google_Service_Content_DatafeedsGetResponse';
+ protected $datafeedsgetresponseDataType = '';
+ protected $datafeedsinsertresponseType = 'Google_Service_Content_DatafeedsInsertResponse';
+ protected $datafeedsinsertresponseDataType = '';
+ protected $datafeedsupdateresponseType = 'Google_Service_Content_DatafeedsUpdateResponse';
+ protected $datafeedsupdateresponseDataType = '';
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setDatafeedsgetresponse(Google_Service_Content_DatafeedsGetResponse $datafeedsgetresponse)
+ {
+ $this->datafeedsgetresponse = $datafeedsgetresponse;
+ }
+
+ public function getDatafeedsgetresponse()
+ {
+ return $this->datafeedsgetresponse;
+ }
+
+ public function setDatafeedsinsertresponse(Google_Service_Content_DatafeedsInsertResponse $datafeedsinsertresponse)
+ {
+ $this->datafeedsinsertresponse = $datafeedsinsertresponse;
+ }
+
+ public function getDatafeedsinsertresponse()
+ {
+ return $this->datafeedsinsertresponse;
+ }
+
+ public function setDatafeedsupdateresponse(Google_Service_Content_DatafeedsUpdateResponse $datafeedsupdateresponse)
+ {
+ $this->datafeedsupdateresponse = $datafeedsupdateresponse;
+ }
+
+ public function getDatafeedsupdateresponse()
+ {
+ return $this->datafeedsupdateresponse;
+ }
+}
+
+class Google_Service_Content_DatafeedsCustomBatchRequest extends Google_Collection
+{
+ protected $entriesType = 'Google_Service_Content_DatafeedsCustomBatchRequestEntry';
+ protected $entriesDataType = 'array';
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+}
+
+class Google_Service_Content_DatafeedsCustomBatchRequestEntry extends Google_Model
+{
+ public $batchId;
+ protected $datafeedType = 'Google_Service_Content_Datafeed';
+ protected $datafeedDataType = '';
+ public $datafeedId;
+ public $merchantId;
+ public $method;
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setDatafeed(Google_Service_Content_Datafeed $datafeed)
+ {
+ $this->datafeed = $datafeed;
+ }
+
+ public function getDatafeed()
+ {
+ return $this->datafeed;
+ }
+
+ public function setDatafeedId($datafeedId)
+ {
+ $this->datafeedId = $datafeedId;
+ }
+
+ public function getDatafeedId()
+ {
+ return $this->datafeedId;
+ }
+
+ public function setMerchantId($merchantId)
+ {
+ $this->merchantId = $merchantId;
+ }
+
+ public function getMerchantId()
+ {
+ return $this->merchantId;
+ }
+
+ public function setMethod($method)
+ {
+ $this->method = $method;
+ }
+
+ public function getMethod()
+ {
+ return $this->method;
+ }
+}
+
+class Google_Service_Content_DatafeedsCustomBatchResponse extends Google_Collection
+{
+ protected $entriesType = 'Google_Service_Content_DatafeedsCustomBatchResponseEntry';
+ protected $entriesDataType = 'array';
+ public $kind;
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Content_DatafeedsCustomBatchResponseEntry extends Google_Model
+{
+ public $batchId;
+ protected $datafeedType = 'Google_Service_Content_Datafeed';
+ protected $datafeedDataType = '';
+ protected $errorsType = 'Google_Service_Content_Errors';
+ protected $errorsDataType = '';
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setDatafeed(Google_Service_Content_Datafeed $datafeed)
+ {
+ $this->datafeed = $datafeed;
+ }
+
+ public function getDatafeed()
+ {
+ return $this->datafeed;
+ }
+
+ public function setErrors(Google_Service_Content_Errors $errors)
+ {
+ $this->errors = $errors;
+ }
+
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+}
+
+class Google_Service_Content_DatafeedsGetResponse extends Google_Model
+{
+ public $kind;
+ protected $resourceType = 'Google_Service_Content_Datafeed';
+ protected $resourceDataType = '';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setResource(Google_Service_Content_Datafeed $resource)
+ {
+ $this->resource = $resource;
+ }
+
+ public function getResource()
+ {
+ return $this->resource;
+ }
+}
+
+class Google_Service_Content_DatafeedsInsertRequest extends Google_Model
+{
+ protected $resourceType = 'Google_Service_Content_Datafeed';
+ protected $resourceDataType = '';
+
+ public function setResource(Google_Service_Content_Datafeed $resource)
+ {
+ $this->resource = $resource;
+ }
+
+ public function getResource()
+ {
+ return $this->resource;
+ }
+}
+
+class Google_Service_Content_DatafeedsInsertResponse extends Google_Model
+{
+ public $kind;
+ protected $resourceType = 'Google_Service_Content_Datafeed';
+ protected $resourceDataType = '';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setResource(Google_Service_Content_Datafeed $resource)
+ {
+ $this->resource = $resource;
+ }
+
+ public function getResource()
+ {
+ return $this->resource;
+ }
+}
+
+class Google_Service_Content_DatafeedsListResponse extends Google_Collection
+{
+ public $kind;
+ protected $resourcesType = 'Google_Service_Content_Datafeed';
+ protected $resourcesDataType = 'array';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+
+ public function getResources()
+ {
+ return $this->resources;
+ }
+}
+
+class Google_Service_Content_DatafeedsUpdateRequest extends Google_Model
+{
+ protected $resourceType = 'Google_Service_Content_Datafeed';
+ protected $resourceDataType = '';
+
+ public function setResource(Google_Service_Content_Datafeed $resource)
+ {
+ $this->resource = $resource;
+ }
+
+ public function getResource()
+ {
+ return $this->resource;
+ }
+}
+
+class Google_Service_Content_DatafeedsUpdateResponse extends Google_Model
+{
+ public $kind;
+ protected $resourceType = 'Google_Service_Content_Datafeed';
+ protected $resourceDataType = '';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setResource(Google_Service_Content_Datafeed $resource)
+ {
+ $this->resource = $resource;
+ }
+
+ public function getResource()
+ {
+ return $this->resource;
+ }
+}
+
+class Google_Service_Content_DatafeedstatusesBatchRequest extends Google_Collection
+{
+ protected $entrysType = 'Google_Service_Content_DatafeedstatusesBatchRequestEntry';
+ protected $entrysDataType = 'array';
+
+ public function setEntrys($entrys)
+ {
+ $this->entrys = $entrys;
+ }
+
+ public function getEntrys()
+ {
+ return $this->entrys;
+ }
+}
+
+class Google_Service_Content_DatafeedstatusesBatchRequestEntry extends Google_Model
+{
+ public $batchId;
+ public $methodName;
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setMethodName($methodName)
+ {
+ $this->methodName = $methodName;
+ }
+
+ public function getMethodName()
+ {
+ return $this->methodName;
+ }
+}
+
+class Google_Service_Content_DatafeedstatusesBatchResponse extends Google_Collection
+{
+ protected $entrysType = 'Google_Service_Content_DatafeedstatusesBatchResponseEntry';
+ protected $entrysDataType = 'array';
+ public $kind;
+
+ public function setEntrys($entrys)
+ {
+ $this->entrys = $entrys;
+ }
+
+ public function getEntrys()
+ {
+ return $this->entrys;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Content_DatafeedstatusesBatchResponseEntry extends Google_Model
+{
+ public $batchId;
+ protected $datafeedstatusesgetresponseType = 'Google_Service_Content_DatafeedstatusesGetResponse';
+ protected $datafeedstatusesgetresponseDataType = '';
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setDatafeedstatusesgetresponse(Google_Service_Content_DatafeedstatusesGetResponse $datafeedstatusesgetresponse)
+ {
+ $this->datafeedstatusesgetresponse = $datafeedstatusesgetresponse;
+ }
+
+ public function getDatafeedstatusesgetresponse()
+ {
+ return $this->datafeedstatusesgetresponse;
+ }
+}
+
+class Google_Service_Content_DatafeedstatusesCustomBatchRequest extends Google_Collection
+{
+ protected $entriesType = 'Google_Service_Content_DatafeedstatusesCustomBatchRequestEntry';
+ protected $entriesDataType = 'array';
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+}
+
+class Google_Service_Content_DatafeedstatusesCustomBatchRequestEntry extends Google_Model
+{
+ public $batchId;
+ public $datafeedId;
+ public $merchantId;
+ public $method;
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setDatafeedId($datafeedId)
+ {
+ $this->datafeedId = $datafeedId;
+ }
+
+ public function getDatafeedId()
+ {
+ return $this->datafeedId;
+ }
+
+ public function setMerchantId($merchantId)
+ {
+ $this->merchantId = $merchantId;
+ }
+
+ public function getMerchantId()
+ {
+ return $this->merchantId;
+ }
+
+ public function setMethod($method)
+ {
+ $this->method = $method;
+ }
+
+ public function getMethod()
+ {
+ return $this->method;
+ }
+}
+
+class Google_Service_Content_DatafeedstatusesCustomBatchResponse extends Google_Collection
+{
+ protected $entriesType = 'Google_Service_Content_DatafeedstatusesCustomBatchResponseEntry';
+ protected $entriesDataType = 'array';
+ public $kind;
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Content_DatafeedstatusesCustomBatchResponseEntry extends Google_Model
+{
+ public $batchId;
+ protected $datafeedStatusType = 'Google_Service_Content_DatafeedStatus';
+ protected $datafeedStatusDataType = '';
+ protected $errorsType = 'Google_Service_Content_Errors';
+ protected $errorsDataType = '';
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setDatafeedStatus(Google_Service_Content_DatafeedStatus $datafeedStatus)
+ {
+ $this->datafeedStatus = $datafeedStatus;
+ }
+
+ public function getDatafeedStatus()
+ {
+ return $this->datafeedStatus;
+ }
+
+ public function setErrors(Google_Service_Content_Errors $errors)
+ {
+ $this->errors = $errors;
+ }
+
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+}
+
+class Google_Service_Content_DatafeedstatusesGetResponse extends Google_Model
+{
+ public $kind;
+ protected $resourceType = 'Google_Service_Content_DatafeedStatus';
+ protected $resourceDataType = '';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setResource(Google_Service_Content_DatafeedStatus $resource)
+ {
+ $this->resource = $resource;
+ }
+
+ public function getResource()
+ {
+ return $this->resource;
+ }
+}
+
+class Google_Service_Content_DatafeedstatusesListResponse extends Google_Collection
+{
+ public $kind;
+ protected $resourcesType = 'Google_Service_Content_DatafeedStatus';
+ protected $resourcesDataType = 'array';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+
+ public function getResources()
+ {
+ return $this->resources;
+ }
+}
+
+class Google_Service_Content_Error extends Google_Model
+{
+ public $domain;
+ public $message;
+ public $reason;
+
+ public function setDomain($domain)
+ {
+ $this->domain = $domain;
+ }
+
+ public function getDomain()
+ {
+ return $this->domain;
+ }
+
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+
+ public function getMessage()
+ {
+ return $this->message;
+ }
+
+ public function setReason($reason)
+ {
+ $this->reason = $reason;
+ }
+
+ public function getReason()
+ {
+ return $this->reason;
+ }
+}
+
+class Google_Service_Content_Errors extends Google_Collection
+{
+ public $code;
+ protected $errorsType = 'Google_Service_Content_Error';
+ protected $errorsDataType = 'array';
+ public $message;
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+
+ public function getCode()
+ {
+ return $this->code;
+ }
+
+ public function setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Google_Service_Content_Inventory extends Google_Model
+{
+ public $availability;
+ public $kind;
+ protected $priceType = 'Google_Service_Content_Price';
+ protected $priceDataType = '';
+ public $quantity;
+ protected $salePriceType = 'Google_Service_Content_Price';
+ protected $salePriceDataType = '';
+ public $salePriceEffectiveDate;
+
+ public function setAvailability($availability)
+ {
+ $this->availability = $availability;
+ }
+
+ public function getAvailability()
+ {
+ return $this->availability;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setPrice(Google_Service_Content_Price $price)
+ {
+ $this->price = $price;
+ }
+
+ public function getPrice()
+ {
+ return $this->price;
+ }
+
+ public function setQuantity($quantity)
+ {
+ $this->quantity = $quantity;
+ }
+
+ public function getQuantity()
+ {
+ return $this->quantity;
+ }
+
+ public function setSalePrice(Google_Service_Content_Price $salePrice)
+ {
+ $this->salePrice = $salePrice;
+ }
+
+ public function getSalePrice()
+ {
+ return $this->salePrice;
+ }
+
+ public function setSalePriceEffectiveDate($salePriceEffectiveDate)
+ {
+ $this->salePriceEffectiveDate = $salePriceEffectiveDate;
+ }
+
+ public function getSalePriceEffectiveDate()
+ {
+ return $this->salePriceEffectiveDate;
+ }
+}
+
+class Google_Service_Content_InventoryCustomBatchRequest extends Google_Collection
+{
+ protected $entriesType = 'Google_Service_Content_InventoryCustomBatchRequestEntry';
+ protected $entriesDataType = 'array';
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+}
+
+class Google_Service_Content_InventoryCustomBatchRequestEntry extends Google_Model
+{
+ public $batchId;
+ protected $inventoryType = 'Google_Service_Content_Inventory';
+ protected $inventoryDataType = '';
+ public $merchantId;
+ public $productId;
+ public $storeCode;
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setInventory(Google_Service_Content_Inventory $inventory)
+ {
+ $this->inventory = $inventory;
+ }
+
+ public function getInventory()
+ {
+ return $this->inventory;
+ }
+
+ public function setMerchantId($merchantId)
+ {
+ $this->merchantId = $merchantId;
+ }
+
+ public function getMerchantId()
+ {
+ return $this->merchantId;
+ }
+
+ public function setProductId($productId)
+ {
+ $this->productId = $productId;
+ }
+
+ public function getProductId()
+ {
+ return $this->productId;
+ }
+
+ public function setStoreCode($storeCode)
+ {
+ $this->storeCode = $storeCode;
+ }
+
+ public function getStoreCode()
+ {
+ return $this->storeCode;
+ }
+}
+
+class Google_Service_Content_InventoryCustomBatchResponse extends Google_Collection
+{
+ protected $entriesType = 'Google_Service_Content_InventoryCustomBatchResponseEntry';
+ protected $entriesDataType = 'array';
+ public $kind;
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Content_InventoryCustomBatchResponseEntry extends Google_Model
+{
+ public $batchId;
+ protected $errorsType = 'Google_Service_Content_Errors';
+ protected $errorsDataType = '';
+ public $kind;
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setErrors(Google_Service_Content_Errors $errors)
+ {
+ $this->errors = $errors;
+ }
+
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Content_InventorySetRequest extends Google_Model
+{
+ public $availability;
+ protected $priceType = 'Google_Service_Content_Price';
+ protected $priceDataType = '';
+ public $quantity;
+ protected $salePriceType = 'Google_Service_Content_Price';
+ protected $salePriceDataType = '';
+ public $salePriceEffectiveDate;
+
+ public function setAvailability($availability)
+ {
+ $this->availability = $availability;
+ }
+
+ public function getAvailability()
+ {
+ return $this->availability;
+ }
+
+ public function setPrice(Google_Service_Content_Price $price)
+ {
+ $this->price = $price;
+ }
+
+ public function getPrice()
+ {
+ return $this->price;
+ }
+
+ public function setQuantity($quantity)
+ {
+ $this->quantity = $quantity;
+ }
+
+ public function getQuantity()
+ {
+ return $this->quantity;
+ }
+
+ public function setSalePrice(Google_Service_Content_Price $salePrice)
+ {
+ $this->salePrice = $salePrice;
+ }
+
+ public function getSalePrice()
+ {
+ return $this->salePrice;
+ }
+
+ public function setSalePriceEffectiveDate($salePriceEffectiveDate)
+ {
+ $this->salePriceEffectiveDate = $salePriceEffectiveDate;
+ }
+
+ public function getSalePriceEffectiveDate()
+ {
+ return $this->salePriceEffectiveDate;
+ }
+}
+
+class Google_Service_Content_InventorySetResponse extends Google_Model
+{
+ public $kind;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Content_LoyaltyPoints extends Google_Model
+{
+ public $name;
+ public $pointsValue;
+ public $ratio;
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setPointsValue($pointsValue)
+ {
+ $this->pointsValue = $pointsValue;
+ }
+
+ public function getPointsValue()
+ {
+ return $this->pointsValue;
+ }
+
+ public function setRatio($ratio)
+ {
+ $this->ratio = $ratio;
+ }
+
+ public function getRatio()
+ {
+ return $this->ratio;
+ }
+}
+
+class Google_Service_Content_Price extends Google_Model
+{
+ public $currency;
+ public $value;
+
+ public function setCurrency($currency)
+ {
+ $this->currency = $currency;
+ }
+
+ public function getCurrency()
+ {
+ return $this->currency;
+ }
+
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Google_Service_Content_Product extends Google_Collection
+{
+ public $additionalImageLinks;
+ public $adult;
+ public $adwordsGrouping;
+ public $adwordsLabels;
+ public $adwordsRedirect;
+ public $ageGroup;
+ public $availability;
+ public $brand;
+ public $channel;
+ public $color;
+ public $condition;
+ public $contentLanguage;
+ protected $customAttributesType = 'Google_Service_Content_ProductCustomAttribute';
+ protected $customAttributesDataType = 'array';
+ protected $customGroupsType = 'Google_Service_Content_ProductCustomGroup';
+ protected $customGroupsDataType = 'array';
+ public $customLabel0;
+ public $customLabel1;
+ public $customLabel2;
+ public $customLabel3;
+ public $customLabel4;
+ public $description;
+ protected $destinationsType = 'Google_Service_Content_ProductDestination';
+ protected $destinationsDataType = 'array';
+ public $energyEfficiencyClass;
+ public $expirationDate;
+ public $gender;
+ public $googleProductCategory;
+ public $gtin;
+ public $id;
+ public $identifierExists;
+ public $imageLink;
+ protected $installmentType = 'Google_Service_Content_ProductInstallment';
+ protected $installmentDataType = '';
+ public $itemGroupId;
+ public $kind;
+ public $link;
+ protected $loyaltyPointsType = 'Google_Service_Content_LoyaltyPoints';
+ protected $loyaltyPointsDataType = '';
+ public $material;
+ public $merchantMultipackQuantity;
+ public $mpn;
+ public $offerId;
+ public $onlineOnly;
+ public $pattern;
+ protected $priceType = 'Google_Service_Content_Price';
+ protected $priceDataType = '';
+ public $productType;
+ protected $salePriceType = 'Google_Service_Content_Price';
+ protected $salePriceDataType = '';
+ public $salePriceEffectiveDate;
+ protected $shippingType = 'Google_Service_Content_ProductShipping';
+ protected $shippingDataType = 'array';
+ protected $shippingWeightType = 'Google_Service_Content_ProductShippingWeight';
+ protected $shippingWeightDataType = '';
+ public $sizes;
+ public $targetCountry;
+ protected $taxType = 'Google_Service_Content_ProductTax';
+ protected $taxDataType = '';
+ public $title;
+ public $unitPricingBaseMeasure;
+ public $unitPricingMeasure;
+ public $validatedDestinations;
+ protected $warningsType = 'Google_Service_Content_Error';
+ protected $warningsDataType = 'array';
+
+ public function setAdditionalImageLinks($additionalImageLinks)
+ {
+ $this->additionalImageLinks = $additionalImageLinks;
+ }
+
+ public function getAdditionalImageLinks()
+ {
+ return $this->additionalImageLinks;
+ }
+
+ public function setAdult($adult)
+ {
+ $this->adult = $adult;
+ }
+
+ public function getAdult()
+ {
+ return $this->adult;
+ }
+
+ public function setAdwordsGrouping($adwordsGrouping)
+ {
+ $this->adwordsGrouping = $adwordsGrouping;
+ }
+
+ public function getAdwordsGrouping()
+ {
+ return $this->adwordsGrouping;
+ }
+
+ public function setAdwordsLabels($adwordsLabels)
+ {
+ $this->adwordsLabels = $adwordsLabels;
+ }
+
+ public function getAdwordsLabels()
+ {
+ return $this->adwordsLabels;
+ }
+
+ public function setAdwordsRedirect($adwordsRedirect)
+ {
+ $this->adwordsRedirect = $adwordsRedirect;
+ }
+
+ public function getAdwordsRedirect()
+ {
+ return $this->adwordsRedirect;
+ }
+
+ public function setAgeGroup($ageGroup)
+ {
+ $this->ageGroup = $ageGroup;
+ }
+
+ public function getAgeGroup()
+ {
+ return $this->ageGroup;
+ }
+
+ public function setAvailability($availability)
+ {
+ $this->availability = $availability;
+ }
+
+ public function getAvailability()
+ {
+ return $this->availability;
+ }
+
+ public function setBrand($brand)
+ {
+ $this->brand = $brand;
+ }
+
+ public function getBrand()
+ {
+ return $this->brand;
+ }
+
+ public function setChannel($channel)
+ {
+ $this->channel = $channel;
+ }
+
+ public function getChannel()
+ {
+ return $this->channel;
+ }
+
+ public function setColor($color)
+ {
+ $this->color = $color;
+ }
+
+ public function getColor()
+ {
+ return $this->color;
+ }
+
+ public function setCondition($condition)
+ {
+ $this->condition = $condition;
+ }
+
+ public function getCondition()
+ {
+ return $this->condition;
+ }
+
+ public function setContentLanguage($contentLanguage)
+ {
+ $this->contentLanguage = $contentLanguage;
+ }
+
+ public function getContentLanguage()
+ {
+ return $this->contentLanguage;
+ }
+
+ public function setCustomAttributes($customAttributes)
+ {
+ $this->customAttributes = $customAttributes;
+ }
+
+ public function getCustomAttributes()
+ {
+ return $this->customAttributes;
+ }
+
+ public function setCustomGroups($customGroups)
+ {
+ $this->customGroups = $customGroups;
+ }
+
+ public function getCustomGroups()
+ {
+ return $this->customGroups;
+ }
+
+ public function setCustomLabel0($customLabel0)
+ {
+ $this->customLabel0 = $customLabel0;
+ }
+
+ public function getCustomLabel0()
+ {
+ return $this->customLabel0;
+ }
+
+ public function setCustomLabel1($customLabel1)
+ {
+ $this->customLabel1 = $customLabel1;
+ }
+
+ public function getCustomLabel1()
+ {
+ return $this->customLabel1;
+ }
+
+ public function setCustomLabel2($customLabel2)
+ {
+ $this->customLabel2 = $customLabel2;
+ }
+
+ public function getCustomLabel2()
+ {
+ return $this->customLabel2;
+ }
+
+ public function setCustomLabel3($customLabel3)
+ {
+ $this->customLabel3 = $customLabel3;
+ }
+
+ public function getCustomLabel3()
+ {
+ return $this->customLabel3;
+ }
+
+ public function setCustomLabel4($customLabel4)
+ {
+ $this->customLabel4 = $customLabel4;
+ }
+
+ public function getCustomLabel4()
+ {
+ return $this->customLabel4;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setDestinations($destinations)
+ {
+ $this->destinations = $destinations;
+ }
+
+ public function getDestinations()
+ {
+ return $this->destinations;
+ }
+
+ public function setEnergyEfficiencyClass($energyEfficiencyClass)
+ {
+ $this->energyEfficiencyClass = $energyEfficiencyClass;
+ }
+
+ public function getEnergyEfficiencyClass()
+ {
+ return $this->energyEfficiencyClass;
+ }
+
+ public function setExpirationDate($expirationDate)
+ {
+ $this->expirationDate = $expirationDate;
+ }
+
+ public function getExpirationDate()
+ {
+ return $this->expirationDate;
+ }
+
+ public function setGender($gender)
+ {
+ $this->gender = $gender;
+ }
+
+ public function getGender()
+ {
+ return $this->gender;
+ }
+
+ public function setGoogleProductCategory($googleProductCategory)
+ {
+ $this->googleProductCategory = $googleProductCategory;
+ }
+
+ public function getGoogleProductCategory()
+ {
+ return $this->googleProductCategory;
+ }
+
+ public function setGtin($gtin)
+ {
+ $this->gtin = $gtin;
+ }
+
+ public function getGtin()
+ {
+ return $this->gtin;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setIdentifierExists($identifierExists)
+ {
+ $this->identifierExists = $identifierExists;
+ }
+
+ public function getIdentifierExists()
+ {
+ return $this->identifierExists;
+ }
+
+ public function setImageLink($imageLink)
+ {
+ $this->imageLink = $imageLink;
+ }
+
+ public function getImageLink()
+ {
+ return $this->imageLink;
+ }
+
+ public function setInstallment(Google_Service_Content_ProductInstallment $installment)
+ {
+ $this->installment = $installment;
+ }
+
+ public function getInstallment()
+ {
+ return $this->installment;
+ }
+
+ public function setItemGroupId($itemGroupId)
+ {
+ $this->itemGroupId = $itemGroupId;
+ }
+
+ public function getItemGroupId()
+ {
+ return $this->itemGroupId;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setLink($link)
+ {
+ $this->link = $link;
+ }
+
+ public function getLink()
+ {
+ return $this->link;
+ }
+
+ public function setLoyaltyPoints(Google_Service_Content_LoyaltyPoints $loyaltyPoints)
+ {
+ $this->loyaltyPoints = $loyaltyPoints;
+ }
+
+ public function getLoyaltyPoints()
+ {
+ return $this->loyaltyPoints;
+ }
+
+ public function setMaterial($material)
+ {
+ $this->material = $material;
+ }
+
+ public function getMaterial()
+ {
+ return $this->material;
+ }
+
+ public function setMerchantMultipackQuantity($merchantMultipackQuantity)
+ {
+ $this->merchantMultipackQuantity = $merchantMultipackQuantity;
+ }
+
+ public function getMerchantMultipackQuantity()
+ {
+ return $this->merchantMultipackQuantity;
+ }
+
+ public function setMpn($mpn)
+ {
+ $this->mpn = $mpn;
+ }
+
+ public function getMpn()
+ {
+ return $this->mpn;
+ }
+
+ public function setOfferId($offerId)
+ {
+ $this->offerId = $offerId;
+ }
+
+ public function getOfferId()
+ {
+ return $this->offerId;
+ }
+
+ public function setOnlineOnly($onlineOnly)
+ {
+ $this->onlineOnly = $onlineOnly;
+ }
+
+ public function getOnlineOnly()
+ {
+ return $this->onlineOnly;
+ }
+
+ public function setPattern($pattern)
+ {
+ $this->pattern = $pattern;
+ }
+
+ public function getPattern()
+ {
+ return $this->pattern;
+ }
+
+ public function setPrice(Google_Service_Content_Price $price)
+ {
+ $this->price = $price;
+ }
+
+ public function getPrice()
+ {
+ return $this->price;
+ }
+
+ public function setProductType($productType)
+ {
+ $this->productType = $productType;
+ }
+
+ public function getProductType()
+ {
+ return $this->productType;
+ }
+
+ public function setSalePrice(Google_Service_Content_Price $salePrice)
+ {
+ $this->salePrice = $salePrice;
+ }
+
+ public function getSalePrice()
+ {
+ return $this->salePrice;
+ }
+
+ public function setSalePriceEffectiveDate($salePriceEffectiveDate)
+ {
+ $this->salePriceEffectiveDate = $salePriceEffectiveDate;
+ }
+
+ public function getSalePriceEffectiveDate()
+ {
+ return $this->salePriceEffectiveDate;
+ }
+
+ public function setShipping($shipping)
+ {
+ $this->shipping = $shipping;
+ }
+
+ public function getShipping()
+ {
+ return $this->shipping;
+ }
+
+ public function setShippingWeight(Google_Service_Content_ProductShippingWeight $shippingWeight)
+ {
+ $this->shippingWeight = $shippingWeight;
+ }
+
+ public function getShippingWeight()
+ {
+ return $this->shippingWeight;
+ }
+
+ public function setSizes($sizes)
+ {
+ $this->sizes = $sizes;
+ }
+
+ public function getSizes()
+ {
+ return $this->sizes;
+ }
+
+ public function setTargetCountry($targetCountry)
+ {
+ $this->targetCountry = $targetCountry;
+ }
+
+ public function getTargetCountry()
+ {
+ return $this->targetCountry;
+ }
+
+ public function setTax(Google_Service_Content_ProductTax $tax)
+ {
+ $this->tax = $tax;
+ }
+
+ public function getTax()
+ {
+ return $this->tax;
+ }
+
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+
+ public function getTitle()
+ {
+ return $this->title;
+ }
+
+ public function setUnitPricingBaseMeasure($unitPricingBaseMeasure)
+ {
+ $this->unitPricingBaseMeasure = $unitPricingBaseMeasure;
+ }
+
+ public function getUnitPricingBaseMeasure()
+ {
+ return $this->unitPricingBaseMeasure;
+ }
+
+ public function setUnitPricingMeasure($unitPricingMeasure)
+ {
+ $this->unitPricingMeasure = $unitPricingMeasure;
+ }
+
+ public function getUnitPricingMeasure()
+ {
+ return $this->unitPricingMeasure;
+ }
+
+ public function setValidatedDestinations($validatedDestinations)
+ {
+ $this->validatedDestinations = $validatedDestinations;
+ }
+
+ public function getValidatedDestinations()
+ {
+ return $this->validatedDestinations;
+ }
+
+ public function setWarnings($warnings)
+ {
+ $this->warnings = $warnings;
+ }
+
+ public function getWarnings()
+ {
+ return $this->warnings;
+ }
+}
+
+class Google_Service_Content_ProductCustomAttribute extends Google_Model
+{
+ public $name;
+ public $type;
+ public $unit;
+ public $value;
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+
+ public function setUnit($unit)
+ {
+ $this->unit = $unit;
+ }
+
+ public function getUnit()
+ {
+ return $this->unit;
+ }
+
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Google_Service_Content_ProductCustomGroup extends Google_Collection
+{
+ protected $attributesType = 'Google_Service_Content_ProductCustomAttribute';
+ protected $attributesDataType = 'array';
+ public $name;
+
+ public function setAttributes($attributes)
+ {
+ $this->attributes = $attributes;
+ }
+
+ public function getAttributes()
+ {
+ return $this->attributes;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Google_Service_Content_ProductDestination extends Google_Model
+{
+ public $destinationName;
+ public $intention;
+
+ public function setDestinationName($destinationName)
+ {
+ $this->destinationName = $destinationName;
+ }
+
+ public function getDestinationName()
+ {
+ return $this->destinationName;
+ }
+
+ public function setIntention($intention)
+ {
+ $this->intention = $intention;
+ }
+
+ public function getIntention()
+ {
+ return $this->intention;
+ }
+}
+
+class Google_Service_Content_ProductInstallment extends Google_Model
+{
+ protected $amountType = 'Google_Service_Content_Price';
+ protected $amountDataType = '';
+ public $months;
+
+ public function setAmount(Google_Service_Content_Price $amount)
+ {
+ $this->amount = $amount;
+ }
+
+ public function getAmount()
+ {
+ return $this->amount;
+ }
+
+ public function setMonths($months)
+ {
+ $this->months = $months;
+ }
+
+ public function getMonths()
+ {
+ return $this->months;
+ }
+}
+
+class Google_Service_Content_ProductShipping extends Google_Model
+{
+ public $country;
+ protected $priceType = 'Google_Service_Content_Price';
+ protected $priceDataType = '';
+ public $region;
+ public $service;
+
+ public function setCountry($country)
+ {
+ $this->country = $country;
+ }
+
+ public function getCountry()
+ {
+ return $this->country;
+ }
+
+ public function setPrice(Google_Service_Content_Price $price)
+ {
+ $this->price = $price;
+ }
+
+ public function getPrice()
+ {
+ return $this->price;
+ }
+
+ public function setRegion($region)
+ {
+ $this->region = $region;
+ }
+
+ public function getRegion()
+ {
+ return $this->region;
+ }
+
+ public function setService($service)
+ {
+ $this->service = $service;
+ }
+
+ public function getService()
+ {
+ return $this->service;
+ }
+}
+
+class Google_Service_Content_ProductShippingWeight extends Google_Model
+{
+ public $unit;
+ public $value;
+
+ public function setUnit($unit)
+ {
+ $this->unit = $unit;
+ }
+
+ public function getUnit()
+ {
+ return $this->unit;
+ }
+
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Google_Service_Content_ProductStatus extends Google_Collection
+{
+ protected $dataQualityIssuesType = 'Google_Service_Content_ProductStatusDataQualityIssue';
+ protected $dataQualityIssuesDataType = 'array';
+ protected $destinationStatusesType = 'Google_Service_Content_ProductStatusDestinationStatus';
+ protected $destinationStatusesDataType = 'array';
+ public $kind;
+ public $link;
+ public $productId;
+ public $title;
+
+ public function setDataQualityIssues($dataQualityIssues)
+ {
+ $this->dataQualityIssues = $dataQualityIssues;
+ }
+
+ public function getDataQualityIssues()
+ {
+ return $this->dataQualityIssues;
+ }
+
+ public function setDestinationStatuses($destinationStatuses)
+ {
+ $this->destinationStatuses = $destinationStatuses;
+ }
+
+ public function getDestinationStatuses()
+ {
+ return $this->destinationStatuses;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setLink($link)
+ {
+ $this->link = $link;
+ }
+
+ public function getLink()
+ {
+ return $this->link;
+ }
+
+ public function setProductId($productId)
+ {
+ $this->productId = $productId;
+ }
+
+ public function getProductId()
+ {
+ return $this->productId;
+ }
+
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
+
+class Google_Service_Content_ProductStatusDataQualityIssue extends Google_Model
+{
+ public $detail;
+ public $fetchStatus;
+ public $id;
+ public $location;
+ public $timestamp;
+ public $valueOnLandingPage;
+ public $valueProvided;
+
+ public function setDetail($detail)
+ {
+ $this->detail = $detail;
+ }
+
+ public function getDetail()
+ {
+ return $this->detail;
+ }
+
+ public function setFetchStatus($fetchStatus)
+ {
+ $this->fetchStatus = $fetchStatus;
+ }
+
+ public function getFetchStatus()
+ {
+ return $this->fetchStatus;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setLocation($location)
+ {
+ $this->location = $location;
+ }
+
+ public function getLocation()
+ {
+ return $this->location;
+ }
+
+ public function setTimestamp($timestamp)
+ {
+ $this->timestamp = $timestamp;
+ }
+
+ public function getTimestamp()
+ {
+ return $this->timestamp;
+ }
+
+ public function setValueOnLandingPage($valueOnLandingPage)
+ {
+ $this->valueOnLandingPage = $valueOnLandingPage;
+ }
+
+ public function getValueOnLandingPage()
+ {
+ return $this->valueOnLandingPage;
+ }
+
+ public function setValueProvided($valueProvided)
+ {
+ $this->valueProvided = $valueProvided;
+ }
+
+ public function getValueProvided()
+ {
+ return $this->valueProvided;
+ }
+}
+
+class Google_Service_Content_ProductStatusDestinationStatus extends Google_Model
+{
+ public $approvalStatus;
+ public $destination;
+ public $intention;
+
+ public function setApprovalStatus($approvalStatus)
+ {
+ $this->approvalStatus = $approvalStatus;
+ }
+
+ public function getApprovalStatus()
+ {
+ return $this->approvalStatus;
+ }
+
+ public function setDestination($destination)
+ {
+ $this->destination = $destination;
+ }
+
+ public function getDestination()
+ {
+ return $this->destination;
+ }
+
+ public function setIntention($intention)
+ {
+ $this->intention = $intention;
+ }
+
+ public function getIntention()
+ {
+ return $this->intention;
+ }
+}
+
+class Google_Service_Content_ProductTax extends Google_Model
+{
+ public $country;
+ public $rate;
+ public $region;
+ public $taxShip;
+
+ public function setCountry($country)
+ {
+ $this->country = $country;
+ }
+
+ public function getCountry()
+ {
+ return $this->country;
+ }
+
+ public function setRate($rate)
+ {
+ $this->rate = $rate;
+ }
+
+ public function getRate()
+ {
+ return $this->rate;
+ }
+
+ public function setRegion($region)
+ {
+ $this->region = $region;
+ }
+
+ public function getRegion()
+ {
+ return $this->region;
+ }
+
+ public function setTaxShip($taxShip)
+ {
+ $this->taxShip = $taxShip;
+ }
+
+ public function getTaxShip()
+ {
+ return $this->taxShip;
+ }
+}
+
+class Google_Service_Content_ProductsCustomBatchRequest extends Google_Collection
+{
+ protected $entriesType = 'Google_Service_Content_ProductsCustomBatchRequestEntry';
+ protected $entriesDataType = 'array';
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+}
+
+class Google_Service_Content_ProductsCustomBatchRequestEntry extends Google_Model
+{
+ public $batchId;
+ public $merchantId;
+ public $method;
+ protected $productType = 'Google_Service_Content_Product';
+ protected $productDataType = '';
+ public $productId;
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setMerchantId($merchantId)
+ {
+ $this->merchantId = $merchantId;
+ }
+
+ public function getMerchantId()
+ {
+ return $this->merchantId;
+ }
+
+ public function setMethod($method)
+ {
+ $this->method = $method;
+ }
+
+ public function getMethod()
+ {
+ return $this->method;
+ }
+
+ public function setProduct(Google_Service_Content_Product $product)
+ {
+ $this->product = $product;
+ }
+
+ public function getProduct()
+ {
+ return $this->product;
+ }
+
+ public function setProductId($productId)
+ {
+ $this->productId = $productId;
+ }
+
+ public function getProductId()
+ {
+ return $this->productId;
+ }
+}
+
+class Google_Service_Content_ProductsCustomBatchResponse extends Google_Collection
+{
+ protected $entriesType = 'Google_Service_Content_ProductsCustomBatchResponseEntry';
+ protected $entriesDataType = 'array';
+ public $kind;
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Content_ProductsCustomBatchResponseEntry extends Google_Model
+{
+ public $batchId;
+ protected $errorsType = 'Google_Service_Content_Errors';
+ protected $errorsDataType = '';
+ public $kind;
+ protected $productType = 'Google_Service_Content_Product';
+ protected $productDataType = '';
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setErrors(Google_Service_Content_Errors $errors)
+ {
+ $this->errors = $errors;
+ }
+
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setProduct(Google_Service_Content_Product $product)
+ {
+ $this->product = $product;
+ }
+
+ public function getProduct()
+ {
+ return $this->product;
+ }
+}
+
+class Google_Service_Content_ProductsListResponse extends Google_Collection
+{
+ public $kind;
+ public $nextPageToken;
+ protected $resourcesType = 'Google_Service_Content_Product';
+ protected $resourcesDataType = 'array';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+
+ public function getResources()
+ {
+ return $this->resources;
+ }
+}
+
+class Google_Service_Content_ProductstatusesCustomBatchRequest extends Google_Collection
+{
+ protected $entriesType = 'Google_Service_Content_ProductstatusesCustomBatchRequestEntry';
+ protected $entriesDataType = 'array';
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+}
+
+class Google_Service_Content_ProductstatusesCustomBatchRequestEntry extends Google_Model
+{
+ public $batchId;
+ public $merchantId;
+ public $method;
+ public $productId;
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setMerchantId($merchantId)
+ {
+ $this->merchantId = $merchantId;
+ }
+
+ public function getMerchantId()
+ {
+ return $this->merchantId;
+ }
+
+ public function setMethod($method)
+ {
+ $this->method = $method;
+ }
+
+ public function getMethod()
+ {
+ return $this->method;
+ }
+
+ public function setProductId($productId)
+ {
+ $this->productId = $productId;
+ }
+
+ public function getProductId()
+ {
+ return $this->productId;
+ }
+}
+
+class Google_Service_Content_ProductstatusesCustomBatchResponse extends Google_Collection
+{
+ protected $entriesType = 'Google_Service_Content_ProductstatusesCustomBatchResponseEntry';
+ protected $entriesDataType = 'array';
+ public $kind;
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Content_ProductstatusesCustomBatchResponseEntry extends Google_Model
+{
+ public $batchId;
+ protected $errorsType = 'Google_Service_Content_Errors';
+ protected $errorsDataType = '';
+ public $kind;
+ protected $productStatusType = 'Google_Service_Content_ProductStatus';
+ protected $productStatusDataType = '';
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setErrors(Google_Service_Content_Errors $errors)
+ {
+ $this->errors = $errors;
+ }
+
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setProductStatus(Google_Service_Content_ProductStatus $productStatus)
+ {
+ $this->productStatus = $productStatus;
+ }
+
+ public function getProductStatus()
+ {
+ return $this->productStatus;
+ }
+}
+
+class Google_Service_Content_ProductstatusesListResponse extends Google_Collection
+{
+ public $kind;
+ public $nextPageToken;
+ protected $resourcesType = 'Google_Service_Content_ProductStatus';
+ protected $resourcesDataType = 'array';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+
+ public function getResources()
+ {
+ return $this->resources;
+ }
+}
From 83742556c82f2eeb1de4d63d411fa44e254ab80b Mon Sep 17 00:00:00 2001
From: Silvano Luciani - * Manage product items, inventory, and Merchant Center accounts. + * Manage product items, inventory, and Merchant Center accounts for Google Shopping. *
* *
From acbe372f2ed2a2ac017d8d42e1acb1a524852a28 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
- * The Google Resource Views API provides views of VMs.
+ * The Resource View API allows users to create and manage logical sets of Google Compute Engine instances.
*
* For more information about this service, see the API
- * Documentation
+ * Documentation
*
* $computeService = new Google_Service_Compute(...);
- * $diskTypes = $computeService->diskTypes;
+ * $backendServices = $computeService->backendServices;
*
*/
-class Google_Service_Compute_DiskTypes_Resource extends Google_Service_Resource
+class Google_Service_Compute_BackendServices_Resource extends Google_Service_Resource
{
/**
- * Retrieves the list of disk type resources grouped by scope.
- * (diskTypes.aggregatedList)
+ * Deletes the specified BackendService resource. (backendServices.delete)
*
* @param string $project
* Name of the project scoping this request.
+ * @param string $backendService
+ * Name of the BackendService resource to delete.
* @param array $optParams Optional parameters.
- *
- * @opt_param string filter
- * Optional. Filter expression for filtering listed resources.
- * @opt_param string pageToken
- * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a
- * previous list request.
- * @opt_param string maxResults
- * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
- * 500.
- * @return Google_Service_Compute_DiskTypeAggregatedList
+ * @return Google_Service_Compute_Operation
*/
- public function aggregatedList($project, $optParams = array())
+ public function delete($project, $backendService, $optParams = array())
{
- $params = array('project' => $project);
+ $params = array('project' => $project, 'backendService' => $backendService);
$params = array_merge($params, $optParams);
- return $this->call('aggregatedList', array($params), "Google_Service_Compute_DiskTypeAggregatedList");
+ return $this->call('delete', array($params), "Google_Service_Compute_Operation");
}
/**
- * Returns the specified disk type resource. (diskTypes.get)
+ * Returns the specified BackendService resource. (backendServices.get)
*
* @param string $project
* Name of the project scoping this request.
- * @param string $zone
- * Name of the zone scoping this request.
- * @param string $diskType
- * Name of the disk type resource to return.
+ * @param string $backendService
+ * Name of the BackendService resource to return.
* @param array $optParams Optional parameters.
- * @return Google_Service_Compute_DiskType
+ * @return Google_Service_Compute_BackendService
*/
- public function get($project, $zone, $diskType, $optParams = array())
+ public function get($project, $backendService, $optParams = array())
{
- $params = array('project' => $project, 'zone' => $zone, 'diskType' => $diskType);
+ $params = array('project' => $project, 'backendService' => $backendService);
$params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Compute_DiskType");
+ return $this->call('get', array($params), "Google_Service_Compute_BackendService");
}
/**
- * Retrieves the list of disk type resources available to the specified project.
- * (diskTypes.listDiskTypes)
+ * Gets the most recent health check results for this BackendService.
+ * (backendServices.getHealth)
*
* @param string $project
- * Name of the project scoping this request.
- * @param string $zone
- * Name of the zone scoping this request.
+ *
+ * @param string $backendService
+ * Name of the BackendService resource to which the queried instance belongs.
+ * @param Google_ResourceGroupReference $postBody
* @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_BackendServiceGroupHealth
+ */
+ public function getHealth($project, $backendService, Google_Service_Compute_ResourceGroupReference $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'backendService' => $backendService, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('getHealth', array($params), "Google_Service_Compute_BackendServiceGroupHealth");
+ }
+ /**
+ * Creates a BackendService resource in the specified project using the data
+ * included in the request. (backendServices.insert)
*
- * @opt_param string filter
- * Optional. Filter expression for filtering listed resources.
- * @opt_param string pageToken
- * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a
- * previous list request.
- * @opt_param string maxResults
- * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
- * 500.
- * @return Google_Service_Compute_DiskTypeList
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param Google_BackendService $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
*/
- public function listDiskTypes($project, $zone, $optParams = array())
+ public function insert($project, Google_Service_Compute_BackendService $postBody, $optParams = array())
{
- $params = array('project' => $project, 'zone' => $zone);
+ $params = array('project' => $project, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Compute_DiskTypeList");
+ return $this->call('insert', array($params), "Google_Service_Compute_Operation");
}
-}
-
-/**
- * The "disks" collection of methods.
- * Typical usage is:
- *
- * $computeService = new Google_Service_Compute(...);
- * $disks = $computeService->disks;
- *
- */
-class Google_Service_Compute_Disks_Resource extends Google_Service_Resource
-{
-
/**
- * Retrieves the list of disks grouped by scope. (disks.aggregatedList)
+ * Retrieves the list of BackendService resources available to the specified
+ * project. (backendServices.listBackendServices)
*
* @param string $project
* Name of the project scoping this request.
@@ -2412,13 +2883,166 @@ class Google_Service_Compute_Disks_Resource extends Google_Service_Resource
* @opt_param string maxResults
* Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
* 500.
- * @return Google_Service_Compute_DiskAggregatedList
+ * @return Google_Service_Compute_BackendServiceList
*/
- public function aggregatedList($project, $optParams = array())
+ public function listBackendServices($project, $optParams = array())
{
$params = array('project' => $project);
$params = array_merge($params, $optParams);
- return $this->call('aggregatedList', array($params), "Google_Service_Compute_DiskAggregatedList");
+ return $this->call('list', array($params), "Google_Service_Compute_BackendServiceList");
+ }
+ /**
+ * Update the entire content of the BackendService resource. This method
+ * supports patch semantics. (backendServices.patch)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param string $backendService
+ * Name of the BackendService resource to update.
+ * @param Google_BackendService $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function patch($project, $backendService, Google_Service_Compute_BackendService $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'backendService' => $backendService, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Update the entire content of the BackendService resource.
+ * (backendServices.update)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param string $backendService
+ * Name of the BackendService resource to update.
+ * @param Google_BackendService $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function update($project, $backendService, Google_Service_Compute_BackendService $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'backendService' => $backendService, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Compute_Operation");
+ }
+}
+
+/**
+ * The "diskTypes" collection of methods.
+ * Typical usage is:
+ *
+ * $computeService = new Google_Service_Compute(...);
+ * $diskTypes = $computeService->diskTypes;
+ *
+ */
+class Google_Service_Compute_DiskTypes_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Retrieves the list of disk type resources grouped by scope.
+ * (diskTypes.aggregatedList)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter
+ * Optional. Filter expression for filtering listed resources.
+ * @opt_param string pageToken
+ * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a
+ * previous list request.
+ * @opt_param string maxResults
+ * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
+ * 500.
+ * @return Google_Service_Compute_DiskTypeAggregatedList
+ */
+ public function aggregatedList($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('aggregatedList', array($params), "Google_Service_Compute_DiskTypeAggregatedList");
+ }
+ /**
+ * Returns the specified disk type resource. (diskTypes.get)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param string $zone
+ * Name of the zone scoping this request.
+ * @param string $diskType
+ * Name of the disk type resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_DiskType
+ */
+ public function get($project, $zone, $diskType, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'diskType' => $diskType);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Compute_DiskType");
+ }
+ /**
+ * Retrieves the list of disk type resources available to the specified project.
+ * (diskTypes.listDiskTypes)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param string $zone
+ * Name of the zone scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter
+ * Optional. Filter expression for filtering listed resources.
+ * @opt_param string pageToken
+ * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a
+ * previous list request.
+ * @opt_param string maxResults
+ * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
+ * 500.
+ * @return Google_Service_Compute_DiskTypeList
+ */
+ public function listDiskTypes($project, $zone, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Compute_DiskTypeList");
+ }
+}
+
+/**
+ * The "disks" collection of methods.
+ * Typical usage is:
+ *
+ * $computeService = new Google_Service_Compute(...);
+ * $disks = $computeService->disks;
+ *
+ */
+class Google_Service_Compute_Disks_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Retrieves the list of disks grouped by scope. (disks.aggregatedList)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter
+ * Optional. Filter expression for filtering listed resources.
+ * @opt_param string pageToken
+ * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a
+ * previous list request.
+ * @opt_param string maxResults
+ * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
+ * 500.
+ * @return Google_Service_Compute_DiskAggregatedList
+ */
+ public function aggregatedList($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('aggregatedList', array($params), "Google_Service_Compute_DiskAggregatedList");
}
/**
* (disks.createSnapshot)
@@ -2782,74 +3406,67 @@ public function setTarget($project, $region, $forwardingRule, Google_Service_Com
}
/**
- * The "globalOperations" collection of methods.
+ * The "globalAddresses" collection of methods.
* Typical usage is:
*
* $computeService = new Google_Service_Compute(...);
- * $globalOperations = $computeService->globalOperations;
+ * $globalAddresses = $computeService->globalAddresses;
*
*/
-class Google_Service_Compute_GlobalOperations_Resource extends Google_Service_Resource
+class Google_Service_Compute_GlobalAddresses_Resource extends Google_Service_Resource
{
/**
- * Retrieves the list of all operations grouped by scope.
- * (globalOperations.aggregatedList)
+ * Deletes the specified address resource. (globalAddresses.delete)
*
* @param string $project
* Name of the project scoping this request.
+ * @param string $address
+ * Name of the address resource to delete.
* @param array $optParams Optional parameters.
- *
- * @opt_param string filter
- * Optional. Filter expression for filtering listed resources.
- * @opt_param string pageToken
- * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a
- * previous list request.
- * @opt_param string maxResults
- * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
- * 500.
- * @return Google_Service_Compute_OperationAggregatedList
+ * @return Google_Service_Compute_Operation
*/
- public function aggregatedList($project, $optParams = array())
+ public function delete($project, $address, $optParams = array())
{
- $params = array('project' => $project);
+ $params = array('project' => $project, 'address' => $address);
$params = array_merge($params, $optParams);
- return $this->call('aggregatedList', array($params), "Google_Service_Compute_OperationAggregatedList");
+ return $this->call('delete', array($params), "Google_Service_Compute_Operation");
}
/**
- * Deletes the specified operation resource. (globalOperations.delete)
+ * Returns the specified address resource. (globalAddresses.get)
*
* @param string $project
* Name of the project scoping this request.
- * @param string $operation
- * Name of the operation resource to delete.
+ * @param string $address
+ * Name of the address resource to return.
* @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Address
*/
- public function delete($project, $operation, $optParams = array())
+ public function get($project, $address, $optParams = array())
{
- $params = array('project' => $project, 'operation' => $operation);
+ $params = array('project' => $project, 'address' => $address);
$params = array_merge($params, $optParams);
- return $this->call('delete', array($params));
+ return $this->call('get', array($params), "Google_Service_Compute_Address");
}
/**
- * Retrieves the specified operation resource. (globalOperations.get)
+ * Creates an address resource in the specified project using the data included
+ * in the request. (globalAddresses.insert)
*
* @param string $project
* Name of the project scoping this request.
- * @param string $operation
- * Name of the operation resource to return.
+ * @param Google_Address $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Compute_Operation
*/
- public function get($project, $operation, $optParams = array())
+ public function insert($project, Google_Service_Compute_Address $postBody, $optParams = array())
{
- $params = array('project' => $project, 'operation' => $operation);
+ $params = array('project' => $project, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Compute_Operation");
+ return $this->call('insert', array($params), "Google_Service_Compute_Operation");
}
/**
- * Retrieves the list of operation resources contained within the specified
- * project. (globalOperations.listGlobalOperations)
+ * Retrieves the list of global address resources.
+ * (globalAddresses.listGlobalAddresses)
*
* @param string $project
* Name of the project scoping this request.
@@ -2863,78 +3480,78 @@ public function get($project, $operation, $optParams = array())
* @opt_param string maxResults
* Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
* 500.
- * @return Google_Service_Compute_OperationList
+ * @return Google_Service_Compute_AddressList
*/
- public function listGlobalOperations($project, $optParams = array())
+ public function listGlobalAddresses($project, $optParams = array())
{
$params = array('project' => $project);
$params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Compute_OperationList");
+ return $this->call('list', array($params), "Google_Service_Compute_AddressList");
}
}
/**
- * The "httpHealthChecks" collection of methods.
+ * The "globalForwardingRules" collection of methods.
* Typical usage is:
*
* $computeService = new Google_Service_Compute(...);
- * $httpHealthChecks = $computeService->httpHealthChecks;
+ * $globalForwardingRules = $computeService->globalForwardingRules;
*
*/
-class Google_Service_Compute_HttpHealthChecks_Resource extends Google_Service_Resource
+class Google_Service_Compute_GlobalForwardingRules_Resource extends Google_Service_Resource
{
/**
- * Deletes the specified HttpHealthCheck resource. (httpHealthChecks.delete)
+ * Deletes the specified ForwardingRule resource. (globalForwardingRules.delete)
*
* @param string $project
* Name of the project scoping this request.
- * @param string $httpHealthCheck
- * Name of the HttpHealthCheck resource to delete.
+ * @param string $forwardingRule
+ * Name of the ForwardingRule resource to delete.
* @param array $optParams Optional parameters.
* @return Google_Service_Compute_Operation
*/
- public function delete($project, $httpHealthCheck, $optParams = array())
+ public function delete($project, $forwardingRule, $optParams = array())
{
- $params = array('project' => $project, 'httpHealthCheck' => $httpHealthCheck);
+ $params = array('project' => $project, 'forwardingRule' => $forwardingRule);
$params = array_merge($params, $optParams);
return $this->call('delete', array($params), "Google_Service_Compute_Operation");
}
/**
- * Returns the specified HttpHealthCheck resource. (httpHealthChecks.get)
+ * Returns the specified ForwardingRule resource. (globalForwardingRules.get)
*
* @param string $project
* Name of the project scoping this request.
- * @param string $httpHealthCheck
- * Name of the HttpHealthCheck resource to return.
+ * @param string $forwardingRule
+ * Name of the ForwardingRule resource to return.
* @param array $optParams Optional parameters.
- * @return Google_Service_Compute_HttpHealthCheck
+ * @return Google_Service_Compute_ForwardingRule
*/
- public function get($project, $httpHealthCheck, $optParams = array())
+ public function get($project, $forwardingRule, $optParams = array())
{
- $params = array('project' => $project, 'httpHealthCheck' => $httpHealthCheck);
+ $params = array('project' => $project, 'forwardingRule' => $forwardingRule);
$params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Compute_HttpHealthCheck");
+ return $this->call('get', array($params), "Google_Service_Compute_ForwardingRule");
}
/**
- * Creates a HttpHealthCheck resource in the specified project using the data
- * included in the request. (httpHealthChecks.insert)
+ * Creates a ForwardingRule resource in the specified project and region using
+ * the data included in the request. (globalForwardingRules.insert)
*
* @param string $project
* Name of the project scoping this request.
- * @param Google_HttpHealthCheck $postBody
+ * @param Google_ForwardingRule $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Compute_Operation
*/
- public function insert($project, Google_Service_Compute_HttpHealthCheck $postBody, $optParams = array())
+ public function insert($project, Google_Service_Compute_ForwardingRule $postBody, $optParams = array())
{
$params = array('project' => $project, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('insert', array($params), "Google_Service_Compute_Operation");
}
/**
- * Retrieves the list of HttpHealthCheck resources available to the specified
- * project. (httpHealthChecks.listHttpHealthChecks)
+ * Retrieves the list of ForwardingRule resources available to the specified
+ * project. (globalForwardingRules.listGlobalForwardingRules)
*
* @param string $project
* Name of the project scoping this request.
@@ -2948,55 +3565,249 @@ public function insert($project, Google_Service_Compute_HttpHealthCheck $postBod
* @opt_param string maxResults
* Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
* 500.
- * @return Google_Service_Compute_HttpHealthCheckList
+ * @return Google_Service_Compute_ForwardingRuleList
*/
- public function listHttpHealthChecks($project, $optParams = array())
+ public function listGlobalForwardingRules($project, $optParams = array())
{
$params = array('project' => $project);
$params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Compute_HttpHealthCheckList");
- }
- /**
- * Updates a HttpHealthCheck resource in the specified project using the data
- * included in the request. This method supports patch semantics.
- * (httpHealthChecks.patch)
- *
- * @param string $project
- * Name of the project scoping this request.
- * @param string $httpHealthCheck
- * Name of the HttpHealthCheck resource to update.
- * @param Google_HttpHealthCheck $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Compute_Operation
- */
- public function patch($project, $httpHealthCheck, Google_Service_Compute_HttpHealthCheck $postBody, $optParams = array())
- {
- $params = array('project' => $project, 'httpHealthCheck' => $httpHealthCheck, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('patch', array($params), "Google_Service_Compute_Operation");
+ return $this->call('list', array($params), "Google_Service_Compute_ForwardingRuleList");
}
/**
- * Updates a HttpHealthCheck resource in the specified project using the data
- * included in the request. (httpHealthChecks.update)
+ * Changes target url for forwarding rule. (globalForwardingRules.setTarget)
*
* @param string $project
* Name of the project scoping this request.
- * @param string $httpHealthCheck
- * Name of the HttpHealthCheck resource to update.
- * @param Google_HttpHealthCheck $postBody
+ * @param string $forwardingRule
+ * Name of the ForwardingRule resource in which target is to be set.
+ * @param Google_TargetReference $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Compute_Operation
*/
- public function update($project, $httpHealthCheck, Google_Service_Compute_HttpHealthCheck $postBody, $optParams = array())
+ public function setTarget($project, $forwardingRule, Google_Service_Compute_TargetReference $postBody, $optParams = array())
{
- $params = array('project' => $project, 'httpHealthCheck' => $httpHealthCheck, 'postBody' => $postBody);
+ $params = array('project' => $project, 'forwardingRule' => $forwardingRule, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
- return $this->call('update', array($params), "Google_Service_Compute_Operation");
+ return $this->call('setTarget', array($params), "Google_Service_Compute_Operation");
}
}
/**
- * The "images" collection of methods.
+ * The "globalOperations" collection of methods.
+ * Typical usage is:
+ *
+ * $computeService = new Google_Service_Compute(...);
+ * $globalOperations = $computeService->globalOperations;
+ *
+ */
+class Google_Service_Compute_GlobalOperations_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Retrieves the list of all operations grouped by scope.
+ * (globalOperations.aggregatedList)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter
+ * Optional. Filter expression for filtering listed resources.
+ * @opt_param string pageToken
+ * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a
+ * previous list request.
+ * @opt_param string maxResults
+ * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
+ * 500.
+ * @return Google_Service_Compute_OperationAggregatedList
+ */
+ public function aggregatedList($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('aggregatedList', array($params), "Google_Service_Compute_OperationAggregatedList");
+ }
+ /**
+ * Deletes the specified operation resource. (globalOperations.delete)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param string $operation
+ * Name of the operation resource to delete.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($project, $operation, $optParams = array())
+ {
+ $params = array('project' => $project, 'operation' => $operation);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Retrieves the specified operation resource. (globalOperations.get)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param string $operation
+ * Name of the operation resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function get($project, $operation, $optParams = array())
+ {
+ $params = array('project' => $project, 'operation' => $operation);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Retrieves the list of operation resources contained within the specified
+ * project. (globalOperations.listGlobalOperations)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter
+ * Optional. Filter expression for filtering listed resources.
+ * @opt_param string pageToken
+ * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a
+ * previous list request.
+ * @opt_param string maxResults
+ * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
+ * 500.
+ * @return Google_Service_Compute_OperationList
+ */
+ public function listGlobalOperations($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Compute_OperationList");
+ }
+}
+
+/**
+ * The "httpHealthChecks" collection of methods.
+ * Typical usage is:
+ *
+ * $computeService = new Google_Service_Compute(...);
+ * $httpHealthChecks = $computeService->httpHealthChecks;
+ *
+ */
+class Google_Service_Compute_HttpHealthChecks_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Deletes the specified HttpHealthCheck resource. (httpHealthChecks.delete)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param string $httpHealthCheck
+ * Name of the HttpHealthCheck resource to delete.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function delete($project, $httpHealthCheck, $optParams = array())
+ {
+ $params = array('project' => $project, 'httpHealthCheck' => $httpHealthCheck);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Returns the specified HttpHealthCheck resource. (httpHealthChecks.get)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param string $httpHealthCheck
+ * Name of the HttpHealthCheck resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_HttpHealthCheck
+ */
+ public function get($project, $httpHealthCheck, $optParams = array())
+ {
+ $params = array('project' => $project, 'httpHealthCheck' => $httpHealthCheck);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Compute_HttpHealthCheck");
+ }
+ /**
+ * Creates a HttpHealthCheck resource in the specified project using the data
+ * included in the request. (httpHealthChecks.insert)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param Google_HttpHealthCheck $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function insert($project, Google_Service_Compute_HttpHealthCheck $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Retrieves the list of HttpHealthCheck resources available to the specified
+ * project. (httpHealthChecks.listHttpHealthChecks)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter
+ * Optional. Filter expression for filtering listed resources.
+ * @opt_param string pageToken
+ * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a
+ * previous list request.
+ * @opt_param string maxResults
+ * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
+ * 500.
+ * @return Google_Service_Compute_HttpHealthCheckList
+ */
+ public function listHttpHealthChecks($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Compute_HttpHealthCheckList");
+ }
+ /**
+ * Updates a HttpHealthCheck resource in the specified project using the data
+ * included in the request. This method supports patch semantics.
+ * (httpHealthChecks.patch)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param string $httpHealthCheck
+ * Name of the HttpHealthCheck resource to update.
+ * @param Google_HttpHealthCheck $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function patch($project, $httpHealthCheck, Google_Service_Compute_HttpHealthCheck $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'httpHealthCheck' => $httpHealthCheck, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Updates a HttpHealthCheck resource in the specified project using the data
+ * included in the request. (httpHealthChecks.update)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param string $httpHealthCheck
+ * Name of the HttpHealthCheck resource to update.
+ * @param Google_HttpHealthCheck $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function update($project, $httpHealthCheck, Google_Service_Compute_HttpHealthCheck $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'httpHealthCheck' => $httpHealthCheck, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Compute_Operation");
+ }
+}
+
+/**
+ * The "images" collection of methods.
* Typical usage is:
*
* $computeService = new Google_Service_Compute(...);
@@ -3925,78 +4736,180 @@ public function listSnapshots($project, $optParams = array())
}
/**
- * The "targetInstances" collection of methods.
+ * The "targetHttpProxies" collection of methods.
* Typical usage is:
*
* $computeService = new Google_Service_Compute(...);
- * $targetInstances = $computeService->targetInstances;
+ * $targetHttpProxies = $computeService->targetHttpProxies;
*
*/
-class Google_Service_Compute_TargetInstances_Resource extends Google_Service_Resource
+class Google_Service_Compute_TargetHttpProxies_Resource extends Google_Service_Resource
{
/**
- * Retrieves the list of target instances grouped by scope.
- * (targetInstances.aggregatedList)
+ * Deletes the specified TargetHttpProxy resource. (targetHttpProxies.delete)
*
* @param string $project
* Name of the project scoping this request.
+ * @param string $targetHttpProxy
+ * Name of the TargetHttpProxy resource to delete.
* @param array $optParams Optional parameters.
- *
- * @opt_param string filter
- * Optional. Filter expression for filtering listed resources.
- * @opt_param string pageToken
- * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a
- * previous list request.
- * @opt_param string maxResults
- * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
- * 500.
- * @return Google_Service_Compute_TargetInstanceAggregatedList
+ * @return Google_Service_Compute_Operation
*/
- public function aggregatedList($project, $optParams = array())
+ public function delete($project, $targetHttpProxy, $optParams = array())
{
- $params = array('project' => $project);
+ $params = array('project' => $project, 'targetHttpProxy' => $targetHttpProxy);
$params = array_merge($params, $optParams);
- return $this->call('aggregatedList', array($params), "Google_Service_Compute_TargetInstanceAggregatedList");
+ return $this->call('delete', array($params), "Google_Service_Compute_Operation");
}
/**
- * Deletes the specified TargetInstance resource. (targetInstances.delete)
+ * Returns the specified TargetHttpProxy resource. (targetHttpProxies.get)
*
* @param string $project
* Name of the project scoping this request.
- * @param string $zone
- * Name of the zone scoping this request.
- * @param string $targetInstance
- * Name of the TargetInstance resource to delete.
+ * @param string $targetHttpProxy
+ * Name of the TargetHttpProxy resource to return.
* @param array $optParams Optional parameters.
- * @return Google_Service_Compute_Operation
+ * @return Google_Service_Compute_TargetHttpProxy
*/
- public function delete($project, $zone, $targetInstance, $optParams = array())
+ public function get($project, $targetHttpProxy, $optParams = array())
{
- $params = array('project' => $project, 'zone' => $zone, 'targetInstance' => $targetInstance);
+ $params = array('project' => $project, 'targetHttpProxy' => $targetHttpProxy);
$params = array_merge($params, $optParams);
- return $this->call('delete', array($params), "Google_Service_Compute_Operation");
+ return $this->call('get', array($params), "Google_Service_Compute_TargetHttpProxy");
}
/**
- * Returns the specified TargetInstance resource. (targetInstances.get)
+ * Creates a TargetHttpProxy resource in the specified project using the data
+ * included in the request. (targetHttpProxies.insert)
*
* @param string $project
* Name of the project scoping this request.
- * @param string $zone
- * Name of the zone scoping this request.
- * @param string $targetInstance
- * Name of the TargetInstance resource to return.
+ * @param Google_TargetHttpProxy $postBody
* @param array $optParams Optional parameters.
- * @return Google_Service_Compute_TargetInstance
+ * @return Google_Service_Compute_Operation
*/
- public function get($project, $zone, $targetInstance, $optParams = array())
+ public function insert($project, Google_Service_Compute_TargetHttpProxy $postBody, $optParams = array())
{
- $params = array('project' => $project, 'zone' => $zone, 'targetInstance' => $targetInstance);
+ $params = array('project' => $project, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Compute_TargetInstance");
+ return $this->call('insert', array($params), "Google_Service_Compute_Operation");
}
/**
- * Creates a TargetInstance resource in the specified project and zone using the
+ * Retrieves the list of TargetHttpProxy resources available to the specified
+ * project. (targetHttpProxies.listTargetHttpProxies)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter
+ * Optional. Filter expression for filtering listed resources.
+ * @opt_param string pageToken
+ * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a
+ * previous list request.
+ * @opt_param string maxResults
+ * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
+ * 500.
+ * @return Google_Service_Compute_TargetHttpProxyList
+ */
+ public function listTargetHttpProxies($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Compute_TargetHttpProxyList");
+ }
+ /**
+ * Changes the URL map for TargetHttpProxy. (targetHttpProxies.setUrlMap)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param string $targetHttpProxy
+ * Name of the TargetHttpProxy resource whose URL map is to be set.
+ * @param Google_UrlMapReference $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function setUrlMap($project, $targetHttpProxy, Google_Service_Compute_UrlMapReference $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'targetHttpProxy' => $targetHttpProxy, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('setUrlMap', array($params), "Google_Service_Compute_Operation");
+ }
+}
+
+/**
+ * The "targetInstances" collection of methods.
+ * Typical usage is:
+ *
+ * $computeService = new Google_Service_Compute(...);
+ * $targetInstances = $computeService->targetInstances;
+ *
+ */
+class Google_Service_Compute_TargetInstances_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Retrieves the list of target instances grouped by scope.
+ * (targetInstances.aggregatedList)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter
+ * Optional. Filter expression for filtering listed resources.
+ * @opt_param string pageToken
+ * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a
+ * previous list request.
+ * @opt_param string maxResults
+ * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
+ * 500.
+ * @return Google_Service_Compute_TargetInstanceAggregatedList
+ */
+ public function aggregatedList($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('aggregatedList', array($params), "Google_Service_Compute_TargetInstanceAggregatedList");
+ }
+ /**
+ * Deletes the specified TargetInstance resource. (targetInstances.delete)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param string $zone
+ * Name of the zone scoping this request.
+ * @param string $targetInstance
+ * Name of the TargetInstance resource to delete.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function delete($project, $zone, $targetInstance, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'targetInstance' => $targetInstance);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Returns the specified TargetInstance resource. (targetInstances.get)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param string $zone
+ * Name of the zone scoping this request.
+ * @param string $targetInstance
+ * Name of the TargetInstance resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_TargetInstance
+ */
+ public function get($project, $zone, $targetInstance, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'targetInstance' => $targetInstance);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Compute_TargetInstance");
+ }
+ /**
+ * Creates a TargetInstance resource in the specified project and zone using the
* data included in the request. (targetInstances.insert)
*
* @param string $project
@@ -4276,6 +5189,145 @@ public function setBackup($project, $region, $targetPool, Google_Service_Compute
}
}
+/**
+ * The "urlMaps" collection of methods.
+ * Typical usage is:
+ *
+ * $computeService = new Google_Service_Compute(...);
+ * $urlMaps = $computeService->urlMaps;
+ *
+ */
+class Google_Service_Compute_UrlMaps_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Deletes the specified UrlMap resource. (urlMaps.delete)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param string $urlMap
+ * Name of the UrlMap resource to delete.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function delete($project, $urlMap, $optParams = array())
+ {
+ $params = array('project' => $project, 'urlMap' => $urlMap);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Returns the specified UrlMap resource. (urlMaps.get)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param string $urlMap
+ * Name of the UrlMap resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_UrlMap
+ */
+ public function get($project, $urlMap, $optParams = array())
+ {
+ $params = array('project' => $project, 'urlMap' => $urlMap);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Compute_UrlMap");
+ }
+ /**
+ * Creates a UrlMap resource in the specified project using the data included in
+ * the request. (urlMaps.insert)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param Google_UrlMap $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function insert($project, Google_Service_Compute_UrlMap $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Retrieves the list of UrlMap resources available to the specified project.
+ * (urlMaps.listUrlMaps)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter
+ * Optional. Filter expression for filtering listed resources.
+ * @opt_param string pageToken
+ * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a
+ * previous list request.
+ * @opt_param string maxResults
+ * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
+ * 500.
+ * @return Google_Service_Compute_UrlMapList
+ */
+ public function listUrlMaps($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Compute_UrlMapList");
+ }
+ /**
+ * Update the entire content of the UrlMap resource. This method supports patch
+ * semantics. (urlMaps.patch)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param string $urlMap
+ * Name of the UrlMap resource to update.
+ * @param Google_UrlMap $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function patch($project, $urlMap, Google_Service_Compute_UrlMap $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'urlMap' => $urlMap, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Update the entire content of the UrlMap resource. (urlMaps.update)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param string $urlMap
+ * Name of the UrlMap resource to update.
+ * @param Google_UrlMap $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function update($project, $urlMap, Google_Service_Compute_UrlMap $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'urlMap' => $urlMap, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Run static validation for the UrlMap. In particular, the tests of the
+ * provided UrlMap will be run. Calling this method does NOT create the UrlMap.
+ * (urlMaps.validate)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param string $urlMap
+ * Name of the UrlMap resource to be validated as.
+ * @param Google_UrlMapsValidateRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_UrlMapsValidateResponse
+ */
+ public function validate($project, $urlMap, Google_Service_Compute_UrlMapsValidateRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'urlMap' => $urlMap, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('validate', array($params), "Google_Service_Compute_UrlMapsValidateResponse");
+ }
+}
+
/**
* The "zoneOperations" collection of methods.
* Typical usage is:
@@ -4934,239 +5986,256 @@ public function getSourceImage()
}
}
-class Google_Service_Compute_DeprecationStatus extends Google_Model
+class Google_Service_Compute_Backend extends Google_Model
{
- public $deleted;
- public $deprecated;
- public $obsolete;
- public $replacement;
- public $state;
+ public $balancingMode;
+ public $capacityScaler;
+ public $description;
+ public $group;
+ public $maxRate;
+ public $maxRatePerInstance;
+ public $maxUtilization;
- public function setDeleted($deleted)
+ public function setBalancingMode($balancingMode)
{
- $this->deleted = $deleted;
+ $this->balancingMode = $balancingMode;
}
- public function getDeleted()
+ public function getBalancingMode()
{
- return $this->deleted;
+ return $this->balancingMode;
}
- public function setDeprecated($deprecated)
+ public function setCapacityScaler($capacityScaler)
{
- $this->deprecated = $deprecated;
+ $this->capacityScaler = $capacityScaler;
}
- public function getDeprecated()
+ public function getCapacityScaler()
{
- return $this->deprecated;
+ return $this->capacityScaler;
}
- public function setObsolete($obsolete)
+ public function setDescription($description)
{
- $this->obsolete = $obsolete;
+ $this->description = $description;
}
- public function getObsolete()
+ public function getDescription()
{
- return $this->obsolete;
+ return $this->description;
}
- public function setReplacement($replacement)
+ public function setGroup($group)
{
- $this->replacement = $replacement;
+ $this->group = $group;
}
- public function getReplacement()
+ public function getGroup()
{
- return $this->replacement;
+ return $this->group;
}
- public function setState($state)
+ public function setMaxRate($maxRate)
{
- $this->state = $state;
+ $this->maxRate = $maxRate;
}
- public function getState()
+ public function getMaxRate()
{
- return $this->state;
+ return $this->maxRate;
+ }
+
+ public function setMaxRatePerInstance($maxRatePerInstance)
+ {
+ $this->maxRatePerInstance = $maxRatePerInstance;
+ }
+
+ public function getMaxRatePerInstance()
+ {
+ return $this->maxRatePerInstance;
+ }
+
+ public function setMaxUtilization($maxUtilization)
+ {
+ $this->maxUtilization = $maxUtilization;
+ }
+
+ public function getMaxUtilization()
+ {
+ return $this->maxUtilization;
}
}
-class Google_Service_Compute_Disk extends Google_Model
+class Google_Service_Compute_BackendService extends Google_Collection
{
+ protected $backendsType = 'Google_Service_Compute_Backend';
+ protected $backendsDataType = 'array';
public $creationTimestamp;
public $description;
+ public $fingerprint;
+ public $healthChecks;
public $id;
public $kind;
public $name;
- public $options;
+ public $port;
+ public $protocol;
public $selfLink;
- public $sizeGb;
- public $sourceImage;
- public $sourceImageId;
- public $sourceSnapshot;
- public $sourceSnapshotId;
- public $status;
- public $type;
- public $zone;
+ public $timeoutSec;
- public function setCreationTimestamp($creationTimestamp)
+ public function setBackends($backends)
{
- $this->creationTimestamp = $creationTimestamp;
+ $this->backends = $backends;
}
- public function getCreationTimestamp()
+ public function getBackends()
{
- return $this->creationTimestamp;
+ return $this->backends;
}
- public function setDescription($description)
- {
- $this->description = $description;
- }
-
- public function getDescription()
+ public function setCreationTimestamp($creationTimestamp)
{
- return $this->description;
+ $this->creationTimestamp = $creationTimestamp;
}
- public function setId($id)
+ public function getCreationTimestamp()
{
- $this->id = $id;
+ return $this->creationTimestamp;
}
- public function getId()
+ public function setDescription($description)
{
- return $this->id;
+ $this->description = $description;
}
- public function setKind($kind)
+ public function getDescription()
{
- $this->kind = $kind;
+ return $this->description;
}
- public function getKind()
+ public function setFingerprint($fingerprint)
{
- return $this->kind;
+ $this->fingerprint = $fingerprint;
}
- public function setName($name)
+ public function getFingerprint()
{
- $this->name = $name;
+ return $this->fingerprint;
}
- public function getName()
+ public function setHealthChecks($healthChecks)
{
- return $this->name;
+ $this->healthChecks = $healthChecks;
}
- public function setOptions($options)
+ public function getHealthChecks()
{
- $this->options = $options;
+ return $this->healthChecks;
}
- public function getOptions()
+ public function setId($id)
{
- return $this->options;
+ $this->id = $id;
}
- public function setSelfLink($selfLink)
+ public function getId()
{
- $this->selfLink = $selfLink;
+ return $this->id;
}
- public function getSelfLink()
+ public function setKind($kind)
{
- return $this->selfLink;
+ $this->kind = $kind;
}
- public function setSizeGb($sizeGb)
+ public function getKind()
{
- $this->sizeGb = $sizeGb;
+ return $this->kind;
}
- public function getSizeGb()
+ public function setName($name)
{
- return $this->sizeGb;
+ $this->name = $name;
}
- public function setSourceImage($sourceImage)
+ public function getName()
{
- $this->sourceImage = $sourceImage;
+ return $this->name;
}
- public function getSourceImage()
+ public function setPort($port)
{
- return $this->sourceImage;
+ $this->port = $port;
}
- public function setSourceImageId($sourceImageId)
+ public function getPort()
{
- $this->sourceImageId = $sourceImageId;
+ return $this->port;
}
- public function getSourceImageId()
+ public function setProtocol($protocol)
{
- return $this->sourceImageId;
+ $this->protocol = $protocol;
}
- public function setSourceSnapshot($sourceSnapshot)
+ public function getProtocol()
{
- $this->sourceSnapshot = $sourceSnapshot;
+ return $this->protocol;
}
- public function getSourceSnapshot()
+ public function setSelfLink($selfLink)
{
- return $this->sourceSnapshot;
+ $this->selfLink = $selfLink;
}
- public function setSourceSnapshotId($sourceSnapshotId)
+ public function getSelfLink()
{
- $this->sourceSnapshotId = $sourceSnapshotId;
+ return $this->selfLink;
}
- public function getSourceSnapshotId()
+ public function setTimeoutSec($timeoutSec)
{
- return $this->sourceSnapshotId;
+ $this->timeoutSec = $timeoutSec;
}
- public function setStatus($status)
+ public function getTimeoutSec()
{
- $this->status = $status;
+ return $this->timeoutSec;
}
+}
- public function getStatus()
- {
- return $this->status;
- }
+class Google_Service_Compute_BackendServiceGroupHealth extends Google_Collection
+{
+ protected $healthStatusType = 'Google_Service_Compute_HealthStatus';
+ protected $healthStatusDataType = 'array';
+ public $kind;
- public function setType($type)
+ public function setHealthStatus($healthStatus)
{
- $this->type = $type;
+ $this->healthStatus = $healthStatus;
}
- public function getType()
+ public function getHealthStatus()
{
- return $this->type;
+ return $this->healthStatus;
}
- public function setZone($zone)
+ public function setKind($kind)
{
- $this->zone = $zone;
+ $this->kind = $kind;
}
- public function getZone()
+ public function getKind()
{
- return $this->zone;
+ return $this->kind;
}
}
-class Google_Service_Compute_DiskAggregatedList extends Google_Model
+class Google_Service_Compute_BackendServiceList extends Google_Collection
{
public $id;
- protected $itemsType = 'Google_Service_Compute_DisksScopedList';
- protected $itemsDataType = 'map';
+ protected $itemsType = 'Google_Service_Compute_BackendService';
+ protected $itemsDataType = 'array';
public $kind;
public $nextPageToken;
public $selfLink;
@@ -5222,77 +6291,81 @@ public function getSelfLink()
}
}
-class Google_Service_Compute_DiskList extends Google_Collection
+class Google_Service_Compute_DeprecationStatus extends Google_Model
{
- public $id;
- protected $itemsType = 'Google_Service_Compute_Disk';
- protected $itemsDataType = 'array';
- public $kind;
- public $nextPageToken;
- public $selfLink;
+ public $deleted;
+ public $deprecated;
+ public $obsolete;
+ public $replacement;
+ public $state;
- public function setId($id)
+ public function setDeleted($deleted)
{
- $this->id = $id;
+ $this->deleted = $deleted;
}
- public function getId()
+ public function getDeleted()
{
- return $this->id;
+ return $this->deleted;
}
- public function setItems($items)
+ public function setDeprecated($deprecated)
{
- $this->items = $items;
+ $this->deprecated = $deprecated;
}
- public function getItems()
+ public function getDeprecated()
{
- return $this->items;
+ return $this->deprecated;
}
- public function setKind($kind)
+ public function setObsolete($obsolete)
{
- $this->kind = $kind;
+ $this->obsolete = $obsolete;
}
- public function getKind()
+ public function getObsolete()
{
- return $this->kind;
+ return $this->obsolete;
}
- public function setNextPageToken($nextPageToken)
+ public function setReplacement($replacement)
{
- $this->nextPageToken = $nextPageToken;
+ $this->replacement = $replacement;
}
- public function getNextPageToken()
+ public function getReplacement()
{
- return $this->nextPageToken;
+ return $this->replacement;
}
- public function setSelfLink($selfLink)
+ public function setState($state)
{
- $this->selfLink = $selfLink;
+ $this->state = $state;
}
- public function getSelfLink()
+ public function getState()
{
- return $this->selfLink;
+ return $this->state;
}
}
-class Google_Service_Compute_DiskType extends Google_Model
+class Google_Service_Compute_Disk extends Google_Model
{
public $creationTimestamp;
- protected $deprecatedType = 'Google_Service_Compute_DeprecationStatus';
- protected $deprecatedDataType = '';
public $description;
public $id;
public $kind;
public $name;
+ public $options;
public $selfLink;
- public $validDiskSize;
+ public $sizeGb;
+ public $sourceImage;
+ public $sourceImageId;
+ public $sourceSnapshot;
+ public $sourceSnapshotId;
+ public $status;
+ public $type;
public $zone;
public function setCreationTimestamp($creationTimestamp)
@@ -5305,16 +6378,6 @@ public function getCreationTimestamp()
return $this->creationTimestamp;
}
- public function setDeprecated(Google_Service_Compute_DeprecationStatus $deprecated)
- {
- $this->deprecated = $deprecated;
- }
-
- public function getDeprecated()
- {
- return $this->deprecated;
- }
-
public function setDescription($description)
{
$this->description = $description;
@@ -5355,6 +6418,16 @@ public function getName()
return $this->name;
}
+ public function setOptions($options)
+ {
+ $this->options = $options;
+ }
+
+ public function getOptions()
+ {
+ return $this->options;
+ }
+
public function setSelfLink($selfLink)
{
$this->selfLink = $selfLink;
@@ -5365,92 +6438,92 @@ public function getSelfLink()
return $this->selfLink;
}
- public function setValidDiskSize($validDiskSize)
+ public function setSizeGb($sizeGb)
{
- $this->validDiskSize = $validDiskSize;
+ $this->sizeGb = $sizeGb;
}
- public function getValidDiskSize()
+ public function getSizeGb()
{
- return $this->validDiskSize;
+ return $this->sizeGb;
}
- public function setZone($zone)
+ public function setSourceImage($sourceImage)
{
- $this->zone = $zone;
+ $this->sourceImage = $sourceImage;
}
- public function getZone()
+ public function getSourceImage()
{
- return $this->zone;
+ return $this->sourceImage;
}
-}
-
-class Google_Service_Compute_DiskTypeAggregatedList extends Google_Model
-{
- public $id;
- protected $itemsType = 'Google_Service_Compute_DiskTypesScopedList';
- protected $itemsDataType = 'map';
- public $kind;
- public $nextPageToken;
- public $selfLink;
- public function setId($id)
+ public function setSourceImageId($sourceImageId)
{
- $this->id = $id;
+ $this->sourceImageId = $sourceImageId;
}
- public function getId()
+ public function getSourceImageId()
{
- return $this->id;
+ return $this->sourceImageId;
}
- public function setItems($items)
+ public function setSourceSnapshot($sourceSnapshot)
{
- $this->items = $items;
+ $this->sourceSnapshot = $sourceSnapshot;
}
- public function getItems()
+ public function getSourceSnapshot()
{
- return $this->items;
+ return $this->sourceSnapshot;
}
- public function setKind($kind)
+ public function setSourceSnapshotId($sourceSnapshotId)
{
- $this->kind = $kind;
+ $this->sourceSnapshotId = $sourceSnapshotId;
}
- public function getKind()
+ public function getSourceSnapshotId()
{
- return $this->kind;
+ return $this->sourceSnapshotId;
}
- public function setNextPageToken($nextPageToken)
+ public function setStatus($status)
{
- $this->nextPageToken = $nextPageToken;
+ $this->status = $status;
}
- public function getNextPageToken()
+ public function getStatus()
{
- return $this->nextPageToken;
+ return $this->status;
}
- public function setSelfLink($selfLink)
+ public function setType($type)
{
- $this->selfLink = $selfLink;
+ $this->type = $type;
}
- public function getSelfLink()
+ public function getType()
{
- return $this->selfLink;
+ return $this->type;
+ }
+
+ public function setZone($zone)
+ {
+ $this->zone = $zone;
+ }
+
+ public function getZone()
+ {
+ return $this->zone;
}
}
-class Google_Service_Compute_DiskTypeList extends Google_Collection
+class Google_Service_Compute_DiskAggregatedList extends Google_Model
{
public $id;
- protected $itemsType = 'Google_Service_Compute_DiskType';
- protected $itemsDataType = 'array';
+ protected $itemsType = 'Google_Service_Compute_DisksScopedList';
+ protected $itemsDataType = 'map';
public $kind;
public $nextPageToken;
public $selfLink;
@@ -5506,258 +6579,542 @@ public function getSelfLink()
}
}
-class Google_Service_Compute_DiskTypesScopedList extends Google_Collection
+class Google_Service_Compute_DiskList extends Google_Collection
{
- protected $diskTypesType = 'Google_Service_Compute_DiskType';
- protected $diskTypesDataType = 'array';
- protected $warningType = 'Google_Service_Compute_DiskTypesScopedListWarning';
- protected $warningDataType = '';
+ public $id;
+ protected $itemsType = 'Google_Service_Compute_Disk';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
- public function setDiskTypes($diskTypes)
+ public function setId($id)
{
- $this->diskTypes = $diskTypes;
+ $this->id = $id;
}
- public function getDiskTypes()
+ public function getId()
{
- return $this->diskTypes;
+ return $this->id;
}
- public function setWarning(Google_Service_Compute_DiskTypesScopedListWarning $warning)
+ public function setItems($items)
{
- $this->warning = $warning;
+ $this->items = $items;
}
- public function getWarning()
+ public function getItems()
{
- return $this->warning;
+ return $this->items;
}
-}
-
-class Google_Service_Compute_DiskTypesScopedListWarning extends Google_Collection
-{
- public $code;
- protected $dataType = 'Google_Service_Compute_DiskTypesScopedListWarningData';
- protected $dataDataType = 'array';
- public $message;
- public function setCode($code)
+ public function setKind($kind)
{
- $this->code = $code;
+ $this->kind = $kind;
}
- public function getCode()
+ public function getKind()
{
- return $this->code;
+ return $this->kind;
}
- public function setData($data)
+ public function setNextPageToken($nextPageToken)
{
- $this->data = $data;
+ $this->nextPageToken = $nextPageToken;
}
- public function getData()
+ public function getNextPageToken()
{
- return $this->data;
+ return $this->nextPageToken;
}
- public function setMessage($message)
+ public function setSelfLink($selfLink)
{
- $this->message = $message;
+ $this->selfLink = $selfLink;
}
- public function getMessage()
+ public function getSelfLink()
{
- return $this->message;
+ return $this->selfLink;
}
}
-class Google_Service_Compute_DiskTypesScopedListWarningData extends Google_Model
+class Google_Service_Compute_DiskType extends Google_Model
{
- public $key;
- public $value;
+ public $creationTimestamp;
+ protected $deprecatedType = 'Google_Service_Compute_DeprecationStatus';
+ protected $deprecatedDataType = '';
+ public $description;
+ public $id;
+ public $kind;
+ public $name;
+ public $selfLink;
+ public $validDiskSize;
+ public $zone;
- public function setKey($key)
+ public function setCreationTimestamp($creationTimestamp)
{
- $this->key = $key;
+ $this->creationTimestamp = $creationTimestamp;
}
- public function getKey()
+ public function getCreationTimestamp()
{
- return $this->key;
+ return $this->creationTimestamp;
}
- public function setValue($value)
+ public function setDeprecated(Google_Service_Compute_DeprecationStatus $deprecated)
{
- $this->value = $value;
+ $this->deprecated = $deprecated;
}
- public function getValue()
+ public function getDeprecated()
{
- return $this->value;
+ return $this->deprecated;
}
-}
-
-class Google_Service_Compute_DisksScopedList extends Google_Collection
-{
- protected $disksType = 'Google_Service_Compute_Disk';
- protected $disksDataType = 'array';
- protected $warningType = 'Google_Service_Compute_DisksScopedListWarning';
- protected $warningDataType = '';
- public function setDisks($disks)
+ public function setDescription($description)
{
- $this->disks = $disks;
+ $this->description = $description;
}
- public function getDisks()
+ public function getDescription()
{
- return $this->disks;
+ return $this->description;
}
- public function setWarning(Google_Service_Compute_DisksScopedListWarning $warning)
+ public function setId($id)
{
- $this->warning = $warning;
+ $this->id = $id;
}
- public function getWarning()
+ public function getId()
{
- return $this->warning;
+ return $this->id;
}
-}
-
-class Google_Service_Compute_DisksScopedListWarning extends Google_Collection
-{
- public $code;
- protected $dataType = 'Google_Service_Compute_DisksScopedListWarningData';
- protected $dataDataType = 'array';
- public $message;
- public function setCode($code)
+ public function setKind($kind)
{
- $this->code = $code;
+ $this->kind = $kind;
}
- public function getCode()
+ public function getKind()
{
- return $this->code;
+ return $this->kind;
}
- public function setData($data)
+ public function setName($name)
{
- $this->data = $data;
+ $this->name = $name;
}
- public function getData()
+ public function getName()
{
- return $this->data;
+ return $this->name;
}
- public function setMessage($message)
+ public function setSelfLink($selfLink)
{
- $this->message = $message;
+ $this->selfLink = $selfLink;
}
- public function getMessage()
+ public function getSelfLink()
{
- return $this->message;
+ return $this->selfLink;
}
-}
-
-class Google_Service_Compute_DisksScopedListWarningData extends Google_Model
-{
- public $key;
- public $value;
- public function setKey($key)
+ public function setValidDiskSize($validDiskSize)
{
- $this->key = $key;
+ $this->validDiskSize = $validDiskSize;
}
- public function getKey()
+ public function getValidDiskSize()
{
- return $this->key;
+ return $this->validDiskSize;
}
- public function setValue($value)
+ public function setZone($zone)
{
- $this->value = $value;
+ $this->zone = $zone;
}
- public function getValue()
+ public function getZone()
{
- return $this->value;
+ return $this->zone;
}
}
-class Google_Service_Compute_Firewall extends Google_Collection
+class Google_Service_Compute_DiskTypeAggregatedList extends Google_Model
{
- protected $allowedType = 'Google_Service_Compute_FirewallAllowed';
- protected $allowedDataType = 'array';
- public $creationTimestamp;
- public $description;
public $id;
+ protected $itemsType = 'Google_Service_Compute_DiskTypesScopedList';
+ protected $itemsDataType = 'map';
public $kind;
- public $name;
- public $network;
+ public $nextPageToken;
public $selfLink;
- public $sourceRanges;
- public $sourceTags;
- public $targetTags;
- public function setAllowed($allowed)
+ public function setId($id)
{
- $this->allowed = $allowed;
+ $this->id = $id;
}
- public function getAllowed()
+ public function getId()
{
- return $this->allowed;
+ return $this->id;
}
- public function setCreationTimestamp($creationTimestamp)
+ public function setItems($items)
{
- $this->creationTimestamp = $creationTimestamp;
+ $this->items = $items;
}
- public function getCreationTimestamp()
+ public function getItems()
{
- return $this->creationTimestamp;
+ return $this->items;
}
- public function setDescription($description)
+ public function setKind($kind)
{
- $this->description = $description;
+ $this->kind = $kind;
}
- public function getDescription()
+ public function getKind()
{
- return $this->description;
+ return $this->kind;
}
- public function setId($id)
+ public function setNextPageToken($nextPageToken)
{
- $this->id = $id;
+ $this->nextPageToken = $nextPageToken;
}
- public function getId()
+ public function getNextPageToken()
{
- return $this->id;
+ return $this->nextPageToken;
}
- public function setKind($kind)
+ public function setSelfLink($selfLink)
{
- $this->kind = $kind;
+ $this->selfLink = $selfLink;
}
- public function getKind()
+ public function getSelfLink()
{
- return $this->kind;
+ return $this->selfLink;
}
+}
- public function setName($name)
- {
- $this->name = $name;
+class Google_Service_Compute_DiskTypeList extends Google_Collection
+{
+ public $id;
+ protected $itemsType = 'Google_Service_Compute_DiskType';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Google_Service_Compute_DiskTypesScopedList extends Google_Collection
+{
+ protected $diskTypesType = 'Google_Service_Compute_DiskType';
+ protected $diskTypesDataType = 'array';
+ protected $warningType = 'Google_Service_Compute_DiskTypesScopedListWarning';
+ protected $warningDataType = '';
+
+ public function setDiskTypes($diskTypes)
+ {
+ $this->diskTypes = $diskTypes;
+ }
+
+ public function getDiskTypes()
+ {
+ return $this->diskTypes;
+ }
+
+ public function setWarning(Google_Service_Compute_DiskTypesScopedListWarning $warning)
+ {
+ $this->warning = $warning;
+ }
+
+ public function getWarning()
+ {
+ return $this->warning;
+ }
+}
+
+class Google_Service_Compute_DiskTypesScopedListWarning extends Google_Collection
+{
+ public $code;
+ protected $dataType = 'Google_Service_Compute_DiskTypesScopedListWarningData';
+ protected $dataDataType = 'array';
+ public $message;
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+
+ public function getCode()
+ {
+ return $this->code;
+ }
+
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+
+ public function getData()
+ {
+ return $this->data;
+ }
+
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Google_Service_Compute_DiskTypesScopedListWarningData extends Google_Model
+{
+ public $key;
+ public $value;
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+
+ public function getKey()
+ {
+ return $this->key;
+ }
+
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Google_Service_Compute_DisksScopedList extends Google_Collection
+{
+ protected $disksType = 'Google_Service_Compute_Disk';
+ protected $disksDataType = 'array';
+ protected $warningType = 'Google_Service_Compute_DisksScopedListWarning';
+ protected $warningDataType = '';
+
+ public function setDisks($disks)
+ {
+ $this->disks = $disks;
+ }
+
+ public function getDisks()
+ {
+ return $this->disks;
+ }
+
+ public function setWarning(Google_Service_Compute_DisksScopedListWarning $warning)
+ {
+ $this->warning = $warning;
+ }
+
+ public function getWarning()
+ {
+ return $this->warning;
+ }
+}
+
+class Google_Service_Compute_DisksScopedListWarning extends Google_Collection
+{
+ public $code;
+ protected $dataType = 'Google_Service_Compute_DisksScopedListWarningData';
+ protected $dataDataType = 'array';
+ public $message;
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+
+ public function getCode()
+ {
+ return $this->code;
+ }
+
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+
+ public function getData()
+ {
+ return $this->data;
+ }
+
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Google_Service_Compute_DisksScopedListWarningData extends Google_Model
+{
+ public $key;
+ public $value;
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+
+ public function getKey()
+ {
+ return $this->key;
+ }
+
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Google_Service_Compute_Firewall extends Google_Collection
+{
+ protected $allowedType = 'Google_Service_Compute_FirewallAllowed';
+ protected $allowedDataType = 'array';
+ public $creationTimestamp;
+ public $description;
+ public $id;
+ public $kind;
+ public $name;
+ public $network;
+ public $selfLink;
+ public $sourceRanges;
+ public $sourceTags;
+ public $targetTags;
+
+ public function setAllowed($allowed)
+ {
+ $this->allowed = $allowed;
+ }
+
+ public function getAllowed()
+ {
+ return $this->allowed;
+ }
+
+ public function setCreationTimestamp($creationTimestamp)
+ {
+ $this->creationTimestamp = $creationTimestamp;
+ }
+
+ public function getCreationTimestamp()
+ {
+ return $this->creationTimestamp;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
}
public function getName()
@@ -6291,6 +7648,43 @@ public function getIpAddress()
}
}
+class Google_Service_Compute_HostRule extends Google_Collection
+{
+ public $description;
+ public $hosts;
+ public $pathMatcher;
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setHosts($hosts)
+ {
+ $this->hosts = $hosts;
+ }
+
+ public function getHosts()
+ {
+ return $this->hosts;
+ }
+
+ public function setPathMatcher($pathMatcher)
+ {
+ $this->pathMatcher = $pathMatcher;
+ }
+
+ public function getPathMatcher()
+ {
+ return $this->pathMatcher;
+ }
+}
+
class Google_Service_Compute_HttpHealthCheck extends Google_Model
{
public $checkIntervalSec;
@@ -6392,19 +7786,217 @@ public function setPort($port)
$this->port = $port;
}
- public function getPort()
+ public function getPort()
+ {
+ return $this->port;
+ }
+
+ public function setRequestPath($requestPath)
+ {
+ $this->requestPath = $requestPath;
+ }
+
+ public function getRequestPath()
+ {
+ return $this->requestPath;
+ }
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+
+ public function setTimeoutSec($timeoutSec)
+ {
+ $this->timeoutSec = $timeoutSec;
+ }
+
+ public function getTimeoutSec()
+ {
+ return $this->timeoutSec;
+ }
+
+ public function setUnhealthyThreshold($unhealthyThreshold)
+ {
+ $this->unhealthyThreshold = $unhealthyThreshold;
+ }
+
+ public function getUnhealthyThreshold()
+ {
+ return $this->unhealthyThreshold;
+ }
+}
+
+class Google_Service_Compute_HttpHealthCheckList extends Google_Collection
+{
+ public $id;
+ protected $itemsType = 'Google_Service_Compute_HttpHealthCheck';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Google_Service_Compute_Image extends Google_Model
+{
+ public $archiveSizeBytes;
+ public $creationTimestamp;
+ protected $deprecatedType = 'Google_Service_Compute_DeprecationStatus';
+ protected $deprecatedDataType = '';
+ public $description;
+ public $diskSizeGb;
+ public $id;
+ public $kind;
+ public $name;
+ protected $rawDiskType = 'Google_Service_Compute_ImageRawDisk';
+ protected $rawDiskDataType = '';
+ public $selfLink;
+ public $sourceType;
+ public $status;
+
+ public function setArchiveSizeBytes($archiveSizeBytes)
+ {
+ $this->archiveSizeBytes = $archiveSizeBytes;
+ }
+
+ public function getArchiveSizeBytes()
+ {
+ return $this->archiveSizeBytes;
+ }
+
+ public function setCreationTimestamp($creationTimestamp)
+ {
+ $this->creationTimestamp = $creationTimestamp;
+ }
+
+ public function getCreationTimestamp()
+ {
+ return $this->creationTimestamp;
+ }
+
+ public function setDeprecated(Google_Service_Compute_DeprecationStatus $deprecated)
+ {
+ $this->deprecated = $deprecated;
+ }
+
+ public function getDeprecated()
+ {
+ return $this->deprecated;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setDiskSizeGb($diskSizeGb)
+ {
+ $this->diskSizeGb = $diskSizeGb;
+ }
+
+ public function getDiskSizeGb()
+ {
+ return $this->diskSizeGb;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
{
- return $this->port;
+ return $this->name;
}
- public function setRequestPath($requestPath)
+ public function setRawDisk(Google_Service_Compute_ImageRawDisk $rawDisk)
{
- $this->requestPath = $requestPath;
+ $this->rawDisk = $rawDisk;
}
- public function getRequestPath()
+ public function getRawDisk()
{
- return $this->requestPath;
+ return $this->rawDisk;
}
public function setSelfLink($selfLink)
@@ -6417,31 +8009,31 @@ public function getSelfLink()
return $this->selfLink;
}
- public function setTimeoutSec($timeoutSec)
+ public function setSourceType($sourceType)
{
- $this->timeoutSec = $timeoutSec;
+ $this->sourceType = $sourceType;
}
- public function getTimeoutSec()
+ public function getSourceType()
{
- return $this->timeoutSec;
+ return $this->sourceType;
}
- public function setUnhealthyThreshold($unhealthyThreshold)
+ public function setStatus($status)
{
- $this->unhealthyThreshold = $unhealthyThreshold;
+ $this->status = $status;
}
- public function getUnhealthyThreshold()
+ public function getStatus()
{
- return $this->unhealthyThreshold;
+ return $this->status;
}
}
-class Google_Service_Compute_HttpHealthCheckList extends Google_Collection
+class Google_Service_Compute_ImageList extends Google_Collection
{
public $id;
- protected $itemsType = 'Google_Service_Compute_HttpHealthCheck';
+ protected $itemsType = 'Google_Service_Compute_Image';
protected $itemsDataType = 'array';
public $kind;
public $nextPageToken;
@@ -6498,31 +8090,77 @@ public function getSelfLink()
}
}
-class Google_Service_Compute_Image extends Google_Model
+class Google_Service_Compute_ImageRawDisk extends Google_Model
{
- public $archiveSizeBytes;
+ public $containerType;
+ public $sha1Checksum;
+ public $source;
+
+ public function setContainerType($containerType)
+ {
+ $this->containerType = $containerType;
+ }
+
+ public function getContainerType()
+ {
+ return $this->containerType;
+ }
+
+ public function setSha1Checksum($sha1Checksum)
+ {
+ $this->sha1Checksum = $sha1Checksum;
+ }
+
+ public function getSha1Checksum()
+ {
+ return $this->sha1Checksum;
+ }
+
+ public function setSource($source)
+ {
+ $this->source = $source;
+ }
+
+ public function getSource()
+ {
+ return $this->source;
+ }
+}
+
+class Google_Service_Compute_Instance extends Google_Collection
+{
+ public $canIpForward;
public $creationTimestamp;
- protected $deprecatedType = 'Google_Service_Compute_DeprecationStatus';
- protected $deprecatedDataType = '';
public $description;
- public $diskSizeGb;
+ protected $disksType = 'Google_Service_Compute_AttachedDisk';
+ protected $disksDataType = 'array';
public $id;
public $kind;
+ public $machineType;
+ protected $metadataType = 'Google_Service_Compute_Metadata';
+ protected $metadataDataType = '';
public $name;
- protected $rawDiskType = 'Google_Service_Compute_ImageRawDisk';
- protected $rawDiskDataType = '';
+ protected $networkInterfacesType = 'Google_Service_Compute_NetworkInterface';
+ protected $networkInterfacesDataType = 'array';
+ protected $schedulingType = 'Google_Service_Compute_Scheduling';
+ protected $schedulingDataType = '';
public $selfLink;
- public $sourceType;
+ protected $serviceAccountsType = 'Google_Service_Compute_ServiceAccount';
+ protected $serviceAccountsDataType = 'array';
public $status;
+ public $statusMessage;
+ protected $tagsType = 'Google_Service_Compute_Tags';
+ protected $tagsDataType = '';
+ public $zone;
- public function setArchiveSizeBytes($archiveSizeBytes)
+ public function setCanIpForward($canIpForward)
{
- $this->archiveSizeBytes = $archiveSizeBytes;
+ $this->canIpForward = $canIpForward;
}
- public function getArchiveSizeBytes()
+ public function getCanIpForward()
{
- return $this->archiveSizeBytes;
+ return $this->canIpForward;
}
public function setCreationTimestamp($creationTimestamp)
@@ -6535,16 +8173,6 @@ public function getCreationTimestamp()
return $this->creationTimestamp;
}
- public function setDeprecated(Google_Service_Compute_DeprecationStatus $deprecated)
- {
- $this->deprecated = $deprecated;
- }
-
- public function getDeprecated()
- {
- return $this->deprecated;
- }
-
public function setDescription($description)
{
$this->description = $description;
@@ -6555,14 +8183,14 @@ public function getDescription()
return $this->description;
}
- public function setDiskSizeGb($diskSizeGb)
+ public function setDisks($disks)
{
- $this->diskSizeGb = $diskSizeGb;
+ $this->disks = $disks;
}
- public function getDiskSizeGb()
+ public function getDisks()
{
- return $this->diskSizeGb;
+ return $this->disks;
}
public function setId($id)
@@ -6585,6 +8213,26 @@ public function getKind()
return $this->kind;
}
+ public function setMachineType($machineType)
+ {
+ $this->machineType = $machineType;
+ }
+
+ public function getMachineType()
+ {
+ return $this->machineType;
+ }
+
+ public function setMetadata(Google_Service_Compute_Metadata $metadata)
+ {
+ $this->metadata = $metadata;
+ }
+
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+
public function setName($name)
{
$this->name = $name;
@@ -6595,14 +8243,24 @@ public function getName()
return $this->name;
}
- public function setRawDisk(Google_Service_Compute_ImageRawDisk $rawDisk)
+ public function setNetworkInterfaces($networkInterfaces)
{
- $this->rawDisk = $rawDisk;
+ $this->networkInterfaces = $networkInterfaces;
}
- public function getRawDisk()
+ public function getNetworkInterfaces()
{
- return $this->rawDisk;
+ return $this->networkInterfaces;
+ }
+
+ public function setScheduling(Google_Service_Compute_Scheduling $scheduling)
+ {
+ $this->scheduling = $scheduling;
+ }
+
+ public function getScheduling()
+ {
+ return $this->scheduling;
}
public function setSelfLink($selfLink)
@@ -6615,14 +8273,14 @@ public function getSelfLink()
return $this->selfLink;
}
- public function setSourceType($sourceType)
+ public function setServiceAccounts($serviceAccounts)
{
- $this->sourceType = $sourceType;
+ $this->serviceAccounts = $serviceAccounts;
}
- public function getSourceType()
+ public function getServiceAccounts()
{
- return $this->sourceType;
+ return $this->serviceAccounts;
}
public function setStatus($status)
@@ -6632,14 +8290,104 @@ public function setStatus($status)
public function getStatus()
{
- return $this->status;
+ return $this->status;
+ }
+
+ public function setStatusMessage($statusMessage)
+ {
+ $this->statusMessage = $statusMessage;
+ }
+
+ public function getStatusMessage()
+ {
+ return $this->statusMessage;
+ }
+
+ public function setTags(Google_Service_Compute_Tags $tags)
+ {
+ $this->tags = $tags;
+ }
+
+ public function getTags()
+ {
+ return $this->tags;
+ }
+
+ public function setZone($zone)
+ {
+ $this->zone = $zone;
+ }
+
+ public function getZone()
+ {
+ return $this->zone;
+ }
+}
+
+class Google_Service_Compute_InstanceAggregatedList extends Google_Model
+{
+ public $id;
+ protected $itemsType = 'Google_Service_Compute_InstancesScopedList';
+ protected $itemsDataType = 'map';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+
+ public function getSelfLink()
+ {
+ return $this->selfLink;
}
}
-class Google_Service_Compute_ImageList extends Google_Collection
+class Google_Service_Compute_InstanceList extends Google_Collection
{
public $id;
- protected $itemsType = 'Google_Service_Compute_Image';
+ protected $itemsType = 'Google_Service_Compute_Instance';
protected $itemsDataType = 'array';
public $kind;
public $nextPageToken;
@@ -6696,227 +8444,260 @@ public function getSelfLink()
}
}
-class Google_Service_Compute_ImageRawDisk extends Google_Model
+class Google_Service_Compute_InstanceReference extends Google_Model
{
- public $containerType;
- public $sha1Checksum;
- public $source;
+ public $instance;
- public function setContainerType($containerType)
+ public function setInstance($instance)
{
- $this->containerType = $containerType;
+ $this->instance = $instance;
}
- public function getContainerType()
+ public function getInstance()
{
- return $this->containerType;
+ return $this->instance;
}
+}
- public function setSha1Checksum($sha1Checksum)
+class Google_Service_Compute_InstancesScopedList extends Google_Collection
+{
+ protected $instancesType = 'Google_Service_Compute_Instance';
+ protected $instancesDataType = 'array';
+ protected $warningType = 'Google_Service_Compute_InstancesScopedListWarning';
+ protected $warningDataType = '';
+
+ public function setInstances($instances)
{
- $this->sha1Checksum = $sha1Checksum;
+ $this->instances = $instances;
}
- public function getSha1Checksum()
+ public function getInstances()
{
- return $this->sha1Checksum;
+ return $this->instances;
}
- public function setSource($source)
+ public function setWarning(Google_Service_Compute_InstancesScopedListWarning $warning)
{
- $this->source = $source;
+ $this->warning = $warning;
}
- public function getSource()
+ public function getWarning()
{
- return $this->source;
+ return $this->warning;
}
}
-class Google_Service_Compute_Instance extends Google_Collection
+class Google_Service_Compute_InstancesScopedListWarning extends Google_Collection
{
- public $canIpForward;
- public $creationTimestamp;
- public $description;
- protected $disksType = 'Google_Service_Compute_AttachedDisk';
- protected $disksDataType = 'array';
- public $id;
- public $kind;
- public $machineType;
- protected $metadataType = 'Google_Service_Compute_Metadata';
- protected $metadataDataType = '';
- public $name;
- protected $networkInterfacesType = 'Google_Service_Compute_NetworkInterface';
- protected $networkInterfacesDataType = 'array';
- protected $schedulingType = 'Google_Service_Compute_Scheduling';
- protected $schedulingDataType = '';
- public $selfLink;
- protected $serviceAccountsType = 'Google_Service_Compute_ServiceAccount';
- protected $serviceAccountsDataType = 'array';
- public $status;
- public $statusMessage;
- protected $tagsType = 'Google_Service_Compute_Tags';
- protected $tagsDataType = '';
- public $zone;
+ public $code;
+ protected $dataType = 'Google_Service_Compute_InstancesScopedListWarningData';
+ protected $dataDataType = 'array';
+ public $message;
- public function setCanIpForward($canIpForward)
+ public function setCode($code)
{
- $this->canIpForward = $canIpForward;
+ $this->code = $code;
}
- public function getCanIpForward()
+ public function getCode()
{
- return $this->canIpForward;
+ return $this->code;
}
- public function setCreationTimestamp($creationTimestamp)
+ public function setData($data)
{
- $this->creationTimestamp = $creationTimestamp;
+ $this->data = $data;
}
- public function getCreationTimestamp()
+ public function getData()
{
- return $this->creationTimestamp;
+ return $this->data;
}
- public function setDescription($description)
+ public function setMessage($message)
{
- $this->description = $description;
+ $this->message = $message;
}
- public function getDescription()
+ public function getMessage()
{
- return $this->description;
+ return $this->message;
}
+}
- public function setDisks($disks)
+class Google_Service_Compute_InstancesScopedListWarningData extends Google_Model
+{
+ public $key;
+ public $value;
+
+ public function setKey($key)
{
- $this->disks = $disks;
+ $this->key = $key;
}
- public function getDisks()
+ public function getKey()
{
- return $this->disks;
+ return $this->key;
}
- public function setId($id)
+ public function setValue($value)
{
- $this->id = $id;
+ $this->value = $value;
}
- public function getId()
+ public function getValue()
{
- return $this->id;
+ return $this->value;
}
+}
- public function setKind($kind)
+class Google_Service_Compute_MachineType extends Google_Collection
+{
+ public $creationTimestamp;
+ protected $deprecatedType = 'Google_Service_Compute_DeprecationStatus';
+ protected $deprecatedDataType = '';
+ public $description;
+ public $guestCpus;
+ public $id;
+ public $imageSpaceGb;
+ public $kind;
+ public $maximumPersistentDisks;
+ public $maximumPersistentDisksSizeGb;
+ public $memoryMb;
+ public $name;
+ protected $scratchDisksType = 'Google_Service_Compute_MachineTypeScratchDisks';
+ protected $scratchDisksDataType = 'array';
+ public $selfLink;
+ public $zone;
+
+ public function setCreationTimestamp($creationTimestamp)
{
- $this->kind = $kind;
+ $this->creationTimestamp = $creationTimestamp;
}
- public function getKind()
+ public function getCreationTimestamp()
{
- return $this->kind;
+ return $this->creationTimestamp;
}
- public function setMachineType($machineType)
+ public function setDeprecated(Google_Service_Compute_DeprecationStatus $deprecated)
{
- $this->machineType = $machineType;
+ $this->deprecated = $deprecated;
}
- public function getMachineType()
+ public function getDeprecated()
{
- return $this->machineType;
+ return $this->deprecated;
}
- public function setMetadata(Google_Service_Compute_Metadata $metadata)
+ public function setDescription($description)
{
- $this->metadata = $metadata;
+ $this->description = $description;
}
- public function getMetadata()
+ public function getDescription()
{
- return $this->metadata;
+ return $this->description;
}
- public function setName($name)
+ public function setGuestCpus($guestCpus)
{
- $this->name = $name;
+ $this->guestCpus = $guestCpus;
}
- public function getName()
+ public function getGuestCpus()
{
- return $this->name;
+ return $this->guestCpus;
}
- public function setNetworkInterfaces($networkInterfaces)
+ public function setId($id)
{
- $this->networkInterfaces = $networkInterfaces;
+ $this->id = $id;
}
- public function getNetworkInterfaces()
+ public function getId()
{
- return $this->networkInterfaces;
+ return $this->id;
}
- public function setScheduling(Google_Service_Compute_Scheduling $scheduling)
+ public function setImageSpaceGb($imageSpaceGb)
{
- $this->scheduling = $scheduling;
+ $this->imageSpaceGb = $imageSpaceGb;
}
- public function getScheduling()
+ public function getImageSpaceGb()
{
- return $this->scheduling;
+ return $this->imageSpaceGb;
}
- public function setSelfLink($selfLink)
+ public function setKind($kind)
{
- $this->selfLink = $selfLink;
+ $this->kind = $kind;
}
- public function getSelfLink()
+ public function getKind()
{
- return $this->selfLink;
+ return $this->kind;
}
- public function setServiceAccounts($serviceAccounts)
+ public function setMaximumPersistentDisks($maximumPersistentDisks)
{
- $this->serviceAccounts = $serviceAccounts;
+ $this->maximumPersistentDisks = $maximumPersistentDisks;
}
- public function getServiceAccounts()
+ public function getMaximumPersistentDisks()
{
- return $this->serviceAccounts;
+ return $this->maximumPersistentDisks;
}
- public function setStatus($status)
+ public function setMaximumPersistentDisksSizeGb($maximumPersistentDisksSizeGb)
{
- $this->status = $status;
+ $this->maximumPersistentDisksSizeGb = $maximumPersistentDisksSizeGb;
}
- public function getStatus()
+ public function getMaximumPersistentDisksSizeGb()
{
- return $this->status;
+ return $this->maximumPersistentDisksSizeGb;
}
- public function setStatusMessage($statusMessage)
+ public function setMemoryMb($memoryMb)
{
- $this->statusMessage = $statusMessage;
+ $this->memoryMb = $memoryMb;
}
- public function getStatusMessage()
+ public function getMemoryMb()
{
- return $this->statusMessage;
+ return $this->memoryMb;
}
- public function setTags(Google_Service_Compute_Tags $tags)
+ public function setName($name)
{
- $this->tags = $tags;
+ $this->name = $name;
}
- public function getTags()
+ public function getName()
{
- return $this->tags;
+ return $this->name;
+ }
+
+ public function setScratchDisks($scratchDisks)
+ {
+ $this->scratchDisks = $scratchDisks;
+ }
+
+ public function getScratchDisks()
+ {
+ return $this->scratchDisks;
+ }
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+
+ public function getSelfLink()
+ {
+ return $this->selfLink;
}
public function setZone($zone)
@@ -6930,10 +8711,10 @@ public function getZone()
}
}
-class Google_Service_Compute_InstanceAggregatedList extends Google_Model
+class Google_Service_Compute_MachineTypeAggregatedList extends Google_Model
{
public $id;
- protected $itemsType = 'Google_Service_Compute_InstancesScopedList';
+ protected $itemsType = 'Google_Service_Compute_MachineTypesScopedList';
protected $itemsDataType = 'map';
public $kind;
public $nextPageToken;
@@ -6990,10 +8771,10 @@ public function getSelfLink()
}
}
-class Google_Service_Compute_InstanceList extends Google_Collection
+class Google_Service_Compute_MachineTypeList extends Google_Collection
{
public $id;
- protected $itemsType = 'Google_Service_Compute_Instance';
+ protected $itemsType = 'Google_Service_Compute_MachineType';
protected $itemsDataType = 'array';
public $kind;
public $nextPageToken;
@@ -7050,39 +8831,39 @@ public function getSelfLink()
}
}
-class Google_Service_Compute_InstanceReference extends Google_Model
+class Google_Service_Compute_MachineTypeScratchDisks extends Google_Model
{
- public $instance;
+ public $diskGb;
- public function setInstance($instance)
+ public function setDiskGb($diskGb)
{
- $this->instance = $instance;
+ $this->diskGb = $diskGb;
}
- public function getInstance()
+ public function getDiskGb()
{
- return $this->instance;
+ return $this->diskGb;
}
}
-class Google_Service_Compute_InstancesScopedList extends Google_Collection
+class Google_Service_Compute_MachineTypesScopedList extends Google_Collection
{
- protected $instancesType = 'Google_Service_Compute_Instance';
- protected $instancesDataType = 'array';
- protected $warningType = 'Google_Service_Compute_InstancesScopedListWarning';
+ protected $machineTypesType = 'Google_Service_Compute_MachineType';
+ protected $machineTypesDataType = 'array';
+ protected $warningType = 'Google_Service_Compute_MachineTypesScopedListWarning';
protected $warningDataType = '';
- public function setInstances($instances)
+ public function setMachineTypes($machineTypes)
{
- $this->instances = $instances;
+ $this->machineTypes = $machineTypes;
}
- public function getInstances()
+ public function getMachineTypes()
{
- return $this->instances;
+ return $this->machineTypes;
}
- public function setWarning(Google_Service_Compute_InstancesScopedListWarning $warning)
+ public function setWarning(Google_Service_Compute_MachineTypesScopedListWarning $warning)
{
$this->warning = $warning;
}
@@ -7093,10 +8874,10 @@ public function getWarning()
}
}
-class Google_Service_Compute_InstancesScopedListWarning extends Google_Collection
+class Google_Service_Compute_MachineTypesScopedListWarning extends Google_Collection
{
public $code;
- protected $dataType = 'Google_Service_Compute_InstancesScopedListWarningData';
+ protected $dataType = 'Google_Service_Compute_MachineTypesScopedListWarningData';
protected $dataDataType = 'array';
public $message;
@@ -7131,7 +8912,7 @@ public function getMessage()
}
}
-class Google_Service_Compute_InstancesScopedListWarningData extends Google_Model
+class Google_Service_Compute_MachineTypesScopedListWarningData extends Google_Model
{
public $key;
public $value;
@@ -7157,43 +8938,99 @@ public function getValue()
}
}
-class Google_Service_Compute_MachineType extends Google_Collection
+class Google_Service_Compute_Metadata extends Google_Collection
+{
+ public $fingerprint;
+ protected $itemsType = 'Google_Service_Compute_MetadataItems';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+ public function setFingerprint($fingerprint)
+ {
+ $this->fingerprint = $fingerprint;
+ }
+
+ public function getFingerprint()
+ {
+ return $this->fingerprint;
+ }
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Compute_MetadataItems extends Google_Model
+{
+ public $key;
+ public $value;
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+
+ public function getKey()
+ {
+ return $this->key;
+ }
+
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Google_Service_Compute_Network extends Google_Model
{
+ public $iPv4Range;
public $creationTimestamp;
- protected $deprecatedType = 'Google_Service_Compute_DeprecationStatus';
- protected $deprecatedDataType = '';
public $description;
- public $guestCpus;
+ public $gatewayIPv4;
public $id;
- public $imageSpaceGb;
public $kind;
- public $maximumPersistentDisks;
- public $maximumPersistentDisksSizeGb;
- public $memoryMb;
public $name;
- protected $scratchDisksType = 'Google_Service_Compute_MachineTypeScratchDisks';
- protected $scratchDisksDataType = 'array';
public $selfLink;
- public $zone;
- public function setCreationTimestamp($creationTimestamp)
+ public function setIPv4Range($iPv4Range)
{
- $this->creationTimestamp = $creationTimestamp;
+ $this->iPv4Range = $iPv4Range;
}
- public function getCreationTimestamp()
+ public function getIPv4Range()
{
- return $this->creationTimestamp;
+ return $this->iPv4Range;
}
- public function setDeprecated(Google_Service_Compute_DeprecationStatus $deprecated)
+ public function setCreationTimestamp($creationTimestamp)
{
- $this->deprecated = $deprecated;
+ $this->creationTimestamp = $creationTimestamp;
}
- public function getDeprecated()
+ public function getCreationTimestamp()
{
- return $this->deprecated;
+ return $this->creationTimestamp;
}
public function setDescription($description)
@@ -7206,14 +9043,14 @@ public function getDescription()
return $this->description;
}
- public function setGuestCpus($guestCpus)
+ public function setGatewayIPv4($gatewayIPv4)
{
- $this->guestCpus = $guestCpus;
+ $this->gatewayIPv4 = $gatewayIPv4;
}
- public function getGuestCpus()
+ public function getGatewayIPv4()
{
- return $this->guestCpus;
+ return $this->gatewayIPv4;
}
public function setId($id)
@@ -7226,16 +9063,6 @@ public function getId()
return $this->id;
}
- public function setImageSpaceGb($imageSpaceGb)
- {
- $this->imageSpaceGb = $imageSpaceGb;
- }
-
- public function getImageSpaceGb()
- {
- return $this->imageSpaceGb;
- }
-
public function setKind($kind)
{
$this->kind = $kind;
@@ -7246,34 +9073,43 @@ public function getKind()
return $this->kind;
}
- public function setMaximumPersistentDisks($maximumPersistentDisks)
+ public function setName($name)
{
- $this->maximumPersistentDisks = $maximumPersistentDisks;
+ $this->name = $name;
}
- public function getMaximumPersistentDisks()
+ public function getName()
{
- return $this->maximumPersistentDisks;
+ return $this->name;
}
- public function setMaximumPersistentDisksSizeGb($maximumPersistentDisksSizeGb)
+ public function setSelfLink($selfLink)
{
- $this->maximumPersistentDisksSizeGb = $maximumPersistentDisksSizeGb;
+ $this->selfLink = $selfLink;
}
- public function getMaximumPersistentDisksSizeGb()
+ public function getSelfLink()
{
- return $this->maximumPersistentDisksSizeGb;
+ return $this->selfLink;
}
+}
- public function setMemoryMb($memoryMb)
+class Google_Service_Compute_NetworkInterface extends Google_Collection
+{
+ protected $accessConfigsType = 'Google_Service_Compute_AccessConfig';
+ protected $accessConfigsDataType = 'array';
+ public $name;
+ public $network;
+ public $networkIP;
+
+ public function setAccessConfigs($accessConfigs)
{
- $this->memoryMb = $memoryMb;
+ $this->accessConfigs = $accessConfigs;
}
- public function getMemoryMb()
+ public function getAccessConfigs()
{
- return $this->memoryMb;
+ return $this->accessConfigs;
}
public function setName($name)
@@ -7286,42 +9122,32 @@ public function getName()
return $this->name;
}
- public function setScratchDisks($scratchDisks)
- {
- $this->scratchDisks = $scratchDisks;
- }
-
- public function getScratchDisks()
- {
- return $this->scratchDisks;
- }
-
- public function setSelfLink($selfLink)
+ public function setNetwork($network)
{
- $this->selfLink = $selfLink;
+ $this->network = $network;
}
- public function getSelfLink()
+ public function getNetwork()
{
- return $this->selfLink;
+ return $this->network;
}
- public function setZone($zone)
+ public function setNetworkIP($networkIP)
{
- $this->zone = $zone;
+ $this->networkIP = $networkIP;
}
- public function getZone()
+ public function getNetworkIP()
{
- return $this->zone;
+ return $this->networkIP;
}
}
-class Google_Service_Compute_MachineTypeAggregatedList extends Google_Model
+class Google_Service_Compute_NetworkList extends Google_Collection
{
public $id;
- protected $itemsType = 'Google_Service_Compute_MachineTypesScopedList';
- protected $itemsDataType = 'map';
+ protected $itemsType = 'Google_Service_Compute_Network';
+ protected $itemsDataType = 'array';
public $kind;
public $nextPageToken;
public $selfLink;
@@ -7377,287 +9203,262 @@ public function getSelfLink()
}
}
-class Google_Service_Compute_MachineTypeList extends Google_Collection
+class Google_Service_Compute_Operation extends Google_Collection
{
+ public $clientOperationId;
+ public $creationTimestamp;
+ public $endTime;
+ protected $errorType = 'Google_Service_Compute_OperationError';
+ protected $errorDataType = '';
+ public $httpErrorMessage;
+ public $httpErrorStatusCode;
public $id;
- protected $itemsType = 'Google_Service_Compute_MachineType';
- protected $itemsDataType = 'array';
+ public $insertTime;
public $kind;
- public $nextPageToken;
+ public $name;
+ public $operationType;
+ public $progress;
+ public $region;
public $selfLink;
+ public $startTime;
+ public $status;
+ public $statusMessage;
+ public $targetId;
+ public $targetLink;
+ public $user;
+ protected $warningsType = 'Google_Service_Compute_OperationWarnings';
+ protected $warningsDataType = 'array';
+ public $zone;
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
+ public function setClientOperationId($clientOperationId)
{
- return $this->id;
+ $this->clientOperationId = $clientOperationId;
}
- public function setItems($items)
+ public function getClientOperationId()
{
- $this->items = $items;
+ return $this->clientOperationId;
}
- public function getItems()
+ public function setCreationTimestamp($creationTimestamp)
{
- return $this->items;
+ $this->creationTimestamp = $creationTimestamp;
}
- public function setKind($kind)
+ public function getCreationTimestamp()
{
- $this->kind = $kind;
+ return $this->creationTimestamp;
}
- public function getKind()
+ public function setEndTime($endTime)
{
- return $this->kind;
+ $this->endTime = $endTime;
}
- public function setNextPageToken($nextPageToken)
+ public function getEndTime()
{
- $this->nextPageToken = $nextPageToken;
+ return $this->endTime;
}
- public function getNextPageToken()
+ public function setError(Google_Service_Compute_OperationError $error)
{
- return $this->nextPageToken;
+ $this->error = $error;
}
- public function setSelfLink($selfLink)
+ public function getError()
{
- $this->selfLink = $selfLink;
+ return $this->error;
}
- public function getSelfLink()
+ public function setHttpErrorMessage($httpErrorMessage)
{
- return $this->selfLink;
+ $this->httpErrorMessage = $httpErrorMessage;
}
-}
-
-class Google_Service_Compute_MachineTypeScratchDisks extends Google_Model
-{
- public $diskGb;
- public function setDiskGb($diskGb)
+ public function getHttpErrorMessage()
{
- $this->diskGb = $diskGb;
+ return $this->httpErrorMessage;
}
- public function getDiskGb()
+ public function setHttpErrorStatusCode($httpErrorStatusCode)
{
- return $this->diskGb;
+ $this->httpErrorStatusCode = $httpErrorStatusCode;
}
-}
-
-class Google_Service_Compute_MachineTypesScopedList extends Google_Collection
-{
- protected $machineTypesType = 'Google_Service_Compute_MachineType';
- protected $machineTypesDataType = 'array';
- protected $warningType = 'Google_Service_Compute_MachineTypesScopedListWarning';
- protected $warningDataType = '';
- public function setMachineTypes($machineTypes)
+ public function getHttpErrorStatusCode()
{
- $this->machineTypes = $machineTypes;
+ return $this->httpErrorStatusCode;
}
- public function getMachineTypes()
+ public function setId($id)
{
- return $this->machineTypes;
+ $this->id = $id;
}
- public function setWarning(Google_Service_Compute_MachineTypesScopedListWarning $warning)
+ public function getId()
{
- $this->warning = $warning;
+ return $this->id;
}
- public function getWarning()
+ public function setInsertTime($insertTime)
{
- return $this->warning;
+ $this->insertTime = $insertTime;
}
-}
-
-class Google_Service_Compute_MachineTypesScopedListWarning extends Google_Collection
-{
- public $code;
- protected $dataType = 'Google_Service_Compute_MachineTypesScopedListWarningData';
- protected $dataDataType = 'array';
- public $message;
- public function setCode($code)
+ public function getInsertTime()
{
- $this->code = $code;
+ return $this->insertTime;
}
- public function getCode()
+ public function setKind($kind)
{
- return $this->code;
+ $this->kind = $kind;
}
- public function setData($data)
+ public function getKind()
{
- $this->data = $data;
+ return $this->kind;
}
- public function getData()
+ public function setName($name)
{
- return $this->data;
+ $this->name = $name;
}
- public function setMessage($message)
+ public function getName()
{
- $this->message = $message;
+ return $this->name;
}
- public function getMessage()
+ public function setOperationType($operationType)
{
- return $this->message;
+ $this->operationType = $operationType;
}
-}
-
-class Google_Service_Compute_MachineTypesScopedListWarningData extends Google_Model
-{
- public $key;
- public $value;
- public function setKey($key)
+ public function getOperationType()
{
- $this->key = $key;
+ return $this->operationType;
}
- public function getKey()
+ public function setProgress($progress)
{
- return $this->key;
+ $this->progress = $progress;
}
- public function setValue($value)
+ public function getProgress()
{
- $this->value = $value;
+ return $this->progress;
}
- public function getValue()
+ public function setRegion($region)
{
- return $this->value;
+ $this->region = $region;
}
-}
-
-class Google_Service_Compute_Metadata extends Google_Collection
-{
- public $fingerprint;
- protected $itemsType = 'Google_Service_Compute_MetadataItems';
- protected $itemsDataType = 'array';
- public $kind;
- public function setFingerprint($fingerprint)
+ public function getRegion()
{
- $this->fingerprint = $fingerprint;
+ return $this->region;
}
- public function getFingerprint()
+ public function setSelfLink($selfLink)
{
- return $this->fingerprint;
+ $this->selfLink = $selfLink;
}
- public function setItems($items)
+ public function getSelfLink()
{
- $this->items = $items;
+ return $this->selfLink;
}
- public function getItems()
+ public function setStartTime($startTime)
{
- return $this->items;
+ $this->startTime = $startTime;
}
- public function setKind($kind)
+ public function getStartTime()
{
- $this->kind = $kind;
+ return $this->startTime;
}
- public function getKind()
+ public function setStatus($status)
{
- return $this->kind;
+ $this->status = $status;
}
-}
-
-class Google_Service_Compute_MetadataItems extends Google_Model
-{
- public $key;
- public $value;
- public function setKey($key)
+ public function getStatus()
{
- $this->key = $key;
+ return $this->status;
}
- public function getKey()
+ public function setStatusMessage($statusMessage)
{
- return $this->key;
+ $this->statusMessage = $statusMessage;
}
- public function setValue($value)
+ public function getStatusMessage()
{
- $this->value = $value;
+ return $this->statusMessage;
}
- public function getValue()
+ public function setTargetId($targetId)
{
- return $this->value;
+ $this->targetId = $targetId;
}
-}
-class Google_Service_Compute_Network extends Google_Model
-{
- public $iPv4Range;
- public $creationTimestamp;
- public $description;
- public $gatewayIPv4;
- public $id;
- public $kind;
- public $name;
- public $selfLink;
+ public function getTargetId()
+ {
+ return $this->targetId;
+ }
- public function setIPv4Range($iPv4Range)
+ public function setTargetLink($targetLink)
{
- $this->iPv4Range = $iPv4Range;
+ $this->targetLink = $targetLink;
}
- public function getIPv4Range()
+ public function getTargetLink()
{
- return $this->iPv4Range;
+ return $this->targetLink;
}
- public function setCreationTimestamp($creationTimestamp)
+ public function setUser($user)
{
- $this->creationTimestamp = $creationTimestamp;
+ $this->user = $user;
}
- public function getCreationTimestamp()
+ public function getUser()
{
- return $this->creationTimestamp;
+ return $this->user;
}
- public function setDescription($description)
+ public function setWarnings($warnings)
{
- $this->description = $description;
+ $this->warnings = $warnings;
}
- public function getDescription()
+ public function getWarnings()
{
- return $this->description;
+ return $this->warnings;
}
- public function setGatewayIPv4($gatewayIPv4)
+ public function setZone($zone)
{
- $this->gatewayIPv4 = $gatewayIPv4;
+ $this->zone = $zone;
}
- public function getGatewayIPv4()
+ public function getZone()
{
- return $this->gatewayIPv4;
+ return $this->zone;
}
+}
+
+class Google_Service_Compute_OperationAggregatedList extends Google_Model
+{
+ public $id;
+ protected $itemsType = 'Google_Service_Compute_OperationsScopedList';
+ protected $itemsDataType = 'map';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
public function setId($id)
{
@@ -7669,6 +9470,16 @@ public function getId()
return $this->id;
}
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
public function setKind($kind)
{
$this->kind = $kind;
@@ -7679,14 +9490,14 @@ public function getKind()
return $this->kind;
}
- public function setName($name)
+ public function setNextPageToken($nextPageToken)
{
- $this->name = $name;
+ $this->nextPageToken = $nextPageToken;
}
- public function getName()
+ public function getNextPageToken()
{
- return $this->name;
+ return $this->nextPageToken;
}
public function setSelfLink($selfLink)
@@ -7700,59 +9511,63 @@ public function getSelfLink()
}
}
-class Google_Service_Compute_NetworkInterface extends Google_Collection
+class Google_Service_Compute_OperationError extends Google_Collection
{
- protected $accessConfigsType = 'Google_Service_Compute_AccessConfig';
- protected $accessConfigsDataType = 'array';
- public $name;
- public $network;
- public $networkIP;
+ protected $errorsType = 'Google_Service_Compute_OperationErrorErrors';
+ protected $errorsDataType = 'array';
- public function setAccessConfigs($accessConfigs)
+ public function setErrors($errors)
{
- $this->accessConfigs = $accessConfigs;
+ $this->errors = $errors;
}
- public function getAccessConfigs()
+ public function getErrors()
{
- return $this->accessConfigs;
+ return $this->errors;
}
+}
- public function setName($name)
+class Google_Service_Compute_OperationErrorErrors extends Google_Model
+{
+ public $code;
+ public $location;
+ public $message;
+
+ public function setCode($code)
{
- $this->name = $name;
+ $this->code = $code;
}
- public function getName()
+ public function getCode()
{
- return $this->name;
+ return $this->code;
}
- public function setNetwork($network)
+ public function setLocation($location)
{
- $this->network = $network;
+ $this->location = $location;
}
- public function getNetwork()
+ public function getLocation()
{
- return $this->network;
+ return $this->location;
}
- public function setNetworkIP($networkIP)
+ public function setMessage($message)
{
- $this->networkIP = $networkIP;
+ $this->message = $message;
}
- public function getNetworkIP()
+ public function getMessage()
{
- return $this->networkIP;
+ return $this->message;
}
}
-class Google_Service_Compute_NetworkList extends Google_Collection
+class Google_Service_Compute_OperationList extends Google_Collection
{
public $id;
- protected $itemsType = 'Google_Service_Compute_Network';
+ protected $itemsType = 'Google_Service_Compute_Operation';
protected $itemsDataType = 'array';
public $kind;
public $nextPageToken;
@@ -7809,262 +9624,281 @@ public function getSelfLink()
}
}
-class Google_Service_Compute_Operation extends Google_Collection
+class Google_Service_Compute_OperationWarnings extends Google_Collection
{
- public $clientOperationId;
- public $creationTimestamp;
- public $endTime;
- protected $errorType = 'Google_Service_Compute_OperationError';
- protected $errorDataType = '';
- public $httpErrorMessage;
- public $httpErrorStatusCode;
- public $id;
- public $insertTime;
- public $kind;
- public $name;
- public $operationType;
- public $progress;
- public $region;
- public $selfLink;
- public $startTime;
- public $status;
- public $statusMessage;
- public $targetId;
- public $targetLink;
- public $user;
- protected $warningsType = 'Google_Service_Compute_OperationWarnings';
- protected $warningsDataType = 'array';
- public $zone;
+ public $code;
+ protected $dataType = 'Google_Service_Compute_OperationWarningsData';
+ protected $dataDataType = 'array';
+ public $message;
- public function setClientOperationId($clientOperationId)
+ public function setCode($code)
{
- $this->clientOperationId = $clientOperationId;
+ $this->code = $code;
}
- public function getClientOperationId()
+ public function getCode()
{
- return $this->clientOperationId;
+ return $this->code;
}
- public function setCreationTimestamp($creationTimestamp)
+ public function setData($data)
{
- $this->creationTimestamp = $creationTimestamp;
+ $this->data = $data;
}
- public function getCreationTimestamp()
+ public function getData()
{
- return $this->creationTimestamp;
+ return $this->data;
}
- public function setEndTime($endTime)
+ public function setMessage($message)
{
- $this->endTime = $endTime;
+ $this->message = $message;
}
- public function getEndTime()
+ public function getMessage()
{
- return $this->endTime;
+ return $this->message;
}
+}
- public function setError(Google_Service_Compute_OperationError $error)
- {
- $this->error = $error;
- }
+class Google_Service_Compute_OperationWarningsData extends Google_Model
+{
+ public $key;
+ public $value;
- public function getError()
+ public function setKey($key)
{
- return $this->error;
+ $this->key = $key;
}
- public function setHttpErrorMessage($httpErrorMessage)
+ public function getKey()
{
- $this->httpErrorMessage = $httpErrorMessage;
+ return $this->key;
}
- public function getHttpErrorMessage()
+ public function setValue($value)
{
- return $this->httpErrorMessage;
+ $this->value = $value;
}
- public function setHttpErrorStatusCode($httpErrorStatusCode)
+ public function getValue()
{
- $this->httpErrorStatusCode = $httpErrorStatusCode;
+ return $this->value;
}
+}
- public function getHttpErrorStatusCode()
- {
- return $this->httpErrorStatusCode;
- }
+class Google_Service_Compute_OperationsScopedList extends Google_Collection
+{
+ protected $operationsType = 'Google_Service_Compute_Operation';
+ protected $operationsDataType = 'array';
+ protected $warningType = 'Google_Service_Compute_OperationsScopedListWarning';
+ protected $warningDataType = '';
- public function setId($id)
+ public function setOperations($operations)
{
- $this->id = $id;
+ $this->operations = $operations;
}
- public function getId()
+ public function getOperations()
{
- return $this->id;
+ return $this->operations;
}
- public function setInsertTime($insertTime)
+ public function setWarning(Google_Service_Compute_OperationsScopedListWarning $warning)
{
- $this->insertTime = $insertTime;
+ $this->warning = $warning;
}
- public function getInsertTime()
+ public function getWarning()
{
- return $this->insertTime;
+ return $this->warning;
}
+}
- public function setKind($kind)
+class Google_Service_Compute_OperationsScopedListWarning extends Google_Collection
+{
+ public $code;
+ protected $dataType = 'Google_Service_Compute_OperationsScopedListWarningData';
+ protected $dataDataType = 'array';
+ public $message;
+
+ public function setCode($code)
{
- $this->kind = $kind;
+ $this->code = $code;
}
- public function getKind()
+ public function getCode()
{
- return $this->kind;
+ return $this->code;
}
- public function setName($name)
+ public function setData($data)
{
- $this->name = $name;
+ $this->data = $data;
}
- public function getName()
+ public function getData()
{
- return $this->name;
+ return $this->data;
}
- public function setOperationType($operationType)
+ public function setMessage($message)
{
- $this->operationType = $operationType;
+ $this->message = $message;
}
- public function getOperationType()
+ public function getMessage()
{
- return $this->operationType;
+ return $this->message;
}
+}
- public function setProgress($progress)
+class Google_Service_Compute_OperationsScopedListWarningData extends Google_Model
+{
+ public $key;
+ public $value;
+
+ public function setKey($key)
{
- $this->progress = $progress;
+ $this->key = $key;
}
- public function getProgress()
+ public function getKey()
{
- return $this->progress;
+ return $this->key;
}
- public function setRegion($region)
+ public function setValue($value)
{
- $this->region = $region;
+ $this->value = $value;
}
- public function getRegion()
+ public function getValue()
{
- return $this->region;
+ return $this->value;
}
+}
- public function setSelfLink($selfLink)
+class Google_Service_Compute_PathMatcher extends Google_Collection
+{
+ public $defaultService;
+ public $description;
+ public $name;
+ protected $pathRulesType = 'Google_Service_Compute_PathRule';
+ protected $pathRulesDataType = 'array';
+
+ public function setDefaultService($defaultService)
{
- $this->selfLink = $selfLink;
+ $this->defaultService = $defaultService;
}
- public function getSelfLink()
+ public function getDefaultService()
{
- return $this->selfLink;
+ return $this->defaultService;
}
- public function setStartTime($startTime)
+ public function setDescription($description)
{
- $this->startTime = $startTime;
+ $this->description = $description;
}
- public function getStartTime()
+ public function getDescription()
{
- return $this->startTime;
+ return $this->description;
}
- public function setStatus($status)
+ public function setName($name)
{
- $this->status = $status;
+ $this->name = $name;
}
- public function getStatus()
+ public function getName()
{
- return $this->status;
+ return $this->name;
}
- public function setStatusMessage($statusMessage)
+ public function setPathRules($pathRules)
{
- $this->statusMessage = $statusMessage;
+ $this->pathRules = $pathRules;
}
- public function getStatusMessage()
+ public function getPathRules()
{
- return $this->statusMessage;
+ return $this->pathRules;
}
+}
- public function setTargetId($targetId)
+class Google_Service_Compute_PathRule extends Google_Collection
+{
+ public $paths;
+ public $service;
+
+ public function setPaths($paths)
{
- $this->targetId = $targetId;
+ $this->paths = $paths;
}
- public function getTargetId()
+ public function getPaths()
{
- return $this->targetId;
+ return $this->paths;
}
- public function setTargetLink($targetLink)
+ public function setService($service)
{
- $this->targetLink = $targetLink;
+ $this->service = $service;
}
- public function getTargetLink()
+ public function getService()
{
- return $this->targetLink;
+ return $this->service;
}
+}
+
+class Google_Service_Compute_Project extends Google_Collection
+{
+ protected $commonInstanceMetadataType = 'Google_Service_Compute_Metadata';
+ protected $commonInstanceMetadataDataType = '';
+ public $creationTimestamp;
+ public $description;
+ public $id;
+ public $kind;
+ public $name;
+ protected $quotasType = 'Google_Service_Compute_Quota';
+ protected $quotasDataType = 'array';
+ public $selfLink;
+ protected $usageExportLocationType = 'Google_Service_Compute_UsageExportLocation';
+ protected $usageExportLocationDataType = '';
- public function setUser($user)
+ public function setCommonInstanceMetadata(Google_Service_Compute_Metadata $commonInstanceMetadata)
{
- $this->user = $user;
+ $this->commonInstanceMetadata = $commonInstanceMetadata;
}
- public function getUser()
+ public function getCommonInstanceMetadata()
{
- return $this->user;
+ return $this->commonInstanceMetadata;
}
- public function setWarnings($warnings)
+ public function setCreationTimestamp($creationTimestamp)
{
- $this->warnings = $warnings;
+ $this->creationTimestamp = $creationTimestamp;
}
- public function getWarnings()
+ public function getCreationTimestamp()
{
- return $this->warnings;
+ return $this->creationTimestamp;
}
- public function setZone($zone)
+ public function setDescription($description)
{
- $this->zone = $zone;
+ $this->description = $description;
}
- public function getZone()
+ public function getDescription()
{
- return $this->zone;
+ return $this->description;
}
-}
-
-class Google_Service_Compute_OperationAggregatedList extends Google_Model
-{
- public $id;
- protected $itemsType = 'Google_Service_Compute_OperationsScopedList';
- protected $itemsDataType = 'map';
- public $kind;
- public $nextPageToken;
- public $selfLink;
public function setId($id)
{
@@ -8076,34 +9910,34 @@ public function getId()
return $this->id;
}
- public function setItems($items)
+ public function setKind($kind)
{
- $this->items = $items;
+ $this->kind = $kind;
}
- public function getItems()
+ public function getKind()
{
- return $this->items;
+ return $this->kind;
}
- public function setKind($kind)
+ public function setName($name)
{
- $this->kind = $kind;
+ $this->name = $name;
}
- public function getKind()
+ public function getName()
{
- return $this->kind;
+ return $this->name;
}
- public function setNextPageToken($nextPageToken)
+ public function setQuotas($quotas)
{
- $this->nextPageToken = $nextPageToken;
+ $this->quotas = $quotas;
}
- public function getNextPageToken()
+ public function getQuotas()
{
- return $this->nextPageToken;
+ return $this->quotas;
}
public function setSelfLink($selfLink)
@@ -8115,301 +9949,264 @@ public function getSelfLink()
{
return $this->selfLink;
}
-}
-
-class Google_Service_Compute_OperationError extends Google_Collection
-{
- protected $errorsType = 'Google_Service_Compute_OperationErrorErrors';
- protected $errorsDataType = 'array';
- public function setErrors($errors)
+ public function setUsageExportLocation(Google_Service_Compute_UsageExportLocation $usageExportLocation)
{
- $this->errors = $errors;
+ $this->usageExportLocation = $usageExportLocation;
}
- public function getErrors()
+ public function getUsageExportLocation()
{
- return $this->errors;
+ return $this->usageExportLocation;
}
}
-class Google_Service_Compute_OperationErrorErrors extends Google_Model
+class Google_Service_Compute_Quota extends Google_Model
{
- public $code;
- public $location;
- public $message;
+ public $limit;
+ public $metric;
+ public $usage;
- public function setCode($code)
+ public function setLimit($limit)
{
- $this->code = $code;
+ $this->limit = $limit;
}
- public function getCode()
+ public function getLimit()
{
- return $this->code;
+ return $this->limit;
}
- public function setLocation($location)
+ public function setMetric($metric)
{
- $this->location = $location;
+ $this->metric = $metric;
}
- public function getLocation()
+ public function getMetric()
{
- return $this->location;
+ return $this->metric;
}
- public function setMessage($message)
+ public function setUsage($usage)
{
- $this->message = $message;
+ $this->usage = $usage;
}
- public function getMessage()
+ public function getUsage()
{
- return $this->message;
+ return $this->usage;
}
}
-class Google_Service_Compute_OperationList extends Google_Collection
+class Google_Service_Compute_Region extends Google_Collection
{
+ public $creationTimestamp;
+ protected $deprecatedType = 'Google_Service_Compute_DeprecationStatus';
+ protected $deprecatedDataType = '';
+ public $description;
public $id;
- protected $itemsType = 'Google_Service_Compute_Operation';
- protected $itemsDataType = 'array';
public $kind;
- public $nextPageToken;
+ public $name;
+ protected $quotasType = 'Google_Service_Compute_Quota';
+ protected $quotasDataType = 'array';
public $selfLink;
+ public $status;
+ public $zones;
- public function setId($id)
+ public function setCreationTimestamp($creationTimestamp)
{
- $this->id = $id;
+ $this->creationTimestamp = $creationTimestamp;
}
- public function getId()
+ public function getCreationTimestamp()
{
- return $this->id;
+ return $this->creationTimestamp;
}
- public function setItems($items)
+ public function setDeprecated(Google_Service_Compute_DeprecationStatus $deprecated)
{
- $this->items = $items;
+ $this->deprecated = $deprecated;
}
- public function getItems()
+ public function getDeprecated()
{
- return $this->items;
+ return $this->deprecated;
}
- public function setKind($kind)
+ public function setDescription($description)
{
- $this->kind = $kind;
+ $this->description = $description;
}
- public function getKind()
+ public function getDescription()
{
- return $this->kind;
+ return $this->description;
}
- public function setNextPageToken($nextPageToken)
+ public function setId($id)
{
- $this->nextPageToken = $nextPageToken;
+ $this->id = $id;
}
- public function getNextPageToken()
+ public function getId()
{
- return $this->nextPageToken;
+ return $this->id;
}
- public function setSelfLink($selfLink)
+ public function setKind($kind)
{
- $this->selfLink = $selfLink;
+ $this->kind = $kind;
}
- public function getSelfLink()
+ public function getKind()
{
- return $this->selfLink;
+ return $this->kind;
}
-}
-
-class Google_Service_Compute_OperationWarnings extends Google_Collection
-{
- public $code;
- protected $dataType = 'Google_Service_Compute_OperationWarningsData';
- protected $dataDataType = 'array';
- public $message;
- public function setCode($code)
+ public function setName($name)
{
- $this->code = $code;
+ $this->name = $name;
}
- public function getCode()
+ public function getName()
{
- return $this->code;
+ return $this->name;
}
- public function setData($data)
+ public function setQuotas($quotas)
{
- $this->data = $data;
+ $this->quotas = $quotas;
}
- public function getData()
+ public function getQuotas()
{
- return $this->data;
+ return $this->quotas;
}
- public function setMessage($message)
+ public function setSelfLink($selfLink)
{
- $this->message = $message;
+ $this->selfLink = $selfLink;
}
- public function getMessage()
+ public function getSelfLink()
{
- return $this->message;
+ return $this->selfLink;
}
-}
-
-class Google_Service_Compute_OperationWarningsData extends Google_Model
-{
- public $key;
- public $value;
- public function setKey($key)
+ public function setStatus($status)
{
- $this->key = $key;
+ $this->status = $status;
}
- public function getKey()
+ public function getStatus()
{
- return $this->key;
+ return $this->status;
}
- public function setValue($value)
+ public function setZones($zones)
{
- $this->value = $value;
+ $this->zones = $zones;
}
- public function getValue()
+ public function getZones()
{
- return $this->value;
+ return $this->zones;
}
}
-class Google_Service_Compute_OperationsScopedList extends Google_Collection
+class Google_Service_Compute_RegionList extends Google_Collection
{
- protected $operationsType = 'Google_Service_Compute_Operation';
- protected $operationsDataType = 'array';
- protected $warningType = 'Google_Service_Compute_OperationsScopedListWarning';
- protected $warningDataType = '';
-
- public function setOperations($operations)
- {
- $this->operations = $operations;
- }
-
- public function getOperations()
- {
- return $this->operations;
- }
+ public $id;
+ protected $itemsType = 'Google_Service_Compute_Region';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
- public function setWarning(Google_Service_Compute_OperationsScopedListWarning $warning)
+ public function setId($id)
{
- $this->warning = $warning;
+ $this->id = $id;
}
- public function getWarning()
+ public function getId()
{
- return $this->warning;
+ return $this->id;
}
-}
-
-class Google_Service_Compute_OperationsScopedListWarning extends Google_Collection
-{
- public $code;
- protected $dataType = 'Google_Service_Compute_OperationsScopedListWarningData';
- protected $dataDataType = 'array';
- public $message;
- public function setCode($code)
+ public function setItems($items)
{
- $this->code = $code;
+ $this->items = $items;
}
- public function getCode()
+ public function getItems()
{
- return $this->code;
+ return $this->items;
}
- public function setData($data)
+ public function setKind($kind)
{
- $this->data = $data;
+ $this->kind = $kind;
}
- public function getData()
+ public function getKind()
{
- return $this->data;
+ return $this->kind;
}
- public function setMessage($message)
+ public function setNextPageToken($nextPageToken)
{
- $this->message = $message;
+ $this->nextPageToken = $nextPageToken;
}
- public function getMessage()
+ public function getNextPageToken()
{
- return $this->message;
+ return $this->nextPageToken;
}
-}
-
-class Google_Service_Compute_OperationsScopedListWarningData extends Google_Model
-{
- public $key;
- public $value;
- public function setKey($key)
+ public function setSelfLink($selfLink)
{
- $this->key = $key;
+ $this->selfLink = $selfLink;
}
- public function getKey()
+ public function getSelfLink()
{
- return $this->key;
+ return $this->selfLink;
}
+}
- public function setValue($value)
+class Google_Service_Compute_ResourceGroupReference extends Google_Model
+{
+ public $group;
+
+ public function setGroup($group)
{
- $this->value = $value;
+ $this->group = $group;
}
- public function getValue()
+ public function getGroup()
{
- return $this->value;
+ return $this->group;
}
}
-class Google_Service_Compute_Project extends Google_Collection
+class Google_Service_Compute_Route extends Google_Collection
{
- protected $commonInstanceMetadataType = 'Google_Service_Compute_Metadata';
- protected $commonInstanceMetadataDataType = '';
public $creationTimestamp;
public $description;
+ public $destRange;
public $id;
public $kind;
public $name;
- protected $quotasType = 'Google_Service_Compute_Quota';
- protected $quotasDataType = 'array';
+ public $network;
+ public $nextHopGateway;
+ public $nextHopInstance;
+ public $nextHopIp;
+ public $nextHopNetwork;
+ public $priority;
public $selfLink;
- protected $usageExportLocationType = 'Google_Service_Compute_UsageExportLocation';
- protected $usageExportLocationDataType = '';
-
- public function setCommonInstanceMetadata(Google_Service_Compute_Metadata $commonInstanceMetadata)
- {
- $this->commonInstanceMetadata = $commonInstanceMetadata;
- }
-
- public function getCommonInstanceMetadata()
- {
- return $this->commonInstanceMetadata;
- }
+ public $tags;
+ protected $warningsType = 'Google_Service_Compute_RouteWarnings';
+ protected $warningsDataType = 'array';
public function setCreationTimestamp($creationTimestamp)
{
@@ -8431,6 +10228,16 @@ public function getDescription()
return $this->description;
}
+ public function setDestRange($destRange)
+ {
+ $this->destRange = $destRange;
+ }
+
+ public function getDestRange()
+ {
+ return $this->destRange;
+ }
+
public function setId($id)
{
$this->id = $id;
@@ -8461,118 +10268,105 @@ public function getName()
return $this->name;
}
- public function setQuotas($quotas)
+ public function setNetwork($network)
{
- $this->quotas = $quotas;
+ $this->network = $network;
}
- public function getQuotas()
+ public function getNetwork()
{
- return $this->quotas;
+ return $this->network;
}
- public function setSelfLink($selfLink)
+ public function setNextHopGateway($nextHopGateway)
{
- $this->selfLink = $selfLink;
+ $this->nextHopGateway = $nextHopGateway;
}
- public function getSelfLink()
+ public function getNextHopGateway()
{
- return $this->selfLink;
+ return $this->nextHopGateway;
}
- public function setUsageExportLocation(Google_Service_Compute_UsageExportLocation $usageExportLocation)
+ public function setNextHopInstance($nextHopInstance)
{
- $this->usageExportLocation = $usageExportLocation;
+ $this->nextHopInstance = $nextHopInstance;
}
- public function getUsageExportLocation()
+ public function getNextHopInstance()
{
- return $this->usageExportLocation;
+ return $this->nextHopInstance;
}
-}
-
-class Google_Service_Compute_Quota extends Google_Model
-{
- public $limit;
- public $metric;
- public $usage;
- public function setLimit($limit)
+ public function setNextHopIp($nextHopIp)
{
- $this->limit = $limit;
+ $this->nextHopIp = $nextHopIp;
}
- public function getLimit()
+ public function getNextHopIp()
{
- return $this->limit;
+ return $this->nextHopIp;
}
- public function setMetric($metric)
+ public function setNextHopNetwork($nextHopNetwork)
{
- $this->metric = $metric;
+ $this->nextHopNetwork = $nextHopNetwork;
}
- public function getMetric()
+ public function getNextHopNetwork()
{
- return $this->metric;
+ return $this->nextHopNetwork;
}
- public function setUsage($usage)
+ public function setPriority($priority)
{
- $this->usage = $usage;
+ $this->priority = $priority;
}
- public function getUsage()
+ public function getPriority()
{
- return $this->usage;
+ return $this->priority;
}
-}
-
-class Google_Service_Compute_Region extends Google_Collection
-{
- public $creationTimestamp;
- protected $deprecatedType = 'Google_Service_Compute_DeprecationStatus';
- protected $deprecatedDataType = '';
- public $description;
- public $id;
- public $kind;
- public $name;
- protected $quotasType = 'Google_Service_Compute_Quota';
- protected $quotasDataType = 'array';
- public $selfLink;
- public $status;
- public $zones;
- public function setCreationTimestamp($creationTimestamp)
+ public function setSelfLink($selfLink)
{
- $this->creationTimestamp = $creationTimestamp;
+ $this->selfLink = $selfLink;
}
- public function getCreationTimestamp()
+ public function getSelfLink()
{
- return $this->creationTimestamp;
+ return $this->selfLink;
}
- public function setDeprecated(Google_Service_Compute_DeprecationStatus $deprecated)
+ public function setTags($tags)
{
- $this->deprecated = $deprecated;
+ $this->tags = $tags;
}
- public function getDeprecated()
+ public function getTags()
{
- return $this->deprecated;
+ return $this->tags;
}
- public function setDescription($description)
+ public function setWarnings($warnings)
{
- $this->description = $description;
+ $this->warnings = $warnings;
}
- public function getDescription()
+ public function getWarnings()
{
- return $this->description;
+ return $this->warnings;
}
+}
+
+class Google_Service_Compute_RouteList extends Google_Collection
+{
+ public $id;
+ protected $itemsType = 'Google_Service_Compute_Route';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
public function setId($id)
{
@@ -8584,6 +10378,16 @@ public function getId()
return $this->id;
}
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
public function setKind($kind)
{
$this->kind = $kind;
@@ -8594,135 +10398,194 @@ public function getKind()
return $this->kind;
}
- public function setName($name)
+ public function setNextPageToken($nextPageToken)
{
- $this->name = $name;
+ $this->nextPageToken = $nextPageToken;
}
- public function getName()
+ public function getNextPageToken()
{
- return $this->name;
+ return $this->nextPageToken;
}
- public function setQuotas($quotas)
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Google_Service_Compute_RouteWarnings extends Google_Collection
+{
+ public $code;
+ protected $dataType = 'Google_Service_Compute_RouteWarningsData';
+ protected $dataDataType = 'array';
+ public $message;
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+
+ public function getCode()
+ {
+ return $this->code;
+ }
+
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+
+ public function getData()
+ {
+ return $this->data;
+ }
+
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Google_Service_Compute_RouteWarningsData extends Google_Model
+{
+ public $key;
+ public $value;
+
+ public function setKey($key)
{
- $this->quotas = $quotas;
+ $this->key = $key;
}
- public function getQuotas()
+ public function getKey()
{
- return $this->quotas;
+ return $this->key;
}
- public function setSelfLink($selfLink)
+ public function setValue($value)
{
- $this->selfLink = $selfLink;
+ $this->value = $value;
}
- public function getSelfLink()
+ public function getValue()
{
- return $this->selfLink;
+ return $this->value;
}
+}
- public function setStatus($status)
+class Google_Service_Compute_Scheduling extends Google_Model
+{
+ public $automaticRestart;
+ public $onHostMaintenance;
+
+ public function setAutomaticRestart($automaticRestart)
{
- $this->status = $status;
+ $this->automaticRestart = $automaticRestart;
}
- public function getStatus()
+ public function getAutomaticRestart()
{
- return $this->status;
+ return $this->automaticRestart;
}
- public function setZones($zones)
+ public function setOnHostMaintenance($onHostMaintenance)
{
- $this->zones = $zones;
+ $this->onHostMaintenance = $onHostMaintenance;
}
- public function getZones()
+ public function getOnHostMaintenance()
{
- return $this->zones;
+ return $this->onHostMaintenance;
}
}
-class Google_Service_Compute_RegionList extends Google_Collection
+class Google_Service_Compute_SerialPortOutput extends Google_Model
{
- public $id;
- protected $itemsType = 'Google_Service_Compute_Region';
- protected $itemsDataType = 'array';
+ public $contents;
public $kind;
- public $nextPageToken;
public $selfLink;
- public function setId($id)
+ public function setContents($contents)
{
- $this->id = $id;
+ $this->contents = $contents;
}
- public function getId()
+ public function getContents()
{
- return $this->id;
+ return $this->contents;
}
- public function setItems($items)
+ public function setKind($kind)
{
- $this->items = $items;
+ $this->kind = $kind;
}
- public function getItems()
+ public function getKind()
{
- return $this->items;
+ return $this->kind;
}
- public function setKind($kind)
+ public function setSelfLink($selfLink)
{
- $this->kind = $kind;
+ $this->selfLink = $selfLink;
}
- public function getKind()
+ public function getSelfLink()
{
- return $this->kind;
+ return $this->selfLink;
}
+}
- public function setNextPageToken($nextPageToken)
+class Google_Service_Compute_ServiceAccount extends Google_Collection
+{
+ public $email;
+ public $scopes;
+
+ public function setEmail($email)
{
- $this->nextPageToken = $nextPageToken;
+ $this->email = $email;
}
- public function getNextPageToken()
+ public function getEmail()
{
- return $this->nextPageToken;
+ return $this->email;
}
- public function setSelfLink($selfLink)
+ public function setScopes($scopes)
{
- $this->selfLink = $selfLink;
+ $this->scopes = $scopes;
}
- public function getSelfLink()
+ public function getScopes()
{
- return $this->selfLink;
+ return $this->scopes;
}
}
-class Google_Service_Compute_Route extends Google_Collection
+class Google_Service_Compute_Snapshot extends Google_Model
{
public $creationTimestamp;
public $description;
- public $destRange;
+ public $diskSizeGb;
public $id;
public $kind;
public $name;
- public $network;
- public $nextHopGateway;
- public $nextHopInstance;
- public $nextHopIp;
- public $nextHopNetwork;
- public $priority;
public $selfLink;
- public $tags;
- protected $warningsType = 'Google_Service_Compute_RouteWarnings';
- protected $warningsDataType = 'array';
+ public $sourceDisk;
+ public $sourceDiskId;
+ public $status;
+ public $storageBytes;
+ public $storageBytesStatus;
public function setCreationTimestamp($creationTimestamp)
{
@@ -8744,14 +10607,14 @@ public function getDescription()
return $this->description;
}
- public function setDestRange($destRange)
+ public function setDiskSizeGb($diskSizeGb)
{
- $this->destRange = $destRange;
+ $this->diskSizeGb = $diskSizeGb;
}
- public function getDestRange()
+ public function getDiskSizeGb()
{
- return $this->destRange;
+ return $this->diskSizeGb;
}
public function setId($id)
@@ -8784,101 +10647,71 @@ public function getName()
return $this->name;
}
- public function setNetwork($network)
- {
- $this->network = $network;
- }
-
- public function getNetwork()
- {
- return $this->network;
- }
-
- public function setNextHopGateway($nextHopGateway)
- {
- $this->nextHopGateway = $nextHopGateway;
- }
-
- public function getNextHopGateway()
- {
- return $this->nextHopGateway;
- }
-
- public function setNextHopInstance($nextHopInstance)
- {
- $this->nextHopInstance = $nextHopInstance;
- }
-
- public function getNextHopInstance()
- {
- return $this->nextHopInstance;
- }
-
- public function setNextHopIp($nextHopIp)
+ public function setSelfLink($selfLink)
{
- $this->nextHopIp = $nextHopIp;
+ $this->selfLink = $selfLink;
}
- public function getNextHopIp()
+ public function getSelfLink()
{
- return $this->nextHopIp;
+ return $this->selfLink;
}
- public function setNextHopNetwork($nextHopNetwork)
+ public function setSourceDisk($sourceDisk)
{
- $this->nextHopNetwork = $nextHopNetwork;
+ $this->sourceDisk = $sourceDisk;
}
- public function getNextHopNetwork()
+ public function getSourceDisk()
{
- return $this->nextHopNetwork;
+ return $this->sourceDisk;
}
- public function setPriority($priority)
+ public function setSourceDiskId($sourceDiskId)
{
- $this->priority = $priority;
+ $this->sourceDiskId = $sourceDiskId;
}
- public function getPriority()
+ public function getSourceDiskId()
{
- return $this->priority;
+ return $this->sourceDiskId;
}
- public function setSelfLink($selfLink)
+ public function setStatus($status)
{
- $this->selfLink = $selfLink;
+ $this->status = $status;
}
- public function getSelfLink()
+ public function getStatus()
{
- return $this->selfLink;
+ return $this->status;
}
- public function setTags($tags)
+ public function setStorageBytes($storageBytes)
{
- $this->tags = $tags;
+ $this->storageBytes = $storageBytes;
}
- public function getTags()
+ public function getStorageBytes()
{
- return $this->tags;
+ return $this->storageBytes;
}
- public function setWarnings($warnings)
+ public function setStorageBytesStatus($storageBytesStatus)
{
- $this->warnings = $warnings;
+ $this->storageBytesStatus = $storageBytesStatus;
}
- public function getWarnings()
+ public function getStorageBytesStatus()
{
- return $this->warnings;
+ return $this->storageBytesStatus;
}
}
-class Google_Service_Compute_RouteList extends Google_Collection
+class Google_Service_Compute_SnapshotList extends Google_Collection
{
public $id;
- protected $itemsType = 'Google_Service_Compute_Route';
+ protected $itemsType = 'Google_Service_Compute_Snapshot';
protected $itemsDataType = 'array';
public $kind;
public $nextPageToken;
@@ -8935,173 +10768,184 @@ public function getSelfLink()
}
}
-class Google_Service_Compute_RouteWarnings extends Google_Collection
+class Google_Service_Compute_Tags extends Google_Collection
{
- public $code;
- protected $dataType = 'Google_Service_Compute_RouteWarningsData';
- protected $dataDataType = 'array';
- public $message;
+ public $fingerprint;
+ public $items;
- public function setCode($code)
+ public function setFingerprint($fingerprint)
{
- $this->code = $code;
+ $this->fingerprint = $fingerprint;
}
- public function getCode()
+ public function getFingerprint()
{
- return $this->code;
+ return $this->fingerprint;
}
- public function setData($data)
+ public function setItems($items)
{
- $this->data = $data;
+ $this->items = $items;
}
- public function getData()
+ public function getItems()
{
- return $this->data;
+ return $this->items;
}
+}
- public function setMessage($message)
+class Google_Service_Compute_TargetHttpProxy extends Google_Model
+{
+ public $creationTimestamp;
+ public $description;
+ public $id;
+ public $kind;
+ public $name;
+ public $selfLink;
+ public $urlMap;
+
+ public function setCreationTimestamp($creationTimestamp)
{
- $this->message = $message;
+ $this->creationTimestamp = $creationTimestamp;
}
- public function getMessage()
+ public function getCreationTimestamp()
{
- return $this->message;
+ return $this->creationTimestamp;
}
-}
-class Google_Service_Compute_RouteWarningsData extends Google_Model
-{
- public $key;
- public $value;
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
- public function setKey($key)
+ public function getId()
{
- $this->key = $key;
+ return $this->id;
}
- public function getKey()
+ public function setKind($kind)
{
- return $this->key;
+ $this->kind = $kind;
}
- public function setValue($value)
+ public function getKind()
{
- $this->value = $value;
+ return $this->kind;
}
- public function getValue()
+ public function setName($name)
{
- return $this->value;
+ $this->name = $name;
}
-}
-class Google_Service_Compute_Scheduling extends Google_Model
-{
- public $automaticRestart;
- public $onHostMaintenance;
+ public function getName()
+ {
+ return $this->name;
+ }
- public function setAutomaticRestart($automaticRestart)
+ public function setSelfLink($selfLink)
{
- $this->automaticRestart = $automaticRestart;
+ $this->selfLink = $selfLink;
}
- public function getAutomaticRestart()
+ public function getSelfLink()
{
- return $this->automaticRestart;
+ return $this->selfLink;
}
- public function setOnHostMaintenance($onHostMaintenance)
+ public function setUrlMap($urlMap)
{
- $this->onHostMaintenance = $onHostMaintenance;
+ $this->urlMap = $urlMap;
}
- public function getOnHostMaintenance()
+ public function getUrlMap()
{
- return $this->onHostMaintenance;
+ return $this->urlMap;
}
}
-class Google_Service_Compute_SerialPortOutput extends Google_Model
+class Google_Service_Compute_TargetHttpProxyList extends Google_Collection
{
- public $contents;
+ public $id;
+ protected $itemsType = 'Google_Service_Compute_TargetHttpProxy';
+ protected $itemsDataType = 'array';
public $kind;
+ public $nextPageToken;
public $selfLink;
- public function setContents($contents)
+ public function setId($id)
{
- $this->contents = $contents;
+ $this->id = $id;
}
- public function getContents()
+ public function getId()
{
- return $this->contents;
+ return $this->id;
}
- public function setKind($kind)
+ public function setItems($items)
{
- $this->kind = $kind;
+ $this->items = $items;
}
- public function getKind()
+ public function getItems()
{
- return $this->kind;
+ return $this->items;
}
- public function setSelfLink($selfLink)
+ public function setKind($kind)
{
- $this->selfLink = $selfLink;
+ $this->kind = $kind;
}
- public function getSelfLink()
+ public function getKind()
{
- return $this->selfLink;
+ return $this->kind;
}
-}
-
-class Google_Service_Compute_ServiceAccount extends Google_Collection
-{
- public $email;
- public $scopes;
- public function setEmail($email)
+ public function setNextPageToken($nextPageToken)
{
- $this->email = $email;
+ $this->nextPageToken = $nextPageToken;
}
- public function getEmail()
+ public function getNextPageToken()
{
- return $this->email;
+ return $this->nextPageToken;
}
- public function setScopes($scopes)
+ public function setSelfLink($selfLink)
{
- $this->scopes = $scopes;
+ $this->selfLink = $selfLink;
}
- public function getScopes()
+ public function getSelfLink()
{
- return $this->scopes;
+ return $this->selfLink;
}
}
-class Google_Service_Compute_Snapshot extends Google_Model
+class Google_Service_Compute_TargetInstance extends Google_Model
{
public $creationTimestamp;
public $description;
- public $diskSizeGb;
public $id;
+ public $instance;
public $kind;
public $name;
+ public $natPolicy;
public $selfLink;
- public $sourceDisk;
- public $sourceDiskId;
- public $status;
- public $storageBytes;
- public $storageBytesStatus;
+ public $zone;
public function setCreationTimestamp($creationTimestamp)
{
@@ -9123,24 +10967,24 @@ public function getDescription()
return $this->description;
}
- public function setDiskSizeGb($diskSizeGb)
+ public function setId($id)
{
- $this->diskSizeGb = $diskSizeGb;
+ $this->id = $id;
}
- public function getDiskSizeGb()
+ public function getId()
{
- return $this->diskSizeGb;
+ return $this->id;
}
- public function setId($id)
+ public function setInstance($instance)
{
- $this->id = $id;
+ $this->instance = $instance;
}
- public function getId()
+ public function getInstance()
{
- return $this->id;
+ return $this->instance;
}
public function setKind($kind)
@@ -9163,6 +11007,16 @@ public function getName()
return $this->name;
}
+ public function setNatPolicy($natPolicy)
+ {
+ $this->natPolicy = $natPolicy;
+ }
+
+ public function getNatPolicy()
+ {
+ return $this->natPolicy;
+ }
+
public function setSelfLink($selfLink)
{
$this->selfLink = $selfLink;
@@ -9173,61 +11027,81 @@ public function getSelfLink()
return $this->selfLink;
}
- public function setSourceDisk($sourceDisk)
+ public function setZone($zone)
{
- $this->sourceDisk = $sourceDisk;
+ $this->zone = $zone;
}
- public function getSourceDisk()
+ public function getZone()
{
- return $this->sourceDisk;
+ return $this->zone;
}
+}
- public function setSourceDiskId($sourceDiskId)
+class Google_Service_Compute_TargetInstanceAggregatedList extends Google_Model
+{
+ public $id;
+ protected $itemsType = 'Google_Service_Compute_TargetInstancesScopedList';
+ protected $itemsDataType = 'map';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+ public function setId($id)
{
- $this->sourceDiskId = $sourceDiskId;
+ $this->id = $id;
}
- public function getSourceDiskId()
+ public function getId()
{
- return $this->sourceDiskId;
+ return $this->id;
}
- public function setStatus($status)
+ public function setItems($items)
{
- $this->status = $status;
+ $this->items = $items;
}
- public function getStatus()
+ public function getItems()
{
- return $this->status;
+ return $this->items;
}
- public function setStorageBytes($storageBytes)
+ public function setKind($kind)
{
- $this->storageBytes = $storageBytes;
+ $this->kind = $kind;
}
- public function getStorageBytes()
+ public function getKind()
{
- return $this->storageBytes;
+ return $this->kind;
}
- public function setStorageBytesStatus($storageBytesStatus)
+ public function setNextPageToken($nextPageToken)
{
- $this->storageBytesStatus = $storageBytesStatus;
+ $this->nextPageToken = $nextPageToken;
}
- public function getStorageBytesStatus()
+ public function getNextPageToken()
{
- return $this->storageBytesStatus;
+ return $this->nextPageToken;
+ }
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+
+ public function getSelfLink()
+ {
+ return $this->selfLink;
}
}
-class Google_Service_Compute_SnapshotList extends Google_Collection
+class Google_Service_Compute_TargetInstanceList extends Google_Collection
{
public $id;
- protected $itemsType = 'Google_Service_Compute_Snapshot';
+ protected $itemsType = 'Google_Service_Compute_TargetInstance';
protected $itemsDataType = 'array';
public $kind;
public $nextPageToken;
@@ -9273,54 +11147,133 @@ public function getNextPageToken()
return $this->nextPageToken;
}
- public function setSelfLink($selfLink)
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Google_Service_Compute_TargetInstancesScopedList extends Google_Collection
+{
+ protected $targetInstancesType = 'Google_Service_Compute_TargetInstance';
+ protected $targetInstancesDataType = 'array';
+ protected $warningType = 'Google_Service_Compute_TargetInstancesScopedListWarning';
+ protected $warningDataType = '';
+
+ public function setTargetInstances($targetInstances)
+ {
+ $this->targetInstances = $targetInstances;
+ }
+
+ public function getTargetInstances()
+ {
+ return $this->targetInstances;
+ }
+
+ public function setWarning(Google_Service_Compute_TargetInstancesScopedListWarning $warning)
+ {
+ $this->warning = $warning;
+ }
+
+ public function getWarning()
+ {
+ return $this->warning;
+ }
+}
+
+class Google_Service_Compute_TargetInstancesScopedListWarning extends Google_Collection
+{
+ public $code;
+ protected $dataType = 'Google_Service_Compute_TargetInstancesScopedListWarningData';
+ protected $dataDataType = 'array';
+ public $message;
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+
+ public function getCode()
+ {
+ return $this->code;
+ }
+
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+
+ public function getData()
+ {
+ return $this->data;
+ }
+
+ public function setMessage($message)
{
- $this->selfLink = $selfLink;
+ $this->message = $message;
}
- public function getSelfLink()
+ public function getMessage()
{
- return $this->selfLink;
+ return $this->message;
}
}
-class Google_Service_Compute_Tags extends Google_Collection
+class Google_Service_Compute_TargetInstancesScopedListWarningData extends Google_Model
{
- public $fingerprint;
- public $items;
+ public $key;
+ public $value;
- public function setFingerprint($fingerprint)
+ public function setKey($key)
{
- $this->fingerprint = $fingerprint;
+ $this->key = $key;
}
- public function getFingerprint()
+ public function getKey()
{
- return $this->fingerprint;
+ return $this->key;
}
- public function setItems($items)
+ public function setValue($value)
{
- $this->items = $items;
+ $this->value = $value;
}
- public function getItems()
+ public function getValue()
{
- return $this->items;
+ return $this->value;
}
}
-class Google_Service_Compute_TargetInstance extends Google_Model
+class Google_Service_Compute_TargetPool extends Google_Collection
{
+ public $backupPool;
public $creationTimestamp;
public $description;
+ public $failoverRatio;
+ public $healthChecks;
public $id;
- public $instance;
+ public $instances;
public $kind;
public $name;
- public $natPolicy;
+ public $region;
public $selfLink;
- public $zone;
+ public $sessionAffinity;
+
+ public function setBackupPool($backupPool)
+ {
+ $this->backupPool = $backupPool;
+ }
+
+ public function getBackupPool()
+ {
+ return $this->backupPool;
+ }
public function setCreationTimestamp($creationTimestamp)
{
@@ -9342,6 +11295,26 @@ public function getDescription()
return $this->description;
}
+ public function setFailoverRatio($failoverRatio)
+ {
+ $this->failoverRatio = $failoverRatio;
+ }
+
+ public function getFailoverRatio()
+ {
+ return $this->failoverRatio;
+ }
+
+ public function setHealthChecks($healthChecks)
+ {
+ $this->healthChecks = $healthChecks;
+ }
+
+ public function getHealthChecks()
+ {
+ return $this->healthChecks;
+ }
+
public function setId($id)
{
$this->id = $id;
@@ -9352,14 +11325,14 @@ public function getId()
return $this->id;
}
- public function setInstance($instance)
+ public function setInstances($instances)
{
- $this->instance = $instance;
+ $this->instances = $instances;
}
- public function getInstance()
+ public function getInstances()
{
- return $this->instance;
+ return $this->instances;
}
public function setKind($kind)
@@ -9382,14 +11355,14 @@ public function getName()
return $this->name;
}
- public function setNatPolicy($natPolicy)
+ public function setRegion($region)
{
- $this->natPolicy = $natPolicy;
+ $this->region = $region;
}
- public function getNatPolicy()
+ public function getRegion()
{
- return $this->natPolicy;
+ return $this->region;
}
public function setSelfLink($selfLink)
@@ -9402,21 +11375,21 @@ public function getSelfLink()
return $this->selfLink;
}
- public function setZone($zone)
+ public function setSessionAffinity($sessionAffinity)
{
- $this->zone = $zone;
+ $this->sessionAffinity = $sessionAffinity;
}
- public function getZone()
+ public function getSessionAffinity()
{
- return $this->zone;
+ return $this->sessionAffinity;
}
}
-class Google_Service_Compute_TargetInstanceAggregatedList extends Google_Model
+class Google_Service_Compute_TargetPoolAggregatedList extends Google_Model
{
public $id;
- protected $itemsType = 'Google_Service_Compute_TargetInstancesScopedList';
+ protected $itemsType = 'Google_Service_Compute_TargetPoolsScopedList';
protected $itemsDataType = 'map';
public $kind;
public $nextPageToken;
@@ -9473,10 +11446,37 @@ public function getSelfLink()
}
}
-class Google_Service_Compute_TargetInstanceList extends Google_Collection
+class Google_Service_Compute_TargetPoolInstanceHealth extends Google_Collection
+{
+ protected $healthStatusType = 'Google_Service_Compute_HealthStatus';
+ protected $healthStatusDataType = 'array';
+ public $kind;
+
+ public function setHealthStatus($healthStatus)
+ {
+ $this->healthStatus = $healthStatus;
+ }
+
+ public function getHealthStatus()
+ {
+ return $this->healthStatus;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Compute_TargetPoolList extends Google_Collection
{
public $id;
- protected $itemsType = 'Google_Service_Compute_TargetInstance';
+ protected $itemsType = 'Google_Service_Compute_TargetPool';
protected $itemsDataType = 'array';
public $kind;
public $nextPageToken;
@@ -9533,24 +11533,88 @@ public function getSelfLink()
}
}
-class Google_Service_Compute_TargetInstancesScopedList extends Google_Collection
+class Google_Service_Compute_TargetPoolsAddHealthCheckRequest extends Google_Collection
{
- protected $targetInstancesType = 'Google_Service_Compute_TargetInstance';
- protected $targetInstancesDataType = 'array';
- protected $warningType = 'Google_Service_Compute_TargetInstancesScopedListWarning';
+ protected $healthChecksType = 'Google_Service_Compute_HealthCheckReference';
+ protected $healthChecksDataType = 'array';
+
+ public function setHealthChecks($healthChecks)
+ {
+ $this->healthChecks = $healthChecks;
+ }
+
+ public function getHealthChecks()
+ {
+ return $this->healthChecks;
+ }
+}
+
+class Google_Service_Compute_TargetPoolsAddInstanceRequest extends Google_Collection
+{
+ protected $instancesType = 'Google_Service_Compute_InstanceReference';
+ protected $instancesDataType = 'array';
+
+ public function setInstances($instances)
+ {
+ $this->instances = $instances;
+ }
+
+ public function getInstances()
+ {
+ return $this->instances;
+ }
+}
+
+class Google_Service_Compute_TargetPoolsRemoveHealthCheckRequest extends Google_Collection
+{
+ protected $healthChecksType = 'Google_Service_Compute_HealthCheckReference';
+ protected $healthChecksDataType = 'array';
+
+ public function setHealthChecks($healthChecks)
+ {
+ $this->healthChecks = $healthChecks;
+ }
+
+ public function getHealthChecks()
+ {
+ return $this->healthChecks;
+ }
+}
+
+class Google_Service_Compute_TargetPoolsRemoveInstanceRequest extends Google_Collection
+{
+ protected $instancesType = 'Google_Service_Compute_InstanceReference';
+ protected $instancesDataType = 'array';
+
+ public function setInstances($instances)
+ {
+ $this->instances = $instances;
+ }
+
+ public function getInstances()
+ {
+ return $this->instances;
+ }
+}
+
+class Google_Service_Compute_TargetPoolsScopedList extends Google_Collection
+{
+ protected $targetPoolsType = 'Google_Service_Compute_TargetPool';
+ protected $targetPoolsDataType = 'array';
+ protected $warningType = 'Google_Service_Compute_TargetPoolsScopedListWarning';
protected $warningDataType = '';
- public function setTargetInstances($targetInstances)
+ public function setTargetPools($targetPools)
{
- $this->targetInstances = $targetInstances;
+ $this->targetPools = $targetPools;
}
- public function getTargetInstances()
+ public function getTargetPools()
{
- return $this->targetInstances;
+ return $this->targetPools;
}
- public function setWarning(Google_Service_Compute_TargetInstancesScopedListWarning $warning)
+ public function setWarning(Google_Service_Compute_TargetPoolsScopedListWarning $warning)
{
$this->warning = $warning;
}
@@ -9561,10 +11625,10 @@ public function getWarning()
}
}
-class Google_Service_Compute_TargetInstancesScopedListWarning extends Google_Collection
+class Google_Service_Compute_TargetPoolsScopedListWarning extends Google_Collection
{
public $code;
- protected $dataType = 'Google_Service_Compute_TargetInstancesScopedListWarningData';
+ protected $dataType = 'Google_Service_Compute_TargetPoolsScopedListWarningData';
protected $dataDataType = 'array';
public $message;
@@ -9599,176 +11663,161 @@ public function getMessage()
}
}
-class Google_Service_Compute_TargetInstancesScopedListWarningData extends Google_Model
-{
- public $key;
- public $value;
-
- public function setKey($key)
- {
- $this->key = $key;
- }
-
- public function getKey()
- {
- return $this->key;
- }
-
- public function setValue($value)
- {
- $this->value = $value;
- }
-
- public function getValue()
- {
- return $this->value;
- }
-}
-
-class Google_Service_Compute_TargetPool extends Google_Collection
+class Google_Service_Compute_TargetPoolsScopedListWarningData extends Google_Model
{
- public $backupPool;
- public $creationTimestamp;
- public $description;
- public $failoverRatio;
- public $healthChecks;
- public $id;
- public $instances;
- public $kind;
- public $name;
- public $region;
- public $selfLink;
- public $sessionAffinity;
+ public $key;
+ public $value;
- public function setBackupPool($backupPool)
+ public function setKey($key)
{
- $this->backupPool = $backupPool;
+ $this->key = $key;
}
- public function getBackupPool()
+ public function getKey()
{
- return $this->backupPool;
+ return $this->key;
}
- public function setCreationTimestamp($creationTimestamp)
+ public function setValue($value)
{
- $this->creationTimestamp = $creationTimestamp;
+ $this->value = $value;
}
- public function getCreationTimestamp()
+ public function getValue()
{
- return $this->creationTimestamp;
+ return $this->value;
}
+}
- public function setDescription($description)
+class Google_Service_Compute_TargetReference extends Google_Model
+{
+ public $target;
+
+ public function setTarget($target)
{
- $this->description = $description;
+ $this->target = $target;
}
- public function getDescription()
+ public function getTarget()
{
- return $this->description;
+ return $this->target;
}
+}
- public function setFailoverRatio($failoverRatio)
+class Google_Service_Compute_TestFailure extends Google_Model
+{
+ public $actualService;
+ public $expectedService;
+ public $host;
+ public $path;
+
+ public function setActualService($actualService)
{
- $this->failoverRatio = $failoverRatio;
+ $this->actualService = $actualService;
}
- public function getFailoverRatio()
+ public function getActualService()
{
- return $this->failoverRatio;
+ return $this->actualService;
}
- public function setHealthChecks($healthChecks)
+ public function setExpectedService($expectedService)
{
- $this->healthChecks = $healthChecks;
+ $this->expectedService = $expectedService;
}
- public function getHealthChecks()
+ public function getExpectedService()
{
- return $this->healthChecks;
+ return $this->expectedService;
}
- public function setId($id)
+ public function setHost($host)
{
- $this->id = $id;
+ $this->host = $host;
}
- public function getId()
+ public function getHost()
{
- return $this->id;
+ return $this->host;
}
- public function setInstances($instances)
+ public function setPath($path)
{
- $this->instances = $instances;
+ $this->path = $path;
}
- public function getInstances()
+ public function getPath()
{
- return $this->instances;
+ return $this->path;
}
+}
- public function setKind($kind)
+class Google_Service_Compute_UrlMap extends Google_Collection
+{
+ public $creationTimestamp;
+ public $defaultService;
+ public $description;
+ public $fingerprint;
+ protected $hostRulesType = 'Google_Service_Compute_HostRule';
+ protected $hostRulesDataType = 'array';
+ public $id;
+ public $kind;
+ public $name;
+ protected $pathMatchersType = 'Google_Service_Compute_PathMatcher';
+ protected $pathMatchersDataType = 'array';
+ public $selfLink;
+ protected $testsType = 'Google_Service_Compute_UrlMapTest';
+ protected $testsDataType = 'array';
+
+ public function setCreationTimestamp($creationTimestamp)
{
- $this->kind = $kind;
+ $this->creationTimestamp = $creationTimestamp;
}
- public function getKind()
+ public function getCreationTimestamp()
{
- return $this->kind;
+ return $this->creationTimestamp;
}
- public function setName($name)
+ public function setDefaultService($defaultService)
{
- $this->name = $name;
+ $this->defaultService = $defaultService;
}
- public function getName()
+ public function getDefaultService()
{
- return $this->name;
+ return $this->defaultService;
}
- public function setRegion($region)
+ public function setDescription($description)
{
- $this->region = $region;
+ $this->description = $description;
}
- public function getRegion()
+ public function getDescription()
{
- return $this->region;
+ return $this->description;
}
- public function setSelfLink($selfLink)
+ public function setFingerprint($fingerprint)
{
- $this->selfLink = $selfLink;
+ $this->fingerprint = $fingerprint;
}
- public function getSelfLink()
+ public function getFingerprint()
{
- return $this->selfLink;
+ return $this->fingerprint;
}
- public function setSessionAffinity($sessionAffinity)
+ public function setHostRules($hostRules)
{
- $this->sessionAffinity = $sessionAffinity;
+ $this->hostRules = $hostRules;
}
- public function getSessionAffinity()
+ public function getHostRules()
{
- return $this->sessionAffinity;
+ return $this->hostRules;
}
-}
-
-class Google_Service_Compute_TargetPoolAggregatedList extends Google_Model
-{
- public $id;
- protected $itemsType = 'Google_Service_Compute_TargetPoolsScopedList';
- protected $itemsDataType = 'map';
- public $kind;
- public $nextPageToken;
- public $selfLink;
public function setId($id)
{
@@ -9780,16 +11829,6 @@ public function getId()
return $this->id;
}
- public function setItems($items)
- {
- $this->items = $items;
- }
-
- public function getItems()
- {
- return $this->items;
- }
-
public function setKind($kind)
{
$this->kind = $kind;
@@ -9800,58 +11839,51 @@ public function getKind()
return $this->kind;
}
- public function setNextPageToken($nextPageToken)
+ public function setName($name)
{
- $this->nextPageToken = $nextPageToken;
+ $this->name = $name;
}
- public function getNextPageToken()
+ public function getName()
{
- return $this->nextPageToken;
+ return $this->name;
}
- public function setSelfLink($selfLink)
+ public function setPathMatchers($pathMatchers)
{
- $this->selfLink = $selfLink;
+ $this->pathMatchers = $pathMatchers;
}
- public function getSelfLink()
+ public function getPathMatchers()
{
- return $this->selfLink;
+ return $this->pathMatchers;
}
-}
-
-class Google_Service_Compute_TargetPoolInstanceHealth extends Google_Collection
-{
- protected $healthStatusType = 'Google_Service_Compute_HealthStatus';
- protected $healthStatusDataType = 'array';
- public $kind;
- public function setHealthStatus($healthStatus)
+ public function setSelfLink($selfLink)
{
- $this->healthStatus = $healthStatus;
+ $this->selfLink = $selfLink;
}
- public function getHealthStatus()
+ public function getSelfLink()
{
- return $this->healthStatus;
+ return $this->selfLink;
}
- public function setKind($kind)
+ public function setTests($tests)
{
- $this->kind = $kind;
+ $this->tests = $tests;
}
- public function getKind()
+ public function getTests()
{
- return $this->kind;
+ return $this->tests;
}
}
-class Google_Service_Compute_TargetPoolList extends Google_Collection
+class Google_Service_Compute_UrlMapList extends Google_Collection
{
public $id;
- protected $itemsType = 'Google_Service_Compute_TargetPool';
+ protected $itemsType = 'Google_Service_Compute_UrlMap';
protected $itemsDataType = 'array';
public $kind;
public $nextPageToken;
@@ -9908,174 +11940,147 @@ public function getSelfLink()
}
}
-class Google_Service_Compute_TargetPoolsAddHealthCheckRequest extends Google_Collection
-{
- protected $healthChecksType = 'Google_Service_Compute_HealthCheckReference';
- protected $healthChecksDataType = 'array';
-
- public function setHealthChecks($healthChecks)
- {
- $this->healthChecks = $healthChecks;
- }
-
- public function getHealthChecks()
- {
- return $this->healthChecks;
- }
-}
-
-class Google_Service_Compute_TargetPoolsAddInstanceRequest extends Google_Collection
+class Google_Service_Compute_UrlMapReference extends Google_Model
{
- protected $instancesType = 'Google_Service_Compute_InstanceReference';
- protected $instancesDataType = 'array';
+ public $urlMap;
- public function setInstances($instances)
+ public function setUrlMap($urlMap)
{
- $this->instances = $instances;
+ $this->urlMap = $urlMap;
}
- public function getInstances()
+ public function getUrlMap()
{
- return $this->instances;
+ return $this->urlMap;
}
}
-class Google_Service_Compute_TargetPoolsRemoveHealthCheckRequest extends Google_Collection
+class Google_Service_Compute_UrlMapTest extends Google_Model
{
- protected $healthChecksType = 'Google_Service_Compute_HealthCheckReference';
- protected $healthChecksDataType = 'array';
+ public $description;
+ public $host;
+ public $path;
+ public $service;
- public function setHealthChecks($healthChecks)
+ public function setDescription($description)
{
- $this->healthChecks = $healthChecks;
+ $this->description = $description;
}
- public function getHealthChecks()
+ public function getDescription()
{
- return $this->healthChecks;
+ return $this->description;
}
-}
-
-class Google_Service_Compute_TargetPoolsRemoveInstanceRequest extends Google_Collection
-{
- protected $instancesType = 'Google_Service_Compute_InstanceReference';
- protected $instancesDataType = 'array';
- public function setInstances($instances)
+ public function setHost($host)
{
- $this->instances = $instances;
+ $this->host = $host;
}
- public function getInstances()
+ public function getHost()
{
- return $this->instances;
+ return $this->host;
}
-}
-
-class Google_Service_Compute_TargetPoolsScopedList extends Google_Collection
-{
- protected $targetPoolsType = 'Google_Service_Compute_TargetPool';
- protected $targetPoolsDataType = 'array';
- protected $warningType = 'Google_Service_Compute_TargetPoolsScopedListWarning';
- protected $warningDataType = '';
- public function setTargetPools($targetPools)
+ public function setPath($path)
{
- $this->targetPools = $targetPools;
+ $this->path = $path;
}
- public function getTargetPools()
+ public function getPath()
{
- return $this->targetPools;
+ return $this->path;
}
- public function setWarning(Google_Service_Compute_TargetPoolsScopedListWarning $warning)
+ public function setService($service)
{
- $this->warning = $warning;
+ $this->service = $service;
}
- public function getWarning()
+ public function getService()
{
- return $this->warning;
+ return $this->service;
}
}
-class Google_Service_Compute_TargetPoolsScopedListWarning extends Google_Collection
+class Google_Service_Compute_UrlMapValidationResult extends Google_Collection
{
- public $code;
- protected $dataType = 'Google_Service_Compute_TargetPoolsScopedListWarningData';
- protected $dataDataType = 'array';
- public $message;
+ public $loadErrors;
+ public $loadSucceeded;
+ protected $testFailuresType = 'Google_Service_Compute_TestFailure';
+ protected $testFailuresDataType = 'array';
+ public $testPassed;
- public function setCode($code)
+ public function setLoadErrors($loadErrors)
{
- $this->code = $code;
+ $this->loadErrors = $loadErrors;
}
- public function getCode()
+ public function getLoadErrors()
{
- return $this->code;
+ return $this->loadErrors;
}
- public function setData($data)
+ public function setLoadSucceeded($loadSucceeded)
{
- $this->data = $data;
+ $this->loadSucceeded = $loadSucceeded;
}
- public function getData()
+ public function getLoadSucceeded()
{
- return $this->data;
+ return $this->loadSucceeded;
}
- public function setMessage($message)
+ public function setTestFailures($testFailures)
{
- $this->message = $message;
+ $this->testFailures = $testFailures;
}
- public function getMessage()
+ public function getTestFailures()
{
- return $this->message;
+ return $this->testFailures;
}
-}
-
-class Google_Service_Compute_TargetPoolsScopedListWarningData extends Google_Model
-{
- public $key;
- public $value;
- public function setKey($key)
+ public function setTestPassed($testPassed)
{
- $this->key = $key;
+ $this->testPassed = $testPassed;
}
- public function getKey()
+ public function getTestPassed()
{
- return $this->key;
+ return $this->testPassed;
}
+}
- public function setValue($value)
+class Google_Service_Compute_UrlMapsValidateRequest extends Google_Model
+{
+ protected $resourceType = 'Google_Service_Compute_UrlMap';
+ protected $resourceDataType = '';
+
+ public function setResource(Google_Service_Compute_UrlMap $resource)
{
- $this->value = $value;
+ $this->resource = $resource;
}
- public function getValue()
+ public function getResource()
{
- return $this->value;
+ return $this->resource;
}
}
-class Google_Service_Compute_TargetReference extends Google_Model
+class Google_Service_Compute_UrlMapsValidateResponse extends Google_Model
{
- public $target;
+ protected $resultType = 'Google_Service_Compute_UrlMapValidationResult';
+ protected $resultDataType = '';
- public function setTarget($target)
+ public function setResult(Google_Service_Compute_UrlMapValidationResult $result)
{
- $this->target = $target;
+ $this->result = $result;
}
- public function getTarget()
+ public function getResult()
{
- return $this->target;
+ return $this->result;
}
}
From 2d1d56260f3da47a7ef34231551f7b1e0a0b2d81 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
+ * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
+ * $pretargetingConfig = $adexchangebuyerService->pretargetingConfig;
+ *
+ */
+class Google_Service_AdExchangeBuyer_PretargetingConfig_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Deletes an existing pretargeting config. (pretargetingConfig.delete)
+ *
+ * @param string $accountId
+ * The account id to delete the pretargeting config for.
+ * @param string $configId
+ * The specific id of the configuration to delete.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($accountId, $configId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'configId' => $configId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Gets a specific pretargeting configuration (pretargetingConfig.get)
+ *
+ * @param string $accountId
+ * The account id to get the pretargeting config for.
+ * @param string $configId
+ * The specific id of the configuration to retrieve.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdExchangeBuyer_PretargetingConfig
+ */
+ public function get($accountId, $configId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'configId' => $configId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_PretargetingConfig");
+ }
+ /**
+ * Inserts a new pretargeting configuration. (pretargetingConfig.insert)
+ *
+ * @param string $accountId
+ * The account id to insert the pretargeting config for.
+ * @param Google_PretargetingConfig $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdExchangeBuyer_PretargetingConfig
+ */
+ public function insert($accountId, Google_Service_AdExchangeBuyer_PretargetingConfig $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_AdExchangeBuyer_PretargetingConfig");
+ }
+ /**
+ * Retrieves a list of the authenticated user's pretargeting configurations.
+ * (pretargetingConfig.listPretargetingConfig)
+ *
+ * @param string $accountId
+ * The account id to get the pretargeting configs for.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdExchangeBuyer_PretargetingConfigList
+ */
+ public function listPretargetingConfig($accountId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_PretargetingConfigList");
+ }
+ /**
+ * Updates an existing pretargeting config. This method supports patch
+ * semantics. (pretargetingConfig.patch)
+ *
+ * @param string $accountId
+ * The account id to update the pretargeting config for.
+ * @param string $configId
+ * The specific id of the configuration to update.
+ * @param Google_PretargetingConfig $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdExchangeBuyer_PretargetingConfig
+ */
+ public function patch($accountId, $configId, Google_Service_AdExchangeBuyer_PretargetingConfig $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'configId' => $configId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_AdExchangeBuyer_PretargetingConfig");
+ }
+ /**
+ * Updates an existing pretargeting config. (pretargetingConfig.update)
+ *
+ * @param string $accountId
+ * The account id to update the pretargeting config for.
+ * @param string $configId
+ * The specific id of the configuration to update.
+ * @param Google_PretargetingConfig $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdExchangeBuyer_PretargetingConfig
+ */
+ public function update($accountId, $configId, Google_Service_AdExchangeBuyer_PretargetingConfig $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'configId' => $configId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_AdExchangeBuyer_PretargetingConfig");
+ }
+}
+
@@ -1300,3 +1500,357 @@ public function getPerformanceReport()
return $this->performanceReport;
}
}
+
+class Google_Service_AdExchangeBuyer_PretargetingConfig extends Google_Collection
+{
+ public $configId;
+ public $configName;
+ public $creativeType;
+ protected $dimensionsType = 'Google_Service_AdExchangeBuyer_PretargetingConfigDimensions';
+ protected $dimensionsDataType = 'array';
+ public $excludedContentLabels;
+ public $excludedGeoCriteriaIds;
+ protected $excludedPlacementsType = 'Google_Service_AdExchangeBuyer_PretargetingConfigExcludedPlacements';
+ protected $excludedPlacementsDataType = 'array';
+ public $excludedUserLists;
+ public $excludedVerticals;
+ public $geoCriteriaIds;
+ public $isActive;
+ public $kind;
+ public $languages;
+ public $mobileCarriers;
+ public $mobileDevices;
+ public $mobileOperatingSystemVersions;
+ protected $placementsType = 'Google_Service_AdExchangeBuyer_PretargetingConfigPlacements';
+ protected $placementsDataType = 'array';
+ public $platforms;
+ public $supportedCreativeAttributes;
+ public $userLists;
+ public $vendorTypes;
+ public $verticals;
+
+ public function setConfigId($configId)
+ {
+ $this->configId = $configId;
+ }
+
+ public function getConfigId()
+ {
+ return $this->configId;
+ }
+
+ public function setConfigName($configName)
+ {
+ $this->configName = $configName;
+ }
+
+ public function getConfigName()
+ {
+ return $this->configName;
+ }
+
+ public function setCreativeType($creativeType)
+ {
+ $this->creativeType = $creativeType;
+ }
+
+ public function getCreativeType()
+ {
+ return $this->creativeType;
+ }
+
+ public function setDimensions($dimensions)
+ {
+ $this->dimensions = $dimensions;
+ }
+
+ public function getDimensions()
+ {
+ return $this->dimensions;
+ }
+
+ public function setExcludedContentLabels($excludedContentLabels)
+ {
+ $this->excludedContentLabels = $excludedContentLabels;
+ }
+
+ public function getExcludedContentLabels()
+ {
+ return $this->excludedContentLabels;
+ }
+
+ public function setExcludedGeoCriteriaIds($excludedGeoCriteriaIds)
+ {
+ $this->excludedGeoCriteriaIds = $excludedGeoCriteriaIds;
+ }
+
+ public function getExcludedGeoCriteriaIds()
+ {
+ return $this->excludedGeoCriteriaIds;
+ }
+
+ public function setExcludedPlacements($excludedPlacements)
+ {
+ $this->excludedPlacements = $excludedPlacements;
+ }
+
+ public function getExcludedPlacements()
+ {
+ return $this->excludedPlacements;
+ }
+
+ public function setExcludedUserLists($excludedUserLists)
+ {
+ $this->excludedUserLists = $excludedUserLists;
+ }
+
+ public function getExcludedUserLists()
+ {
+ return $this->excludedUserLists;
+ }
+
+ public function setExcludedVerticals($excludedVerticals)
+ {
+ $this->excludedVerticals = $excludedVerticals;
+ }
+
+ public function getExcludedVerticals()
+ {
+ return $this->excludedVerticals;
+ }
+
+ public function setGeoCriteriaIds($geoCriteriaIds)
+ {
+ $this->geoCriteriaIds = $geoCriteriaIds;
+ }
+
+ public function getGeoCriteriaIds()
+ {
+ return $this->geoCriteriaIds;
+ }
+
+ public function setIsActive($isActive)
+ {
+ $this->isActive = $isActive;
+ }
+
+ public function getIsActive()
+ {
+ return $this->isActive;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setLanguages($languages)
+ {
+ $this->languages = $languages;
+ }
+
+ public function getLanguages()
+ {
+ return $this->languages;
+ }
+
+ public function setMobileCarriers($mobileCarriers)
+ {
+ $this->mobileCarriers = $mobileCarriers;
+ }
+
+ public function getMobileCarriers()
+ {
+ return $this->mobileCarriers;
+ }
+
+ public function setMobileDevices($mobileDevices)
+ {
+ $this->mobileDevices = $mobileDevices;
+ }
+
+ public function getMobileDevices()
+ {
+ return $this->mobileDevices;
+ }
+
+ public function setMobileOperatingSystemVersions($mobileOperatingSystemVersions)
+ {
+ $this->mobileOperatingSystemVersions = $mobileOperatingSystemVersions;
+ }
+
+ public function getMobileOperatingSystemVersions()
+ {
+ return $this->mobileOperatingSystemVersions;
+ }
+
+ public function setPlacements($placements)
+ {
+ $this->placements = $placements;
+ }
+
+ public function getPlacements()
+ {
+ return $this->placements;
+ }
+
+ public function setPlatforms($platforms)
+ {
+ $this->platforms = $platforms;
+ }
+
+ public function getPlatforms()
+ {
+ return $this->platforms;
+ }
+
+ public function setSupportedCreativeAttributes($supportedCreativeAttributes)
+ {
+ $this->supportedCreativeAttributes = $supportedCreativeAttributes;
+ }
+
+ public function getSupportedCreativeAttributes()
+ {
+ return $this->supportedCreativeAttributes;
+ }
+
+ public function setUserLists($userLists)
+ {
+ $this->userLists = $userLists;
+ }
+
+ public function getUserLists()
+ {
+ return $this->userLists;
+ }
+
+ public function setVendorTypes($vendorTypes)
+ {
+ $this->vendorTypes = $vendorTypes;
+ }
+
+ public function getVendorTypes()
+ {
+ return $this->vendorTypes;
+ }
+
+ public function setVerticals($verticals)
+ {
+ $this->verticals = $verticals;
+ }
+
+ public function getVerticals()
+ {
+ return $this->verticals;
+ }
+}
+
+class Google_Service_AdExchangeBuyer_PretargetingConfigDimensions extends Google_Model
+{
+ public $height;
+ public $width;
+
+ public function setHeight($height)
+ {
+ $this->height = $height;
+ }
+
+ public function getHeight()
+ {
+ return $this->height;
+ }
+
+ public function setWidth($width)
+ {
+ $this->width = $width;
+ }
+
+ public function getWidth()
+ {
+ return $this->width;
+ }
+}
+
+class Google_Service_AdExchangeBuyer_PretargetingConfigExcludedPlacements extends Google_Model
+{
+ public $token;
+ public $type;
+
+ public function setToken($token)
+ {
+ $this->token = $token;
+ }
+
+ public function getToken()
+ {
+ return $this->token;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_AdExchangeBuyer_PretargetingConfigList extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_AdExchangeBuyer_PretargetingConfig';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_AdExchangeBuyer_PretargetingConfigPlacements extends Google_Model
+{
+ public $token;
+ public $type;
+
+ public function setToken($token)
+ {
+ $this->token = $token;
+ }
+
+ public function getToken()
+ {
+ return $this->token;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
From e77641722c8982e42cc1f0316418e738d13d6aee Mon Sep 17 00:00:00 2001
From: Silvano Luciani
+ * $computeService = new Google_Service_Compute(...);
+ * $licenses = $computeService->licenses;
+ *
+ */
+class Google_Service_Compute_Licenses_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Returns the specified license resource. (licenses.get)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param string $license
+ * Name of the license resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_License
+ */
+ public function get($project, $license, $optParams = array())
+ {
+ $params = array('project' => $project, 'license' => $license);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Compute_License");
+ }
+}
+
/**
* The "machineTypes" collection of methods.
* Typical usage is:
@@ -5834,7 +5889,7 @@ public function getValue()
}
}
-class Google_Service_Compute_AttachedDisk extends Google_Model
+class Google_Service_Compute_AttachedDisk extends Google_Collection
{
public $autoDelete;
public $boot;
@@ -5843,6 +5898,7 @@ class Google_Service_Compute_AttachedDisk extends Google_Model
protected $initializeParamsType = 'Google_Service_Compute_AttachedDiskInitializeParams';
protected $initializeParamsDataType = '';
public $kind;
+ public $licenses;
public $mode;
public $source;
public $type;
@@ -5907,6 +5963,16 @@ public function getKind()
return $this->kind;
}
+ public function setLicenses($licenses)
+ {
+ $this->licenses = $licenses;
+ }
+
+ public function getLicenses()
+ {
+ return $this->licenses;
+ }
+
public function setMode($mode)
{
$this->mode = $mode;
@@ -6350,12 +6416,13 @@ public function getState()
}
}
-class Google_Service_Compute_Disk extends Google_Model
+class Google_Service_Compute_Disk extends Google_Collection
{
public $creationTimestamp;
public $description;
public $id;
public $kind;
+ public $licenses;
public $name;
public $options;
public $selfLink;
@@ -6408,6 +6475,16 @@ public function getKind()
return $this->kind;
}
+ public function setLicenses($licenses)
+ {
+ $this->licenses = $licenses;
+ }
+
+ public function getLicenses()
+ {
+ return $this->licenses;
+ }
+
public function setName($name)
{
$this->name = $name;
@@ -7892,7 +7969,7 @@ public function getSelfLink()
}
}
-class Google_Service_Compute_Image extends Google_Model
+class Google_Service_Compute_Image extends Google_Collection
{
public $archiveSizeBytes;
public $creationTimestamp;
@@ -7902,6 +7979,7 @@ class Google_Service_Compute_Image extends Google_Model
public $diskSizeGb;
public $id;
public $kind;
+ public $licenses;
public $name;
protected $rawDiskType = 'Google_Service_Compute_ImageRawDisk';
protected $rawDiskDataType = '';
@@ -7979,6 +8057,16 @@ public function getKind()
return $this->kind;
}
+ public function setLicenses($licenses)
+ {
+ $this->licenses = $licenses;
+ }
+
+ public function getLicenses()
+ {
+ return $this->licenses;
+ }
+
public function setName($name)
{
$this->name = $name;
@@ -8551,6 +8639,43 @@ public function getValue()
}
}
+class Google_Service_Compute_License extends Google_Model
+{
+ public $kind;
+ public $name;
+ public $selfLink;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
class Google_Service_Compute_MachineType extends Google_Collection
{
public $creationTimestamp;
@@ -10572,13 +10697,14 @@ public function getScopes()
}
}
-class Google_Service_Compute_Snapshot extends Google_Model
+class Google_Service_Compute_Snapshot extends Google_Collection
{
public $creationTimestamp;
public $description;
public $diskSizeGb;
public $id;
public $kind;
+ public $licenses;
public $name;
public $selfLink;
public $sourceDisk;
@@ -10637,6 +10763,16 @@ public function getKind()
return $this->kind;
}
+ public function setLicenses($licenses)
+ {
+ $this->licenses = $licenses;
+ }
+
+ public function getLicenses()
+ {
+ return $this->licenses;
+ }
+
public function setName($name)
{
$this->name = $name;
From d0d747d3e957320773214722dcb6c47b931b9581 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
+ * For more information about this service, see the API + * Documentation + *
+ * + * @author Google, Inc. + */ +class Google_Service_Pubsub extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = "https://www.googleapis.com/auth/cloud-platform"; + /** View and manage Pub/Sub topics and subscriptions. */ + const PUBSUB = "https://www.googleapis.com/auth/pubsub"; + + public $subscriptions; + public $topics; + + + /** + * Constructs the internal representation of the Pubsub service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->servicePath = 'pubsub/v1beta1/'; + $this->version = 'v1beta1'; + $this->serviceName = 'pubsub'; + + $this->subscriptions = new Google_Service_Pubsub_Subscriptions_Resource( + $this, + $this->serviceName, + 'subscriptions', + array( + 'methods' => array( + 'acknowledge' => array( + 'path' => 'subscriptions/acknowledge', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'create' => array( + 'path' => 'subscriptions', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'delete' => array( + 'path' => 'subscriptions/{+subscription}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'subscription' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'subscriptions/{+subscription}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'subscription' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'subscriptions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'query' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'modifyAckDeadline' => array( + 'path' => 'subscriptions/modifyAckDeadline', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'modifyPushConfig' => array( + 'path' => 'subscriptions/modifyPushConfig', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'pull' => array( + 'path' => 'subscriptions/pull', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->topics = new Google_Service_Pubsub_Topics_Resource( + $this, + $this->serviceName, + 'topics', + array( + 'methods' => array( + 'create' => array( + 'path' => 'topics', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'delete' => array( + 'path' => 'topics/{+topic}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'topic' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'topics/{+topic}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'topic' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'topics', + 'httpMethod' => 'GET', + 'parameters' => array( + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'query' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'publish' => array( + 'path' => 'topics/publish', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + } +} + + +/** + * The "subscriptions" collection of methods. + * Typical usage is: + *
+ * $pubsubService = new Google_Service_Pubsub(...);
+ * $subscriptions = $pubsubService->subscriptions;
+ *
+ */
+class Google_Service_Pubsub_Subscriptions_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Acknowledges a particular received message: the Pub/Sub system can remove the
+ * given message from the subscription. Acknowledging a message whose Ack
+ * deadline has expired may succeed, but the message could have been already
+ * redelivered. Acknowledging a message more than once will not result in an
+ * error. This is only used for messages received via pull.
+ * (subscriptions.acknowledge)
+ *
+ * @param Google_AcknowledgeRequest $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function acknowledge(Google_Service_Pubsub_AcknowledgeRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('acknowledge', array($params));
+ }
+ /**
+ * Creates a subscription on a given topic for a given subscriber. If the
+ * subscription already exists, returns ALREADY_EXISTS. If the corresponding
+ * topic doesn't exist, returns NOT_FOUND. (subscriptions.create)
+ *
+ * @param Google_Subscription $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Pubsub_Subscription
+ */
+ public function create(Google_Service_Pubsub_Subscription $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Pubsub_Subscription");
+ }
+ /**
+ * Deletes an existing subscription. All pending messages in the subscription
+ * are immediately dropped. Calls to Pull after deletion will return NOT_FOUND.
+ * (subscriptions.delete)
+ *
+ * @param string $subscription
+ * The subscription to delete.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($subscription, $optParams = array())
+ {
+ $params = array('subscription' => $subscription);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Gets the configuration details of a subscription. (subscriptions.get)
+ *
+ * @param string $subscription
+ * The name of the subscription to get.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Pubsub_Subscription
+ */
+ public function get($subscription, $optParams = array())
+ {
+ $params = array('subscription' => $subscription);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Pubsub_Subscription");
+ }
+ /**
+ * Lists matching subscriptions. (subscriptions.listSubscriptions)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The value obtained in the last ListSubscriptionsResponse for continuation.
+ * @opt_param int maxResults
+ * Maximum number of subscriptions to return.
+ * @opt_param string query
+ * A valid label query expression.
+ * @return Google_Service_Pubsub_ListSubscriptionsResponse
+ */
+ public function listSubscriptions($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Pubsub_ListSubscriptionsResponse");
+ }
+ /**
+ * Modifies the Ack deadline for a message received from a pull request.
+ * (subscriptions.modifyAckDeadline)
+ *
+ * @param Google_ModifyAckDeadlineRequest $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function modifyAckDeadline(Google_Service_Pubsub_ModifyAckDeadlineRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('modifyAckDeadline', array($params));
+ }
+ /**
+ * Modifies the PushConfig for a specified subscription. This method can be used
+ * to suspend the flow of messages to an end point by clearing the PushConfig
+ * field in the request. Messages will be accumulated for delivery even if no
+ * push configuration is defined or while the configuration is modified.
+ * (subscriptions.modifyPushConfig)
+ *
+ * @param Google_ModifyPushConfigRequest $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function modifyPushConfig(Google_Service_Pubsub_ModifyPushConfigRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('modifyPushConfig', array($params));
+ }
+ /**
+ * Pulls a single message from the server. If return_immediately is true, and no
+ * messages are available in the subscription, this method returns
+ * FAILED_PRECONDITION. The system is free to return an UNAVAILABLE error if no
+ * messages are available in a reasonable amount of time (to reduce system
+ * load). (subscriptions.pull)
+ *
+ * @param Google_PullRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Pubsub_PullResponse
+ */
+ public function pull(Google_Service_Pubsub_PullRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('pull', array($params), "Google_Service_Pubsub_PullResponse");
+ }
+}
+
+/**
+ * The "topics" collection of methods.
+ * Typical usage is:
+ *
+ * $pubsubService = new Google_Service_Pubsub(...);
+ * $topics = $pubsubService->topics;
+ *
+ */
+class Google_Service_Pubsub_Topics_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Creates the given topic with the given name. (topics.create)
+ *
+ * @param Google_Topic $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Pubsub_Topic
+ */
+ public function create(Google_Service_Pubsub_Topic $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Pubsub_Topic");
+ }
+ /**
+ * Deletes the topic with the given name. All subscriptions to this topic are
+ * also deleted. Returns NOT_FOUND if the topic does not exist. After a topic is
+ * deleted, a new topic may be created with the same name. (topics.delete)
+ *
+ * @param string $topic
+ * Name of the topic to delete.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($topic, $optParams = array())
+ {
+ $params = array('topic' => $topic);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Gets the configuration of a topic. Since the topic only has the name
+ * attribute, this method is only useful to check the existence of a topic. If
+ * other attributes are added in the future, they will be returned here.
+ * (topics.get)
+ *
+ * @param string $topic
+ * The name of the topic to get.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Pubsub_Topic
+ */
+ public function get($topic, $optParams = array())
+ {
+ $params = array('topic' => $topic);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Pubsub_Topic");
+ }
+ /**
+ * Lists matching topics. (topics.listTopics)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The value obtained in the last ListTopicsResponse for continuation.
+ * @opt_param int maxResults
+ * Maximum number of topics to return.
+ * @opt_param string query
+ * A valid label query expression.
+ * @return Google_Service_Pubsub_ListTopicsResponse
+ */
+ public function listTopics($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Pubsub_ListTopicsResponse");
+ }
+ /**
+ * Adds a message to the topic. Returns NOT_FOUND if the topic does not exist.
+ * (topics.publish)
+ *
+ * @param Google_PublishRequest $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function publish(Google_Service_Pubsub_PublishRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('publish', array($params));
+ }
+}
+
+
+
+
+class Google_Service_Pubsub_AcknowledgeRequest extends Google_Collection
+{
+ public $ackId;
+ public $subscription;
+
+ public function setAckId($ackId)
+ {
+ $this->ackId = $ackId;
+ }
+
+ public function getAckId()
+ {
+ return $this->ackId;
+ }
+
+ public function setSubscription($subscription)
+ {
+ $this->subscription = $subscription;
+ }
+
+ public function getSubscription()
+ {
+ return $this->subscription;
+ }
+}
+
+class Google_Service_Pubsub_Label extends Google_Model
+{
+ public $key;
+ public $numValue;
+ public $strValue;
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+
+ public function getKey()
+ {
+ return $this->key;
+ }
+
+ public function setNumValue($numValue)
+ {
+ $this->numValue = $numValue;
+ }
+
+ public function getNumValue()
+ {
+ return $this->numValue;
+ }
+
+ public function setStrValue($strValue)
+ {
+ $this->strValue = $strValue;
+ }
+
+ public function getStrValue()
+ {
+ return $this->strValue;
+ }
+}
+
+class Google_Service_Pubsub_ListSubscriptionsResponse extends Google_Collection
+{
+ public $nextPageToken;
+ protected $subscriptionType = 'Google_Service_Pubsub_Subscription';
+ protected $subscriptionDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setSubscription($subscription)
+ {
+ $this->subscription = $subscription;
+ }
+
+ public function getSubscription()
+ {
+ return $this->subscription;
+ }
+}
+
+class Google_Service_Pubsub_ListTopicsResponse extends Google_Collection
+{
+ public $nextPageToken;
+ protected $topicType = 'Google_Service_Pubsub_Topic';
+ protected $topicDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setTopic($topic)
+ {
+ $this->topic = $topic;
+ }
+
+ public function getTopic()
+ {
+ return $this->topic;
+ }
+}
+
+class Google_Service_Pubsub_ModifyAckDeadlineRequest extends Google_Model
+{
+ public $ackDeadlineSeconds;
+ public $ackId;
+ public $subscription;
+
+ public function setAckDeadlineSeconds($ackDeadlineSeconds)
+ {
+ $this->ackDeadlineSeconds = $ackDeadlineSeconds;
+ }
+
+ public function getAckDeadlineSeconds()
+ {
+ return $this->ackDeadlineSeconds;
+ }
+
+ public function setAckId($ackId)
+ {
+ $this->ackId = $ackId;
+ }
+
+ public function getAckId()
+ {
+ return $this->ackId;
+ }
+
+ public function setSubscription($subscription)
+ {
+ $this->subscription = $subscription;
+ }
+
+ public function getSubscription()
+ {
+ return $this->subscription;
+ }
+}
+
+class Google_Service_Pubsub_ModifyPushConfigRequest extends Google_Model
+{
+ protected $pushConfigType = 'Google_Service_Pubsub_PushConfig';
+ protected $pushConfigDataType = '';
+ public $subscription;
+
+ public function setPushConfig(Google_Service_Pubsub_PushConfig $pushConfig)
+ {
+ $this->pushConfig = $pushConfig;
+ }
+
+ public function getPushConfig()
+ {
+ return $this->pushConfig;
+ }
+
+ public function setSubscription($subscription)
+ {
+ $this->subscription = $subscription;
+ }
+
+ public function getSubscription()
+ {
+ return $this->subscription;
+ }
+}
+
+class Google_Service_Pubsub_PublishRequest extends Google_Model
+{
+ protected $messageType = 'Google_Service_Pubsub_PubsubMessage';
+ protected $messageDataType = '';
+ public $topic;
+
+ public function setMessage(Google_Service_Pubsub_PubsubMessage $message)
+ {
+ $this->message = $message;
+ }
+
+ public function getMessage()
+ {
+ return $this->message;
+ }
+
+ public function setTopic($topic)
+ {
+ $this->topic = $topic;
+ }
+
+ public function getTopic()
+ {
+ return $this->topic;
+ }
+}
+
+class Google_Service_Pubsub_PubsubEvent extends Google_Model
+{
+ public $deleted;
+ protected $messageType = 'Google_Service_Pubsub_PubsubMessage';
+ protected $messageDataType = '';
+ public $subscription;
+ public $truncated;
+
+ public function setDeleted($deleted)
+ {
+ $this->deleted = $deleted;
+ }
+
+ public function getDeleted()
+ {
+ return $this->deleted;
+ }
+
+ public function setMessage(Google_Service_Pubsub_PubsubMessage $message)
+ {
+ $this->message = $message;
+ }
+
+ public function getMessage()
+ {
+ return $this->message;
+ }
+
+ public function setSubscription($subscription)
+ {
+ $this->subscription = $subscription;
+ }
+
+ public function getSubscription()
+ {
+ return $this->subscription;
+ }
+
+ public function setTruncated($truncated)
+ {
+ $this->truncated = $truncated;
+ }
+
+ public function getTruncated()
+ {
+ return $this->truncated;
+ }
+}
+
+class Google_Service_Pubsub_PubsubMessage extends Google_Collection
+{
+ public $data;
+ protected $labelType = 'Google_Service_Pubsub_Label';
+ protected $labelDataType = 'array';
+
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+
+ public function getData()
+ {
+ return $this->data;
+ }
+
+ public function setLabel($label)
+ {
+ $this->label = $label;
+ }
+
+ public function getLabel()
+ {
+ return $this->label;
+ }
+}
+
+class Google_Service_Pubsub_PullRequest extends Google_Model
+{
+ public $returnImmediately;
+ public $subscription;
+
+ public function setReturnImmediately($returnImmediately)
+ {
+ $this->returnImmediately = $returnImmediately;
+ }
+
+ public function getReturnImmediately()
+ {
+ return $this->returnImmediately;
+ }
+
+ public function setSubscription($subscription)
+ {
+ $this->subscription = $subscription;
+ }
+
+ public function getSubscription()
+ {
+ return $this->subscription;
+ }
+}
+
+class Google_Service_Pubsub_PullResponse extends Google_Model
+{
+ public $ackId;
+ protected $pubsubEventType = 'Google_Service_Pubsub_PubsubEvent';
+ protected $pubsubEventDataType = '';
+
+ public function setAckId($ackId)
+ {
+ $this->ackId = $ackId;
+ }
+
+ public function getAckId()
+ {
+ return $this->ackId;
+ }
+
+ public function setPubsubEvent(Google_Service_Pubsub_PubsubEvent $pubsubEvent)
+ {
+ $this->pubsubEvent = $pubsubEvent;
+ }
+
+ public function getPubsubEvent()
+ {
+ return $this->pubsubEvent;
+ }
+}
+
+class Google_Service_Pubsub_PushConfig extends Google_Model
+{
+ public $pushEndpoint;
+
+ public function setPushEndpoint($pushEndpoint)
+ {
+ $this->pushEndpoint = $pushEndpoint;
+ }
+
+ public function getPushEndpoint()
+ {
+ return $this->pushEndpoint;
+ }
+}
+
+class Google_Service_Pubsub_Subscription extends Google_Model
+{
+ public $ackDeadlineSeconds;
+ public $name;
+ protected $pushConfigType = 'Google_Service_Pubsub_PushConfig';
+ protected $pushConfigDataType = '';
+ public $topic;
+
+ public function setAckDeadlineSeconds($ackDeadlineSeconds)
+ {
+ $this->ackDeadlineSeconds = $ackDeadlineSeconds;
+ }
+
+ public function getAckDeadlineSeconds()
+ {
+ return $this->ackDeadlineSeconds;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setPushConfig(Google_Service_Pubsub_PushConfig $pushConfig)
+ {
+ $this->pushConfig = $pushConfig;
+ }
+
+ public function getPushConfig()
+ {
+ return $this->pushConfig;
+ }
+
+ public function setTopic($topic)
+ {
+ $this->topic = $topic;
+ }
+
+ public function getTopic()
+ {
+ return $this->topic;
+ }
+}
+
+class Google_Service_Pubsub_Topic extends Google_Model
+{
+ public $name;
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+}
From 2a69dad7b7a230206480493b1a8793b52b3d80d3 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
+ * $gamesManagementService = new Google_Service_GamesManagement(...);
+ * $events = $gamesManagementService->events;
+ *
+ */
+class Google_Service_GamesManagement_Events_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Reset all player progress on the event for the currently authenticated
+ * player. This method is only accessible to whitelisted tester accounts for
+ * your application. All resources that use the event will also be reset.
+ * (events.reset)
+ *
+ * @param string $eventId
+ * The ID of the event.
+ * @param array $optParams Optional parameters.
+ */
+ public function reset($eventId, $optParams = array())
+ {
+ $params = array('eventId' => $eventId);
+ $params = array_merge($params, $optParams);
+ return $this->call('reset', array($params));
+ }
+ /**
+ * Reset all player progress on all unpublished events for the currently
+ * authenticated player. This method is only accessible to whitelisted tester
+ * accounts for your application. All resources that use the events will also be
+ * reset. (events.resetAll)
+ *
+ * @param array $optParams Optional parameters.
+ */
+ public function resetAll($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('resetAll', array($params));
+ }
+ /**
+ * Reset all player progress on the event for all players. This method is only
+ * available to user accounts for your developer console. Only draft events can
+ * be reset. All resources that use the event will also be reset.
+ * (events.resetForAllPlayers)
+ *
+ * @param string $eventId
+ * The ID of the event.
+ * @param array $optParams Optional parameters.
+ */
+ public function resetForAllPlayers($eventId, $optParams = array())
+ {
+ $params = array('eventId' => $eventId);
+ $params = array_merge($params, $optParams);
+ return $this->call('resetForAllPlayers', array($params));
+ }
+}
+
/**
* The "players" collection of methods.
* Typical usage is:
@@ -361,6 +476,34 @@ public function unhide($applicationId, $playerId, $optParams = array())
}
}
+/**
+ * The "quests" collection of methods.
+ * Typical usage is:
+ *
+ * $gamesManagementService = new Google_Service_GamesManagement(...);
+ * $quests = $gamesManagementService->quests;
+ *
+ */
+class Google_Service_GamesManagement_Quests_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Reset all player progress on the quest for the currently authenticated
+ * player. This method is only accessible to whitelisted tester accounts for
+ * your application. (quests.reset)
+ *
+ * @param string $questId
+ * The ID of the quest.
+ * @param array $optParams Optional parameters.
+ */
+ public function reset($questId, $optParams = array())
+ {
+ $params = array('questId' => $questId);
+ $params = array_merge($params, $optParams);
+ return $this->call('reset', array($params));
+ }
+}
+
/**
* The "rooms" collection of methods.
* Typical usage is:
@@ -560,6 +703,93 @@ public function getTimeMillis()
}
}
+class Google_Service_GamesManagement_GamesPlayerExperienceInfoResource extends Google_Model
+{
+ public $currentExperiencePoints;
+ protected $currentLevelType = 'Google_Service_GamesManagement_GamesPlayerLevelResource';
+ protected $currentLevelDataType = '';
+ public $lastLevelUpTimestampMillis;
+ protected $nextLevelType = 'Google_Service_GamesManagement_GamesPlayerLevelResource';
+ protected $nextLevelDataType = '';
+
+ public function setCurrentExperiencePoints($currentExperiencePoints)
+ {
+ $this->currentExperiencePoints = $currentExperiencePoints;
+ }
+
+ public function getCurrentExperiencePoints()
+ {
+ return $this->currentExperiencePoints;
+ }
+
+ public function setCurrentLevel(Google_Service_GamesManagement_GamesPlayerLevelResource $currentLevel)
+ {
+ $this->currentLevel = $currentLevel;
+ }
+
+ public function getCurrentLevel()
+ {
+ return $this->currentLevel;
+ }
+
+ public function setLastLevelUpTimestampMillis($lastLevelUpTimestampMillis)
+ {
+ $this->lastLevelUpTimestampMillis = $lastLevelUpTimestampMillis;
+ }
+
+ public function getLastLevelUpTimestampMillis()
+ {
+ return $this->lastLevelUpTimestampMillis;
+ }
+
+ public function setNextLevel(Google_Service_GamesManagement_GamesPlayerLevelResource $nextLevel)
+ {
+ $this->nextLevel = $nextLevel;
+ }
+
+ public function getNextLevel()
+ {
+ return $this->nextLevel;
+ }
+}
+
+class Google_Service_GamesManagement_GamesPlayerLevelResource extends Google_Model
+{
+ public $level;
+ public $maxExperiencePoints;
+ public $minExperiencePoints;
+
+ public function setLevel($level)
+ {
+ $this->level = $level;
+ }
+
+ public function getLevel()
+ {
+ return $this->level;
+ }
+
+ public function setMaxExperiencePoints($maxExperiencePoints)
+ {
+ $this->maxExperiencePoints = $maxExperiencePoints;
+ }
+
+ public function getMaxExperiencePoints()
+ {
+ return $this->maxExperiencePoints;
+ }
+
+ public function setMinExperiencePoints($minExperiencePoints)
+ {
+ $this->minExperiencePoints = $minExperiencePoints;
+ }
+
+ public function getMinExperiencePoints()
+ {
+ return $this->minExperiencePoints;
+ }
+}
+
class Google_Service_GamesManagement_HiddenPlayer extends Google_Model
{
public $hiddenTimeMillis;
@@ -640,12 +870,15 @@ class Google_Service_GamesManagement_Player extends Google_Model
{
public $avatarImageUrl;
public $displayName;
+ protected $experienceInfoType = 'Google_Service_GamesManagement_GamesPlayerExperienceInfoResource';
+ protected $experienceInfoDataType = '';
public $kind;
protected $lastPlayedWithType = 'Google_Service_GamesManagement_GamesPlayedResource';
protected $lastPlayedWithDataType = '';
protected $nameType = 'Google_Service_GamesManagement_PlayerName';
protected $nameDataType = '';
public $playerId;
+ public $title;
public function setAvatarImageUrl($avatarImageUrl)
{
@@ -667,6 +900,16 @@ public function getDisplayName()
return $this->displayName;
}
+ public function setExperienceInfo(Google_Service_GamesManagement_GamesPlayerExperienceInfoResource $experienceInfo)
+ {
+ $this->experienceInfo = $experienceInfo;
+ }
+
+ public function getExperienceInfo()
+ {
+ return $this->experienceInfo;
+ }
+
public function setKind($kind)
{
$this->kind = $kind;
@@ -706,6 +949,16 @@ public function getPlayerId()
{
return $this->playerId;
}
+
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+
+ public function getTitle()
+ {
+ return $this->title;
+ }
}
class Google_Service_GamesManagement_PlayerName extends Google_Model
From a1eac083b801e3d694fc7116685f28981413c9f0 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
+ * $gamesService = new Google_Service_Games(...);
+ * $events = $gamesService->events;
+ *
+ */
+class Google_Service_Games_Events_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Returns a list of the current progress on events in this application for the
+ * currently authorized user. (events.listByPlayer)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The token returned by the previous request.
+ * @opt_param int maxResults
+ * The maximum number of events to return in the response, used for paging. For any response, the
+ * actual number of events to return may be less than the specified maxResults.
+ * @opt_param string language
+ * The preferred language to use for strings returned by this method.
+ * @return Google_Service_Games_PlayerEventListResponse
+ */
+ public function listByPlayer($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('listByPlayer', array($params), "Google_Service_Games_PlayerEventListResponse");
+ }
+ /**
+ * Returns a list of the event definitions in this application.
+ * (events.listDefinitions)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The token returned by the previous request.
+ * @opt_param int maxResults
+ * The maximum number of event definitions to return in the response, used for paging. For any
+ * response, the actual number of event definitions to return may be less than the specified
+ * maxResults.
+ * @opt_param string language
+ * The preferred language to use for strings returned by this method.
+ * @return Google_Service_Games_EventDefinitionListResponse
+ */
+ public function listDefinitions($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('listDefinitions', array($params), "Google_Service_Games_EventDefinitionListResponse");
+ }
+ /**
+ * Records a batch of event updates for the currently authorized user of this
+ * application. (events.record)
+ *
+ * @param Google_EventRecordRequest $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string language
+ * The preferred language to use for strings returned by this method.
+ * @return Google_Service_Games_EventUpdateResponse
+ */
+ public function record(Google_Service_Games_EventRecordRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('record', array($params), "Google_Service_Games_EventUpdateResponse");
+ }
+}
+
/**
* The "leaderboards" collection of methods.
* Typical usage is:
@@ -1084,46 +1380,98 @@ public function listLeaderboards($optParams = array())
}
/**
- * The "players" collection of methods.
+ * The "metagame" collection of methods.
* Typical usage is:
*
* $gamesService = new Google_Service_Games(...);
- * $players = $gamesService->players;
+ * $metagame = $gamesService->metagame;
*
*/
-class Google_Service_Games_Players_Resource extends Google_Service_Resource
+class Google_Service_Games_Metagame_Resource extends Google_Service_Resource
{
/**
- * Retrieves the Player resource with the given ID. To retrieve the player for
- * the currently authenticated user, set playerId to me. (players.get)
+ * Return the metagame configuration data for the calling application.
+ * (metagame.getMetagameConfig)
*
- * @param string $playerId
- * A player ID. A value of me may be used in place of the authenticated player's ID.
* @param array $optParams Optional parameters.
- *
- * @opt_param string language
- * The preferred language to use for strings returned by this method.
- * @return Google_Service_Games_Player
+ * @return Google_Service_Games_MetagameConfig
*/
- public function get($playerId, $optParams = array())
+ public function getMetagameConfig($optParams = array())
{
- $params = array('playerId' => $playerId);
+ $params = array();
$params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Games_Player");
+ return $this->call('getMetagameConfig', array($params), "Google_Service_Games_MetagameConfig");
}
/**
- * Get the collection of players for the currently authenticated user.
- * (players.listPlayers)
+ * List play data aggregated per category for the player corresponding to
+ * playerId. (metagame.listCategoriesByPlayer)
*
+ * @param string $playerId
+ * A player ID. A value of me may be used in place of the authenticated player's ID.
* @param string $collection
- * Collection of players being retrieved
+ * The collection of categories for which data will be returned.
* @param array $optParams Optional parameters.
*
* @opt_param string pageToken
* The token returned by the previous request.
* @opt_param int maxResults
- * The maximum number of player resources to return in the response, used for paging. For any
+ * The maximum number of category resources to return in the response, used for paging. For any
+ * response, the actual number of category resources returned may be less than the specified
+ * maxResults.
+ * @opt_param string language
+ * The preferred language to use for strings returned by this method.
+ * @return Google_Service_Games_CategoryListResponse
+ */
+ public function listCategoriesByPlayer($playerId, $collection, $optParams = array())
+ {
+ $params = array('playerId' => $playerId, 'collection' => $collection);
+ $params = array_merge($params, $optParams);
+ return $this->call('listCategoriesByPlayer', array($params), "Google_Service_Games_CategoryListResponse");
+ }
+}
+
+/**
+ * The "players" collection of methods.
+ * Typical usage is:
+ *
+ * $gamesService = new Google_Service_Games(...);
+ * $players = $gamesService->players;
+ *
+ */
+class Google_Service_Games_Players_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Retrieves the Player resource with the given ID. To retrieve the player for
+ * the currently authenticated user, set playerId to me. (players.get)
+ *
+ * @param string $playerId
+ * A player ID. A value of me may be used in place of the authenticated player's ID.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string language
+ * The preferred language to use for strings returned by this method.
+ * @return Google_Service_Games_Player
+ */
+ public function get($playerId, $optParams = array())
+ {
+ $params = array('playerId' => $playerId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Games_Player");
+ }
+ /**
+ * Get the collection of players for the currently authenticated user.
+ * (players.listPlayers)
+ *
+ * @param string $collection
+ * Collection of players being retrieved
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The token returned by the previous request.
+ * @opt_param int maxResults
+ * The maximum number of player resources to return in the response, used for paging. For any
* response, the actual number of player resources returned may be less than the specified
* maxResults.
* @opt_param string language
@@ -1177,6 +1525,94 @@ public function update(Google_Service_Games_PushToken $postBody, $optParams = ar
}
}
+/**
+ * The "questMilestones" collection of methods.
+ * Typical usage is:
+ *
+ * $gamesService = new Google_Service_Games(...);
+ * $questMilestones = $gamesService->questMilestones;
+ *
+ */
+class Google_Service_Games_QuestMilestones_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Report that reward for the milestone corresponding to milestoneId for the
+ * quest corresponding to questId has been claimed by the currently authorized
+ * user. (questMilestones.claim)
+ *
+ * @param string $questId
+ * The ID of the quest.
+ * @param string $milestoneId
+ * The ID of the Milestone.
+ * @param string $requestId
+ * A randomly generated numeric ID for each request specified by the caller. This number is used at
+ * the server to ensure that the request is handled correctly across retries.
+ * @param array $optParams Optional parameters.
+ */
+ public function claim($questId, $milestoneId, $requestId, $optParams = array())
+ {
+ $params = array('questId' => $questId, 'milestoneId' => $milestoneId, 'requestId' => $requestId);
+ $params = array_merge($params, $optParams);
+ return $this->call('claim', array($params));
+ }
+}
+
+/**
+ * The "quests" collection of methods.
+ * Typical usage is:
+ *
+ * $gamesService = new Google_Service_Games(...);
+ * $quests = $gamesService->quests;
+ *
+ */
+class Google_Service_Games_Quests_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Indicates that the currently authorized user will participate in the quest.
+ * (quests.accept)
+ *
+ * @param string $questId
+ * The ID of the quest.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string language
+ * The preferred language to use for strings returned by this method.
+ * @return Google_Service_Games_Quest
+ */
+ public function accept($questId, $optParams = array())
+ {
+ $params = array('questId' => $questId);
+ $params = array_merge($params, $optParams);
+ return $this->call('accept', array($params), "Google_Service_Games_Quest");
+ }
+ /**
+ * Get a list of quests for your application and the currently authenticated
+ * player. (quests.listQuests)
+ *
+ * @param string $playerId
+ * A player ID. A value of me may be used in place of the authenticated player's ID.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The token returned by the previous request.
+ * @opt_param int maxResults
+ * The maximum number of quest resources to return in the response, used for paging. For any
+ * response, the actual number of quest resources returned may be less than the specified
+ * maxResults. Acceptable values are 1 to 50, inclusive. (Default: 50).
+ * @opt_param string language
+ * The preferred language to use for strings returned by this method.
+ * @return Google_Service_Games_QuestListResponse
+ */
+ public function listQuests($playerId, $optParams = array())
+ {
+ $params = array('playerId' => $playerId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Games_QuestListResponse");
+ }
+}
+
/**
* The "revisions" collection of methods.
* Typical usage is:
@@ -1515,6 +1951,60 @@ public function submitMultiple(Google_Service_Games_PlayerScoreSubmissionList $p
}
}
+/**
+ * The "snapshots" collection of methods.
+ * Typical usage is:
+ *
+ * $gamesService = new Google_Service_Games(...);
+ * $snapshots = $gamesService->snapshots;
+ *
+ */
+class Google_Service_Games_Snapshots_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Retrieves the metadata for a given snapshot ID. (snapshots.get)
+ *
+ * @param string $snapshotId
+ * The ID of the snapshot.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string language
+ * The preferred language to use for strings returned by this method.
+ * @return Google_Service_Games_Snapshot
+ */
+ public function get($snapshotId, $optParams = array())
+ {
+ $params = array('snapshotId' => $snapshotId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Games_Snapshot");
+ }
+ /**
+ * Retrieves a list of snapshots created by your application for the player
+ * corresponding to the player ID. (snapshots.listSnapshots)
+ *
+ * @param string $playerId
+ * A player ID. A value of me may be used in place of the authenticated player's ID.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The token returned by the previous request.
+ * @opt_param int maxResults
+ * The maximum number of snapshot resources to return in the response, used for paging. For any
+ * response, the actual number of snapshot resources returned may be less than the specified
+ * maxResults.
+ * @opt_param string language
+ * The preferred language to use for strings returned by this method.
+ * @return Google_Service_Games_SnapshotListResponse
+ */
+ public function listSnapshots($playerId, $optParams = array())
+ {
+ $params = array('playerId' => $playerId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Games_SnapshotListResponse");
+ }
+}
+
/**
* The "turnBasedMatches" collection of methods.
* Typical usage is:
@@ -1795,6 +2285,7 @@ class Google_Service_Games_AchievementDefinition extends Google_Model
{
public $achievementType;
public $description;
+ public $experiencePoints;
public $formattedTotalSteps;
public $id;
public $initialState;
@@ -1826,6 +2317,16 @@ public function getDescription()
return $this->description;
}
+ public function setExperiencePoints($experiencePoints)
+ {
+ $this->experiencePoints = $experiencePoints;
+ }
+
+ public function getExperiencePoints()
+ {
+ return $this->experiencePoints;
+ }
+
public function setFormattedTotalSteps($formattedTotalSteps)
{
$this->formattedTotalSteps = $formattedTotalSteps;
@@ -2548,47 +3049,59 @@ public function getSecondary()
}
}
-class Google_Service_Games_GamesAchievementIncrement extends Google_Model
+class Google_Service_Games_Category extends Google_Model
{
+ public $category;
+ public $experiencePoints;
public $kind;
- public $requestId;
- public $steps;
- public function setKind($kind)
+ public function setCategory($category)
{
- $this->kind = $kind;
+ $this->category = $category;
}
- public function getKind()
+ public function getCategory()
{
- return $this->kind;
+ return $this->category;
}
- public function setRequestId($requestId)
+ public function setExperiencePoints($experiencePoints)
{
- $this->requestId = $requestId;
+ $this->experiencePoints = $experiencePoints;
}
- public function getRequestId()
+ public function getExperiencePoints()
{
- return $this->requestId;
+ return $this->experiencePoints;
}
- public function setSteps($steps)
+ public function setKind($kind)
{
- $this->steps = $steps;
+ $this->kind = $kind;
}
- public function getSteps()
+ public function getKind()
{
- return $this->steps;
+ return $this->kind;
}
}
-class Google_Service_Games_GamesAchievementSetStepsAtLeast extends Google_Model
+class Google_Service_Games_CategoryListResponse extends Google_Collection
{
+ protected $itemsType = 'Google_Service_Games_Category';
+ protected $itemsDataType = 'array';
public $kind;
- public $steps;
+ public $nextPageToken;
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
public function setKind($kind)
{
@@ -2600,33 +3113,32 @@ public function getKind()
return $this->kind;
}
- public function setSteps($steps)
+ public function setNextPageToken($nextPageToken)
{
- $this->steps = $steps;
+ $this->nextPageToken = $nextPageToken;
}
- public function getSteps()
+ public function getNextPageToken()
{
- return $this->steps;
+ return $this->nextPageToken;
}
}
-class Google_Service_Games_ImageAsset extends Google_Model
+class Google_Service_Games_EventBatchRecordFailure extends Google_Model
{
- public $height;
+ public $failureCause;
public $kind;
- public $name;
- public $url;
- public $width;
+ protected $rangeType = 'Google_Service_Games_EventPeriodRange';
+ protected $rangeDataType = '';
- public function setHeight($height)
+ public function setFailureCause($failureCause)
{
- $this->height = $height;
+ $this->failureCause = $failureCause;
}
- public function getHeight()
+ public function getFailureCause()
{
- return $this->height;
+ return $this->failureCause;
}
public function setKind($kind)
@@ -2639,158 +3151,151 @@ public function getKind()
return $this->kind;
}
- public function setName($name)
+ public function setRange(Google_Service_Games_EventPeriodRange $range)
{
- $this->name = $name;
+ $this->range = $range;
}
- public function getName()
+ public function getRange()
{
- return $this->name;
+ return $this->range;
}
+}
- public function setUrl($url)
+class Google_Service_Games_EventChild extends Google_Model
+{
+ public $childId;
+ public $kind;
+
+ public function setChildId($childId)
{
- $this->url = $url;
+ $this->childId = $childId;
}
- public function getUrl()
+ public function getChildId()
{
- return $this->url;
+ return $this->childId;
}
- public function setWidth($width)
+ public function setKind($kind)
{
- $this->width = $width;
+ $this->kind = $kind;
}
- public function getWidth()
+ public function getKind()
{
- return $this->width;
+ return $this->kind;
}
}
-class Google_Service_Games_Instance extends Google_Model
+class Google_Service_Games_EventDefinition extends Google_Collection
{
- public $acquisitionUri;
- protected $androidInstanceType = 'Google_Service_Games_InstanceAndroidDetails';
- protected $androidInstanceDataType = '';
- protected $iosInstanceType = 'Google_Service_Games_InstanceIosDetails';
- protected $iosInstanceDataType = '';
+ protected $childEventsType = 'Google_Service_Games_EventChild';
+ protected $childEventsDataType = 'array';
+ public $description;
+ public $displayName;
+ public $id;
+ public $imageUrl;
+ public $isDefaultImageUrl;
public $kind;
- public $name;
- public $platformType;
- public $realtimePlay;
- public $turnBasedPlay;
- protected $webInstanceType = 'Google_Service_Games_InstanceWebDetails';
- protected $webInstanceDataType = '';
+ public $visibility;
- public function setAcquisitionUri($acquisitionUri)
+ public function setChildEvents($childEvents)
{
- $this->acquisitionUri = $acquisitionUri;
+ $this->childEvents = $childEvents;
}
- public function getAcquisitionUri()
+ public function getChildEvents()
{
- return $this->acquisitionUri;
+ return $this->childEvents;
}
- public function setAndroidInstance(Google_Service_Games_InstanceAndroidDetails $androidInstance)
+ public function setDescription($description)
{
- $this->androidInstance = $androidInstance;
+ $this->description = $description;
}
- public function getAndroidInstance()
+ public function getDescription()
{
- return $this->androidInstance;
+ return $this->description;
}
- public function setIosInstance(Google_Service_Games_InstanceIosDetails $iosInstance)
+ public function setDisplayName($displayName)
{
- $this->iosInstance = $iosInstance;
+ $this->displayName = $displayName;
}
- public function getIosInstance()
+ public function getDisplayName()
{
- return $this->iosInstance;
+ return $this->displayName;
}
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setName($name)
+ public function setId($id)
{
- $this->name = $name;
+ $this->id = $id;
}
- public function getName()
+ public function getId()
{
- return $this->name;
+ return $this->id;
}
- public function setPlatformType($platformType)
+ public function setImageUrl($imageUrl)
{
- $this->platformType = $platformType;
+ $this->imageUrl = $imageUrl;
}
- public function getPlatformType()
+ public function getImageUrl()
{
- return $this->platformType;
+ return $this->imageUrl;
}
- public function setRealtimePlay($realtimePlay)
+ public function setIsDefaultImageUrl($isDefaultImageUrl)
{
- $this->realtimePlay = $realtimePlay;
+ $this->isDefaultImageUrl = $isDefaultImageUrl;
}
- public function getRealtimePlay()
+ public function getIsDefaultImageUrl()
{
- return $this->realtimePlay;
+ return $this->isDefaultImageUrl;
}
- public function setTurnBasedPlay($turnBasedPlay)
+ public function setKind($kind)
{
- $this->turnBasedPlay = $turnBasedPlay;
+ $this->kind = $kind;
}
- public function getTurnBasedPlay()
+ public function getKind()
{
- return $this->turnBasedPlay;
+ return $this->kind;
}
- public function setWebInstance(Google_Service_Games_InstanceWebDetails $webInstance)
+ public function setVisibility($visibility)
{
- $this->webInstance = $webInstance;
+ $this->visibility = $visibility;
}
- public function getWebInstance()
+ public function getVisibility()
{
- return $this->webInstance;
+ return $this->visibility;
}
}
-class Google_Service_Games_InstanceAndroidDetails extends Google_Model
+class Google_Service_Games_EventDefinitionListResponse extends Google_Collection
{
- public $enablePiracyCheck;
+ protected $itemsType = 'Google_Service_Games_EventDefinition';
+ protected $itemsDataType = 'array';
public $kind;
- public $packageName;
- public $preferred;
+ public $nextPageToken;
- public function setEnablePiracyCheck($enablePiracyCheck)
+ public function setItems($items)
{
- $this->enablePiracyCheck = $enablePiracyCheck;
+ $this->items = $items;
}
- public function getEnablePiracyCheck()
+ public function getItems()
{
- return $this->enablePiracyCheck;
+ return $this->items;
}
public function setKind($kind)
@@ -2803,56 +3308,61 @@ public function getKind()
return $this->kind;
}
- public function setPackageName($packageName)
+ public function setNextPageToken($nextPageToken)
{
- $this->packageName = $packageName;
+ $this->nextPageToken = $nextPageToken;
}
- public function getPackageName()
+ public function getNextPageToken()
{
- return $this->packageName;
+ return $this->nextPageToken;
}
+}
- public function setPreferred($preferred)
+class Google_Service_Games_EventPeriodRange extends Google_Model
+{
+ public $kind;
+ public $periodEndMillis;
+ public $periodStartMillis;
+
+ public function setKind($kind)
{
- $this->preferred = $preferred;
+ $this->kind = $kind;
}
- public function getPreferred()
+ public function getKind()
{
- return $this->preferred;
+ return $this->kind;
}
-}
-
-class Google_Service_Games_InstanceIosDetails extends Google_Model
-{
- public $bundleIdentifier;
- public $itunesAppId;
- public $kind;
- public $preferredForIpad;
- public $preferredForIphone;
- public $supportIpad;
- public $supportIphone;
- public function setBundleIdentifier($bundleIdentifier)
+ public function setPeriodEndMillis($periodEndMillis)
{
- $this->bundleIdentifier = $bundleIdentifier;
+ $this->periodEndMillis = $periodEndMillis;
}
- public function getBundleIdentifier()
+ public function getPeriodEndMillis()
{
- return $this->bundleIdentifier;
+ return $this->periodEndMillis;
}
- public function setItunesAppId($itunesAppId)
+ public function setPeriodStartMillis($periodStartMillis)
{
- $this->itunesAppId = $itunesAppId;
+ $this->periodStartMillis = $periodStartMillis;
}
- public function getItunesAppId()
+ public function getPeriodStartMillis()
{
- return $this->itunesAppId;
+ return $this->periodStartMillis;
}
+}
+
+class Google_Service_Games_EventPeriodUpdate extends Google_Collection
+{
+ public $kind;
+ protected $timePeriodType = 'Google_Service_Games_EventPeriodRange';
+ protected $timePeriodDataType = '';
+ protected $updatesType = 'Google_Service_Games_EventUpdateRequest';
+ protected $updatesDataType = 'array';
public function setKind($kind)
{
@@ -2864,52 +3374,52 @@ public function getKind()
return $this->kind;
}
- public function setPreferredForIpad($preferredForIpad)
+ public function setTimePeriod(Google_Service_Games_EventPeriodRange $timePeriod)
{
- $this->preferredForIpad = $preferredForIpad;
+ $this->timePeriod = $timePeriod;
}
- public function getPreferredForIpad()
+ public function getTimePeriod()
{
- return $this->preferredForIpad;
+ return $this->timePeriod;
}
- public function setPreferredForIphone($preferredForIphone)
+ public function setUpdates($updates)
{
- $this->preferredForIphone = $preferredForIphone;
+ $this->updates = $updates;
}
- public function getPreferredForIphone()
+ public function getUpdates()
{
- return $this->preferredForIphone;
+ return $this->updates;
}
+}
- public function setSupportIpad($supportIpad)
+class Google_Service_Games_EventRecordFailure extends Google_Model
+{
+ public $eventId;
+ public $failureCause;
+ public $kind;
+
+ public function setEventId($eventId)
{
- $this->supportIpad = $supportIpad;
+ $this->eventId = $eventId;
}
- public function getSupportIpad()
+ public function getEventId()
{
- return $this->supportIpad;
+ return $this->eventId;
}
- public function setSupportIphone($supportIphone)
+ public function setFailureCause($failureCause)
{
- $this->supportIphone = $supportIphone;
+ $this->failureCause = $failureCause;
}
- public function getSupportIphone()
+ public function getFailureCause()
{
- return $this->supportIphone;
+ return $this->failureCause;
}
-}
-
-class Google_Service_Games_InstanceWebDetails extends Google_Model
-{
- public $kind;
- public $launchUrl;
- public $preferred;
public function setKind($kind)
{
@@ -2920,65 +3430,71 @@ public function getKind()
{
return $this->kind;
}
+}
- public function setLaunchUrl($launchUrl)
+class Google_Service_Games_EventRecordRequest extends Google_Collection
+{
+ public $currentTimeMillis;
+ public $kind;
+ public $requestId;
+ protected $timePeriodsType = 'Google_Service_Games_EventPeriodUpdate';
+ protected $timePeriodsDataType = 'array';
+
+ public function setCurrentTimeMillis($currentTimeMillis)
{
- $this->launchUrl = $launchUrl;
+ $this->currentTimeMillis = $currentTimeMillis;
}
- public function getLaunchUrl()
+ public function getCurrentTimeMillis()
{
- return $this->launchUrl;
+ return $this->currentTimeMillis;
}
- public function setPreferred($preferred)
+ public function setKind($kind)
{
- $this->preferred = $preferred;
+ $this->kind = $kind;
}
- public function getPreferred()
+ public function getKind()
{
- return $this->preferred;
+ return $this->kind;
}
-}
-
-class Google_Service_Games_Leaderboard extends Google_Model
-{
- public $iconUrl;
- public $id;
- public $isIconUrlDefault;
- public $kind;
- public $name;
- public $order;
- public function setIconUrl($iconUrl)
+ public function setRequestId($requestId)
{
- $this->iconUrl = $iconUrl;
+ $this->requestId = $requestId;
}
- public function getIconUrl()
+ public function getRequestId()
{
- return $this->iconUrl;
+ return $this->requestId;
}
- public function setId($id)
+ public function setTimePeriods($timePeriods)
{
- $this->id = $id;
+ $this->timePeriods = $timePeriods;
}
- public function getId()
+ public function getTimePeriods()
{
- return $this->id;
+ return $this->timePeriods;
}
+}
- public function setIsIconUrlDefault($isIconUrlDefault)
+class Google_Service_Games_EventUpdateRequest extends Google_Model
+{
+ public $definitionId;
+ public $kind;
+ public $updateCount;
+
+ public function setDefinitionId($definitionId)
{
- $this->isIconUrlDefault = $isIconUrlDefault;
+ $this->definitionId = $definitionId;
}
- public function getIsIconUrlDefault()
+ public function getDefinitionId()
{
- return $this->isIconUrlDefault;
+ return $this->definitionId;
}
public function setKind($kind)
@@ -2991,58 +3507,45 @@ public function getKind()
return $this->kind;
}
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setOrder($order)
+ public function setUpdateCount($updateCount)
{
- $this->order = $order;
+ $this->updateCount = $updateCount;
}
- public function getOrder()
+ public function getUpdateCount()
{
- return $this->order;
+ return $this->updateCount;
}
}
-class Google_Service_Games_LeaderboardEntry extends Google_Model
+class Google_Service_Games_EventUpdateResponse extends Google_Collection
{
- public $formattedScore;
- public $formattedScoreRank;
+ protected $batchFailuresType = 'Google_Service_Games_EventBatchRecordFailure';
+ protected $batchFailuresDataType = 'array';
+ protected $eventFailuresType = 'Google_Service_Games_EventRecordFailure';
+ protected $eventFailuresDataType = 'array';
public $kind;
- protected $playerType = 'Google_Service_Games_Player';
- protected $playerDataType = '';
- public $scoreRank;
- public $scoreTag;
- public $scoreValue;
- public $timeSpan;
- public $writeTimestampMillis;
+ protected $playerEventsType = 'Google_Service_Games_PlayerEvent';
+ protected $playerEventsDataType = 'array';
- public function setFormattedScore($formattedScore)
+ public function setBatchFailures($batchFailures)
{
- $this->formattedScore = $formattedScore;
+ $this->batchFailures = $batchFailures;
}
- public function getFormattedScore()
+ public function getBatchFailures()
{
- return $this->formattedScore;
+ return $this->batchFailures;
}
- public function setFormattedScoreRank($formattedScoreRank)
+ public function setEventFailures($eventFailures)
{
- $this->formattedScoreRank = $formattedScoreRank;
+ $this->eventFailures = $eventFailures;
}
- public function getFormattedScoreRank()
+ public function getEventFailures()
{
- return $this->formattedScoreRank;
+ return $this->eventFailures;
}
public function setKind($kind)
@@ -3055,70 +3558,1293 @@ public function getKind()
return $this->kind;
}
- public function setPlayer(Google_Service_Games_Player $player)
+ public function setPlayerEvents($playerEvents)
{
- $this->player = $player;
+ $this->playerEvents = $playerEvents;
}
- public function getPlayer()
+ public function getPlayerEvents()
{
- return $this->player;
+ return $this->playerEvents;
}
+}
- public function setScoreRank($scoreRank)
+class Google_Service_Games_GamesAchievementIncrement extends Google_Model
+{
+ public $kind;
+ public $requestId;
+ public $steps;
+
+ public function setKind($kind)
{
- $this->scoreRank = $scoreRank;
+ $this->kind = $kind;
}
- public function getScoreRank()
+ public function getKind()
{
- return $this->scoreRank;
+ return $this->kind;
}
- public function setScoreTag($scoreTag)
+ public function setRequestId($requestId)
{
- $this->scoreTag = $scoreTag;
+ $this->requestId = $requestId;
}
- public function getScoreTag()
+ public function getRequestId()
{
- return $this->scoreTag;
+ return $this->requestId;
}
- public function setScoreValue($scoreValue)
+ public function setSteps($steps)
{
- $this->scoreValue = $scoreValue;
+ $this->steps = $steps;
}
- public function getScoreValue()
+ public function getSteps()
{
- return $this->scoreValue;
+ return $this->steps;
}
+}
- public function setTimeSpan($timeSpan)
+class Google_Service_Games_GamesAchievementSetStepsAtLeast extends Google_Model
+{
+ public $kind;
+ public $steps;
+
+ public function setKind($kind)
{
- $this->timeSpan = $timeSpan;
+ $this->kind = $kind;
}
- public function getTimeSpan()
+ public function getKind()
{
- return $this->timeSpan;
+ return $this->kind;
}
- public function setWriteTimestampMillis($writeTimestampMillis)
+ public function setSteps($steps)
+ {
+ $this->steps = $steps;
+ }
+
+ public function getSteps()
+ {
+ return $this->steps;
+ }
+}
+
+class Google_Service_Games_ImageAsset extends Google_Model
+{
+ public $height;
+ public $kind;
+ public $name;
+ public $url;
+ public $width;
+
+ public function setHeight($height)
+ {
+ $this->height = $height;
+ }
+
+ public function getHeight()
+ {
+ return $this->height;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+
+ public function getUrl()
+ {
+ return $this->url;
+ }
+
+ public function setWidth($width)
+ {
+ $this->width = $width;
+ }
+
+ public function getWidth()
+ {
+ return $this->width;
+ }
+}
+
+class Google_Service_Games_Instance extends Google_Model
+{
+ public $acquisitionUri;
+ protected $androidInstanceType = 'Google_Service_Games_InstanceAndroidDetails';
+ protected $androidInstanceDataType = '';
+ protected $iosInstanceType = 'Google_Service_Games_InstanceIosDetails';
+ protected $iosInstanceDataType = '';
+ public $kind;
+ public $name;
+ public $platformType;
+ public $realtimePlay;
+ public $turnBasedPlay;
+ protected $webInstanceType = 'Google_Service_Games_InstanceWebDetails';
+ protected $webInstanceDataType = '';
+
+ public function setAcquisitionUri($acquisitionUri)
+ {
+ $this->acquisitionUri = $acquisitionUri;
+ }
+
+ public function getAcquisitionUri()
+ {
+ return $this->acquisitionUri;
+ }
+
+ public function setAndroidInstance(Google_Service_Games_InstanceAndroidDetails $androidInstance)
+ {
+ $this->androidInstance = $androidInstance;
+ }
+
+ public function getAndroidInstance()
+ {
+ return $this->androidInstance;
+ }
+
+ public function setIosInstance(Google_Service_Games_InstanceIosDetails $iosInstance)
+ {
+ $this->iosInstance = $iosInstance;
+ }
+
+ public function getIosInstance()
+ {
+ return $this->iosInstance;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setPlatformType($platformType)
+ {
+ $this->platformType = $platformType;
+ }
+
+ public function getPlatformType()
+ {
+ return $this->platformType;
+ }
+
+ public function setRealtimePlay($realtimePlay)
+ {
+ $this->realtimePlay = $realtimePlay;
+ }
+
+ public function getRealtimePlay()
+ {
+ return $this->realtimePlay;
+ }
+
+ public function setTurnBasedPlay($turnBasedPlay)
+ {
+ $this->turnBasedPlay = $turnBasedPlay;
+ }
+
+ public function getTurnBasedPlay()
+ {
+ return $this->turnBasedPlay;
+ }
+
+ public function setWebInstance(Google_Service_Games_InstanceWebDetails $webInstance)
+ {
+ $this->webInstance = $webInstance;
+ }
+
+ public function getWebInstance()
+ {
+ return $this->webInstance;
+ }
+}
+
+class Google_Service_Games_InstanceAndroidDetails extends Google_Model
+{
+ public $enablePiracyCheck;
+ public $kind;
+ public $packageName;
+ public $preferred;
+
+ public function setEnablePiracyCheck($enablePiracyCheck)
+ {
+ $this->enablePiracyCheck = $enablePiracyCheck;
+ }
+
+ public function getEnablePiracyCheck()
+ {
+ return $this->enablePiracyCheck;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setPackageName($packageName)
+ {
+ $this->packageName = $packageName;
+ }
+
+ public function getPackageName()
+ {
+ return $this->packageName;
+ }
+
+ public function setPreferred($preferred)
+ {
+ $this->preferred = $preferred;
+ }
+
+ public function getPreferred()
+ {
+ return $this->preferred;
+ }
+}
+
+class Google_Service_Games_InstanceIosDetails extends Google_Model
+{
+ public $bundleIdentifier;
+ public $itunesAppId;
+ public $kind;
+ public $preferredForIpad;
+ public $preferredForIphone;
+ public $supportIpad;
+ public $supportIphone;
+
+ public function setBundleIdentifier($bundleIdentifier)
+ {
+ $this->bundleIdentifier = $bundleIdentifier;
+ }
+
+ public function getBundleIdentifier()
+ {
+ return $this->bundleIdentifier;
+ }
+
+ public function setItunesAppId($itunesAppId)
+ {
+ $this->itunesAppId = $itunesAppId;
+ }
+
+ public function getItunesAppId()
+ {
+ return $this->itunesAppId;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setPreferredForIpad($preferredForIpad)
+ {
+ $this->preferredForIpad = $preferredForIpad;
+ }
+
+ public function getPreferredForIpad()
+ {
+ return $this->preferredForIpad;
+ }
+
+ public function setPreferredForIphone($preferredForIphone)
+ {
+ $this->preferredForIphone = $preferredForIphone;
+ }
+
+ public function getPreferredForIphone()
+ {
+ return $this->preferredForIphone;
+ }
+
+ public function setSupportIpad($supportIpad)
+ {
+ $this->supportIpad = $supportIpad;
+ }
+
+ public function getSupportIpad()
+ {
+ return $this->supportIpad;
+ }
+
+ public function setSupportIphone($supportIphone)
+ {
+ $this->supportIphone = $supportIphone;
+ }
+
+ public function getSupportIphone()
+ {
+ return $this->supportIphone;
+ }
+}
+
+class Google_Service_Games_InstanceWebDetails extends Google_Model
+{
+ public $kind;
+ public $launchUrl;
+ public $preferred;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setLaunchUrl($launchUrl)
+ {
+ $this->launchUrl = $launchUrl;
+ }
+
+ public function getLaunchUrl()
+ {
+ return $this->launchUrl;
+ }
+
+ public function setPreferred($preferred)
+ {
+ $this->preferred = $preferred;
+ }
+
+ public function getPreferred()
+ {
+ return $this->preferred;
+ }
+}
+
+class Google_Service_Games_Leaderboard extends Google_Model
+{
+ public $iconUrl;
+ public $id;
+ public $isIconUrlDefault;
+ public $kind;
+ public $name;
+ public $order;
+
+ public function setIconUrl($iconUrl)
+ {
+ $this->iconUrl = $iconUrl;
+ }
+
+ public function getIconUrl()
+ {
+ return $this->iconUrl;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setIsIconUrlDefault($isIconUrlDefault)
+ {
+ $this->isIconUrlDefault = $isIconUrlDefault;
+ }
+
+ public function getIsIconUrlDefault()
+ {
+ return $this->isIconUrlDefault;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setOrder($order)
+ {
+ $this->order = $order;
+ }
+
+ public function getOrder()
+ {
+ return $this->order;
+ }
+}
+
+class Google_Service_Games_LeaderboardEntry extends Google_Model
+{
+ public $formattedScore;
+ public $formattedScoreRank;
+ public $kind;
+ protected $playerType = 'Google_Service_Games_Player';
+ protected $playerDataType = '';
+ public $scoreRank;
+ public $scoreTag;
+ public $scoreValue;
+ public $timeSpan;
+ public $writeTimestampMillis;
+
+ public function setFormattedScore($formattedScore)
+ {
+ $this->formattedScore = $formattedScore;
+ }
+
+ public function getFormattedScore()
+ {
+ return $this->formattedScore;
+ }
+
+ public function setFormattedScoreRank($formattedScoreRank)
+ {
+ $this->formattedScoreRank = $formattedScoreRank;
+ }
+
+ public function getFormattedScoreRank()
+ {
+ return $this->formattedScoreRank;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setPlayer(Google_Service_Games_Player $player)
+ {
+ $this->player = $player;
+ }
+
+ public function getPlayer()
+ {
+ return $this->player;
+ }
+
+ public function setScoreRank($scoreRank)
+ {
+ $this->scoreRank = $scoreRank;
+ }
+
+ public function getScoreRank()
+ {
+ return $this->scoreRank;
+ }
+
+ public function setScoreTag($scoreTag)
+ {
+ $this->scoreTag = $scoreTag;
+ }
+
+ public function getScoreTag()
+ {
+ return $this->scoreTag;
+ }
+
+ public function setScoreValue($scoreValue)
+ {
+ $this->scoreValue = $scoreValue;
+ }
+
+ public function getScoreValue()
+ {
+ return $this->scoreValue;
+ }
+
+ public function setTimeSpan($timeSpan)
+ {
+ $this->timeSpan = $timeSpan;
+ }
+
+ public function getTimeSpan()
+ {
+ return $this->timeSpan;
+ }
+
+ public function setWriteTimestampMillis($writeTimestampMillis)
+ {
+ $this->writeTimestampMillis = $writeTimestampMillis;
+ }
+
+ public function getWriteTimestampMillis()
+ {
+ return $this->writeTimestampMillis;
+ }
+}
+
+class Google_Service_Games_LeaderboardListResponse extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_Games_Leaderboard';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Games_LeaderboardScoreRank extends Google_Model
+{
+ public $formattedNumScores;
+ public $formattedRank;
+ public $kind;
+ public $numScores;
+ public $rank;
+
+ public function setFormattedNumScores($formattedNumScores)
+ {
+ $this->formattedNumScores = $formattedNumScores;
+ }
+
+ public function getFormattedNumScores()
+ {
+ return $this->formattedNumScores;
+ }
+
+ public function setFormattedRank($formattedRank)
+ {
+ $this->formattedRank = $formattedRank;
+ }
+
+ public function getFormattedRank()
+ {
+ return $this->formattedRank;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNumScores($numScores)
+ {
+ $this->numScores = $numScores;
+ }
+
+ public function getNumScores()
+ {
+ return $this->numScores;
+ }
+
+ public function setRank($rank)
+ {
+ $this->rank = $rank;
+ }
+
+ public function getRank()
+ {
+ return $this->rank;
+ }
+}
+
+class Google_Service_Games_LeaderboardScores extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_Games_LeaderboardEntry';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $numScores;
+ protected $playerScoreType = 'Google_Service_Games_LeaderboardEntry';
+ protected $playerScoreDataType = '';
+ public $prevPageToken;
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setNumScores($numScores)
+ {
+ $this->numScores = $numScores;
+ }
+
+ public function getNumScores()
+ {
+ return $this->numScores;
+ }
+
+ public function setPlayerScore(Google_Service_Games_LeaderboardEntry $playerScore)
+ {
+ $this->playerScore = $playerScore;
+ }
+
+ public function getPlayerScore()
+ {
+ return $this->playerScore;
+ }
+
+ public function setPrevPageToken($prevPageToken)
+ {
+ $this->prevPageToken = $prevPageToken;
+ }
+
+ public function getPrevPageToken()
+ {
+ return $this->prevPageToken;
+ }
+}
+
+class Google_Service_Games_MetagameConfig extends Google_Collection
+{
+ public $currentVersion;
+ public $kind;
+ protected $playerLevelsType = 'Google_Service_Games_PlayerLevel';
+ protected $playerLevelsDataType = 'array';
+
+ public function setCurrentVersion($currentVersion)
+ {
+ $this->currentVersion = $currentVersion;
+ }
+
+ public function getCurrentVersion()
+ {
+ return $this->currentVersion;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setPlayerLevels($playerLevels)
+ {
+ $this->playerLevels = $playerLevels;
+ }
+
+ public function getPlayerLevels()
+ {
+ return $this->playerLevels;
+ }
+}
+
+class Google_Service_Games_NetworkDiagnostics extends Google_Model
+{
+ public $androidNetworkSubtype;
+ public $androidNetworkType;
+ public $iosNetworkType;
+ public $kind;
+ public $networkOperatorCode;
+ public $networkOperatorName;
+ public $registrationLatencyMillis;
+
+ public function setAndroidNetworkSubtype($androidNetworkSubtype)
+ {
+ $this->androidNetworkSubtype = $androidNetworkSubtype;
+ }
+
+ public function getAndroidNetworkSubtype()
+ {
+ return $this->androidNetworkSubtype;
+ }
+
+ public function setAndroidNetworkType($androidNetworkType)
+ {
+ $this->androidNetworkType = $androidNetworkType;
+ }
+
+ public function getAndroidNetworkType()
+ {
+ return $this->androidNetworkType;
+ }
+
+ public function setIosNetworkType($iosNetworkType)
+ {
+ $this->iosNetworkType = $iosNetworkType;
+ }
+
+ public function getIosNetworkType()
+ {
+ return $this->iosNetworkType;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNetworkOperatorCode($networkOperatorCode)
+ {
+ $this->networkOperatorCode = $networkOperatorCode;
+ }
+
+ public function getNetworkOperatorCode()
+ {
+ return $this->networkOperatorCode;
+ }
+
+ public function setNetworkOperatorName($networkOperatorName)
+ {
+ $this->networkOperatorName = $networkOperatorName;
+ }
+
+ public function getNetworkOperatorName()
+ {
+ return $this->networkOperatorName;
+ }
+
+ public function setRegistrationLatencyMillis($registrationLatencyMillis)
+ {
+ $this->registrationLatencyMillis = $registrationLatencyMillis;
+ }
+
+ public function getRegistrationLatencyMillis()
+ {
+ return $this->registrationLatencyMillis;
+ }
+}
+
+class Google_Service_Games_ParticipantResult extends Google_Model
+{
+ public $kind;
+ public $participantId;
+ public $placing;
+ public $result;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setParticipantId($participantId)
+ {
+ $this->participantId = $participantId;
+ }
+
+ public function getParticipantId()
+ {
+ return $this->participantId;
+ }
+
+ public function setPlacing($placing)
+ {
+ $this->placing = $placing;
+ }
+
+ public function getPlacing()
+ {
+ return $this->placing;
+ }
+
+ public function setResult($result)
+ {
+ $this->result = $result;
+ }
+
+ public function getResult()
+ {
+ return $this->result;
+ }
+}
+
+class Google_Service_Games_PeerChannelDiagnostics extends Google_Model
+{
+ protected $bytesReceivedType = 'Google_Service_Games_AggregateStats';
+ protected $bytesReceivedDataType = '';
+ protected $bytesSentType = 'Google_Service_Games_AggregateStats';
+ protected $bytesSentDataType = '';
+ public $kind;
+ public $numMessagesLost;
+ public $numMessagesReceived;
+ public $numMessagesSent;
+ public $numSendFailures;
+ protected $roundtripLatencyMillisType = 'Google_Service_Games_AggregateStats';
+ protected $roundtripLatencyMillisDataType = '';
+
+ public function setBytesReceived(Google_Service_Games_AggregateStats $bytesReceived)
+ {
+ $this->bytesReceived = $bytesReceived;
+ }
+
+ public function getBytesReceived()
+ {
+ return $this->bytesReceived;
+ }
+
+ public function setBytesSent(Google_Service_Games_AggregateStats $bytesSent)
+ {
+ $this->bytesSent = $bytesSent;
+ }
+
+ public function getBytesSent()
+ {
+ return $this->bytesSent;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNumMessagesLost($numMessagesLost)
+ {
+ $this->numMessagesLost = $numMessagesLost;
+ }
+
+ public function getNumMessagesLost()
+ {
+ return $this->numMessagesLost;
+ }
+
+ public function setNumMessagesReceived($numMessagesReceived)
+ {
+ $this->numMessagesReceived = $numMessagesReceived;
+ }
+
+ public function getNumMessagesReceived()
+ {
+ return $this->numMessagesReceived;
+ }
+
+ public function setNumMessagesSent($numMessagesSent)
+ {
+ $this->numMessagesSent = $numMessagesSent;
+ }
+
+ public function getNumMessagesSent()
+ {
+ return $this->numMessagesSent;
+ }
+
+ public function setNumSendFailures($numSendFailures)
+ {
+ $this->numSendFailures = $numSendFailures;
+ }
+
+ public function getNumSendFailures()
+ {
+ return $this->numSendFailures;
+ }
+
+ public function setRoundtripLatencyMillis(Google_Service_Games_AggregateStats $roundtripLatencyMillis)
+ {
+ $this->roundtripLatencyMillis = $roundtripLatencyMillis;
+ }
+
+ public function getRoundtripLatencyMillis()
{
- $this->writeTimestampMillis = $writeTimestampMillis;
+ return $this->roundtripLatencyMillis;
+ }
+}
+
+class Google_Service_Games_PeerSessionDiagnostics extends Google_Model
+{
+ public $connectedTimestampMillis;
+ public $kind;
+ public $participantId;
+ protected $reliableChannelType = 'Google_Service_Games_PeerChannelDiagnostics';
+ protected $reliableChannelDataType = '';
+ protected $unreliableChannelType = 'Google_Service_Games_PeerChannelDiagnostics';
+ protected $unreliableChannelDataType = '';
+
+ public function setConnectedTimestampMillis($connectedTimestampMillis)
+ {
+ $this->connectedTimestampMillis = $connectedTimestampMillis;
+ }
+
+ public function getConnectedTimestampMillis()
+ {
+ return $this->connectedTimestampMillis;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setParticipantId($participantId)
+ {
+ $this->participantId = $participantId;
+ }
+
+ public function getParticipantId()
+ {
+ return $this->participantId;
+ }
+
+ public function setReliableChannel(Google_Service_Games_PeerChannelDiagnostics $reliableChannel)
+ {
+ $this->reliableChannel = $reliableChannel;
+ }
+
+ public function getReliableChannel()
+ {
+ return $this->reliableChannel;
+ }
+
+ public function setUnreliableChannel(Google_Service_Games_PeerChannelDiagnostics $unreliableChannel)
+ {
+ $this->unreliableChannel = $unreliableChannel;
+ }
+
+ public function getUnreliableChannel()
+ {
+ return $this->unreliableChannel;
+ }
+}
+
+class Google_Service_Games_Played extends Google_Model
+{
+ public $autoMatched;
+ public $kind;
+ public $timeMillis;
+
+ public function setAutoMatched($autoMatched)
+ {
+ $this->autoMatched = $autoMatched;
+ }
+
+ public function getAutoMatched()
+ {
+ return $this->autoMatched;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setTimeMillis($timeMillis)
+ {
+ $this->timeMillis = $timeMillis;
+ }
+
+ public function getTimeMillis()
+ {
+ return $this->timeMillis;
+ }
+}
+
+class Google_Service_Games_Player extends Google_Model
+{
+ public $avatarImageUrl;
+ public $displayName;
+ protected $experienceInfoType = 'Google_Service_Games_PlayerExperienceInfo';
+ protected $experienceInfoDataType = '';
+ public $kind;
+ protected $lastPlayedWithType = 'Google_Service_Games_Played';
+ protected $lastPlayedWithDataType = '';
+ protected $nameType = 'Google_Service_Games_PlayerName';
+ protected $nameDataType = '';
+ public $playerId;
+ public $title;
+
+ public function setAvatarImageUrl($avatarImageUrl)
+ {
+ $this->avatarImageUrl = $avatarImageUrl;
+ }
+
+ public function getAvatarImageUrl()
+ {
+ return $this->avatarImageUrl;
+ }
+
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+
+ public function setExperienceInfo(Google_Service_Games_PlayerExperienceInfo $experienceInfo)
+ {
+ $this->experienceInfo = $experienceInfo;
+ }
+
+ public function getExperienceInfo()
+ {
+ return $this->experienceInfo;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setLastPlayedWith(Google_Service_Games_Played $lastPlayedWith)
+ {
+ $this->lastPlayedWith = $lastPlayedWith;
+ }
+
+ public function getLastPlayedWith()
+ {
+ return $this->lastPlayedWith;
+ }
+
+ public function setName(Google_Service_Games_PlayerName $name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setPlayerId($playerId)
+ {
+ $this->playerId = $playerId;
+ }
+
+ public function getPlayerId()
+ {
+ return $this->playerId;
+ }
+
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
+
+class Google_Service_Games_PlayerAchievement extends Google_Model
+{
+ public $achievementState;
+ public $currentSteps;
+ public $experiencePoints;
+ public $formattedCurrentStepsString;
+ public $id;
+ public $kind;
+ public $lastUpdatedTimestamp;
+
+ public function setAchievementState($achievementState)
+ {
+ $this->achievementState = $achievementState;
+ }
+
+ public function getAchievementState()
+ {
+ return $this->achievementState;
+ }
+
+ public function setCurrentSteps($currentSteps)
+ {
+ $this->currentSteps = $currentSteps;
+ }
+
+ public function getCurrentSteps()
+ {
+ return $this->currentSteps;
+ }
+
+ public function setExperiencePoints($experiencePoints)
+ {
+ $this->experiencePoints = $experiencePoints;
+ }
+
+ public function getExperiencePoints()
+ {
+ return $this->experiencePoints;
+ }
+
+ public function setFormattedCurrentStepsString($formattedCurrentStepsString)
+ {
+ $this->formattedCurrentStepsString = $formattedCurrentStepsString;
+ }
+
+ public function getFormattedCurrentStepsString()
+ {
+ return $this->formattedCurrentStepsString;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setLastUpdatedTimestamp($lastUpdatedTimestamp)
+ {
+ $this->lastUpdatedTimestamp = $lastUpdatedTimestamp;
}
- public function getWriteTimestampMillis()
+ public function getLastUpdatedTimestamp()
{
- return $this->writeTimestampMillis;
+ return $this->lastUpdatedTimestamp;
}
}
-class Google_Service_Games_LeaderboardListResponse extends Google_Collection
+class Google_Service_Games_PlayerAchievementListResponse extends Google_Collection
{
- protected $itemsType = 'Google_Service_Games_Leaderboard';
+ protected $itemsType = 'Google_Service_Games_PlayerAchievement';
protected $itemsDataType = 'array';
public $kind;
public $nextPageToken;
@@ -3154,32 +4880,32 @@ public function getNextPageToken()
}
}
-class Google_Service_Games_LeaderboardScoreRank extends Google_Model
+class Google_Service_Games_PlayerEvent extends Google_Model
{
- public $formattedNumScores;
- public $formattedRank;
+ public $definitionId;
+ public $formattedNumEvents;
public $kind;
- public $numScores;
- public $rank;
+ public $numEvents;
+ public $playerId;
- public function setFormattedNumScores($formattedNumScores)
+ public function setDefinitionId($definitionId)
{
- $this->formattedNumScores = $formattedNumScores;
+ $this->definitionId = $definitionId;
}
- public function getFormattedNumScores()
+ public function getDefinitionId()
{
- return $this->formattedNumScores;
+ return $this->definitionId;
}
- public function setFormattedRank($formattedRank)
+ public function setFormattedNumEvents($formattedNumEvents)
{
- $this->formattedRank = $formattedRank;
+ $this->formattedNumEvents = $formattedNumEvents;
}
- public function getFormattedRank()
+ public function getFormattedNumEvents()
{
- return $this->formattedRank;
+ return $this->formattedNumEvents;
}
public function setKind($kind)
@@ -3192,37 +4918,33 @@ public function getKind()
return $this->kind;
}
- public function setNumScores($numScores)
+ public function setNumEvents($numEvents)
{
- $this->numScores = $numScores;
+ $this->numEvents = $numEvents;
}
- public function getNumScores()
+ public function getNumEvents()
{
- return $this->numScores;
+ return $this->numEvents;
}
- public function setRank($rank)
+ public function setPlayerId($playerId)
{
- $this->rank = $rank;
+ $this->playerId = $playerId;
}
- public function getRank()
+ public function getPlayerId()
{
- return $this->rank;
+ return $this->playerId;
}
}
-class Google_Service_Games_LeaderboardScores extends Google_Collection
+class Google_Service_Games_PlayerEventListResponse extends Google_Collection
{
- protected $itemsType = 'Google_Service_Games_LeaderboardEntry';
+ protected $itemsType = 'Google_Service_Games_PlayerEvent';
protected $itemsDataType = 'array';
public $kind;
public $nextPageToken;
- public $numScores;
- protected $playerScoreType = 'Google_Service_Games_LeaderboardEntry';
- protected $playerScoreDataType = '';
- public $prevPageToken;
public function setItems($items)
{
@@ -3253,76 +4975,36 @@ public function getNextPageToken()
{
return $this->nextPageToken;
}
-
- public function setNumScores($numScores)
- {
- $this->numScores = $numScores;
- }
-
- public function getNumScores()
- {
- return $this->numScores;
- }
-
- public function setPlayerScore(Google_Service_Games_LeaderboardEntry $playerScore)
- {
- $this->playerScore = $playerScore;
- }
-
- public function getPlayerScore()
- {
- return $this->playerScore;
- }
-
- public function setPrevPageToken($prevPageToken)
- {
- $this->prevPageToken = $prevPageToken;
- }
-
- public function getPrevPageToken()
- {
- return $this->prevPageToken;
- }
}
-class Google_Service_Games_NetworkDiagnostics extends Google_Model
+class Google_Service_Games_PlayerExperienceInfo extends Google_Model
{
- public $androidNetworkSubtype;
- public $androidNetworkType;
- public $iosNetworkType;
+ public $currentExperiencePoints;
+ protected $currentLevelType = 'Google_Service_Games_PlayerLevel';
+ protected $currentLevelDataType = '';
public $kind;
- public $networkOperatorCode;
- public $networkOperatorName;
- public $registrationLatencyMillis;
-
- public function setAndroidNetworkSubtype($androidNetworkSubtype)
- {
- $this->androidNetworkSubtype = $androidNetworkSubtype;
- }
-
- public function getAndroidNetworkSubtype()
- {
- return $this->androidNetworkSubtype;
- }
+ public $lastLevelUpTimestampMillis;
+ protected $nextLevelType = 'Google_Service_Games_PlayerLevel';
+ protected $nextLevelDataType = '';
- public function setAndroidNetworkType($androidNetworkType)
+ public function setCurrentExperiencePoints($currentExperiencePoints)
{
- $this->androidNetworkType = $androidNetworkType;
+ $this->currentExperiencePoints = $currentExperiencePoints;
}
- public function getAndroidNetworkType()
+ public function getCurrentExperiencePoints()
{
- return $this->androidNetworkType;
+ return $this->currentExperiencePoints;
}
- public function setIosNetworkType($iosNetworkType)
+ public function setCurrentLevel(Google_Service_Games_PlayerLevel $currentLevel)
{
- $this->iosNetworkType = $iosNetworkType;
+ $this->currentLevel = $currentLevel;
}
- public function getIosNetworkType()
+ public function getCurrentLevel()
{
- return $this->iosNetworkType;
+ return $this->currentLevel;
}
public function setKind($kind)
@@ -3335,43 +5017,40 @@ public function getKind()
return $this->kind;
}
- public function setNetworkOperatorCode($networkOperatorCode)
- {
- $this->networkOperatorCode = $networkOperatorCode;
- }
-
- public function getNetworkOperatorCode()
- {
- return $this->networkOperatorCode;
- }
-
- public function setNetworkOperatorName($networkOperatorName)
+ public function setLastLevelUpTimestampMillis($lastLevelUpTimestampMillis)
{
- $this->networkOperatorName = $networkOperatorName;
+ $this->lastLevelUpTimestampMillis = $lastLevelUpTimestampMillis;
}
- public function getNetworkOperatorName()
+ public function getLastLevelUpTimestampMillis()
{
- return $this->networkOperatorName;
+ return $this->lastLevelUpTimestampMillis;
}
- public function setRegistrationLatencyMillis($registrationLatencyMillis)
+ public function setNextLevel(Google_Service_Games_PlayerLevel $nextLevel)
{
- $this->registrationLatencyMillis = $registrationLatencyMillis;
+ $this->nextLevel = $nextLevel;
}
- public function getRegistrationLatencyMillis()
+ public function getNextLevel()
{
- return $this->registrationLatencyMillis;
+ return $this->nextLevel;
}
}
-class Google_Service_Games_ParticipantResult extends Google_Model
+class Google_Service_Games_PlayerLeaderboardScore extends Google_Model
{
public $kind;
- public $participantId;
- public $placing;
- public $result;
+ public $leaderboardId;
+ protected $publicRankType = 'Google_Service_Games_LeaderboardScoreRank';
+ protected $publicRankDataType = '';
+ public $scoreString;
+ public $scoreTag;
+ public $scoreValue;
+ protected $socialRankType = 'Google_Service_Games_LeaderboardScoreRank';
+ protected $socialRankDataType = '';
+ public $timeSpan;
+ public $writeTimestamp;
public function setKind($kind)
{
@@ -3383,150 +5062,104 @@ public function getKind()
return $this->kind;
}
- public function setParticipantId($participantId)
- {
- $this->participantId = $participantId;
- }
-
- public function getParticipantId()
- {
- return $this->participantId;
- }
-
- public function setPlacing($placing)
- {
- $this->placing = $placing;
- }
-
- public function getPlacing()
- {
- return $this->placing;
- }
-
- public function setResult($result)
- {
- $this->result = $result;
- }
-
- public function getResult()
- {
- return $this->result;
- }
-}
-
-class Google_Service_Games_PeerChannelDiagnostics extends Google_Model
-{
- protected $bytesReceivedType = 'Google_Service_Games_AggregateStats';
- protected $bytesReceivedDataType = '';
- protected $bytesSentType = 'Google_Service_Games_AggregateStats';
- protected $bytesSentDataType = '';
- public $kind;
- public $numMessagesLost;
- public $numMessagesReceived;
- public $numMessagesSent;
- public $numSendFailures;
- protected $roundtripLatencyMillisType = 'Google_Service_Games_AggregateStats';
- protected $roundtripLatencyMillisDataType = '';
-
- public function setBytesReceived(Google_Service_Games_AggregateStats $bytesReceived)
+ public function setLeaderboardId($leaderboardId)
{
- $this->bytesReceived = $bytesReceived;
+ $this->leaderboardId = $leaderboardId;
}
- public function getBytesReceived()
+ public function getLeaderboardId()
{
- return $this->bytesReceived;
+ return $this->leaderboardId;
}
- public function setBytesSent(Google_Service_Games_AggregateStats $bytesSent)
+ public function setPublicRank(Google_Service_Games_LeaderboardScoreRank $publicRank)
{
- $this->bytesSent = $bytesSent;
+ $this->publicRank = $publicRank;
}
- public function getBytesSent()
+ public function getPublicRank()
{
- return $this->bytesSent;
+ return $this->publicRank;
}
- public function setKind($kind)
+ public function setScoreString($scoreString)
{
- $this->kind = $kind;
+ $this->scoreString = $scoreString;
}
- public function getKind()
+ public function getScoreString()
{
- return $this->kind;
+ return $this->scoreString;
}
- public function setNumMessagesLost($numMessagesLost)
+ public function setScoreTag($scoreTag)
{
- $this->numMessagesLost = $numMessagesLost;
+ $this->scoreTag = $scoreTag;
}
- public function getNumMessagesLost()
+ public function getScoreTag()
{
- return $this->numMessagesLost;
+ return $this->scoreTag;
}
- public function setNumMessagesReceived($numMessagesReceived)
+ public function setScoreValue($scoreValue)
{
- $this->numMessagesReceived = $numMessagesReceived;
+ $this->scoreValue = $scoreValue;
}
- public function getNumMessagesReceived()
+ public function getScoreValue()
{
- return $this->numMessagesReceived;
+ return $this->scoreValue;
}
- public function setNumMessagesSent($numMessagesSent)
+ public function setSocialRank(Google_Service_Games_LeaderboardScoreRank $socialRank)
{
- $this->numMessagesSent = $numMessagesSent;
+ $this->socialRank = $socialRank;
}
- public function getNumMessagesSent()
+ public function getSocialRank()
{
- return $this->numMessagesSent;
+ return $this->socialRank;
}
- public function setNumSendFailures($numSendFailures)
+ public function setTimeSpan($timeSpan)
{
- $this->numSendFailures = $numSendFailures;
+ $this->timeSpan = $timeSpan;
}
- public function getNumSendFailures()
+ public function getTimeSpan()
{
- return $this->numSendFailures;
+ return $this->timeSpan;
}
- public function setRoundtripLatencyMillis(Google_Service_Games_AggregateStats $roundtripLatencyMillis)
+ public function setWriteTimestamp($writeTimestamp)
{
- $this->roundtripLatencyMillis = $roundtripLatencyMillis;
+ $this->writeTimestamp = $writeTimestamp;
}
- public function getRoundtripLatencyMillis()
+ public function getWriteTimestamp()
{
- return $this->roundtripLatencyMillis;
+ return $this->writeTimestamp;
}
}
-class Google_Service_Games_PeerSessionDiagnostics extends Google_Model
+class Google_Service_Games_PlayerLeaderboardScoreListResponse extends Google_Collection
{
- public $connectedTimestampMillis;
+ protected $itemsType = 'Google_Service_Games_PlayerLeaderboardScore';
+ protected $itemsDataType = 'array';
public $kind;
- public $participantId;
- protected $reliableChannelType = 'Google_Service_Games_PeerChannelDiagnostics';
- protected $reliableChannelDataType = '';
- protected $unreliableChannelType = 'Google_Service_Games_PeerChannelDiagnostics';
- protected $unreliableChannelDataType = '';
+ public $nextPageToken;
+ protected $playerType = 'Google_Service_Games_Player';
+ protected $playerDataType = '';
- public function setConnectedTimestampMillis($connectedTimestampMillis)
+ public function setItems($items)
{
- $this->connectedTimestampMillis = $connectedTimestampMillis;
+ $this->items = $items;
}
- public function getConnectedTimestampMillis()
+ public function getItems()
{
- return $this->connectedTimestampMillis;
+ return $this->items;
}
public function setKind($kind)
@@ -3539,103 +5172,90 @@ public function getKind()
return $this->kind;
}
- public function setParticipantId($participantId)
- {
- $this->participantId = $participantId;
- }
-
- public function getParticipantId()
- {
- return $this->participantId;
- }
-
- public function setReliableChannel(Google_Service_Games_PeerChannelDiagnostics $reliableChannel)
+ public function setNextPageToken($nextPageToken)
{
- $this->reliableChannel = $reliableChannel;
+ $this->nextPageToken = $nextPageToken;
}
- public function getReliableChannel()
+ public function getNextPageToken()
{
- return $this->reliableChannel;
+ return $this->nextPageToken;
}
- public function setUnreliableChannel(Google_Service_Games_PeerChannelDiagnostics $unreliableChannel)
+ public function setPlayer(Google_Service_Games_Player $player)
{
- $this->unreliableChannel = $unreliableChannel;
+ $this->player = $player;
}
- public function getUnreliableChannel()
+ public function getPlayer()
{
- return $this->unreliableChannel;
+ return $this->player;
}
}
-class Google_Service_Games_Played extends Google_Model
+class Google_Service_Games_PlayerLevel extends Google_Model
{
- public $autoMatched;
public $kind;
- public $timeMillis;
+ public $level;
+ public $maxExperiencePoints;
+ public $minExperiencePoints;
- public function setAutoMatched($autoMatched)
+ public function setKind($kind)
{
- $this->autoMatched = $autoMatched;
+ $this->kind = $kind;
}
- public function getAutoMatched()
+ public function getKind()
{
- return $this->autoMatched;
+ return $this->kind;
}
- public function setKind($kind)
+ public function setLevel($level)
{
- $this->kind = $kind;
+ $this->level = $level;
}
- public function getKind()
+ public function getLevel()
{
- return $this->kind;
+ return $this->level;
}
- public function setTimeMillis($timeMillis)
+ public function setMaxExperiencePoints($maxExperiencePoints)
{
- $this->timeMillis = $timeMillis;
+ $this->maxExperiencePoints = $maxExperiencePoints;
}
- public function getTimeMillis()
+ public function getMaxExperiencePoints()
{
- return $this->timeMillis;
+ return $this->maxExperiencePoints;
}
-}
-
-class Google_Service_Games_Player extends Google_Model
-{
- public $avatarImageUrl;
- public $displayName;
- public $kind;
- protected $lastPlayedWithType = 'Google_Service_Games_Played';
- protected $lastPlayedWithDataType = '';
- protected $nameType = 'Google_Service_Games_PlayerName';
- protected $nameDataType = '';
- public $playerId;
- public function setAvatarImageUrl($avatarImageUrl)
+ public function setMinExperiencePoints($minExperiencePoints)
{
- $this->avatarImageUrl = $avatarImageUrl;
+ $this->minExperiencePoints = $minExperiencePoints;
}
- public function getAvatarImageUrl()
+ public function getMinExperiencePoints()
{
- return $this->avatarImageUrl;
+ return $this->minExperiencePoints;
}
+}
- public function setDisplayName($displayName)
+class Google_Service_Games_PlayerListResponse extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_Games_Player';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+ public function setItems($items)
{
- $this->displayName = $displayName;
+ $this->items = $items;
}
- public function getDisplayName()
+ public function getItems()
{
- return $this->displayName;
+ return $this->items;
}
public function setKind($kind)
@@ -3648,123 +5268,107 @@ public function getKind()
return $this->kind;
}
- public function setLastPlayedWith(Google_Service_Games_Played $lastPlayedWith)
+ public function setNextPageToken($nextPageToken)
{
- $this->lastPlayedWith = $lastPlayedWith;
+ $this->nextPageToken = $nextPageToken;
}
- public function getLastPlayedWith()
+ public function getNextPageToken()
{
- return $this->lastPlayedWith;
+ return $this->nextPageToken;
}
+}
- public function setName(Google_Service_Games_PlayerName $name)
+class Google_Service_Games_PlayerName extends Google_Model
+{
+ public $familyName;
+ public $givenName;
+
+ public function setFamilyName($familyName)
{
- $this->name = $name;
+ $this->familyName = $familyName;
}
- public function getName()
+ public function getFamilyName()
{
- return $this->name;
+ return $this->familyName;
}
- public function setPlayerId($playerId)
+ public function setGivenName($givenName)
{
- $this->playerId = $playerId;
+ $this->givenName = $givenName;
}
- public function getPlayerId()
+ public function getGivenName()
{
- return $this->playerId;
+ return $this->givenName;
}
}
-class Google_Service_Games_PlayerAchievement extends Google_Model
+class Google_Service_Games_PlayerScore extends Google_Model
{
- public $achievementState;
- public $currentSteps;
- public $formattedCurrentStepsString;
- public $id;
+ public $formattedScore;
public $kind;
- public $lastUpdatedTimestamp;
-
- public function setAchievementState($achievementState)
- {
- $this->achievementState = $achievementState;
- }
-
- public function getAchievementState()
- {
- return $this->achievementState;
- }
+ public $score;
+ public $scoreTag;
+ public $timeSpan;
- public function setCurrentSteps($currentSteps)
+ public function setFormattedScore($formattedScore)
{
- $this->currentSteps = $currentSteps;
+ $this->formattedScore = $formattedScore;
}
- public function getCurrentSteps()
+ public function getFormattedScore()
{
- return $this->currentSteps;
+ return $this->formattedScore;
}
- public function setFormattedCurrentStepsString($formattedCurrentStepsString)
+ public function setKind($kind)
{
- $this->formattedCurrentStepsString = $formattedCurrentStepsString;
+ $this->kind = $kind;
}
- public function getFormattedCurrentStepsString()
+ public function getKind()
{
- return $this->formattedCurrentStepsString;
+ return $this->kind;
}
- public function setId($id)
+ public function setScore($score)
{
- $this->id = $id;
+ $this->score = $score;
}
- public function getId()
+ public function getScore()
{
- return $this->id;
+ return $this->score;
}
- public function setKind($kind)
+ public function setScoreTag($scoreTag)
{
- $this->kind = $kind;
+ $this->scoreTag = $scoreTag;
}
- public function getKind()
+ public function getScoreTag()
{
- return $this->kind;
+ return $this->scoreTag;
}
- public function setLastUpdatedTimestamp($lastUpdatedTimestamp)
+ public function setTimeSpan($timeSpan)
{
- $this->lastUpdatedTimestamp = $lastUpdatedTimestamp;
+ $this->timeSpan = $timeSpan;
}
- public function getLastUpdatedTimestamp()
+ public function getTimeSpan()
{
- return $this->lastUpdatedTimestamp;
+ return $this->timeSpan;
}
}
-class Google_Service_Games_PlayerAchievementListResponse extends Google_Collection
+class Google_Service_Games_PlayerScoreListResponse extends Google_Collection
{
- protected $itemsType = 'Google_Service_Games_PlayerAchievement';
- protected $itemsDataType = 'array';
public $kind;
- public $nextPageToken;
-
- public function setItems($items)
- {
- $this->items = $items;
- }
-
- public function getItems()
- {
- return $this->items;
- }
+ protected $submittedScoresType = 'Google_Service_Games_PlayerScoreResponse';
+ protected $submittedScoresDataType = 'array';
public function setKind($kind)
{
@@ -3776,30 +5380,46 @@ public function getKind()
return $this->kind;
}
- public function setNextPageToken($nextPageToken)
+ public function setSubmittedScores($submittedScores)
{
- $this->nextPageToken = $nextPageToken;
+ $this->submittedScores = $submittedScores;
}
- public function getNextPageToken()
+ public function getSubmittedScores()
{
- return $this->nextPageToken;
+ return $this->submittedScores;
}
}
-class Google_Service_Games_PlayerLeaderboardScore extends Google_Model
+class Google_Service_Games_PlayerScoreResponse extends Google_Collection
{
+ public $beatenScoreTimeSpans;
+ public $formattedScore;
public $kind;
public $leaderboardId;
- protected $publicRankType = 'Google_Service_Games_LeaderboardScoreRank';
- protected $publicRankDataType = '';
- public $scoreString;
public $scoreTag;
- public $scoreValue;
- protected $socialRankType = 'Google_Service_Games_LeaderboardScoreRank';
- protected $socialRankDataType = '';
- public $timeSpan;
- public $writeTimestamp;
+ protected $unbeatenScoresType = 'Google_Service_Games_PlayerScore';
+ protected $unbeatenScoresDataType = 'array';
+
+ public function setBeatenScoreTimeSpans($beatenScoreTimeSpans)
+ {
+ $this->beatenScoreTimeSpans = $beatenScoreTimeSpans;
+ }
+
+ public function getBeatenScoreTimeSpans()
+ {
+ return $this->beatenScoreTimeSpans;
+ }
+
+ public function setFormattedScore($formattedScore)
+ {
+ $this->formattedScore = $formattedScore;
+ }
+
+ public function getFormattedScore()
+ {
+ return $this->formattedScore;
+ }
public function setKind($kind)
{
@@ -3821,94 +5441,117 @@ public function getLeaderboardId()
return $this->leaderboardId;
}
- public function setPublicRank(Google_Service_Games_LeaderboardScoreRank $publicRank)
+ public function setScoreTag($scoreTag)
{
- $this->publicRank = $publicRank;
+ $this->scoreTag = $scoreTag;
+ }
+
+ public function getScoreTag()
+ {
+ return $this->scoreTag;
+ }
+
+ public function setUnbeatenScores($unbeatenScores)
+ {
+ $this->unbeatenScores = $unbeatenScores;
+ }
+
+ public function getUnbeatenScores()
+ {
+ return $this->unbeatenScores;
}
+}
+
+class Google_Service_Games_PlayerScoreSubmissionList extends Google_Collection
+{
+ public $kind;
+ protected $scoresType = 'Google_Service_Games_ScoreSubmission';
+ protected $scoresDataType = 'array';
- public function getPublicRank()
+ public function setKind($kind)
{
- return $this->publicRank;
+ $this->kind = $kind;
}
- public function setScoreString($scoreString)
+ public function getKind()
{
- $this->scoreString = $scoreString;
+ return $this->kind;
}
- public function getScoreString()
+ public function setScores($scores)
{
- return $this->scoreString;
+ $this->scores = $scores;
}
- public function setScoreTag($scoreTag)
+ public function getScores()
{
- $this->scoreTag = $scoreTag;
+ return $this->scores;
}
+}
- public function getScoreTag()
- {
- return $this->scoreTag;
- }
+class Google_Service_Games_PushToken extends Google_Model
+{
+ public $clientRevision;
+ protected $idType = 'Google_Service_Games_PushTokenId';
+ protected $idDataType = '';
+ public $kind;
+ public $language;
- public function setScoreValue($scoreValue)
+ public function setClientRevision($clientRevision)
{
- $this->scoreValue = $scoreValue;
+ $this->clientRevision = $clientRevision;
}
- public function getScoreValue()
+ public function getClientRevision()
{
- return $this->scoreValue;
+ return $this->clientRevision;
}
- public function setSocialRank(Google_Service_Games_LeaderboardScoreRank $socialRank)
+ public function setId(Google_Service_Games_PushTokenId $id)
{
- $this->socialRank = $socialRank;
+ $this->id = $id;
}
- public function getSocialRank()
+ public function getId()
{
- return $this->socialRank;
+ return $this->id;
}
- public function setTimeSpan($timeSpan)
+ public function setKind($kind)
{
- $this->timeSpan = $timeSpan;
+ $this->kind = $kind;
}
- public function getTimeSpan()
+ public function getKind()
{
- return $this->timeSpan;
+ return $this->kind;
}
- public function setWriteTimestamp($writeTimestamp)
+ public function setLanguage($language)
{
- $this->writeTimestamp = $writeTimestamp;
+ $this->language = $language;
}
- public function getWriteTimestamp()
+ public function getLanguage()
{
- return $this->writeTimestamp;
+ return $this->language;
}
}
-class Google_Service_Games_PlayerLeaderboardScoreListResponse extends Google_Collection
+class Google_Service_Games_PushTokenId extends Google_Model
{
- protected $itemsType = 'Google_Service_Games_PlayerLeaderboardScore';
- protected $itemsDataType = 'array';
+ protected $iosType = 'Google_Service_Games_PushTokenIdIos';
+ protected $iosDataType = '';
public $kind;
- public $nextPageToken;
- protected $playerType = 'Google_Service_Games_Player';
- protected $playerDataType = '';
- public function setItems($items)
+ public function setIos(Google_Service_Games_PushTokenIdIos $ios)
{
- $this->items = $items;
+ $this->ios = $ios;
}
- public function getItems()
+ public function getIos()
{
- return $this->items;
+ return $this->ios;
}
public function setKind($kind)
@@ -3920,302 +5563,329 @@ public function getKind()
{
return $this->kind;
}
+}
- public function setNextPageToken($nextPageToken)
+class Google_Service_Games_PushTokenIdIos extends Google_Model
+{
+ public $apnsDeviceToken;
+ public $apnsEnvironment;
+
+ public function setApnsDeviceToken($apnsDeviceToken)
{
- $this->nextPageToken = $nextPageToken;
+ $this->apnsDeviceToken = $apnsDeviceToken;
}
- public function getNextPageToken()
+ public function getApnsDeviceToken()
{
- return $this->nextPageToken;
+ return $this->apnsDeviceToken;
}
- public function setPlayer(Google_Service_Games_Player $player)
+ public function setApnsEnvironment($apnsEnvironment)
{
- $this->player = $player;
+ $this->apnsEnvironment = $apnsEnvironment;
}
- public function getPlayer()
+ public function getApnsEnvironment()
{
- return $this->player;
+ return $this->apnsEnvironment;
}
}
-class Google_Service_Games_PlayerListResponse extends Google_Collection
+class Google_Service_Games_Quest extends Google_Collection
{
- protected $itemsType = 'Google_Service_Games_Player';
- protected $itemsDataType = 'array';
+ public $acceptedTimestampMillis;
+ public $applicationId;
+ public $bannerUrl;
+ public $description;
+ public $endTimestampMillis;
+ public $iconUrl;
+ public $id;
+ public $isDefaultBannerUrl;
+ public $isDefaultIconUrl;
public $kind;
- public $nextPageToken;
+ public $lastUpdatedTimestampMillis;
+ protected $milestonesType = 'Google_Service_Games_QuestMilestone';
+ protected $milestonesDataType = 'array';
+ public $name;
+ public $notifyTimestampMillis;
+ public $startTimestampMillis;
+ public $state;
- public function setItems($items)
+ public function setAcceptedTimestampMillis($acceptedTimestampMillis)
{
- $this->items = $items;
+ $this->acceptedTimestampMillis = $acceptedTimestampMillis;
}
- public function getItems()
+ public function getAcceptedTimestampMillis()
{
- return $this->items;
+ return $this->acceptedTimestampMillis;
}
- public function setKind($kind)
+ public function setApplicationId($applicationId)
{
- $this->kind = $kind;
+ $this->applicationId = $applicationId;
}
- public function getKind()
+ public function getApplicationId()
{
- return $this->kind;
+ return $this->applicationId;
}
- public function setNextPageToken($nextPageToken)
+ public function setBannerUrl($bannerUrl)
{
- $this->nextPageToken = $nextPageToken;
+ $this->bannerUrl = $bannerUrl;
}
- public function getNextPageToken()
+ public function getBannerUrl()
{
- return $this->nextPageToken;
+ return $this->bannerUrl;
}
-}
-
-class Google_Service_Games_PlayerName extends Google_Model
-{
- public $familyName;
- public $givenName;
- public function setFamilyName($familyName)
+ public function setDescription($description)
{
- $this->familyName = $familyName;
+ $this->description = $description;
}
- public function getFamilyName()
+ public function getDescription()
{
- return $this->familyName;
+ return $this->description;
}
- public function setGivenName($givenName)
+ public function setEndTimestampMillis($endTimestampMillis)
{
- $this->givenName = $givenName;
+ $this->endTimestampMillis = $endTimestampMillis;
}
- public function getGivenName()
+ public function getEndTimestampMillis()
{
- return $this->givenName;
+ return $this->endTimestampMillis;
}
-}
-
-class Google_Service_Games_PlayerScore extends Google_Model
-{
- public $formattedScore;
- public $kind;
- public $score;
- public $scoreTag;
- public $timeSpan;
- public function setFormattedScore($formattedScore)
+ public function setIconUrl($iconUrl)
{
- $this->formattedScore = $formattedScore;
+ $this->iconUrl = $iconUrl;
}
- public function getFormattedScore()
+ public function getIconUrl()
{
- return $this->formattedScore;
+ return $this->iconUrl;
}
- public function setKind($kind)
+ public function setId($id)
{
- $this->kind = $kind;
+ $this->id = $id;
}
- public function getKind()
+ public function getId()
{
- return $this->kind;
+ return $this->id;
}
- public function setScore($score)
+ public function setIsDefaultBannerUrl($isDefaultBannerUrl)
{
- $this->score = $score;
+ $this->isDefaultBannerUrl = $isDefaultBannerUrl;
}
- public function getScore()
+ public function getIsDefaultBannerUrl()
{
- return $this->score;
+ return $this->isDefaultBannerUrl;
}
- public function setScoreTag($scoreTag)
+ public function setIsDefaultIconUrl($isDefaultIconUrl)
{
- $this->scoreTag = $scoreTag;
+ $this->isDefaultIconUrl = $isDefaultIconUrl;
}
- public function getScoreTag()
+ public function getIsDefaultIconUrl()
{
- return $this->scoreTag;
+ return $this->isDefaultIconUrl;
}
- public function setTimeSpan($timeSpan)
+ public function setKind($kind)
{
- $this->timeSpan = $timeSpan;
+ $this->kind = $kind;
}
- public function getTimeSpan()
+ public function getKind()
{
- return $this->timeSpan;
+ return $this->kind;
}
-}
-class Google_Service_Games_PlayerScoreListResponse extends Google_Collection
-{
- public $kind;
- protected $submittedScoresType = 'Google_Service_Games_PlayerScoreResponse';
- protected $submittedScoresDataType = 'array';
+ public function setLastUpdatedTimestampMillis($lastUpdatedTimestampMillis)
+ {
+ $this->lastUpdatedTimestampMillis = $lastUpdatedTimestampMillis;
+ }
- public function setKind($kind)
+ public function getLastUpdatedTimestampMillis()
{
- $this->kind = $kind;
+ return $this->lastUpdatedTimestampMillis;
}
- public function getKind()
+ public function setMilestones($milestones)
{
- return $this->kind;
+ $this->milestones = $milestones;
}
- public function setSubmittedScores($submittedScores)
+ public function getMilestones()
{
- $this->submittedScores = $submittedScores;
+ return $this->milestones;
}
- public function getSubmittedScores()
+ public function setName($name)
{
- return $this->submittedScores;
+ $this->name = $name;
}
-}
-class Google_Service_Games_PlayerScoreResponse extends Google_Collection
-{
- public $beatenScoreTimeSpans;
- public $formattedScore;
- public $kind;
- public $leaderboardId;
- public $scoreTag;
- protected $unbeatenScoresType = 'Google_Service_Games_PlayerScore';
- protected $unbeatenScoresDataType = 'array';
+ public function getName()
+ {
+ return $this->name;
+ }
- public function setBeatenScoreTimeSpans($beatenScoreTimeSpans)
+ public function setNotifyTimestampMillis($notifyTimestampMillis)
{
- $this->beatenScoreTimeSpans = $beatenScoreTimeSpans;
+ $this->notifyTimestampMillis = $notifyTimestampMillis;
}
- public function getBeatenScoreTimeSpans()
+ public function getNotifyTimestampMillis()
{
- return $this->beatenScoreTimeSpans;
+ return $this->notifyTimestampMillis;
}
- public function setFormattedScore($formattedScore)
+ public function setStartTimestampMillis($startTimestampMillis)
{
- $this->formattedScore = $formattedScore;
+ $this->startTimestampMillis = $startTimestampMillis;
}
- public function getFormattedScore()
+ public function getStartTimestampMillis()
{
- return $this->formattedScore;
+ return $this->startTimestampMillis;
}
- public function setKind($kind)
+ public function setState($state)
{
- $this->kind = $kind;
+ $this->state = $state;
}
- public function getKind()
+ public function getState()
{
- return $this->kind;
+ return $this->state;
}
+}
- public function setLeaderboardId($leaderboardId)
+class Google_Service_Games_QuestContribution extends Google_Model
+{
+ public $formattedValue;
+ public $kind;
+ public $value;
+
+ public function setFormattedValue($formattedValue)
{
- $this->leaderboardId = $leaderboardId;
+ $this->formattedValue = $formattedValue;
}
- public function getLeaderboardId()
+ public function getFormattedValue()
{
- return $this->leaderboardId;
+ return $this->formattedValue;
}
- public function setScoreTag($scoreTag)
+ public function setKind($kind)
{
- $this->scoreTag = $scoreTag;
+ $this->kind = $kind;
}
- public function getScoreTag()
+ public function getKind()
{
- return $this->scoreTag;
+ return $this->kind;
}
- public function setUnbeatenScores($unbeatenScores)
+ public function setValue($value)
{
- $this->unbeatenScores = $unbeatenScores;
+ $this->value = $value;
}
- public function getUnbeatenScores()
+ public function getValue()
{
- return $this->unbeatenScores;
+ return $this->value;
}
}
-class Google_Service_Games_PlayerScoreSubmissionList extends Google_Collection
+class Google_Service_Games_QuestCriterion extends Google_Model
{
+ protected $completionContributionType = 'Google_Service_Games_QuestContribution';
+ protected $completionContributionDataType = '';
+ protected $currentContributionType = 'Google_Service_Games_QuestContribution';
+ protected $currentContributionDataType = '';
+ public $eventId;
+ protected $initialPlayerProgressType = 'Google_Service_Games_QuestContribution';
+ protected $initialPlayerProgressDataType = '';
public $kind;
- protected $scoresType = 'Google_Service_Games_ScoreSubmission';
- protected $scoresDataType = 'array';
- public function setKind($kind)
+ public function setCompletionContribution(Google_Service_Games_QuestContribution $completionContribution)
+ {
+ $this->completionContribution = $completionContribution;
+ }
+
+ public function getCompletionContribution()
+ {
+ return $this->completionContribution;
+ }
+
+ public function setCurrentContribution(Google_Service_Games_QuestContribution $currentContribution)
{
- $this->kind = $kind;
+ $this->currentContribution = $currentContribution;
}
- public function getKind()
+ public function getCurrentContribution()
{
- return $this->kind;
+ return $this->currentContribution;
}
- public function setScores($scores)
+ public function setEventId($eventId)
{
- $this->scores = $scores;
+ $this->eventId = $eventId;
}
- public function getScores()
+ public function getEventId()
{
- return $this->scores;
+ return $this->eventId;
}
-}
-class Google_Service_Games_PushToken extends Google_Model
-{
- public $clientRevision;
- protected $idType = 'Google_Service_Games_PushTokenId';
- protected $idDataType = '';
- public $kind;
- public $language;
+ public function setInitialPlayerProgress(Google_Service_Games_QuestContribution $initialPlayerProgress)
+ {
+ $this->initialPlayerProgress = $initialPlayerProgress;
+ }
- public function setClientRevision($clientRevision)
+ public function getInitialPlayerProgress()
{
- $this->clientRevision = $clientRevision;
+ return $this->initialPlayerProgress;
}
- public function getClientRevision()
+ public function setKind($kind)
{
- return $this->clientRevision;
+ $this->kind = $kind;
}
- public function setId(Google_Service_Games_PushTokenId $id)
+ public function getKind()
{
- $this->id = $id;
+ return $this->kind;
}
+}
- public function getId()
+class Google_Service_Games_QuestListResponse extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_Games_Quest';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+ public function setItems($items)
{
- return $this->id;
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
}
public function setKind($kind)
@@ -4228,67 +5898,74 @@ public function getKind()
return $this->kind;
}
- public function setLanguage($language)
+ public function setNextPageToken($nextPageToken)
{
- $this->language = $language;
+ $this->nextPageToken = $nextPageToken;
}
- public function getLanguage()
+ public function getNextPageToken()
{
- return $this->language;
+ return $this->nextPageToken;
}
}
-class Google_Service_Games_PushTokenId extends Google_Model
+class Google_Service_Games_QuestMilestone extends Google_Collection
{
- protected $iosType = 'Google_Service_Games_PushTokenIdIos';
- protected $iosDataType = '';
+ public $completionRewardData;
+ protected $criteriaType = 'Google_Service_Games_QuestCriterion';
+ protected $criteriaDataType = 'array';
+ public $id;
public $kind;
+ public $state;
- public function setIos(Google_Service_Games_PushTokenIdIos $ios)
+ public function setCompletionRewardData($completionRewardData)
{
- $this->ios = $ios;
+ $this->completionRewardData = $completionRewardData;
}
- public function getIos()
+ public function getCompletionRewardData()
{
- return $this->ios;
+ return $this->completionRewardData;
}
- public function setKind($kind)
+ public function setCriteria($criteria)
{
- $this->kind = $kind;
+ $this->criteria = $criteria;
}
- public function getKind()
+ public function getCriteria()
{
- return $this->kind;
+ return $this->criteria;
}
-}
-class Google_Service_Games_PushTokenIdIos extends Google_Model
-{
- public $apnsDeviceToken;
- public $apnsEnvironment;
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
- public function setApnsDeviceToken($apnsDeviceToken)
+ public function getId()
{
- $this->apnsDeviceToken = $apnsDeviceToken;
+ return $this->id;
}
- public function getApnsDeviceToken()
+ public function setKind($kind)
{
- return $this->apnsDeviceToken;
+ $this->kind = $kind;
}
- public function setApnsEnvironment($apnsEnvironment)
+ public function getKind()
{
- $this->apnsEnvironment = $apnsEnvironment;
+ return $this->kind;
}
- public function getApnsEnvironment()
+ public function setState($state)
{
- return $this->apnsEnvironment;
+ $this->state = $state;
+ }
+
+ public function getState()
+ {
+ return $this->state;
}
}
@@ -5277,6 +6954,218 @@ public function getScoreTag()
}
}
+class Google_Service_Games_Snapshot extends Google_Model
+{
+ protected $coverImageType = 'Google_Service_Games_SnapshotImage';
+ protected $coverImageDataType = '';
+ public $description;
+ public $driveId;
+ public $durationMillis;
+ public $id;
+ public $kind;
+ public $lastModifiedMillis;
+ public $title;
+ public $type;
+ public $uniqueName;
+
+ public function setCoverImage(Google_Service_Games_SnapshotImage $coverImage)
+ {
+ $this->coverImage = $coverImage;
+ }
+
+ public function getCoverImage()
+ {
+ return $this->coverImage;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setDriveId($driveId)
+ {
+ $this->driveId = $driveId;
+ }
+
+ public function getDriveId()
+ {
+ return $this->driveId;
+ }
+
+ public function setDurationMillis($durationMillis)
+ {
+ $this->durationMillis = $durationMillis;
+ }
+
+ public function getDurationMillis()
+ {
+ return $this->durationMillis;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setLastModifiedMillis($lastModifiedMillis)
+ {
+ $this->lastModifiedMillis = $lastModifiedMillis;
+ }
+
+ public function getLastModifiedMillis()
+ {
+ return $this->lastModifiedMillis;
+ }
+
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+
+ public function getTitle()
+ {
+ return $this->title;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+
+ public function setUniqueName($uniqueName)
+ {
+ $this->uniqueName = $uniqueName;
+ }
+
+ public function getUniqueName()
+ {
+ return $this->uniqueName;
+ }
+}
+
+class Google_Service_Games_SnapshotImage extends Google_Model
+{
+ public $height;
+ public $kind;
+ public $mimeType;
+ public $url;
+ public $width;
+
+ public function setHeight($height)
+ {
+ $this->height = $height;
+ }
+
+ public function getHeight()
+ {
+ return $this->height;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setMimeType($mimeType)
+ {
+ $this->mimeType = $mimeType;
+ }
+
+ public function getMimeType()
+ {
+ return $this->mimeType;
+ }
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+
+ public function getUrl()
+ {
+ return $this->url;
+ }
+
+ public function setWidth($width)
+ {
+ $this->width = $width;
+ }
+
+ public function getWidth()
+ {
+ return $this->width;
+ }
+}
+
+class Google_Service_Games_SnapshotListResponse extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_Games_Snapshot';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
class Google_Service_Games_TurnBasedAutoMatchingCriteria extends Google_Model
{
public $exclusiveBitmask;
From 55ded935f7f1ea5e1c459f2a9c5b9f6c4d3c772e Mon Sep 17 00:00:00 2001
From: Silvano Luciani + * For more information about this service, see the API + * Documentation + *
+ * + * @author Google, Inc. + */ +class Google_Service_Gmail extends Google_Service +{ + /** View and manage your mail. */ + const MAIL_GOOGLE_COM = "https://mail.google.com/"; + /** Manage drafts and send emails. */ + const GMAIL_COMPOSE = "https://www.googleapis.com/auth/gmail.compose"; + /** View and modify but not delete your email. */ + const GMAIL_MODIFY = "https://www.googleapis.com/auth/gmail.modify"; + /** View your emails messages and settings. */ + const GMAIL_READONLY = "https://www.googleapis.com/auth/gmail.readonly"; + + public $users_drafts; + public $users_history; + public $users_labels; + public $users_messages; + public $users_messages_attachments; + public $users_threads; + + + /** + * Constructs the internal representation of the Gmail service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->servicePath = 'gmail/v1/users/'; + $this->version = 'v1'; + $this->serviceName = 'gmail'; + + $this->users_drafts = new Google_Service_Gmail_UsersDrafts_Resource( + $this, + $this->serviceName, + 'drafts', + array( + 'methods' => array( + 'create' => array( + 'path' => '{userId}/drafts', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => '{userId}/drafts/{id}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{userId}/drafts/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'format' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => '{userId}/drafts', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'send' => array( + 'path' => '{userId}/drafts/send', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => '{userId}/drafts/{id}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->users_history = new Google_Service_Gmail_UsersHistory_Resource( + $this, + $this->serviceName, + 'history', + array( + 'methods' => array( + 'list' => array( + 'path' => '{userId}/history', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'labelId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'startHistoryId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->users_labels = new Google_Service_Gmail_UsersLabels_Resource( + $this, + $this->serviceName, + 'labels', + array( + 'methods' => array( + 'create' => array( + 'path' => '{userId}/labels', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => '{userId}/labels/{id}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{userId}/labels/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{userId}/labels', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => '{userId}/labels/{id}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => '{userId}/labels/{id}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->users_messages = new Google_Service_Gmail_UsersMessages_Resource( + $this, + $this->serviceName, + 'messages', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{userId}/messages/{id}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{userId}/messages/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'format' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'import' => array( + 'path' => '{userId}/messages/import', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{userId}/messages', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{userId}/messages', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'q' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'includeSpamTrash' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'labelIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ),'modify' => array( + 'path' => '{userId}/messages/{id}/modify', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'send' => array( + 'path' => '{userId}/messages/send', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'trash' => array( + 'path' => '{userId}/messages/{id}/trash', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'untrash' => array( + 'path' => '{userId}/messages/{id}/untrash', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->users_messages_attachments = new Google_Service_Gmail_UsersMessagesAttachments_Resource( + $this, + $this->serviceName, + 'attachments', + array( + 'methods' => array( + 'get' => array( + 'path' => '{userId}/messages/{messageId}/attachments/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'messageId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->users_threads = new Google_Service_Gmail_UsersThreads_Resource( + $this, + $this->serviceName, + 'threads', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{userId}/threads/{id}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{userId}/threads/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{userId}/threads', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'q' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'includeSpamTrash' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'labelIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ),'modify' => array( + 'path' => '{userId}/threads/{id}/modify', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'trash' => array( + 'path' => '{userId}/threads/{id}/trash', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'untrash' => array( + 'path' => '{userId}/threads/{id}/untrash', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "users" collection of methods. + * Typical usage is: + *
+ * $gmailService = new Google_Service_Gmail(...);
+ * $users = $gmailService->users;
+ *
+ */
+class Google_Service_Gmail_Users_Resource extends Google_Service_Resource
+{
+
+}
+
+/**
+ * The "drafts" collection of methods.
+ * Typical usage is:
+ *
+ * $gmailService = new Google_Service_Gmail(...);
+ * $drafts = $gmailService->drafts;
+ *
+ */
+class Google_Service_Gmail_UsersDrafts_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Creates a new draft with the DRAFT label. (drafts.create)
+ *
+ * @param string $userId
+ * The user's email address. The special value me can be used to indicate the authenticated user.
+ * @param Google_Draft $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_Draft
+ */
+ public function create($userId, Google_Service_Gmail_Draft $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Gmail_Draft");
+ }
+ /**
+ * Immediately and permanently deletes the specified draft. Does not simply
+ * trash it. (drafts.delete)
+ *
+ * @param string $userId
+ * The user's email address. The special value me can be used to indicate the authenticated user.
+ * @param string $id
+ * The ID of the draft to delete.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($userId, $id, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Gets the specified draft. (drafts.get)
+ *
+ * @param string $userId
+ * The user's email address. The special value me can be used to indicate the authenticated user.
+ * @param string $id
+ * The ID of the draft to retrieve.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string format
+ * The format to return the draft in.
+ * @return Google_Service_Gmail_Draft
+ */
+ public function get($userId, $id, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Gmail_Draft");
+ }
+ /**
+ * Lists the drafts in the user's mailbox. (drafts.listUsersDrafts)
+ *
+ * @param string $userId
+ * The user's email address. The special value me can be used to indicate the authenticated user.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * Page token to retrieve a specific page of results in the list.
+ * @opt_param string maxResults
+ * Maximum number of drafts to return.
+ * @return Google_Service_Gmail_ListDraftsResponse
+ */
+ public function listUsersDrafts($userId, $optParams = array())
+ {
+ $params = array('userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Gmail_ListDraftsResponse");
+ }
+ /**
+ * Sends the specified, existing draft to the recipients in the To, Cc, and Bcc
+ * headers. (drafts.send)
+ *
+ * @param string $userId
+ * The user's email address. The special value me can be used to indicate the authenticated user.
+ * @param Google_Draft $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_Message
+ */
+ public function send($userId, Google_Service_Gmail_Draft $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('send', array($params), "Google_Service_Gmail_Message");
+ }
+ /**
+ * Replaces a draft's content. (drafts.update)
+ *
+ * @param string $userId
+ * The user's email address. The special value me can be used to indicate the authenticated user.
+ * @param string $id
+ * The ID of the draft to update.
+ * @param Google_Draft $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_Draft
+ */
+ public function update($userId, $id, Google_Service_Gmail_Draft $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Gmail_Draft");
+ }
+}
+/**
+ * The "history" collection of methods.
+ * Typical usage is:
+ *
+ * $gmailService = new Google_Service_Gmail(...);
+ * $history = $gmailService->history;
+ *
+ */
+class Google_Service_Gmail_UsersHistory_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Lists the history of all changes to the given mailbox. History results are
+ * returned in chronological order (increasing historyId).
+ * (history.listUsersHistory)
+ *
+ * @param string $userId
+ * The user's email address. The special value me can be used to indicate the authenticated user.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * Page token to retrieve a specific page of results in the list.
+ * @opt_param string maxResults
+ * The maximum number of history records to return.
+ * @opt_param string labelId
+ * Only return messages with a label matching the ID.
+ * @opt_param string startHistoryId
+ * Required. Returns history records after the specified startHistoryId. The supplied
+ * startHistoryId should be obtained from the historyId of a message, thread, or previous list
+ * response. History IDs increase chronologically but are not contiguous with random gaps in
+ * between valid IDs. Supplying an invalid or out of date startHistoryId typically returns an HTTP
+ * 404 error code. A historyId is typically valid for at least a week, but in some circumstances
+ * may be valid for only a few hours. If you receive an HTTP 404 error response, your application
+ * should perform a full sync. If you receive no nextPageToken in the response, there are no
+ * updates to retrieve and you can store the returned historyId for a future request.
+ * @return Google_Service_Gmail_ListHistoryResponse
+ */
+ public function listUsersHistory($userId, $optParams = array())
+ {
+ $params = array('userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Gmail_ListHistoryResponse");
+ }
+}
+/**
+ * The "labels" collection of methods.
+ * Typical usage is:
+ *
+ * $gmailService = new Google_Service_Gmail(...);
+ * $labels = $gmailService->labels;
+ *
+ */
+class Google_Service_Gmail_UsersLabels_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Creates a new label. (labels.create)
+ *
+ * @param string $userId
+ * The user's email address. The special value me can be used to indicate the authenticated user.
+ * @param Google_Label $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_Label
+ */
+ public function create($userId, Google_Service_Gmail_Label $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Gmail_Label");
+ }
+ /**
+ * Immediately and permanently deletes the specified label and removes it from
+ * any messages and threads that it is applied to. (labels.delete)
+ *
+ * @param string $userId
+ * The user's email address. The special value me can be used to indicate the authenticated user.
+ * @param string $id
+ * The ID of the label to delete.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($userId, $id, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Gets the specified label. (labels.get)
+ *
+ * @param string $userId
+ * The user's email address. The special value me can be used to indicate the authenticated user.
+ * @param string $id
+ * The ID of the label to retrieve.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_Label
+ */
+ public function get($userId, $id, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Gmail_Label");
+ }
+ /**
+ * Lists all labels in the user's mailbox. (labels.listUsersLabels)
+ *
+ * @param string $userId
+ * The user's email address. The special value me can be used to indicate the authenticated user.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_ListLabelsResponse
+ */
+ public function listUsersLabels($userId, $optParams = array())
+ {
+ $params = array('userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Gmail_ListLabelsResponse");
+ }
+ /**
+ * Updates the specified label. This method supports patch semantics.
+ * (labels.patch)
+ *
+ * @param string $userId
+ * The user's email address. The special value me can be used to indicate the authenticated user.
+ * @param string $id
+ * The ID of the label to update.
+ * @param Google_Label $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_Label
+ */
+ public function patch($userId, $id, Google_Service_Gmail_Label $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Gmail_Label");
+ }
+ /**
+ * Updates the specified label. (labels.update)
+ *
+ * @param string $userId
+ * The user's email address. The special value me can be used to indicate the authenticated user.
+ * @param string $id
+ * The ID of the label to update.
+ * @param Google_Label $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_Label
+ */
+ public function update($userId, $id, Google_Service_Gmail_Label $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Gmail_Label");
+ }
+}
+/**
+ * The "messages" collection of methods.
+ * Typical usage is:
+ *
+ * $gmailService = new Google_Service_Gmail(...);
+ * $messages = $gmailService->messages;
+ *
+ */
+class Google_Service_Gmail_UsersMessages_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Immediately and permanently deletes the specified message. This operation
+ * cannot be undone. Prefer messages.trash instead. (messages.delete)
+ *
+ * @param string $userId
+ * The user's email address. The special value me can be used to indicate the authenticated user.
+ * @param string $id
+ * The ID of the message to delete.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($userId, $id, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Gets the specified message. (messages.get)
+ *
+ * @param string $userId
+ * The user's email address. The special value me can be used to indicate the authenticated user.
+ * @param string $id
+ * The ID of the message to retrieve.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string format
+ * The format to return the message in.
+ * @return Google_Service_Gmail_Message
+ */
+ public function get($userId, $id, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Gmail_Message");
+ }
+ /**
+ * Directly imports a message into only this user's mailbox, similar to
+ * receiving via SMTP. Does not send a message. (messages.import)
+ *
+ * @param string $userId
+ * The user's email address. The special value me can be used to indicate the authenticated user.
+ * @param Google_Message $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_Message
+ */
+ public function import($userId, Google_Service_Gmail_Message $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('import', array($params), "Google_Service_Gmail_Message");
+ }
+ /**
+ * Directly inserts a message into only this user's mailbox. Does not send a
+ * message. (messages.insert)
+ *
+ * @param string $userId
+ * The user's email address. The special value me can be used to indicate the authenticated user.
+ * @param Google_Message $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_Message
+ */
+ public function insert($userId, Google_Service_Gmail_Message $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Gmail_Message");
+ }
+ /**
+ * Lists the messages in the user's mailbox. (messages.listUsersMessages)
+ *
+ * @param string $userId
+ * The user's email address. The special value me can be used to indicate the authenticated user.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string maxResults
+ * Maximum number of messages to return.
+ * @opt_param string q
+ * Only return messages matching the specified query. Supports the same query format as the Gmail
+ * search box. For example, "from:someuser@example.com rfc822msgid: is:unread".
+ * @opt_param string pageToken
+ * Page token to retrieve a specific page of results in the list.
+ * @opt_param bool includeSpamTrash
+ * Include messages from SPAM and TRASH in the results.
+ * @opt_param string labelIds
+ * Only return messages with labels that match all of the specified label IDs.
+ * @return Google_Service_Gmail_ListMessagesResponse
+ */
+ public function listUsersMessages($userId, $optParams = array())
+ {
+ $params = array('userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Gmail_ListMessagesResponse");
+ }
+ /**
+ * Modifies the labels on the specified message. (messages.modify)
+ *
+ * @param string $userId
+ * The user's email address. The special value me can be used to indicate the authenticated user.
+ * @param string $id
+ * The ID of the message to modify.
+ * @param Google_ModifyMessageRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_Message
+ */
+ public function modify($userId, $id, Google_Service_Gmail_ModifyMessageRequest $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('modify', array($params), "Google_Service_Gmail_Message");
+ }
+ /**
+ * Sends the specified message to the recipients in the To, Cc, and Bcc headers.
+ * (messages.send)
+ *
+ * @param string $userId
+ * The user's email address. The special value me can be used to indicate the authenticated user.
+ * @param Google_Message $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_Message
+ */
+ public function send($userId, Google_Service_Gmail_Message $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('send', array($params), "Google_Service_Gmail_Message");
+ }
+ /**
+ * Moves the specified message to the trash. (messages.trash)
+ *
+ * @param string $userId
+ * The user's email address. The special value me can be used to indicate the authenticated user.
+ * @param string $id
+ * The ID of the message to Trash.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_Message
+ */
+ public function trash($userId, $id, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('trash', array($params), "Google_Service_Gmail_Message");
+ }
+ /**
+ * Removes the specified message from the trash. (messages.untrash)
+ *
+ * @param string $userId
+ * The user's email address. The special value me can be used to indicate the authenticated user.
+ * @param string $id
+ * The ID of the message to remove from Trash.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_Message
+ */
+ public function untrash($userId, $id, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('untrash', array($params), "Google_Service_Gmail_Message");
+ }
+}
+
+/**
+ * The "attachments" collection of methods.
+ * Typical usage is:
+ *
+ * $gmailService = new Google_Service_Gmail(...);
+ * $attachments = $gmailService->attachments;
+ *
+ */
+class Google_Service_Gmail_UsersMessagesAttachments_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets the specified message attachment. (attachments.get)
+ *
+ * @param string $userId
+ * The user's email address. The special value me can be used to indicate the authenticated user.
+ * @param string $messageId
+ * The ID of the message containing the attachment.
+ * @param string $id
+ * The ID of the attachment.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_MessagePartBody
+ */
+ public function get($userId, $messageId, $id, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'messageId' => $messageId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Gmail_MessagePartBody");
+ }
+}
+/**
+ * The "threads" collection of methods.
+ * Typical usage is:
+ *
+ * $gmailService = new Google_Service_Gmail(...);
+ * $threads = $gmailService->threads;
+ *
+ */
+class Google_Service_Gmail_UsersThreads_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Immediately and permanently deletes the specified thread. This operation
+ * cannot be undone. Prefer threads.trash instead. (threads.delete)
+ *
+ * @param string $userId
+ * The user's email address. The special value me can be used to indicate the authenticated user.
+ * @param string $id
+ * ID of the Thread to delete.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($userId, $id, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Gets the specified thread. (threads.get)
+ *
+ * @param string $userId
+ * The user's email address. The special value me can be used to indicate the authenticated user.
+ * @param string $id
+ * The ID of the thread to retrieve.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_Thread
+ */
+ public function get($userId, $id, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Gmail_Thread");
+ }
+ /**
+ * Lists the threads in the user's mailbox. (threads.listUsersThreads)
+ *
+ * @param string $userId
+ * The user's email address. The special value me can be used to indicate the authenticated user.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string maxResults
+ * Maximum number of threads to return.
+ * @opt_param string q
+ * Only return threads matching the specified query. Supports the same query format as the Gmail
+ * search box. For example, "from:someuser@example.com rfc822msgid: is:unread".
+ * @opt_param string pageToken
+ * Page token to retrieve a specific page of results in the list.
+ * @opt_param bool includeSpamTrash
+ * Include threads from SPAM and TRASH in the results.
+ * @opt_param string labelIds
+ * Only return threads with labels that match all of the specified label IDs.
+ * @return Google_Service_Gmail_ListThreadsResponse
+ */
+ public function listUsersThreads($userId, $optParams = array())
+ {
+ $params = array('userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Gmail_ListThreadsResponse");
+ }
+ /**
+ * Modifies the labels applied to the thread. This applies to all messages in
+ * the thread. (threads.modify)
+ *
+ * @param string $userId
+ * The user's email address. The special value me can be used to indicate the authenticated user.
+ * @param string $id
+ * The ID of the thread to modify.
+ * @param Google_ModifyThreadRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_Thread
+ */
+ public function modify($userId, $id, Google_Service_Gmail_ModifyThreadRequest $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('modify', array($params), "Google_Service_Gmail_Thread");
+ }
+ /**
+ * Moves the specified thread to the trash. (threads.trash)
+ *
+ * @param string $userId
+ * The user's email address. The special value me can be used to indicate the authenticated user.
+ * @param string $id
+ * The ID of the thread to Trash.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_Thread
+ */
+ public function trash($userId, $id, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('trash', array($params), "Google_Service_Gmail_Thread");
+ }
+ /**
+ * Removes the specified thread from the trash. (threads.untrash)
+ *
+ * @param string $userId
+ * The user's email address. The special value me can be used to indicate the authenticated user.
+ * @param string $id
+ * The ID of the thread to remove from Trash.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_Thread
+ */
+ public function untrash($userId, $id, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('untrash', array($params), "Google_Service_Gmail_Thread");
+ }
+}
+
+
+
+
+class Google_Service_Gmail_Draft extends Google_Model
+{
+ public $id;
+ protected $messageType = 'Google_Service_Gmail_Message';
+ protected $messageDataType = '';
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setMessage(Google_Service_Gmail_Message $message)
+ {
+ $this->message = $message;
+ }
+
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Google_Service_Gmail_History extends Google_Collection
+{
+ public $id;
+ protected $messagesType = 'Google_Service_Gmail_Message';
+ protected $messagesDataType = 'array';
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setMessages($messages)
+ {
+ $this->messages = $messages;
+ }
+
+ public function getMessages()
+ {
+ return $this->messages;
+ }
+}
+
+class Google_Service_Gmail_Label extends Google_Model
+{
+ public $id;
+ public $labelListVisibility;
+ public $messageListVisibility;
+ public $name;
+ public $type;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setLabelListVisibility($labelListVisibility)
+ {
+ $this->labelListVisibility = $labelListVisibility;
+ }
+
+ public function getLabelListVisibility()
+ {
+ return $this->labelListVisibility;
+ }
+
+ public function setMessageListVisibility($messageListVisibility)
+ {
+ $this->messageListVisibility = $messageListVisibility;
+ }
+
+ public function getMessageListVisibility()
+ {
+ return $this->messageListVisibility;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_Gmail_ListDraftsResponse extends Google_Collection
+{
+ protected $draftsType = 'Google_Service_Gmail_Draft';
+ protected $draftsDataType = 'array';
+ public $nextPageToken;
+ public $resultSizeEstimate;
+
+ public function setDrafts($drafts)
+ {
+ $this->drafts = $drafts;
+ }
+
+ public function getDrafts()
+ {
+ return $this->drafts;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setResultSizeEstimate($resultSizeEstimate)
+ {
+ $this->resultSizeEstimate = $resultSizeEstimate;
+ }
+
+ public function getResultSizeEstimate()
+ {
+ return $this->resultSizeEstimate;
+ }
+}
+
+class Google_Service_Gmail_ListHistoryResponse extends Google_Collection
+{
+ protected $historyType = 'Google_Service_Gmail_History';
+ protected $historyDataType = 'array';
+ public $historyId;
+ public $nextPageToken;
+
+ public function setHistory($history)
+ {
+ $this->history = $history;
+ }
+
+ public function getHistory()
+ {
+ return $this->history;
+ }
+
+ public function setHistoryId($historyId)
+ {
+ $this->historyId = $historyId;
+ }
+
+ public function getHistoryId()
+ {
+ return $this->historyId;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Gmail_ListLabelsResponse extends Google_Collection
+{
+ protected $labelsType = 'Google_Service_Gmail_Label';
+ protected $labelsDataType = 'array';
+
+ public function setLabels($labels)
+ {
+ $this->labels = $labels;
+ }
+
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+}
+
+class Google_Service_Gmail_ListMessagesResponse extends Google_Collection
+{
+ protected $messagesType = 'Google_Service_Gmail_Message';
+ protected $messagesDataType = 'array';
+ public $nextPageToken;
+ public $resultSizeEstimate;
+
+ public function setMessages($messages)
+ {
+ $this->messages = $messages;
+ }
+
+ public function getMessages()
+ {
+ return $this->messages;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setResultSizeEstimate($resultSizeEstimate)
+ {
+ $this->resultSizeEstimate = $resultSizeEstimate;
+ }
+
+ public function getResultSizeEstimate()
+ {
+ return $this->resultSizeEstimate;
+ }
+}
+
+class Google_Service_Gmail_ListThreadsResponse extends Google_Collection
+{
+ public $nextPageToken;
+ public $resultSizeEstimate;
+ protected $threadsType = 'Google_Service_Gmail_Thread';
+ protected $threadsDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setResultSizeEstimate($resultSizeEstimate)
+ {
+ $this->resultSizeEstimate = $resultSizeEstimate;
+ }
+
+ public function getResultSizeEstimate()
+ {
+ return $this->resultSizeEstimate;
+ }
+
+ public function setThreads($threads)
+ {
+ $this->threads = $threads;
+ }
+
+ public function getThreads()
+ {
+ return $this->threads;
+ }
+}
+
+class Google_Service_Gmail_Message extends Google_Collection
+{
+ public $historyId;
+ public $id;
+ public $labelIds;
+ protected $payloadType = 'Google_Service_Gmail_MessagePart';
+ protected $payloadDataType = '';
+ public $raw;
+ public $sizeEstimate;
+ public $snippet;
+ public $threadId;
+
+ public function setHistoryId($historyId)
+ {
+ $this->historyId = $historyId;
+ }
+
+ public function getHistoryId()
+ {
+ return $this->historyId;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setLabelIds($labelIds)
+ {
+ $this->labelIds = $labelIds;
+ }
+
+ public function getLabelIds()
+ {
+ return $this->labelIds;
+ }
+
+ public function setPayload(Google_Service_Gmail_MessagePart $payload)
+ {
+ $this->payload = $payload;
+ }
+
+ public function getPayload()
+ {
+ return $this->payload;
+ }
+
+ public function setRaw($raw)
+ {
+ $this->raw = $raw;
+ }
+
+ public function getRaw()
+ {
+ return $this->raw;
+ }
+
+ public function setSizeEstimate($sizeEstimate)
+ {
+ $this->sizeEstimate = $sizeEstimate;
+ }
+
+ public function getSizeEstimate()
+ {
+ return $this->sizeEstimate;
+ }
+
+ public function setSnippet($snippet)
+ {
+ $this->snippet = $snippet;
+ }
+
+ public function getSnippet()
+ {
+ return $this->snippet;
+ }
+
+ public function setThreadId($threadId)
+ {
+ $this->threadId = $threadId;
+ }
+
+ public function getThreadId()
+ {
+ return $this->threadId;
+ }
+}
+
+class Google_Service_Gmail_MessagePart extends Google_Collection
+{
+ protected $bodyType = 'Google_Service_Gmail_MessagePartBody';
+ protected $bodyDataType = '';
+ public $filename;
+ protected $headersType = 'Google_Service_Gmail_MessagePartHeader';
+ protected $headersDataType = 'array';
+ public $mimeType;
+ public $partId;
+ protected $partsType = 'Google_Service_Gmail_MessagePart';
+ protected $partsDataType = 'array';
+
+ public function setBody(Google_Service_Gmail_MessagePartBody $body)
+ {
+ $this->body = $body;
+ }
+
+ public function getBody()
+ {
+ return $this->body;
+ }
+
+ public function setFilename($filename)
+ {
+ $this->filename = $filename;
+ }
+
+ public function getFilename()
+ {
+ return $this->filename;
+ }
+
+ public function setHeaders($headers)
+ {
+ $this->headers = $headers;
+ }
+
+ public function getHeaders()
+ {
+ return $this->headers;
+ }
+
+ public function setMimeType($mimeType)
+ {
+ $this->mimeType = $mimeType;
+ }
+
+ public function getMimeType()
+ {
+ return $this->mimeType;
+ }
+
+ public function setPartId($partId)
+ {
+ $this->partId = $partId;
+ }
+
+ public function getPartId()
+ {
+ return $this->partId;
+ }
+
+ public function setParts($parts)
+ {
+ $this->parts = $parts;
+ }
+
+ public function getParts()
+ {
+ return $this->parts;
+ }
+}
+
+class Google_Service_Gmail_MessagePartBody extends Google_Model
+{
+ public $attachmentId;
+ public $data;
+ public $size;
+
+ public function setAttachmentId($attachmentId)
+ {
+ $this->attachmentId = $attachmentId;
+ }
+
+ public function getAttachmentId()
+ {
+ return $this->attachmentId;
+ }
+
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+
+ public function getData()
+ {
+ return $this->data;
+ }
+
+ public function setSize($size)
+ {
+ $this->size = $size;
+ }
+
+ public function getSize()
+ {
+ return $this->size;
+ }
+}
+
+class Google_Service_Gmail_MessagePartHeader extends Google_Model
+{
+ public $name;
+ public $value;
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Google_Service_Gmail_ModifyMessageRequest extends Google_Collection
+{
+ public $addLabelIds;
+ public $removeLabelIds;
+
+ public function setAddLabelIds($addLabelIds)
+ {
+ $this->addLabelIds = $addLabelIds;
+ }
+
+ public function getAddLabelIds()
+ {
+ return $this->addLabelIds;
+ }
+
+ public function setRemoveLabelIds($removeLabelIds)
+ {
+ $this->removeLabelIds = $removeLabelIds;
+ }
+
+ public function getRemoveLabelIds()
+ {
+ return $this->removeLabelIds;
+ }
+}
+
+class Google_Service_Gmail_ModifyThreadRequest extends Google_Collection
+{
+ public $addLabelIds;
+ public $removeLabelIds;
+
+ public function setAddLabelIds($addLabelIds)
+ {
+ $this->addLabelIds = $addLabelIds;
+ }
+
+ public function getAddLabelIds()
+ {
+ return $this->addLabelIds;
+ }
+
+ public function setRemoveLabelIds($removeLabelIds)
+ {
+ $this->removeLabelIds = $removeLabelIds;
+ }
+
+ public function getRemoveLabelIds()
+ {
+ return $this->removeLabelIds;
+ }
+}
+
+class Google_Service_Gmail_Thread extends Google_Collection
+{
+ public $historyId;
+ public $id;
+ protected $messagesType = 'Google_Service_Gmail_Message';
+ protected $messagesDataType = 'array';
+ public $snippet;
+
+ public function setHistoryId($historyId)
+ {
+ $this->historyId = $historyId;
+ }
+
+ public function getHistoryId()
+ {
+ return $this->historyId;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setMessages($messages)
+ {
+ $this->messages = $messages;
+ }
+
+ public function getMessages()
+ {
+ return $this->messages;
+ }
+
+ public function setSnippet($snippet)
+ {
+ $this->snippet = $snippet;
+ }
+
+ public function getSnippet()
+ {
+ return $this->snippet;
+ }
+}
From 3a98b9a994c7161a5454d4ef8dcda9713dda4a85 Mon Sep 17 00:00:00 2001
From: Silvano Luciani + * For more information about this service, see the API + * Documentation + *
+ * + * @author Google, Inc. + */ +class Google_Service_Appsactivity extends Google_Service +{ + /** View historical activity for Google services. */ + const ACTIVITY = "https://www.googleapis.com/auth/activity"; + /** View and manage the files and documents in your Google Drive. */ + const DRIVE = "https://www.googleapis.com/auth/drive"; + /** View metadata for files and documents in your Google Drive. */ + const DRIVE_METADATA_READONLY = "https://www.googleapis.com/auth/drive.metadata.readonly"; + /** View the files and documents in your Google Drive. */ + const DRIVE_READONLY = "https://www.googleapis.com/auth/drive.readonly"; + + public $activities; + + + /** + * Constructs the internal representation of the Appsactivity service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->servicePath = 'appsactivity/v1/'; + $this->version = 'v1'; + $this->serviceName = 'appsactivity'; + + $this->activities = new Google_Service_Appsactivity_Activities_Resource( + $this, + $this->serviceName, + 'activities', + array( + 'methods' => array( + 'list' => array( + 'path' => 'activities', + 'httpMethod' => 'GET', + 'parameters' => array( + 'drive.ancestorId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'userId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'groupingStrategy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'drive.fileId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "activities" collection of methods. + * Typical usage is: + *
+ * $appsactivityService = new Google_Service_Appsactivity(...);
+ * $activities = $appsactivityService->activities;
+ *
+ */
+class Google_Service_Appsactivity_Activities_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Returns a list of activities visible to the current logged in user. Visible
+ * activities are determined by the visiblity settings of the object that was
+ * acted on, e.g. Drive files a user can see. An activity is a record of past
+ * events. Multiple events may be merged if they are similar. A request is
+ * scoped to activities from a given Google service using the source parameter.
+ * (activities.listActivities)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string drive.ancestorId
+ * Identifies the Drive folder containing the items for which to return activities.
+ * @opt_param int pageSize
+ * The maximum number of events to return on a page. The response includes a continuation token if
+ * there are more events.
+ * @opt_param string pageToken
+ * A token to retrieve a specific page of results.
+ * @opt_param string userId
+ * Indicates the user to return activity for. Use the special value me to indicate the currently
+ * authenticated user.
+ * @opt_param string groupingStrategy
+ * Indicates the strategy to use when grouping singleEvents items in the associated combinedEvent
+ * object.
+ * @opt_param string drive.fileId
+ * Identifies the Drive item to return activities for.
+ * @opt_param string source
+ * The Google service from which to return activities. Possible values of source are:
+ -
+ * drive.google.com
+ * @return Google_Service_Appsactivity_ListActivitiesResponse
+ */
+ public function listActivities($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Appsactivity_ListActivitiesResponse");
+ }
+}
+
+
+
+
+class Google_Service_Appsactivity_Activity extends Google_Collection
+{
+ protected $combinedEventType = 'Google_Service_Appsactivity_Event';
+ protected $combinedEventDataType = '';
+ protected $singleEventsType = 'Google_Service_Appsactivity_Event';
+ protected $singleEventsDataType = 'array';
+
+ public function setCombinedEvent(Google_Service_Appsactivity_Event $combinedEvent)
+ {
+ $this->combinedEvent = $combinedEvent;
+ }
+
+ public function getCombinedEvent()
+ {
+ return $this->combinedEvent;
+ }
+
+ public function setSingleEvents($singleEvents)
+ {
+ $this->singleEvents = $singleEvents;
+ }
+
+ public function getSingleEvents()
+ {
+ return $this->singleEvents;
+ }
+}
+
+class Google_Service_Appsactivity_Event extends Google_Collection
+{
+ public $additionalEventTypes;
+ public $eventTimeMillis;
+ public $fromUserDeletion;
+ protected $moveType = 'Google_Service_Appsactivity_Move';
+ protected $moveDataType = '';
+ protected $permissionChangesType = 'Google_Service_Appsactivity_PermissionChange';
+ protected $permissionChangesDataType = 'array';
+ public $primaryEventType;
+ protected $renameType = 'Google_Service_Appsactivity_Rename';
+ protected $renameDataType = '';
+ protected $targetType = 'Google_Service_Appsactivity_Target';
+ protected $targetDataType = '';
+ protected $userType = 'Google_Service_Appsactivity_User';
+ protected $userDataType = '';
+
+ public function setAdditionalEventTypes($additionalEventTypes)
+ {
+ $this->additionalEventTypes = $additionalEventTypes;
+ }
+
+ public function getAdditionalEventTypes()
+ {
+ return $this->additionalEventTypes;
+ }
+
+ public function setEventTimeMillis($eventTimeMillis)
+ {
+ $this->eventTimeMillis = $eventTimeMillis;
+ }
+
+ public function getEventTimeMillis()
+ {
+ return $this->eventTimeMillis;
+ }
+
+ public function setFromUserDeletion($fromUserDeletion)
+ {
+ $this->fromUserDeletion = $fromUserDeletion;
+ }
+
+ public function getFromUserDeletion()
+ {
+ return $this->fromUserDeletion;
+ }
+
+ public function setMove(Google_Service_Appsactivity_Move $move)
+ {
+ $this->move = $move;
+ }
+
+ public function getMove()
+ {
+ return $this->move;
+ }
+
+ public function setPermissionChanges($permissionChanges)
+ {
+ $this->permissionChanges = $permissionChanges;
+ }
+
+ public function getPermissionChanges()
+ {
+ return $this->permissionChanges;
+ }
+
+ public function setPrimaryEventType($primaryEventType)
+ {
+ $this->primaryEventType = $primaryEventType;
+ }
+
+ public function getPrimaryEventType()
+ {
+ return $this->primaryEventType;
+ }
+
+ public function setRename(Google_Service_Appsactivity_Rename $rename)
+ {
+ $this->rename = $rename;
+ }
+
+ public function getRename()
+ {
+ return $this->rename;
+ }
+
+ public function setTarget(Google_Service_Appsactivity_Target $target)
+ {
+ $this->target = $target;
+ }
+
+ public function getTarget()
+ {
+ return $this->target;
+ }
+
+ public function setUser(Google_Service_Appsactivity_User $user)
+ {
+ $this->user = $user;
+ }
+
+ public function getUser()
+ {
+ return $this->user;
+ }
+}
+
+class Google_Service_Appsactivity_ListActivitiesResponse extends Google_Collection
+{
+ protected $activitiesType = 'Google_Service_Appsactivity_Activity';
+ protected $activitiesDataType = 'array';
+ public $nextPageToken;
+
+ public function setActivities($activities)
+ {
+ $this->activities = $activities;
+ }
+
+ public function getActivities()
+ {
+ return $this->activities;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Appsactivity_Move extends Google_Collection
+{
+ protected $addedParentsType = 'Google_Service_Appsactivity_Parent';
+ protected $addedParentsDataType = 'array';
+ protected $removedParentsType = 'Google_Service_Appsactivity_Parent';
+ protected $removedParentsDataType = 'array';
+
+ public function setAddedParents($addedParents)
+ {
+ $this->addedParents = $addedParents;
+ }
+
+ public function getAddedParents()
+ {
+ return $this->addedParents;
+ }
+
+ public function setRemovedParents($removedParents)
+ {
+ $this->removedParents = $removedParents;
+ }
+
+ public function getRemovedParents()
+ {
+ return $this->removedParents;
+ }
+}
+
+class Google_Service_Appsactivity_Parent extends Google_Model
+{
+ public $id;
+ public $isRoot;
+ public $title;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setIsRoot($isRoot)
+ {
+ $this->isRoot = $isRoot;
+ }
+
+ public function getIsRoot()
+ {
+ return $this->isRoot;
+ }
+
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
+
+class Google_Service_Appsactivity_Permission extends Google_Model
+{
+ public $name;
+ public $permissionId;
+ public $role;
+ public $type;
+ protected $userType = 'Google_Service_Appsactivity_User';
+ protected $userDataType = '';
+ public $withLink;
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setPermissionId($permissionId)
+ {
+ $this->permissionId = $permissionId;
+ }
+
+ public function getPermissionId()
+ {
+ return $this->permissionId;
+ }
+
+ public function setRole($role)
+ {
+ $this->role = $role;
+ }
+
+ public function getRole()
+ {
+ return $this->role;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+
+ public function setUser(Google_Service_Appsactivity_User $user)
+ {
+ $this->user = $user;
+ }
+
+ public function getUser()
+ {
+ return $this->user;
+ }
+
+ public function setWithLink($withLink)
+ {
+ $this->withLink = $withLink;
+ }
+
+ public function getWithLink()
+ {
+ return $this->withLink;
+ }
+}
+
+class Google_Service_Appsactivity_PermissionChange extends Google_Collection
+{
+ protected $addedPermissionsType = 'Google_Service_Appsactivity_Permission';
+ protected $addedPermissionsDataType = 'array';
+ protected $removedPermissionsType = 'Google_Service_Appsactivity_Permission';
+ protected $removedPermissionsDataType = 'array';
+
+ public function setAddedPermissions($addedPermissions)
+ {
+ $this->addedPermissions = $addedPermissions;
+ }
+
+ public function getAddedPermissions()
+ {
+ return $this->addedPermissions;
+ }
+
+ public function setRemovedPermissions($removedPermissions)
+ {
+ $this->removedPermissions = $removedPermissions;
+ }
+
+ public function getRemovedPermissions()
+ {
+ return $this->removedPermissions;
+ }
+}
+
+class Google_Service_Appsactivity_Photo extends Google_Model
+{
+ public $url;
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Google_Service_Appsactivity_Rename extends Google_Model
+{
+ public $newTitle;
+ public $oldTitle;
+
+ public function setNewTitle($newTitle)
+ {
+ $this->newTitle = $newTitle;
+ }
+
+ public function getNewTitle()
+ {
+ return $this->newTitle;
+ }
+
+ public function setOldTitle($oldTitle)
+ {
+ $this->oldTitle = $oldTitle;
+ }
+
+ public function getOldTitle()
+ {
+ return $this->oldTitle;
+ }
+}
+
+class Google_Service_Appsactivity_Target extends Google_Model
+{
+ public $id;
+ public $mimeType;
+ public $name;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setMimeType($mimeType)
+ {
+ $this->mimeType = $mimeType;
+ }
+
+ public function getMimeType()
+ {
+ return $this->mimeType;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Google_Service_Appsactivity_User extends Google_Model
+{
+ public $name;
+ protected $photoType = 'Google_Service_Appsactivity_Photo';
+ protected $photoDataType = '';
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setPhoto(Google_Service_Appsactivity_Photo $photo)
+ {
+ $this->photo = $photo;
+ }
+
+ public function getPhoto()
+ {
+ return $this->photo;
+ }
+}
From 836bf07edfec515d096f027e23c7c4cc7c37ee90 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
* $mapsengineService = new Google_Service_MapsEngine(...);
@@ -1586,6 +1934,21 @@ public function create(Google_Service_MapsEngine_Table $postBody, $optParams = a
$params = array_merge($params, $optParams);
return $this->call('create', array($params), "Google_Service_MapsEngine_Table");
}
+ /**
+ * Delete a table. (tables.delete)
+ *
+ * @param string $id
+ * The ID of the table. Only the table creator or project owner are permitted to delete. If the
+ * table is included in a layer, the request will fail. Remove it from all layers prior to
+ * deleting.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
/**
* Return metadata for a particular table, including the schema. (tables.get)
*
@@ -1614,6 +1977,8 @@ public function get($id, $optParams = array())
* @opt_param string createdAfter
* An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
* been created at or after this time.
+ * @opt_param string tags
+ * A comma separated list of tags. Returned assets will contain all the tags from the list.
* @opt_param string projectId
* The ID of a Maps Engine project, used to filter the response. To list all available projects
* with their IDs, send a Projects: list request. You can also find your project ID as the value of
@@ -1644,6 +2009,20 @@ public function listTables($optParams = array())
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_MapsEngine_TablesListResponse");
}
+ /**
+ * Mutate a table asset. (tables.patch)
+ *
+ * @param string $id
+ * The ID of the table.
+ * @param Google_Table $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function patch($id, Google_Service_MapsEngine_Table $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params));
+ }
/**
* Create a placeholder table asset to which table files can be uploaded. Once
* the placeholder has been created, files are uploaded to the
@@ -1912,6 +2291,7 @@ class Google_Service_MapsEngine_Asset extends Google_Collection
public $bbox;
public $creationTime;
public $description;
+ public $etag;
public $id;
public $lastModifiedTime;
public $name;
@@ -1950,6 +2330,16 @@ public function getDescription()
return $this->description;
}
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
public function setId($id)
{
$this->id = $id;
@@ -2557,177 +2947,6 @@ public function getName()
}
}
-class Google_Service_MapsEngine_Image extends Google_Collection
-{
- protected $acquisitionTimeType = 'Google_Service_MapsEngine_AcquisitionTime';
- protected $acquisitionTimeDataType = '';
- public $attribution;
- public $bbox;
- public $creationTime;
- public $description;
- public $draftAccessList;
- protected $filesType = 'Google_Service_MapsEngine_MapsengineFile';
- protected $filesDataType = 'array';
- public $id;
- public $lastModifiedTime;
- public $maskType;
- public $name;
- public $processingStatus;
- public $projectId;
- public $rasterType;
- public $tags;
-
- public function setAcquisitionTime(Google_Service_MapsEngine_AcquisitionTime $acquisitionTime)
- {
- $this->acquisitionTime = $acquisitionTime;
- }
-
- public function getAcquisitionTime()
- {
- return $this->acquisitionTime;
- }
-
- public function setAttribution($attribution)
- {
- $this->attribution = $attribution;
- }
-
- public function getAttribution()
- {
- return $this->attribution;
- }
-
- public function setBbox($bbox)
- {
- $this->bbox = $bbox;
- }
-
- public function getBbox()
- {
- return $this->bbox;
- }
-
- public function setCreationTime($creationTime)
- {
- $this->creationTime = $creationTime;
- }
-
- public function getCreationTime()
- {
- return $this->creationTime;
- }
-
- public function setDescription($description)
- {
- $this->description = $description;
- }
-
- public function getDescription()
- {
- return $this->description;
- }
-
- public function setDraftAccessList($draftAccessList)
- {
- $this->draftAccessList = $draftAccessList;
- }
-
- public function getDraftAccessList()
- {
- return $this->draftAccessList;
- }
-
- public function setFiles($files)
- {
- $this->files = $files;
- }
-
- public function getFiles()
- {
- return $this->files;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setLastModifiedTime($lastModifiedTime)
- {
- $this->lastModifiedTime = $lastModifiedTime;
- }
-
- public function getLastModifiedTime()
- {
- return $this->lastModifiedTime;
- }
-
- public function setMaskType($maskType)
- {
- $this->maskType = $maskType;
- }
-
- public function getMaskType()
- {
- return $this->maskType;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setProcessingStatus($processingStatus)
- {
- $this->processingStatus = $processingStatus;
- }
-
- public function getProcessingStatus()
- {
- return $this->processingStatus;
- }
-
- public function setProjectId($projectId)
- {
- $this->projectId = $projectId;
- }
-
- public function getProjectId()
- {
- return $this->projectId;
- }
-
- public function setRasterType($rasterType)
- {
- $this->rasterType = $rasterType;
- }
-
- public function getRasterType()
- {
- return $this->rasterType;
- }
-
- public function setTags($tags)
- {
- $this->tags = $tags;
- }
-
- public function getTags()
- {
- return $this->tags;
- }
-}
-
class Google_Service_MapsEngine_LabelStyle extends Google_Model
{
public $color;
@@ -2819,6 +3038,7 @@ class Google_Service_MapsEngine_Layer extends Google_Collection
protected $datasourcesDataType = 'array';
public $description;
public $draftAccessList;
+ public $etag;
public $id;
public $lastModifiedTime;
public $name;
@@ -2889,6 +3109,16 @@ public function getDraftAccessList()
return $this->draftAccessList;
}
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
public function setId($id)
{
$this->id = $id;
@@ -3094,6 +3324,7 @@ class Google_Service_MapsEngine_Map extends Google_Collection
public $defaultViewport;
public $description;
public $draftAccessList;
+ public $etag;
public $id;
public $lastModifiedTime;
public $name;
@@ -3162,6 +3393,16 @@ public function getDraftAccessList()
return $this->draftAccessList;
}
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
public function setId($id)
{
$this->id = $id;
@@ -3642,16 +3883,45 @@ class Google_Service_MapsEngine_PublishResponse extends Google_Model
class Google_Service_MapsEngine_Raster extends Google_Collection
{
+ protected $acquisitionTimeType = 'Google_Service_MapsEngine_AcquisitionTime';
+ protected $acquisitionTimeDataType = '';
+ public $attribution;
public $bbox;
public $creationTime;
public $description;
+ public $draftAccessList;
+ public $etag;
+ protected $filesType = 'Google_Service_MapsEngine_MapsengineFile';
+ protected $filesDataType = 'array';
public $id;
public $lastModifiedTime;
+ public $maskType;
public $name;
+ public $processingStatus;
public $projectId;
public $rasterType;
public $tags;
+ public function setAcquisitionTime(Google_Service_MapsEngine_AcquisitionTime $acquisitionTime)
+ {
+ $this->acquisitionTime = $acquisitionTime;
+ }
+
+ public function getAcquisitionTime()
+ {
+ return $this->acquisitionTime;
+ }
+
+ public function setAttribution($attribution)
+ {
+ $this->attribution = $attribution;
+ }
+
+ public function getAttribution()
+ {
+ return $this->attribution;
+ }
+
public function setBbox($bbox)
{
$this->bbox = $bbox;
@@ -3682,6 +3952,36 @@ public function getDescription()
return $this->description;
}
+ public function setDraftAccessList($draftAccessList)
+ {
+ $this->draftAccessList = $draftAccessList;
+ }
+
+ public function getDraftAccessList()
+ {
+ return $this->draftAccessList;
+ }
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
+ public function setFiles($files)
+ {
+ $this->files = $files;
+ }
+
+ public function getFiles()
+ {
+ return $this->files;
+ }
+
public function setId($id)
{
$this->id = $id;
@@ -3702,6 +4002,16 @@ public function getLastModifiedTime()
return $this->lastModifiedTime;
}
+ public function setMaskType($maskType)
+ {
+ $this->maskType = $maskType;
+ }
+
+ public function getMaskType()
+ {
+ return $this->maskType;
+ }
+
public function setName($name)
{
$this->name = $name;
@@ -3712,6 +4022,16 @@ public function getName()
return $this->name;
}
+ public function setProcessingStatus($processingStatus)
+ {
+ $this->processingStatus = $processingStatus;
+ }
+
+ public function getProcessingStatus()
+ {
+ return $this->processingStatus;
+ }
+
public function setProjectId($projectId)
{
$this->projectId = $projectId;
@@ -3750,6 +4070,7 @@ class Google_Service_MapsEngine_RasterCollection extends Google_Collection
public $creationTime;
public $description;
public $draftAccessList;
+ public $etag;
public $id;
public $lastModifiedTime;
public $mosaic;
@@ -3809,6 +4130,16 @@ public function getDraftAccessList()
return $this->draftAccessList;
}
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
public function setId($id)
{
$this->id = $id;
@@ -3890,6 +4221,109 @@ public function getTags()
}
}
+class Google_Service_MapsEngine_RasterCollectionRaster extends Google_Collection
+{
+ public $bbox;
+ public $creationTime;
+ public $description;
+ public $id;
+ public $lastModifiedTime;
+ public $name;
+ public $projectId;
+ public $rasterType;
+ public $tags;
+
+ public function setBbox($bbox)
+ {
+ $this->bbox = $bbox;
+ }
+
+ public function getBbox()
+ {
+ return $this->bbox;
+ }
+
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setLastModifiedTime($lastModifiedTime)
+ {
+ $this->lastModifiedTime = $lastModifiedTime;
+ }
+
+ public function getLastModifiedTime()
+ {
+ return $this->lastModifiedTime;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+
+ public function setRasterType($rasterType)
+ {
+ $this->rasterType = $rasterType;
+ }
+
+ public function getRasterType()
+ {
+ return $this->rasterType;
+ }
+
+ public function setTags($tags)
+ {
+ $this->tags = $tags;
+ }
+
+ public function getTags()
+ {
+ return $this->tags;
+ }
+}
+
class Google_Service_MapsEngine_RasterCollectionsRasterBatchDeleteRequest extends Google_Collection
{
public $ids;
@@ -3960,7 +4394,7 @@ public function getRasterCollections()
class Google_Service_MapsEngine_RastersListResponse extends Google_Collection
{
public $nextPageToken;
- protected $rastersType = 'Google_Service_MapsEngine_Raster';
+ protected $rastersType = 'Google_Service_MapsEngine_RasterCollectionRaster';
protected $rastersDataType = 'array';
public function setNextPageToken($nextPageToken)
@@ -4028,6 +4462,7 @@ class Google_Service_MapsEngine_Table extends Google_Collection
public $creationTime;
public $description;
public $draftAccessList;
+ public $etag;
protected $filesType = 'Google_Service_MapsEngine_MapsengineFile';
protected $filesDataType = 'array';
public $id;
@@ -4081,6 +4516,16 @@ public function getDraftAccessList()
return $this->draftAccessList;
}
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
public function setFiles($files)
{
$this->files = $files;
From 3535e3a491ff737ff5872af4e1901639083841bf Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Tue, 1 Jul 2014 00:29:23 -0700
Subject: [PATCH 0363/1602] Updated Compute.php
---
src/Google/Service/Compute.php | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/src/Google/Service/Compute.php b/src/Google/Service/Compute.php
index f65cf7296..a087c0ada 100644
--- a/src/Google/Service/Compute.php
+++ b/src/Google/Service/Compute.php
@@ -7984,6 +7984,8 @@ class Google_Service_Compute_Image extends Google_Collection
protected $rawDiskType = 'Google_Service_Compute_ImageRawDisk';
protected $rawDiskDataType = '';
public $selfLink;
+ public $sourceDisk;
+ public $sourceDiskId;
public $sourceType;
public $status;
@@ -8097,6 +8099,26 @@ public function getSelfLink()
return $this->selfLink;
}
+ public function setSourceDisk($sourceDisk)
+ {
+ $this->sourceDisk = $sourceDisk;
+ }
+
+ public function getSourceDisk()
+ {
+ return $this->sourceDisk;
+ }
+
+ public function setSourceDiskId($sourceDiskId)
+ {
+ $this->sourceDiskId = $sourceDiskId;
+ }
+
+ public function getSourceDiskId()
+ {
+ return $this->sourceDiskId;
+ }
+
public function setSourceType($sourceType)
{
$this->sourceType = $sourceType;
From be829b4d33896ce1354972502f8d1837e01f72e8 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Tue, 1 Jul 2014 00:29:23 -0700
Subject: [PATCH 0364/1602] Updated Genomics.php
---
src/Google/Service/Genomics.php | 43 ++++++++++++++++++++++++++++++---
1 file changed, 39 insertions(+), 4 deletions(-)
diff --git a/src/Google/Service/Genomics.php b/src/Google/Service/Genomics.php
index d4c510590..56ee55de4 100644
--- a/src/Google/Service/Genomics.php
+++ b/src/Google/Service/Genomics.php
@@ -186,6 +186,10 @@ public function __construct(Google_Client $client)
'location' => 'query',
'type' => 'string',
),
+ 'maxTimestamp' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
'maxResults' => array(
'location' => 'query',
'type' => 'string',
@@ -613,6 +617,8 @@ public function get($datasetId, $optParams = array())
* @opt_param string pageToken
* The continuation token, which is used to page through large result sets. To get the next page of
* results, set this parameter to the value of "nextPageToken" from the previous response.
+ * @opt_param string maxTimestamp
+ *
* @opt_param string maxResults
* The maximum number of results returned by this request.
* @opt_param string projectId
@@ -797,7 +803,8 @@ public function create(Google_Service_Genomics_Readset $postBody, $optParams = a
* Deletes a readset. (readsets.delete)
*
* @param string $readsetId
- * The ID of the readset to be deleted.
+ * The ID of the readset to be deleted. The caller must have WRITE permissions to the dataset
+ * associated with this readset.
* @param array $optParams Optional parameters.
*/
public function delete($readsetId, $optParams = array())
@@ -807,7 +814,11 @@ public function delete($readsetId, $optParams = array())
return $this->call('delete', array($params));
}
/**
- * Exports readsets to a file. (readsets.export)
+ * Exports readsets to a BAM file in Google Cloud Storage. Note that currently
+ * there may be some differences between exported BAM files and the original BAM
+ * file at the time of import. In particular, comments in the input file header
+ * will not be preserved, and some custom tags will be converted to strings.
+ * (readsets.export)
*
* @param Google_ExportReadsetsRequest $postBody
* @param array $optParams Optional parameters.
@@ -834,8 +845,10 @@ public function get($readsetId, $optParams = array())
return $this->call('get', array($params), "Google_Service_Genomics_Readset");
}
/**
- * Creates readsets by asynchronously importing the provided information.
- * (readsets.import)
+ * Creates readsets by asynchronously importing the provided information. Note
+ * that currently comments in the input file header are not imported and some
+ * custom tags will be converted to strings, rather than preserving tag types.
+ * The caller must have WRITE permissions to the dataset. (readsets.import)
*
* @param Google_ImportReadsetsRequest $postBody
* @param array $optParams Optional parameters.
@@ -2350,12 +2363,23 @@ public function getNextPageToken()
class Google_Service_Genomics_SearchReadsRequest extends Google_Collection
{
+ public $maxResults;
public $pageToken;
public $readsetIds;
public $sequenceEnd;
public $sequenceName;
public $sequenceStart;
+ public function setMaxResults($maxResults)
+ {
+ $this->maxResults = $maxResults;
+ }
+
+ public function getMaxResults()
+ {
+ return $this->maxResults;
+ }
+
public function setPageToken($pageToken)
{
$this->pageToken = $pageToken;
@@ -2437,6 +2461,7 @@ public function getReads()
class Google_Service_Genomics_SearchReadsetsRequest extends Google_Collection
{
public $datasetIds;
+ public $maxResults;
public $name;
public $pageToken;
@@ -2450,6 +2475,16 @@ public function getDatasetIds()
return $this->datasetIds;
}
+ public function setMaxResults($maxResults)
+ {
+ $this->maxResults = $maxResults;
+ }
+
+ public function getMaxResults()
+ {
+ return $this->maxResults;
+ }
+
public function setName($name)
{
$this->name = $name;
From b875857f9861fcf83c3125e3f93a18e8d0ba7185 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Tue, 1 Jul 2014 00:29:24 -0700
Subject: [PATCH 0365/1602] Updated CivicInfo.php
---
src/Google/Service/CivicInfo.php | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/Google/Service/CivicInfo.php b/src/Google/Service/CivicInfo.php
index 5b7a6379e..a33b900e6 100644
--- a/src/Google/Service/CivicInfo.php
+++ b/src/Google/Service/CivicInfo.php
@@ -217,8 +217,9 @@ class Google_Service_CivicInfo_Representatives_Resource extends Google_Service_R
{
/**
- * Looks up political geography and (optionally) representative information
- * based on an address. (representatives.representativeInfoQuery)
+ * Looks up political geography and representative information based on an
+ * address or Open Civic Data division identifier.
+ * (representatives.representativeInfoQuery)
*
* @param Google_RepresentativeInfoRequest $postBody
* @param array $optParams Optional parameters.
From 360c79a0955a1189c5374f8e79b21c62a3174a12 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Tue, 1 Jul 2014 00:29:24 -0700
Subject: [PATCH 0366/1602] Updated Datastore.php
---
src/Google/Service/Datastore.php | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/src/Google/Service/Datastore.php b/src/Google/Service/Datastore.php
index 8119e3945..1f7bdf2ca 100644
--- a/src/Google/Service/Datastore.php
+++ b/src/Google/Service/Datastore.php
@@ -321,11 +321,22 @@ public function getTransaction()
class Google_Service_Datastore_CommitRequest extends Google_Model
{
+ public $ignoreReadOnly;
public $mode;
protected $mutationType = 'Google_Service_Datastore_Mutation';
protected $mutationDataType = '';
public $transaction;
+ public function setIgnoreReadOnly($ignoreReadOnly)
+ {
+ $this->ignoreReadOnly = $ignoreReadOnly;
+ }
+
+ public function getIgnoreReadOnly()
+ {
+ return $this->ignoreReadOnly;
+ }
+
public function setMode($mode)
{
$this->mode = $mode;
From 4ebf1f9f9c942740700d57c9551f4a1b28fb71cb Mon Sep 17 00:00:00 2001
From: Ian Barber
Date: Tue, 1 Jul 2014 09:40:17 -0700
Subject: [PATCH 0367/1602] Fix refreshing id token
---
src/Google/Auth/OAuth2.php | 3 +++
tests/general/ApiOAuth2Test.php | 37 ++++++++++++++++++++++++++++++++-
2 files changed, 39 insertions(+), 1 deletion(-)
diff --git a/src/Google/Auth/OAuth2.php b/src/Google/Auth/OAuth2.php
index b05448a57..14fdf0ba6 100644
--- a/src/Google/Auth/OAuth2.php
+++ b/src/Google/Auth/OAuth2.php
@@ -320,6 +320,9 @@ private function refreshTokenRequest($params)
throw new Google_Auth_Exception("Invalid token format");
}
+ if (isset($token['id_token'])) {
+ $this->token['id_token'] = $token['id_token'];
+ }
$this->token['access_token'] = $token['access_token'];
$this->token['expires_in'] = $token['expires_in'];
$this->token['created'] = time();
diff --git a/tests/general/ApiOAuth2Test.php b/tests/general/ApiOAuth2Test.php
index 871049a3d..dc545738b 100644
--- a/tests/general/ApiOAuth2Test.php
+++ b/tests/general/ApiOAuth2Test.php
@@ -168,8 +168,43 @@ public function testValidateIdToken()
/**
* Test for revoking token when none is opened
*/
- public function testRevokeWhenNoTokenExists() {
+ public function testRevokeWhenNoTokenExists()
+ {
$client = new Google_Client();
$this->assertFalse($client->revokeToken());
}
+
+ /**
+ * Test that the ID token is properly refreshed.
+ */
+ public function testRefreshTokenSetsValues()
+ {
+ $client = new Google_Client();
+ $response_data = json_encode(array(
+ 'access_token' => "ACCESS_TOKEN",
+ 'id_token' => "ID_TOKEN",
+ 'expires_in' => "12345",
+ ));
+ $response = $this->getMock("Google_Http_Request", array(), array(''));
+ $response->expects($this->any())
+ ->method('getResponseHttpCode')
+ ->will($this->returnValue(200));
+ $response->expects($this->any())
+ ->method('getResponseBody')
+ ->will($this->returnValue($response_data));
+ $io = $this->getMock("Google_IO_Stream", array(), array($client));
+ $io->expects($this->any())
+ ->method('makeRequest')
+ ->will($this->returnCallback(function($request) use (&$token, $response) {
+ $elements = $request->getPostBody();
+ $this->assertEquals($elements['grant_type'], "refresh_token");
+ $this->assertEquals($elements['refresh_token'], "REFRESH_TOKEN");
+ return $response;
+ }));
+ $client->setIo($io);
+ $oauth = new Google_Auth_OAuth2($client);
+ $oauth->refreshToken("REFRESH_TOKEN");
+ $token = json_decode($oauth->getAccessToken(), true);
+ $this->assertEquals($token['id_token'], "ID_TOKEN");
+ }
}
From e4d98e64151bd7e5f3211ab6f3b80a53c0f3f7d8 Mon Sep 17 00:00:00 2001
From: Ian Barber
Date: Tue, 1 Jul 2014 09:55:35 -0700
Subject: [PATCH 0368/1602] Use static assert in closure.
---
tests/general/ApiOAuth2Test.php | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/tests/general/ApiOAuth2Test.php b/tests/general/ApiOAuth2Test.php
index dc545738b..76d580096 100644
--- a/tests/general/ApiOAuth2Test.php
+++ b/tests/general/ApiOAuth2Test.php
@@ -197,8 +197,10 @@ public function testRefreshTokenSetsValues()
->method('makeRequest')
->will($this->returnCallback(function($request) use (&$token, $response) {
$elements = $request->getPostBody();
- $this->assertEquals($elements['grant_type'], "refresh_token");
- $this->assertEquals($elements['refresh_token'], "REFRESH_TOKEN");
+ PHPUnit_Framework_TestCase::assertEquals($elements['grant_type'],
+ "refresh_token");
+ PHPUnit_Framework_TestCase::assertEquals($elements['refresh_token'],
+ "REFRESH_TOKEN");
return $response;
}));
$client->setIo($io);
From 08d66244b93a8dba6fe7c7cb8c62448cd2102337 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 3 Jul 2014 03:31:40 -0400
Subject: [PATCH 0369/1602] Updated Bigquery.php
---
src/Google/Service/Bigquery.php | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/src/Google/Service/Bigquery.php b/src/Google/Service/Bigquery.php
index f2958f889..4041b904c 100644
--- a/src/Google/Service/Bigquery.php
+++ b/src/Google/Service/Bigquery.php
@@ -2011,13 +2011,15 @@ public function getWriteDisposition()
}
}
-class Google_Service_Bigquery_JobConfigurationTableCopy extends Google_Model
+class Google_Service_Bigquery_JobConfigurationTableCopy extends Google_Collection
{
public $createDisposition;
protected $destinationTableType = 'Google_Service_Bigquery_TableReference';
protected $destinationTableDataType = '';
protected $sourceTableType = 'Google_Service_Bigquery_TableReference';
protected $sourceTableDataType = '';
+ protected $sourceTablesType = 'Google_Service_Bigquery_TableReference';
+ protected $sourceTablesDataType = 'array';
public $writeDisposition;
public function setCreateDisposition($createDisposition)
@@ -2050,6 +2052,16 @@ public function getSourceTable()
return $this->sourceTable;
}
+ public function setSourceTables($sourceTables)
+ {
+ $this->sourceTables = $sourceTables;
+ }
+
+ public function getSourceTables()
+ {
+ return $this->sourceTables;
+ }
+
public function setWriteDisposition($writeDisposition)
{
$this->writeDisposition = $writeDisposition;
From e2090308ff327007ccb0afe6e80894b4f45e7ab6 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 4 Jul 2014 03:32:47 -0400
Subject: [PATCH 0370/1602] Updated Content.php
---
src/Google/Service/Content.php | 129 ++++++++++++++++++++++++---------
1 file changed, 93 insertions(+), 36 deletions(-)
diff --git a/src/Google/Service/Content.php b/src/Google/Service/Content.php
index 0e42eaf95..98e86c579 100644
--- a/src/Google/Service/Content.php
+++ b/src/Google/Service/Content.php
@@ -527,8 +527,8 @@ class Google_Service_Content_Accounts_Resource extends Google_Service_Resource
{
/**
- * Retrieve, insert, update, and delete multiple Merchant Center (sub-)accounts
- * in a single request. (accounts.custombatch)
+ * Retrieves, inserts, updates, and deletes multiple Merchant Center
+ * (sub-)accounts in a single request. (accounts.custombatch)
*
* @param Google_AccountsCustomBatchRequest $postBody
* @param array $optParams Optional parameters.
@@ -541,7 +541,7 @@ public function custombatch(Google_Service_Content_AccountsCustomBatchRequest $p
return $this->call('custombatch', array($params), "Google_Service_Content_AccountsCustomBatchResponse");
}
/**
- * Delete a Merchant Center sub-account. (accounts.delete)
+ * Deletes a Merchant Center sub-account. (accounts.delete)
*
* @param string $merchantId
* The ID of the managing account.
@@ -556,7 +556,7 @@ public function delete($merchantId, $accountId, $optParams = array())
return $this->call('delete', array($params));
}
/**
- * Retrieve a Merchant Center account. (accounts.get)
+ * Retrieves a Merchant Center account. (accounts.get)
*
* @param string $merchantId
* The ID of the managing account.
@@ -572,7 +572,7 @@ public function get($merchantId, $accountId, $optParams = array())
return $this->call('get', array($params), "Google_Service_Content_Account");
}
/**
- * Create a Merchant Center sub-account. (accounts.insert)
+ * Creates a Merchant Center sub-account. (accounts.insert)
*
* @param string $merchantId
* The ID of the managing account.
@@ -587,7 +587,7 @@ public function insert($merchantId, Google_Service_Content_Account $postBody, $o
return $this->call('insert', array($params), "Google_Service_Content_Account");
}
/**
- * List the sub-accounts in your Merchant Center account.
+ * Lists the sub-accounts in your Merchant Center account.
* (accounts.listAccounts)
*
* @param string $merchantId
@@ -607,7 +607,7 @@ public function listAccounts($merchantId, $optParams = array())
return $this->call('list', array($params), "Google_Service_Content_AccountsListResponse");
}
/**
- * Update a Merchant Center account. This method supports patch semantics.
+ * Updates a Merchant Center account. This method supports patch semantics.
* (accounts.patch)
*
* @param string $merchantId
@@ -625,7 +625,7 @@ public function patch($merchantId, $accountId, Google_Service_Content_Account $p
return $this->call('patch', array($params), "Google_Service_Content_Account");
}
/**
- * Update a Merchant Center account. (accounts.update)
+ * Updates a Merchant Center account. (accounts.update)
*
* @param string $merchantId
* The ID of the managing account.
@@ -668,7 +668,7 @@ public function custombatch(Google_Service_Content_AccountstatusesCustomBatchReq
return $this->call('custombatch', array($params), "Google_Service_Content_AccountstatusesCustomBatchResponse");
}
/**
- * Retrieve the status of a Merchant Center account. (accountstatuses.get)
+ * Retrieves the status of a Merchant Center account. (accountstatuses.get)
*
* @param string $merchantId
* The ID of the managing account.
@@ -684,7 +684,7 @@ public function get($merchantId, $accountId, $optParams = array())
return $this->call('get', array($params), "Google_Service_Content_AccountStatus");
}
/**
- * List the statuses of the sub-accounts in your Merchant Center account.
+ * Lists the statuses of the sub-accounts in your Merchant Center account.
* (accountstatuses.listAccountstatuses)
*
* @param string $merchantId
@@ -743,7 +743,7 @@ public function custombatch(Google_Service_Content_DatafeedsCustomBatchRequest $
return $this->call('custombatch', array($params), "Google_Service_Content_DatafeedsCustomBatchResponse");
}
/**
- * Delete a datafeed from your Merchant Center account. (datafeeds.delete)
+ * Deletes a datafeed from your Merchant Center account. (datafeeds.delete)
*
* @param string $merchantId
*
@@ -758,7 +758,7 @@ public function delete($merchantId, $datafeedId, $optParams = array())
return $this->call('delete', array($params));
}
/**
- * Retrieve a datafeed from your Merchant Center account. (datafeeds.get)
+ * Retrieves a datafeed from your Merchant Center account. (datafeeds.get)
*
* @param string $merchantId
*
@@ -774,7 +774,7 @@ public function get($merchantId, $datafeedId, $optParams = array())
return $this->call('get', array($params), "Google_Service_Content_Datafeed");
}
/**
- * Register a datafeed against your Merchant Center account. (datafeeds.insert)
+ * Registers a datafeed with your Merchant Center account. (datafeeds.insert)
*
* @param string $merchantId
*
@@ -789,7 +789,8 @@ public function insert($merchantId, Google_Service_Content_Datafeed $postBody, $
return $this->call('insert', array($params), "Google_Service_Content_Datafeed");
}
/**
- * List the datafeeds in your Merchant Center account. (datafeeds.listDatafeeds)
+ * Lists the datafeeds in your Merchant Center account.
+ * (datafeeds.listDatafeeds)
*
* @param string $merchantId
*
@@ -803,8 +804,8 @@ public function listDatafeeds($merchantId, $optParams = array())
return $this->call('list', array($params), "Google_Service_Content_DatafeedsListResponse");
}
/**
- * Update a datafeed of your Merchant Center account. This method supports patch
- * semantics. (datafeeds.patch)
+ * Updates a datafeed of your Merchant Center account. This method supports
+ * patch semantics. (datafeeds.patch)
*
* @param string $merchantId
*
@@ -821,7 +822,7 @@ public function patch($merchantId, $datafeedId, Google_Service_Content_Datafeed
return $this->call('patch', array($params), "Google_Service_Content_Datafeed");
}
/**
- * Update a datafeed of your Merchant Center account. (datafeeds.update)
+ * Updates a datafeed of your Merchant Center account. (datafeeds.update)
*
* @param string $merchantId
*
@@ -877,7 +878,7 @@ public function custombatch(Google_Service_Content_DatafeedstatusesCustomBatchRe
return $this->call('custombatch', array($params), "Google_Service_Content_DatafeedstatusesCustomBatchResponse");
}
/**
- * Retrieve the status of a datafeed from your Merchant Center account.
+ * Retrieves the status of a datafeed from your Merchant Center account.
* (datafeedstatuses.get)
*
* @param string $merchantId
@@ -894,7 +895,7 @@ public function get($merchantId, $datafeedId, $optParams = array())
return $this->call('get', array($params), "Google_Service_Content_DatafeedStatus");
}
/**
- * List the statuses of the datafeeds in your Merchant Center account.
+ * Lists the statuses of the datafeeds in your Merchant Center account.
* (datafeedstatuses.listDatafeedstatuses)
*
* @param string $merchantId
@@ -922,7 +923,7 @@ class Google_Service_Content_Inventory_Resource extends Google_Service_Resource
{
/**
- * Update price and availability for multiple products or stores in a single
+ * Updates price and availability for multiple products or stores in a single
* request. (inventory.custombatch)
*
* @param Google_InventoryCustomBatchRequest $postBody
@@ -936,13 +937,14 @@ public function custombatch(Google_Service_Content_InventoryCustomBatchRequest $
return $this->call('custombatch', array($params), "Google_Service_Content_InventoryCustomBatchResponse");
}
/**
- * Update price and availability of a product in your Merchant Center account.
+ * Updates price and availability of a product in your Merchant Center account.
* (inventory.set)
*
* @param string $merchantId
* The ID of the managing account.
* @param string $storeCode
- * The code of the store for which to update price and availability.
+ * The code of the store for which to update price and availability. Use online to update price and
+ * availability of an online product.
* @param string $productId
* The ID of the product for which to update price and availability.
* @param Google_InventorySetRequest $postBody
@@ -969,7 +971,7 @@ class Google_Service_Content_Products_Resource extends Google_Service_Resource
{
/**
- * Retrieve, insert, and delete multiple products in a single request.
+ * Retrieves, inserts, and deletes multiple products in a single request.
* (products.custombatch)
*
* @param Google_ProductsCustomBatchRequest $postBody
@@ -986,7 +988,7 @@ public function custombatch(Google_Service_Content_ProductsCustomBatchRequest $p
return $this->call('custombatch', array($params), "Google_Service_Content_ProductsCustomBatchResponse");
}
/**
- * Delete a product from your Merchant Center account. (products.delete)
+ * Deletes a product from your Merchant Center account. (products.delete)
*
* @param string $merchantId
* The ID of the managing account.
@@ -1004,7 +1006,7 @@ public function delete($merchantId, $productId, $optParams = array())
return $this->call('delete', array($params));
}
/**
- * Retrieve a product from your Merchant Center account. (products.get)
+ * Retrieves a product from your Merchant Center account. (products.get)
*
* @param string $merchantId
* The ID of the managing account.
@@ -1020,7 +1022,7 @@ public function get($merchantId, $productId, $optParams = array())
return $this->call('get', array($params), "Google_Service_Content_Product");
}
/**
- * Upload products to your Merchant Center account. (products.insert)
+ * Uploads a product to your Merchant Center account. (products.insert)
*
* @param string $merchantId
* The ID of the managing account.
@@ -1038,7 +1040,7 @@ public function insert($merchantId, Google_Service_Content_Product $postBody, $o
return $this->call('insert', array($params), "Google_Service_Content_Product");
}
/**
- * List the products in your Merchant Center account. (products.listProducts)
+ * Lists the products in your Merchant Center account. (products.listProducts)
*
* @param string $merchantId
* The ID of the managing account.
@@ -1070,7 +1072,7 @@ class Google_Service_Content_Productstatuses_Resource extends Google_Service_Res
{
/**
- * Get the statuses of multiple products in a single request.
+ * Gets the statuses of multiple products in a single request.
* (productstatuses.custombatch)
*
* @param Google_ProductstatusesCustomBatchRequest $postBody
@@ -1084,7 +1086,7 @@ public function custombatch(Google_Service_Content_ProductstatusesCustomBatchReq
return $this->call('custombatch', array($params), "Google_Service_Content_ProductstatusesCustomBatchResponse");
}
/**
- * Get the status of a product from your Merchant Center account.
+ * Gets the status of a product from your Merchant Center account.
* (productstatuses.get)
*
* @param string $merchantId
@@ -1101,7 +1103,7 @@ public function get($merchantId, $productId, $optParams = array())
return $this->call('get', array($params), "Google_Service_Content_ProductStatus");
}
/**
- * List the statuses of the products in your Merchant Center account.
+ * Lists the statuses of the products in your Merchant Center account.
* (productstatuses.listProductstatuses)
*
* @param string $merchantId
@@ -3387,6 +3389,7 @@ class Google_Service_Content_Product extends Google_Collection
public $adwordsRedirect;
public $ageGroup;
public $availability;
+ public $availabilityDate;
public $brand;
public $channel;
public $color;
@@ -3414,6 +3417,7 @@ class Google_Service_Content_Product extends Google_Collection
public $imageLink;
protected $installmentType = 'Google_Service_Content_ProductInstallment';
protected $installmentDataType = '';
+ public $isBundle;
public $itemGroupId;
public $kind;
public $link;
@@ -3421,6 +3425,7 @@ class Google_Service_Content_Product extends Google_Collection
protected $loyaltyPointsDataType = '';
public $material;
public $merchantMultipackQuantity;
+ public $mobileLink;
public $mpn;
public $offerId;
public $onlineOnly;
@@ -3435,10 +3440,12 @@ class Google_Service_Content_Product extends Google_Collection
protected $shippingDataType = 'array';
protected $shippingWeightType = 'Google_Service_Content_ProductShippingWeight';
protected $shippingWeightDataType = '';
+ public $sizeSystem;
+ public $sizeType;
public $sizes;
public $targetCountry;
- protected $taxType = 'Google_Service_Content_ProductTax';
- protected $taxDataType = '';
+ protected $taxesType = 'Google_Service_Content_ProductTax';
+ protected $taxesDataType = 'array';
public $title;
public $unitPricingBaseMeasure;
public $unitPricingMeasure;
@@ -3516,6 +3523,16 @@ public function getAvailability()
return $this->availability;
}
+ public function setAvailabilityDate($availabilityDate)
+ {
+ $this->availabilityDate = $availabilityDate;
+ }
+
+ public function getAvailabilityDate()
+ {
+ return $this->availabilityDate;
+ }
+
public function setBrand($brand)
{
$this->brand = $brand;
@@ -3746,6 +3763,16 @@ public function getInstallment()
return $this->installment;
}
+ public function setIsBundle($isBundle)
+ {
+ $this->isBundle = $isBundle;
+ }
+
+ public function getIsBundle()
+ {
+ return $this->isBundle;
+ }
+
public function setItemGroupId($itemGroupId)
{
$this->itemGroupId = $itemGroupId;
@@ -3806,6 +3833,16 @@ public function getMerchantMultipackQuantity()
return $this->merchantMultipackQuantity;
}
+ public function setMobileLink($mobileLink)
+ {
+ $this->mobileLink = $mobileLink;
+ }
+
+ public function getMobileLink()
+ {
+ return $this->mobileLink;
+ }
+
public function setMpn($mpn)
{
$this->mpn = $mpn;
@@ -3906,6 +3943,26 @@ public function getShippingWeight()
return $this->shippingWeight;
}
+ public function setSizeSystem($sizeSystem)
+ {
+ $this->sizeSystem = $sizeSystem;
+ }
+
+ public function getSizeSystem()
+ {
+ return $this->sizeSystem;
+ }
+
+ public function setSizeType($sizeType)
+ {
+ $this->sizeType = $sizeType;
+ }
+
+ public function getSizeType()
+ {
+ return $this->sizeType;
+ }
+
public function setSizes($sizes)
{
$this->sizes = $sizes;
@@ -3926,14 +3983,14 @@ public function getTargetCountry()
return $this->targetCountry;
}
- public function setTax(Google_Service_Content_ProductTax $tax)
+ public function setTaxes($taxes)
{
- $this->tax = $tax;
+ $this->taxes = $taxes;
}
- public function getTax()
+ public function getTaxes()
{
- return $this->tax;
+ return $this->taxes;
}
public function setTitle($title)
From 32f82e74a86f170c4e21c5bca8c009429064382a Mon Sep 17 00:00:00 2001
From: Tobias Nyholm
Date: Tue, 8 Jul 2014 18:11:57 +0200
Subject: [PATCH 0371/1602] Added HHVM to travis
---
.travis.yml | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/.travis.yml b/.travis.yml
index fd00f61fb..e272f788d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -12,7 +12,13 @@ php:
- 5.3
- 5.4
- 5.5
-
+ - 5.6
+ - hhvm
+
+matrix:
+ allow_failures:
+ - php: hhvm
+
before_script:
- composer install
- echo "extension=memcache.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
From 4e33037e0f9fa41d25e6978a5cb49f1f87942ae8 Mon Sep 17 00:00:00 2001
From: Tobias Nyholm
Date: Wed, 9 Jul 2014 13:19:30 +0200
Subject: [PATCH 0372/1602] Make sure the tests passes on HHVM
---
.travis.yml | 8 ++------
tests/general/AuthTest.php | 14 +++++++-------
2 files changed, 9 insertions(+), 13 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index e272f788d..cb9199c7f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -14,15 +14,11 @@ php:
- 5.5
- 5.6
- hhvm
-
-matrix:
- allow_failures:
- - php: hhvm
before_script:
- composer install
- - echo "extension=memcache.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- - echo "extension=memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
+ - sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then echo "extension=memcache.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;'
+ - sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then echo "extension=memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;'
- phpenv version-name | grep ^5.[34] && echo "extension=apc.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini ; true
- phpenv version-name | grep ^5.[34] && echo "apc.enable_cli=1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini ; true
diff --git a/tests/general/AuthTest.php b/tests/general/AuthTest.php
index 65928a04a..ac664de40 100644
--- a/tests/general/AuthTest.php
+++ b/tests/general/AuthTest.php
@@ -43,8 +43,8 @@ class AuthTest extends BaseTest {
private $verifier;
public function setUp() {
- $this->signer = new Google_Signer_P12(file_get_contents(self::PRIVATE_KEY_FILE, true), "notasecret");
- $this->pem = file_get_contents(self::PUBLIC_KEY_FILE, true);
+ $this->signer = new Google_Signer_P12(file_get_contents(__DIR__.'/'.self::PRIVATE_KEY_FILE, true), "notasecret");
+ $this->pem = file_get_contents(__DIR__.'/'.self::PUBLIC_KEY_FILE, true);
$this->verifier = new Google_Verifier_Pem($this->pem);
}
@@ -71,14 +71,14 @@ public function testDirectInject() {
public function testCantOpenP12() {
try {
- new Google_Signer_P12(file_get_contents(self::PRIVATE_KEY_FILE, true), "badpassword");
+ new Google_Signer_P12(file_get_contents(__DIR__.'/'.self::PRIVATE_KEY_FILE, true), "badpassword");
$this->fail("Should have thrown");
} catch (Google_Auth_Exception $e) {
$this->assertContains("mac verify failure", $e->getMessage());
}
try {
- new Google_Signer_P12(file_get_contents(self::PRIVATE_KEY_FILE, true) . "foo", "badpassword");
+ new Google_Signer_P12(file_get_contents(__DIR__.'/'.self::PRIVATE_KEY_FILE, true) . "foo", "badpassword");
$this->fail("Should have thrown");
} catch (Exception $e) {
$this->assertContains("Unable to parse", $e->getMessage());
@@ -240,7 +240,7 @@ public function testNoAuth() {
public function testAssertionCredentials() {
$assertion = new Google_Auth_AssertionCredentials('name', 'scope',
- file_get_contents(self::PRIVATE_KEY_FILE, true));
+ file_get_contents(__DIR__.'/'.self::PRIVATE_KEY_FILE, true));
$token = explode(".", $assertion->generateAssertion());
$this->assertEquals('{"typ":"JWT","alg":"RS256"}', base64_decode($token[0]));
@@ -253,13 +253,13 @@ public function testAssertionCredentials() {
$key = $assertion->getCacheKey();
$this->assertTrue($key != false);
$assertion = new Google_Auth_AssertionCredentials('name2', 'scope',
- file_get_contents(self::PRIVATE_KEY_FILE, true));
+ file_get_contents(__DIR__.'/'.self::PRIVATE_KEY_FILE, true));
$this->assertNotEquals($key, $assertion->getCacheKey());
}
public function testVerifySignedJWT() {
$assertion = new Google_Auth_AssertionCredentials('issuer', 'scope',
- file_get_contents(self::PRIVATE_KEY_FILE, true));
+ file_get_contents(__DIR__.'/'.self::PRIVATE_KEY_FILE, true));
$client = $this->getClient();
$this->assertInstanceOf('Google_Auth_LoginTicket', $client->verifySignedJwt(
From e5d1613212bbff5f9b2dc81450c8e0dc681e2c67 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 10 Jul 2014 00:39:20 -0700
Subject: [PATCH 0373/1602] Updated MapsEngine.php
---
src/Google/Service/MapsEngine.php | 72 +++++++++++++++----------------
1 file changed, 35 insertions(+), 37 deletions(-)
diff --git a/src/Google/Service/MapsEngine.php b/src/Google/Service/MapsEngine.php
index b8d5e18f8..b6e952515 100644
--- a/src/Google/Service/MapsEngine.php
+++ b/src/Google/Service/MapsEngine.php
@@ -1252,9 +1252,7 @@ public function listLayers($optParams = array())
return $this->call('list', array($params), "Google_Service_MapsEngine_LayersListResponse");
}
/**
- * Mutate a layer asset. Note that if a VectorStyle object is provided, it fully
- * replaces the original VectorStyle present in the layer. This is a known
- * issue. (layers.patch)
+ * Mutate a layer asset. (layers.patch)
*
* @param string $id
* The ID of the layer.
@@ -1616,13 +1614,13 @@ public function get($id, $optParams = array())
* @opt_param string createdBefore
* An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
* been created at or before this time.
- * @return Google_Service_MapsEngine_RastercollectionsListResponse
+ * @return Google_Service_MapsEngine_RasterCollectionsListResponse
*/
public function listRasterCollections($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_MapsEngine_RastercollectionsListResponse");
+ return $this->call('list', array($params), "Google_Service_MapsEngine_RasterCollectionsListResponse");
}
/**
* Mutate a raster collection asset. (rasterCollections.patch)
@@ -1770,13 +1768,13 @@ public function batchInsert($id, Google_Service_MapsEngine_RasterCollectionsRast
* @opt_param string createdBefore
* An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
* been created at or before this time.
- * @return Google_Service_MapsEngine_RastersListResponse
+ * @return Google_Service_MapsEngine_RasterCollectionsRastersListResponse
*/
public function listRasterCollectionsRasters($id, $optParams = array())
{
$params = array('id' => $id);
$params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_MapsEngine_RastersListResponse");
+ return $this->call('list', array($params), "Google_Service_MapsEngine_RasterCollectionsRastersListResponse");
}
}
@@ -4221,7 +4219,34 @@ public function getTags()
}
}
-class Google_Service_MapsEngine_RasterCollectionRaster extends Google_Collection
+class Google_Service_MapsEngine_RasterCollectionsListResponse extends Google_Collection
+{
+ public $nextPageToken;
+ protected $rasterCollectionsType = 'Google_Service_MapsEngine_RasterCollection';
+ protected $rasterCollectionsDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setRasterCollections($rasterCollections)
+ {
+ $this->rasterCollections = $rasterCollections;
+ }
+
+ public function getRasterCollections()
+ {
+ return $this->rasterCollections;
+ }
+}
+
+class Google_Service_MapsEngine_RasterCollectionsRaster extends Google_Collection
{
public $bbox;
public $creationTime;
@@ -4364,37 +4389,10 @@ class Google_Service_MapsEngine_RasterCollectionsRastersBatchInsertResponse exte
}
-class Google_Service_MapsEngine_RastercollectionsListResponse extends Google_Collection
-{
- public $nextPageToken;
- protected $rasterCollectionsType = 'Google_Service_MapsEngine_RasterCollection';
- protected $rasterCollectionsDataType = 'array';
-
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
-
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-
- public function setRasterCollections($rasterCollections)
- {
- $this->rasterCollections = $rasterCollections;
- }
-
- public function getRasterCollections()
- {
- return $this->rasterCollections;
- }
-}
-
-class Google_Service_MapsEngine_RastersListResponse extends Google_Collection
+class Google_Service_MapsEngine_RasterCollectionsRastersListResponse extends Google_Collection
{
public $nextPageToken;
- protected $rastersType = 'Google_Service_MapsEngine_RasterCollectionRaster';
+ protected $rastersType = 'Google_Service_MapsEngine_RasterCollectionsRaster';
protected $rastersDataType = 'array';
public function setNextPageToken($nextPageToken)
From b34619e2d39c4507597decbec08b17d4aa194d1a Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 10 Jul 2014 00:39:21 -0700
Subject: [PATCH 0374/1602] Updated Blogger.php
---
src/Google/Service/Blogger.php | 104 +++++++++++++++++++++++++++------
1 file changed, 85 insertions(+), 19 deletions(-)
diff --git a/src/Google/Service/Blogger.php b/src/Google/Service/Blogger.php
index 4014fed5a..3842bec19 100644
--- a/src/Google/Service/Blogger.php
+++ b/src/Google/Service/Blogger.php
@@ -138,6 +138,11 @@ public function __construct(Google_Client $client)
'location' => 'query',
'type' => 'boolean',
),
+ 'status' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
'role' => array(
'location' => 'query',
'type' => 'string',
@@ -414,6 +419,10 @@ public function __construct(Google_Client $client)
'type' => 'string',
'required' => true,
),
+ 'isDraft' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
),
),'list' => array(
'path' => 'blogs/{blogId}/pages',
@@ -452,6 +461,14 @@ public function __construct(Google_Client $client)
'type' => 'string',
'required' => true,
),
+ 'revert' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'publish' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
),
),'update' => array(
'path' => 'blogs/{blogId}/pages/{pageId}',
@@ -467,6 +484,14 @@ public function __construct(Google_Client $client)
'type' => 'string',
'required' => true,
),
+ 'revert' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'publish' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
),
),
)
@@ -906,7 +931,7 @@ class Google_Service_Blogger_Blogs_Resource extends Google_Service_Resource
{
/**
- * Gets one blog by id. (blogs.get)
+ * Gets one blog by ID. (blogs.get)
*
* @param string $blogId
* The ID of the blog to get.
@@ -915,7 +940,7 @@ class Google_Service_Blogger_Blogs_Resource extends Google_Service_Resource
* @opt_param string maxPosts
* Maximum number of posts to pull back with the blog.
* @opt_param string view
- * Access level with which to view the blogs. Note that some fields require elevated access.
+ * Access level with which to view the blog. Note that some fields require elevated access.
* @return Google_Service_Blogger_Blog
*/
public function get($blogId, $optParams = array())
@@ -932,7 +957,7 @@ public function get($blogId, $optParams = array())
* @param array $optParams Optional parameters.
*
* @opt_param string view
- * Access level with which to view the blogs. Note that some fields require elevated access.
+ * Access level with which to view the blog. Note that some fields require elevated access.
* @return Google_Service_Blogger_Blog
*/
public function getByUrl($url, $optParams = array())
@@ -951,6 +976,9 @@ public function getByUrl($url, $optParams = array())
*
* @opt_param bool fetchUserInfo
* Whether the response is a list of blogs with per-user information instead of just blogs.
+ * @opt_param string status
+ * Blog statuses to include in the result (default: Live blogs only). Note that ADMIN access is
+ * required to view deleted blogs.
* @opt_param string role
* User access types for blogs to include in the results, e.g. AUTHOR will return blogs where the
* user has author level access. If no roles are specified, defaults to ADMIN and AUTHOR roles.
@@ -981,7 +1009,7 @@ class Google_Service_Blogger_Comments_Resource extends Google_Service_Resource
* Marks a comment as not spam. (comments.approve)
*
* @param string $blogId
- * The Id of the Blog.
+ * The ID of the Blog.
* @param string $postId
* The ID of the Post.
* @param string $commentId
@@ -996,10 +1024,10 @@ public function approve($blogId, $postId, $commentId, $optParams = array())
return $this->call('approve', array($params), "Google_Service_Blogger_Comment");
}
/**
- * Delete a comment by id. (comments.delete)
+ * Delete a comment by ID. (comments.delete)
*
* @param string $blogId
- * The Id of the Blog.
+ * The ID of the Blog.
* @param string $postId
* The ID of the Post.
* @param string $commentId
@@ -1013,7 +1041,7 @@ public function delete($blogId, $postId, $commentId, $optParams = array())
return $this->call('delete', array($params));
}
/**
- * Gets one comment by id. (comments.get)
+ * Gets one comment by ID. (comments.get)
*
* @param string $blogId
* ID of the blog to containing the comment.
@@ -1097,7 +1125,7 @@ public function listByBlog($blogId, $optParams = array())
* Marks a comment as spam. (comments.markAsSpam)
*
* @param string $blogId
- * The Id of the Blog.
+ * The ID of the Blog.
* @param string $postId
* The ID of the Post.
* @param string $commentId
@@ -1115,7 +1143,7 @@ public function markAsSpam($blogId, $postId, $commentId, $optParams = array())
* Removes the content of a comment. (comments.removeContent)
*
* @param string $blogId
- * The Id of the Blog.
+ * The ID of the Blog.
* @param string $postId
* The ID of the Post.
* @param string $commentId
@@ -1173,10 +1201,10 @@ class Google_Service_Blogger_Pages_Resource extends Google_Service_Resource
{
/**
- * Delete a page by id. (pages.delete)
+ * Delete a page by ID. (pages.delete)
*
* @param string $blogId
- * The Id of the Blog.
+ * The ID of the Blog.
* @param string $pageId
* The ID of the Page.
* @param array $optParams Optional parameters.
@@ -1188,7 +1216,7 @@ public function delete($blogId, $pageId, $optParams = array())
return $this->call('delete', array($params));
}
/**
- * Gets one blog page by id. (pages.get)
+ * Gets one blog page by ID. (pages.get)
*
* @param string $blogId
* ID of the blog containing the page.
@@ -1213,6 +1241,9 @@ public function get($blogId, $pageId, $optParams = array())
* ID of the blog to add the page to.
* @param Google_Page $postBody
* @param array $optParams Optional parameters.
+ *
+ * @opt_param bool isDraft
+ * Whether to create the page as a draft (default: false).
* @return Google_Service_Blogger_Page
*/
public function insert($blogId, Google_Service_Blogger_Page $postBody, $optParams = array())
@@ -1253,6 +1284,11 @@ public function listPages($blogId, $optParams = array())
* The ID of the Page.
* @param Google_Page $postBody
* @param array $optParams Optional parameters.
+ *
+ * @opt_param bool revert
+ * Whether a revert action should be performed when the page is updated (default: false).
+ * @opt_param bool publish
+ * Whether a publish action should be performed when the page is updated (default: false).
* @return Google_Service_Blogger_Page
*/
public function patch($blogId, $pageId, Google_Service_Blogger_Page $postBody, $optParams = array())
@@ -1270,6 +1306,11 @@ public function patch($blogId, $pageId, Google_Service_Blogger_Page $postBody, $
* The ID of the Page.
* @param Google_Page $postBody
* @param array $optParams Optional parameters.
+ *
+ * @opt_param bool revert
+ * Whether a revert action should be performed when the page is updated (default: false).
+ * @opt_param bool publish
+ * Whether a publish action should be performed when the page is updated (default: false).
* @return Google_Service_Blogger_Page
*/
public function update($blogId, $pageId, Google_Service_Blogger_Page $postBody, $optParams = array())
@@ -1292,7 +1333,7 @@ class Google_Service_Blogger_PostUserInfos_Resource extends Google_Service_Resou
{
/**
- * Gets one post and user info pair, by post id and user id. The post user info
+ * Gets one post and user info pair, by post ID and user ID. The post user info
* contains per-user information about the post, such as access rights, specific
* to the user. (postUserInfos.get)
*
@@ -1368,10 +1409,10 @@ class Google_Service_Blogger_Posts_Resource extends Google_Service_Resource
{
/**
- * Delete a post by id. (posts.delete)
+ * Delete a post by ID. (posts.delete)
*
* @param string $blogId
- * The Id of the Blog.
+ * The ID of the Blog.
* @param string $postId
* The ID of the Post.
* @param array $optParams Optional parameters.
@@ -1383,7 +1424,7 @@ public function delete($blogId, $postId, $optParams = array())
return $this->call('delete', array($params));
}
/**
- * Get a post by id. (posts.get)
+ * Get a post by ID. (posts.get)
*
* @param string $blogId
* ID of the blog to fetch the post from.
@@ -1519,7 +1560,8 @@ public function patch($blogId, $postId, Google_Service_Blogger_Post $postBody, $
return $this->call('patch', array($params), "Google_Service_Blogger_Post");
}
/**
- * Publish a draft post. (posts.publish)
+ * Publishes a draft post, optionally at the specific time of the given
+ * publishDate parameter. (posts.publish)
*
* @param string $blogId
* The ID of the Blog.
@@ -1528,7 +1570,9 @@ public function patch($blogId, $postId, Google_Service_Blogger_Post $postBody, $
* @param array $optParams Optional parameters.
*
* @opt_param string publishDate
- * The date and time to schedule the publishing of the Blog.
+ * Optional date and time to schedule the publishing of the Blog. If no publishDate parameter is
+ * given, the post is either published at the a previously saved schedule date (if present), or the
+ * current time. If a future date is given, the post will be scheduled to be published.
* @return Google_Service_Blogger_Post
*/
public function publish($blogId, $postId, $optParams = array())
@@ -1617,7 +1661,7 @@ class Google_Service_Blogger_Users_Resource extends Google_Service_Resource
{
/**
- * Gets one user by id. (users.get)
+ * Gets one user by ID. (users.get)
*
* @param string $userId
* The ID of the user to get.
@@ -1650,6 +1694,7 @@ class Google_Service_Blogger_Blog extends Google_Model
protected $postsDataType = '';
public $published;
public $selfLink;
+ public $status;
public $updated;
public $url;
@@ -1753,6 +1798,16 @@ public function getSelfLink()
return $this->selfLink;
}
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+
+ public function getStatus()
+ {
+ return $this->status;
+ }
+
public function setUpdated($updated)
{
$this->updated = $updated;
@@ -2623,6 +2678,7 @@ class Google_Service_Blogger_Post extends Google_Collection
protected $locationType = 'Google_Service_Blogger_PostLocation';
protected $locationDataType = '';
public $published;
+ public $readerComments;
protected $repliesType = 'Google_Service_Blogger_PostReplies';
protected $repliesDataType = '';
public $selfLink;
@@ -2732,6 +2788,16 @@ public function getPublished()
return $this->published;
}
+ public function setReaderComments($readerComments)
+ {
+ $this->readerComments = $readerComments;
+ }
+
+ public function getReaderComments()
+ {
+ return $this->readerComments;
+ }
+
public function setReplies(Google_Service_Blogger_PostReplies $replies)
{
$this->replies = $replies;
From 7f3eabbc31225ec06155291e624fd482eff313f8 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 10 Jul 2014 00:39:21 -0700
Subject: [PATCH 0375/1602] Updated Genomics.php
---
src/Google/Service/Genomics.php | 25 +++++++++++++------------
1 file changed, 13 insertions(+), 12 deletions(-)
diff --git a/src/Google/Service/Genomics.php b/src/Google/Service/Genomics.php
index 56ee55de4..8389da320 100644
--- a/src/Google/Service/Genomics.php
+++ b/src/Google/Service/Genomics.php
@@ -31,10 +31,14 @@
*/
class Google_Service_Genomics extends Google_Service
{
+ /** View and manage your data in Google BigQuery. */
+ const BIGQUERY = "https://www.googleapis.com/auth/bigquery";
/** Manage your data in Google Cloud Storage. */
const DEVSTORAGE_READ_WRITE = "https://www.googleapis.com/auth/devstorage.read_write";
/** View and manage Genomics data. */
const GENOMICS = "https://www.googleapis.com/auth/genomics";
+ /** View Genomics data. */
+ const GENOMICS_READONLY = "https://www.googleapis.com/auth/genomics.readonly";
public $beacons;
public $callsets;
@@ -186,10 +190,6 @@ public function __construct(Google_Client $client)
'location' => 'query',
'type' => 'string',
),
- 'maxTimestamp' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
'maxResults' => array(
'location' => 'query',
'type' => 'string',
@@ -617,8 +617,6 @@ public function get($datasetId, $optParams = array())
* @opt_param string pageToken
* The continuation token, which is used to page through large result sets. To get the next page of
* results, set this parameter to the value of "nextPageToken" from the previous response.
- * @opt_param string maxTimestamp
- *
* @opt_param string maxResults
* The maximum number of results returned by this request.
* @opt_param string projectId
@@ -756,12 +754,15 @@ public function get($readId, $optParams = array())
return $this->call('get', array($params), "Google_Service_Genomics_Read");
}
/**
- * Gets a list of reads for one or more readsets. SearchReads operates over a
- * genomic coordinate space of sequence+position defined over the reference
- * sequences to which the requested readsets are aligned. If a target positional
- * range is specified, SearchReads returns all reads whose alignment to the
- * reference genome overlap the range. A query which specifies only readset IDs
- * yields all reads in those readsets, including unmapped reads. (reads.search)
+ * Gets a list of reads for one or more readsets. Reads search operates over a
+ * genomic coordinate space of reference sequence & position defined over the
+ * reference sequences to which the requested readsets are aligned. If a target
+ * positional range is specified, search returns all reads whose alignment to
+ * the reference genome overlap the range. A query which specifies only readset
+ * IDs yields all reads in those readsets, including unmapped reads. All reads
+ * returned (including reads on subsequent pages) are ordered by genomic
+ * coordinate (reference sequence & position). Reads with equivalent genomic
+ * coordinates are returned in a deterministic order. (reads.search)
*
* @param Google_SearchReadsRequest $postBody
* @param array $optParams Optional parameters.
From 51dae502164879ed29311e750a8f2f2ad817025b Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 10 Jul 2014 00:39:22 -0700
Subject: [PATCH 0376/1602] Updated PlusDomains.php
---
src/Google/Service/PlusDomains.php | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/src/Google/Service/PlusDomains.php b/src/Google/Service/PlusDomains.php
index a873569e9..df3679d83 100644
--- a/src/Google/Service/PlusDomains.php
+++ b/src/Google/Service/PlusDomains.php
@@ -3562,8 +3562,19 @@ public function getValue()
class Google_Service_PlusDomains_PersonImage extends Google_Model
{
+ public $isDefault;
public $url;
+ public function setIsDefault($isDefault)
+ {
+ $this->isDefault = $isDefault;
+ }
+
+ public function getIsDefault()
+ {
+ return $this->isDefault;
+ }
+
public function setUrl($url)
{
$this->url = $url;
From 913748ff9f452a1a6aea223ee472d2d1c6f95b7a Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 10 Jul 2014 00:39:22 -0700
Subject: [PATCH 0377/1602] Updated Plus.php
---
src/Google/Service/Plus.php | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/src/Google/Service/Plus.php b/src/Google/Service/Plus.php
index 61710821a..cf628f190 100644
--- a/src/Google/Service/Plus.php
+++ b/src/Google/Service/Plus.php
@@ -3455,8 +3455,19 @@ public function getValue()
class Google_Service_Plus_PersonImage extends Google_Model
{
+ public $isDefault;
public $url;
+ public function setIsDefault($isDefault)
+ {
+ $this->isDefault = $isDefault;
+ }
+
+ public function getIsDefault()
+ {
+ return $this->isDefault;
+ }
+
public function setUrl($url)
{
$this->url = $url;
From 8ffd93f266fb3597f13927d4d4e1ac442c90b9a3 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 11 Jul 2014 03:40:35 -0400
Subject: [PATCH 0378/1602] Removed Blogger.php
---
src/Google/Service/Blogger.php | 3381 --------------------------------
1 file changed, 3381 deletions(-)
delete mode 100644 src/Google/Service/Blogger.php
diff --git a/src/Google/Service/Blogger.php b/src/Google/Service/Blogger.php
deleted file mode 100644
index 3842bec19..000000000
--- a/src/Google/Service/Blogger.php
+++ /dev/null
@@ -1,3381 +0,0 @@
-
- * API for access to the data within Blogger.
- *
- *
- *
- * For more information about this service, see the API
- * Documentation
- *
- *
- * @author Google, Inc.
- */
-class Google_Service_Blogger extends Google_Service
-{
- /** Manage your Blogger account. */
- const BLOGGER = "https://www.googleapis.com/auth/blogger";
- /** View your Blogger account. */
- const BLOGGER_READONLY = "https://www.googleapis.com/auth/blogger.readonly";
-
- public $blogUserInfos;
- public $blogs;
- public $comments;
- public $pageViews;
- public $pages;
- public $postUserInfos;
- public $posts;
- public $users;
-
-
- /**
- * Constructs the internal representation of the Blogger service.
- *
- * @param Google_Client $client
- */
- public function __construct(Google_Client $client)
- {
- parent::__construct($client);
- $this->servicePath = 'blogger/v3/';
- $this->version = 'v3';
- $this->serviceName = 'blogger';
-
- $this->blogUserInfos = new Google_Service_Blogger_BlogUserInfos_Resource(
- $this,
- $this->serviceName,
- 'blogUserInfos',
- array(
- 'methods' => array(
- 'get' => array(
- 'path' => 'users/{userId}/blogs/{blogId}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'userId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'maxPosts' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- ),
- ),
- )
- )
- );
- $this->blogs = new Google_Service_Blogger_Blogs_Resource(
- $this,
- $this->serviceName,
- 'blogs',
- array(
- 'methods' => array(
- 'get' => array(
- 'path' => 'blogs/{blogId}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'maxPosts' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- 'view' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),'getByUrl' => array(
- 'path' => 'blogs/byurl',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'url' => array(
- 'location' => 'query',
- 'type' => 'string',
- 'required' => true,
- ),
- 'view' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),'listByUser' => array(
- 'path' => 'users/{userId}/blogs',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'userId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'fetchUserInfo' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- 'status' => array(
- 'location' => 'query',
- 'type' => 'string',
- 'repeated' => true,
- ),
- 'role' => array(
- 'location' => 'query',
- 'type' => 'string',
- 'repeated' => true,
- ),
- 'view' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),
- )
- )
- );
- $this->comments = new Google_Service_Blogger_Comments_Resource(
- $this,
- $this->serviceName,
- 'comments',
- array(
- 'methods' => array(
- 'approve' => array(
- 'path' => 'blogs/{blogId}/posts/{postId}/comments/{commentId}/approve',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'postId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'commentId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'delete' => array(
- 'path' => 'blogs/{blogId}/posts/{postId}/comments/{commentId}',
- 'httpMethod' => 'DELETE',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'postId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'commentId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'get' => array(
- 'path' => 'blogs/{blogId}/posts/{postId}/comments/{commentId}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'postId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'commentId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'view' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),'list' => array(
- 'path' => 'blogs/{blogId}/posts/{postId}/comments',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'postId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'status' => array(
- 'location' => 'query',
- 'type' => 'string',
- 'repeated' => true,
- ),
- 'startDate' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'endDate' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'maxResults' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'fetchBodies' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- 'view' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),'listByBlog' => array(
- 'path' => 'blogs/{blogId}/comments',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'startDate' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'endDate' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'maxResults' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'fetchBodies' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- ),
- ),'markAsSpam' => array(
- 'path' => 'blogs/{blogId}/posts/{postId}/comments/{commentId}/spam',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'postId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'commentId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'removeContent' => array(
- 'path' => 'blogs/{blogId}/posts/{postId}/comments/{commentId}/removecontent',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'postId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'commentId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),
- )
- )
- );
- $this->pageViews = new Google_Service_Blogger_PageViews_Resource(
- $this,
- $this->serviceName,
- 'pageViews',
- array(
- 'methods' => array(
- 'get' => array(
- 'path' => 'blogs/{blogId}/pageviews',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'range' => array(
- 'location' => 'query',
- 'type' => 'string',
- 'repeated' => true,
- ),
- ),
- ),
- )
- )
- );
- $this->pages = new Google_Service_Blogger_Pages_Resource(
- $this,
- $this->serviceName,
- 'pages',
- array(
- 'methods' => array(
- 'delete' => array(
- 'path' => 'blogs/{blogId}/pages/{pageId}',
- 'httpMethod' => 'DELETE',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'pageId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'get' => array(
- 'path' => 'blogs/{blogId}/pages/{pageId}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'pageId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'view' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),'insert' => array(
- 'path' => 'blogs/{blogId}/pages',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'isDraft' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- ),
- ),'list' => array(
- 'path' => 'blogs/{blogId}/pages',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'status' => array(
- 'location' => 'query',
- 'type' => 'string',
- 'repeated' => true,
- ),
- 'fetchBodies' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- 'view' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),'patch' => array(
- 'path' => 'blogs/{blogId}/pages/{pageId}',
- 'httpMethod' => 'PATCH',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'pageId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'revert' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- 'publish' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- ),
- ),'update' => array(
- 'path' => 'blogs/{blogId}/pages/{pageId}',
- 'httpMethod' => 'PUT',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'pageId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'revert' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- 'publish' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- ),
- ),
- )
- )
- );
- $this->postUserInfos = new Google_Service_Blogger_PostUserInfos_Resource(
- $this,
- $this->serviceName,
- 'postUserInfos',
- array(
- 'methods' => array(
- 'get' => array(
- 'path' => 'users/{userId}/blogs/{blogId}/posts/{postId}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'userId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'postId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'maxComments' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- ),
- ),'list' => array(
- 'path' => 'users/{userId}/blogs/{blogId}/posts',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'userId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'orderBy' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'startDate' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'endDate' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'labels' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'maxResults' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'status' => array(
- 'location' => 'query',
- 'type' => 'string',
- 'repeated' => true,
- ),
- 'fetchBodies' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- 'view' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),
- )
- )
- );
- $this->posts = new Google_Service_Blogger_Posts_Resource(
- $this,
- $this->serviceName,
- 'posts',
- array(
- 'methods' => array(
- 'delete' => array(
- 'path' => 'blogs/{blogId}/posts/{postId}',
- 'httpMethod' => 'DELETE',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'postId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'get' => array(
- 'path' => 'blogs/{blogId}/posts/{postId}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'postId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'fetchBody' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- 'maxComments' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- 'fetchImages' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- 'view' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),'getByPath' => array(
- 'path' => 'blogs/{blogId}/posts/bypath',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'path' => array(
- 'location' => 'query',
- 'type' => 'string',
- 'required' => true,
- ),
- 'maxComments' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- 'view' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),'insert' => array(
- 'path' => 'blogs/{blogId}/posts',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'fetchImages' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- 'isDraft' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- 'fetchBody' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- ),
- ),'list' => array(
- 'path' => 'blogs/{blogId}/posts',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'orderBy' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'startDate' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'endDate' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'labels' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'maxResults' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- 'fetchImages' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'status' => array(
- 'location' => 'query',
- 'type' => 'string',
- 'repeated' => true,
- ),
- 'fetchBodies' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- 'view' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),'patch' => array(
- 'path' => 'blogs/{blogId}/posts/{postId}',
- 'httpMethod' => 'PATCH',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'postId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'revert' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- 'publish' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- 'fetchBody' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- 'maxComments' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- 'fetchImages' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- ),
- ),'publish' => array(
- 'path' => 'blogs/{blogId}/posts/{postId}/publish',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'postId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'publishDate' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),'revert' => array(
- 'path' => 'blogs/{blogId}/posts/{postId}/revert',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'postId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'search' => array(
- 'path' => 'blogs/{blogId}/posts/search',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'q' => array(
- 'location' => 'query',
- 'type' => 'string',
- 'required' => true,
- ),
- 'orderBy' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'fetchBodies' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- ),
- ),'update' => array(
- 'path' => 'blogs/{blogId}/posts/{postId}',
- 'httpMethod' => 'PUT',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'postId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'revert' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- 'publish' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- 'fetchBody' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- 'maxComments' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- 'fetchImages' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- ),
- ),
- )
- )
- );
- $this->users = new Google_Service_Blogger_Users_Resource(
- $this,
- $this->serviceName,
- 'users',
- array(
- 'methods' => array(
- 'get' => array(
- 'path' => 'users/{userId}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'userId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),
- )
- )
- );
- }
-}
-
-
-/**
- * The "blogUserInfos" collection of methods.
- * Typical usage is:
- *
- * $bloggerService = new Google_Service_Blogger(...);
- * $blogUserInfos = $bloggerService->blogUserInfos;
- *
- */
-class Google_Service_Blogger_BlogUserInfos_Resource extends Google_Service_Resource
-{
-
- /**
- * Gets one blog and user info pair by blogId and userId. (blogUserInfos.get)
- *
- * @param string $userId
- * ID of the user whose blogs are to be fetched. Either the word 'self' (sans quote marks) or the
- * user's profile identifier.
- * @param string $blogId
- * The ID of the blog to get.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string maxPosts
- * Maximum number of posts to pull back with the blog.
- * @return Google_Service_Blogger_BlogUserInfo
- */
- public function get($userId, $blogId, $optParams = array())
- {
- $params = array('userId' => $userId, 'blogId' => $blogId);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Blogger_BlogUserInfo");
- }
-}
-
-/**
- * The "blogs" collection of methods.
- * Typical usage is:
- *
- * $bloggerService = new Google_Service_Blogger(...);
- * $blogs = $bloggerService->blogs;
- *
- */
-class Google_Service_Blogger_Blogs_Resource extends Google_Service_Resource
-{
-
- /**
- * Gets one blog by ID. (blogs.get)
- *
- * @param string $blogId
- * The ID of the blog to get.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string maxPosts
- * Maximum number of posts to pull back with the blog.
- * @opt_param string view
- * Access level with which to view the blog. Note that some fields require elevated access.
- * @return Google_Service_Blogger_Blog
- */
- public function get($blogId, $optParams = array())
- {
- $params = array('blogId' => $blogId);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Blogger_Blog");
- }
- /**
- * Retrieve a Blog by URL. (blogs.getByUrl)
- *
- * @param string $url
- * The URL of the blog to retrieve.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string view
- * Access level with which to view the blog. Note that some fields require elevated access.
- * @return Google_Service_Blogger_Blog
- */
- public function getByUrl($url, $optParams = array())
- {
- $params = array('url' => $url);
- $params = array_merge($params, $optParams);
- return $this->call('getByUrl', array($params), "Google_Service_Blogger_Blog");
- }
- /**
- * Retrieves a list of blogs, possibly filtered. (blogs.listByUser)
- *
- * @param string $userId
- * ID of the user whose blogs are to be fetched. Either the word 'self' (sans quote marks) or the
- * user's profile identifier.
- * @param array $optParams Optional parameters.
- *
- * @opt_param bool fetchUserInfo
- * Whether the response is a list of blogs with per-user information instead of just blogs.
- * @opt_param string status
- * Blog statuses to include in the result (default: Live blogs only). Note that ADMIN access is
- * required to view deleted blogs.
- * @opt_param string role
- * User access types for blogs to include in the results, e.g. AUTHOR will return blogs where the
- * user has author level access. If no roles are specified, defaults to ADMIN and AUTHOR roles.
- * @opt_param string view
- * Access level with which to view the blogs. Note that some fields require elevated access.
- * @return Google_Service_Blogger_BlogList
- */
- public function listByUser($userId, $optParams = array())
- {
- $params = array('userId' => $userId);
- $params = array_merge($params, $optParams);
- return $this->call('listByUser', array($params), "Google_Service_Blogger_BlogList");
- }
-}
-
-/**
- * The "comments" collection of methods.
- * Typical usage is:
- *
- * $bloggerService = new Google_Service_Blogger(...);
- * $comments = $bloggerService->comments;
- *
- */
-class Google_Service_Blogger_Comments_Resource extends Google_Service_Resource
-{
-
- /**
- * Marks a comment as not spam. (comments.approve)
- *
- * @param string $blogId
- * The ID of the Blog.
- * @param string $postId
- * The ID of the Post.
- * @param string $commentId
- * The ID of the comment to mark as not spam.
- * @param array $optParams Optional parameters.
- * @return Google_Service_Blogger_Comment
- */
- public function approve($blogId, $postId, $commentId, $optParams = array())
- {
- $params = array('blogId' => $blogId, 'postId' => $postId, 'commentId' => $commentId);
- $params = array_merge($params, $optParams);
- return $this->call('approve', array($params), "Google_Service_Blogger_Comment");
- }
- /**
- * Delete a comment by ID. (comments.delete)
- *
- * @param string $blogId
- * The ID of the Blog.
- * @param string $postId
- * The ID of the Post.
- * @param string $commentId
- * The ID of the comment to delete.
- * @param array $optParams Optional parameters.
- */
- public function delete($blogId, $postId, $commentId, $optParams = array())
- {
- $params = array('blogId' => $blogId, 'postId' => $postId, 'commentId' => $commentId);
- $params = array_merge($params, $optParams);
- return $this->call('delete', array($params));
- }
- /**
- * Gets one comment by ID. (comments.get)
- *
- * @param string $blogId
- * ID of the blog to containing the comment.
- * @param string $postId
- * ID of the post to fetch posts from.
- * @param string $commentId
- * The ID of the comment to get.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string view
- * Access level for the requested comment (default: READER). Note that some comments will require
- * elevated permissions, for example comments where the parent posts which is in a draft state, or
- * comments that are pending moderation.
- * @return Google_Service_Blogger_Comment
- */
- public function get($blogId, $postId, $commentId, $optParams = array())
- {
- $params = array('blogId' => $blogId, 'postId' => $postId, 'commentId' => $commentId);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Blogger_Comment");
- }
- /**
- * Retrieves the comments for a post, possibly filtered. (comments.listComments)
- *
- * @param string $blogId
- * ID of the blog to fetch comments from.
- * @param string $postId
- * ID of the post to fetch posts from.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string status
- *
- * @opt_param string startDate
- * Earliest date of comment to fetch, a date-time with RFC 3339 formatting.
- * @opt_param string endDate
- * Latest date of comment to fetch, a date-time with RFC 3339 formatting.
- * @opt_param string maxResults
- * Maximum number of comments to include in the result.
- * @opt_param string pageToken
- * Continuation token if request is paged.
- * @opt_param bool fetchBodies
- * Whether the body content of the comments is included.
- * @opt_param string view
- * Access level with which to view the returned result. Note that some fields require elevated
- * access.
- * @return Google_Service_Blogger_CommentList
- */
- public function listComments($blogId, $postId, $optParams = array())
- {
- $params = array('blogId' => $blogId, 'postId' => $postId);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Blogger_CommentList");
- }
- /**
- * Retrieves the comments for a blog, across all posts, possibly filtered.
- * (comments.listByBlog)
- *
- * @param string $blogId
- * ID of the blog to fetch comments from.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string startDate
- * Earliest date of comment to fetch, a date-time with RFC 3339 formatting.
- * @opt_param string endDate
- * Latest date of comment to fetch, a date-time with RFC 3339 formatting.
- * @opt_param string maxResults
- * Maximum number of comments to include in the result.
- * @opt_param string pageToken
- * Continuation token if request is paged.
- * @opt_param bool fetchBodies
- * Whether the body content of the comments is included.
- * @return Google_Service_Blogger_CommentList
- */
- public function listByBlog($blogId, $optParams = array())
- {
- $params = array('blogId' => $blogId);
- $params = array_merge($params, $optParams);
- return $this->call('listByBlog', array($params), "Google_Service_Blogger_CommentList");
- }
- /**
- * Marks a comment as spam. (comments.markAsSpam)
- *
- * @param string $blogId
- * The ID of the Blog.
- * @param string $postId
- * The ID of the Post.
- * @param string $commentId
- * The ID of the comment to mark as spam.
- * @param array $optParams Optional parameters.
- * @return Google_Service_Blogger_Comment
- */
- public function markAsSpam($blogId, $postId, $commentId, $optParams = array())
- {
- $params = array('blogId' => $blogId, 'postId' => $postId, 'commentId' => $commentId);
- $params = array_merge($params, $optParams);
- return $this->call('markAsSpam', array($params), "Google_Service_Blogger_Comment");
- }
- /**
- * Removes the content of a comment. (comments.removeContent)
- *
- * @param string $blogId
- * The ID of the Blog.
- * @param string $postId
- * The ID of the Post.
- * @param string $commentId
- * The ID of the comment to delete content from.
- * @param array $optParams Optional parameters.
- * @return Google_Service_Blogger_Comment
- */
- public function removeContent($blogId, $postId, $commentId, $optParams = array())
- {
- $params = array('blogId' => $blogId, 'postId' => $postId, 'commentId' => $commentId);
- $params = array_merge($params, $optParams);
- return $this->call('removeContent', array($params), "Google_Service_Blogger_Comment");
- }
-}
-
-/**
- * The "pageViews" collection of methods.
- * Typical usage is:
- *
- * $bloggerService = new Google_Service_Blogger(...);
- * $pageViews = $bloggerService->pageViews;
- *
- */
-class Google_Service_Blogger_PageViews_Resource extends Google_Service_Resource
-{
-
- /**
- * Retrieve pageview stats for a Blog. (pageViews.get)
- *
- * @param string $blogId
- * The ID of the blog to get.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string range
- *
- * @return Google_Service_Blogger_Pageviews
- */
- public function get($blogId, $optParams = array())
- {
- $params = array('blogId' => $blogId);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Blogger_Pageviews");
- }
-}
-
-/**
- * The "pages" collection of methods.
- * Typical usage is:
- *
- * $bloggerService = new Google_Service_Blogger(...);
- * $pages = $bloggerService->pages;
- *
- */
-class Google_Service_Blogger_Pages_Resource extends Google_Service_Resource
-{
-
- /**
- * Delete a page by ID. (pages.delete)
- *
- * @param string $blogId
- * The ID of the Blog.
- * @param string $pageId
- * The ID of the Page.
- * @param array $optParams Optional parameters.
- */
- public function delete($blogId, $pageId, $optParams = array())
- {
- $params = array('blogId' => $blogId, 'pageId' => $pageId);
- $params = array_merge($params, $optParams);
- return $this->call('delete', array($params));
- }
- /**
- * Gets one blog page by ID. (pages.get)
- *
- * @param string $blogId
- * ID of the blog containing the page.
- * @param string $pageId
- * The ID of the page to get.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string view
- *
- * @return Google_Service_Blogger_Page
- */
- public function get($blogId, $pageId, $optParams = array())
- {
- $params = array('blogId' => $blogId, 'pageId' => $pageId);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Blogger_Page");
- }
- /**
- * Add a page. (pages.insert)
- *
- * @param string $blogId
- * ID of the blog to add the page to.
- * @param Google_Page $postBody
- * @param array $optParams Optional parameters.
- *
- * @opt_param bool isDraft
- * Whether to create the page as a draft (default: false).
- * @return Google_Service_Blogger_Page
- */
- public function insert($blogId, Google_Service_Blogger_Page $postBody, $optParams = array())
- {
- $params = array('blogId' => $blogId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('insert', array($params), "Google_Service_Blogger_Page");
- }
- /**
- * Retrieves the pages for a blog, optionally including non-LIVE statuses.
- * (pages.listPages)
- *
- * @param string $blogId
- * ID of the blog to fetch pages from.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string status
- *
- * @opt_param bool fetchBodies
- * Whether to retrieve the Page bodies.
- * @opt_param string view
- * Access level with which to view the returned result. Note that some fields require elevated
- * access.
- * @return Google_Service_Blogger_PageList
- */
- public function listPages($blogId, $optParams = array())
- {
- $params = array('blogId' => $blogId);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Blogger_PageList");
- }
- /**
- * Update a page. This method supports patch semantics. (pages.patch)
- *
- * @param string $blogId
- * The ID of the Blog.
- * @param string $pageId
- * The ID of the Page.
- * @param Google_Page $postBody
- * @param array $optParams Optional parameters.
- *
- * @opt_param bool revert
- * Whether a revert action should be performed when the page is updated (default: false).
- * @opt_param bool publish
- * Whether a publish action should be performed when the page is updated (default: false).
- * @return Google_Service_Blogger_Page
- */
- public function patch($blogId, $pageId, Google_Service_Blogger_Page $postBody, $optParams = array())
- {
- $params = array('blogId' => $blogId, 'pageId' => $pageId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('patch', array($params), "Google_Service_Blogger_Page");
- }
- /**
- * Update a page. (pages.update)
- *
- * @param string $blogId
- * The ID of the Blog.
- * @param string $pageId
- * The ID of the Page.
- * @param Google_Page $postBody
- * @param array $optParams Optional parameters.
- *
- * @opt_param bool revert
- * Whether a revert action should be performed when the page is updated (default: false).
- * @opt_param bool publish
- * Whether a publish action should be performed when the page is updated (default: false).
- * @return Google_Service_Blogger_Page
- */
- public function update($blogId, $pageId, Google_Service_Blogger_Page $postBody, $optParams = array())
- {
- $params = array('blogId' => $blogId, 'pageId' => $pageId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('update', array($params), "Google_Service_Blogger_Page");
- }
-}
-
-/**
- * The "postUserInfos" collection of methods.
- * Typical usage is:
- *
- * $bloggerService = new Google_Service_Blogger(...);
- * $postUserInfos = $bloggerService->postUserInfos;
- *
- */
-class Google_Service_Blogger_PostUserInfos_Resource extends Google_Service_Resource
-{
-
- /**
- * Gets one post and user info pair, by post ID and user ID. The post user info
- * contains per-user information about the post, such as access rights, specific
- * to the user. (postUserInfos.get)
- *
- * @param string $userId
- * ID of the user for the per-user information to be fetched. Either the word 'self' (sans quote
- * marks) or the user's profile identifier.
- * @param string $blogId
- * The ID of the blog.
- * @param string $postId
- * The ID of the post to get.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string maxComments
- * Maximum number of comments to pull back on a post.
- * @return Google_Service_Blogger_PostUserInfo
- */
- public function get($userId, $blogId, $postId, $optParams = array())
- {
- $params = array('userId' => $userId, 'blogId' => $blogId, 'postId' => $postId);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Blogger_PostUserInfo");
- }
- /**
- * Retrieves a list of post and post user info pairs, possibly filtered. The
- * post user info contains per-user information about the post, such as access
- * rights, specific to the user. (postUserInfos.listPostUserInfos)
- *
- * @param string $userId
- * ID of the user for the per-user information to be fetched. Either the word 'self' (sans quote
- * marks) or the user's profile identifier.
- * @param string $blogId
- * ID of the blog to fetch posts from.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string orderBy
- * Sort order applied to search results. Default is published.
- * @opt_param string startDate
- * Earliest post date to fetch, a date-time with RFC 3339 formatting.
- * @opt_param string endDate
- * Latest post date to fetch, a date-time with RFC 3339 formatting.
- * @opt_param string labels
- * Comma-separated list of labels to search for.
- * @opt_param string maxResults
- * Maximum number of posts to fetch.
- * @opt_param string pageToken
- * Continuation token if the request is paged.
- * @opt_param string status
- *
- * @opt_param bool fetchBodies
- * Whether the body content of posts is included. Default is false.
- * @opt_param string view
- * Access level with which to view the returned result. Note that some fields require elevated
- * access.
- * @return Google_Service_Blogger_PostUserInfosList
- */
- public function listPostUserInfos($userId, $blogId, $optParams = array())
- {
- $params = array('userId' => $userId, 'blogId' => $blogId);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Blogger_PostUserInfosList");
- }
-}
-
-/**
- * The "posts" collection of methods.
- * Typical usage is:
- *
- * $bloggerService = new Google_Service_Blogger(...);
- * $posts = $bloggerService->posts;
- *
- */
-class Google_Service_Blogger_Posts_Resource extends Google_Service_Resource
-{
-
- /**
- * Delete a post by ID. (posts.delete)
- *
- * @param string $blogId
- * The ID of the Blog.
- * @param string $postId
- * The ID of the Post.
- * @param array $optParams Optional parameters.
- */
- public function delete($blogId, $postId, $optParams = array())
- {
- $params = array('blogId' => $blogId, 'postId' => $postId);
- $params = array_merge($params, $optParams);
- return $this->call('delete', array($params));
- }
- /**
- * Get a post by ID. (posts.get)
- *
- * @param string $blogId
- * ID of the blog to fetch the post from.
- * @param string $postId
- * The ID of the post
- * @param array $optParams Optional parameters.
- *
- * @opt_param bool fetchBody
- * Whether the body content of the post is included (default: true). This should be set to false
- * when the post bodies are not required, to help minimize traffic.
- * @opt_param string maxComments
- * Maximum number of comments to pull back on a post.
- * @opt_param bool fetchImages
- * Whether image URL metadata for each post is included (default: false).
- * @opt_param string view
- * Access level with which to view the returned result. Note that some fields require elevated
- * access.
- * @return Google_Service_Blogger_Post
- */
- public function get($blogId, $postId, $optParams = array())
- {
- $params = array('blogId' => $blogId, 'postId' => $postId);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Blogger_Post");
- }
- /**
- * Retrieve a Post by Path. (posts.getByPath)
- *
- * @param string $blogId
- * ID of the blog to fetch the post from.
- * @param string $path
- * Path of the Post to retrieve.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string maxComments
- * Maximum number of comments to pull back on a post.
- * @opt_param string view
- * Access level with which to view the returned result. Note that some fields require elevated
- * access.
- * @return Google_Service_Blogger_Post
- */
- public function getByPath($blogId, $path, $optParams = array())
- {
- $params = array('blogId' => $blogId, 'path' => $path);
- $params = array_merge($params, $optParams);
- return $this->call('getByPath', array($params), "Google_Service_Blogger_Post");
- }
- /**
- * Add a post. (posts.insert)
- *
- * @param string $blogId
- * ID of the blog to add the post to.
- * @param Google_Post $postBody
- * @param array $optParams Optional parameters.
- *
- * @opt_param bool fetchImages
- * Whether image URL metadata for each post is included in the returned result (default: false).
- * @opt_param bool isDraft
- * Whether to create the post as a draft (default: false).
- * @opt_param bool fetchBody
- * Whether the body content of the post is included with the result (default: true).
- * @return Google_Service_Blogger_Post
- */
- public function insert($blogId, Google_Service_Blogger_Post $postBody, $optParams = array())
- {
- $params = array('blogId' => $blogId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('insert', array($params), "Google_Service_Blogger_Post");
- }
- /**
- * Retrieves a list of posts, possibly filtered. (posts.listPosts)
- *
- * @param string $blogId
- * ID of the blog to fetch posts from.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string orderBy
- * Sort search results
- * @opt_param string startDate
- * Earliest post date to fetch, a date-time with RFC 3339 formatting.
- * @opt_param string endDate
- * Latest post date to fetch, a date-time with RFC 3339 formatting.
- * @opt_param string labels
- * Comma-separated list of labels to search for.
- * @opt_param string maxResults
- * Maximum number of posts to fetch.
- * @opt_param bool fetchImages
- * Whether image URL metadata for each post is included.
- * @opt_param string pageToken
- * Continuation token if the request is paged.
- * @opt_param string status
- * Statuses to include in the results.
- * @opt_param bool fetchBodies
- * Whether the body content of posts is included (default: true). This should be set to false when
- * the post bodies are not required, to help minimize traffic.
- * @opt_param string view
- * Access level with which to view the returned result. Note that some fields require escalated
- * access.
- * @return Google_Service_Blogger_PostList
- */
- public function listPosts($blogId, $optParams = array())
- {
- $params = array('blogId' => $blogId);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Blogger_PostList");
- }
- /**
- * Update a post. This method supports patch semantics. (posts.patch)
- *
- * @param string $blogId
- * The ID of the Blog.
- * @param string $postId
- * The ID of the Post.
- * @param Google_Post $postBody
- * @param array $optParams Optional parameters.
- *
- * @opt_param bool revert
- * Whether a revert action should be performed when the post is updated (default: false).
- * @opt_param bool publish
- * Whether a publish action should be performed when the post is updated (default: false).
- * @opt_param bool fetchBody
- * Whether the body content of the post is included with the result (default: true).
- * @opt_param string maxComments
- * Maximum number of comments to retrieve with the returned post.
- * @opt_param bool fetchImages
- * Whether image URL metadata for each post is included in the returned result (default: false).
- * @return Google_Service_Blogger_Post
- */
- public function patch($blogId, $postId, Google_Service_Blogger_Post $postBody, $optParams = array())
- {
- $params = array('blogId' => $blogId, 'postId' => $postId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('patch', array($params), "Google_Service_Blogger_Post");
- }
- /**
- * Publishes a draft post, optionally at the specific time of the given
- * publishDate parameter. (posts.publish)
- *
- * @param string $blogId
- * The ID of the Blog.
- * @param string $postId
- * The ID of the Post.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string publishDate
- * Optional date and time to schedule the publishing of the Blog. If no publishDate parameter is
- * given, the post is either published at the a previously saved schedule date (if present), or the
- * current time. If a future date is given, the post will be scheduled to be published.
- * @return Google_Service_Blogger_Post
- */
- public function publish($blogId, $postId, $optParams = array())
- {
- $params = array('blogId' => $blogId, 'postId' => $postId);
- $params = array_merge($params, $optParams);
- return $this->call('publish', array($params), "Google_Service_Blogger_Post");
- }
- /**
- * Revert a published or scheduled post to draft state. (posts.revert)
- *
- * @param string $blogId
- * The ID of the Blog.
- * @param string $postId
- * The ID of the Post.
- * @param array $optParams Optional parameters.
- * @return Google_Service_Blogger_Post
- */
- public function revert($blogId, $postId, $optParams = array())
- {
- $params = array('blogId' => $blogId, 'postId' => $postId);
- $params = array_merge($params, $optParams);
- return $this->call('revert', array($params), "Google_Service_Blogger_Post");
- }
- /**
- * Search for a post. (posts.search)
- *
- * @param string $blogId
- * ID of the blog to fetch the post from.
- * @param string $q
- * Query terms to search this blog for matching posts.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string orderBy
- * Sort search results
- * @opt_param bool fetchBodies
- * Whether the body content of posts is included (default: true). This should be set to false when
- * the post bodies are not required, to help minimize traffic.
- * @return Google_Service_Blogger_PostList
- */
- public function search($blogId, $q, $optParams = array())
- {
- $params = array('blogId' => $blogId, 'q' => $q);
- $params = array_merge($params, $optParams);
- return $this->call('search', array($params), "Google_Service_Blogger_PostList");
- }
- /**
- * Update a post. (posts.update)
- *
- * @param string $blogId
- * The ID of the Blog.
- * @param string $postId
- * The ID of the Post.
- * @param Google_Post $postBody
- * @param array $optParams Optional parameters.
- *
- * @opt_param bool revert
- * Whether a revert action should be performed when the post is updated (default: false).
- * @opt_param bool publish
- * Whether a publish action should be performed when the post is updated (default: false).
- * @opt_param bool fetchBody
- * Whether the body content of the post is included with the result (default: true).
- * @opt_param string maxComments
- * Maximum number of comments to retrieve with the returned post.
- * @opt_param bool fetchImages
- * Whether image URL metadata for each post is included in the returned result (default: false).
- * @return Google_Service_Blogger_Post
- */
- public function update($blogId, $postId, Google_Service_Blogger_Post $postBody, $optParams = array())
- {
- $params = array('blogId' => $blogId, 'postId' => $postId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('update', array($params), "Google_Service_Blogger_Post");
- }
-}
-
-/**
- * The "users" collection of methods.
- * Typical usage is:
- *
- * $bloggerService = new Google_Service_Blogger(...);
- * $users = $bloggerService->users;
- *
- */
-class Google_Service_Blogger_Users_Resource extends Google_Service_Resource
-{
-
- /**
- * Gets one user by ID. (users.get)
- *
- * @param string $userId
- * The ID of the user to get.
- * @param array $optParams Optional parameters.
- * @return Google_Service_Blogger_User
- */
- public function get($userId, $optParams = array())
- {
- $params = array('userId' => $userId);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Blogger_User");
- }
-}
-
-
-
-
-class Google_Service_Blogger_Blog extends Google_Model
-{
- public $customMetaData;
- public $description;
- public $id;
- public $kind;
- protected $localeType = 'Google_Service_Blogger_BlogLocale';
- protected $localeDataType = '';
- public $name;
- protected $pagesType = 'Google_Service_Blogger_BlogPages';
- protected $pagesDataType = '';
- protected $postsType = 'Google_Service_Blogger_BlogPosts';
- protected $postsDataType = '';
- public $published;
- public $selfLink;
- public $status;
- public $updated;
- public $url;
-
- public function setCustomMetaData($customMetaData)
- {
- $this->customMetaData = $customMetaData;
- }
-
- public function getCustomMetaData()
- {
- return $this->customMetaData;
- }
-
- public function setDescription($description)
- {
- $this->description = $description;
- }
-
- public function getDescription()
- {
- return $this->description;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setLocale(Google_Service_Blogger_BlogLocale $locale)
- {
- $this->locale = $locale;
- }
-
- public function getLocale()
- {
- return $this->locale;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setPages(Google_Service_Blogger_BlogPages $pages)
- {
- $this->pages = $pages;
- }
-
- public function getPages()
- {
- return $this->pages;
- }
-
- public function setPosts(Google_Service_Blogger_BlogPosts $posts)
- {
- $this->posts = $posts;
- }
-
- public function getPosts()
- {
- return $this->posts;
- }
-
- public function setPublished($published)
- {
- $this->published = $published;
- }
-
- public function getPublished()
- {
- return $this->published;
- }
-
- public function setSelfLink($selfLink)
- {
- $this->selfLink = $selfLink;
- }
-
- public function getSelfLink()
- {
- return $this->selfLink;
- }
-
- public function setStatus($status)
- {
- $this->status = $status;
- }
-
- public function getStatus()
- {
- return $this->status;
- }
-
- public function setUpdated($updated)
- {
- $this->updated = $updated;
- }
-
- public function getUpdated()
- {
- return $this->updated;
- }
-
- public function setUrl($url)
- {
- $this->url = $url;
- }
-
- public function getUrl()
- {
- return $this->url;
- }
-}
-
-class Google_Service_Blogger_BlogList extends Google_Collection
-{
- protected $blogUserInfosType = 'Google_Service_Blogger_BlogUserInfo';
- protected $blogUserInfosDataType = 'array';
- protected $itemsType = 'Google_Service_Blogger_Blog';
- protected $itemsDataType = 'array';
- public $kind;
-
- public function setBlogUserInfos($blogUserInfos)
- {
- $this->blogUserInfos = $blogUserInfos;
- }
-
- public function getBlogUserInfos()
- {
- return $this->blogUserInfos;
- }
-
- public function setItems($items)
- {
- $this->items = $items;
- }
-
- public function getItems()
- {
- return $this->items;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-}
-
-class Google_Service_Blogger_BlogLocale extends Google_Model
-{
- public $country;
- public $language;
- public $variant;
-
- public function setCountry($country)
- {
- $this->country = $country;
- }
-
- public function getCountry()
- {
- return $this->country;
- }
-
- public function setLanguage($language)
- {
- $this->language = $language;
- }
-
- public function getLanguage()
- {
- return $this->language;
- }
-
- public function setVariant($variant)
- {
- $this->variant = $variant;
- }
-
- public function getVariant()
- {
- return $this->variant;
- }
-}
-
-class Google_Service_Blogger_BlogPages extends Google_Model
-{
- public $selfLink;
- public $totalItems;
-
- public function setSelfLink($selfLink)
- {
- $this->selfLink = $selfLink;
- }
-
- public function getSelfLink()
- {
- return $this->selfLink;
- }
-
- public function setTotalItems($totalItems)
- {
- $this->totalItems = $totalItems;
- }
-
- public function getTotalItems()
- {
- return $this->totalItems;
- }
-}
-
-class Google_Service_Blogger_BlogPerUserInfo extends Google_Model
-{
- public $blogId;
- public $hasAdminAccess;
- public $kind;
- public $photosAlbumKey;
- public $role;
- public $userId;
-
- public function setBlogId($blogId)
- {
- $this->blogId = $blogId;
- }
-
- public function getBlogId()
- {
- return $this->blogId;
- }
-
- public function setHasAdminAccess($hasAdminAccess)
- {
- $this->hasAdminAccess = $hasAdminAccess;
- }
-
- public function getHasAdminAccess()
- {
- return $this->hasAdminAccess;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setPhotosAlbumKey($photosAlbumKey)
- {
- $this->photosAlbumKey = $photosAlbumKey;
- }
-
- public function getPhotosAlbumKey()
- {
- return $this->photosAlbumKey;
- }
-
- public function setRole($role)
- {
- $this->role = $role;
- }
-
- public function getRole()
- {
- return $this->role;
- }
-
- public function setUserId($userId)
- {
- $this->userId = $userId;
- }
-
- public function getUserId()
- {
- return $this->userId;
- }
-}
-
-class Google_Service_Blogger_BlogPosts extends Google_Collection
-{
- protected $itemsType = 'Google_Service_Blogger_Post';
- protected $itemsDataType = 'array';
- public $selfLink;
- public $totalItems;
-
- public function setItems($items)
- {
- $this->items = $items;
- }
-
- public function getItems()
- {
- return $this->items;
- }
-
- public function setSelfLink($selfLink)
- {
- $this->selfLink = $selfLink;
- }
-
- public function getSelfLink()
- {
- return $this->selfLink;
- }
-
- public function setTotalItems($totalItems)
- {
- $this->totalItems = $totalItems;
- }
-
- public function getTotalItems()
- {
- return $this->totalItems;
- }
-}
-
-class Google_Service_Blogger_BlogUserInfo extends Google_Model
-{
- protected $blogType = 'Google_Service_Blogger_Blog';
- protected $blogDataType = '';
- protected $blogUserInfoType = 'Google_Service_Blogger_BlogPerUserInfo';
- protected $blogUserInfoDataType = '';
- public $kind;
-
- public function setBlog(Google_Service_Blogger_Blog $blog)
- {
- $this->blog = $blog;
- }
-
- public function getBlog()
- {
- return $this->blog;
- }
-
- public function setBlogUserInfo(Google_Service_Blogger_BlogPerUserInfo $blogUserInfo)
- {
- $this->blogUserInfo = $blogUserInfo;
- }
-
- public function getBlogUserInfo()
- {
- return $this->blogUserInfo;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-}
-
-class Google_Service_Blogger_Comment extends Google_Model
-{
- protected $authorType = 'Google_Service_Blogger_CommentAuthor';
- protected $authorDataType = '';
- protected $blogType = 'Google_Service_Blogger_CommentBlog';
- protected $blogDataType = '';
- public $content;
- public $id;
- protected $inReplyToType = 'Google_Service_Blogger_CommentInReplyTo';
- protected $inReplyToDataType = '';
- public $kind;
- protected $postType = 'Google_Service_Blogger_CommentPost';
- protected $postDataType = '';
- public $published;
- public $selfLink;
- public $status;
- public $updated;
-
- public function setAuthor(Google_Service_Blogger_CommentAuthor $author)
- {
- $this->author = $author;
- }
-
- public function getAuthor()
- {
- return $this->author;
- }
-
- public function setBlog(Google_Service_Blogger_CommentBlog $blog)
- {
- $this->blog = $blog;
- }
-
- public function getBlog()
- {
- return $this->blog;
- }
-
- public function setContent($content)
- {
- $this->content = $content;
- }
-
- public function getContent()
- {
- return $this->content;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setInReplyTo(Google_Service_Blogger_CommentInReplyTo $inReplyTo)
- {
- $this->inReplyTo = $inReplyTo;
- }
-
- public function getInReplyTo()
- {
- return $this->inReplyTo;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setPost(Google_Service_Blogger_CommentPost $post)
- {
- $this->post = $post;
- }
-
- public function getPost()
- {
- return $this->post;
- }
-
- public function setPublished($published)
- {
- $this->published = $published;
- }
-
- public function getPublished()
- {
- return $this->published;
- }
-
- public function setSelfLink($selfLink)
- {
- $this->selfLink = $selfLink;
- }
-
- public function getSelfLink()
- {
- return $this->selfLink;
- }
-
- public function setStatus($status)
- {
- $this->status = $status;
- }
-
- public function getStatus()
- {
- return $this->status;
- }
-
- public function setUpdated($updated)
- {
- $this->updated = $updated;
- }
-
- public function getUpdated()
- {
- return $this->updated;
- }
-}
-
-class Google_Service_Blogger_CommentAuthor extends Google_Model
-{
- public $displayName;
- public $id;
- protected $imageType = 'Google_Service_Blogger_CommentAuthorImage';
- protected $imageDataType = '';
- public $url;
-
- public function setDisplayName($displayName)
- {
- $this->displayName = $displayName;
- }
-
- public function getDisplayName()
- {
- return $this->displayName;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setImage(Google_Service_Blogger_CommentAuthorImage $image)
- {
- $this->image = $image;
- }
-
- public function getImage()
- {
- return $this->image;
- }
-
- public function setUrl($url)
- {
- $this->url = $url;
- }
-
- public function getUrl()
- {
- return $this->url;
- }
-}
-
-class Google_Service_Blogger_CommentAuthorImage extends Google_Model
-{
- public $url;
-
- public function setUrl($url)
- {
- $this->url = $url;
- }
-
- public function getUrl()
- {
- return $this->url;
- }
-}
-
-class Google_Service_Blogger_CommentBlog extends Google_Model
-{
- public $id;
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-}
-
-class Google_Service_Blogger_CommentInReplyTo extends Google_Model
-{
- public $id;
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-}
-
-class Google_Service_Blogger_CommentList extends Google_Collection
-{
- protected $itemsType = 'Google_Service_Blogger_Comment';
- protected $itemsDataType = 'array';
- public $kind;
- public $nextPageToken;
- public $prevPageToken;
-
- public function setItems($items)
- {
- $this->items = $items;
- }
-
- public function getItems()
- {
- return $this->items;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
-
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-
- public function setPrevPageToken($prevPageToken)
- {
- $this->prevPageToken = $prevPageToken;
- }
-
- public function getPrevPageToken()
- {
- return $this->prevPageToken;
- }
-}
-
-class Google_Service_Blogger_CommentPost extends Google_Model
-{
- public $id;
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-}
-
-class Google_Service_Blogger_Page extends Google_Model
-{
- protected $authorType = 'Google_Service_Blogger_PageAuthor';
- protected $authorDataType = '';
- protected $blogType = 'Google_Service_Blogger_PageBlog';
- protected $blogDataType = '';
- public $content;
- public $id;
- public $kind;
- public $published;
- public $selfLink;
- public $status;
- public $title;
- public $updated;
- public $url;
-
- public function setAuthor(Google_Service_Blogger_PageAuthor $author)
- {
- $this->author = $author;
- }
-
- public function getAuthor()
- {
- return $this->author;
- }
-
- public function setBlog(Google_Service_Blogger_PageBlog $blog)
- {
- $this->blog = $blog;
- }
-
- public function getBlog()
- {
- return $this->blog;
- }
-
- public function setContent($content)
- {
- $this->content = $content;
- }
-
- public function getContent()
- {
- return $this->content;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setPublished($published)
- {
- $this->published = $published;
- }
-
- public function getPublished()
- {
- return $this->published;
- }
-
- public function setSelfLink($selfLink)
- {
- $this->selfLink = $selfLink;
- }
-
- public function getSelfLink()
- {
- return $this->selfLink;
- }
-
- public function setStatus($status)
- {
- $this->status = $status;
- }
-
- public function getStatus()
- {
- return $this->status;
- }
-
- public function setTitle($title)
- {
- $this->title = $title;
- }
-
- public function getTitle()
- {
- return $this->title;
- }
-
- public function setUpdated($updated)
- {
- $this->updated = $updated;
- }
-
- public function getUpdated()
- {
- return $this->updated;
- }
-
- public function setUrl($url)
- {
- $this->url = $url;
- }
-
- public function getUrl()
- {
- return $this->url;
- }
-}
-
-class Google_Service_Blogger_PageAuthor extends Google_Model
-{
- public $displayName;
- public $id;
- protected $imageType = 'Google_Service_Blogger_PageAuthorImage';
- protected $imageDataType = '';
- public $url;
-
- public function setDisplayName($displayName)
- {
- $this->displayName = $displayName;
- }
-
- public function getDisplayName()
- {
- return $this->displayName;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setImage(Google_Service_Blogger_PageAuthorImage $image)
- {
- $this->image = $image;
- }
-
- public function getImage()
- {
- return $this->image;
- }
-
- public function setUrl($url)
- {
- $this->url = $url;
- }
-
- public function getUrl()
- {
- return $this->url;
- }
-}
-
-class Google_Service_Blogger_PageAuthorImage extends Google_Model
-{
- public $url;
-
- public function setUrl($url)
- {
- $this->url = $url;
- }
-
- public function getUrl()
- {
- return $this->url;
- }
-}
-
-class Google_Service_Blogger_PageBlog extends Google_Model
-{
- public $id;
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-}
-
-class Google_Service_Blogger_PageList extends Google_Collection
-{
- protected $itemsType = 'Google_Service_Blogger_Page';
- protected $itemsDataType = 'array';
- public $kind;
-
- public function setItems($items)
- {
- $this->items = $items;
- }
-
- public function getItems()
- {
- return $this->items;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-}
-
-class Google_Service_Blogger_Pageviews extends Google_Collection
-{
- public $blogId;
- protected $countsType = 'Google_Service_Blogger_PageviewsCounts';
- protected $countsDataType = 'array';
- public $kind;
-
- public function setBlogId($blogId)
- {
- $this->blogId = $blogId;
- }
-
- public function getBlogId()
- {
- return $this->blogId;
- }
-
- public function setCounts($counts)
- {
- $this->counts = $counts;
- }
-
- public function getCounts()
- {
- return $this->counts;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-}
-
-class Google_Service_Blogger_PageviewsCounts extends Google_Model
-{
- public $count;
- public $timeRange;
-
- public function setCount($count)
- {
- $this->count = $count;
- }
-
- public function getCount()
- {
- return $this->count;
- }
-
- public function setTimeRange($timeRange)
- {
- $this->timeRange = $timeRange;
- }
-
- public function getTimeRange()
- {
- return $this->timeRange;
- }
-}
-
-class Google_Service_Blogger_Post extends Google_Collection
-{
- protected $authorType = 'Google_Service_Blogger_PostAuthor';
- protected $authorDataType = '';
- protected $blogType = 'Google_Service_Blogger_PostBlog';
- protected $blogDataType = '';
- public $content;
- public $customMetaData;
- public $id;
- protected $imagesType = 'Google_Service_Blogger_PostImages';
- protected $imagesDataType = 'array';
- public $kind;
- public $labels;
- protected $locationType = 'Google_Service_Blogger_PostLocation';
- protected $locationDataType = '';
- public $published;
- public $readerComments;
- protected $repliesType = 'Google_Service_Blogger_PostReplies';
- protected $repliesDataType = '';
- public $selfLink;
- public $status;
- public $title;
- public $titleLink;
- public $updated;
- public $url;
-
- public function setAuthor(Google_Service_Blogger_PostAuthor $author)
- {
- $this->author = $author;
- }
-
- public function getAuthor()
- {
- return $this->author;
- }
-
- public function setBlog(Google_Service_Blogger_PostBlog $blog)
- {
- $this->blog = $blog;
- }
-
- public function getBlog()
- {
- return $this->blog;
- }
-
- public function setContent($content)
- {
- $this->content = $content;
- }
-
- public function getContent()
- {
- return $this->content;
- }
-
- public function setCustomMetaData($customMetaData)
- {
- $this->customMetaData = $customMetaData;
- }
-
- public function getCustomMetaData()
- {
- return $this->customMetaData;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setImages($images)
- {
- $this->images = $images;
- }
-
- public function getImages()
- {
- return $this->images;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setLabels($labels)
- {
- $this->labels = $labels;
- }
-
- public function getLabels()
- {
- return $this->labels;
- }
-
- public function setLocation(Google_Service_Blogger_PostLocation $location)
- {
- $this->location = $location;
- }
-
- public function getLocation()
- {
- return $this->location;
- }
-
- public function setPublished($published)
- {
- $this->published = $published;
- }
-
- public function getPublished()
- {
- return $this->published;
- }
-
- public function setReaderComments($readerComments)
- {
- $this->readerComments = $readerComments;
- }
-
- public function getReaderComments()
- {
- return $this->readerComments;
- }
-
- public function setReplies(Google_Service_Blogger_PostReplies $replies)
- {
- $this->replies = $replies;
- }
-
- public function getReplies()
- {
- return $this->replies;
- }
-
- public function setSelfLink($selfLink)
- {
- $this->selfLink = $selfLink;
- }
-
- public function getSelfLink()
- {
- return $this->selfLink;
- }
-
- public function setStatus($status)
- {
- $this->status = $status;
- }
-
- public function getStatus()
- {
- return $this->status;
- }
-
- public function setTitle($title)
- {
- $this->title = $title;
- }
-
- public function getTitle()
- {
- return $this->title;
- }
-
- public function setTitleLink($titleLink)
- {
- $this->titleLink = $titleLink;
- }
-
- public function getTitleLink()
- {
- return $this->titleLink;
- }
-
- public function setUpdated($updated)
- {
- $this->updated = $updated;
- }
-
- public function getUpdated()
- {
- return $this->updated;
- }
-
- public function setUrl($url)
- {
- $this->url = $url;
- }
-
- public function getUrl()
- {
- return $this->url;
- }
-}
-
-class Google_Service_Blogger_PostAuthor extends Google_Model
-{
- public $displayName;
- public $id;
- protected $imageType = 'Google_Service_Blogger_PostAuthorImage';
- protected $imageDataType = '';
- public $url;
-
- public function setDisplayName($displayName)
- {
- $this->displayName = $displayName;
- }
-
- public function getDisplayName()
- {
- return $this->displayName;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setImage(Google_Service_Blogger_PostAuthorImage $image)
- {
- $this->image = $image;
- }
-
- public function getImage()
- {
- return $this->image;
- }
-
- public function setUrl($url)
- {
- $this->url = $url;
- }
-
- public function getUrl()
- {
- return $this->url;
- }
-}
-
-class Google_Service_Blogger_PostAuthorImage extends Google_Model
-{
- public $url;
-
- public function setUrl($url)
- {
- $this->url = $url;
- }
-
- public function getUrl()
- {
- return $this->url;
- }
-}
-
-class Google_Service_Blogger_PostBlog extends Google_Model
-{
- public $id;
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-}
-
-class Google_Service_Blogger_PostImages extends Google_Model
-{
- public $url;
-
- public function setUrl($url)
- {
- $this->url = $url;
- }
-
- public function getUrl()
- {
- return $this->url;
- }
-}
-
-class Google_Service_Blogger_PostList extends Google_Collection
-{
- protected $itemsType = 'Google_Service_Blogger_Post';
- protected $itemsDataType = 'array';
- public $kind;
- public $nextPageToken;
-
- public function setItems($items)
- {
- $this->items = $items;
- }
-
- public function getItems()
- {
- return $this->items;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
-
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-}
-
-class Google_Service_Blogger_PostLocation extends Google_Model
-{
- public $lat;
- public $lng;
- public $name;
- public $span;
-
- public function setLat($lat)
- {
- $this->lat = $lat;
- }
-
- public function getLat()
- {
- return $this->lat;
- }
-
- public function setLng($lng)
- {
- $this->lng = $lng;
- }
-
- public function getLng()
- {
- return $this->lng;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setSpan($span)
- {
- $this->span = $span;
- }
-
- public function getSpan()
- {
- return $this->span;
- }
-}
-
-class Google_Service_Blogger_PostPerUserInfo extends Google_Model
-{
- public $blogId;
- public $hasEditAccess;
- public $kind;
- public $postId;
- public $userId;
-
- public function setBlogId($blogId)
- {
- $this->blogId = $blogId;
- }
-
- public function getBlogId()
- {
- return $this->blogId;
- }
-
- public function setHasEditAccess($hasEditAccess)
- {
- $this->hasEditAccess = $hasEditAccess;
- }
-
- public function getHasEditAccess()
- {
- return $this->hasEditAccess;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setPostId($postId)
- {
- $this->postId = $postId;
- }
-
- public function getPostId()
- {
- return $this->postId;
- }
-
- public function setUserId($userId)
- {
- $this->userId = $userId;
- }
-
- public function getUserId()
- {
- return $this->userId;
- }
-}
-
-class Google_Service_Blogger_PostReplies extends Google_Collection
-{
- protected $itemsType = 'Google_Service_Blogger_Comment';
- protected $itemsDataType = 'array';
- public $selfLink;
- public $totalItems;
-
- public function setItems($items)
- {
- $this->items = $items;
- }
-
- public function getItems()
- {
- return $this->items;
- }
-
- public function setSelfLink($selfLink)
- {
- $this->selfLink = $selfLink;
- }
-
- public function getSelfLink()
- {
- return $this->selfLink;
- }
-
- public function setTotalItems($totalItems)
- {
- $this->totalItems = $totalItems;
- }
-
- public function getTotalItems()
- {
- return $this->totalItems;
- }
-}
-
-class Google_Service_Blogger_PostUserInfo extends Google_Model
-{
- public $kind;
- protected $postType = 'Google_Service_Blogger_Post';
- protected $postDataType = '';
- protected $postUserInfoType = 'Google_Service_Blogger_PostPerUserInfo';
- protected $postUserInfoDataType = '';
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setPost(Google_Service_Blogger_Post $post)
- {
- $this->post = $post;
- }
-
- public function getPost()
- {
- return $this->post;
- }
-
- public function setPostUserInfo(Google_Service_Blogger_PostPerUserInfo $postUserInfo)
- {
- $this->postUserInfo = $postUserInfo;
- }
-
- public function getPostUserInfo()
- {
- return $this->postUserInfo;
- }
-}
-
-class Google_Service_Blogger_PostUserInfosList extends Google_Collection
-{
- protected $itemsType = 'Google_Service_Blogger_PostUserInfo';
- protected $itemsDataType = 'array';
- public $kind;
- public $nextPageToken;
-
- public function setItems($items)
- {
- $this->items = $items;
- }
-
- public function getItems()
- {
- return $this->items;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
-
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-}
-
-class Google_Service_Blogger_User extends Google_Model
-{
- public $about;
- protected $blogsType = 'Google_Service_Blogger_UserBlogs';
- protected $blogsDataType = '';
- public $created;
- public $displayName;
- public $id;
- public $kind;
- protected $localeType = 'Google_Service_Blogger_UserLocale';
- protected $localeDataType = '';
- public $selfLink;
- public $url;
-
- public function setAbout($about)
- {
- $this->about = $about;
- }
-
- public function getAbout()
- {
- return $this->about;
- }
-
- public function setBlogs(Google_Service_Blogger_UserBlogs $blogs)
- {
- $this->blogs = $blogs;
- }
-
- public function getBlogs()
- {
- return $this->blogs;
- }
-
- public function setCreated($created)
- {
- $this->created = $created;
- }
-
- public function getCreated()
- {
- return $this->created;
- }
-
- public function setDisplayName($displayName)
- {
- $this->displayName = $displayName;
- }
-
- public function getDisplayName()
- {
- return $this->displayName;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setLocale(Google_Service_Blogger_UserLocale $locale)
- {
- $this->locale = $locale;
- }
-
- public function getLocale()
- {
- return $this->locale;
- }
-
- public function setSelfLink($selfLink)
- {
- $this->selfLink = $selfLink;
- }
-
- public function getSelfLink()
- {
- return $this->selfLink;
- }
-
- public function setUrl($url)
- {
- $this->url = $url;
- }
-
- public function getUrl()
- {
- return $this->url;
- }
-}
-
-class Google_Service_Blogger_UserBlogs extends Google_Model
-{
- public $selfLink;
-
- public function setSelfLink($selfLink)
- {
- $this->selfLink = $selfLink;
- }
-
- public function getSelfLink()
- {
- return $this->selfLink;
- }
-}
-
-class Google_Service_Blogger_UserLocale extends Google_Model
-{
- public $country;
- public $language;
- public $variant;
-
- public function setCountry($country)
- {
- $this->country = $country;
- }
-
- public function getCountry()
- {
- return $this->country;
- }
-
- public function setLanguage($language)
- {
- $this->language = $language;
- }
-
- public function getLanguage()
- {
- return $this->language;
- }
-
- public function setVariant($variant)
- {
- $this->variant = $variant;
- }
-
- public function getVariant()
- {
- return $this->variant;
- }
-}
From fcd505880db16cc2d4f38d968fa362a8b0a5a4e3 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Sat, 12 Jul 2014 00:41:31 -0700
Subject: [PATCH 0379/1602] Added service Blogger.php
---
src/Google/Service/Blogger.php | 3381 ++++++++++++++++++++++++++++++++
1 file changed, 3381 insertions(+)
create mode 100644 src/Google/Service/Blogger.php
diff --git a/src/Google/Service/Blogger.php b/src/Google/Service/Blogger.php
new file mode 100644
index 000000000..3842bec19
--- /dev/null
+++ b/src/Google/Service/Blogger.php
@@ -0,0 +1,3381 @@
+
+ * API for access to the data within Blogger.
+ *
+ *
+ *
+ * For more information about this service, see the API
+ * Documentation
+ *
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_Blogger extends Google_Service
+{
+ /** Manage your Blogger account. */
+ const BLOGGER = "https://www.googleapis.com/auth/blogger";
+ /** View your Blogger account. */
+ const BLOGGER_READONLY = "https://www.googleapis.com/auth/blogger.readonly";
+
+ public $blogUserInfos;
+ public $blogs;
+ public $comments;
+ public $pageViews;
+ public $pages;
+ public $postUserInfos;
+ public $posts;
+ public $users;
+
+
+ /**
+ * Constructs the internal representation of the Blogger service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'blogger/v3/';
+ $this->version = 'v3';
+ $this->serviceName = 'blogger';
+
+ $this->blogUserInfos = new Google_Service_Blogger_BlogUserInfos_Resource(
+ $this,
+ $this->serviceName,
+ 'blogUserInfos',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'users/{userId}/blogs/{blogId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'maxPosts' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->blogs = new Google_Service_Blogger_Blogs_Resource(
+ $this,
+ $this->serviceName,
+ 'blogs',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'blogs/{blogId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'maxPosts' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'view' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'getByUrl' => array(
+ 'path' => 'blogs/byurl',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'url' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'view' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'listByUser' => array(
+ 'path' => 'users/{userId}/blogs',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'fetchUserInfo' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'status' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'role' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'view' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->comments = new Google_Service_Blogger_Comments_Resource(
+ $this,
+ $this->serviceName,
+ 'comments',
+ array(
+ 'methods' => array(
+ 'approve' => array(
+ 'path' => 'blogs/{blogId}/posts/{postId}/comments/{commentId}/approve',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'postId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'commentId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'blogs/{blogId}/posts/{postId}/comments/{commentId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'postId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'commentId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'blogs/{blogId}/posts/{postId}/comments/{commentId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'postId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'commentId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'view' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'blogs/{blogId}/posts/{postId}/comments',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'postId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'status' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'startDate' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'endDate' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'fetchBodies' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'view' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'listByBlog' => array(
+ 'path' => 'blogs/{blogId}/comments',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'startDate' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'endDate' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'fetchBodies' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'markAsSpam' => array(
+ 'path' => 'blogs/{blogId}/posts/{postId}/comments/{commentId}/spam',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'postId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'commentId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'removeContent' => array(
+ 'path' => 'blogs/{blogId}/posts/{postId}/comments/{commentId}/removecontent',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'postId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'commentId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->pageViews = new Google_Service_Blogger_PageViews_Resource(
+ $this,
+ $this->serviceName,
+ 'pageViews',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'blogs/{blogId}/pageviews',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'range' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->pages = new Google_Service_Blogger_Pages_Resource(
+ $this,
+ $this->serviceName,
+ 'pages',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'blogs/{blogId}/pages/{pageId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'blogs/{blogId}/pages/{pageId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'view' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'blogs/{blogId}/pages',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'isDraft' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'blogs/{blogId}/pages',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'status' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'fetchBodies' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'view' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'blogs/{blogId}/pages/{pageId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'revert' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'publish' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'blogs/{blogId}/pages/{pageId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'revert' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'publish' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->postUserInfos = new Google_Service_Blogger_PostUserInfos_Resource(
+ $this,
+ $this->serviceName,
+ 'postUserInfos',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'users/{userId}/blogs/{blogId}/posts/{postId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'postId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'maxComments' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'users/{userId}/blogs/{blogId}/posts',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'startDate' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'endDate' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'labels' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'status' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'fetchBodies' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'view' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->posts = new Google_Service_Blogger_Posts_Resource(
+ $this,
+ $this->serviceName,
+ 'posts',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'blogs/{blogId}/posts/{postId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'postId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'blogs/{blogId}/posts/{postId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'postId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'fetchBody' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'maxComments' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'fetchImages' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'view' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'getByPath' => array(
+ 'path' => 'blogs/{blogId}/posts/bypath',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'path' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'maxComments' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'view' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'blogs/{blogId}/posts',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'fetchImages' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'isDraft' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'fetchBody' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'blogs/{blogId}/posts',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'startDate' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'endDate' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'labels' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'fetchImages' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'status' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'fetchBodies' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'view' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'blogs/{blogId}/posts/{postId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'postId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'revert' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'publish' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'fetchBody' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'maxComments' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'fetchImages' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'publish' => array(
+ 'path' => 'blogs/{blogId}/posts/{postId}/publish',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'postId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'publishDate' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'revert' => array(
+ 'path' => 'blogs/{blogId}/posts/{postId}/revert',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'postId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'search' => array(
+ 'path' => 'blogs/{blogId}/posts/search',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'q' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'fetchBodies' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'blogs/{blogId}/posts/{postId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'postId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'revert' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'publish' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'fetchBody' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'maxComments' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'fetchImages' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->users = new Google_Service_Blogger_Users_Resource(
+ $this,
+ $this->serviceName,
+ 'users',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'users/{userId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "blogUserInfos" collection of methods.
+ * Typical usage is:
+ *
+ * $bloggerService = new Google_Service_Blogger(...);
+ * $blogUserInfos = $bloggerService->blogUserInfos;
+ *
+ */
+class Google_Service_Blogger_BlogUserInfos_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets one blog and user info pair by blogId and userId. (blogUserInfos.get)
+ *
+ * @param string $userId
+ * ID of the user whose blogs are to be fetched. Either the word 'self' (sans quote marks) or the
+ * user's profile identifier.
+ * @param string $blogId
+ * The ID of the blog to get.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string maxPosts
+ * Maximum number of posts to pull back with the blog.
+ * @return Google_Service_Blogger_BlogUserInfo
+ */
+ public function get($userId, $blogId, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'blogId' => $blogId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Blogger_BlogUserInfo");
+ }
+}
+
+/**
+ * The "blogs" collection of methods.
+ * Typical usage is:
+ *
+ * $bloggerService = new Google_Service_Blogger(...);
+ * $blogs = $bloggerService->blogs;
+ *
+ */
+class Google_Service_Blogger_Blogs_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets one blog by ID. (blogs.get)
+ *
+ * @param string $blogId
+ * The ID of the blog to get.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string maxPosts
+ * Maximum number of posts to pull back with the blog.
+ * @opt_param string view
+ * Access level with which to view the blog. Note that some fields require elevated access.
+ * @return Google_Service_Blogger_Blog
+ */
+ public function get($blogId, $optParams = array())
+ {
+ $params = array('blogId' => $blogId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Blogger_Blog");
+ }
+ /**
+ * Retrieve a Blog by URL. (blogs.getByUrl)
+ *
+ * @param string $url
+ * The URL of the blog to retrieve.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string view
+ * Access level with which to view the blog. Note that some fields require elevated access.
+ * @return Google_Service_Blogger_Blog
+ */
+ public function getByUrl($url, $optParams = array())
+ {
+ $params = array('url' => $url);
+ $params = array_merge($params, $optParams);
+ return $this->call('getByUrl', array($params), "Google_Service_Blogger_Blog");
+ }
+ /**
+ * Retrieves a list of blogs, possibly filtered. (blogs.listByUser)
+ *
+ * @param string $userId
+ * ID of the user whose blogs are to be fetched. Either the word 'self' (sans quote marks) or the
+ * user's profile identifier.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool fetchUserInfo
+ * Whether the response is a list of blogs with per-user information instead of just blogs.
+ * @opt_param string status
+ * Blog statuses to include in the result (default: Live blogs only). Note that ADMIN access is
+ * required to view deleted blogs.
+ * @opt_param string role
+ * User access types for blogs to include in the results, e.g. AUTHOR will return blogs where the
+ * user has author level access. If no roles are specified, defaults to ADMIN and AUTHOR roles.
+ * @opt_param string view
+ * Access level with which to view the blogs. Note that some fields require elevated access.
+ * @return Google_Service_Blogger_BlogList
+ */
+ public function listByUser($userId, $optParams = array())
+ {
+ $params = array('userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('listByUser', array($params), "Google_Service_Blogger_BlogList");
+ }
+}
+
+/**
+ * The "comments" collection of methods.
+ * Typical usage is:
+ *
+ * $bloggerService = new Google_Service_Blogger(...);
+ * $comments = $bloggerService->comments;
+ *
+ */
+class Google_Service_Blogger_Comments_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Marks a comment as not spam. (comments.approve)
+ *
+ * @param string $blogId
+ * The ID of the Blog.
+ * @param string $postId
+ * The ID of the Post.
+ * @param string $commentId
+ * The ID of the comment to mark as not spam.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Blogger_Comment
+ */
+ public function approve($blogId, $postId, $commentId, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'postId' => $postId, 'commentId' => $commentId);
+ $params = array_merge($params, $optParams);
+ return $this->call('approve', array($params), "Google_Service_Blogger_Comment");
+ }
+ /**
+ * Delete a comment by ID. (comments.delete)
+ *
+ * @param string $blogId
+ * The ID of the Blog.
+ * @param string $postId
+ * The ID of the Post.
+ * @param string $commentId
+ * The ID of the comment to delete.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($blogId, $postId, $commentId, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'postId' => $postId, 'commentId' => $commentId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Gets one comment by ID. (comments.get)
+ *
+ * @param string $blogId
+ * ID of the blog to containing the comment.
+ * @param string $postId
+ * ID of the post to fetch posts from.
+ * @param string $commentId
+ * The ID of the comment to get.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string view
+ * Access level for the requested comment (default: READER). Note that some comments will require
+ * elevated permissions, for example comments where the parent posts which is in a draft state, or
+ * comments that are pending moderation.
+ * @return Google_Service_Blogger_Comment
+ */
+ public function get($blogId, $postId, $commentId, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'postId' => $postId, 'commentId' => $commentId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Blogger_Comment");
+ }
+ /**
+ * Retrieves the comments for a post, possibly filtered. (comments.listComments)
+ *
+ * @param string $blogId
+ * ID of the blog to fetch comments from.
+ * @param string $postId
+ * ID of the post to fetch posts from.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string status
+ *
+ * @opt_param string startDate
+ * Earliest date of comment to fetch, a date-time with RFC 3339 formatting.
+ * @opt_param string endDate
+ * Latest date of comment to fetch, a date-time with RFC 3339 formatting.
+ * @opt_param string maxResults
+ * Maximum number of comments to include in the result.
+ * @opt_param string pageToken
+ * Continuation token if request is paged.
+ * @opt_param bool fetchBodies
+ * Whether the body content of the comments is included.
+ * @opt_param string view
+ * Access level with which to view the returned result. Note that some fields require elevated
+ * access.
+ * @return Google_Service_Blogger_CommentList
+ */
+ public function listComments($blogId, $postId, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'postId' => $postId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Blogger_CommentList");
+ }
+ /**
+ * Retrieves the comments for a blog, across all posts, possibly filtered.
+ * (comments.listByBlog)
+ *
+ * @param string $blogId
+ * ID of the blog to fetch comments from.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string startDate
+ * Earliest date of comment to fetch, a date-time with RFC 3339 formatting.
+ * @opt_param string endDate
+ * Latest date of comment to fetch, a date-time with RFC 3339 formatting.
+ * @opt_param string maxResults
+ * Maximum number of comments to include in the result.
+ * @opt_param string pageToken
+ * Continuation token if request is paged.
+ * @opt_param bool fetchBodies
+ * Whether the body content of the comments is included.
+ * @return Google_Service_Blogger_CommentList
+ */
+ public function listByBlog($blogId, $optParams = array())
+ {
+ $params = array('blogId' => $blogId);
+ $params = array_merge($params, $optParams);
+ return $this->call('listByBlog', array($params), "Google_Service_Blogger_CommentList");
+ }
+ /**
+ * Marks a comment as spam. (comments.markAsSpam)
+ *
+ * @param string $blogId
+ * The ID of the Blog.
+ * @param string $postId
+ * The ID of the Post.
+ * @param string $commentId
+ * The ID of the comment to mark as spam.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Blogger_Comment
+ */
+ public function markAsSpam($blogId, $postId, $commentId, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'postId' => $postId, 'commentId' => $commentId);
+ $params = array_merge($params, $optParams);
+ return $this->call('markAsSpam', array($params), "Google_Service_Blogger_Comment");
+ }
+ /**
+ * Removes the content of a comment. (comments.removeContent)
+ *
+ * @param string $blogId
+ * The ID of the Blog.
+ * @param string $postId
+ * The ID of the Post.
+ * @param string $commentId
+ * The ID of the comment to delete content from.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Blogger_Comment
+ */
+ public function removeContent($blogId, $postId, $commentId, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'postId' => $postId, 'commentId' => $commentId);
+ $params = array_merge($params, $optParams);
+ return $this->call('removeContent', array($params), "Google_Service_Blogger_Comment");
+ }
+}
+
+/**
+ * The "pageViews" collection of methods.
+ * Typical usage is:
+ *
+ * $bloggerService = new Google_Service_Blogger(...);
+ * $pageViews = $bloggerService->pageViews;
+ *
+ */
+class Google_Service_Blogger_PageViews_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Retrieve pageview stats for a Blog. (pageViews.get)
+ *
+ * @param string $blogId
+ * The ID of the blog to get.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string range
+ *
+ * @return Google_Service_Blogger_Pageviews
+ */
+ public function get($blogId, $optParams = array())
+ {
+ $params = array('blogId' => $blogId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Blogger_Pageviews");
+ }
+}
+
+/**
+ * The "pages" collection of methods.
+ * Typical usage is:
+ *
+ * $bloggerService = new Google_Service_Blogger(...);
+ * $pages = $bloggerService->pages;
+ *
+ */
+class Google_Service_Blogger_Pages_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Delete a page by ID. (pages.delete)
+ *
+ * @param string $blogId
+ * The ID of the Blog.
+ * @param string $pageId
+ * The ID of the Page.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($blogId, $pageId, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'pageId' => $pageId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Gets one blog page by ID. (pages.get)
+ *
+ * @param string $blogId
+ * ID of the blog containing the page.
+ * @param string $pageId
+ * The ID of the page to get.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string view
+ *
+ * @return Google_Service_Blogger_Page
+ */
+ public function get($blogId, $pageId, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'pageId' => $pageId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Blogger_Page");
+ }
+ /**
+ * Add a page. (pages.insert)
+ *
+ * @param string $blogId
+ * ID of the blog to add the page to.
+ * @param Google_Page $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool isDraft
+ * Whether to create the page as a draft (default: false).
+ * @return Google_Service_Blogger_Page
+ */
+ public function insert($blogId, Google_Service_Blogger_Page $postBody, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Blogger_Page");
+ }
+ /**
+ * Retrieves the pages for a blog, optionally including non-LIVE statuses.
+ * (pages.listPages)
+ *
+ * @param string $blogId
+ * ID of the blog to fetch pages from.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string status
+ *
+ * @opt_param bool fetchBodies
+ * Whether to retrieve the Page bodies.
+ * @opt_param string view
+ * Access level with which to view the returned result. Note that some fields require elevated
+ * access.
+ * @return Google_Service_Blogger_PageList
+ */
+ public function listPages($blogId, $optParams = array())
+ {
+ $params = array('blogId' => $blogId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Blogger_PageList");
+ }
+ /**
+ * Update a page. This method supports patch semantics. (pages.patch)
+ *
+ * @param string $blogId
+ * The ID of the Blog.
+ * @param string $pageId
+ * The ID of the Page.
+ * @param Google_Page $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool revert
+ * Whether a revert action should be performed when the page is updated (default: false).
+ * @opt_param bool publish
+ * Whether a publish action should be performed when the page is updated (default: false).
+ * @return Google_Service_Blogger_Page
+ */
+ public function patch($blogId, $pageId, Google_Service_Blogger_Page $postBody, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'pageId' => $pageId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Blogger_Page");
+ }
+ /**
+ * Update a page. (pages.update)
+ *
+ * @param string $blogId
+ * The ID of the Blog.
+ * @param string $pageId
+ * The ID of the Page.
+ * @param Google_Page $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool revert
+ * Whether a revert action should be performed when the page is updated (default: false).
+ * @opt_param bool publish
+ * Whether a publish action should be performed when the page is updated (default: false).
+ * @return Google_Service_Blogger_Page
+ */
+ public function update($blogId, $pageId, Google_Service_Blogger_Page $postBody, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'pageId' => $pageId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Blogger_Page");
+ }
+}
+
+/**
+ * The "postUserInfos" collection of methods.
+ * Typical usage is:
+ *
+ * $bloggerService = new Google_Service_Blogger(...);
+ * $postUserInfos = $bloggerService->postUserInfos;
+ *
+ */
+class Google_Service_Blogger_PostUserInfos_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets one post and user info pair, by post ID and user ID. The post user info
+ * contains per-user information about the post, such as access rights, specific
+ * to the user. (postUserInfos.get)
+ *
+ * @param string $userId
+ * ID of the user for the per-user information to be fetched. Either the word 'self' (sans quote
+ * marks) or the user's profile identifier.
+ * @param string $blogId
+ * The ID of the blog.
+ * @param string $postId
+ * The ID of the post to get.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string maxComments
+ * Maximum number of comments to pull back on a post.
+ * @return Google_Service_Blogger_PostUserInfo
+ */
+ public function get($userId, $blogId, $postId, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'blogId' => $blogId, 'postId' => $postId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Blogger_PostUserInfo");
+ }
+ /**
+ * Retrieves a list of post and post user info pairs, possibly filtered. The
+ * post user info contains per-user information about the post, such as access
+ * rights, specific to the user. (postUserInfos.listPostUserInfos)
+ *
+ * @param string $userId
+ * ID of the user for the per-user information to be fetched. Either the word 'self' (sans quote
+ * marks) or the user's profile identifier.
+ * @param string $blogId
+ * ID of the blog to fetch posts from.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string orderBy
+ * Sort order applied to search results. Default is published.
+ * @opt_param string startDate
+ * Earliest post date to fetch, a date-time with RFC 3339 formatting.
+ * @opt_param string endDate
+ * Latest post date to fetch, a date-time with RFC 3339 formatting.
+ * @opt_param string labels
+ * Comma-separated list of labels to search for.
+ * @opt_param string maxResults
+ * Maximum number of posts to fetch.
+ * @opt_param string pageToken
+ * Continuation token if the request is paged.
+ * @opt_param string status
+ *
+ * @opt_param bool fetchBodies
+ * Whether the body content of posts is included. Default is false.
+ * @opt_param string view
+ * Access level with which to view the returned result. Note that some fields require elevated
+ * access.
+ * @return Google_Service_Blogger_PostUserInfosList
+ */
+ public function listPostUserInfos($userId, $blogId, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'blogId' => $blogId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Blogger_PostUserInfosList");
+ }
+}
+
+/**
+ * The "posts" collection of methods.
+ * Typical usage is:
+ *
+ * $bloggerService = new Google_Service_Blogger(...);
+ * $posts = $bloggerService->posts;
+ *
+ */
+class Google_Service_Blogger_Posts_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Delete a post by ID. (posts.delete)
+ *
+ * @param string $blogId
+ * The ID of the Blog.
+ * @param string $postId
+ * The ID of the Post.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($blogId, $postId, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'postId' => $postId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Get a post by ID. (posts.get)
+ *
+ * @param string $blogId
+ * ID of the blog to fetch the post from.
+ * @param string $postId
+ * The ID of the post
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool fetchBody
+ * Whether the body content of the post is included (default: true). This should be set to false
+ * when the post bodies are not required, to help minimize traffic.
+ * @opt_param string maxComments
+ * Maximum number of comments to pull back on a post.
+ * @opt_param bool fetchImages
+ * Whether image URL metadata for each post is included (default: false).
+ * @opt_param string view
+ * Access level with which to view the returned result. Note that some fields require elevated
+ * access.
+ * @return Google_Service_Blogger_Post
+ */
+ public function get($blogId, $postId, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'postId' => $postId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Blogger_Post");
+ }
+ /**
+ * Retrieve a Post by Path. (posts.getByPath)
+ *
+ * @param string $blogId
+ * ID of the blog to fetch the post from.
+ * @param string $path
+ * Path of the Post to retrieve.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string maxComments
+ * Maximum number of comments to pull back on a post.
+ * @opt_param string view
+ * Access level with which to view the returned result. Note that some fields require elevated
+ * access.
+ * @return Google_Service_Blogger_Post
+ */
+ public function getByPath($blogId, $path, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'path' => $path);
+ $params = array_merge($params, $optParams);
+ return $this->call('getByPath', array($params), "Google_Service_Blogger_Post");
+ }
+ /**
+ * Add a post. (posts.insert)
+ *
+ * @param string $blogId
+ * ID of the blog to add the post to.
+ * @param Google_Post $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool fetchImages
+ * Whether image URL metadata for each post is included in the returned result (default: false).
+ * @opt_param bool isDraft
+ * Whether to create the post as a draft (default: false).
+ * @opt_param bool fetchBody
+ * Whether the body content of the post is included with the result (default: true).
+ * @return Google_Service_Blogger_Post
+ */
+ public function insert($blogId, Google_Service_Blogger_Post $postBody, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Blogger_Post");
+ }
+ /**
+ * Retrieves a list of posts, possibly filtered. (posts.listPosts)
+ *
+ * @param string $blogId
+ * ID of the blog to fetch posts from.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string orderBy
+ * Sort search results
+ * @opt_param string startDate
+ * Earliest post date to fetch, a date-time with RFC 3339 formatting.
+ * @opt_param string endDate
+ * Latest post date to fetch, a date-time with RFC 3339 formatting.
+ * @opt_param string labels
+ * Comma-separated list of labels to search for.
+ * @opt_param string maxResults
+ * Maximum number of posts to fetch.
+ * @opt_param bool fetchImages
+ * Whether image URL metadata for each post is included.
+ * @opt_param string pageToken
+ * Continuation token if the request is paged.
+ * @opt_param string status
+ * Statuses to include in the results.
+ * @opt_param bool fetchBodies
+ * Whether the body content of posts is included (default: true). This should be set to false when
+ * the post bodies are not required, to help minimize traffic.
+ * @opt_param string view
+ * Access level with which to view the returned result. Note that some fields require escalated
+ * access.
+ * @return Google_Service_Blogger_PostList
+ */
+ public function listPosts($blogId, $optParams = array())
+ {
+ $params = array('blogId' => $blogId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Blogger_PostList");
+ }
+ /**
+ * Update a post. This method supports patch semantics. (posts.patch)
+ *
+ * @param string $blogId
+ * The ID of the Blog.
+ * @param string $postId
+ * The ID of the Post.
+ * @param Google_Post $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool revert
+ * Whether a revert action should be performed when the post is updated (default: false).
+ * @opt_param bool publish
+ * Whether a publish action should be performed when the post is updated (default: false).
+ * @opt_param bool fetchBody
+ * Whether the body content of the post is included with the result (default: true).
+ * @opt_param string maxComments
+ * Maximum number of comments to retrieve with the returned post.
+ * @opt_param bool fetchImages
+ * Whether image URL metadata for each post is included in the returned result (default: false).
+ * @return Google_Service_Blogger_Post
+ */
+ public function patch($blogId, $postId, Google_Service_Blogger_Post $postBody, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'postId' => $postId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Blogger_Post");
+ }
+ /**
+ * Publishes a draft post, optionally at the specific time of the given
+ * publishDate parameter. (posts.publish)
+ *
+ * @param string $blogId
+ * The ID of the Blog.
+ * @param string $postId
+ * The ID of the Post.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string publishDate
+ * Optional date and time to schedule the publishing of the Blog. If no publishDate parameter is
+ * given, the post is either published at the a previously saved schedule date (if present), or the
+ * current time. If a future date is given, the post will be scheduled to be published.
+ * @return Google_Service_Blogger_Post
+ */
+ public function publish($blogId, $postId, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'postId' => $postId);
+ $params = array_merge($params, $optParams);
+ return $this->call('publish', array($params), "Google_Service_Blogger_Post");
+ }
+ /**
+ * Revert a published or scheduled post to draft state. (posts.revert)
+ *
+ * @param string $blogId
+ * The ID of the Blog.
+ * @param string $postId
+ * The ID of the Post.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Blogger_Post
+ */
+ public function revert($blogId, $postId, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'postId' => $postId);
+ $params = array_merge($params, $optParams);
+ return $this->call('revert', array($params), "Google_Service_Blogger_Post");
+ }
+ /**
+ * Search for a post. (posts.search)
+ *
+ * @param string $blogId
+ * ID of the blog to fetch the post from.
+ * @param string $q
+ * Query terms to search this blog for matching posts.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string orderBy
+ * Sort search results
+ * @opt_param bool fetchBodies
+ * Whether the body content of posts is included (default: true). This should be set to false when
+ * the post bodies are not required, to help minimize traffic.
+ * @return Google_Service_Blogger_PostList
+ */
+ public function search($blogId, $q, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'q' => $q);
+ $params = array_merge($params, $optParams);
+ return $this->call('search', array($params), "Google_Service_Blogger_PostList");
+ }
+ /**
+ * Update a post. (posts.update)
+ *
+ * @param string $blogId
+ * The ID of the Blog.
+ * @param string $postId
+ * The ID of the Post.
+ * @param Google_Post $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool revert
+ * Whether a revert action should be performed when the post is updated (default: false).
+ * @opt_param bool publish
+ * Whether a publish action should be performed when the post is updated (default: false).
+ * @opt_param bool fetchBody
+ * Whether the body content of the post is included with the result (default: true).
+ * @opt_param string maxComments
+ * Maximum number of comments to retrieve with the returned post.
+ * @opt_param bool fetchImages
+ * Whether image URL metadata for each post is included in the returned result (default: false).
+ * @return Google_Service_Blogger_Post
+ */
+ public function update($blogId, $postId, Google_Service_Blogger_Post $postBody, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'postId' => $postId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Blogger_Post");
+ }
+}
+
+/**
+ * The "users" collection of methods.
+ * Typical usage is:
+ *
+ * $bloggerService = new Google_Service_Blogger(...);
+ * $users = $bloggerService->users;
+ *
+ */
+class Google_Service_Blogger_Users_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets one user by ID. (users.get)
+ *
+ * @param string $userId
+ * The ID of the user to get.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Blogger_User
+ */
+ public function get($userId, $optParams = array())
+ {
+ $params = array('userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Blogger_User");
+ }
+}
+
+
+
+
+class Google_Service_Blogger_Blog extends Google_Model
+{
+ public $customMetaData;
+ public $description;
+ public $id;
+ public $kind;
+ protected $localeType = 'Google_Service_Blogger_BlogLocale';
+ protected $localeDataType = '';
+ public $name;
+ protected $pagesType = 'Google_Service_Blogger_BlogPages';
+ protected $pagesDataType = '';
+ protected $postsType = 'Google_Service_Blogger_BlogPosts';
+ protected $postsDataType = '';
+ public $published;
+ public $selfLink;
+ public $status;
+ public $updated;
+ public $url;
+
+ public function setCustomMetaData($customMetaData)
+ {
+ $this->customMetaData = $customMetaData;
+ }
+
+ public function getCustomMetaData()
+ {
+ return $this->customMetaData;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setLocale(Google_Service_Blogger_BlogLocale $locale)
+ {
+ $this->locale = $locale;
+ }
+
+ public function getLocale()
+ {
+ return $this->locale;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setPages(Google_Service_Blogger_BlogPages $pages)
+ {
+ $this->pages = $pages;
+ }
+
+ public function getPages()
+ {
+ return $this->pages;
+ }
+
+ public function setPosts(Google_Service_Blogger_BlogPosts $posts)
+ {
+ $this->posts = $posts;
+ }
+
+ public function getPosts()
+ {
+ return $this->posts;
+ }
+
+ public function setPublished($published)
+ {
+ $this->published = $published;
+ }
+
+ public function getPublished()
+ {
+ return $this->published;
+ }
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+
+ public function getStatus()
+ {
+ return $this->status;
+ }
+
+ public function setUpdated($updated)
+ {
+ $this->updated = $updated;
+ }
+
+ public function getUpdated()
+ {
+ return $this->updated;
+ }
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Google_Service_Blogger_BlogList extends Google_Collection
+{
+ protected $blogUserInfosType = 'Google_Service_Blogger_BlogUserInfo';
+ protected $blogUserInfosDataType = 'array';
+ protected $itemsType = 'Google_Service_Blogger_Blog';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+ public function setBlogUserInfos($blogUserInfos)
+ {
+ $this->blogUserInfos = $blogUserInfos;
+ }
+
+ public function getBlogUserInfos()
+ {
+ return $this->blogUserInfos;
+ }
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Blogger_BlogLocale extends Google_Model
+{
+ public $country;
+ public $language;
+ public $variant;
+
+ public function setCountry($country)
+ {
+ $this->country = $country;
+ }
+
+ public function getCountry()
+ {
+ return $this->country;
+ }
+
+ public function setLanguage($language)
+ {
+ $this->language = $language;
+ }
+
+ public function getLanguage()
+ {
+ return $this->language;
+ }
+
+ public function setVariant($variant)
+ {
+ $this->variant = $variant;
+ }
+
+ public function getVariant()
+ {
+ return $this->variant;
+ }
+}
+
+class Google_Service_Blogger_BlogPages extends Google_Model
+{
+ public $selfLink;
+ public $totalItems;
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+
+ public function setTotalItems($totalItems)
+ {
+ $this->totalItems = $totalItems;
+ }
+
+ public function getTotalItems()
+ {
+ return $this->totalItems;
+ }
+}
+
+class Google_Service_Blogger_BlogPerUserInfo extends Google_Model
+{
+ public $blogId;
+ public $hasAdminAccess;
+ public $kind;
+ public $photosAlbumKey;
+ public $role;
+ public $userId;
+
+ public function setBlogId($blogId)
+ {
+ $this->blogId = $blogId;
+ }
+
+ public function getBlogId()
+ {
+ return $this->blogId;
+ }
+
+ public function setHasAdminAccess($hasAdminAccess)
+ {
+ $this->hasAdminAccess = $hasAdminAccess;
+ }
+
+ public function getHasAdminAccess()
+ {
+ return $this->hasAdminAccess;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setPhotosAlbumKey($photosAlbumKey)
+ {
+ $this->photosAlbumKey = $photosAlbumKey;
+ }
+
+ public function getPhotosAlbumKey()
+ {
+ return $this->photosAlbumKey;
+ }
+
+ public function setRole($role)
+ {
+ $this->role = $role;
+ }
+
+ public function getRole()
+ {
+ return $this->role;
+ }
+
+ public function setUserId($userId)
+ {
+ $this->userId = $userId;
+ }
+
+ public function getUserId()
+ {
+ return $this->userId;
+ }
+}
+
+class Google_Service_Blogger_BlogPosts extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_Blogger_Post';
+ protected $itemsDataType = 'array';
+ public $selfLink;
+ public $totalItems;
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+
+ public function setTotalItems($totalItems)
+ {
+ $this->totalItems = $totalItems;
+ }
+
+ public function getTotalItems()
+ {
+ return $this->totalItems;
+ }
+}
+
+class Google_Service_Blogger_BlogUserInfo extends Google_Model
+{
+ protected $blogType = 'Google_Service_Blogger_Blog';
+ protected $blogDataType = '';
+ protected $blogUserInfoType = 'Google_Service_Blogger_BlogPerUserInfo';
+ protected $blogUserInfoDataType = '';
+ public $kind;
+
+ public function setBlog(Google_Service_Blogger_Blog $blog)
+ {
+ $this->blog = $blog;
+ }
+
+ public function getBlog()
+ {
+ return $this->blog;
+ }
+
+ public function setBlogUserInfo(Google_Service_Blogger_BlogPerUserInfo $blogUserInfo)
+ {
+ $this->blogUserInfo = $blogUserInfo;
+ }
+
+ public function getBlogUserInfo()
+ {
+ return $this->blogUserInfo;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Blogger_Comment extends Google_Model
+{
+ protected $authorType = 'Google_Service_Blogger_CommentAuthor';
+ protected $authorDataType = '';
+ protected $blogType = 'Google_Service_Blogger_CommentBlog';
+ protected $blogDataType = '';
+ public $content;
+ public $id;
+ protected $inReplyToType = 'Google_Service_Blogger_CommentInReplyTo';
+ protected $inReplyToDataType = '';
+ public $kind;
+ protected $postType = 'Google_Service_Blogger_CommentPost';
+ protected $postDataType = '';
+ public $published;
+ public $selfLink;
+ public $status;
+ public $updated;
+
+ public function setAuthor(Google_Service_Blogger_CommentAuthor $author)
+ {
+ $this->author = $author;
+ }
+
+ public function getAuthor()
+ {
+ return $this->author;
+ }
+
+ public function setBlog(Google_Service_Blogger_CommentBlog $blog)
+ {
+ $this->blog = $blog;
+ }
+
+ public function getBlog()
+ {
+ return $this->blog;
+ }
+
+ public function setContent($content)
+ {
+ $this->content = $content;
+ }
+
+ public function getContent()
+ {
+ return $this->content;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setInReplyTo(Google_Service_Blogger_CommentInReplyTo $inReplyTo)
+ {
+ $this->inReplyTo = $inReplyTo;
+ }
+
+ public function getInReplyTo()
+ {
+ return $this->inReplyTo;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setPost(Google_Service_Blogger_CommentPost $post)
+ {
+ $this->post = $post;
+ }
+
+ public function getPost()
+ {
+ return $this->post;
+ }
+
+ public function setPublished($published)
+ {
+ $this->published = $published;
+ }
+
+ public function getPublished()
+ {
+ return $this->published;
+ }
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+
+ public function getStatus()
+ {
+ return $this->status;
+ }
+
+ public function setUpdated($updated)
+ {
+ $this->updated = $updated;
+ }
+
+ public function getUpdated()
+ {
+ return $this->updated;
+ }
+}
+
+class Google_Service_Blogger_CommentAuthor extends Google_Model
+{
+ public $displayName;
+ public $id;
+ protected $imageType = 'Google_Service_Blogger_CommentAuthorImage';
+ protected $imageDataType = '';
+ public $url;
+
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setImage(Google_Service_Blogger_CommentAuthorImage $image)
+ {
+ $this->image = $image;
+ }
+
+ public function getImage()
+ {
+ return $this->image;
+ }
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Google_Service_Blogger_CommentAuthorImage extends Google_Model
+{
+ public $url;
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Google_Service_Blogger_CommentBlog extends Google_Model
+{
+ public $id;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+}
+
+class Google_Service_Blogger_CommentInReplyTo extends Google_Model
+{
+ public $id;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+}
+
+class Google_Service_Blogger_CommentList extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_Blogger_Comment';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $prevPageToken;
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setPrevPageToken($prevPageToken)
+ {
+ $this->prevPageToken = $prevPageToken;
+ }
+
+ public function getPrevPageToken()
+ {
+ return $this->prevPageToken;
+ }
+}
+
+class Google_Service_Blogger_CommentPost extends Google_Model
+{
+ public $id;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+}
+
+class Google_Service_Blogger_Page extends Google_Model
+{
+ protected $authorType = 'Google_Service_Blogger_PageAuthor';
+ protected $authorDataType = '';
+ protected $blogType = 'Google_Service_Blogger_PageBlog';
+ protected $blogDataType = '';
+ public $content;
+ public $id;
+ public $kind;
+ public $published;
+ public $selfLink;
+ public $status;
+ public $title;
+ public $updated;
+ public $url;
+
+ public function setAuthor(Google_Service_Blogger_PageAuthor $author)
+ {
+ $this->author = $author;
+ }
+
+ public function getAuthor()
+ {
+ return $this->author;
+ }
+
+ public function setBlog(Google_Service_Blogger_PageBlog $blog)
+ {
+ $this->blog = $blog;
+ }
+
+ public function getBlog()
+ {
+ return $this->blog;
+ }
+
+ public function setContent($content)
+ {
+ $this->content = $content;
+ }
+
+ public function getContent()
+ {
+ return $this->content;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setPublished($published)
+ {
+ $this->published = $published;
+ }
+
+ public function getPublished()
+ {
+ return $this->published;
+ }
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+
+ public function getStatus()
+ {
+ return $this->status;
+ }
+
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+
+ public function getTitle()
+ {
+ return $this->title;
+ }
+
+ public function setUpdated($updated)
+ {
+ $this->updated = $updated;
+ }
+
+ public function getUpdated()
+ {
+ return $this->updated;
+ }
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Google_Service_Blogger_PageAuthor extends Google_Model
+{
+ public $displayName;
+ public $id;
+ protected $imageType = 'Google_Service_Blogger_PageAuthorImage';
+ protected $imageDataType = '';
+ public $url;
+
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setImage(Google_Service_Blogger_PageAuthorImage $image)
+ {
+ $this->image = $image;
+ }
+
+ public function getImage()
+ {
+ return $this->image;
+ }
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Google_Service_Blogger_PageAuthorImage extends Google_Model
+{
+ public $url;
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Google_Service_Blogger_PageBlog extends Google_Model
+{
+ public $id;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+}
+
+class Google_Service_Blogger_PageList extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_Blogger_Page';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Blogger_Pageviews extends Google_Collection
+{
+ public $blogId;
+ protected $countsType = 'Google_Service_Blogger_PageviewsCounts';
+ protected $countsDataType = 'array';
+ public $kind;
+
+ public function setBlogId($blogId)
+ {
+ $this->blogId = $blogId;
+ }
+
+ public function getBlogId()
+ {
+ return $this->blogId;
+ }
+
+ public function setCounts($counts)
+ {
+ $this->counts = $counts;
+ }
+
+ public function getCounts()
+ {
+ return $this->counts;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Blogger_PageviewsCounts extends Google_Model
+{
+ public $count;
+ public $timeRange;
+
+ public function setCount($count)
+ {
+ $this->count = $count;
+ }
+
+ public function getCount()
+ {
+ return $this->count;
+ }
+
+ public function setTimeRange($timeRange)
+ {
+ $this->timeRange = $timeRange;
+ }
+
+ public function getTimeRange()
+ {
+ return $this->timeRange;
+ }
+}
+
+class Google_Service_Blogger_Post extends Google_Collection
+{
+ protected $authorType = 'Google_Service_Blogger_PostAuthor';
+ protected $authorDataType = '';
+ protected $blogType = 'Google_Service_Blogger_PostBlog';
+ protected $blogDataType = '';
+ public $content;
+ public $customMetaData;
+ public $id;
+ protected $imagesType = 'Google_Service_Blogger_PostImages';
+ protected $imagesDataType = 'array';
+ public $kind;
+ public $labels;
+ protected $locationType = 'Google_Service_Blogger_PostLocation';
+ protected $locationDataType = '';
+ public $published;
+ public $readerComments;
+ protected $repliesType = 'Google_Service_Blogger_PostReplies';
+ protected $repliesDataType = '';
+ public $selfLink;
+ public $status;
+ public $title;
+ public $titleLink;
+ public $updated;
+ public $url;
+
+ public function setAuthor(Google_Service_Blogger_PostAuthor $author)
+ {
+ $this->author = $author;
+ }
+
+ public function getAuthor()
+ {
+ return $this->author;
+ }
+
+ public function setBlog(Google_Service_Blogger_PostBlog $blog)
+ {
+ $this->blog = $blog;
+ }
+
+ public function getBlog()
+ {
+ return $this->blog;
+ }
+
+ public function setContent($content)
+ {
+ $this->content = $content;
+ }
+
+ public function getContent()
+ {
+ return $this->content;
+ }
+
+ public function setCustomMetaData($customMetaData)
+ {
+ $this->customMetaData = $customMetaData;
+ }
+
+ public function getCustomMetaData()
+ {
+ return $this->customMetaData;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setImages($images)
+ {
+ $this->images = $images;
+ }
+
+ public function getImages()
+ {
+ return $this->images;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setLabels($labels)
+ {
+ $this->labels = $labels;
+ }
+
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+
+ public function setLocation(Google_Service_Blogger_PostLocation $location)
+ {
+ $this->location = $location;
+ }
+
+ public function getLocation()
+ {
+ return $this->location;
+ }
+
+ public function setPublished($published)
+ {
+ $this->published = $published;
+ }
+
+ public function getPublished()
+ {
+ return $this->published;
+ }
+
+ public function setReaderComments($readerComments)
+ {
+ $this->readerComments = $readerComments;
+ }
+
+ public function getReaderComments()
+ {
+ return $this->readerComments;
+ }
+
+ public function setReplies(Google_Service_Blogger_PostReplies $replies)
+ {
+ $this->replies = $replies;
+ }
+
+ public function getReplies()
+ {
+ return $this->replies;
+ }
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+
+ public function getStatus()
+ {
+ return $this->status;
+ }
+
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+
+ public function getTitle()
+ {
+ return $this->title;
+ }
+
+ public function setTitleLink($titleLink)
+ {
+ $this->titleLink = $titleLink;
+ }
+
+ public function getTitleLink()
+ {
+ return $this->titleLink;
+ }
+
+ public function setUpdated($updated)
+ {
+ $this->updated = $updated;
+ }
+
+ public function getUpdated()
+ {
+ return $this->updated;
+ }
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Google_Service_Blogger_PostAuthor extends Google_Model
+{
+ public $displayName;
+ public $id;
+ protected $imageType = 'Google_Service_Blogger_PostAuthorImage';
+ protected $imageDataType = '';
+ public $url;
+
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setImage(Google_Service_Blogger_PostAuthorImage $image)
+ {
+ $this->image = $image;
+ }
+
+ public function getImage()
+ {
+ return $this->image;
+ }
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Google_Service_Blogger_PostAuthorImage extends Google_Model
+{
+ public $url;
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Google_Service_Blogger_PostBlog extends Google_Model
+{
+ public $id;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+}
+
+class Google_Service_Blogger_PostImages extends Google_Model
+{
+ public $url;
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Google_Service_Blogger_PostList extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_Blogger_Post';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Blogger_PostLocation extends Google_Model
+{
+ public $lat;
+ public $lng;
+ public $name;
+ public $span;
+
+ public function setLat($lat)
+ {
+ $this->lat = $lat;
+ }
+
+ public function getLat()
+ {
+ return $this->lat;
+ }
+
+ public function setLng($lng)
+ {
+ $this->lng = $lng;
+ }
+
+ public function getLng()
+ {
+ return $this->lng;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setSpan($span)
+ {
+ $this->span = $span;
+ }
+
+ public function getSpan()
+ {
+ return $this->span;
+ }
+}
+
+class Google_Service_Blogger_PostPerUserInfo extends Google_Model
+{
+ public $blogId;
+ public $hasEditAccess;
+ public $kind;
+ public $postId;
+ public $userId;
+
+ public function setBlogId($blogId)
+ {
+ $this->blogId = $blogId;
+ }
+
+ public function getBlogId()
+ {
+ return $this->blogId;
+ }
+
+ public function setHasEditAccess($hasEditAccess)
+ {
+ $this->hasEditAccess = $hasEditAccess;
+ }
+
+ public function getHasEditAccess()
+ {
+ return $this->hasEditAccess;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setPostId($postId)
+ {
+ $this->postId = $postId;
+ }
+
+ public function getPostId()
+ {
+ return $this->postId;
+ }
+
+ public function setUserId($userId)
+ {
+ $this->userId = $userId;
+ }
+
+ public function getUserId()
+ {
+ return $this->userId;
+ }
+}
+
+class Google_Service_Blogger_PostReplies extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_Blogger_Comment';
+ protected $itemsDataType = 'array';
+ public $selfLink;
+ public $totalItems;
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+
+ public function setTotalItems($totalItems)
+ {
+ $this->totalItems = $totalItems;
+ }
+
+ public function getTotalItems()
+ {
+ return $this->totalItems;
+ }
+}
+
+class Google_Service_Blogger_PostUserInfo extends Google_Model
+{
+ public $kind;
+ protected $postType = 'Google_Service_Blogger_Post';
+ protected $postDataType = '';
+ protected $postUserInfoType = 'Google_Service_Blogger_PostPerUserInfo';
+ protected $postUserInfoDataType = '';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setPost(Google_Service_Blogger_Post $post)
+ {
+ $this->post = $post;
+ }
+
+ public function getPost()
+ {
+ return $this->post;
+ }
+
+ public function setPostUserInfo(Google_Service_Blogger_PostPerUserInfo $postUserInfo)
+ {
+ $this->postUserInfo = $postUserInfo;
+ }
+
+ public function getPostUserInfo()
+ {
+ return $this->postUserInfo;
+ }
+}
+
+class Google_Service_Blogger_PostUserInfosList extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_Blogger_PostUserInfo';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Blogger_User extends Google_Model
+{
+ public $about;
+ protected $blogsType = 'Google_Service_Blogger_UserBlogs';
+ protected $blogsDataType = '';
+ public $created;
+ public $displayName;
+ public $id;
+ public $kind;
+ protected $localeType = 'Google_Service_Blogger_UserLocale';
+ protected $localeDataType = '';
+ public $selfLink;
+ public $url;
+
+ public function setAbout($about)
+ {
+ $this->about = $about;
+ }
+
+ public function getAbout()
+ {
+ return $this->about;
+ }
+
+ public function setBlogs(Google_Service_Blogger_UserBlogs $blogs)
+ {
+ $this->blogs = $blogs;
+ }
+
+ public function getBlogs()
+ {
+ return $this->blogs;
+ }
+
+ public function setCreated($created)
+ {
+ $this->created = $created;
+ }
+
+ public function getCreated()
+ {
+ return $this->created;
+ }
+
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setLocale(Google_Service_Blogger_UserLocale $locale)
+ {
+ $this->locale = $locale;
+ }
+
+ public function getLocale()
+ {
+ return $this->locale;
+ }
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Google_Service_Blogger_UserBlogs extends Google_Model
+{
+ public $selfLink;
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Google_Service_Blogger_UserLocale extends Google_Model
+{
+ public $country;
+ public $language;
+ public $variant;
+
+ public function setCountry($country)
+ {
+ $this->country = $country;
+ }
+
+ public function getCountry()
+ {
+ return $this->country;
+ }
+
+ public function setLanguage($language)
+ {
+ $this->language = $language;
+ }
+
+ public function getLanguage()
+ {
+ return $this->language;
+ }
+
+ public function setVariant($variant)
+ {
+ $this->variant = $variant;
+ }
+
+ public function getVariant()
+ {
+ return $this->variant;
+ }
+}
From cfb1eeac62d0c738534975e18ddb1ee06dd9c499 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Tue, 15 Jul 2014 00:44:41 -0700
Subject: [PATCH 0380/1602] Added service Autoscaler.php
---
src/Google/Service/Autoscaler.php | 1069 +++++++++++++++++++++++++++++
1 file changed, 1069 insertions(+)
create mode 100644 src/Google/Service/Autoscaler.php
diff --git a/src/Google/Service/Autoscaler.php b/src/Google/Service/Autoscaler.php
new file mode 100644
index 000000000..0a7939f48
--- /dev/null
+++ b/src/Google/Service/Autoscaler.php
@@ -0,0 +1,1069 @@
+
+ * The Google Compute Engine Autoscaler API provides autoscaling for groups of Cloud VMs.
+ *
+ *
+ *
+ * For more information about this service, see the API
+ * Documentation
+ *
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_Autoscaler extends Google_Service
+{
+ /** View and manage your Google Compute Engine resources. */
+ const COMPUTE = "https://www.googleapis.com/auth/compute";
+ /** View your Google Compute Engine resources. */
+ const COMPUTE_READONLY = "https://www.googleapis.com/auth/compute.readonly";
+
+ public $autoscalers;
+ public $zoneOperations;
+
+
+ /**
+ * Constructs the internal representation of the Autoscaler service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'autoscaler/v1beta2/';
+ $this->version = 'v1beta2';
+ $this->serviceName = 'autoscaler';
+
+ $this->autoscalers = new Google_Service_Autoscaler_Autoscalers_Resource(
+ $this,
+ $this->serviceName,
+ 'autoscalers',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'projects/{project}/zones/{zone}/autoscalers/{autoscaler}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'autoscaler' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'projects/{project}/zones/{zone}/autoscalers/{autoscaler}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'autoscaler' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'projects/{project}/zones/{zone}/autoscalers',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'projects/{project}/zones/{zone}/autoscalers',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'projects/{project}/zones/{zone}/autoscalers/{autoscaler}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'autoscaler' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'projects/{project}/zones/{zone}/autoscalers/{autoscaler}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'autoscaler' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->zoneOperations = new Google_Service_Autoscaler_ZoneOperations_Resource(
+ $this,
+ $this->serviceName,
+ 'zoneOperations',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => '{project}/zones/{zone}/operations/{operation}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'operation' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{project}/zones/{zone}/operations/{operation}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'operation' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{project}/zones/{zone}/operations',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "autoscalers" collection of methods.
+ * Typical usage is:
+ *
+ * $autoscalerService = new Google_Service_Autoscaler(...);
+ * $autoscalers = $autoscalerService->autoscalers;
+ *
+ */
+class Google_Service_Autoscaler_Autoscalers_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Deletes the specified Autoscaler resource. (autoscalers.delete)
+ *
+ * @param string $project
+ * Project ID of Autoscaler resource.
+ * @param string $zone
+ * Zone name of Autoscaler resource.
+ * @param string $autoscaler
+ * Name of the Autoscaler resource.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Autoscaler_Operation
+ */
+ public function delete($project, $zone, $autoscaler, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'autoscaler' => $autoscaler);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Autoscaler_Operation");
+ }
+ /**
+ * Gets the specified Autoscaler resource. (autoscalers.get)
+ *
+ * @param string $project
+ * Project ID of Autoscaler resource.
+ * @param string $zone
+ * Zone name of Autoscaler resource.
+ * @param string $autoscaler
+ * Name of the Autoscaler resource.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Autoscaler_Autoscaler
+ */
+ public function get($project, $zone, $autoscaler, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'autoscaler' => $autoscaler);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Autoscaler_Autoscaler");
+ }
+ /**
+ * Adds new Autoscaler resource. (autoscalers.insert)
+ *
+ * @param string $project
+ * Project ID of Autoscaler resource.
+ * @param string $zone
+ * Zone name of Autoscaler resource.
+ * @param Google_Autoscaler $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Autoscaler_Operation
+ */
+ public function insert($project, $zone, Google_Service_Autoscaler_Autoscaler $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Autoscaler_Operation");
+ }
+ /**
+ * Lists all Autoscaler resources in this zone. (autoscalers.listAutoscalers)
+ *
+ * @param string $project
+ * Project ID of Autoscaler resource.
+ * @param string $zone
+ * Zone name of Autoscaler resource.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter
+ *
+ * @opt_param string pageToken
+ *
+ * @opt_param string maxResults
+ *
+ * @return Google_Service_Autoscaler_AutoscalerListResponse
+ */
+ public function listAutoscalers($project, $zone, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Autoscaler_AutoscalerListResponse");
+ }
+ /**
+ * Update the entire content of the Autoscaler resource. This method supports
+ * patch semantics. (autoscalers.patch)
+ *
+ * @param string $project
+ * Project ID of Autoscaler resource.
+ * @param string $zone
+ * Zone name of Autoscaler resource.
+ * @param string $autoscaler
+ * Name of the Autoscaler resource.
+ * @param Google_Autoscaler $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Autoscaler_Operation
+ */
+ public function patch($project, $zone, $autoscaler, Google_Service_Autoscaler_Autoscaler $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'autoscaler' => $autoscaler, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Autoscaler_Operation");
+ }
+ /**
+ * Update the entire content of the Autoscaler resource. (autoscalers.update)
+ *
+ * @param string $project
+ * Project ID of Autoscaler resource.
+ * @param string $zone
+ * Zone name of Autoscaler resource.
+ * @param string $autoscaler
+ * Name of the Autoscaler resource.
+ * @param Google_Autoscaler $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Autoscaler_Operation
+ */
+ public function update($project, $zone, $autoscaler, Google_Service_Autoscaler_Autoscaler $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'autoscaler' => $autoscaler, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Autoscaler_Operation");
+ }
+}
+
+/**
+ * The "zoneOperations" collection of methods.
+ * Typical usage is:
+ *
+ * $autoscalerService = new Google_Service_Autoscaler(...);
+ * $zoneOperations = $autoscalerService->zoneOperations;
+ *
+ */
+class Google_Service_Autoscaler_ZoneOperations_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Deletes the specified zone-specific operation resource.
+ * (zoneOperations.delete)
+ *
+ * @param string $project
+ *
+ * @param string $zone
+ *
+ * @param string $operation
+ *
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($project, $zone, $operation, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'operation' => $operation);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Retrieves the specified zone-specific operation resource.
+ * (zoneOperations.get)
+ *
+ * @param string $project
+ *
+ * @param string $zone
+ *
+ * @param string $operation
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Autoscaler_Operation
+ */
+ public function get($project, $zone, $operation, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'operation' => $operation);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Autoscaler_Operation");
+ }
+ /**
+ * Retrieves the list of operation resources contained within the specified
+ * zone. (zoneOperations.listZoneOperations)
+ *
+ * @param string $project
+ *
+ * @param string $zone
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter
+ *
+ * @opt_param string pageToken
+ *
+ * @opt_param string maxResults
+ *
+ * @return Google_Service_Autoscaler_OperationList
+ */
+ public function listZoneOperations($project, $zone, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Autoscaler_OperationList");
+ }
+}
+
+
+
+
+class Google_Service_Autoscaler_Autoscaler extends Google_Model
+{
+ protected $autoscalingPolicyType = 'Google_Service_Autoscaler_AutoscalingPolicy';
+ protected $autoscalingPolicyDataType = '';
+ public $creationTimestamp;
+ public $description;
+ public $id;
+ public $name;
+ public $selfLink;
+ public $target;
+
+ public function setAutoscalingPolicy(Google_Service_Autoscaler_AutoscalingPolicy $autoscalingPolicy)
+ {
+ $this->autoscalingPolicy = $autoscalingPolicy;
+ }
+
+ public function getAutoscalingPolicy()
+ {
+ return $this->autoscalingPolicy;
+ }
+
+ public function setCreationTimestamp($creationTimestamp)
+ {
+ $this->creationTimestamp = $creationTimestamp;
+ }
+
+ public function getCreationTimestamp()
+ {
+ return $this->creationTimestamp;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+
+ public function setTarget($target)
+ {
+ $this->target = $target;
+ }
+
+ public function getTarget()
+ {
+ return $this->target;
+ }
+}
+
+class Google_Service_Autoscaler_AutoscalerListResponse extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_Autoscaler_Autoscaler';
+ protected $itemsDataType = 'array';
+ public $nextPageToken;
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Autoscaler_AutoscalingPolicy extends Google_Model
+{
+ public $coolDownPeriodSec;
+ protected $cpuUtilizationType = 'Google_Service_Autoscaler_AutoscalingPolicyCpuUtilization';
+ protected $cpuUtilizationDataType = '';
+ public $maxNumReplicas;
+ public $minNumReplicas;
+
+ public function setCoolDownPeriodSec($coolDownPeriodSec)
+ {
+ $this->coolDownPeriodSec = $coolDownPeriodSec;
+ }
+
+ public function getCoolDownPeriodSec()
+ {
+ return $this->coolDownPeriodSec;
+ }
+
+ public function setCpuUtilization(Google_Service_Autoscaler_AutoscalingPolicyCpuUtilization $cpuUtilization)
+ {
+ $this->cpuUtilization = $cpuUtilization;
+ }
+
+ public function getCpuUtilization()
+ {
+ return $this->cpuUtilization;
+ }
+
+ public function setMaxNumReplicas($maxNumReplicas)
+ {
+ $this->maxNumReplicas = $maxNumReplicas;
+ }
+
+ public function getMaxNumReplicas()
+ {
+ return $this->maxNumReplicas;
+ }
+
+ public function setMinNumReplicas($minNumReplicas)
+ {
+ $this->minNumReplicas = $minNumReplicas;
+ }
+
+ public function getMinNumReplicas()
+ {
+ return $this->minNumReplicas;
+ }
+}
+
+class Google_Service_Autoscaler_AutoscalingPolicyCpuUtilization extends Google_Model
+{
+ public $utilizationTarget;
+
+ public function setUtilizationTarget($utilizationTarget)
+ {
+ $this->utilizationTarget = $utilizationTarget;
+ }
+
+ public function getUtilizationTarget()
+ {
+ return $this->utilizationTarget;
+ }
+}
+
+class Google_Service_Autoscaler_Operation extends Google_Collection
+{
+ public $clientOperationId;
+ public $creationTimestamp;
+ public $endTime;
+ protected $errorType = 'Google_Service_Autoscaler_OperationError';
+ protected $errorDataType = '';
+ public $httpErrorMessage;
+ public $httpErrorStatusCode;
+ public $id;
+ public $insertTime;
+ public $kind;
+ public $name;
+ public $operationType;
+ public $progress;
+ public $region;
+ public $selfLink;
+ public $startTime;
+ public $status;
+ public $statusMessage;
+ public $targetId;
+ public $targetLink;
+ public $user;
+ protected $warningsType = 'Google_Service_Autoscaler_OperationWarnings';
+ protected $warningsDataType = 'array';
+ public $zone;
+
+ public function setClientOperationId($clientOperationId)
+ {
+ $this->clientOperationId = $clientOperationId;
+ }
+
+ public function getClientOperationId()
+ {
+ return $this->clientOperationId;
+ }
+
+ public function setCreationTimestamp($creationTimestamp)
+ {
+ $this->creationTimestamp = $creationTimestamp;
+ }
+
+ public function getCreationTimestamp()
+ {
+ return $this->creationTimestamp;
+ }
+
+ public function setEndTime($endTime)
+ {
+ $this->endTime = $endTime;
+ }
+
+ public function getEndTime()
+ {
+ return $this->endTime;
+ }
+
+ public function setError(Google_Service_Autoscaler_OperationError $error)
+ {
+ $this->error = $error;
+ }
+
+ public function getError()
+ {
+ return $this->error;
+ }
+
+ public function setHttpErrorMessage($httpErrorMessage)
+ {
+ $this->httpErrorMessage = $httpErrorMessage;
+ }
+
+ public function getHttpErrorMessage()
+ {
+ return $this->httpErrorMessage;
+ }
+
+ public function setHttpErrorStatusCode($httpErrorStatusCode)
+ {
+ $this->httpErrorStatusCode = $httpErrorStatusCode;
+ }
+
+ public function getHttpErrorStatusCode()
+ {
+ return $this->httpErrorStatusCode;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setInsertTime($insertTime)
+ {
+ $this->insertTime = $insertTime;
+ }
+
+ public function getInsertTime()
+ {
+ return $this->insertTime;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setOperationType($operationType)
+ {
+ $this->operationType = $operationType;
+ }
+
+ public function getOperationType()
+ {
+ return $this->operationType;
+ }
+
+ public function setProgress($progress)
+ {
+ $this->progress = $progress;
+ }
+
+ public function getProgress()
+ {
+ return $this->progress;
+ }
+
+ public function setRegion($region)
+ {
+ $this->region = $region;
+ }
+
+ public function getRegion()
+ {
+ return $this->region;
+ }
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+
+ public function setStartTime($startTime)
+ {
+ $this->startTime = $startTime;
+ }
+
+ public function getStartTime()
+ {
+ return $this->startTime;
+ }
+
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+
+ public function getStatus()
+ {
+ return $this->status;
+ }
+
+ public function setStatusMessage($statusMessage)
+ {
+ $this->statusMessage = $statusMessage;
+ }
+
+ public function getStatusMessage()
+ {
+ return $this->statusMessage;
+ }
+
+ public function setTargetId($targetId)
+ {
+ $this->targetId = $targetId;
+ }
+
+ public function getTargetId()
+ {
+ return $this->targetId;
+ }
+
+ public function setTargetLink($targetLink)
+ {
+ $this->targetLink = $targetLink;
+ }
+
+ public function getTargetLink()
+ {
+ return $this->targetLink;
+ }
+
+ public function setUser($user)
+ {
+ $this->user = $user;
+ }
+
+ public function getUser()
+ {
+ return $this->user;
+ }
+
+ public function setWarnings($warnings)
+ {
+ $this->warnings = $warnings;
+ }
+
+ public function getWarnings()
+ {
+ return $this->warnings;
+ }
+
+ public function setZone($zone)
+ {
+ $this->zone = $zone;
+ }
+
+ public function getZone()
+ {
+ return $this->zone;
+ }
+}
+
+class Google_Service_Autoscaler_OperationError extends Google_Collection
+{
+ protected $errorsType = 'Google_Service_Autoscaler_OperationErrorErrors';
+ protected $errorsDataType = 'array';
+
+ public function setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+}
+
+class Google_Service_Autoscaler_OperationErrorErrors extends Google_Model
+{
+ public $code;
+ public $location;
+ public $message;
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+
+ public function getCode()
+ {
+ return $this->code;
+ }
+
+ public function setLocation($location)
+ {
+ $this->location = $location;
+ }
+
+ public function getLocation()
+ {
+ return $this->location;
+ }
+
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Google_Service_Autoscaler_OperationList extends Google_Collection
+{
+ public $id;
+ protected $itemsType = 'Google_Service_Autoscaler_Operation';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Google_Service_Autoscaler_OperationWarnings extends Google_Collection
+{
+ public $code;
+ protected $dataType = 'Google_Service_Autoscaler_OperationWarningsData';
+ protected $dataDataType = 'array';
+ public $message;
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+
+ public function getCode()
+ {
+ return $this->code;
+ }
+
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+
+ public function getData()
+ {
+ return $this->data;
+ }
+
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Google_Service_Autoscaler_OperationWarningsData extends Google_Model
+{
+ public $key;
+ public $value;
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+
+ public function getKey()
+ {
+ return $this->key;
+ }
+
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
From f5caa08f4069354b67cc4a96dc12795b6ddc9ffb Mon Sep 17 00:00:00 2001
From: Volkan Altan
Date: Tue, 15 Jul 2014 16:03:04 +0300
Subject: [PATCH 0381/1602] added comment
---
examples/service-account.php | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/examples/service-account.php b/examples/service-account.php
index 66c79b13b..f9889842c 100644
--- a/examples/service-account.php
+++ b/examples/service-account.php
@@ -38,9 +38,9 @@
Make sure the Books API is enabled on this
account as well, or the call will fail.
************************************************/
-$client_id = '';
-$service_account_name = '';
-$key_file_location = '';
+$client_id = ''; //Client ID
+$service_account_name = ''; //Email Address
+$key_file_location = ''; //key.p12
echo pageHeader("Service Account Access");
if ($client_id == ''
From 1071e93fd199e80d98148e75b048e9ab107da8ca Mon Sep 17 00:00:00 2001
From: Tama Pugsley
Date: Wed, 16 Jul 2014 14:05:24 +1200
Subject: [PATCH 0382/1602] Adding 'login_hint' parameter to OAuth2 connections
---
src/Google/Auth/OAuth2.php | 5 +++++
src/Google/Client.php | 11 ++++++++++-
src/Google/Config.php | 10 ++++++++++
tests/general/ApiOAuth2Test.php | 24 +++++++++++++++++++-----
4 files changed, 44 insertions(+), 6 deletions(-)
diff --git a/src/Google/Auth/OAuth2.php b/src/Google/Auth/OAuth2.php
index 14fdf0ba6..e5b603131 100644
--- a/src/Google/Auth/OAuth2.php
+++ b/src/Google/Auth/OAuth2.php
@@ -149,6 +149,11 @@ public function createAuthUrl($scope)
'approval_prompt' => $this->client->getClassConfig($this, 'approval_prompt'),
);
+ $login_hint = $this->client->getClassConfig($this, 'login_hint');
+ if ($login_hint != '') {
+ $params['login_hint'] = $login_hint;
+ }
+
// If the list of scopes contains plus.login, add request_visible_actions
// to auth URL.
$rva = $this->client->getClassConfig($this, 'request_visible_actions');
diff --git a/src/Google/Client.php b/src/Google/Client.php
index d68c25415..18197b35f 100644
--- a/src/Google/Client.php
+++ b/src/Google/Client.php
@@ -100,7 +100,7 @@ function_exists('date_default_timezone_set')) {
$config->setClassConfig('Google_Http_Request', 'disable_gzip', true);
}
}
-
+
if ($config->getIoClass() == Google_Config::USE_AUTO_IO_SELECTION) {
if (function_exists('curl_version') && function_exists('curl_exec')) {
$config->setIoClass("Google_IO_Curl");
@@ -292,6 +292,15 @@ public function setApprovalPrompt($approvalPrompt)
$this->config->setApprovalPrompt($approvalPrompt);
}
+ /**
+ * Set the login hint, email address or sub id.
+ * @param string $loginHint
+ */
+ public function setLoginHint($loginHint)
+ {
+ $this->config->setLoginHint($loginHint);
+ }
+
/**
* Set the application name, this is included in the User-Agent HTTP header.
* @param string $applicationName
diff --git a/src/Google/Config.php b/src/Google/Config.php
index 8f1aaf4ea..c45e2de86 100644
--- a/src/Google/Config.php
+++ b/src/Google/Config.php
@@ -80,6 +80,7 @@ public function __construct($ini_file_location = null)
// Other parameters.
'access_type' => 'online',
'approval_prompt' => 'auto',
+ 'login_hint' => '',
'request_visible_actions' => '',
'federated_signon_certs_url' =>
'https://www.googleapis.com/oauth2/v1/certs',
@@ -282,6 +283,15 @@ public function setApprovalPrompt($approval)
$this->setAuthConfig('approval_prompt', $approval);
}
+ /**
+ * Set the login hint (email address or sub identifier)
+ * @param $hint string
+ */
+ public function setLoginHint($hint)
+ {
+ $this->setAuthConfig('login_hint', $hint);
+ }
+
/**
* Set the developer key for the auth class. Note that this is separate value
* from the client ID - if it looks like a URL, its a client ID!
diff --git a/tests/general/ApiOAuth2Test.php b/tests/general/ApiOAuth2Test.php
index 76d580096..d76b36a92 100644
--- a/tests/general/ApiOAuth2Test.php
+++ b/tests/general/ApiOAuth2Test.php
@@ -24,7 +24,7 @@
class ApiOAuth2Test extends BaseTest {
- public function testSign()
+ public function testSign()
{
$client = $this->getClient();
$oauth = new Google_Auth_OAuth2($client);
@@ -54,7 +54,7 @@ public function testSign()
$this->assertEquals('Bearer ACCESS_TOKEN', $auth);
}
- public function testRevokeAccess()
+ public function testRevokeAccess()
{
$accessToken = "ACCESS_TOKEN";
$refreshToken = "REFRESH_TOKEN";
@@ -103,7 +103,7 @@ public function testRevokeAccess()
$this->assertEquals($accessToken2, $token);
}
- public function testCreateAuthUrl()
+ public function testCreateAuthUrl()
{
$client = $this->getClient();
$oauth = new Google_Auth_OAuth2($client);
@@ -115,7 +115,21 @@ public function testCreateAuthUrl()
$client->setAccessType('offline');
$client->setApprovalPrompt('force');
$client->setRequestVisibleActions(array('http://foo/'));
+ $client->setLoginHint("bob@example.org");
+ $authUrl = $oauth->createAuthUrl("http://googleapis.com/scope/foo");
+ $expected = "https://accounts.google.com/o/oauth2/auth"
+ . "?response_type=code"
+ . "&redirect_uri=http%3A%2F%2Flocalhost"
+ . "&client_id=clientId1"
+ . "&scope=http%3A%2F%2Fgoogleapis.com%2Fscope%2Ffoo"
+ . "&access_type=offline"
+ . "&approval_prompt=force"
+ . "&login_hint=bob%40example.org";
+ $this->assertEquals($expected, $authUrl);
+
+ // Again with a blank login hint (should remove all traces from authUrl)
+ $client->setLoginHint("");
$authUrl = $oauth->createAuthUrl("http://googleapis.com/scope/foo");
$expected = "https://accounts.google.com/o/oauth2/auth"
. "?response_type=code"
@@ -128,11 +142,11 @@ public function testCreateAuthUrl()
}
/**
- * Most of the logic for ID token validation is in AuthTest -
+ * Most of the logic for ID token validation is in AuthTest -
* this is just a general check to ensure we verify a valid
* id token if one exists.
*/
- public function testValidateIdToken()
+ public function testValidateIdToken()
{
if (!$this->checkToken()) {
return;
From 6d21b62f8853286b930efbaf9fe5c7c18bc847ed Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Wed, 16 Jul 2014 00:45:48 -0700
Subject: [PATCH 0383/1602] Updated MapsEngine.php
---
src/Google/Service/MapsEngine.php | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/src/Google/Service/MapsEngine.php b/src/Google/Service/MapsEngine.php
index b6e952515..e8eb4a781 100644
--- a/src/Google/Service/MapsEngine.php
+++ b/src/Google/Service/MapsEngine.php
@@ -3326,6 +3326,7 @@ class Google_Service_MapsEngine_Map extends Google_Collection
public $id;
public $lastModifiedTime;
public $name;
+ public $processingStatus;
public $projectId;
public $publishedAccessList;
public $tags;
@@ -3431,6 +3432,16 @@ public function getName()
return $this->name;
}
+ public function setProcessingStatus($processingStatus)
+ {
+ $this->processingStatus = $processingStatus;
+ }
+
+ public function getProcessingStatus()
+ {
+ return $this->processingStatus;
+ }
+
public function setProjectId($projectId)
{
$this->projectId = $projectId;
From 50891556492df903c1da25005e751822670bb1b3 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Wed, 16 Jul 2014 00:45:48 -0700
Subject: [PATCH 0384/1602] Updated Games.php
---
src/Google/Service/Games.php | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/src/Google/Service/Games.php b/src/Google/Service/Games.php
index 3bde2d0d2..2f94fdad9 100644
--- a/src/Google/Service/Games.php
+++ b/src/Google/Service/Games.php
@@ -1266,8 +1266,8 @@ class Google_Service_Games_Events_Resource extends Google_Service_Resource
{
/**
- * Returns a list of the current progress on events in this application for the
- * currently authorized user. (events.listByPlayer)
+ * Returns a list showing the current progress on events in this application for
+ * the currently authenticated user. (events.listByPlayer)
*
* @param array $optParams Optional parameters.
*
@@ -1309,8 +1309,8 @@ public function listDefinitions($optParams = array())
return $this->call('listDefinitions', array($params), "Google_Service_Games_EventDefinitionListResponse");
}
/**
- * Records a batch of event updates for the currently authorized user of this
- * application. (events.record)
+ * Records a batch of changes to the number of times events have occurred for
+ * the currently authenticated user of this application. (events.record)
*
* @param Google_EventRecordRequest $postBody
* @param array $optParams Optional parameters.
@@ -1537,17 +1537,17 @@ class Google_Service_Games_QuestMilestones_Resource extends Google_Service_Resou
{
/**
- * Report that reward for the milestone corresponding to milestoneId for the
+ * Report that a reward for the milestone corresponding to milestoneId for the
* quest corresponding to questId has been claimed by the currently authorized
* user. (questMilestones.claim)
*
* @param string $questId
* The ID of the quest.
* @param string $milestoneId
- * The ID of the Milestone.
+ * The ID of the milestone.
* @param string $requestId
- * A randomly generated numeric ID for each request specified by the caller. This number is used at
- * the server to ensure that the request is handled correctly across retries.
+ * A numeric ID to ensure that the request is handled correctly across retries. Your client
+ * application must generate this ID randomly.
* @param array $optParams Optional parameters.
*/
public function claim($questId, $milestoneId, $requestId, $optParams = array())
From cbfc437b7322be21fec5dad595873a7fe06b7e54 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 17 Jul 2014 00:46:50 -0700
Subject: [PATCH 0385/1602] Updated Genomics.php
---
src/Google/Service/Genomics.php | 136 ++++++++++++++++++++++++++++++++
1 file changed, 136 insertions(+)
diff --git a/src/Google/Service/Genomics.php b/src/Google/Service/Genomics.php
index 8389da320..f73267eec 100644
--- a/src/Google/Service/Genomics.php
+++ b/src/Google/Service/Genomics.php
@@ -253,6 +253,10 @@ public function __construct(Google_Client $client)
'required' => true,
),
),
+ ),'search' => array(
+ 'path' => 'jobs/search',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
),
)
)
@@ -726,6 +730,19 @@ public function get($jobId, $optParams = array())
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_Genomics_Job");
}
+ /**
+ * Searches jobs within a project. (jobs.search)
+ *
+ * @param Google_SearchJobsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_SearchJobsResponse
+ */
+ public function search(Google_Service_Genomics_SearchJobsRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('search', array($params), "Google_Service_Genomics_SearchJobsResponse");
+ }
}
/**
@@ -1270,6 +1287,7 @@ class Google_Service_Genomics_ExperimentalCreateJobRequest extends Google_Collec
public $align;
public $callVariants;
public $gcsOutputPath;
+ public $pairedSourceUris;
public $projectId;
public $sourceUris;
@@ -1303,6 +1321,16 @@ public function getGcsOutputPath()
return $this->gcsOutputPath;
}
+ public function setPairedSourceUris($pairedSourceUris)
+ {
+ $this->pairedSourceUris = $pairedSourceUris;
+ }
+
+ public function getPairedSourceUris()
+ {
+ return $this->pairedSourceUris;
+ }
+
public function setProjectId($projectId)
{
$this->projectId = $projectId;
@@ -1676,6 +1704,7 @@ public function getJobId()
class Google_Service_Genomics_Job extends Google_Collection
{
+ public $created;
public $description;
public $errors;
public $id;
@@ -1684,6 +1713,16 @@ class Google_Service_Genomics_Job extends Google_Collection
public $status;
public $warnings;
+ public function setCreated($created)
+ {
+ $this->created = $created;
+ }
+
+ public function getCreated()
+ {
+ return $this->created;
+ }
+
public function setDescription($description)
{
$this->description = $description;
@@ -2362,6 +2401,103 @@ public function getNextPageToken()
}
}
+class Google_Service_Genomics_SearchJobsRequest extends Google_Collection
+{
+ public $createdAfter;
+ public $createdBefore;
+ public $maxResults;
+ public $pageToken;
+ public $projectId;
+ public $status;
+
+ public function setCreatedAfter($createdAfter)
+ {
+ $this->createdAfter = $createdAfter;
+ }
+
+ public function getCreatedAfter()
+ {
+ return $this->createdAfter;
+ }
+
+ public function setCreatedBefore($createdBefore)
+ {
+ $this->createdBefore = $createdBefore;
+ }
+
+ public function getCreatedBefore()
+ {
+ return $this->createdBefore;
+ }
+
+ public function setMaxResults($maxResults)
+ {
+ $this->maxResults = $maxResults;
+ }
+
+ public function getMaxResults()
+ {
+ return $this->maxResults;
+ }
+
+ public function setPageToken($pageToken)
+ {
+ $this->pageToken = $pageToken;
+ }
+
+ public function getPageToken()
+ {
+ return $this->pageToken;
+ }
+
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+
+ public function getStatus()
+ {
+ return $this->status;
+ }
+}
+
+class Google_Service_Genomics_SearchJobsResponse extends Google_Collection
+{
+ protected $jobsType = 'Google_Service_Genomics_Job';
+ protected $jobsDataType = 'array';
+ public $nextPageToken;
+
+ public function setJobs($jobs)
+ {
+ $this->jobs = $jobs;
+ }
+
+ public function getJobs()
+ {
+ return $this->jobs;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
class Google_Service_Genomics_SearchReadsRequest extends Google_Collection
{
public $maxResults;
From dc7af30057cc3263fa86fd890123bda444d324d3 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 17 Jul 2014 00:46:51 -0700
Subject: [PATCH 0386/1602] Updated Drive.php
---
src/Google/Service/Drive.php | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/Google/Service/Drive.php b/src/Google/Service/Drive.php
index 3203fe686..aaa94c035 100644
--- a/src/Google/Service/Drive.php
+++ b/src/Google/Service/Drive.php
@@ -528,6 +528,10 @@ public function __construct(Google_Client $client)
'location' => 'query',
'type' => 'string',
),
+ 'corpus' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
'projection' => array(
'location' => 'query',
'type' => 'string',
@@ -1762,6 +1766,8 @@ public function insert(Google_Service_Drive_DriveFile $postBody, $optParams = ar
* Query string for searching files.
* @opt_param string pageToken
* Page token for files.
+ * @opt_param string corpus
+ * The body of items (files/documents) to which the query applies.
* @opt_param string projection
* This parameter is deprecated and has no function.
* @opt_param int maxResults
From 14d379397e9e9d0364dbd47bdd308c0850a57d2a Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 17 Jul 2014 00:46:51 -0700
Subject: [PATCH 0387/1602] Updated Directory.php
---
src/Google/Service/Directory.php | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/src/Google/Service/Directory.php b/src/Google/Service/Directory.php
index 6ab36e614..7c50ce451 100644
--- a/src/Google/Service/Directory.php
+++ b/src/Google/Service/Directory.php
@@ -2703,6 +2703,7 @@ class Google_Service_Directory_ChromeOsDevice extends Google_Collection
public $bootMode;
public $deviceId;
public $etag;
+ public $ethernetMacAddress;
public $firmwareVersion;
public $kind;
public $lastEnrollmentTime;
@@ -2772,6 +2773,16 @@ public function getEtag()
return $this->etag;
}
+ public function setEthernetMacAddress($ethernetMacAddress)
+ {
+ $this->ethernetMacAddress = $ethernetMacAddress;
+ }
+
+ public function getEthernetMacAddress()
+ {
+ return $this->ethernetMacAddress;
+ }
+
public function setFirmwareVersion($firmwareVersion)
{
$this->firmwareVersion = $firmwareVersion;
From 1deb4ebf35cbe5b5960d1e4fda506c87533db3a4 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 18 Jul 2014 03:47:47 -0400
Subject: [PATCH 0388/1602] Added service Cloudmonitoring.php
---
src/Google/Service/Cloudmonitoring.php | 971 +++++++++++++++++++++++++
1 file changed, 971 insertions(+)
create mode 100644 src/Google/Service/Cloudmonitoring.php
diff --git a/src/Google/Service/Cloudmonitoring.php b/src/Google/Service/Cloudmonitoring.php
new file mode 100644
index 000000000..850e6b5b1
--- /dev/null
+++ b/src/Google/Service/Cloudmonitoring.php
@@ -0,0 +1,971 @@
+
+ * API for accessing Google Cloud and API monitoring data.
+ *
+ *
+ *
+ * For more information about this service, see the API
+ * Documentation
+ *
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_Cloudmonitoring extends Google_Service
+{
+ /** View monitoring data for all of your Google Cloud and API projects. */
+ const MONITORING_READONLY = "https://www.googleapis.com/auth/monitoring.readonly";
+
+ public $metricDescriptors;
+ public $timeseries;
+ public $timeseriesDescriptors;
+
+
+ /**
+ * Constructs the internal representation of the Cloudmonitoring service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'cloudmonitoring/v2beta1/projects/';
+ $this->version = 'v2beta1';
+ $this->serviceName = 'cloudmonitoring';
+
+ $this->metricDescriptors = new Google_Service_Cloudmonitoring_MetricDescriptors_Resource(
+ $this,
+ $this->serviceName,
+ 'metricDescriptors',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => '{project}/metricDescriptors',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'count' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'query' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->timeseries = new Google_Service_Cloudmonitoring_Timeseries_Resource(
+ $this,
+ $this->serviceName,
+ 'timeseries',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => '{project}/timeseries/{metric}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'metric' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'youngest' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'count' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'timespan' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'labels' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'oldest' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->timeseriesDescriptors = new Google_Service_Cloudmonitoring_TimeseriesDescriptors_Resource(
+ $this,
+ $this->serviceName,
+ 'timeseriesDescriptors',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => '{project}/timeseriesDescriptors/{metric}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'metric' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'youngest' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'count' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'timespan' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'labels' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'oldest' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "metricDescriptors" collection of methods.
+ * Typical usage is:
+ *
+ * $cloudmonitoringService = new Google_Service_Cloudmonitoring(...);
+ * $metricDescriptors = $cloudmonitoringService->metricDescriptors;
+ *
+ */
+class Google_Service_Cloudmonitoring_MetricDescriptors_Resource extends Google_Service_Resource
+{
+
+ /**
+ * List metric descriptors that match the query. If the query is not set, then
+ * all of the metric descriptors will be returned. Large responses will be
+ * paginated, use the nextPageToken returned in the response to request
+ * subsequent pages of results by setting the pageToken query parameter to the
+ * value of the nextPageToken. (metricDescriptors.listMetricDescriptors)
+ *
+ * @param string $project
+ * The project id. The value can be the numeric project ID or string-based project name.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int count
+ * Maximum number of metric descriptors per page. Used for pagination. If not specified, count =
+ * 100.
+ * @opt_param string pageToken
+ * The pagination token, which is used to page through large result sets. Set this value to the
+ * value of the nextPageToken to retrieve the next page of results.
+ * @opt_param string query
+ * The query used to search against existing metrics. Separate keywords with a space; the service
+ * joins all keywords with AND, meaning that all keywords must match for a metric to be returned.
+ * If this field is omitted, all metrics are returned. If an empty string is passed with this
+ * field, no metrics are returned.
+ * @return Google_Service_Cloudmonitoring_ListMetricDescriptorsResponse
+ */
+ public function listMetricDescriptors($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Cloudmonitoring_ListMetricDescriptorsResponse");
+ }
+}
+
+/**
+ * The "timeseries" collection of methods.
+ * Typical usage is:
+ *
+ * $cloudmonitoringService = new Google_Service_Cloudmonitoring(...);
+ * $timeseries = $cloudmonitoringService->timeseries;
+ *
+ */
+class Google_Service_Cloudmonitoring_Timeseries_Resource extends Google_Service_Resource
+{
+
+ /**
+ * List the data points of the time series that match the metric and labels
+ * values and that have data points in the interval. Large responses are
+ * paginated; use the nextPageToken returned in the response to request
+ * subsequent pages of results by setting the pageToken query parameter to the
+ * value of the nextPageToken. (timeseries.listTimeseries)
+ *
+ * @param string $project
+ * The project ID to which this time series belongs. The value can be the numeric project ID or
+ * string-based project name.
+ * @param string $metric
+ * Metric names are protocol-free URLs as listed in the Supported Metrics page. For example,
+ * appengine.googleapis.com/http/server/response_count or
+ * compute.googleapis.com/instance/disk/read_ops_count.
+ * @param string $youngest
+ * End of the time interval (inclusive), which is expressed as an RFC 3339 timestamp.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int count
+ * Maximum number of data points per page, which is used for pagination of results.
+ * @opt_param string timespan
+ * Length of the time interval to query, which is an alternative way to declare the interval:
+ * (youngest - timespan, youngest]. The timespan and oldest parameters should not be used together.
+ * Units:
+ - s: second
+ - m: minute
+ - h: hour
+ - d: day
+ - w: week Examples: 2s, 3m, 4w. Only
+ * one unit is allowed, for example: 2w3d is not allowed; you should use 17d instead.
+ If neither
+ * oldest nor timespan is specified, the default time interval will be (youngest - 4 hours,
+ * youngest].
+ * @opt_param string labels
+ * A collection of labels for the matching time series, which are represented as:
+ - key==value:
+ * key equals the value
+ - key=~value: key regex matches the value
+ - key!=value: key does not
+ * equal the value
+ - key!~value: key regex does not match the value For example, to list all of
+ * the time series descriptors for the region us-central1, you could specify:
+ * label=cloud.googleapis.com%2Flocation=~us-central1.*
+ * @opt_param string pageToken
+ * The pagination token, which is used to page through large result sets. Set this value to the
+ * value of the nextPageToken to retrieve the next page of results.
+ * @opt_param string oldest
+ * Start of the time interval (exclusive), which is expressed as an RFC 3339 timestamp. If neither
+ * oldest nor timespan is specified, the default time interval will be (youngest - 4 hours,
+ * youngest]
+ * @return Google_Service_Cloudmonitoring_ListTimeseriesResponse
+ */
+ public function listTimeseries($project, $metric, $youngest, $optParams = array())
+ {
+ $params = array('project' => $project, 'metric' => $metric, 'youngest' => $youngest);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Cloudmonitoring_ListTimeseriesResponse");
+ }
+}
+
+/**
+ * The "timeseriesDescriptors" collection of methods.
+ * Typical usage is:
+ *
+ * $cloudmonitoringService = new Google_Service_Cloudmonitoring(...);
+ * $timeseriesDescriptors = $cloudmonitoringService->timeseriesDescriptors;
+ *
+ */
+class Google_Service_Cloudmonitoring_TimeseriesDescriptors_Resource extends Google_Service_Resource
+{
+
+ /**
+ * List the descriptors of the time series that match the metric and labels
+ * values and that have data points in the interval. Large responses are
+ * paginated; use the nextPageToken returned in the response to request
+ * subsequent pages of results by setting the pageToken query parameter to the
+ * value of the nextPageToken. (timeseriesDescriptors.listTimeseriesDescriptors)
+ *
+ * @param string $project
+ * The project ID to which this time series belongs. The value can be the numeric project ID or
+ * string-based project name.
+ * @param string $metric
+ * Metric names are protocol-free URLs as listed in the Supported Metrics page. For example,
+ * appengine.googleapis.com/http/server/response_count or
+ * compute.googleapis.com/instance/disk/read_ops_count.
+ * @param string $youngest
+ * End of the time interval (inclusive), which is expressed as an RFC 3339 timestamp.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int count
+ * Maximum number of time series descriptors per page. Used for pagination. If not specified, count
+ * = 100.
+ * @opt_param string timespan
+ * Length of the time interval to query, which is an alternative way to declare the interval:
+ * (youngest - timespan, youngest]. The timespan and oldest parameters should not be used together.
+ * Units:
+ - s: second
+ - m: minute
+ - h: hour
+ - d: day
+ - w: week Examples: 2s, 3m, 4w. Only
+ * one unit is allowed, for example: 2w3d is not allowed; you should use 17d instead.
+ If neither
+ * oldest nor timespan is specified, the default time interval will be (youngest - 4 hours,
+ * youngest].
+ * @opt_param string labels
+ * A collection of labels for the matching time series, which are represented as:
+ - key==value:
+ * key equals the value
+ - key=~value: key regex matches the value
+ - key!=value: key does not
+ * equal the value
+ - key!~value: key regex does not match the value For example, to list all of
+ * the time series descriptors for the region us-central1, you could specify:
+ * label=cloud.googleapis.com%2Flocation=~us-central1.*
+ * @opt_param string pageToken
+ * The pagination token, which is used to page through large result sets. Set this value to the
+ * value of the nextPageToken to retrieve the next page of results.
+ * @opt_param string oldest
+ * Start of the time interval (exclusive), which is expressed as an RFC 3339 timestamp. If neither
+ * oldest nor timespan is specified, the default time interval will be (youngest - 4 hours,
+ * youngest]
+ * @return Google_Service_Cloudmonitoring_ListTimeseriesDescriptorsResponse
+ */
+ public function listTimeseriesDescriptors($project, $metric, $youngest, $optParams = array())
+ {
+ $params = array('project' => $project, 'metric' => $metric, 'youngest' => $youngest);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Cloudmonitoring_ListTimeseriesDescriptorsResponse");
+ }
+}
+
+
+
+
+class Google_Service_Cloudmonitoring_ListMetricDescriptorsRequest extends Google_Model
+{
+ public $kind;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Cloudmonitoring_ListMetricDescriptorsResponse extends Google_Collection
+{
+ public $kind;
+ protected $metricsType = 'Google_Service_Cloudmonitoring_MetricDescriptor';
+ protected $metricsDataType = 'array';
+ public $nextPageToken;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setMetrics($metrics)
+ {
+ $this->metrics = $metrics;
+ }
+
+ public function getMetrics()
+ {
+ return $this->metrics;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Cloudmonitoring_ListTimeseriesDescriptorsRequest extends Google_Model
+{
+ public $kind;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Cloudmonitoring_ListTimeseriesDescriptorsResponse extends Google_Collection
+{
+ public $kind;
+ public $nextPageToken;
+ public $oldest;
+ protected $timeseriesType = 'Google_Service_Cloudmonitoring_TimeseriesDescriptor';
+ protected $timeseriesDataType = 'array';
+ public $youngest;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setOldest($oldest)
+ {
+ $this->oldest = $oldest;
+ }
+
+ public function getOldest()
+ {
+ return $this->oldest;
+ }
+
+ public function setTimeseries($timeseries)
+ {
+ $this->timeseries = $timeseries;
+ }
+
+ public function getTimeseries()
+ {
+ return $this->timeseries;
+ }
+
+ public function setYoungest($youngest)
+ {
+ $this->youngest = $youngest;
+ }
+
+ public function getYoungest()
+ {
+ return $this->youngest;
+ }
+}
+
+class Google_Service_Cloudmonitoring_ListTimeseriesRequest extends Google_Model
+{
+ public $kind;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Cloudmonitoring_ListTimeseriesResponse extends Google_Collection
+{
+ public $kind;
+ public $nextPageToken;
+ public $oldest;
+ protected $timeseriesType = 'Google_Service_Cloudmonitoring_Timeseries';
+ protected $timeseriesDataType = 'array';
+ public $youngest;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setOldest($oldest)
+ {
+ $this->oldest = $oldest;
+ }
+
+ public function getOldest()
+ {
+ return $this->oldest;
+ }
+
+ public function setTimeseries($timeseries)
+ {
+ $this->timeseries = $timeseries;
+ }
+
+ public function getTimeseries()
+ {
+ return $this->timeseries;
+ }
+
+ public function setYoungest($youngest)
+ {
+ $this->youngest = $youngest;
+ }
+
+ public function getYoungest()
+ {
+ return $this->youngest;
+ }
+}
+
+class Google_Service_Cloudmonitoring_MetricDescriptor extends Google_Collection
+{
+ public $description;
+ protected $labelsType = 'Google_Service_Cloudmonitoring_MetricDescriptorLabelDescriptor';
+ protected $labelsDataType = 'array';
+ public $name;
+ public $project;
+ protected $typeDescriptorType = 'Google_Service_Cloudmonitoring_MetricDescriptorTypeDescriptor';
+ protected $typeDescriptorDataType = '';
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setLabels($labels)
+ {
+ $this->labels = $labels;
+ }
+
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setProject($project)
+ {
+ $this->project = $project;
+ }
+
+ public function getProject()
+ {
+ return $this->project;
+ }
+
+ public function setTypeDescriptor(Google_Service_Cloudmonitoring_MetricDescriptorTypeDescriptor $typeDescriptor)
+ {
+ $this->typeDescriptor = $typeDescriptor;
+ }
+
+ public function getTypeDescriptor()
+ {
+ return $this->typeDescriptor;
+ }
+}
+
+class Google_Service_Cloudmonitoring_MetricDescriptorLabelDescriptor extends Google_Model
+{
+ public $description;
+ public $key;
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+
+ public function getKey()
+ {
+ return $this->key;
+ }
+}
+
+class Google_Service_Cloudmonitoring_MetricDescriptorTypeDescriptor extends Google_Model
+{
+ public $metricType;
+ public $valueType;
+
+ public function setMetricType($metricType)
+ {
+ $this->metricType = $metricType;
+ }
+
+ public function getMetricType()
+ {
+ return $this->metricType;
+ }
+
+ public function setValueType($valueType)
+ {
+ $this->valueType = $valueType;
+ }
+
+ public function getValueType()
+ {
+ return $this->valueType;
+ }
+}
+
+class Google_Service_Cloudmonitoring_Point extends Google_Model
+{
+ public $boolValue;
+ protected $distributionValueType = 'Google_Service_Cloudmonitoring_PointDistribution';
+ protected $distributionValueDataType = '';
+ public $doubleValue;
+ public $end;
+ public $int64Value;
+ public $start;
+ public $stringValue;
+
+ public function setBoolValue($boolValue)
+ {
+ $this->boolValue = $boolValue;
+ }
+
+ public function getBoolValue()
+ {
+ return $this->boolValue;
+ }
+
+ public function setDistributionValue(Google_Service_Cloudmonitoring_PointDistribution $distributionValue)
+ {
+ $this->distributionValue = $distributionValue;
+ }
+
+ public function getDistributionValue()
+ {
+ return $this->distributionValue;
+ }
+
+ public function setDoubleValue($doubleValue)
+ {
+ $this->doubleValue = $doubleValue;
+ }
+
+ public function getDoubleValue()
+ {
+ return $this->doubleValue;
+ }
+
+ public function setEnd($end)
+ {
+ $this->end = $end;
+ }
+
+ public function getEnd()
+ {
+ return $this->end;
+ }
+
+ public function setInt64Value($int64Value)
+ {
+ $this->int64Value = $int64Value;
+ }
+
+ public function getInt64Value()
+ {
+ return $this->int64Value;
+ }
+
+ public function setStart($start)
+ {
+ $this->start = $start;
+ }
+
+ public function getStart()
+ {
+ return $this->start;
+ }
+
+ public function setStringValue($stringValue)
+ {
+ $this->stringValue = $stringValue;
+ }
+
+ public function getStringValue()
+ {
+ return $this->stringValue;
+ }
+}
+
+class Google_Service_Cloudmonitoring_PointDistribution extends Google_Collection
+{
+ protected $bucketsType = 'Google_Service_Cloudmonitoring_PointDistributionBucket';
+ protected $bucketsDataType = 'array';
+ protected $overflowBucketType = 'Google_Service_Cloudmonitoring_PointDistributionOverflowBucket';
+ protected $overflowBucketDataType = '';
+ protected $underflowBucketType = 'Google_Service_Cloudmonitoring_PointDistributionUnderflowBucket';
+ protected $underflowBucketDataType = '';
+
+ public function setBuckets($buckets)
+ {
+ $this->buckets = $buckets;
+ }
+
+ public function getBuckets()
+ {
+ return $this->buckets;
+ }
+
+ public function setOverflowBucket(Google_Service_Cloudmonitoring_PointDistributionOverflowBucket $overflowBucket)
+ {
+ $this->overflowBucket = $overflowBucket;
+ }
+
+ public function getOverflowBucket()
+ {
+ return $this->overflowBucket;
+ }
+
+ public function setUnderflowBucket(Google_Service_Cloudmonitoring_PointDistributionUnderflowBucket $underflowBucket)
+ {
+ $this->underflowBucket = $underflowBucket;
+ }
+
+ public function getUnderflowBucket()
+ {
+ return $this->underflowBucket;
+ }
+}
+
+class Google_Service_Cloudmonitoring_PointDistributionBucket extends Google_Model
+{
+ public $count;
+ public $lowerBound;
+ public $upperBound;
+
+ public function setCount($count)
+ {
+ $this->count = $count;
+ }
+
+ public function getCount()
+ {
+ return $this->count;
+ }
+
+ public function setLowerBound($lowerBound)
+ {
+ $this->lowerBound = $lowerBound;
+ }
+
+ public function getLowerBound()
+ {
+ return $this->lowerBound;
+ }
+
+ public function setUpperBound($upperBound)
+ {
+ $this->upperBound = $upperBound;
+ }
+
+ public function getUpperBound()
+ {
+ return $this->upperBound;
+ }
+}
+
+class Google_Service_Cloudmonitoring_PointDistributionOverflowBucket extends Google_Model
+{
+ public $count;
+ public $lowerBound;
+
+ public function setCount($count)
+ {
+ $this->count = $count;
+ }
+
+ public function getCount()
+ {
+ return $this->count;
+ }
+
+ public function setLowerBound($lowerBound)
+ {
+ $this->lowerBound = $lowerBound;
+ }
+
+ public function getLowerBound()
+ {
+ return $this->lowerBound;
+ }
+}
+
+class Google_Service_Cloudmonitoring_PointDistributionUnderflowBucket extends Google_Model
+{
+ public $count;
+ public $upperBound;
+
+ public function setCount($count)
+ {
+ $this->count = $count;
+ }
+
+ public function getCount()
+ {
+ return $this->count;
+ }
+
+ public function setUpperBound($upperBound)
+ {
+ $this->upperBound = $upperBound;
+ }
+
+ public function getUpperBound()
+ {
+ return $this->upperBound;
+ }
+}
+
+class Google_Service_Cloudmonitoring_Timeseries extends Google_Collection
+{
+ protected $pointsType = 'Google_Service_Cloudmonitoring_Point';
+ protected $pointsDataType = 'array';
+ protected $timeseriesDescType = 'Google_Service_Cloudmonitoring_TimeseriesDescriptor';
+ protected $timeseriesDescDataType = '';
+
+ public function setPoints($points)
+ {
+ $this->points = $points;
+ }
+
+ public function getPoints()
+ {
+ return $this->points;
+ }
+
+ public function setTimeseriesDesc(Google_Service_Cloudmonitoring_TimeseriesDescriptor $timeseriesDesc)
+ {
+ $this->timeseriesDesc = $timeseriesDesc;
+ }
+
+ public function getTimeseriesDesc()
+ {
+ return $this->timeseriesDesc;
+ }
+}
+
+class Google_Service_Cloudmonitoring_TimeseriesDescriptor extends Google_Model
+{
+ public $labels;
+ public $metric;
+ public $project;
+
+ public function setLabels($labels)
+ {
+ $this->labels = $labels;
+ }
+
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+
+ public function setMetric($metric)
+ {
+ $this->metric = $metric;
+ }
+
+ public function getMetric()
+ {
+ return $this->metric;
+ }
+
+ public function setProject($project)
+ {
+ $this->project = $project;
+ }
+
+ public function getProject()
+ {
+ return $this->project;
+ }
+}
From 783c5596fd7a79d06eb966d05847a18d19704591 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Sat, 19 Jul 2014 00:48:58 -0700
Subject: [PATCH 0389/1602] Updated Genomics.php
---
src/Google/Service/Genomics.php | 149 ++++++++++++++++++++++----------
1 file changed, 102 insertions(+), 47 deletions(-)
diff --git a/src/Google/Service/Genomics.php b/src/Google/Service/Genomics.php
index f73267eec..583d8220e 100644
--- a/src/Google/Service/Genomics.php
+++ b/src/Google/Service/Genomics.php
@@ -267,17 +267,7 @@ public function __construct(Google_Client $client)
'reads',
array(
'methods' => array(
- 'get' => array(
- 'path' => 'reads/{readId}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'readId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'search' => array(
+ 'search' => array(
'path' => 'reads/search',
'httpMethod' => 'POST',
'parameters' => array(),
@@ -291,11 +281,7 @@ public function __construct(Google_Client $client)
'readsets',
array(
'methods' => array(
- 'create' => array(
- 'path' => 'readsets',
- 'httpMethod' => 'POST',
- 'parameters' => array(),
- ),'delete' => array(
+ 'delete' => array(
'path' => 'readsets/{readsetId}',
'httpMethod' => 'DELETE',
'parameters' => array(
@@ -624,7 +610,8 @@ public function get($datasetId, $optParams = array())
* @opt_param string maxResults
* The maximum number of results returned by this request.
* @opt_param string projectId
- * Only return datasets which belong to this Google Developers Console project.
+ * Only return datasets which belong to this Google Developers Console project. Only accepts
+ * project numbers.
* @return Google_Service_Genomics_ListDatasetsResponse
*/
public function listDatasets($optParams = array())
@@ -731,7 +718,7 @@ public function get($jobId, $optParams = array())
return $this->call('get', array($params), "Google_Service_Genomics_Job");
}
/**
- * Searches jobs within a project. (jobs.search)
+ * Gets a list of jobs matching the criteria. (jobs.search)
*
* @param Google_SearchJobsRequest $postBody
* @param array $optParams Optional parameters.
@@ -756,20 +743,6 @@ public function search(Google_Service_Genomics_SearchJobsRequest $postBody, $opt
class Google_Service_Genomics_Reads_Resource extends Google_Service_Resource
{
- /**
- * Gets a read by ID. (reads.get)
- *
- * @param string $readId
- * The ID of the read.
- * @param array $optParams Optional parameters.
- * @return Google_Service_Genomics_Read
- */
- public function get($readId, $optParams = array())
- {
- $params = array('readId' => $readId);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Genomics_Read");
- }
/**
* Gets a list of reads for one or more readsets. Reads search operates over a
* genomic coordinate space of reference sequence & position defined over the
@@ -804,19 +777,6 @@ public function search(Google_Service_Genomics_SearchReadsRequest $postBody, $op
class Google_Service_Genomics_Readsets_Resource extends Google_Service_Resource
{
- /**
- * Creates a new readset. (readsets.create)
- *
- * @param Google_Readset $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Genomics_Readset
- */
- public function create(Google_Service_Genomics_Readset $postBody, $optParams = array())
- {
- $params = array('postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('create', array($params), "Google_Service_Genomics_Readset");
- }
/**
* Deletes a readset. (readsets.delete)
*
@@ -882,7 +842,8 @@ public function import(Google_Service_Genomics_ImportReadsetsRequest $postBody,
* Updates a readset. This method supports patch semantics. (readsets.patch)
*
* @param string $readsetId
- * The ID of the readset to be updated.
+ * The ID of the readset to be updated. The caller must have WRITE permissions to the dataset
+ * associated with this readset.
* @param Google_Readset $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Genomics_Readset
@@ -910,7 +871,8 @@ public function search(Google_Service_Genomics_SearchReadsetsRequest $postBody,
* Updates a readset. (readsets.update)
*
* @param string $readsetId
- * The ID of the readset to be updated.
+ * The ID of the readset to be updated. The caller must have WRITE permissions to the dataset
+ * associated with this readset.
* @param Google_Readset $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Genomics_Readset
@@ -1508,6 +1470,8 @@ class Google_Service_Genomics_GetVariantsSummaryResponse extends Google_Collecti
{
protected $contigBoundsType = 'Google_Service_Genomics_ContigBound';
protected $contigBoundsDataType = 'array';
+ protected $metadataType = 'Google_Service_Genomics_Metadata';
+ protected $metadataDataType = 'array';
public function setContigBounds($contigBounds)
{
@@ -1518,6 +1482,16 @@ public function getContigBounds()
{
return $this->contigBounds;
}
+
+ public function setMetadata($metadata)
+ {
+ $this->metadata = $metadata;
+ }
+
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
}
class Google_Service_Genomics_Header extends Google_Model
@@ -1821,6 +1795,87 @@ public function getNextPageToken()
}
}
+class Google_Service_Genomics_Metadata extends Google_Model
+{
+ public $description;
+ public $id;
+ public $info;
+ public $key;
+ public $number;
+ public $type;
+ public $value;
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setInfo($info)
+ {
+ $this->info = $info;
+ }
+
+ public function getInfo()
+ {
+ return $this->info;
+ }
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+
+ public function getKey()
+ {
+ return $this->key;
+ }
+
+ public function setNumber($number)
+ {
+ $this->number = $number;
+ }
+
+ public function getNumber()
+ {
+ return $this->number;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
class Google_Service_Genomics_Program extends Google_Model
{
public $commandLine;
From 68e76bc226d065d6526380c8b9940cd5bb40ea83 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Sat, 19 Jul 2014 00:48:58 -0700
Subject: [PATCH 0390/1602] Added service ShoppingContent.php
---
src/Google/Service/ShoppingContent.php | 5533 ++++++++++++++++++++++++
1 file changed, 5533 insertions(+)
create mode 100644 src/Google/Service/ShoppingContent.php
diff --git a/src/Google/Service/ShoppingContent.php b/src/Google/Service/ShoppingContent.php
new file mode 100644
index 000000000..5780318b9
--- /dev/null
+++ b/src/Google/Service/ShoppingContent.php
@@ -0,0 +1,5533 @@
+
+ * Manage product items, inventory, and Merchant Center accounts for Google Shopping.
+ *
+ *
+ *
+ * For more information about this service, see the API
+ * Documentation
+ *
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_ShoppingContent extends Google_Service
+{
+ /** Manage your product listings and accounts for Google Shopping. */
+ const CONTENT = "https://www.googleapis.com/auth/content";
+
+ public $accounts;
+ public $accountshipping;
+ public $accountstatuses;
+ public $accounttax;
+ public $datafeeds;
+ public $datafeedstatuses;
+ public $inventory;
+ public $products;
+ public $productstatuses;
+
+
+ /**
+ * Constructs the internal representation of the ShoppingContent service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'content/v2/';
+ $this->version = 'v2';
+ $this->serviceName = 'content';
+
+ $this->accounts = new Google_Service_ShoppingContent_Accounts_Resource(
+ $this,
+ $this->serviceName,
+ 'accounts',
+ array(
+ 'methods' => array(
+ 'custombatch' => array(
+ 'path' => 'accounts/batch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'delete' => array(
+ 'path' => '{merchantId}/accounts/{accountId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{merchantId}/accounts/{accountId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{merchantId}/accounts',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{merchantId}/accounts',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => '{merchantId}/accounts/{accountId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => '{merchantId}/accounts/{accountId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accountshipping = new Google_Service_ShoppingContent_Accountshipping_Resource(
+ $this,
+ $this->serviceName,
+ 'accountshipping',
+ array(
+ 'methods' => array(
+ 'patch' => array(
+ 'path' => '{merchantId}/accountshipping/{accountId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accountstatuses = new Google_Service_ShoppingContent_Accountstatuses_Resource(
+ $this,
+ $this->serviceName,
+ 'accountstatuses',
+ array(
+ 'methods' => array(
+ 'custombatch' => array(
+ 'path' => 'accountstatuses/batch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'get' => array(
+ 'path' => '{merchantId}/accountstatuses/{accountId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{merchantId}/accountstatuses',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounttax = new Google_Service_ShoppingContent_Accounttax_Resource(
+ $this,
+ $this->serviceName,
+ 'accounttax',
+ array(
+ 'methods' => array(
+ 'patch' => array(
+ 'path' => '{merchantId}/accounttax/{accountId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->datafeeds = new Google_Service_ShoppingContent_Datafeeds_Resource(
+ $this,
+ $this->serviceName,
+ 'datafeeds',
+ array(
+ 'methods' => array(
+ 'batch' => array(
+ 'path' => 'datafeedsNativeBatch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'custombatch' => array(
+ 'path' => 'datafeeds/batch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'delete' => array(
+ 'path' => '{merchantId}/datafeeds/{datafeedId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'datafeedId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{merchantId}/datafeeds/{datafeedId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'datafeedId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{merchantId}/datafeeds',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{merchantId}/datafeeds',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => '{merchantId}/datafeeds/{datafeedId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'datafeedId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => '{merchantId}/datafeeds/{datafeedId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'datafeedId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->datafeedstatuses = new Google_Service_ShoppingContent_Datafeedstatuses_Resource(
+ $this,
+ $this->serviceName,
+ 'datafeedstatuses',
+ array(
+ 'methods' => array(
+ 'batch' => array(
+ 'path' => 'datafeedstatusesNativeBatch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'custombatch' => array(
+ 'path' => 'datafeedstatuses/batch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'get' => array(
+ 'path' => '{merchantId}/datafeedstatuses/{datafeedId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'datafeedId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{merchantId}/datafeedstatuses',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->inventory = new Google_Service_ShoppingContent_Inventory_Resource(
+ $this,
+ $this->serviceName,
+ 'inventory',
+ array(
+ 'methods' => array(
+ 'custombatch' => array(
+ 'path' => 'inventory/batch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'set' => array(
+ 'path' => '{merchantId}/inventory/{storeCode}/products/{productId}',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'storeCode' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'productId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->products = new Google_Service_ShoppingContent_Products_Resource(
+ $this,
+ $this->serviceName,
+ 'products',
+ array(
+ 'methods' => array(
+ 'custombatch' => array(
+ 'path' => 'products/batch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'dryRun' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => '{merchantId}/products/{productId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'productId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'dryRun' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{merchantId}/products/{productId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'productId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{merchantId}/products',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'dryRun' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{merchantId}/products',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->productstatuses = new Google_Service_ShoppingContent_Productstatuses_Resource(
+ $this,
+ $this->serviceName,
+ 'productstatuses',
+ array(
+ 'methods' => array(
+ 'custombatch' => array(
+ 'path' => 'productstatuses/batch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'get' => array(
+ 'path' => '{merchantId}/productstatuses/{productId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'productId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{merchantId}/productstatuses',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "accounts" collection of methods.
+ * Typical usage is:
+ *
+ * $contentService = new Google_Service_ShoppingContent(...);
+ * $accounts = $contentService->accounts;
+ *
+ */
+class Google_Service_ShoppingContent_Accounts_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Retrieves, inserts, updates, and deletes multiple Merchant Center
+ * (sub-)accounts in a single request. (accounts.custombatch)
+ *
+ * @param Google_AccountsCustomBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_AccountsCustomBatchResponse
+ */
+ public function custombatch(Google_Service_ShoppingContent_AccountsCustomBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_AccountsCustomBatchResponse");
+ }
+ /**
+ * Deletes a Merchant Center sub-account. (accounts.delete)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param string $accountId
+ * The ID of the account.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($merchantId, $accountId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Retrieves a Merchant Center account. (accounts.get)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param string $accountId
+ * The ID of the account.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_Account
+ */
+ public function get($merchantId, $accountId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_ShoppingContent_Account");
+ }
+ /**
+ * Creates a Merchant Center sub-account. (accounts.insert)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param Google_Account $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_Account
+ */
+ public function insert($merchantId, Google_Service_ShoppingContent_Account $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_ShoppingContent_Account");
+ }
+ /**
+ * Lists the sub-accounts in your Merchant Center account.
+ * (accounts.listAccounts)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The token returned by the previous request.
+ * @opt_param string maxResults
+ * The maximum number of accounts to return in the response, used for paging.
+ * @return Google_Service_ShoppingContent_AccountsListResponse
+ */
+ public function listAccounts($merchantId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_ShoppingContent_AccountsListResponse");
+ }
+ /**
+ * Updates a Merchant Center account. This method supports patch semantics.
+ * (accounts.patch)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param string $accountId
+ * The ID of the account.
+ * @param Google_Account $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_Account
+ */
+ public function patch($merchantId, $accountId, Google_Service_ShoppingContent_Account $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_ShoppingContent_Account");
+ }
+ /**
+ * Updates a Merchant Center account. (accounts.update)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param string $accountId
+ * The ID of the account.
+ * @param Google_Account $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_Account
+ */
+ public function update($merchantId, $accountId, Google_Service_ShoppingContent_Account $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_ShoppingContent_Account");
+ }
+}
+
+/**
+ * The "accountshipping" collection of methods.
+ * Typical usage is:
+ *
+ * $contentService = new Google_Service_ShoppingContent(...);
+ * $accountshipping = $contentService->accountshipping;
+ *
+ */
+class Google_Service_ShoppingContent_Accountshipping_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Updates the shipping settings of the account. This method supports patch
+ * semantics. (accountshipping.patch)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param string $accountId
+ * The ID of the account for which to get/update account shipping settings.
+ * @param Google_AccountShipping $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_AccountShipping
+ */
+ public function patch($merchantId, $accountId, Google_Service_ShoppingContent_AccountShipping $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_ShoppingContent_AccountShipping");
+ }
+}
+
+/**
+ * The "accountstatuses" collection of methods.
+ * Typical usage is:
+ *
+ * $contentService = new Google_Service_ShoppingContent(...);
+ * $accountstatuses = $contentService->accountstatuses;
+ *
+ */
+class Google_Service_ShoppingContent_Accountstatuses_Resource extends Google_Service_Resource
+{
+
+ /**
+ * (accountstatuses.custombatch)
+ *
+ * @param Google_AccountstatusesCustomBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_AccountstatusesCustomBatchResponse
+ */
+ public function custombatch(Google_Service_ShoppingContent_AccountstatusesCustomBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_AccountstatusesCustomBatchResponse");
+ }
+ /**
+ * Retrieves the status of a Merchant Center account. (accountstatuses.get)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param string $accountId
+ * The ID of the account.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_AccountStatus
+ */
+ public function get($merchantId, $accountId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_ShoppingContent_AccountStatus");
+ }
+ /**
+ * Lists the statuses of the sub-accounts in your Merchant Center account.
+ * (accountstatuses.listAccountstatuses)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The token returned by the previous request.
+ * @opt_param string maxResults
+ * The maximum number of account statuses to return in the response, used for paging.
+ * @return Google_Service_ShoppingContent_AccountstatusesListResponse
+ */
+ public function listAccountstatuses($merchantId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_ShoppingContent_AccountstatusesListResponse");
+ }
+}
+
+/**
+ * The "accounttax" collection of methods.
+ * Typical usage is:
+ *
+ * $contentService = new Google_Service_ShoppingContent(...);
+ * $accounttax = $contentService->accounttax;
+ *
+ */
+class Google_Service_ShoppingContent_Accounttax_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Updates the tax settings of the account. This method supports patch
+ * semantics. (accounttax.patch)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param string $accountId
+ * The ID of the account for which to get/update account tax settings.
+ * @param Google_AccountTax $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_AccountTax
+ */
+ public function patch($merchantId, $accountId, Google_Service_ShoppingContent_AccountTax $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_ShoppingContent_AccountTax");
+ }
+}
+
+/**
+ * The "datafeeds" collection of methods.
+ * Typical usage is:
+ *
+ * $contentService = new Google_Service_ShoppingContent(...);
+ * $datafeeds = $contentService->datafeeds;
+ *
+ */
+class Google_Service_ShoppingContent_Datafeeds_Resource extends Google_Service_Resource
+{
+
+ /**
+ * (datafeeds.batch)
+ *
+ * @param Google_DatafeedsBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_DatafeedsBatchResponse
+ */
+ public function batch(Google_Service_ShoppingContent_DatafeedsBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batch', array($params), "Google_Service_ShoppingContent_DatafeedsBatchResponse");
+ }
+ /**
+ * (datafeeds.custombatch)
+ *
+ * @param Google_DatafeedsCustomBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_DatafeedsCustomBatchResponse
+ */
+ public function custombatch(Google_Service_ShoppingContent_DatafeedsCustomBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_DatafeedsCustomBatchResponse");
+ }
+ /**
+ * Deletes a datafeed from your Merchant Center account. (datafeeds.delete)
+ *
+ * @param string $merchantId
+ *
+ * @param string $datafeedId
+ *
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($merchantId, $datafeedId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Retrieves a datafeed from your Merchant Center account. (datafeeds.get)
+ *
+ * @param string $merchantId
+ *
+ * @param string $datafeedId
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_Datafeed
+ */
+ public function get($merchantId, $datafeedId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_ShoppingContent_Datafeed");
+ }
+ /**
+ * Registers a datafeed with your Merchant Center account. (datafeeds.insert)
+ *
+ * @param string $merchantId
+ *
+ * @param Google_Datafeed $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_Datafeed
+ */
+ public function insert($merchantId, Google_Service_ShoppingContent_Datafeed $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_ShoppingContent_Datafeed");
+ }
+ /**
+ * Lists the datafeeds in your Merchant Center account.
+ * (datafeeds.listDatafeeds)
+ *
+ * @param string $merchantId
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_DatafeedsListResponse
+ */
+ public function listDatafeeds($merchantId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_ShoppingContent_DatafeedsListResponse");
+ }
+ /**
+ * Updates a datafeed of your Merchant Center account. This method supports
+ * patch semantics. (datafeeds.patch)
+ *
+ * @param string $merchantId
+ *
+ * @param string $datafeedId
+ *
+ * @param Google_Datafeed $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_Datafeed
+ */
+ public function patch($merchantId, $datafeedId, Google_Service_ShoppingContent_Datafeed $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_ShoppingContent_Datafeed");
+ }
+ /**
+ * Updates a datafeed of your Merchant Center account. (datafeeds.update)
+ *
+ * @param string $merchantId
+ *
+ * @param string $datafeedId
+ *
+ * @param Google_Datafeed $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_Datafeed
+ */
+ public function update($merchantId, $datafeedId, Google_Service_ShoppingContent_Datafeed $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_ShoppingContent_Datafeed");
+ }
+}
+
+/**
+ * The "datafeedstatuses" collection of methods.
+ * Typical usage is:
+ *
+ * $contentService = new Google_Service_ShoppingContent(...);
+ * $datafeedstatuses = $contentService->datafeedstatuses;
+ *
+ */
+class Google_Service_ShoppingContent_Datafeedstatuses_Resource extends Google_Service_Resource
+{
+
+ /**
+ * (datafeedstatuses.batch)
+ *
+ * @param Google_DatafeedstatusesBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_DatafeedstatusesBatchResponse
+ */
+ public function batch(Google_Service_ShoppingContent_DatafeedstatusesBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batch', array($params), "Google_Service_ShoppingContent_DatafeedstatusesBatchResponse");
+ }
+ /**
+ * (datafeedstatuses.custombatch)
+ *
+ * @param Google_DatafeedstatusesCustomBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_DatafeedstatusesCustomBatchResponse
+ */
+ public function custombatch(Google_Service_ShoppingContent_DatafeedstatusesCustomBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_DatafeedstatusesCustomBatchResponse");
+ }
+ /**
+ * Retrieves the status of a datafeed from your Merchant Center account.
+ * (datafeedstatuses.get)
+ *
+ * @param string $merchantId
+ *
+ * @param string $datafeedId
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_DatafeedStatus
+ */
+ public function get($merchantId, $datafeedId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_ShoppingContent_DatafeedStatus");
+ }
+ /**
+ * Lists the statuses of the datafeeds in your Merchant Center account.
+ * (datafeedstatuses.listDatafeedstatuses)
+ *
+ * @param string $merchantId
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_DatafeedstatusesListResponse
+ */
+ public function listDatafeedstatuses($merchantId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_ShoppingContent_DatafeedstatusesListResponse");
+ }
+}
+
+/**
+ * The "inventory" collection of methods.
+ * Typical usage is:
+ *
+ * $contentService = new Google_Service_ShoppingContent(...);
+ * $inventory = $contentService->inventory;
+ *
+ */
+class Google_Service_ShoppingContent_Inventory_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Updates price and availability for multiple products or stores in a single
+ * request. (inventory.custombatch)
+ *
+ * @param Google_InventoryCustomBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_InventoryCustomBatchResponse
+ */
+ public function custombatch(Google_Service_ShoppingContent_InventoryCustomBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_InventoryCustomBatchResponse");
+ }
+ /**
+ * Updates price and availability of a product in your Merchant Center account.
+ * (inventory.set)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param string $storeCode
+ * The code of the store for which to update price and availability. Use online to update price and
+ * availability of an online product.
+ * @param string $productId
+ * The ID of the product for which to update price and availability.
+ * @param Google_InventorySetRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_InventorySetResponse
+ */
+ public function set($merchantId, $storeCode, $productId, Google_Service_ShoppingContent_InventorySetRequest $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'storeCode' => $storeCode, 'productId' => $productId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('set', array($params), "Google_Service_ShoppingContent_InventorySetResponse");
+ }
+}
+
+/**
+ * The "products" collection of methods.
+ * Typical usage is:
+ *
+ * $contentService = new Google_Service_ShoppingContent(...);
+ * $products = $contentService->products;
+ *
+ */
+class Google_Service_ShoppingContent_Products_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Retrieves, inserts, and deletes multiple products in a single request.
+ * (products.custombatch)
+ *
+ * @param Google_ProductsCustomBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool dryRun
+ * Flag to run the request in dry-run mode.
+ * @return Google_Service_ShoppingContent_ProductsCustomBatchResponse
+ */
+ public function custombatch(Google_Service_ShoppingContent_ProductsCustomBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_ProductsCustomBatchResponse");
+ }
+ /**
+ * Deletes a product from your Merchant Center account. (products.delete)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param string $productId
+ * The ID of the product.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool dryRun
+ * Flag to run the request in dry-run mode.
+ */
+ public function delete($merchantId, $productId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'productId' => $productId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Retrieves a product from your Merchant Center account. (products.get)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param string $productId
+ * The ID of the product.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_Product
+ */
+ public function get($merchantId, $productId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'productId' => $productId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_ShoppingContent_Product");
+ }
+ /**
+ * Uploads a product to your Merchant Center account. (products.insert)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param Google_Product $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool dryRun
+ * Flag to run the request in dry-run mode.
+ * @return Google_Service_ShoppingContent_Product
+ */
+ public function insert($merchantId, Google_Service_ShoppingContent_Product $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_ShoppingContent_Product");
+ }
+ /**
+ * Lists the products in your Merchant Center account. (products.listProducts)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The token returned by the previous request.
+ * @opt_param string maxResults
+ * The maximum number of products to return in the response, used for paging.
+ * @return Google_Service_ShoppingContent_ProductsListResponse
+ */
+ public function listProducts($merchantId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_ShoppingContent_ProductsListResponse");
+ }
+}
+
+/**
+ * The "productstatuses" collection of methods.
+ * Typical usage is:
+ *
+ * $contentService = new Google_Service_ShoppingContent(...);
+ * $productstatuses = $contentService->productstatuses;
+ *
+ */
+class Google_Service_ShoppingContent_Productstatuses_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets the statuses of multiple products in a single request.
+ * (productstatuses.custombatch)
+ *
+ * @param Google_ProductstatusesCustomBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_ProductstatusesCustomBatchResponse
+ */
+ public function custombatch(Google_Service_ShoppingContent_ProductstatusesCustomBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_ProductstatusesCustomBatchResponse");
+ }
+ /**
+ * Gets the status of a product from your Merchant Center account.
+ * (productstatuses.get)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param string $productId
+ * The ID of the product.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_ProductStatus
+ */
+ public function get($merchantId, $productId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'productId' => $productId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_ShoppingContent_ProductStatus");
+ }
+ /**
+ * Lists the statuses of the products in your Merchant Center account.
+ * (productstatuses.listProductstatuses)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The token returned by the previous request.
+ * @opt_param string maxResults
+ * The maximum number of product statuses to return in the response, used for paging.
+ * @return Google_Service_ShoppingContent_ProductstatusesListResponse
+ */
+ public function listProductstatuses($merchantId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_ShoppingContent_ProductstatusesListResponse");
+ }
+}
+
+
+
+
+class Google_Service_ShoppingContent_Account extends Google_Collection
+{
+ public $adultContent;
+ protected $adwordsLinksType = 'Google_Service_ShoppingContent_AccountAdwordsLink';
+ protected $adwordsLinksDataType = 'array';
+ public $id;
+ public $kind;
+ public $name;
+ public $reviewsUrl;
+ public $sellerId;
+ protected $usersType = 'Google_Service_ShoppingContent_AccountUser';
+ protected $usersDataType = 'array';
+ public $websiteUrl;
+
+ public function setAdultContent($adultContent)
+ {
+ $this->adultContent = $adultContent;
+ }
+
+ public function getAdultContent()
+ {
+ return $this->adultContent;
+ }
+
+ public function setAdwordsLinks($adwordsLinks)
+ {
+ $this->adwordsLinks = $adwordsLinks;
+ }
+
+ public function getAdwordsLinks()
+ {
+ return $this->adwordsLinks;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setReviewsUrl($reviewsUrl)
+ {
+ $this->reviewsUrl = $reviewsUrl;
+ }
+
+ public function getReviewsUrl()
+ {
+ return $this->reviewsUrl;
+ }
+
+ public function setSellerId($sellerId)
+ {
+ $this->sellerId = $sellerId;
+ }
+
+ public function getSellerId()
+ {
+ return $this->sellerId;
+ }
+
+ public function setUsers($users)
+ {
+ $this->users = $users;
+ }
+
+ public function getUsers()
+ {
+ return $this->users;
+ }
+
+ public function setWebsiteUrl($websiteUrl)
+ {
+ $this->websiteUrl = $websiteUrl;
+ }
+
+ public function getWebsiteUrl()
+ {
+ return $this->websiteUrl;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountAdwordsLink extends Google_Model
+{
+ public $adwordsId;
+ public $status;
+
+ public function setAdwordsId($adwordsId)
+ {
+ $this->adwordsId = $adwordsId;
+ }
+
+ public function getAdwordsId()
+ {
+ return $this->adwordsId;
+ }
+
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+
+ public function getStatus()
+ {
+ return $this->status;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountShipping extends Google_Collection
+{
+ public $accountId;
+ protected $carrierRatesType = 'Google_Service_ShoppingContent_AccountShippingCarrierRate';
+ protected $carrierRatesDataType = 'array';
+ public $kind;
+ protected $locationGroupsType = 'Google_Service_ShoppingContent_AccountShippingLocationGroup';
+ protected $locationGroupsDataType = 'array';
+ protected $rateTablesType = 'Google_Service_ShoppingContent_AccountShippingRateTable';
+ protected $rateTablesDataType = 'array';
+ protected $servicesType = 'Google_Service_ShoppingContent_AccountShippingShippingService';
+ protected $servicesDataType = 'array';
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+
+ public function setCarrierRates($carrierRates)
+ {
+ $this->carrierRates = $carrierRates;
+ }
+
+ public function getCarrierRates()
+ {
+ return $this->carrierRates;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setLocationGroups($locationGroups)
+ {
+ $this->locationGroups = $locationGroups;
+ }
+
+ public function getLocationGroups()
+ {
+ return $this->locationGroups;
+ }
+
+ public function setRateTables($rateTables)
+ {
+ $this->rateTables = $rateTables;
+ }
+
+ public function getRateTables()
+ {
+ return $this->rateTables;
+ }
+
+ public function setServices($services)
+ {
+ $this->services = $services;
+ }
+
+ public function getServices()
+ {
+ return $this->services;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountShippingCarrierRate extends Google_Model
+{
+ public $carrier;
+ public $carrierService;
+ protected $modifierFlatRateType = 'Google_Service_ShoppingContent_Price';
+ protected $modifierFlatRateDataType = '';
+ public $modifierPercent;
+ public $name;
+ public $saleCountry;
+ public $shippingOrigin;
+
+ public function setCarrier($carrier)
+ {
+ $this->carrier = $carrier;
+ }
+
+ public function getCarrier()
+ {
+ return $this->carrier;
+ }
+
+ public function setCarrierService($carrierService)
+ {
+ $this->carrierService = $carrierService;
+ }
+
+ public function getCarrierService()
+ {
+ return $this->carrierService;
+ }
+
+ public function setModifierFlatRate(Google_Service_ShoppingContent_Price $modifierFlatRate)
+ {
+ $this->modifierFlatRate = $modifierFlatRate;
+ }
+
+ public function getModifierFlatRate()
+ {
+ return $this->modifierFlatRate;
+ }
+
+ public function setModifierPercent($modifierPercent)
+ {
+ $this->modifierPercent = $modifierPercent;
+ }
+
+ public function getModifierPercent()
+ {
+ return $this->modifierPercent;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setSaleCountry($saleCountry)
+ {
+ $this->saleCountry = $saleCountry;
+ }
+
+ public function getSaleCountry()
+ {
+ return $this->saleCountry;
+ }
+
+ public function setShippingOrigin($shippingOrigin)
+ {
+ $this->shippingOrigin = $shippingOrigin;
+ }
+
+ public function getShippingOrigin()
+ {
+ return $this->shippingOrigin;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountShippingCondition extends Google_Model
+{
+ public $deliveryLocationGroup;
+ public $deliveryLocationId;
+ public $deliveryPostalCode;
+ protected $priceMaxType = 'Google_Service_ShoppingContent_Price';
+ protected $priceMaxDataType = '';
+ public $shippingLabel;
+ protected $weightMaxType = 'Google_Service_ShoppingContent_Weight';
+ protected $weightMaxDataType = '';
+
+ public function setDeliveryLocationGroup($deliveryLocationGroup)
+ {
+ $this->deliveryLocationGroup = $deliveryLocationGroup;
+ }
+
+ public function getDeliveryLocationGroup()
+ {
+ return $this->deliveryLocationGroup;
+ }
+
+ public function setDeliveryLocationId($deliveryLocationId)
+ {
+ $this->deliveryLocationId = $deliveryLocationId;
+ }
+
+ public function getDeliveryLocationId()
+ {
+ return $this->deliveryLocationId;
+ }
+
+ public function setDeliveryPostalCode($deliveryPostalCode)
+ {
+ $this->deliveryPostalCode = $deliveryPostalCode;
+ }
+
+ public function getDeliveryPostalCode()
+ {
+ return $this->deliveryPostalCode;
+ }
+
+ public function setPriceMax(Google_Service_ShoppingContent_Price $priceMax)
+ {
+ $this->priceMax = $priceMax;
+ }
+
+ public function getPriceMax()
+ {
+ return $this->priceMax;
+ }
+
+ public function setShippingLabel($shippingLabel)
+ {
+ $this->shippingLabel = $shippingLabel;
+ }
+
+ public function getShippingLabel()
+ {
+ return $this->shippingLabel;
+ }
+
+ public function setWeightMax(Google_Service_ShoppingContent_Weight $weightMax)
+ {
+ $this->weightMax = $weightMax;
+ }
+
+ public function getWeightMax()
+ {
+ return $this->weightMax;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountShippingLocationGroup extends Google_Collection
+{
+ public $country;
+ public $locationIds;
+ public $name;
+ public $postalCodes;
+
+ public function setCountry($country)
+ {
+ $this->country = $country;
+ }
+
+ public function getCountry()
+ {
+ return $this->country;
+ }
+
+ public function setLocationIds($locationIds)
+ {
+ $this->locationIds = $locationIds;
+ }
+
+ public function getLocationIds()
+ {
+ return $this->locationIds;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setPostalCodes($postalCodes)
+ {
+ $this->postalCodes = $postalCodes;
+ }
+
+ public function getPostalCodes()
+ {
+ return $this->postalCodes;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountShippingRateTable extends Google_Collection
+{
+ protected $contentsType = 'Google_Service_ShoppingContent_AccountShippingRateTableCell';
+ protected $contentsDataType = 'array';
+ public $name;
+ public $saleCountry;
+
+ public function setContents($contents)
+ {
+ $this->contents = $contents;
+ }
+
+ public function getContents()
+ {
+ return $this->contents;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setSaleCountry($saleCountry)
+ {
+ $this->saleCountry = $saleCountry;
+ }
+
+ public function getSaleCountry()
+ {
+ return $this->saleCountry;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountShippingRateTableCell extends Google_Model
+{
+ protected $conditionType = 'Google_Service_ShoppingContent_AccountShippingCondition';
+ protected $conditionDataType = '';
+ protected $rateType = 'Google_Service_ShoppingContent_Price';
+ protected $rateDataType = '';
+
+ public function setCondition(Google_Service_ShoppingContent_AccountShippingCondition $condition)
+ {
+ $this->condition = $condition;
+ }
+
+ public function getCondition()
+ {
+ return $this->condition;
+ }
+
+ public function setRate(Google_Service_ShoppingContent_Price $rate)
+ {
+ $this->rate = $rate;
+ }
+
+ public function getRate()
+ {
+ return $this->rate;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountShippingShippingService extends Google_Model
+{
+ public $active;
+ protected $calculationMethodType = 'Google_Service_ShoppingContent_AccountShippingShippingServiceCalculationMethod';
+ protected $calculationMethodDataType = '';
+ public $name;
+ public $saleCountry;
+
+ public function setActive($active)
+ {
+ $this->active = $active;
+ }
+
+ public function getActive()
+ {
+ return $this->active;
+ }
+
+ public function setCalculationMethod(Google_Service_ShoppingContent_AccountShippingShippingServiceCalculationMethod $calculationMethod)
+ {
+ $this->calculationMethod = $calculationMethod;
+ }
+
+ public function getCalculationMethod()
+ {
+ return $this->calculationMethod;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setSaleCountry($saleCountry)
+ {
+ $this->saleCountry = $saleCountry;
+ }
+
+ public function getSaleCountry()
+ {
+ return $this->saleCountry;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountShippingShippingServiceCalculationMethod extends Google_Model
+{
+ public $carrierRate;
+ protected $flatRateType = 'Google_Service_ShoppingContent_Price';
+ protected $flatRateDataType = '';
+ public $percentageRate;
+ public $rateTable;
+
+ public function setCarrierRate($carrierRate)
+ {
+ $this->carrierRate = $carrierRate;
+ }
+
+ public function getCarrierRate()
+ {
+ return $this->carrierRate;
+ }
+
+ public function setFlatRate(Google_Service_ShoppingContent_Price $flatRate)
+ {
+ $this->flatRate = $flatRate;
+ }
+
+ public function getFlatRate()
+ {
+ return $this->flatRate;
+ }
+
+ public function setPercentageRate($percentageRate)
+ {
+ $this->percentageRate = $percentageRate;
+ }
+
+ public function getPercentageRate()
+ {
+ return $this->percentageRate;
+ }
+
+ public function setRateTable($rateTable)
+ {
+ $this->rateTable = $rateTable;
+ }
+
+ public function getRateTable()
+ {
+ return $this->rateTable;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountStatus extends Google_Collection
+{
+ public $accountId;
+ protected $dataQualityIssuesType = 'Google_Service_ShoppingContent_AccountStatusDataQualityIssue';
+ protected $dataQualityIssuesDataType = 'array';
+ public $kind;
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+
+ public function setDataQualityIssues($dataQualityIssues)
+ {
+ $this->dataQualityIssues = $dataQualityIssues;
+ }
+
+ public function getDataQualityIssues()
+ {
+ return $this->dataQualityIssues;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountStatusDataQualityIssue extends Google_Collection
+{
+ public $country;
+ public $displayedValue;
+ protected $exampleItemsType = 'Google_Service_ShoppingContent_AccountStatusExampleItem';
+ protected $exampleItemsDataType = 'array';
+ public $id;
+ public $lastChecked;
+ public $numItems;
+ public $severity;
+ public $submittedValue;
+
+ public function setCountry($country)
+ {
+ $this->country = $country;
+ }
+
+ public function getCountry()
+ {
+ return $this->country;
+ }
+
+ public function setDisplayedValue($displayedValue)
+ {
+ $this->displayedValue = $displayedValue;
+ }
+
+ public function getDisplayedValue()
+ {
+ return $this->displayedValue;
+ }
+
+ public function setExampleItems($exampleItems)
+ {
+ $this->exampleItems = $exampleItems;
+ }
+
+ public function getExampleItems()
+ {
+ return $this->exampleItems;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setLastChecked($lastChecked)
+ {
+ $this->lastChecked = $lastChecked;
+ }
+
+ public function getLastChecked()
+ {
+ return $this->lastChecked;
+ }
+
+ public function setNumItems($numItems)
+ {
+ $this->numItems = $numItems;
+ }
+
+ public function getNumItems()
+ {
+ return $this->numItems;
+ }
+
+ public function setSeverity($severity)
+ {
+ $this->severity = $severity;
+ }
+
+ public function getSeverity()
+ {
+ return $this->severity;
+ }
+
+ public function setSubmittedValue($submittedValue)
+ {
+ $this->submittedValue = $submittedValue;
+ }
+
+ public function getSubmittedValue()
+ {
+ return $this->submittedValue;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountStatusExampleItem extends Google_Model
+{
+ public $itemId;
+ public $link;
+ public $submittedValue;
+ public $title;
+ public $valueOnLandingPage;
+
+ public function setItemId($itemId)
+ {
+ $this->itemId = $itemId;
+ }
+
+ public function getItemId()
+ {
+ return $this->itemId;
+ }
+
+ public function setLink($link)
+ {
+ $this->link = $link;
+ }
+
+ public function getLink()
+ {
+ return $this->link;
+ }
+
+ public function setSubmittedValue($submittedValue)
+ {
+ $this->submittedValue = $submittedValue;
+ }
+
+ public function getSubmittedValue()
+ {
+ return $this->submittedValue;
+ }
+
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+
+ public function getTitle()
+ {
+ return $this->title;
+ }
+
+ public function setValueOnLandingPage($valueOnLandingPage)
+ {
+ $this->valueOnLandingPage = $valueOnLandingPage;
+ }
+
+ public function getValueOnLandingPage()
+ {
+ return $this->valueOnLandingPage;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountTax extends Google_Collection
+{
+ public $accountId;
+ public $kind;
+ protected $rulesType = 'Google_Service_ShoppingContent_AccountTaxTaxRule';
+ protected $rulesDataType = 'array';
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setRules($rules)
+ {
+ $this->rules = $rules;
+ }
+
+ public function getRules()
+ {
+ return $this->rules;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountTaxTaxRule extends Google_Model
+{
+ public $country;
+ public $locationId;
+ public $ratePercent;
+ public $shippingTaxed;
+ public $useGlobalRate;
+
+ public function setCountry($country)
+ {
+ $this->country = $country;
+ }
+
+ public function getCountry()
+ {
+ return $this->country;
+ }
+
+ public function setLocationId($locationId)
+ {
+ $this->locationId = $locationId;
+ }
+
+ public function getLocationId()
+ {
+ return $this->locationId;
+ }
+
+ public function setRatePercent($ratePercent)
+ {
+ $this->ratePercent = $ratePercent;
+ }
+
+ public function getRatePercent()
+ {
+ return $this->ratePercent;
+ }
+
+ public function setShippingTaxed($shippingTaxed)
+ {
+ $this->shippingTaxed = $shippingTaxed;
+ }
+
+ public function getShippingTaxed()
+ {
+ return $this->shippingTaxed;
+ }
+
+ public function setUseGlobalRate($useGlobalRate)
+ {
+ $this->useGlobalRate = $useGlobalRate;
+ }
+
+ public function getUseGlobalRate()
+ {
+ return $this->useGlobalRate;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountUser extends Google_Model
+{
+ public $admin;
+ public $emailAddress;
+
+ public function setAdmin($admin)
+ {
+ $this->admin = $admin;
+ }
+
+ public function getAdmin()
+ {
+ return $this->admin;
+ }
+
+ public function setEmailAddress($emailAddress)
+ {
+ $this->emailAddress = $emailAddress;
+ }
+
+ public function getEmailAddress()
+ {
+ return $this->emailAddress;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountsCustomBatchRequest extends Google_Collection
+{
+ protected $entriesType = 'Google_Service_ShoppingContent_AccountsCustomBatchRequestEntry';
+ protected $entriesDataType = 'array';
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountsCustomBatchRequestEntry extends Google_Model
+{
+ protected $accountType = 'Google_Service_ShoppingContent_Account';
+ protected $accountDataType = '';
+ public $accountId;
+ public $batchId;
+ public $merchantId;
+ public $method;
+
+ public function setAccount(Google_Service_ShoppingContent_Account $account)
+ {
+ $this->account = $account;
+ }
+
+ public function getAccount()
+ {
+ return $this->account;
+ }
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setMerchantId($merchantId)
+ {
+ $this->merchantId = $merchantId;
+ }
+
+ public function getMerchantId()
+ {
+ return $this->merchantId;
+ }
+
+ public function setMethod($method)
+ {
+ $this->method = $method;
+ }
+
+ public function getMethod()
+ {
+ return $this->method;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountsCustomBatchResponse extends Google_Collection
+{
+ protected $entriesType = 'Google_Service_ShoppingContent_AccountsCustomBatchResponseEntry';
+ protected $entriesDataType = 'array';
+ public $kind;
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountsCustomBatchResponseEntry extends Google_Model
+{
+ protected $accountType = 'Google_Service_ShoppingContent_Account';
+ protected $accountDataType = '';
+ public $batchId;
+ protected $errorsType = 'Google_Service_ShoppingContent_Errors';
+ protected $errorsDataType = '';
+ public $kind;
+
+ public function setAccount(Google_Service_ShoppingContent_Account $account)
+ {
+ $this->account = $account;
+ }
+
+ public function getAccount()
+ {
+ return $this->account;
+ }
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setErrors(Google_Service_ShoppingContent_Errors $errors)
+ {
+ $this->errors = $errors;
+ }
+
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountsListResponse extends Google_Collection
+{
+ public $kind;
+ public $nextPageToken;
+ protected $resourcesType = 'Google_Service_ShoppingContent_Account';
+ protected $resourcesDataType = 'array';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+
+ public function getResources()
+ {
+ return $this->resources;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountstatusesCustomBatchRequest extends Google_Collection
+{
+ protected $entriesType = 'Google_Service_ShoppingContent_AccountstatusesCustomBatchRequestEntry';
+ protected $entriesDataType = 'array';
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountstatusesCustomBatchRequestEntry extends Google_Model
+{
+ public $accountId;
+ public $batchId;
+ public $merchantId;
+ public $method;
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setMerchantId($merchantId)
+ {
+ $this->merchantId = $merchantId;
+ }
+
+ public function getMerchantId()
+ {
+ return $this->merchantId;
+ }
+
+ public function setMethod($method)
+ {
+ $this->method = $method;
+ }
+
+ public function getMethod()
+ {
+ return $this->method;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountstatusesCustomBatchResponse extends Google_Collection
+{
+ protected $entriesType = 'Google_Service_ShoppingContent_AccountstatusesCustomBatchResponseEntry';
+ protected $entriesDataType = 'array';
+ public $kind;
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountstatusesCustomBatchResponseEntry extends Google_Model
+{
+ protected $accountStatusType = 'Google_Service_ShoppingContent_AccountStatus';
+ protected $accountStatusDataType = '';
+ public $batchId;
+ protected $errorsType = 'Google_Service_ShoppingContent_Errors';
+ protected $errorsDataType = '';
+
+ public function setAccountStatus(Google_Service_ShoppingContent_AccountStatus $accountStatus)
+ {
+ $this->accountStatus = $accountStatus;
+ }
+
+ public function getAccountStatus()
+ {
+ return $this->accountStatus;
+ }
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setErrors(Google_Service_ShoppingContent_Errors $errors)
+ {
+ $this->errors = $errors;
+ }
+
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountstatusesListResponse extends Google_Collection
+{
+ public $kind;
+ public $nextPageToken;
+ protected $resourcesType = 'Google_Service_ShoppingContent_AccountStatus';
+ protected $resourcesDataType = 'array';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+
+ public function getResources()
+ {
+ return $this->resources;
+ }
+}
+
+class Google_Service_ShoppingContent_Datafeed extends Google_Collection
+{
+ public $attributeLanguage;
+ public $contentLanguage;
+ public $contentType;
+ protected $fetchScheduleType = 'Google_Service_ShoppingContent_DatafeedFetchSchedule';
+ protected $fetchScheduleDataType = '';
+ public $fileName;
+ protected $formatType = 'Google_Service_ShoppingContent_DatafeedFormat';
+ protected $formatDataType = '';
+ public $id;
+ public $intendedDestinations;
+ public $kind;
+ public $name;
+ public $targetCountry;
+
+ public function setAttributeLanguage($attributeLanguage)
+ {
+ $this->attributeLanguage = $attributeLanguage;
+ }
+
+ public function getAttributeLanguage()
+ {
+ return $this->attributeLanguage;
+ }
+
+ public function setContentLanguage($contentLanguage)
+ {
+ $this->contentLanguage = $contentLanguage;
+ }
+
+ public function getContentLanguage()
+ {
+ return $this->contentLanguage;
+ }
+
+ public function setContentType($contentType)
+ {
+ $this->contentType = $contentType;
+ }
+
+ public function getContentType()
+ {
+ return $this->contentType;
+ }
+
+ public function setFetchSchedule(Google_Service_ShoppingContent_DatafeedFetchSchedule $fetchSchedule)
+ {
+ $this->fetchSchedule = $fetchSchedule;
+ }
+
+ public function getFetchSchedule()
+ {
+ return $this->fetchSchedule;
+ }
+
+ public function setFileName($fileName)
+ {
+ $this->fileName = $fileName;
+ }
+
+ public function getFileName()
+ {
+ return $this->fileName;
+ }
+
+ public function setFormat(Google_Service_ShoppingContent_DatafeedFormat $format)
+ {
+ $this->format = $format;
+ }
+
+ public function getFormat()
+ {
+ return $this->format;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setIntendedDestinations($intendedDestinations)
+ {
+ $this->intendedDestinations = $intendedDestinations;
+ }
+
+ public function getIntendedDestinations()
+ {
+ return $this->intendedDestinations;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setTargetCountry($targetCountry)
+ {
+ $this->targetCountry = $targetCountry;
+ }
+
+ public function getTargetCountry()
+ {
+ return $this->targetCountry;
+ }
+}
+
+class Google_Service_ShoppingContent_DatafeedFetchSchedule extends Google_Model
+{
+ public $dayOfMonth;
+ public $fetchUrl;
+ public $hour;
+ public $password;
+ public $timeZone;
+ public $username;
+ public $weekday;
+
+ public function setDayOfMonth($dayOfMonth)
+ {
+ $this->dayOfMonth = $dayOfMonth;
+ }
+
+ public function getDayOfMonth()
+ {
+ return $this->dayOfMonth;
+ }
+
+ public function setFetchUrl($fetchUrl)
+ {
+ $this->fetchUrl = $fetchUrl;
+ }
+
+ public function getFetchUrl()
+ {
+ return $this->fetchUrl;
+ }
+
+ public function setHour($hour)
+ {
+ $this->hour = $hour;
+ }
+
+ public function getHour()
+ {
+ return $this->hour;
+ }
+
+ public function setPassword($password)
+ {
+ $this->password = $password;
+ }
+
+ public function getPassword()
+ {
+ return $this->password;
+ }
+
+ public function setTimeZone($timeZone)
+ {
+ $this->timeZone = $timeZone;
+ }
+
+ public function getTimeZone()
+ {
+ return $this->timeZone;
+ }
+
+ public function setUsername($username)
+ {
+ $this->username = $username;
+ }
+
+ public function getUsername()
+ {
+ return $this->username;
+ }
+
+ public function setWeekday($weekday)
+ {
+ $this->weekday = $weekday;
+ }
+
+ public function getWeekday()
+ {
+ return $this->weekday;
+ }
+}
+
+class Google_Service_ShoppingContent_DatafeedFormat extends Google_Model
+{
+ public $columnDelimiter;
+ public $fileEncoding;
+ public $quotingMode;
+
+ public function setColumnDelimiter($columnDelimiter)
+ {
+ $this->columnDelimiter = $columnDelimiter;
+ }
+
+ public function getColumnDelimiter()
+ {
+ return $this->columnDelimiter;
+ }
+
+ public function setFileEncoding($fileEncoding)
+ {
+ $this->fileEncoding = $fileEncoding;
+ }
+
+ public function getFileEncoding()
+ {
+ return $this->fileEncoding;
+ }
+
+ public function setQuotingMode($quotingMode)
+ {
+ $this->quotingMode = $quotingMode;
+ }
+
+ public function getQuotingMode()
+ {
+ return $this->quotingMode;
+ }
+}
+
+class Google_Service_ShoppingContent_DatafeedStatus extends Google_Collection
+{
+ public $datafeedId;
+ protected $errorsType = 'Google_Service_ShoppingContent_DatafeedStatusError';
+ protected $errorsDataType = 'array';
+ public $itemsTotal;
+ public $itemsValid;
+ public $kind;
+ public $processingStatus;
+ protected $warningsType = 'Google_Service_ShoppingContent_DatafeedStatusError';
+ protected $warningsDataType = 'array';
+
+ public function setDatafeedId($datafeedId)
+ {
+ $this->datafeedId = $datafeedId;
+ }
+
+ public function getDatafeedId()
+ {
+ return $this->datafeedId;
+ }
+
+ public function setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+
+ public function setItemsTotal($itemsTotal)
+ {
+ $this->itemsTotal = $itemsTotal;
+ }
+
+ public function getItemsTotal()
+ {
+ return $this->itemsTotal;
+ }
+
+ public function setItemsValid($itemsValid)
+ {
+ $this->itemsValid = $itemsValid;
+ }
+
+ public function getItemsValid()
+ {
+ return $this->itemsValid;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setProcessingStatus($processingStatus)
+ {
+ $this->processingStatus = $processingStatus;
+ }
+
+ public function getProcessingStatus()
+ {
+ return $this->processingStatus;
+ }
+
+ public function setWarnings($warnings)
+ {
+ $this->warnings = $warnings;
+ }
+
+ public function getWarnings()
+ {
+ return $this->warnings;
+ }
+}
+
+class Google_Service_ShoppingContent_DatafeedStatusError extends Google_Collection
+{
+ public $code;
+ public $count;
+ protected $examplesType = 'Google_Service_ShoppingContent_DatafeedStatusExample';
+ protected $examplesDataType = 'array';
+ public $message;
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+
+ public function getCode()
+ {
+ return $this->code;
+ }
+
+ public function setCount($count)
+ {
+ $this->count = $count;
+ }
+
+ public function getCount()
+ {
+ return $this->count;
+ }
+
+ public function setExamples($examples)
+ {
+ $this->examples = $examples;
+ }
+
+ public function getExamples()
+ {
+ return $this->examples;
+ }
+
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Google_Service_ShoppingContent_DatafeedStatusExample extends Google_Model
+{
+ public $itemId;
+ public $lineNumber;
+ public $value;
+
+ public function setItemId($itemId)
+ {
+ $this->itemId = $itemId;
+ }
+
+ public function getItemId()
+ {
+ return $this->itemId;
+ }
+
+ public function setLineNumber($lineNumber)
+ {
+ $this->lineNumber = $lineNumber;
+ }
+
+ public function getLineNumber()
+ {
+ return $this->lineNumber;
+ }
+
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Google_Service_ShoppingContent_DatafeedsBatchRequest extends Google_Collection
+{
+ protected $entrysType = 'Google_Service_ShoppingContent_DatafeedsBatchRequestEntry';
+ protected $entrysDataType = 'array';
+
+ public function setEntrys($entrys)
+ {
+ $this->entrys = $entrys;
+ }
+
+ public function getEntrys()
+ {
+ return $this->entrys;
+ }
+}
+
+class Google_Service_ShoppingContent_DatafeedsBatchRequestEntry extends Google_Model
+{
+ public $batchId;
+ protected $datafeedsinsertrequestType = 'Google_Service_ShoppingContent_DatafeedsInsertRequest';
+ protected $datafeedsinsertrequestDataType = '';
+ protected $datafeedsupdaterequestType = 'Google_Service_ShoppingContent_DatafeedsUpdateRequest';
+ protected $datafeedsupdaterequestDataType = '';
+ public $methodName;
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setDatafeedsinsertrequest(Google_Service_ShoppingContent_DatafeedsInsertRequest $datafeedsinsertrequest)
+ {
+ $this->datafeedsinsertrequest = $datafeedsinsertrequest;
+ }
+
+ public function getDatafeedsinsertrequest()
+ {
+ return $this->datafeedsinsertrequest;
+ }
+
+ public function setDatafeedsupdaterequest(Google_Service_ShoppingContent_DatafeedsUpdateRequest $datafeedsupdaterequest)
+ {
+ $this->datafeedsupdaterequest = $datafeedsupdaterequest;
+ }
+
+ public function getDatafeedsupdaterequest()
+ {
+ return $this->datafeedsupdaterequest;
+ }
+
+ public function setMethodName($methodName)
+ {
+ $this->methodName = $methodName;
+ }
+
+ public function getMethodName()
+ {
+ return $this->methodName;
+ }
+}
+
+class Google_Service_ShoppingContent_DatafeedsBatchResponse extends Google_Collection
+{
+ protected $entrysType = 'Google_Service_ShoppingContent_DatafeedsBatchResponseEntry';
+ protected $entrysDataType = 'array';
+ public $kind;
+
+ public function setEntrys($entrys)
+ {
+ $this->entrys = $entrys;
+ }
+
+ public function getEntrys()
+ {
+ return $this->entrys;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_ShoppingContent_DatafeedsBatchResponseEntry extends Google_Model
+{
+ public $batchId;
+ protected $datafeedsgetresponseType = 'Google_Service_ShoppingContent_DatafeedsGetResponse';
+ protected $datafeedsgetresponseDataType = '';
+ protected $datafeedsinsertresponseType = 'Google_Service_ShoppingContent_DatafeedsInsertResponse';
+ protected $datafeedsinsertresponseDataType = '';
+ protected $datafeedsupdateresponseType = 'Google_Service_ShoppingContent_DatafeedsUpdateResponse';
+ protected $datafeedsupdateresponseDataType = '';
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setDatafeedsgetresponse(Google_Service_ShoppingContent_DatafeedsGetResponse $datafeedsgetresponse)
+ {
+ $this->datafeedsgetresponse = $datafeedsgetresponse;
+ }
+
+ public function getDatafeedsgetresponse()
+ {
+ return $this->datafeedsgetresponse;
+ }
+
+ public function setDatafeedsinsertresponse(Google_Service_ShoppingContent_DatafeedsInsertResponse $datafeedsinsertresponse)
+ {
+ $this->datafeedsinsertresponse = $datafeedsinsertresponse;
+ }
+
+ public function getDatafeedsinsertresponse()
+ {
+ return $this->datafeedsinsertresponse;
+ }
+
+ public function setDatafeedsupdateresponse(Google_Service_ShoppingContent_DatafeedsUpdateResponse $datafeedsupdateresponse)
+ {
+ $this->datafeedsupdateresponse = $datafeedsupdateresponse;
+ }
+
+ public function getDatafeedsupdateresponse()
+ {
+ return $this->datafeedsupdateresponse;
+ }
+}
+
+class Google_Service_ShoppingContent_DatafeedsCustomBatchRequest extends Google_Collection
+{
+ protected $entriesType = 'Google_Service_ShoppingContent_DatafeedsCustomBatchRequestEntry';
+ protected $entriesDataType = 'array';
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+}
+
+class Google_Service_ShoppingContent_DatafeedsCustomBatchRequestEntry extends Google_Model
+{
+ public $batchId;
+ protected $datafeedType = 'Google_Service_ShoppingContent_Datafeed';
+ protected $datafeedDataType = '';
+ public $datafeedId;
+ public $merchantId;
+ public $method;
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setDatafeed(Google_Service_ShoppingContent_Datafeed $datafeed)
+ {
+ $this->datafeed = $datafeed;
+ }
+
+ public function getDatafeed()
+ {
+ return $this->datafeed;
+ }
+
+ public function setDatafeedId($datafeedId)
+ {
+ $this->datafeedId = $datafeedId;
+ }
+
+ public function getDatafeedId()
+ {
+ return $this->datafeedId;
+ }
+
+ public function setMerchantId($merchantId)
+ {
+ $this->merchantId = $merchantId;
+ }
+
+ public function getMerchantId()
+ {
+ return $this->merchantId;
+ }
+
+ public function setMethod($method)
+ {
+ $this->method = $method;
+ }
+
+ public function getMethod()
+ {
+ return $this->method;
+ }
+}
+
+class Google_Service_ShoppingContent_DatafeedsCustomBatchResponse extends Google_Collection
+{
+ protected $entriesType = 'Google_Service_ShoppingContent_DatafeedsCustomBatchResponseEntry';
+ protected $entriesDataType = 'array';
+ public $kind;
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_ShoppingContent_DatafeedsCustomBatchResponseEntry extends Google_Model
+{
+ public $batchId;
+ protected $datafeedType = 'Google_Service_ShoppingContent_Datafeed';
+ protected $datafeedDataType = '';
+ protected $errorsType = 'Google_Service_ShoppingContent_Errors';
+ protected $errorsDataType = '';
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setDatafeed(Google_Service_ShoppingContent_Datafeed $datafeed)
+ {
+ $this->datafeed = $datafeed;
+ }
+
+ public function getDatafeed()
+ {
+ return $this->datafeed;
+ }
+
+ public function setErrors(Google_Service_ShoppingContent_Errors $errors)
+ {
+ $this->errors = $errors;
+ }
+
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+}
+
+class Google_Service_ShoppingContent_DatafeedsGetResponse extends Google_Model
+{
+ public $kind;
+ protected $resourceType = 'Google_Service_ShoppingContent_Datafeed';
+ protected $resourceDataType = '';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setResource(Google_Service_ShoppingContent_Datafeed $resource)
+ {
+ $this->resource = $resource;
+ }
+
+ public function getResource()
+ {
+ return $this->resource;
+ }
+}
+
+class Google_Service_ShoppingContent_DatafeedsInsertRequest extends Google_Model
+{
+ protected $resourceType = 'Google_Service_ShoppingContent_Datafeed';
+ protected $resourceDataType = '';
+
+ public function setResource(Google_Service_ShoppingContent_Datafeed $resource)
+ {
+ $this->resource = $resource;
+ }
+
+ public function getResource()
+ {
+ return $this->resource;
+ }
+}
+
+class Google_Service_ShoppingContent_DatafeedsInsertResponse extends Google_Model
+{
+ public $kind;
+ protected $resourceType = 'Google_Service_ShoppingContent_Datafeed';
+ protected $resourceDataType = '';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setResource(Google_Service_ShoppingContent_Datafeed $resource)
+ {
+ $this->resource = $resource;
+ }
+
+ public function getResource()
+ {
+ return $this->resource;
+ }
+}
+
+class Google_Service_ShoppingContent_DatafeedsListResponse extends Google_Collection
+{
+ public $kind;
+ protected $resourcesType = 'Google_Service_ShoppingContent_Datafeed';
+ protected $resourcesDataType = 'array';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+
+ public function getResources()
+ {
+ return $this->resources;
+ }
+}
+
+class Google_Service_ShoppingContent_DatafeedsUpdateRequest extends Google_Model
+{
+ protected $resourceType = 'Google_Service_ShoppingContent_Datafeed';
+ protected $resourceDataType = '';
+
+ public function setResource(Google_Service_ShoppingContent_Datafeed $resource)
+ {
+ $this->resource = $resource;
+ }
+
+ public function getResource()
+ {
+ return $this->resource;
+ }
+}
+
+class Google_Service_ShoppingContent_DatafeedsUpdateResponse extends Google_Model
+{
+ public $kind;
+ protected $resourceType = 'Google_Service_ShoppingContent_Datafeed';
+ protected $resourceDataType = '';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setResource(Google_Service_ShoppingContent_Datafeed $resource)
+ {
+ $this->resource = $resource;
+ }
+
+ public function getResource()
+ {
+ return $this->resource;
+ }
+}
+
+class Google_Service_ShoppingContent_DatafeedstatusesBatchRequest extends Google_Collection
+{
+ protected $entrysType = 'Google_Service_ShoppingContent_DatafeedstatusesBatchRequestEntry';
+ protected $entrysDataType = 'array';
+
+ public function setEntrys($entrys)
+ {
+ $this->entrys = $entrys;
+ }
+
+ public function getEntrys()
+ {
+ return $this->entrys;
+ }
+}
+
+class Google_Service_ShoppingContent_DatafeedstatusesBatchRequestEntry extends Google_Model
+{
+ public $batchId;
+ public $methodName;
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setMethodName($methodName)
+ {
+ $this->methodName = $methodName;
+ }
+
+ public function getMethodName()
+ {
+ return $this->methodName;
+ }
+}
+
+class Google_Service_ShoppingContent_DatafeedstatusesBatchResponse extends Google_Collection
+{
+ protected $entrysType = 'Google_Service_ShoppingContent_DatafeedstatusesBatchResponseEntry';
+ protected $entrysDataType = 'array';
+ public $kind;
+
+ public function setEntrys($entrys)
+ {
+ $this->entrys = $entrys;
+ }
+
+ public function getEntrys()
+ {
+ return $this->entrys;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_ShoppingContent_DatafeedstatusesBatchResponseEntry extends Google_Model
+{
+ public $batchId;
+ protected $datafeedstatusesgetresponseType = 'Google_Service_ShoppingContent_DatafeedstatusesGetResponse';
+ protected $datafeedstatusesgetresponseDataType = '';
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setDatafeedstatusesgetresponse(Google_Service_ShoppingContent_DatafeedstatusesGetResponse $datafeedstatusesgetresponse)
+ {
+ $this->datafeedstatusesgetresponse = $datafeedstatusesgetresponse;
+ }
+
+ public function getDatafeedstatusesgetresponse()
+ {
+ return $this->datafeedstatusesgetresponse;
+ }
+}
+
+class Google_Service_ShoppingContent_DatafeedstatusesCustomBatchRequest extends Google_Collection
+{
+ protected $entriesType = 'Google_Service_ShoppingContent_DatafeedstatusesCustomBatchRequestEntry';
+ protected $entriesDataType = 'array';
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+}
+
+class Google_Service_ShoppingContent_DatafeedstatusesCustomBatchRequestEntry extends Google_Model
+{
+ public $batchId;
+ public $datafeedId;
+ public $merchantId;
+ public $method;
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setDatafeedId($datafeedId)
+ {
+ $this->datafeedId = $datafeedId;
+ }
+
+ public function getDatafeedId()
+ {
+ return $this->datafeedId;
+ }
+
+ public function setMerchantId($merchantId)
+ {
+ $this->merchantId = $merchantId;
+ }
+
+ public function getMerchantId()
+ {
+ return $this->merchantId;
+ }
+
+ public function setMethod($method)
+ {
+ $this->method = $method;
+ }
+
+ public function getMethod()
+ {
+ return $this->method;
+ }
+}
+
+class Google_Service_ShoppingContent_DatafeedstatusesCustomBatchResponse extends Google_Collection
+{
+ protected $entriesType = 'Google_Service_ShoppingContent_DatafeedstatusesCustomBatchResponseEntry';
+ protected $entriesDataType = 'array';
+ public $kind;
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_ShoppingContent_DatafeedstatusesCustomBatchResponseEntry extends Google_Model
+{
+ public $batchId;
+ protected $datafeedStatusType = 'Google_Service_ShoppingContent_DatafeedStatus';
+ protected $datafeedStatusDataType = '';
+ protected $errorsType = 'Google_Service_ShoppingContent_Errors';
+ protected $errorsDataType = '';
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setDatafeedStatus(Google_Service_ShoppingContent_DatafeedStatus $datafeedStatus)
+ {
+ $this->datafeedStatus = $datafeedStatus;
+ }
+
+ public function getDatafeedStatus()
+ {
+ return $this->datafeedStatus;
+ }
+
+ public function setErrors(Google_Service_ShoppingContent_Errors $errors)
+ {
+ $this->errors = $errors;
+ }
+
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+}
+
+class Google_Service_ShoppingContent_DatafeedstatusesGetResponse extends Google_Model
+{
+ public $kind;
+ protected $resourceType = 'Google_Service_ShoppingContent_DatafeedStatus';
+ protected $resourceDataType = '';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setResource(Google_Service_ShoppingContent_DatafeedStatus $resource)
+ {
+ $this->resource = $resource;
+ }
+
+ public function getResource()
+ {
+ return $this->resource;
+ }
+}
+
+class Google_Service_ShoppingContent_DatafeedstatusesListResponse extends Google_Collection
+{
+ public $kind;
+ protected $resourcesType = 'Google_Service_ShoppingContent_DatafeedStatus';
+ protected $resourcesDataType = 'array';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+
+ public function getResources()
+ {
+ return $this->resources;
+ }
+}
+
+class Google_Service_ShoppingContent_Error extends Google_Model
+{
+ public $domain;
+ public $message;
+ public $reason;
+
+ public function setDomain($domain)
+ {
+ $this->domain = $domain;
+ }
+
+ public function getDomain()
+ {
+ return $this->domain;
+ }
+
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+
+ public function getMessage()
+ {
+ return $this->message;
+ }
+
+ public function setReason($reason)
+ {
+ $this->reason = $reason;
+ }
+
+ public function getReason()
+ {
+ return $this->reason;
+ }
+}
+
+class Google_Service_ShoppingContent_Errors extends Google_Collection
+{
+ public $code;
+ protected $errorsType = 'Google_Service_ShoppingContent_Error';
+ protected $errorsDataType = 'array';
+ public $message;
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+
+ public function getCode()
+ {
+ return $this->code;
+ }
+
+ public function setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Google_Service_ShoppingContent_Inventory extends Google_Model
+{
+ public $availability;
+ public $kind;
+ protected $priceType = 'Google_Service_ShoppingContent_Price';
+ protected $priceDataType = '';
+ public $quantity;
+ protected $salePriceType = 'Google_Service_ShoppingContent_Price';
+ protected $salePriceDataType = '';
+ public $salePriceEffectiveDate;
+
+ public function setAvailability($availability)
+ {
+ $this->availability = $availability;
+ }
+
+ public function getAvailability()
+ {
+ return $this->availability;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setPrice(Google_Service_ShoppingContent_Price $price)
+ {
+ $this->price = $price;
+ }
+
+ public function getPrice()
+ {
+ return $this->price;
+ }
+
+ public function setQuantity($quantity)
+ {
+ $this->quantity = $quantity;
+ }
+
+ public function getQuantity()
+ {
+ return $this->quantity;
+ }
+
+ public function setSalePrice(Google_Service_ShoppingContent_Price $salePrice)
+ {
+ $this->salePrice = $salePrice;
+ }
+
+ public function getSalePrice()
+ {
+ return $this->salePrice;
+ }
+
+ public function setSalePriceEffectiveDate($salePriceEffectiveDate)
+ {
+ $this->salePriceEffectiveDate = $salePriceEffectiveDate;
+ }
+
+ public function getSalePriceEffectiveDate()
+ {
+ return $this->salePriceEffectiveDate;
+ }
+}
+
+class Google_Service_ShoppingContent_InventoryCustomBatchRequest extends Google_Collection
+{
+ protected $entriesType = 'Google_Service_ShoppingContent_InventoryCustomBatchRequestEntry';
+ protected $entriesDataType = 'array';
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+}
+
+class Google_Service_ShoppingContent_InventoryCustomBatchRequestEntry extends Google_Model
+{
+ public $batchId;
+ protected $inventoryType = 'Google_Service_ShoppingContent_Inventory';
+ protected $inventoryDataType = '';
+ public $merchantId;
+ public $productId;
+ public $storeCode;
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setInventory(Google_Service_ShoppingContent_Inventory $inventory)
+ {
+ $this->inventory = $inventory;
+ }
+
+ public function getInventory()
+ {
+ return $this->inventory;
+ }
+
+ public function setMerchantId($merchantId)
+ {
+ $this->merchantId = $merchantId;
+ }
+
+ public function getMerchantId()
+ {
+ return $this->merchantId;
+ }
+
+ public function setProductId($productId)
+ {
+ $this->productId = $productId;
+ }
+
+ public function getProductId()
+ {
+ return $this->productId;
+ }
+
+ public function setStoreCode($storeCode)
+ {
+ $this->storeCode = $storeCode;
+ }
+
+ public function getStoreCode()
+ {
+ return $this->storeCode;
+ }
+}
+
+class Google_Service_ShoppingContent_InventoryCustomBatchResponse extends Google_Collection
+{
+ protected $entriesType = 'Google_Service_ShoppingContent_InventoryCustomBatchResponseEntry';
+ protected $entriesDataType = 'array';
+ public $kind;
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_ShoppingContent_InventoryCustomBatchResponseEntry extends Google_Model
+{
+ public $batchId;
+ protected $errorsType = 'Google_Service_ShoppingContent_Errors';
+ protected $errorsDataType = '';
+ public $kind;
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setErrors(Google_Service_ShoppingContent_Errors $errors)
+ {
+ $this->errors = $errors;
+ }
+
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_ShoppingContent_InventorySetRequest extends Google_Model
+{
+ public $availability;
+ protected $priceType = 'Google_Service_ShoppingContent_Price';
+ protected $priceDataType = '';
+ public $quantity;
+ protected $salePriceType = 'Google_Service_ShoppingContent_Price';
+ protected $salePriceDataType = '';
+ public $salePriceEffectiveDate;
+
+ public function setAvailability($availability)
+ {
+ $this->availability = $availability;
+ }
+
+ public function getAvailability()
+ {
+ return $this->availability;
+ }
+
+ public function setPrice(Google_Service_ShoppingContent_Price $price)
+ {
+ $this->price = $price;
+ }
+
+ public function getPrice()
+ {
+ return $this->price;
+ }
+
+ public function setQuantity($quantity)
+ {
+ $this->quantity = $quantity;
+ }
+
+ public function getQuantity()
+ {
+ return $this->quantity;
+ }
+
+ public function setSalePrice(Google_Service_ShoppingContent_Price $salePrice)
+ {
+ $this->salePrice = $salePrice;
+ }
+
+ public function getSalePrice()
+ {
+ return $this->salePrice;
+ }
+
+ public function setSalePriceEffectiveDate($salePriceEffectiveDate)
+ {
+ $this->salePriceEffectiveDate = $salePriceEffectiveDate;
+ }
+
+ public function getSalePriceEffectiveDate()
+ {
+ return $this->salePriceEffectiveDate;
+ }
+}
+
+class Google_Service_ShoppingContent_InventorySetResponse extends Google_Model
+{
+ public $kind;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_ShoppingContent_LoyaltyPoints extends Google_Model
+{
+ public $name;
+ public $pointsValue;
+ public $ratio;
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setPointsValue($pointsValue)
+ {
+ $this->pointsValue = $pointsValue;
+ }
+
+ public function getPointsValue()
+ {
+ return $this->pointsValue;
+ }
+
+ public function setRatio($ratio)
+ {
+ $this->ratio = $ratio;
+ }
+
+ public function getRatio()
+ {
+ return $this->ratio;
+ }
+}
+
+class Google_Service_ShoppingContent_Price extends Google_Model
+{
+ public $currency;
+ public $value;
+
+ public function setCurrency($currency)
+ {
+ $this->currency = $currency;
+ }
+
+ public function getCurrency()
+ {
+ return $this->currency;
+ }
+
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Google_Service_ShoppingContent_Product extends Google_Collection
+{
+ public $additionalImageLinks;
+ public $adult;
+ public $adwordsGrouping;
+ public $adwordsLabels;
+ public $adwordsRedirect;
+ public $ageGroup;
+ public $availability;
+ public $availabilityDate;
+ public $brand;
+ public $channel;
+ public $color;
+ public $condition;
+ public $contentLanguage;
+ protected $customAttributesType = 'Google_Service_ShoppingContent_ProductCustomAttribute';
+ protected $customAttributesDataType = 'array';
+ protected $customGroupsType = 'Google_Service_ShoppingContent_ProductCustomGroup';
+ protected $customGroupsDataType = 'array';
+ public $customLabel0;
+ public $customLabel1;
+ public $customLabel2;
+ public $customLabel3;
+ public $customLabel4;
+ public $description;
+ protected $destinationsType = 'Google_Service_ShoppingContent_ProductDestination';
+ protected $destinationsDataType = 'array';
+ public $energyEfficiencyClass;
+ public $expirationDate;
+ public $gender;
+ public $googleProductCategory;
+ public $gtin;
+ public $id;
+ public $identifierExists;
+ public $imageLink;
+ protected $installmentType = 'Google_Service_ShoppingContent_ProductInstallment';
+ protected $installmentDataType = '';
+ public $isBundle;
+ public $itemGroupId;
+ public $kind;
+ public $link;
+ protected $loyaltyPointsType = 'Google_Service_ShoppingContent_LoyaltyPoints';
+ protected $loyaltyPointsDataType = '';
+ public $material;
+ public $merchantMultipackQuantity;
+ public $mobileLink;
+ public $mpn;
+ public $offerId;
+ public $onlineOnly;
+ public $pattern;
+ protected $priceType = 'Google_Service_ShoppingContent_Price';
+ protected $priceDataType = '';
+ public $productType;
+ protected $salePriceType = 'Google_Service_ShoppingContent_Price';
+ protected $salePriceDataType = '';
+ public $salePriceEffectiveDate;
+ protected $shippingType = 'Google_Service_ShoppingContent_ProductShipping';
+ protected $shippingDataType = 'array';
+ protected $shippingWeightType = 'Google_Service_ShoppingContent_ProductShippingWeight';
+ protected $shippingWeightDataType = '';
+ public $sizeSystem;
+ public $sizeType;
+ public $sizes;
+ public $targetCountry;
+ protected $taxesType = 'Google_Service_ShoppingContent_ProductTax';
+ protected $taxesDataType = 'array';
+ public $title;
+ public $unitPricingBaseMeasure;
+ public $unitPricingMeasure;
+ public $validatedDestinations;
+ protected $warningsType = 'Google_Service_ShoppingContent_Error';
+ protected $warningsDataType = 'array';
+
+ public function setAdditionalImageLinks($additionalImageLinks)
+ {
+ $this->additionalImageLinks = $additionalImageLinks;
+ }
+
+ public function getAdditionalImageLinks()
+ {
+ return $this->additionalImageLinks;
+ }
+
+ public function setAdult($adult)
+ {
+ $this->adult = $adult;
+ }
+
+ public function getAdult()
+ {
+ return $this->adult;
+ }
+
+ public function setAdwordsGrouping($adwordsGrouping)
+ {
+ $this->adwordsGrouping = $adwordsGrouping;
+ }
+
+ public function getAdwordsGrouping()
+ {
+ return $this->adwordsGrouping;
+ }
+
+ public function setAdwordsLabels($adwordsLabels)
+ {
+ $this->adwordsLabels = $adwordsLabels;
+ }
+
+ public function getAdwordsLabels()
+ {
+ return $this->adwordsLabels;
+ }
+
+ public function setAdwordsRedirect($adwordsRedirect)
+ {
+ $this->adwordsRedirect = $adwordsRedirect;
+ }
+
+ public function getAdwordsRedirect()
+ {
+ return $this->adwordsRedirect;
+ }
+
+ public function setAgeGroup($ageGroup)
+ {
+ $this->ageGroup = $ageGroup;
+ }
+
+ public function getAgeGroup()
+ {
+ return $this->ageGroup;
+ }
+
+ public function setAvailability($availability)
+ {
+ $this->availability = $availability;
+ }
+
+ public function getAvailability()
+ {
+ return $this->availability;
+ }
+
+ public function setAvailabilityDate($availabilityDate)
+ {
+ $this->availabilityDate = $availabilityDate;
+ }
+
+ public function getAvailabilityDate()
+ {
+ return $this->availabilityDate;
+ }
+
+ public function setBrand($brand)
+ {
+ $this->brand = $brand;
+ }
+
+ public function getBrand()
+ {
+ return $this->brand;
+ }
+
+ public function setChannel($channel)
+ {
+ $this->channel = $channel;
+ }
+
+ public function getChannel()
+ {
+ return $this->channel;
+ }
+
+ public function setColor($color)
+ {
+ $this->color = $color;
+ }
+
+ public function getColor()
+ {
+ return $this->color;
+ }
+
+ public function setCondition($condition)
+ {
+ $this->condition = $condition;
+ }
+
+ public function getCondition()
+ {
+ return $this->condition;
+ }
+
+ public function setContentLanguage($contentLanguage)
+ {
+ $this->contentLanguage = $contentLanguage;
+ }
+
+ public function getContentLanguage()
+ {
+ return $this->contentLanguage;
+ }
+
+ public function setCustomAttributes($customAttributes)
+ {
+ $this->customAttributes = $customAttributes;
+ }
+
+ public function getCustomAttributes()
+ {
+ return $this->customAttributes;
+ }
+
+ public function setCustomGroups($customGroups)
+ {
+ $this->customGroups = $customGroups;
+ }
+
+ public function getCustomGroups()
+ {
+ return $this->customGroups;
+ }
+
+ public function setCustomLabel0($customLabel0)
+ {
+ $this->customLabel0 = $customLabel0;
+ }
+
+ public function getCustomLabel0()
+ {
+ return $this->customLabel0;
+ }
+
+ public function setCustomLabel1($customLabel1)
+ {
+ $this->customLabel1 = $customLabel1;
+ }
+
+ public function getCustomLabel1()
+ {
+ return $this->customLabel1;
+ }
+
+ public function setCustomLabel2($customLabel2)
+ {
+ $this->customLabel2 = $customLabel2;
+ }
+
+ public function getCustomLabel2()
+ {
+ return $this->customLabel2;
+ }
+
+ public function setCustomLabel3($customLabel3)
+ {
+ $this->customLabel3 = $customLabel3;
+ }
+
+ public function getCustomLabel3()
+ {
+ return $this->customLabel3;
+ }
+
+ public function setCustomLabel4($customLabel4)
+ {
+ $this->customLabel4 = $customLabel4;
+ }
+
+ public function getCustomLabel4()
+ {
+ return $this->customLabel4;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setDestinations($destinations)
+ {
+ $this->destinations = $destinations;
+ }
+
+ public function getDestinations()
+ {
+ return $this->destinations;
+ }
+
+ public function setEnergyEfficiencyClass($energyEfficiencyClass)
+ {
+ $this->energyEfficiencyClass = $energyEfficiencyClass;
+ }
+
+ public function getEnergyEfficiencyClass()
+ {
+ return $this->energyEfficiencyClass;
+ }
+
+ public function setExpirationDate($expirationDate)
+ {
+ $this->expirationDate = $expirationDate;
+ }
+
+ public function getExpirationDate()
+ {
+ return $this->expirationDate;
+ }
+
+ public function setGender($gender)
+ {
+ $this->gender = $gender;
+ }
+
+ public function getGender()
+ {
+ return $this->gender;
+ }
+
+ public function setGoogleProductCategory($googleProductCategory)
+ {
+ $this->googleProductCategory = $googleProductCategory;
+ }
+
+ public function getGoogleProductCategory()
+ {
+ return $this->googleProductCategory;
+ }
+
+ public function setGtin($gtin)
+ {
+ $this->gtin = $gtin;
+ }
+
+ public function getGtin()
+ {
+ return $this->gtin;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setIdentifierExists($identifierExists)
+ {
+ $this->identifierExists = $identifierExists;
+ }
+
+ public function getIdentifierExists()
+ {
+ return $this->identifierExists;
+ }
+
+ public function setImageLink($imageLink)
+ {
+ $this->imageLink = $imageLink;
+ }
+
+ public function getImageLink()
+ {
+ return $this->imageLink;
+ }
+
+ public function setInstallment(Google_Service_ShoppingContent_ProductInstallment $installment)
+ {
+ $this->installment = $installment;
+ }
+
+ public function getInstallment()
+ {
+ return $this->installment;
+ }
+
+ public function setIsBundle($isBundle)
+ {
+ $this->isBundle = $isBundle;
+ }
+
+ public function getIsBundle()
+ {
+ return $this->isBundle;
+ }
+
+ public function setItemGroupId($itemGroupId)
+ {
+ $this->itemGroupId = $itemGroupId;
+ }
+
+ public function getItemGroupId()
+ {
+ return $this->itemGroupId;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setLink($link)
+ {
+ $this->link = $link;
+ }
+
+ public function getLink()
+ {
+ return $this->link;
+ }
+
+ public function setLoyaltyPoints(Google_Service_ShoppingContent_LoyaltyPoints $loyaltyPoints)
+ {
+ $this->loyaltyPoints = $loyaltyPoints;
+ }
+
+ public function getLoyaltyPoints()
+ {
+ return $this->loyaltyPoints;
+ }
+
+ public function setMaterial($material)
+ {
+ $this->material = $material;
+ }
+
+ public function getMaterial()
+ {
+ return $this->material;
+ }
+
+ public function setMerchantMultipackQuantity($merchantMultipackQuantity)
+ {
+ $this->merchantMultipackQuantity = $merchantMultipackQuantity;
+ }
+
+ public function getMerchantMultipackQuantity()
+ {
+ return $this->merchantMultipackQuantity;
+ }
+
+ public function setMobileLink($mobileLink)
+ {
+ $this->mobileLink = $mobileLink;
+ }
+
+ public function getMobileLink()
+ {
+ return $this->mobileLink;
+ }
+
+ public function setMpn($mpn)
+ {
+ $this->mpn = $mpn;
+ }
+
+ public function getMpn()
+ {
+ return $this->mpn;
+ }
+
+ public function setOfferId($offerId)
+ {
+ $this->offerId = $offerId;
+ }
+
+ public function getOfferId()
+ {
+ return $this->offerId;
+ }
+
+ public function setOnlineOnly($onlineOnly)
+ {
+ $this->onlineOnly = $onlineOnly;
+ }
+
+ public function getOnlineOnly()
+ {
+ return $this->onlineOnly;
+ }
+
+ public function setPattern($pattern)
+ {
+ $this->pattern = $pattern;
+ }
+
+ public function getPattern()
+ {
+ return $this->pattern;
+ }
+
+ public function setPrice(Google_Service_ShoppingContent_Price $price)
+ {
+ $this->price = $price;
+ }
+
+ public function getPrice()
+ {
+ return $this->price;
+ }
+
+ public function setProductType($productType)
+ {
+ $this->productType = $productType;
+ }
+
+ public function getProductType()
+ {
+ return $this->productType;
+ }
+
+ public function setSalePrice(Google_Service_ShoppingContent_Price $salePrice)
+ {
+ $this->salePrice = $salePrice;
+ }
+
+ public function getSalePrice()
+ {
+ return $this->salePrice;
+ }
+
+ public function setSalePriceEffectiveDate($salePriceEffectiveDate)
+ {
+ $this->salePriceEffectiveDate = $salePriceEffectiveDate;
+ }
+
+ public function getSalePriceEffectiveDate()
+ {
+ return $this->salePriceEffectiveDate;
+ }
+
+ public function setShipping($shipping)
+ {
+ $this->shipping = $shipping;
+ }
+
+ public function getShipping()
+ {
+ return $this->shipping;
+ }
+
+ public function setShippingWeight(Google_Service_ShoppingContent_ProductShippingWeight $shippingWeight)
+ {
+ $this->shippingWeight = $shippingWeight;
+ }
+
+ public function getShippingWeight()
+ {
+ return $this->shippingWeight;
+ }
+
+ public function setSizeSystem($sizeSystem)
+ {
+ $this->sizeSystem = $sizeSystem;
+ }
+
+ public function getSizeSystem()
+ {
+ return $this->sizeSystem;
+ }
+
+ public function setSizeType($sizeType)
+ {
+ $this->sizeType = $sizeType;
+ }
+
+ public function getSizeType()
+ {
+ return $this->sizeType;
+ }
+
+ public function setSizes($sizes)
+ {
+ $this->sizes = $sizes;
+ }
+
+ public function getSizes()
+ {
+ return $this->sizes;
+ }
+
+ public function setTargetCountry($targetCountry)
+ {
+ $this->targetCountry = $targetCountry;
+ }
+
+ public function getTargetCountry()
+ {
+ return $this->targetCountry;
+ }
+
+ public function setTaxes($taxes)
+ {
+ $this->taxes = $taxes;
+ }
+
+ public function getTaxes()
+ {
+ return $this->taxes;
+ }
+
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+
+ public function getTitle()
+ {
+ return $this->title;
+ }
+
+ public function setUnitPricingBaseMeasure($unitPricingBaseMeasure)
+ {
+ $this->unitPricingBaseMeasure = $unitPricingBaseMeasure;
+ }
+
+ public function getUnitPricingBaseMeasure()
+ {
+ return $this->unitPricingBaseMeasure;
+ }
+
+ public function setUnitPricingMeasure($unitPricingMeasure)
+ {
+ $this->unitPricingMeasure = $unitPricingMeasure;
+ }
+
+ public function getUnitPricingMeasure()
+ {
+ return $this->unitPricingMeasure;
+ }
+
+ public function setValidatedDestinations($validatedDestinations)
+ {
+ $this->validatedDestinations = $validatedDestinations;
+ }
+
+ public function getValidatedDestinations()
+ {
+ return $this->validatedDestinations;
+ }
+
+ public function setWarnings($warnings)
+ {
+ $this->warnings = $warnings;
+ }
+
+ public function getWarnings()
+ {
+ return $this->warnings;
+ }
+}
+
+class Google_Service_ShoppingContent_ProductCustomAttribute extends Google_Model
+{
+ public $name;
+ public $type;
+ public $unit;
+ public $value;
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+
+ public function setUnit($unit)
+ {
+ $this->unit = $unit;
+ }
+
+ public function getUnit()
+ {
+ return $this->unit;
+ }
+
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Google_Service_ShoppingContent_ProductCustomGroup extends Google_Collection
+{
+ protected $attributesType = 'Google_Service_ShoppingContent_ProductCustomAttribute';
+ protected $attributesDataType = 'array';
+ public $name;
+
+ public function setAttributes($attributes)
+ {
+ $this->attributes = $attributes;
+ }
+
+ public function getAttributes()
+ {
+ return $this->attributes;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Google_Service_ShoppingContent_ProductDestination extends Google_Model
+{
+ public $destinationName;
+ public $intention;
+
+ public function setDestinationName($destinationName)
+ {
+ $this->destinationName = $destinationName;
+ }
+
+ public function getDestinationName()
+ {
+ return $this->destinationName;
+ }
+
+ public function setIntention($intention)
+ {
+ $this->intention = $intention;
+ }
+
+ public function getIntention()
+ {
+ return $this->intention;
+ }
+}
+
+class Google_Service_ShoppingContent_ProductInstallment extends Google_Model
+{
+ protected $amountType = 'Google_Service_ShoppingContent_Price';
+ protected $amountDataType = '';
+ public $months;
+
+ public function setAmount(Google_Service_ShoppingContent_Price $amount)
+ {
+ $this->amount = $amount;
+ }
+
+ public function getAmount()
+ {
+ return $this->amount;
+ }
+
+ public function setMonths($months)
+ {
+ $this->months = $months;
+ }
+
+ public function getMonths()
+ {
+ return $this->months;
+ }
+}
+
+class Google_Service_ShoppingContent_ProductShipping extends Google_Model
+{
+ public $country;
+ protected $priceType = 'Google_Service_ShoppingContent_Price';
+ protected $priceDataType = '';
+ public $region;
+ public $service;
+
+ public function setCountry($country)
+ {
+ $this->country = $country;
+ }
+
+ public function getCountry()
+ {
+ return $this->country;
+ }
+
+ public function setPrice(Google_Service_ShoppingContent_Price $price)
+ {
+ $this->price = $price;
+ }
+
+ public function getPrice()
+ {
+ return $this->price;
+ }
+
+ public function setRegion($region)
+ {
+ $this->region = $region;
+ }
+
+ public function getRegion()
+ {
+ return $this->region;
+ }
+
+ public function setService($service)
+ {
+ $this->service = $service;
+ }
+
+ public function getService()
+ {
+ return $this->service;
+ }
+}
+
+class Google_Service_ShoppingContent_ProductShippingWeight extends Google_Model
+{
+ public $unit;
+ public $value;
+
+ public function setUnit($unit)
+ {
+ $this->unit = $unit;
+ }
+
+ public function getUnit()
+ {
+ return $this->unit;
+ }
+
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Google_Service_ShoppingContent_ProductStatus extends Google_Collection
+{
+ protected $dataQualityIssuesType = 'Google_Service_ShoppingContent_ProductStatusDataQualityIssue';
+ protected $dataQualityIssuesDataType = 'array';
+ protected $destinationStatusesType = 'Google_Service_ShoppingContent_ProductStatusDestinationStatus';
+ protected $destinationStatusesDataType = 'array';
+ public $kind;
+ public $link;
+ public $productId;
+ public $title;
+
+ public function setDataQualityIssues($dataQualityIssues)
+ {
+ $this->dataQualityIssues = $dataQualityIssues;
+ }
+
+ public function getDataQualityIssues()
+ {
+ return $this->dataQualityIssues;
+ }
+
+ public function setDestinationStatuses($destinationStatuses)
+ {
+ $this->destinationStatuses = $destinationStatuses;
+ }
+
+ public function getDestinationStatuses()
+ {
+ return $this->destinationStatuses;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setLink($link)
+ {
+ $this->link = $link;
+ }
+
+ public function getLink()
+ {
+ return $this->link;
+ }
+
+ public function setProductId($productId)
+ {
+ $this->productId = $productId;
+ }
+
+ public function getProductId()
+ {
+ return $this->productId;
+ }
+
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
+
+class Google_Service_ShoppingContent_ProductStatusDataQualityIssue extends Google_Model
+{
+ public $detail;
+ public $fetchStatus;
+ public $id;
+ public $location;
+ public $timestamp;
+ public $valueOnLandingPage;
+ public $valueProvided;
+
+ public function setDetail($detail)
+ {
+ $this->detail = $detail;
+ }
+
+ public function getDetail()
+ {
+ return $this->detail;
+ }
+
+ public function setFetchStatus($fetchStatus)
+ {
+ $this->fetchStatus = $fetchStatus;
+ }
+
+ public function getFetchStatus()
+ {
+ return $this->fetchStatus;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setLocation($location)
+ {
+ $this->location = $location;
+ }
+
+ public function getLocation()
+ {
+ return $this->location;
+ }
+
+ public function setTimestamp($timestamp)
+ {
+ $this->timestamp = $timestamp;
+ }
+
+ public function getTimestamp()
+ {
+ return $this->timestamp;
+ }
+
+ public function setValueOnLandingPage($valueOnLandingPage)
+ {
+ $this->valueOnLandingPage = $valueOnLandingPage;
+ }
+
+ public function getValueOnLandingPage()
+ {
+ return $this->valueOnLandingPage;
+ }
+
+ public function setValueProvided($valueProvided)
+ {
+ $this->valueProvided = $valueProvided;
+ }
+
+ public function getValueProvided()
+ {
+ return $this->valueProvided;
+ }
+}
+
+class Google_Service_ShoppingContent_ProductStatusDestinationStatus extends Google_Model
+{
+ public $approvalStatus;
+ public $destination;
+ public $intention;
+
+ public function setApprovalStatus($approvalStatus)
+ {
+ $this->approvalStatus = $approvalStatus;
+ }
+
+ public function getApprovalStatus()
+ {
+ return $this->approvalStatus;
+ }
+
+ public function setDestination($destination)
+ {
+ $this->destination = $destination;
+ }
+
+ public function getDestination()
+ {
+ return $this->destination;
+ }
+
+ public function setIntention($intention)
+ {
+ $this->intention = $intention;
+ }
+
+ public function getIntention()
+ {
+ return $this->intention;
+ }
+}
+
+class Google_Service_ShoppingContent_ProductTax extends Google_Model
+{
+ public $country;
+ public $rate;
+ public $region;
+ public $taxShip;
+
+ public function setCountry($country)
+ {
+ $this->country = $country;
+ }
+
+ public function getCountry()
+ {
+ return $this->country;
+ }
+
+ public function setRate($rate)
+ {
+ $this->rate = $rate;
+ }
+
+ public function getRate()
+ {
+ return $this->rate;
+ }
+
+ public function setRegion($region)
+ {
+ $this->region = $region;
+ }
+
+ public function getRegion()
+ {
+ return $this->region;
+ }
+
+ public function setTaxShip($taxShip)
+ {
+ $this->taxShip = $taxShip;
+ }
+
+ public function getTaxShip()
+ {
+ return $this->taxShip;
+ }
+}
+
+class Google_Service_ShoppingContent_ProductsCustomBatchRequest extends Google_Collection
+{
+ protected $entriesType = 'Google_Service_ShoppingContent_ProductsCustomBatchRequestEntry';
+ protected $entriesDataType = 'array';
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+}
+
+class Google_Service_ShoppingContent_ProductsCustomBatchRequestEntry extends Google_Model
+{
+ public $batchId;
+ public $merchantId;
+ public $method;
+ protected $productType = 'Google_Service_ShoppingContent_Product';
+ protected $productDataType = '';
+ public $productId;
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setMerchantId($merchantId)
+ {
+ $this->merchantId = $merchantId;
+ }
+
+ public function getMerchantId()
+ {
+ return $this->merchantId;
+ }
+
+ public function setMethod($method)
+ {
+ $this->method = $method;
+ }
+
+ public function getMethod()
+ {
+ return $this->method;
+ }
+
+ public function setProduct(Google_Service_ShoppingContent_Product $product)
+ {
+ $this->product = $product;
+ }
+
+ public function getProduct()
+ {
+ return $this->product;
+ }
+
+ public function setProductId($productId)
+ {
+ $this->productId = $productId;
+ }
+
+ public function getProductId()
+ {
+ return $this->productId;
+ }
+}
+
+class Google_Service_ShoppingContent_ProductsCustomBatchResponse extends Google_Collection
+{
+ protected $entriesType = 'Google_Service_ShoppingContent_ProductsCustomBatchResponseEntry';
+ protected $entriesDataType = 'array';
+ public $kind;
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_ShoppingContent_ProductsCustomBatchResponseEntry extends Google_Model
+{
+ public $batchId;
+ protected $errorsType = 'Google_Service_ShoppingContent_Errors';
+ protected $errorsDataType = '';
+ public $kind;
+ protected $productType = 'Google_Service_ShoppingContent_Product';
+ protected $productDataType = '';
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setErrors(Google_Service_ShoppingContent_Errors $errors)
+ {
+ $this->errors = $errors;
+ }
+
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setProduct(Google_Service_ShoppingContent_Product $product)
+ {
+ $this->product = $product;
+ }
+
+ public function getProduct()
+ {
+ return $this->product;
+ }
+}
+
+class Google_Service_ShoppingContent_ProductsListResponse extends Google_Collection
+{
+ public $kind;
+ public $nextPageToken;
+ protected $resourcesType = 'Google_Service_ShoppingContent_Product';
+ protected $resourcesDataType = 'array';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+
+ public function getResources()
+ {
+ return $this->resources;
+ }
+}
+
+class Google_Service_ShoppingContent_ProductstatusesCustomBatchRequest extends Google_Collection
+{
+ protected $entriesType = 'Google_Service_ShoppingContent_ProductstatusesCustomBatchRequestEntry';
+ protected $entriesDataType = 'array';
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+}
+
+class Google_Service_ShoppingContent_ProductstatusesCustomBatchRequestEntry extends Google_Model
+{
+ public $batchId;
+ public $merchantId;
+ public $method;
+ public $productId;
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setMerchantId($merchantId)
+ {
+ $this->merchantId = $merchantId;
+ }
+
+ public function getMerchantId()
+ {
+ return $this->merchantId;
+ }
+
+ public function setMethod($method)
+ {
+ $this->method = $method;
+ }
+
+ public function getMethod()
+ {
+ return $this->method;
+ }
+
+ public function setProductId($productId)
+ {
+ $this->productId = $productId;
+ }
+
+ public function getProductId()
+ {
+ return $this->productId;
+ }
+}
+
+class Google_Service_ShoppingContent_ProductstatusesCustomBatchResponse extends Google_Collection
+{
+ protected $entriesType = 'Google_Service_ShoppingContent_ProductstatusesCustomBatchResponseEntry';
+ protected $entriesDataType = 'array';
+ public $kind;
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_ShoppingContent_ProductstatusesCustomBatchResponseEntry extends Google_Model
+{
+ public $batchId;
+ protected $errorsType = 'Google_Service_ShoppingContent_Errors';
+ protected $errorsDataType = '';
+ public $kind;
+ protected $productStatusType = 'Google_Service_ShoppingContent_ProductStatus';
+ protected $productStatusDataType = '';
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setErrors(Google_Service_ShoppingContent_Errors $errors)
+ {
+ $this->errors = $errors;
+ }
+
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setProductStatus(Google_Service_ShoppingContent_ProductStatus $productStatus)
+ {
+ $this->productStatus = $productStatus;
+ }
+
+ public function getProductStatus()
+ {
+ return $this->productStatus;
+ }
+}
+
+class Google_Service_ShoppingContent_ProductstatusesListResponse extends Google_Collection
+{
+ public $kind;
+ public $nextPageToken;
+ protected $resourcesType = 'Google_Service_ShoppingContent_ProductStatus';
+ protected $resourcesDataType = 'array';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+
+ public function getResources()
+ {
+ return $this->resources;
+ }
+}
+
+class Google_Service_ShoppingContent_Weight extends Google_Model
+{
+ public $unit;
+ public $value;
+
+ public function setUnit($unit)
+ {
+ $this->unit = $unit;
+ }
+
+ public function getUnit()
+ {
+ return $this->unit;
+ }
+
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
From fa5e5160750d35d048696c24aa4cce40d1515b73 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Sat, 19 Jul 2014 00:48:58 -0700
Subject: [PATCH 0391/1602] Updated Oauth2.php
---
src/Google/Service/Oauth2.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Google/Service/Oauth2.php b/src/Google/Service/Oauth2.php
index 10deaf785..766cf4a56 100644
--- a/src/Google/Service/Oauth2.php
+++ b/src/Google/Service/Oauth2.php
@@ -37,7 +37,7 @@ class Google_Service_Oauth2 extends Google_Service
const PLUS_ME = "https://www.googleapis.com/auth/plus.me";
/** View your email address. */
const USERINFO_EMAIL = "https://www.googleapis.com/auth/userinfo.email";
- /** View basic information about your account. */
+ /** View your basic profile info. */
const USERINFO_PROFILE = "https://www.googleapis.com/auth/userinfo.profile";
public $userinfo;
From 5dd81002a7bc99b2bfc4acc704cf9f2c6bd9eb29 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Sat, 19 Jul 2014 00:48:59 -0700
Subject: [PATCH 0392/1602] Updated PlusDomains.php
---
src/Google/Service/PlusDomains.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Google/Service/PlusDomains.php b/src/Google/Service/PlusDomains.php
index df3679d83..3cd3bbef8 100644
--- a/src/Google/Service/PlusDomains.php
+++ b/src/Google/Service/PlusDomains.php
@@ -49,7 +49,7 @@ class Google_Service_PlusDomains extends Google_Service
const PLUS_STREAM_WRITE = "https://www.googleapis.com/auth/plus.stream.write";
/** View your email address. */
const USERINFO_EMAIL = "https://www.googleapis.com/auth/userinfo.email";
- /** View basic information about your account. */
+ /** View your basic profile info. */
const USERINFO_PROFILE = "https://www.googleapis.com/auth/userinfo.profile";
public $activities;
From 804f94d80522d2d00432e6a42f851713cfed61b9 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Sat, 19 Jul 2014 00:48:59 -0700
Subject: [PATCH 0393/1602] Updated Plus.php
---
src/Google/Service/Plus.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Google/Service/Plus.php b/src/Google/Service/Plus.php
index cf628f190..2f8721d30 100644
--- a/src/Google/Service/Plus.php
+++ b/src/Google/Service/Plus.php
@@ -37,7 +37,7 @@ class Google_Service_Plus extends Google_Service
const PLUS_ME = "https://www.googleapis.com/auth/plus.me";
/** View your email address. */
const USERINFO_EMAIL = "https://www.googleapis.com/auth/userinfo.email";
- /** View basic information about your account. */
+ /** View your basic profile info. */
const USERINFO_PROFILE = "https://www.googleapis.com/auth/userinfo.profile";
public $activities;
From cab95eeba6de613b2dc1d19c7d71d1311fd8a809 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Sat, 19 Jul 2014 00:49:00 -0700
Subject: [PATCH 0394/1602] Removed Content.php
---
src/Google/Service/Content.php | 4856 --------------------------------
1 file changed, 4856 deletions(-)
delete mode 100644 src/Google/Service/Content.php
diff --git a/src/Google/Service/Content.php b/src/Google/Service/Content.php
deleted file mode 100644
index 98e86c579..000000000
--- a/src/Google/Service/Content.php
+++ /dev/null
@@ -1,4856 +0,0 @@
-
- * Manage product items, inventory, and Merchant Center accounts for Google Shopping.
- *
- *
- *
- * For more information about this service, see the API
- * Documentation
- *
- *
- * @author Google, Inc.
- */
-class Google_Service_Content extends Google_Service
-{
- /** Manage your product listings and accounts for Google Shopping. */
- const CONTENT = "https://www.googleapis.com/auth/content";
-
- public $accounts;
- public $accountstatuses;
- public $datafeeds;
- public $datafeedstatuses;
- public $inventory;
- public $products;
- public $productstatuses;
-
-
- /**
- * Constructs the internal representation of the Content service.
- *
- * @param Google_Client $client
- */
- public function __construct(Google_Client $client)
- {
- parent::__construct($client);
- $this->servicePath = 'content/v2/';
- $this->version = 'v2';
- $this->serviceName = 'content';
-
- $this->accounts = new Google_Service_Content_Accounts_Resource(
- $this,
- $this->serviceName,
- 'accounts',
- array(
- 'methods' => array(
- 'custombatch' => array(
- 'path' => 'accounts/batch',
- 'httpMethod' => 'POST',
- 'parameters' => array(),
- ),'delete' => array(
- 'path' => '{merchantId}/accounts/{accountId}',
- 'httpMethod' => 'DELETE',
- 'parameters' => array(
- 'merchantId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'accountId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'get' => array(
- 'path' => '{merchantId}/accounts/{accountId}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'merchantId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'accountId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'insert' => array(
- 'path' => '{merchantId}/accounts',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'merchantId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'list' => array(
- 'path' => '{merchantId}/accounts',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'merchantId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'maxResults' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- ),
- ),'patch' => array(
- 'path' => '{merchantId}/accounts/{accountId}',
- 'httpMethod' => 'PATCH',
- 'parameters' => array(
- 'merchantId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'accountId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'update' => array(
- 'path' => '{merchantId}/accounts/{accountId}',
- 'httpMethod' => 'PUT',
- 'parameters' => array(
- 'merchantId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'accountId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),
- )
- )
- );
- $this->accountstatuses = new Google_Service_Content_Accountstatuses_Resource(
- $this,
- $this->serviceName,
- 'accountstatuses',
- array(
- 'methods' => array(
- 'custombatch' => array(
- 'path' => 'accountstatuses/batch',
- 'httpMethod' => 'POST',
- 'parameters' => array(),
- ),'get' => array(
- 'path' => '{merchantId}/accountstatuses/{accountId}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'merchantId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'accountId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'list' => array(
- 'path' => '{merchantId}/accountstatuses',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'merchantId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'maxResults' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- ),
- ),
- )
- )
- );
- $this->datafeeds = new Google_Service_Content_Datafeeds_Resource(
- $this,
- $this->serviceName,
- 'datafeeds',
- array(
- 'methods' => array(
- 'batch' => array(
- 'path' => 'datafeedsNativeBatch',
- 'httpMethod' => 'POST',
- 'parameters' => array(),
- ),'custombatch' => array(
- 'path' => 'datafeeds/batch',
- 'httpMethod' => 'POST',
- 'parameters' => array(),
- ),'delete' => array(
- 'path' => '{merchantId}/datafeeds/{datafeedId}',
- 'httpMethod' => 'DELETE',
- 'parameters' => array(
- 'merchantId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'datafeedId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'get' => array(
- 'path' => '{merchantId}/datafeeds/{datafeedId}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'merchantId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'datafeedId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'insert' => array(
- 'path' => '{merchantId}/datafeeds',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'merchantId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'list' => array(
- 'path' => '{merchantId}/datafeeds',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'merchantId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'patch' => array(
- 'path' => '{merchantId}/datafeeds/{datafeedId}',
- 'httpMethod' => 'PATCH',
- 'parameters' => array(
- 'merchantId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'datafeedId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'update' => array(
- 'path' => '{merchantId}/datafeeds/{datafeedId}',
- 'httpMethod' => 'PUT',
- 'parameters' => array(
- 'merchantId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'datafeedId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),
- )
- )
- );
- $this->datafeedstatuses = new Google_Service_Content_Datafeedstatuses_Resource(
- $this,
- $this->serviceName,
- 'datafeedstatuses',
- array(
- 'methods' => array(
- 'batch' => array(
- 'path' => 'datafeedstatusesNativeBatch',
- 'httpMethod' => 'POST',
- 'parameters' => array(),
- ),'custombatch' => array(
- 'path' => 'datafeedstatuses/batch',
- 'httpMethod' => 'POST',
- 'parameters' => array(),
- ),'get' => array(
- 'path' => '{merchantId}/datafeedstatuses/{datafeedId}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'merchantId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'datafeedId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'list' => array(
- 'path' => '{merchantId}/datafeedstatuses',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'merchantId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),
- )
- )
- );
- $this->inventory = new Google_Service_Content_Inventory_Resource(
- $this,
- $this->serviceName,
- 'inventory',
- array(
- 'methods' => array(
- 'custombatch' => array(
- 'path' => 'inventory/batch',
- 'httpMethod' => 'POST',
- 'parameters' => array(),
- ),'set' => array(
- 'path' => '{merchantId}/inventory/{storeCode}/products/{productId}',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'merchantId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'storeCode' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'productId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),
- )
- )
- );
- $this->products = new Google_Service_Content_Products_Resource(
- $this,
- $this->serviceName,
- 'products',
- array(
- 'methods' => array(
- 'custombatch' => array(
- 'path' => 'products/batch',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'dryRun' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- ),
- ),'delete' => array(
- 'path' => '{merchantId}/products/{productId}',
- 'httpMethod' => 'DELETE',
- 'parameters' => array(
- 'merchantId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'productId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'dryRun' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- ),
- ),'get' => array(
- 'path' => '{merchantId}/products/{productId}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'merchantId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'productId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'insert' => array(
- 'path' => '{merchantId}/products',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'merchantId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'dryRun' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- ),
- ),'list' => array(
- 'path' => '{merchantId}/products',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'merchantId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'maxResults' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- ),
- ),
- )
- )
- );
- $this->productstatuses = new Google_Service_Content_Productstatuses_Resource(
- $this,
- $this->serviceName,
- 'productstatuses',
- array(
- 'methods' => array(
- 'custombatch' => array(
- 'path' => 'productstatuses/batch',
- 'httpMethod' => 'POST',
- 'parameters' => array(),
- ),'get' => array(
- 'path' => '{merchantId}/productstatuses/{productId}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'merchantId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'productId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'list' => array(
- 'path' => '{merchantId}/productstatuses',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'merchantId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'maxResults' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- ),
- ),
- )
- )
- );
- }
-}
-
-
-/**
- * The "accounts" collection of methods.
- * Typical usage is:
- *
- * $contentService = new Google_Service_Content(...);
- * $accounts = $contentService->accounts;
- *
- */
-class Google_Service_Content_Accounts_Resource extends Google_Service_Resource
-{
-
- /**
- * Retrieves, inserts, updates, and deletes multiple Merchant Center
- * (sub-)accounts in a single request. (accounts.custombatch)
- *
- * @param Google_AccountsCustomBatchRequest $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Content_AccountsCustomBatchResponse
- */
- public function custombatch(Google_Service_Content_AccountsCustomBatchRequest $postBody, $optParams = array())
- {
- $params = array('postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('custombatch', array($params), "Google_Service_Content_AccountsCustomBatchResponse");
- }
- /**
- * Deletes a Merchant Center sub-account. (accounts.delete)
- *
- * @param string $merchantId
- * The ID of the managing account.
- * @param string $accountId
- * The ID of the account.
- * @param array $optParams Optional parameters.
- */
- public function delete($merchantId, $accountId, $optParams = array())
- {
- $params = array('merchantId' => $merchantId, 'accountId' => $accountId);
- $params = array_merge($params, $optParams);
- return $this->call('delete', array($params));
- }
- /**
- * Retrieves a Merchant Center account. (accounts.get)
- *
- * @param string $merchantId
- * The ID of the managing account.
- * @param string $accountId
- * The ID of the account.
- * @param array $optParams Optional parameters.
- * @return Google_Service_Content_Account
- */
- public function get($merchantId, $accountId, $optParams = array())
- {
- $params = array('merchantId' => $merchantId, 'accountId' => $accountId);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Content_Account");
- }
- /**
- * Creates a Merchant Center sub-account. (accounts.insert)
- *
- * @param string $merchantId
- * The ID of the managing account.
- * @param Google_Account $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Content_Account
- */
- public function insert($merchantId, Google_Service_Content_Account $postBody, $optParams = array())
- {
- $params = array('merchantId' => $merchantId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('insert', array($params), "Google_Service_Content_Account");
- }
- /**
- * Lists the sub-accounts in your Merchant Center account.
- * (accounts.listAccounts)
- *
- * @param string $merchantId
- * The ID of the managing account.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string pageToken
- * The token returned by the previous request.
- * @opt_param string maxResults
- * The maximum number of accounts to return in the response, used for paging.
- * @return Google_Service_Content_AccountsListResponse
- */
- public function listAccounts($merchantId, $optParams = array())
- {
- $params = array('merchantId' => $merchantId);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Content_AccountsListResponse");
- }
- /**
- * Updates a Merchant Center account. This method supports patch semantics.
- * (accounts.patch)
- *
- * @param string $merchantId
- * The ID of the managing account.
- * @param string $accountId
- * The ID of the account.
- * @param Google_Account $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Content_Account
- */
- public function patch($merchantId, $accountId, Google_Service_Content_Account $postBody, $optParams = array())
- {
- $params = array('merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('patch', array($params), "Google_Service_Content_Account");
- }
- /**
- * Updates a Merchant Center account. (accounts.update)
- *
- * @param string $merchantId
- * The ID of the managing account.
- * @param string $accountId
- * The ID of the account.
- * @param Google_Account $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Content_Account
- */
- public function update($merchantId, $accountId, Google_Service_Content_Account $postBody, $optParams = array())
- {
- $params = array('merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('update', array($params), "Google_Service_Content_Account");
- }
-}
-
-/**
- * The "accountstatuses" collection of methods.
- * Typical usage is:
- *
- * $contentService = new Google_Service_Content(...);
- * $accountstatuses = $contentService->accountstatuses;
- *
- */
-class Google_Service_Content_Accountstatuses_Resource extends Google_Service_Resource
-{
-
- /**
- * (accountstatuses.custombatch)
- *
- * @param Google_AccountstatusesCustomBatchRequest $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Content_AccountstatusesCustomBatchResponse
- */
- public function custombatch(Google_Service_Content_AccountstatusesCustomBatchRequest $postBody, $optParams = array())
- {
- $params = array('postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('custombatch', array($params), "Google_Service_Content_AccountstatusesCustomBatchResponse");
- }
- /**
- * Retrieves the status of a Merchant Center account. (accountstatuses.get)
- *
- * @param string $merchantId
- * The ID of the managing account.
- * @param string $accountId
- * The ID of the account.
- * @param array $optParams Optional parameters.
- * @return Google_Service_Content_AccountStatus
- */
- public function get($merchantId, $accountId, $optParams = array())
- {
- $params = array('merchantId' => $merchantId, 'accountId' => $accountId);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Content_AccountStatus");
- }
- /**
- * Lists the statuses of the sub-accounts in your Merchant Center account.
- * (accountstatuses.listAccountstatuses)
- *
- * @param string $merchantId
- * The ID of the managing account.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string pageToken
- * The token returned by the previous request.
- * @opt_param string maxResults
- * The maximum number of account statuses to return in the response, used for paging.
- * @return Google_Service_Content_AccountstatusesListResponse
- */
- public function listAccountstatuses($merchantId, $optParams = array())
- {
- $params = array('merchantId' => $merchantId);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Content_AccountstatusesListResponse");
- }
-}
-
-/**
- * The "datafeeds" collection of methods.
- * Typical usage is:
- *
- * $contentService = new Google_Service_Content(...);
- * $datafeeds = $contentService->datafeeds;
- *
- */
-class Google_Service_Content_Datafeeds_Resource extends Google_Service_Resource
-{
-
- /**
- * (datafeeds.batch)
- *
- * @param Google_DatafeedsBatchRequest $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Content_DatafeedsBatchResponse
- */
- public function batch(Google_Service_Content_DatafeedsBatchRequest $postBody, $optParams = array())
- {
- $params = array('postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('batch', array($params), "Google_Service_Content_DatafeedsBatchResponse");
- }
- /**
- * (datafeeds.custombatch)
- *
- * @param Google_DatafeedsCustomBatchRequest $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Content_DatafeedsCustomBatchResponse
- */
- public function custombatch(Google_Service_Content_DatafeedsCustomBatchRequest $postBody, $optParams = array())
- {
- $params = array('postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('custombatch', array($params), "Google_Service_Content_DatafeedsCustomBatchResponse");
- }
- /**
- * Deletes a datafeed from your Merchant Center account. (datafeeds.delete)
- *
- * @param string $merchantId
- *
- * @param string $datafeedId
- *
- * @param array $optParams Optional parameters.
- */
- public function delete($merchantId, $datafeedId, $optParams = array())
- {
- $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId);
- $params = array_merge($params, $optParams);
- return $this->call('delete', array($params));
- }
- /**
- * Retrieves a datafeed from your Merchant Center account. (datafeeds.get)
- *
- * @param string $merchantId
- *
- * @param string $datafeedId
- *
- * @param array $optParams Optional parameters.
- * @return Google_Service_Content_Datafeed
- */
- public function get($merchantId, $datafeedId, $optParams = array())
- {
- $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Content_Datafeed");
- }
- /**
- * Registers a datafeed with your Merchant Center account. (datafeeds.insert)
- *
- * @param string $merchantId
- *
- * @param Google_Datafeed $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Content_Datafeed
- */
- public function insert($merchantId, Google_Service_Content_Datafeed $postBody, $optParams = array())
- {
- $params = array('merchantId' => $merchantId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('insert', array($params), "Google_Service_Content_Datafeed");
- }
- /**
- * Lists the datafeeds in your Merchant Center account.
- * (datafeeds.listDatafeeds)
- *
- * @param string $merchantId
- *
- * @param array $optParams Optional parameters.
- * @return Google_Service_Content_DatafeedsListResponse
- */
- public function listDatafeeds($merchantId, $optParams = array())
- {
- $params = array('merchantId' => $merchantId);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Content_DatafeedsListResponse");
- }
- /**
- * Updates a datafeed of your Merchant Center account. This method supports
- * patch semantics. (datafeeds.patch)
- *
- * @param string $merchantId
- *
- * @param string $datafeedId
- *
- * @param Google_Datafeed $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Content_Datafeed
- */
- public function patch($merchantId, $datafeedId, Google_Service_Content_Datafeed $postBody, $optParams = array())
- {
- $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('patch', array($params), "Google_Service_Content_Datafeed");
- }
- /**
- * Updates a datafeed of your Merchant Center account. (datafeeds.update)
- *
- * @param string $merchantId
- *
- * @param string $datafeedId
- *
- * @param Google_Datafeed $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Content_Datafeed
- */
- public function update($merchantId, $datafeedId, Google_Service_Content_Datafeed $postBody, $optParams = array())
- {
- $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('update', array($params), "Google_Service_Content_Datafeed");
- }
-}
-
-/**
- * The "datafeedstatuses" collection of methods.
- * Typical usage is:
- *
- * $contentService = new Google_Service_Content(...);
- * $datafeedstatuses = $contentService->datafeedstatuses;
- *
- */
-class Google_Service_Content_Datafeedstatuses_Resource extends Google_Service_Resource
-{
-
- /**
- * (datafeedstatuses.batch)
- *
- * @param Google_DatafeedstatusesBatchRequest $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Content_DatafeedstatusesBatchResponse
- */
- public function batch(Google_Service_Content_DatafeedstatusesBatchRequest $postBody, $optParams = array())
- {
- $params = array('postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('batch', array($params), "Google_Service_Content_DatafeedstatusesBatchResponse");
- }
- /**
- * (datafeedstatuses.custombatch)
- *
- * @param Google_DatafeedstatusesCustomBatchRequest $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Content_DatafeedstatusesCustomBatchResponse
- */
- public function custombatch(Google_Service_Content_DatafeedstatusesCustomBatchRequest $postBody, $optParams = array())
- {
- $params = array('postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('custombatch', array($params), "Google_Service_Content_DatafeedstatusesCustomBatchResponse");
- }
- /**
- * Retrieves the status of a datafeed from your Merchant Center account.
- * (datafeedstatuses.get)
- *
- * @param string $merchantId
- *
- * @param string $datafeedId
- *
- * @param array $optParams Optional parameters.
- * @return Google_Service_Content_DatafeedStatus
- */
- public function get($merchantId, $datafeedId, $optParams = array())
- {
- $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Content_DatafeedStatus");
- }
- /**
- * Lists the statuses of the datafeeds in your Merchant Center account.
- * (datafeedstatuses.listDatafeedstatuses)
- *
- * @param string $merchantId
- *
- * @param array $optParams Optional parameters.
- * @return Google_Service_Content_DatafeedstatusesListResponse
- */
- public function listDatafeedstatuses($merchantId, $optParams = array())
- {
- $params = array('merchantId' => $merchantId);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Content_DatafeedstatusesListResponse");
- }
-}
-
-/**
- * The "inventory" collection of methods.
- * Typical usage is:
- *
- * $contentService = new Google_Service_Content(...);
- * $inventory = $contentService->inventory;
- *
- */
-class Google_Service_Content_Inventory_Resource extends Google_Service_Resource
-{
-
- /**
- * Updates price and availability for multiple products or stores in a single
- * request. (inventory.custombatch)
- *
- * @param Google_InventoryCustomBatchRequest $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Content_InventoryCustomBatchResponse
- */
- public function custombatch(Google_Service_Content_InventoryCustomBatchRequest $postBody, $optParams = array())
- {
- $params = array('postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('custombatch', array($params), "Google_Service_Content_InventoryCustomBatchResponse");
- }
- /**
- * Updates price and availability of a product in your Merchant Center account.
- * (inventory.set)
- *
- * @param string $merchantId
- * The ID of the managing account.
- * @param string $storeCode
- * The code of the store for which to update price and availability. Use online to update price and
- * availability of an online product.
- * @param string $productId
- * The ID of the product for which to update price and availability.
- * @param Google_InventorySetRequest $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Content_InventorySetResponse
- */
- public function set($merchantId, $storeCode, $productId, Google_Service_Content_InventorySetRequest $postBody, $optParams = array())
- {
- $params = array('merchantId' => $merchantId, 'storeCode' => $storeCode, 'productId' => $productId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('set', array($params), "Google_Service_Content_InventorySetResponse");
- }
-}
-
-/**
- * The "products" collection of methods.
- * Typical usage is:
- *
- * $contentService = new Google_Service_Content(...);
- * $products = $contentService->products;
- *
- */
-class Google_Service_Content_Products_Resource extends Google_Service_Resource
-{
-
- /**
- * Retrieves, inserts, and deletes multiple products in a single request.
- * (products.custombatch)
- *
- * @param Google_ProductsCustomBatchRequest $postBody
- * @param array $optParams Optional parameters.
- *
- * @opt_param bool dryRun
- * Flag to run the request in dry-run mode.
- * @return Google_Service_Content_ProductsCustomBatchResponse
- */
- public function custombatch(Google_Service_Content_ProductsCustomBatchRequest $postBody, $optParams = array())
- {
- $params = array('postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('custombatch', array($params), "Google_Service_Content_ProductsCustomBatchResponse");
- }
- /**
- * Deletes a product from your Merchant Center account. (products.delete)
- *
- * @param string $merchantId
- * The ID of the managing account.
- * @param string $productId
- * The ID of the product.
- * @param array $optParams Optional parameters.
- *
- * @opt_param bool dryRun
- * Flag to run the request in dry-run mode.
- */
- public function delete($merchantId, $productId, $optParams = array())
- {
- $params = array('merchantId' => $merchantId, 'productId' => $productId);
- $params = array_merge($params, $optParams);
- return $this->call('delete', array($params));
- }
- /**
- * Retrieves a product from your Merchant Center account. (products.get)
- *
- * @param string $merchantId
- * The ID of the managing account.
- * @param string $productId
- * The ID of the product.
- * @param array $optParams Optional parameters.
- * @return Google_Service_Content_Product
- */
- public function get($merchantId, $productId, $optParams = array())
- {
- $params = array('merchantId' => $merchantId, 'productId' => $productId);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Content_Product");
- }
- /**
- * Uploads a product to your Merchant Center account. (products.insert)
- *
- * @param string $merchantId
- * The ID of the managing account.
- * @param Google_Product $postBody
- * @param array $optParams Optional parameters.
- *
- * @opt_param bool dryRun
- * Flag to run the request in dry-run mode.
- * @return Google_Service_Content_Product
- */
- public function insert($merchantId, Google_Service_Content_Product $postBody, $optParams = array())
- {
- $params = array('merchantId' => $merchantId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('insert', array($params), "Google_Service_Content_Product");
- }
- /**
- * Lists the products in your Merchant Center account. (products.listProducts)
- *
- * @param string $merchantId
- * The ID of the managing account.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string pageToken
- * The token returned by the previous request.
- * @opt_param string maxResults
- * The maximum number of products to return in the response, used for paging.
- * @return Google_Service_Content_ProductsListResponse
- */
- public function listProducts($merchantId, $optParams = array())
- {
- $params = array('merchantId' => $merchantId);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Content_ProductsListResponse");
- }
-}
-
-/**
- * The "productstatuses" collection of methods.
- * Typical usage is:
- *
- * $contentService = new Google_Service_Content(...);
- * $productstatuses = $contentService->productstatuses;
- *
- */
-class Google_Service_Content_Productstatuses_Resource extends Google_Service_Resource
-{
-
- /**
- * Gets the statuses of multiple products in a single request.
- * (productstatuses.custombatch)
- *
- * @param Google_ProductstatusesCustomBatchRequest $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Content_ProductstatusesCustomBatchResponse
- */
- public function custombatch(Google_Service_Content_ProductstatusesCustomBatchRequest $postBody, $optParams = array())
- {
- $params = array('postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('custombatch', array($params), "Google_Service_Content_ProductstatusesCustomBatchResponse");
- }
- /**
- * Gets the status of a product from your Merchant Center account.
- * (productstatuses.get)
- *
- * @param string $merchantId
- * The ID of the managing account.
- * @param string $productId
- * The ID of the product.
- * @param array $optParams Optional parameters.
- * @return Google_Service_Content_ProductStatus
- */
- public function get($merchantId, $productId, $optParams = array())
- {
- $params = array('merchantId' => $merchantId, 'productId' => $productId);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Content_ProductStatus");
- }
- /**
- * Lists the statuses of the products in your Merchant Center account.
- * (productstatuses.listProductstatuses)
- *
- * @param string $merchantId
- * The ID of the managing account.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string pageToken
- * The token returned by the previous request.
- * @opt_param string maxResults
- * The maximum number of product statuses to return in the response, used for paging.
- * @return Google_Service_Content_ProductstatusesListResponse
- */
- public function listProductstatuses($merchantId, $optParams = array())
- {
- $params = array('merchantId' => $merchantId);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Content_ProductstatusesListResponse");
- }
-}
-
-
-
-
-class Google_Service_Content_Account extends Google_Collection
-{
- public $adultContent;
- protected $adwordsLinksType = 'Google_Service_Content_AccountAdwordsLink';
- protected $adwordsLinksDataType = 'array';
- public $id;
- public $kind;
- public $name;
- public $reviewsUrl;
- public $sellerId;
- protected $usersType = 'Google_Service_Content_AccountUser';
- protected $usersDataType = 'array';
- public $websiteUrl;
-
- public function setAdultContent($adultContent)
- {
- $this->adultContent = $adultContent;
- }
-
- public function getAdultContent()
- {
- return $this->adultContent;
- }
-
- public function setAdwordsLinks($adwordsLinks)
- {
- $this->adwordsLinks = $adwordsLinks;
- }
-
- public function getAdwordsLinks()
- {
- return $this->adwordsLinks;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setReviewsUrl($reviewsUrl)
- {
- $this->reviewsUrl = $reviewsUrl;
- }
-
- public function getReviewsUrl()
- {
- return $this->reviewsUrl;
- }
-
- public function setSellerId($sellerId)
- {
- $this->sellerId = $sellerId;
- }
-
- public function getSellerId()
- {
- return $this->sellerId;
- }
-
- public function setUsers($users)
- {
- $this->users = $users;
- }
-
- public function getUsers()
- {
- return $this->users;
- }
-
- public function setWebsiteUrl($websiteUrl)
- {
- $this->websiteUrl = $websiteUrl;
- }
-
- public function getWebsiteUrl()
- {
- return $this->websiteUrl;
- }
-}
-
-class Google_Service_Content_AccountAdwordsLink extends Google_Model
-{
- public $adwordsId;
- public $status;
-
- public function setAdwordsId($adwordsId)
- {
- $this->adwordsId = $adwordsId;
- }
-
- public function getAdwordsId()
- {
- return $this->adwordsId;
- }
-
- public function setStatus($status)
- {
- $this->status = $status;
- }
-
- public function getStatus()
- {
- return $this->status;
- }
-}
-
-class Google_Service_Content_AccountStatus extends Google_Collection
-{
- public $accountId;
- protected $dataQualityIssuesType = 'Google_Service_Content_AccountStatusDataQualityIssue';
- protected $dataQualityIssuesDataType = 'array';
- public $kind;
-
- public function setAccountId($accountId)
- {
- $this->accountId = $accountId;
- }
-
- public function getAccountId()
- {
- return $this->accountId;
- }
-
- public function setDataQualityIssues($dataQualityIssues)
- {
- $this->dataQualityIssues = $dataQualityIssues;
- }
-
- public function getDataQualityIssues()
- {
- return $this->dataQualityIssues;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-}
-
-class Google_Service_Content_AccountStatusDataQualityIssue extends Google_Collection
-{
- public $country;
- public $displayedValue;
- protected $exampleItemsType = 'Google_Service_Content_AccountStatusExampleItem';
- protected $exampleItemsDataType = 'array';
- public $id;
- public $lastChecked;
- public $numItems;
- public $severity;
- public $submittedValue;
-
- public function setCountry($country)
- {
- $this->country = $country;
- }
-
- public function getCountry()
- {
- return $this->country;
- }
-
- public function setDisplayedValue($displayedValue)
- {
- $this->displayedValue = $displayedValue;
- }
-
- public function getDisplayedValue()
- {
- return $this->displayedValue;
- }
-
- public function setExampleItems($exampleItems)
- {
- $this->exampleItems = $exampleItems;
- }
-
- public function getExampleItems()
- {
- return $this->exampleItems;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setLastChecked($lastChecked)
- {
- $this->lastChecked = $lastChecked;
- }
-
- public function getLastChecked()
- {
- return $this->lastChecked;
- }
-
- public function setNumItems($numItems)
- {
- $this->numItems = $numItems;
- }
-
- public function getNumItems()
- {
- return $this->numItems;
- }
-
- public function setSeverity($severity)
- {
- $this->severity = $severity;
- }
-
- public function getSeverity()
- {
- return $this->severity;
- }
-
- public function setSubmittedValue($submittedValue)
- {
- $this->submittedValue = $submittedValue;
- }
-
- public function getSubmittedValue()
- {
- return $this->submittedValue;
- }
-}
-
-class Google_Service_Content_AccountStatusExampleItem extends Google_Model
-{
- public $itemId;
- public $link;
- public $submittedValue;
- public $title;
- public $valueOnLandingPage;
-
- public function setItemId($itemId)
- {
- $this->itemId = $itemId;
- }
-
- public function getItemId()
- {
- return $this->itemId;
- }
-
- public function setLink($link)
- {
- $this->link = $link;
- }
-
- public function getLink()
- {
- return $this->link;
- }
-
- public function setSubmittedValue($submittedValue)
- {
- $this->submittedValue = $submittedValue;
- }
-
- public function getSubmittedValue()
- {
- return $this->submittedValue;
- }
-
- public function setTitle($title)
- {
- $this->title = $title;
- }
-
- public function getTitle()
- {
- return $this->title;
- }
-
- public function setValueOnLandingPage($valueOnLandingPage)
- {
- $this->valueOnLandingPage = $valueOnLandingPage;
- }
-
- public function getValueOnLandingPage()
- {
- return $this->valueOnLandingPage;
- }
-}
-
-class Google_Service_Content_AccountUser extends Google_Model
-{
- public $admin;
- public $emailAddress;
-
- public function setAdmin($admin)
- {
- $this->admin = $admin;
- }
-
- public function getAdmin()
- {
- return $this->admin;
- }
-
- public function setEmailAddress($emailAddress)
- {
- $this->emailAddress = $emailAddress;
- }
-
- public function getEmailAddress()
- {
- return $this->emailAddress;
- }
-}
-
-class Google_Service_Content_AccountsCustomBatchRequest extends Google_Collection
-{
- protected $entriesType = 'Google_Service_Content_AccountsCustomBatchRequestEntry';
- protected $entriesDataType = 'array';
-
- public function setEntries($entries)
- {
- $this->entries = $entries;
- }
-
- public function getEntries()
- {
- return $this->entries;
- }
-}
-
-class Google_Service_Content_AccountsCustomBatchRequestEntry extends Google_Model
-{
- protected $accountType = 'Google_Service_Content_Account';
- protected $accountDataType = '';
- public $accountId;
- public $batchId;
- public $merchantId;
- public $method;
-
- public function setAccount(Google_Service_Content_Account $account)
- {
- $this->account = $account;
- }
-
- public function getAccount()
- {
- return $this->account;
- }
-
- public function setAccountId($accountId)
- {
- $this->accountId = $accountId;
- }
-
- public function getAccountId()
- {
- return $this->accountId;
- }
-
- public function setBatchId($batchId)
- {
- $this->batchId = $batchId;
- }
-
- public function getBatchId()
- {
- return $this->batchId;
- }
-
- public function setMerchantId($merchantId)
- {
- $this->merchantId = $merchantId;
- }
-
- public function getMerchantId()
- {
- return $this->merchantId;
- }
-
- public function setMethod($method)
- {
- $this->method = $method;
- }
-
- public function getMethod()
- {
- return $this->method;
- }
-}
-
-class Google_Service_Content_AccountsCustomBatchResponse extends Google_Collection
-{
- protected $entriesType = 'Google_Service_Content_AccountsCustomBatchResponseEntry';
- protected $entriesDataType = 'array';
- public $kind;
-
- public function setEntries($entries)
- {
- $this->entries = $entries;
- }
-
- public function getEntries()
- {
- return $this->entries;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-}
-
-class Google_Service_Content_AccountsCustomBatchResponseEntry extends Google_Model
-{
- protected $accountType = 'Google_Service_Content_Account';
- protected $accountDataType = '';
- public $batchId;
- protected $errorsType = 'Google_Service_Content_Errors';
- protected $errorsDataType = '';
- public $kind;
-
- public function setAccount(Google_Service_Content_Account $account)
- {
- $this->account = $account;
- }
-
- public function getAccount()
- {
- return $this->account;
- }
-
- public function setBatchId($batchId)
- {
- $this->batchId = $batchId;
- }
-
- public function getBatchId()
- {
- return $this->batchId;
- }
-
- public function setErrors(Google_Service_Content_Errors $errors)
- {
- $this->errors = $errors;
- }
-
- public function getErrors()
- {
- return $this->errors;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-}
-
-class Google_Service_Content_AccountsListResponse extends Google_Collection
-{
- public $kind;
- public $nextPageToken;
- protected $resourcesType = 'Google_Service_Content_Account';
- protected $resourcesDataType = 'array';
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
-
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-
- public function setResources($resources)
- {
- $this->resources = $resources;
- }
-
- public function getResources()
- {
- return $this->resources;
- }
-}
-
-class Google_Service_Content_AccountstatusesCustomBatchRequest extends Google_Collection
-{
- protected $entriesType = 'Google_Service_Content_AccountstatusesCustomBatchRequestEntry';
- protected $entriesDataType = 'array';
-
- public function setEntries($entries)
- {
- $this->entries = $entries;
- }
-
- public function getEntries()
- {
- return $this->entries;
- }
-}
-
-class Google_Service_Content_AccountstatusesCustomBatchRequestEntry extends Google_Model
-{
- public $accountId;
- public $batchId;
- public $merchantId;
- public $method;
-
- public function setAccountId($accountId)
- {
- $this->accountId = $accountId;
- }
-
- public function getAccountId()
- {
- return $this->accountId;
- }
-
- public function setBatchId($batchId)
- {
- $this->batchId = $batchId;
- }
-
- public function getBatchId()
- {
- return $this->batchId;
- }
-
- public function setMerchantId($merchantId)
- {
- $this->merchantId = $merchantId;
- }
-
- public function getMerchantId()
- {
- return $this->merchantId;
- }
-
- public function setMethod($method)
- {
- $this->method = $method;
- }
-
- public function getMethod()
- {
- return $this->method;
- }
-}
-
-class Google_Service_Content_AccountstatusesCustomBatchResponse extends Google_Collection
-{
- protected $entriesType = 'Google_Service_Content_AccountstatusesCustomBatchResponseEntry';
- protected $entriesDataType = 'array';
- public $kind;
-
- public function setEntries($entries)
- {
- $this->entries = $entries;
- }
-
- public function getEntries()
- {
- return $this->entries;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-}
-
-class Google_Service_Content_AccountstatusesCustomBatchResponseEntry extends Google_Model
-{
- protected $accountStatusType = 'Google_Service_Content_AccountStatus';
- protected $accountStatusDataType = '';
- public $batchId;
- protected $errorsType = 'Google_Service_Content_Errors';
- protected $errorsDataType = '';
-
- public function setAccountStatus(Google_Service_Content_AccountStatus $accountStatus)
- {
- $this->accountStatus = $accountStatus;
- }
-
- public function getAccountStatus()
- {
- return $this->accountStatus;
- }
-
- public function setBatchId($batchId)
- {
- $this->batchId = $batchId;
- }
-
- public function getBatchId()
- {
- return $this->batchId;
- }
-
- public function setErrors(Google_Service_Content_Errors $errors)
- {
- $this->errors = $errors;
- }
-
- public function getErrors()
- {
- return $this->errors;
- }
-}
-
-class Google_Service_Content_AccountstatusesListResponse extends Google_Collection
-{
- public $kind;
- public $nextPageToken;
- protected $resourcesType = 'Google_Service_Content_AccountStatus';
- protected $resourcesDataType = 'array';
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
-
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-
- public function setResources($resources)
- {
- $this->resources = $resources;
- }
-
- public function getResources()
- {
- return $this->resources;
- }
-}
-
-class Google_Service_Content_Datafeed extends Google_Collection
-{
- public $attributeLanguage;
- public $contentLanguage;
- public $contentType;
- protected $fetchScheduleType = 'Google_Service_Content_DatafeedFetchSchedule';
- protected $fetchScheduleDataType = '';
- public $fileName;
- protected $formatType = 'Google_Service_Content_DatafeedFormat';
- protected $formatDataType = '';
- public $id;
- public $intendedDestinations;
- public $kind;
- public $name;
- public $targetCountry;
-
- public function setAttributeLanguage($attributeLanguage)
- {
- $this->attributeLanguage = $attributeLanguage;
- }
-
- public function getAttributeLanguage()
- {
- return $this->attributeLanguage;
- }
-
- public function setContentLanguage($contentLanguage)
- {
- $this->contentLanguage = $contentLanguage;
- }
-
- public function getContentLanguage()
- {
- return $this->contentLanguage;
- }
-
- public function setContentType($contentType)
- {
- $this->contentType = $contentType;
- }
-
- public function getContentType()
- {
- return $this->contentType;
- }
-
- public function setFetchSchedule(Google_Service_Content_DatafeedFetchSchedule $fetchSchedule)
- {
- $this->fetchSchedule = $fetchSchedule;
- }
-
- public function getFetchSchedule()
- {
- return $this->fetchSchedule;
- }
-
- public function setFileName($fileName)
- {
- $this->fileName = $fileName;
- }
-
- public function getFileName()
- {
- return $this->fileName;
- }
-
- public function setFormat(Google_Service_Content_DatafeedFormat $format)
- {
- $this->format = $format;
- }
-
- public function getFormat()
- {
- return $this->format;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setIntendedDestinations($intendedDestinations)
- {
- $this->intendedDestinations = $intendedDestinations;
- }
-
- public function getIntendedDestinations()
- {
- return $this->intendedDestinations;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setTargetCountry($targetCountry)
- {
- $this->targetCountry = $targetCountry;
- }
-
- public function getTargetCountry()
- {
- return $this->targetCountry;
- }
-}
-
-class Google_Service_Content_DatafeedFetchSchedule extends Google_Model
-{
- public $dayOfMonth;
- public $fetchUrl;
- public $hour;
- public $password;
- public $timeZone;
- public $username;
- public $weekday;
-
- public function setDayOfMonth($dayOfMonth)
- {
- $this->dayOfMonth = $dayOfMonth;
- }
-
- public function getDayOfMonth()
- {
- return $this->dayOfMonth;
- }
-
- public function setFetchUrl($fetchUrl)
- {
- $this->fetchUrl = $fetchUrl;
- }
-
- public function getFetchUrl()
- {
- return $this->fetchUrl;
- }
-
- public function setHour($hour)
- {
- $this->hour = $hour;
- }
-
- public function getHour()
- {
- return $this->hour;
- }
-
- public function setPassword($password)
- {
- $this->password = $password;
- }
-
- public function getPassword()
- {
- return $this->password;
- }
-
- public function setTimeZone($timeZone)
- {
- $this->timeZone = $timeZone;
- }
-
- public function getTimeZone()
- {
- return $this->timeZone;
- }
-
- public function setUsername($username)
- {
- $this->username = $username;
- }
-
- public function getUsername()
- {
- return $this->username;
- }
-
- public function setWeekday($weekday)
- {
- $this->weekday = $weekday;
- }
-
- public function getWeekday()
- {
- return $this->weekday;
- }
-}
-
-class Google_Service_Content_DatafeedFormat extends Google_Model
-{
- public $columnDelimiter;
- public $fileEncoding;
- public $quotingMode;
-
- public function setColumnDelimiter($columnDelimiter)
- {
- $this->columnDelimiter = $columnDelimiter;
- }
-
- public function getColumnDelimiter()
- {
- return $this->columnDelimiter;
- }
-
- public function setFileEncoding($fileEncoding)
- {
- $this->fileEncoding = $fileEncoding;
- }
-
- public function getFileEncoding()
- {
- return $this->fileEncoding;
- }
-
- public function setQuotingMode($quotingMode)
- {
- $this->quotingMode = $quotingMode;
- }
-
- public function getQuotingMode()
- {
- return $this->quotingMode;
- }
-}
-
-class Google_Service_Content_DatafeedStatus extends Google_Collection
-{
- public $datafeedId;
- protected $errorsType = 'Google_Service_Content_DatafeedStatusError';
- protected $errorsDataType = 'array';
- public $itemsTotal;
- public $itemsValid;
- public $kind;
- public $processingStatus;
- protected $warningsType = 'Google_Service_Content_DatafeedStatusError';
- protected $warningsDataType = 'array';
-
- public function setDatafeedId($datafeedId)
- {
- $this->datafeedId = $datafeedId;
- }
-
- public function getDatafeedId()
- {
- return $this->datafeedId;
- }
-
- public function setErrors($errors)
- {
- $this->errors = $errors;
- }
-
- public function getErrors()
- {
- return $this->errors;
- }
-
- public function setItemsTotal($itemsTotal)
- {
- $this->itemsTotal = $itemsTotal;
- }
-
- public function getItemsTotal()
- {
- return $this->itemsTotal;
- }
-
- public function setItemsValid($itemsValid)
- {
- $this->itemsValid = $itemsValid;
- }
-
- public function getItemsValid()
- {
- return $this->itemsValid;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setProcessingStatus($processingStatus)
- {
- $this->processingStatus = $processingStatus;
- }
-
- public function getProcessingStatus()
- {
- return $this->processingStatus;
- }
-
- public function setWarnings($warnings)
- {
- $this->warnings = $warnings;
- }
-
- public function getWarnings()
- {
- return $this->warnings;
- }
-}
-
-class Google_Service_Content_DatafeedStatusError extends Google_Collection
-{
- public $code;
- public $count;
- protected $examplesType = 'Google_Service_Content_DatafeedStatusExample';
- protected $examplesDataType = 'array';
- public $message;
-
- public function setCode($code)
- {
- $this->code = $code;
- }
-
- public function getCode()
- {
- return $this->code;
- }
-
- public function setCount($count)
- {
- $this->count = $count;
- }
-
- public function getCount()
- {
- return $this->count;
- }
-
- public function setExamples($examples)
- {
- $this->examples = $examples;
- }
-
- public function getExamples()
- {
- return $this->examples;
- }
-
- public function setMessage($message)
- {
- $this->message = $message;
- }
-
- public function getMessage()
- {
- return $this->message;
- }
-}
-
-class Google_Service_Content_DatafeedStatusExample extends Google_Model
-{
- public $itemId;
- public $lineNumber;
- public $value;
-
- public function setItemId($itemId)
- {
- $this->itemId = $itemId;
- }
-
- public function getItemId()
- {
- return $this->itemId;
- }
-
- public function setLineNumber($lineNumber)
- {
- $this->lineNumber = $lineNumber;
- }
-
- public function getLineNumber()
- {
- return $this->lineNumber;
- }
-
- public function setValue($value)
- {
- $this->value = $value;
- }
-
- public function getValue()
- {
- return $this->value;
- }
-}
-
-class Google_Service_Content_DatafeedsBatchRequest extends Google_Collection
-{
- protected $entrysType = 'Google_Service_Content_DatafeedsBatchRequestEntry';
- protected $entrysDataType = 'array';
-
- public function setEntrys($entrys)
- {
- $this->entrys = $entrys;
- }
-
- public function getEntrys()
- {
- return $this->entrys;
- }
-}
-
-class Google_Service_Content_DatafeedsBatchRequestEntry extends Google_Model
-{
- public $batchId;
- protected $datafeedsinsertrequestType = 'Google_Service_Content_DatafeedsInsertRequest';
- protected $datafeedsinsertrequestDataType = '';
- protected $datafeedsupdaterequestType = 'Google_Service_Content_DatafeedsUpdateRequest';
- protected $datafeedsupdaterequestDataType = '';
- public $methodName;
-
- public function setBatchId($batchId)
- {
- $this->batchId = $batchId;
- }
-
- public function getBatchId()
- {
- return $this->batchId;
- }
-
- public function setDatafeedsinsertrequest(Google_Service_Content_DatafeedsInsertRequest $datafeedsinsertrequest)
- {
- $this->datafeedsinsertrequest = $datafeedsinsertrequest;
- }
-
- public function getDatafeedsinsertrequest()
- {
- return $this->datafeedsinsertrequest;
- }
-
- public function setDatafeedsupdaterequest(Google_Service_Content_DatafeedsUpdateRequest $datafeedsupdaterequest)
- {
- $this->datafeedsupdaterequest = $datafeedsupdaterequest;
- }
-
- public function getDatafeedsupdaterequest()
- {
- return $this->datafeedsupdaterequest;
- }
-
- public function setMethodName($methodName)
- {
- $this->methodName = $methodName;
- }
-
- public function getMethodName()
- {
- return $this->methodName;
- }
-}
-
-class Google_Service_Content_DatafeedsBatchResponse extends Google_Collection
-{
- protected $entrysType = 'Google_Service_Content_DatafeedsBatchResponseEntry';
- protected $entrysDataType = 'array';
- public $kind;
-
- public function setEntrys($entrys)
- {
- $this->entrys = $entrys;
- }
-
- public function getEntrys()
- {
- return $this->entrys;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-}
-
-class Google_Service_Content_DatafeedsBatchResponseEntry extends Google_Model
-{
- public $batchId;
- protected $datafeedsgetresponseType = 'Google_Service_Content_DatafeedsGetResponse';
- protected $datafeedsgetresponseDataType = '';
- protected $datafeedsinsertresponseType = 'Google_Service_Content_DatafeedsInsertResponse';
- protected $datafeedsinsertresponseDataType = '';
- protected $datafeedsupdateresponseType = 'Google_Service_Content_DatafeedsUpdateResponse';
- protected $datafeedsupdateresponseDataType = '';
-
- public function setBatchId($batchId)
- {
- $this->batchId = $batchId;
- }
-
- public function getBatchId()
- {
- return $this->batchId;
- }
-
- public function setDatafeedsgetresponse(Google_Service_Content_DatafeedsGetResponse $datafeedsgetresponse)
- {
- $this->datafeedsgetresponse = $datafeedsgetresponse;
- }
-
- public function getDatafeedsgetresponse()
- {
- return $this->datafeedsgetresponse;
- }
-
- public function setDatafeedsinsertresponse(Google_Service_Content_DatafeedsInsertResponse $datafeedsinsertresponse)
- {
- $this->datafeedsinsertresponse = $datafeedsinsertresponse;
- }
-
- public function getDatafeedsinsertresponse()
- {
- return $this->datafeedsinsertresponse;
- }
-
- public function setDatafeedsupdateresponse(Google_Service_Content_DatafeedsUpdateResponse $datafeedsupdateresponse)
- {
- $this->datafeedsupdateresponse = $datafeedsupdateresponse;
- }
-
- public function getDatafeedsupdateresponse()
- {
- return $this->datafeedsupdateresponse;
- }
-}
-
-class Google_Service_Content_DatafeedsCustomBatchRequest extends Google_Collection
-{
- protected $entriesType = 'Google_Service_Content_DatafeedsCustomBatchRequestEntry';
- protected $entriesDataType = 'array';
-
- public function setEntries($entries)
- {
- $this->entries = $entries;
- }
-
- public function getEntries()
- {
- return $this->entries;
- }
-}
-
-class Google_Service_Content_DatafeedsCustomBatchRequestEntry extends Google_Model
-{
- public $batchId;
- protected $datafeedType = 'Google_Service_Content_Datafeed';
- protected $datafeedDataType = '';
- public $datafeedId;
- public $merchantId;
- public $method;
-
- public function setBatchId($batchId)
- {
- $this->batchId = $batchId;
- }
-
- public function getBatchId()
- {
- return $this->batchId;
- }
-
- public function setDatafeed(Google_Service_Content_Datafeed $datafeed)
- {
- $this->datafeed = $datafeed;
- }
-
- public function getDatafeed()
- {
- return $this->datafeed;
- }
-
- public function setDatafeedId($datafeedId)
- {
- $this->datafeedId = $datafeedId;
- }
-
- public function getDatafeedId()
- {
- return $this->datafeedId;
- }
-
- public function setMerchantId($merchantId)
- {
- $this->merchantId = $merchantId;
- }
-
- public function getMerchantId()
- {
- return $this->merchantId;
- }
-
- public function setMethod($method)
- {
- $this->method = $method;
- }
-
- public function getMethod()
- {
- return $this->method;
- }
-}
-
-class Google_Service_Content_DatafeedsCustomBatchResponse extends Google_Collection
-{
- protected $entriesType = 'Google_Service_Content_DatafeedsCustomBatchResponseEntry';
- protected $entriesDataType = 'array';
- public $kind;
-
- public function setEntries($entries)
- {
- $this->entries = $entries;
- }
-
- public function getEntries()
- {
- return $this->entries;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-}
-
-class Google_Service_Content_DatafeedsCustomBatchResponseEntry extends Google_Model
-{
- public $batchId;
- protected $datafeedType = 'Google_Service_Content_Datafeed';
- protected $datafeedDataType = '';
- protected $errorsType = 'Google_Service_Content_Errors';
- protected $errorsDataType = '';
-
- public function setBatchId($batchId)
- {
- $this->batchId = $batchId;
- }
-
- public function getBatchId()
- {
- return $this->batchId;
- }
-
- public function setDatafeed(Google_Service_Content_Datafeed $datafeed)
- {
- $this->datafeed = $datafeed;
- }
-
- public function getDatafeed()
- {
- return $this->datafeed;
- }
-
- public function setErrors(Google_Service_Content_Errors $errors)
- {
- $this->errors = $errors;
- }
-
- public function getErrors()
- {
- return $this->errors;
- }
-}
-
-class Google_Service_Content_DatafeedsGetResponse extends Google_Model
-{
- public $kind;
- protected $resourceType = 'Google_Service_Content_Datafeed';
- protected $resourceDataType = '';
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setResource(Google_Service_Content_Datafeed $resource)
- {
- $this->resource = $resource;
- }
-
- public function getResource()
- {
- return $this->resource;
- }
-}
-
-class Google_Service_Content_DatafeedsInsertRequest extends Google_Model
-{
- protected $resourceType = 'Google_Service_Content_Datafeed';
- protected $resourceDataType = '';
-
- public function setResource(Google_Service_Content_Datafeed $resource)
- {
- $this->resource = $resource;
- }
-
- public function getResource()
- {
- return $this->resource;
- }
-}
-
-class Google_Service_Content_DatafeedsInsertResponse extends Google_Model
-{
- public $kind;
- protected $resourceType = 'Google_Service_Content_Datafeed';
- protected $resourceDataType = '';
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setResource(Google_Service_Content_Datafeed $resource)
- {
- $this->resource = $resource;
- }
-
- public function getResource()
- {
- return $this->resource;
- }
-}
-
-class Google_Service_Content_DatafeedsListResponse extends Google_Collection
-{
- public $kind;
- protected $resourcesType = 'Google_Service_Content_Datafeed';
- protected $resourcesDataType = 'array';
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setResources($resources)
- {
- $this->resources = $resources;
- }
-
- public function getResources()
- {
- return $this->resources;
- }
-}
-
-class Google_Service_Content_DatafeedsUpdateRequest extends Google_Model
-{
- protected $resourceType = 'Google_Service_Content_Datafeed';
- protected $resourceDataType = '';
-
- public function setResource(Google_Service_Content_Datafeed $resource)
- {
- $this->resource = $resource;
- }
-
- public function getResource()
- {
- return $this->resource;
- }
-}
-
-class Google_Service_Content_DatafeedsUpdateResponse extends Google_Model
-{
- public $kind;
- protected $resourceType = 'Google_Service_Content_Datafeed';
- protected $resourceDataType = '';
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setResource(Google_Service_Content_Datafeed $resource)
- {
- $this->resource = $resource;
- }
-
- public function getResource()
- {
- return $this->resource;
- }
-}
-
-class Google_Service_Content_DatafeedstatusesBatchRequest extends Google_Collection
-{
- protected $entrysType = 'Google_Service_Content_DatafeedstatusesBatchRequestEntry';
- protected $entrysDataType = 'array';
-
- public function setEntrys($entrys)
- {
- $this->entrys = $entrys;
- }
-
- public function getEntrys()
- {
- return $this->entrys;
- }
-}
-
-class Google_Service_Content_DatafeedstatusesBatchRequestEntry extends Google_Model
-{
- public $batchId;
- public $methodName;
-
- public function setBatchId($batchId)
- {
- $this->batchId = $batchId;
- }
-
- public function getBatchId()
- {
- return $this->batchId;
- }
-
- public function setMethodName($methodName)
- {
- $this->methodName = $methodName;
- }
-
- public function getMethodName()
- {
- return $this->methodName;
- }
-}
-
-class Google_Service_Content_DatafeedstatusesBatchResponse extends Google_Collection
-{
- protected $entrysType = 'Google_Service_Content_DatafeedstatusesBatchResponseEntry';
- protected $entrysDataType = 'array';
- public $kind;
-
- public function setEntrys($entrys)
- {
- $this->entrys = $entrys;
- }
-
- public function getEntrys()
- {
- return $this->entrys;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-}
-
-class Google_Service_Content_DatafeedstatusesBatchResponseEntry extends Google_Model
-{
- public $batchId;
- protected $datafeedstatusesgetresponseType = 'Google_Service_Content_DatafeedstatusesGetResponse';
- protected $datafeedstatusesgetresponseDataType = '';
-
- public function setBatchId($batchId)
- {
- $this->batchId = $batchId;
- }
-
- public function getBatchId()
- {
- return $this->batchId;
- }
-
- public function setDatafeedstatusesgetresponse(Google_Service_Content_DatafeedstatusesGetResponse $datafeedstatusesgetresponse)
- {
- $this->datafeedstatusesgetresponse = $datafeedstatusesgetresponse;
- }
-
- public function getDatafeedstatusesgetresponse()
- {
- return $this->datafeedstatusesgetresponse;
- }
-}
-
-class Google_Service_Content_DatafeedstatusesCustomBatchRequest extends Google_Collection
-{
- protected $entriesType = 'Google_Service_Content_DatafeedstatusesCustomBatchRequestEntry';
- protected $entriesDataType = 'array';
-
- public function setEntries($entries)
- {
- $this->entries = $entries;
- }
-
- public function getEntries()
- {
- return $this->entries;
- }
-}
-
-class Google_Service_Content_DatafeedstatusesCustomBatchRequestEntry extends Google_Model
-{
- public $batchId;
- public $datafeedId;
- public $merchantId;
- public $method;
-
- public function setBatchId($batchId)
- {
- $this->batchId = $batchId;
- }
-
- public function getBatchId()
- {
- return $this->batchId;
- }
-
- public function setDatafeedId($datafeedId)
- {
- $this->datafeedId = $datafeedId;
- }
-
- public function getDatafeedId()
- {
- return $this->datafeedId;
- }
-
- public function setMerchantId($merchantId)
- {
- $this->merchantId = $merchantId;
- }
-
- public function getMerchantId()
- {
- return $this->merchantId;
- }
-
- public function setMethod($method)
- {
- $this->method = $method;
- }
-
- public function getMethod()
- {
- return $this->method;
- }
-}
-
-class Google_Service_Content_DatafeedstatusesCustomBatchResponse extends Google_Collection
-{
- protected $entriesType = 'Google_Service_Content_DatafeedstatusesCustomBatchResponseEntry';
- protected $entriesDataType = 'array';
- public $kind;
-
- public function setEntries($entries)
- {
- $this->entries = $entries;
- }
-
- public function getEntries()
- {
- return $this->entries;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-}
-
-class Google_Service_Content_DatafeedstatusesCustomBatchResponseEntry extends Google_Model
-{
- public $batchId;
- protected $datafeedStatusType = 'Google_Service_Content_DatafeedStatus';
- protected $datafeedStatusDataType = '';
- protected $errorsType = 'Google_Service_Content_Errors';
- protected $errorsDataType = '';
-
- public function setBatchId($batchId)
- {
- $this->batchId = $batchId;
- }
-
- public function getBatchId()
- {
- return $this->batchId;
- }
-
- public function setDatafeedStatus(Google_Service_Content_DatafeedStatus $datafeedStatus)
- {
- $this->datafeedStatus = $datafeedStatus;
- }
-
- public function getDatafeedStatus()
- {
- return $this->datafeedStatus;
- }
-
- public function setErrors(Google_Service_Content_Errors $errors)
- {
- $this->errors = $errors;
- }
-
- public function getErrors()
- {
- return $this->errors;
- }
-}
-
-class Google_Service_Content_DatafeedstatusesGetResponse extends Google_Model
-{
- public $kind;
- protected $resourceType = 'Google_Service_Content_DatafeedStatus';
- protected $resourceDataType = '';
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setResource(Google_Service_Content_DatafeedStatus $resource)
- {
- $this->resource = $resource;
- }
-
- public function getResource()
- {
- return $this->resource;
- }
-}
-
-class Google_Service_Content_DatafeedstatusesListResponse extends Google_Collection
-{
- public $kind;
- protected $resourcesType = 'Google_Service_Content_DatafeedStatus';
- protected $resourcesDataType = 'array';
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setResources($resources)
- {
- $this->resources = $resources;
- }
-
- public function getResources()
- {
- return $this->resources;
- }
-}
-
-class Google_Service_Content_Error extends Google_Model
-{
- public $domain;
- public $message;
- public $reason;
-
- public function setDomain($domain)
- {
- $this->domain = $domain;
- }
-
- public function getDomain()
- {
- return $this->domain;
- }
-
- public function setMessage($message)
- {
- $this->message = $message;
- }
-
- public function getMessage()
- {
- return $this->message;
- }
-
- public function setReason($reason)
- {
- $this->reason = $reason;
- }
-
- public function getReason()
- {
- return $this->reason;
- }
-}
-
-class Google_Service_Content_Errors extends Google_Collection
-{
- public $code;
- protected $errorsType = 'Google_Service_Content_Error';
- protected $errorsDataType = 'array';
- public $message;
-
- public function setCode($code)
- {
- $this->code = $code;
- }
-
- public function getCode()
- {
- return $this->code;
- }
-
- public function setErrors($errors)
- {
- $this->errors = $errors;
- }
-
- public function getErrors()
- {
- return $this->errors;
- }
-
- public function setMessage($message)
- {
- $this->message = $message;
- }
-
- public function getMessage()
- {
- return $this->message;
- }
-}
-
-class Google_Service_Content_Inventory extends Google_Model
-{
- public $availability;
- public $kind;
- protected $priceType = 'Google_Service_Content_Price';
- protected $priceDataType = '';
- public $quantity;
- protected $salePriceType = 'Google_Service_Content_Price';
- protected $salePriceDataType = '';
- public $salePriceEffectiveDate;
-
- public function setAvailability($availability)
- {
- $this->availability = $availability;
- }
-
- public function getAvailability()
- {
- return $this->availability;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setPrice(Google_Service_Content_Price $price)
- {
- $this->price = $price;
- }
-
- public function getPrice()
- {
- return $this->price;
- }
-
- public function setQuantity($quantity)
- {
- $this->quantity = $quantity;
- }
-
- public function getQuantity()
- {
- return $this->quantity;
- }
-
- public function setSalePrice(Google_Service_Content_Price $salePrice)
- {
- $this->salePrice = $salePrice;
- }
-
- public function getSalePrice()
- {
- return $this->salePrice;
- }
-
- public function setSalePriceEffectiveDate($salePriceEffectiveDate)
- {
- $this->salePriceEffectiveDate = $salePriceEffectiveDate;
- }
-
- public function getSalePriceEffectiveDate()
- {
- return $this->salePriceEffectiveDate;
- }
-}
-
-class Google_Service_Content_InventoryCustomBatchRequest extends Google_Collection
-{
- protected $entriesType = 'Google_Service_Content_InventoryCustomBatchRequestEntry';
- protected $entriesDataType = 'array';
-
- public function setEntries($entries)
- {
- $this->entries = $entries;
- }
-
- public function getEntries()
- {
- return $this->entries;
- }
-}
-
-class Google_Service_Content_InventoryCustomBatchRequestEntry extends Google_Model
-{
- public $batchId;
- protected $inventoryType = 'Google_Service_Content_Inventory';
- protected $inventoryDataType = '';
- public $merchantId;
- public $productId;
- public $storeCode;
-
- public function setBatchId($batchId)
- {
- $this->batchId = $batchId;
- }
-
- public function getBatchId()
- {
- return $this->batchId;
- }
-
- public function setInventory(Google_Service_Content_Inventory $inventory)
- {
- $this->inventory = $inventory;
- }
-
- public function getInventory()
- {
- return $this->inventory;
- }
-
- public function setMerchantId($merchantId)
- {
- $this->merchantId = $merchantId;
- }
-
- public function getMerchantId()
- {
- return $this->merchantId;
- }
-
- public function setProductId($productId)
- {
- $this->productId = $productId;
- }
-
- public function getProductId()
- {
- return $this->productId;
- }
-
- public function setStoreCode($storeCode)
- {
- $this->storeCode = $storeCode;
- }
-
- public function getStoreCode()
- {
- return $this->storeCode;
- }
-}
-
-class Google_Service_Content_InventoryCustomBatchResponse extends Google_Collection
-{
- protected $entriesType = 'Google_Service_Content_InventoryCustomBatchResponseEntry';
- protected $entriesDataType = 'array';
- public $kind;
-
- public function setEntries($entries)
- {
- $this->entries = $entries;
- }
-
- public function getEntries()
- {
- return $this->entries;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-}
-
-class Google_Service_Content_InventoryCustomBatchResponseEntry extends Google_Model
-{
- public $batchId;
- protected $errorsType = 'Google_Service_Content_Errors';
- protected $errorsDataType = '';
- public $kind;
-
- public function setBatchId($batchId)
- {
- $this->batchId = $batchId;
- }
-
- public function getBatchId()
- {
- return $this->batchId;
- }
-
- public function setErrors(Google_Service_Content_Errors $errors)
- {
- $this->errors = $errors;
- }
-
- public function getErrors()
- {
- return $this->errors;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-}
-
-class Google_Service_Content_InventorySetRequest extends Google_Model
-{
- public $availability;
- protected $priceType = 'Google_Service_Content_Price';
- protected $priceDataType = '';
- public $quantity;
- protected $salePriceType = 'Google_Service_Content_Price';
- protected $salePriceDataType = '';
- public $salePriceEffectiveDate;
-
- public function setAvailability($availability)
- {
- $this->availability = $availability;
- }
-
- public function getAvailability()
- {
- return $this->availability;
- }
-
- public function setPrice(Google_Service_Content_Price $price)
- {
- $this->price = $price;
- }
-
- public function getPrice()
- {
- return $this->price;
- }
-
- public function setQuantity($quantity)
- {
- $this->quantity = $quantity;
- }
-
- public function getQuantity()
- {
- return $this->quantity;
- }
-
- public function setSalePrice(Google_Service_Content_Price $salePrice)
- {
- $this->salePrice = $salePrice;
- }
-
- public function getSalePrice()
- {
- return $this->salePrice;
- }
-
- public function setSalePriceEffectiveDate($salePriceEffectiveDate)
- {
- $this->salePriceEffectiveDate = $salePriceEffectiveDate;
- }
-
- public function getSalePriceEffectiveDate()
- {
- return $this->salePriceEffectiveDate;
- }
-}
-
-class Google_Service_Content_InventorySetResponse extends Google_Model
-{
- public $kind;
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-}
-
-class Google_Service_Content_LoyaltyPoints extends Google_Model
-{
- public $name;
- public $pointsValue;
- public $ratio;
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setPointsValue($pointsValue)
- {
- $this->pointsValue = $pointsValue;
- }
-
- public function getPointsValue()
- {
- return $this->pointsValue;
- }
-
- public function setRatio($ratio)
- {
- $this->ratio = $ratio;
- }
-
- public function getRatio()
- {
- return $this->ratio;
- }
-}
-
-class Google_Service_Content_Price extends Google_Model
-{
- public $currency;
- public $value;
-
- public function setCurrency($currency)
- {
- $this->currency = $currency;
- }
-
- public function getCurrency()
- {
- return $this->currency;
- }
-
- public function setValue($value)
- {
- $this->value = $value;
- }
-
- public function getValue()
- {
- return $this->value;
- }
-}
-
-class Google_Service_Content_Product extends Google_Collection
-{
- public $additionalImageLinks;
- public $adult;
- public $adwordsGrouping;
- public $adwordsLabels;
- public $adwordsRedirect;
- public $ageGroup;
- public $availability;
- public $availabilityDate;
- public $brand;
- public $channel;
- public $color;
- public $condition;
- public $contentLanguage;
- protected $customAttributesType = 'Google_Service_Content_ProductCustomAttribute';
- protected $customAttributesDataType = 'array';
- protected $customGroupsType = 'Google_Service_Content_ProductCustomGroup';
- protected $customGroupsDataType = 'array';
- public $customLabel0;
- public $customLabel1;
- public $customLabel2;
- public $customLabel3;
- public $customLabel4;
- public $description;
- protected $destinationsType = 'Google_Service_Content_ProductDestination';
- protected $destinationsDataType = 'array';
- public $energyEfficiencyClass;
- public $expirationDate;
- public $gender;
- public $googleProductCategory;
- public $gtin;
- public $id;
- public $identifierExists;
- public $imageLink;
- protected $installmentType = 'Google_Service_Content_ProductInstallment';
- protected $installmentDataType = '';
- public $isBundle;
- public $itemGroupId;
- public $kind;
- public $link;
- protected $loyaltyPointsType = 'Google_Service_Content_LoyaltyPoints';
- protected $loyaltyPointsDataType = '';
- public $material;
- public $merchantMultipackQuantity;
- public $mobileLink;
- public $mpn;
- public $offerId;
- public $onlineOnly;
- public $pattern;
- protected $priceType = 'Google_Service_Content_Price';
- protected $priceDataType = '';
- public $productType;
- protected $salePriceType = 'Google_Service_Content_Price';
- protected $salePriceDataType = '';
- public $salePriceEffectiveDate;
- protected $shippingType = 'Google_Service_Content_ProductShipping';
- protected $shippingDataType = 'array';
- protected $shippingWeightType = 'Google_Service_Content_ProductShippingWeight';
- protected $shippingWeightDataType = '';
- public $sizeSystem;
- public $sizeType;
- public $sizes;
- public $targetCountry;
- protected $taxesType = 'Google_Service_Content_ProductTax';
- protected $taxesDataType = 'array';
- public $title;
- public $unitPricingBaseMeasure;
- public $unitPricingMeasure;
- public $validatedDestinations;
- protected $warningsType = 'Google_Service_Content_Error';
- protected $warningsDataType = 'array';
-
- public function setAdditionalImageLinks($additionalImageLinks)
- {
- $this->additionalImageLinks = $additionalImageLinks;
- }
-
- public function getAdditionalImageLinks()
- {
- return $this->additionalImageLinks;
- }
-
- public function setAdult($adult)
- {
- $this->adult = $adult;
- }
-
- public function getAdult()
- {
- return $this->adult;
- }
-
- public function setAdwordsGrouping($adwordsGrouping)
- {
- $this->adwordsGrouping = $adwordsGrouping;
- }
-
- public function getAdwordsGrouping()
- {
- return $this->adwordsGrouping;
- }
-
- public function setAdwordsLabels($adwordsLabels)
- {
- $this->adwordsLabels = $adwordsLabels;
- }
-
- public function getAdwordsLabels()
- {
- return $this->adwordsLabels;
- }
-
- public function setAdwordsRedirect($adwordsRedirect)
- {
- $this->adwordsRedirect = $adwordsRedirect;
- }
-
- public function getAdwordsRedirect()
- {
- return $this->adwordsRedirect;
- }
-
- public function setAgeGroup($ageGroup)
- {
- $this->ageGroup = $ageGroup;
- }
-
- public function getAgeGroup()
- {
- return $this->ageGroup;
- }
-
- public function setAvailability($availability)
- {
- $this->availability = $availability;
- }
-
- public function getAvailability()
- {
- return $this->availability;
- }
-
- public function setAvailabilityDate($availabilityDate)
- {
- $this->availabilityDate = $availabilityDate;
- }
-
- public function getAvailabilityDate()
- {
- return $this->availabilityDate;
- }
-
- public function setBrand($brand)
- {
- $this->brand = $brand;
- }
-
- public function getBrand()
- {
- return $this->brand;
- }
-
- public function setChannel($channel)
- {
- $this->channel = $channel;
- }
-
- public function getChannel()
- {
- return $this->channel;
- }
-
- public function setColor($color)
- {
- $this->color = $color;
- }
-
- public function getColor()
- {
- return $this->color;
- }
-
- public function setCondition($condition)
- {
- $this->condition = $condition;
- }
-
- public function getCondition()
- {
- return $this->condition;
- }
-
- public function setContentLanguage($contentLanguage)
- {
- $this->contentLanguage = $contentLanguage;
- }
-
- public function getContentLanguage()
- {
- return $this->contentLanguage;
- }
-
- public function setCustomAttributes($customAttributes)
- {
- $this->customAttributes = $customAttributes;
- }
-
- public function getCustomAttributes()
- {
- return $this->customAttributes;
- }
-
- public function setCustomGroups($customGroups)
- {
- $this->customGroups = $customGroups;
- }
-
- public function getCustomGroups()
- {
- return $this->customGroups;
- }
-
- public function setCustomLabel0($customLabel0)
- {
- $this->customLabel0 = $customLabel0;
- }
-
- public function getCustomLabel0()
- {
- return $this->customLabel0;
- }
-
- public function setCustomLabel1($customLabel1)
- {
- $this->customLabel1 = $customLabel1;
- }
-
- public function getCustomLabel1()
- {
- return $this->customLabel1;
- }
-
- public function setCustomLabel2($customLabel2)
- {
- $this->customLabel2 = $customLabel2;
- }
-
- public function getCustomLabel2()
- {
- return $this->customLabel2;
- }
-
- public function setCustomLabel3($customLabel3)
- {
- $this->customLabel3 = $customLabel3;
- }
-
- public function getCustomLabel3()
- {
- return $this->customLabel3;
- }
-
- public function setCustomLabel4($customLabel4)
- {
- $this->customLabel4 = $customLabel4;
- }
-
- public function getCustomLabel4()
- {
- return $this->customLabel4;
- }
-
- public function setDescription($description)
- {
- $this->description = $description;
- }
-
- public function getDescription()
- {
- return $this->description;
- }
-
- public function setDestinations($destinations)
- {
- $this->destinations = $destinations;
- }
-
- public function getDestinations()
- {
- return $this->destinations;
- }
-
- public function setEnergyEfficiencyClass($energyEfficiencyClass)
- {
- $this->energyEfficiencyClass = $energyEfficiencyClass;
- }
-
- public function getEnergyEfficiencyClass()
- {
- return $this->energyEfficiencyClass;
- }
-
- public function setExpirationDate($expirationDate)
- {
- $this->expirationDate = $expirationDate;
- }
-
- public function getExpirationDate()
- {
- return $this->expirationDate;
- }
-
- public function setGender($gender)
- {
- $this->gender = $gender;
- }
-
- public function getGender()
- {
- return $this->gender;
- }
-
- public function setGoogleProductCategory($googleProductCategory)
- {
- $this->googleProductCategory = $googleProductCategory;
- }
-
- public function getGoogleProductCategory()
- {
- return $this->googleProductCategory;
- }
-
- public function setGtin($gtin)
- {
- $this->gtin = $gtin;
- }
-
- public function getGtin()
- {
- return $this->gtin;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setIdentifierExists($identifierExists)
- {
- $this->identifierExists = $identifierExists;
- }
-
- public function getIdentifierExists()
- {
- return $this->identifierExists;
- }
-
- public function setImageLink($imageLink)
- {
- $this->imageLink = $imageLink;
- }
-
- public function getImageLink()
- {
- return $this->imageLink;
- }
-
- public function setInstallment(Google_Service_Content_ProductInstallment $installment)
- {
- $this->installment = $installment;
- }
-
- public function getInstallment()
- {
- return $this->installment;
- }
-
- public function setIsBundle($isBundle)
- {
- $this->isBundle = $isBundle;
- }
-
- public function getIsBundle()
- {
- return $this->isBundle;
- }
-
- public function setItemGroupId($itemGroupId)
- {
- $this->itemGroupId = $itemGroupId;
- }
-
- public function getItemGroupId()
- {
- return $this->itemGroupId;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setLink($link)
- {
- $this->link = $link;
- }
-
- public function getLink()
- {
- return $this->link;
- }
-
- public function setLoyaltyPoints(Google_Service_Content_LoyaltyPoints $loyaltyPoints)
- {
- $this->loyaltyPoints = $loyaltyPoints;
- }
-
- public function getLoyaltyPoints()
- {
- return $this->loyaltyPoints;
- }
-
- public function setMaterial($material)
- {
- $this->material = $material;
- }
-
- public function getMaterial()
- {
- return $this->material;
- }
-
- public function setMerchantMultipackQuantity($merchantMultipackQuantity)
- {
- $this->merchantMultipackQuantity = $merchantMultipackQuantity;
- }
-
- public function getMerchantMultipackQuantity()
- {
- return $this->merchantMultipackQuantity;
- }
-
- public function setMobileLink($mobileLink)
- {
- $this->mobileLink = $mobileLink;
- }
-
- public function getMobileLink()
- {
- return $this->mobileLink;
- }
-
- public function setMpn($mpn)
- {
- $this->mpn = $mpn;
- }
-
- public function getMpn()
- {
- return $this->mpn;
- }
-
- public function setOfferId($offerId)
- {
- $this->offerId = $offerId;
- }
-
- public function getOfferId()
- {
- return $this->offerId;
- }
-
- public function setOnlineOnly($onlineOnly)
- {
- $this->onlineOnly = $onlineOnly;
- }
-
- public function getOnlineOnly()
- {
- return $this->onlineOnly;
- }
-
- public function setPattern($pattern)
- {
- $this->pattern = $pattern;
- }
-
- public function getPattern()
- {
- return $this->pattern;
- }
-
- public function setPrice(Google_Service_Content_Price $price)
- {
- $this->price = $price;
- }
-
- public function getPrice()
- {
- return $this->price;
- }
-
- public function setProductType($productType)
- {
- $this->productType = $productType;
- }
-
- public function getProductType()
- {
- return $this->productType;
- }
-
- public function setSalePrice(Google_Service_Content_Price $salePrice)
- {
- $this->salePrice = $salePrice;
- }
-
- public function getSalePrice()
- {
- return $this->salePrice;
- }
-
- public function setSalePriceEffectiveDate($salePriceEffectiveDate)
- {
- $this->salePriceEffectiveDate = $salePriceEffectiveDate;
- }
-
- public function getSalePriceEffectiveDate()
- {
- return $this->salePriceEffectiveDate;
- }
-
- public function setShipping($shipping)
- {
- $this->shipping = $shipping;
- }
-
- public function getShipping()
- {
- return $this->shipping;
- }
-
- public function setShippingWeight(Google_Service_Content_ProductShippingWeight $shippingWeight)
- {
- $this->shippingWeight = $shippingWeight;
- }
-
- public function getShippingWeight()
- {
- return $this->shippingWeight;
- }
-
- public function setSizeSystem($sizeSystem)
- {
- $this->sizeSystem = $sizeSystem;
- }
-
- public function getSizeSystem()
- {
- return $this->sizeSystem;
- }
-
- public function setSizeType($sizeType)
- {
- $this->sizeType = $sizeType;
- }
-
- public function getSizeType()
- {
- return $this->sizeType;
- }
-
- public function setSizes($sizes)
- {
- $this->sizes = $sizes;
- }
-
- public function getSizes()
- {
- return $this->sizes;
- }
-
- public function setTargetCountry($targetCountry)
- {
- $this->targetCountry = $targetCountry;
- }
-
- public function getTargetCountry()
- {
- return $this->targetCountry;
- }
-
- public function setTaxes($taxes)
- {
- $this->taxes = $taxes;
- }
-
- public function getTaxes()
- {
- return $this->taxes;
- }
-
- public function setTitle($title)
- {
- $this->title = $title;
- }
-
- public function getTitle()
- {
- return $this->title;
- }
-
- public function setUnitPricingBaseMeasure($unitPricingBaseMeasure)
- {
- $this->unitPricingBaseMeasure = $unitPricingBaseMeasure;
- }
-
- public function getUnitPricingBaseMeasure()
- {
- return $this->unitPricingBaseMeasure;
- }
-
- public function setUnitPricingMeasure($unitPricingMeasure)
- {
- $this->unitPricingMeasure = $unitPricingMeasure;
- }
-
- public function getUnitPricingMeasure()
- {
- return $this->unitPricingMeasure;
- }
-
- public function setValidatedDestinations($validatedDestinations)
- {
- $this->validatedDestinations = $validatedDestinations;
- }
-
- public function getValidatedDestinations()
- {
- return $this->validatedDestinations;
- }
-
- public function setWarnings($warnings)
- {
- $this->warnings = $warnings;
- }
-
- public function getWarnings()
- {
- return $this->warnings;
- }
-}
-
-class Google_Service_Content_ProductCustomAttribute extends Google_Model
-{
- public $name;
- public $type;
- public $unit;
- public $value;
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setType($type)
- {
- $this->type = $type;
- }
-
- public function getType()
- {
- return $this->type;
- }
-
- public function setUnit($unit)
- {
- $this->unit = $unit;
- }
-
- public function getUnit()
- {
- return $this->unit;
- }
-
- public function setValue($value)
- {
- $this->value = $value;
- }
-
- public function getValue()
- {
- return $this->value;
- }
-}
-
-class Google_Service_Content_ProductCustomGroup extends Google_Collection
-{
- protected $attributesType = 'Google_Service_Content_ProductCustomAttribute';
- protected $attributesDataType = 'array';
- public $name;
-
- public function setAttributes($attributes)
- {
- $this->attributes = $attributes;
- }
-
- public function getAttributes()
- {
- return $this->attributes;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-}
-
-class Google_Service_Content_ProductDestination extends Google_Model
-{
- public $destinationName;
- public $intention;
-
- public function setDestinationName($destinationName)
- {
- $this->destinationName = $destinationName;
- }
-
- public function getDestinationName()
- {
- return $this->destinationName;
- }
-
- public function setIntention($intention)
- {
- $this->intention = $intention;
- }
-
- public function getIntention()
- {
- return $this->intention;
- }
-}
-
-class Google_Service_Content_ProductInstallment extends Google_Model
-{
- protected $amountType = 'Google_Service_Content_Price';
- protected $amountDataType = '';
- public $months;
-
- public function setAmount(Google_Service_Content_Price $amount)
- {
- $this->amount = $amount;
- }
-
- public function getAmount()
- {
- return $this->amount;
- }
-
- public function setMonths($months)
- {
- $this->months = $months;
- }
-
- public function getMonths()
- {
- return $this->months;
- }
-}
-
-class Google_Service_Content_ProductShipping extends Google_Model
-{
- public $country;
- protected $priceType = 'Google_Service_Content_Price';
- protected $priceDataType = '';
- public $region;
- public $service;
-
- public function setCountry($country)
- {
- $this->country = $country;
- }
-
- public function getCountry()
- {
- return $this->country;
- }
-
- public function setPrice(Google_Service_Content_Price $price)
- {
- $this->price = $price;
- }
-
- public function getPrice()
- {
- return $this->price;
- }
-
- public function setRegion($region)
- {
- $this->region = $region;
- }
-
- public function getRegion()
- {
- return $this->region;
- }
-
- public function setService($service)
- {
- $this->service = $service;
- }
-
- public function getService()
- {
- return $this->service;
- }
-}
-
-class Google_Service_Content_ProductShippingWeight extends Google_Model
-{
- public $unit;
- public $value;
-
- public function setUnit($unit)
- {
- $this->unit = $unit;
- }
-
- public function getUnit()
- {
- return $this->unit;
- }
-
- public function setValue($value)
- {
- $this->value = $value;
- }
-
- public function getValue()
- {
- return $this->value;
- }
-}
-
-class Google_Service_Content_ProductStatus extends Google_Collection
-{
- protected $dataQualityIssuesType = 'Google_Service_Content_ProductStatusDataQualityIssue';
- protected $dataQualityIssuesDataType = 'array';
- protected $destinationStatusesType = 'Google_Service_Content_ProductStatusDestinationStatus';
- protected $destinationStatusesDataType = 'array';
- public $kind;
- public $link;
- public $productId;
- public $title;
-
- public function setDataQualityIssues($dataQualityIssues)
- {
- $this->dataQualityIssues = $dataQualityIssues;
- }
-
- public function getDataQualityIssues()
- {
- return $this->dataQualityIssues;
- }
-
- public function setDestinationStatuses($destinationStatuses)
- {
- $this->destinationStatuses = $destinationStatuses;
- }
-
- public function getDestinationStatuses()
- {
- return $this->destinationStatuses;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setLink($link)
- {
- $this->link = $link;
- }
-
- public function getLink()
- {
- return $this->link;
- }
-
- public function setProductId($productId)
- {
- $this->productId = $productId;
- }
-
- public function getProductId()
- {
- return $this->productId;
- }
-
- public function setTitle($title)
- {
- $this->title = $title;
- }
-
- public function getTitle()
- {
- return $this->title;
- }
-}
-
-class Google_Service_Content_ProductStatusDataQualityIssue extends Google_Model
-{
- public $detail;
- public $fetchStatus;
- public $id;
- public $location;
- public $timestamp;
- public $valueOnLandingPage;
- public $valueProvided;
-
- public function setDetail($detail)
- {
- $this->detail = $detail;
- }
-
- public function getDetail()
- {
- return $this->detail;
- }
-
- public function setFetchStatus($fetchStatus)
- {
- $this->fetchStatus = $fetchStatus;
- }
-
- public function getFetchStatus()
- {
- return $this->fetchStatus;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setLocation($location)
- {
- $this->location = $location;
- }
-
- public function getLocation()
- {
- return $this->location;
- }
-
- public function setTimestamp($timestamp)
- {
- $this->timestamp = $timestamp;
- }
-
- public function getTimestamp()
- {
- return $this->timestamp;
- }
-
- public function setValueOnLandingPage($valueOnLandingPage)
- {
- $this->valueOnLandingPage = $valueOnLandingPage;
- }
-
- public function getValueOnLandingPage()
- {
- return $this->valueOnLandingPage;
- }
-
- public function setValueProvided($valueProvided)
- {
- $this->valueProvided = $valueProvided;
- }
-
- public function getValueProvided()
- {
- return $this->valueProvided;
- }
-}
-
-class Google_Service_Content_ProductStatusDestinationStatus extends Google_Model
-{
- public $approvalStatus;
- public $destination;
- public $intention;
-
- public function setApprovalStatus($approvalStatus)
- {
- $this->approvalStatus = $approvalStatus;
- }
-
- public function getApprovalStatus()
- {
- return $this->approvalStatus;
- }
-
- public function setDestination($destination)
- {
- $this->destination = $destination;
- }
-
- public function getDestination()
- {
- return $this->destination;
- }
-
- public function setIntention($intention)
- {
- $this->intention = $intention;
- }
-
- public function getIntention()
- {
- return $this->intention;
- }
-}
-
-class Google_Service_Content_ProductTax extends Google_Model
-{
- public $country;
- public $rate;
- public $region;
- public $taxShip;
-
- public function setCountry($country)
- {
- $this->country = $country;
- }
-
- public function getCountry()
- {
- return $this->country;
- }
-
- public function setRate($rate)
- {
- $this->rate = $rate;
- }
-
- public function getRate()
- {
- return $this->rate;
- }
-
- public function setRegion($region)
- {
- $this->region = $region;
- }
-
- public function getRegion()
- {
- return $this->region;
- }
-
- public function setTaxShip($taxShip)
- {
- $this->taxShip = $taxShip;
- }
-
- public function getTaxShip()
- {
- return $this->taxShip;
- }
-}
-
-class Google_Service_Content_ProductsCustomBatchRequest extends Google_Collection
-{
- protected $entriesType = 'Google_Service_Content_ProductsCustomBatchRequestEntry';
- protected $entriesDataType = 'array';
-
- public function setEntries($entries)
- {
- $this->entries = $entries;
- }
-
- public function getEntries()
- {
- return $this->entries;
- }
-}
-
-class Google_Service_Content_ProductsCustomBatchRequestEntry extends Google_Model
-{
- public $batchId;
- public $merchantId;
- public $method;
- protected $productType = 'Google_Service_Content_Product';
- protected $productDataType = '';
- public $productId;
-
- public function setBatchId($batchId)
- {
- $this->batchId = $batchId;
- }
-
- public function getBatchId()
- {
- return $this->batchId;
- }
-
- public function setMerchantId($merchantId)
- {
- $this->merchantId = $merchantId;
- }
-
- public function getMerchantId()
- {
- return $this->merchantId;
- }
-
- public function setMethod($method)
- {
- $this->method = $method;
- }
-
- public function getMethod()
- {
- return $this->method;
- }
-
- public function setProduct(Google_Service_Content_Product $product)
- {
- $this->product = $product;
- }
-
- public function getProduct()
- {
- return $this->product;
- }
-
- public function setProductId($productId)
- {
- $this->productId = $productId;
- }
-
- public function getProductId()
- {
- return $this->productId;
- }
-}
-
-class Google_Service_Content_ProductsCustomBatchResponse extends Google_Collection
-{
- protected $entriesType = 'Google_Service_Content_ProductsCustomBatchResponseEntry';
- protected $entriesDataType = 'array';
- public $kind;
-
- public function setEntries($entries)
- {
- $this->entries = $entries;
- }
-
- public function getEntries()
- {
- return $this->entries;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-}
-
-class Google_Service_Content_ProductsCustomBatchResponseEntry extends Google_Model
-{
- public $batchId;
- protected $errorsType = 'Google_Service_Content_Errors';
- protected $errorsDataType = '';
- public $kind;
- protected $productType = 'Google_Service_Content_Product';
- protected $productDataType = '';
-
- public function setBatchId($batchId)
- {
- $this->batchId = $batchId;
- }
-
- public function getBatchId()
- {
- return $this->batchId;
- }
-
- public function setErrors(Google_Service_Content_Errors $errors)
- {
- $this->errors = $errors;
- }
-
- public function getErrors()
- {
- return $this->errors;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setProduct(Google_Service_Content_Product $product)
- {
- $this->product = $product;
- }
-
- public function getProduct()
- {
- return $this->product;
- }
-}
-
-class Google_Service_Content_ProductsListResponse extends Google_Collection
-{
- public $kind;
- public $nextPageToken;
- protected $resourcesType = 'Google_Service_Content_Product';
- protected $resourcesDataType = 'array';
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
-
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-
- public function setResources($resources)
- {
- $this->resources = $resources;
- }
-
- public function getResources()
- {
- return $this->resources;
- }
-}
-
-class Google_Service_Content_ProductstatusesCustomBatchRequest extends Google_Collection
-{
- protected $entriesType = 'Google_Service_Content_ProductstatusesCustomBatchRequestEntry';
- protected $entriesDataType = 'array';
-
- public function setEntries($entries)
- {
- $this->entries = $entries;
- }
-
- public function getEntries()
- {
- return $this->entries;
- }
-}
-
-class Google_Service_Content_ProductstatusesCustomBatchRequestEntry extends Google_Model
-{
- public $batchId;
- public $merchantId;
- public $method;
- public $productId;
-
- public function setBatchId($batchId)
- {
- $this->batchId = $batchId;
- }
-
- public function getBatchId()
- {
- return $this->batchId;
- }
-
- public function setMerchantId($merchantId)
- {
- $this->merchantId = $merchantId;
- }
-
- public function getMerchantId()
- {
- return $this->merchantId;
- }
-
- public function setMethod($method)
- {
- $this->method = $method;
- }
-
- public function getMethod()
- {
- return $this->method;
- }
-
- public function setProductId($productId)
- {
- $this->productId = $productId;
- }
-
- public function getProductId()
- {
- return $this->productId;
- }
-}
-
-class Google_Service_Content_ProductstatusesCustomBatchResponse extends Google_Collection
-{
- protected $entriesType = 'Google_Service_Content_ProductstatusesCustomBatchResponseEntry';
- protected $entriesDataType = 'array';
- public $kind;
-
- public function setEntries($entries)
- {
- $this->entries = $entries;
- }
-
- public function getEntries()
- {
- return $this->entries;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-}
-
-class Google_Service_Content_ProductstatusesCustomBatchResponseEntry extends Google_Model
-{
- public $batchId;
- protected $errorsType = 'Google_Service_Content_Errors';
- protected $errorsDataType = '';
- public $kind;
- protected $productStatusType = 'Google_Service_Content_ProductStatus';
- protected $productStatusDataType = '';
-
- public function setBatchId($batchId)
- {
- $this->batchId = $batchId;
- }
-
- public function getBatchId()
- {
- return $this->batchId;
- }
-
- public function setErrors(Google_Service_Content_Errors $errors)
- {
- $this->errors = $errors;
- }
-
- public function getErrors()
- {
- return $this->errors;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setProductStatus(Google_Service_Content_ProductStatus $productStatus)
- {
- $this->productStatus = $productStatus;
- }
-
- public function getProductStatus()
- {
- return $this->productStatus;
- }
-}
-
-class Google_Service_Content_ProductstatusesListResponse extends Google_Collection
-{
- public $kind;
- public $nextPageToken;
- protected $resourcesType = 'Google_Service_Content_ProductStatus';
- protected $resourcesDataType = 'array';
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
-
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-
- public function setResources($resources)
- {
- $this->resources = $resources;
- }
-
- public function getResources()
- {
- return $this->resources;
- }
-}
From d1e939968b9b1ac983eeb3c8c4f1c51edb3ee38a Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 25 Jul 2014 00:55:04 -0700
Subject: [PATCH 0395/1602] Updated MapsEngine.php
---
src/Google/Service/MapsEngine.php | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/Google/Service/MapsEngine.php b/src/Google/Service/MapsEngine.php
index e8eb4a781..dbd0c809f 100644
--- a/src/Google/Service/MapsEngine.php
+++ b/src/Google/Service/MapsEngine.php
@@ -2919,6 +2919,11 @@ public function getCoordinates()
}
}
+class Google_Service_MapsEngine_GeoJsonProperties extends Google_Model
+{
+
+}
+
class Google_Service_MapsEngine_IconStyle extends Google_Model
{
public $id;
From a6df8bec8ef2d51d867cf42902be1e99e747276d Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 25 Jul 2014 00:55:05 -0700
Subject: [PATCH 0396/1602] Updated Storage.php
---
src/Google/Service/Storage.php | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/src/Google/Service/Storage.php b/src/Google/Service/Storage.php
index b005dd795..ff432b493 100644
--- a/src/Google/Service/Storage.php
+++ b/src/Google/Service/Storage.php
@@ -2626,6 +2626,11 @@ public function getType()
}
}
+class Google_Service_Storage_ChannelParams extends Google_Model
+{
+
+}
+
class Google_Service_Storage_ComposeRequest extends Google_Collection
{
protected $destinationType = 'Google_Service_Storage_StorageObject';
@@ -3237,6 +3242,11 @@ public function getUpdated()
}
}
+class Google_Service_Storage_StorageObjectMetadata extends Google_Model
+{
+
+}
+
class Google_Service_Storage_StorageObjectOwner extends Google_Model
{
public $entity;
From b6872248d06d1e4002c67246af91cdd7facf37a9 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 25 Jul 2014 00:55:05 -0700
Subject: [PATCH 0397/1602] Updated Compute.php
---
src/Google/Service/Compute.php | 45 ++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
diff --git a/src/Google/Service/Compute.php b/src/Google/Service/Compute.php
index a087c0ada..0d21c71b4 100644
--- a/src/Google/Service/Compute.php
+++ b/src/Google/Service/Compute.php
@@ -5737,6 +5737,11 @@ public function getSelfLink()
}
}
+class Google_Service_Compute_AddressAggregatedListItems extends Google_Model
+{
+
+}
+
class Google_Service_Compute_AddressList extends Google_Collection
{
public $id;
@@ -6656,6 +6661,11 @@ public function getSelfLink()
}
}
+class Google_Service_Compute_DiskAggregatedListItems extends Google_Model
+{
+
+}
+
class Google_Service_Compute_DiskList extends Google_Collection
{
public $id;
@@ -6880,6 +6890,11 @@ public function getSelfLink()
}
}
+class Google_Service_Compute_DiskTypeAggregatedListItems extends Google_Model
+{
+
+}
+
class Google_Service_Compute_DiskTypeList extends Google_Collection
{
public $id;
@@ -7521,6 +7536,11 @@ public function getSelfLink()
}
}
+class Google_Service_Compute_ForwardingRuleAggregatedListItems extends Google_Model
+{
+
+}
+
class Google_Service_Compute_ForwardingRuleList extends Google_Collection
{
public $id;
@@ -8494,6 +8514,11 @@ public function getSelfLink()
}
}
+class Google_Service_Compute_InstanceAggregatedListItems extends Google_Model
+{
+
+}
+
class Google_Service_Compute_InstanceList extends Google_Collection
{
public $id;
@@ -8918,6 +8943,11 @@ public function getSelfLink()
}
}
+class Google_Service_Compute_MachineTypeAggregatedListItems extends Google_Model
+{
+
+}
+
class Google_Service_Compute_MachineTypeList extends Google_Collection
{
public $id;
@@ -9658,6 +9688,11 @@ public function getSelfLink()
}
}
+class Google_Service_Compute_OperationAggregatedListItems extends Google_Model
+{
+
+}
+
class Google_Service_Compute_OperationError extends Google_Collection
{
protected $errorsType = 'Google_Service_Compute_OperationErrorErrors';
@@ -11256,6 +11291,11 @@ public function getSelfLink()
}
}
+class Google_Service_Compute_TargetInstanceAggregatedListItems extends Google_Model
+{
+
+}
+
class Google_Service_Compute_TargetInstanceList extends Google_Collection
{
public $id;
@@ -11604,6 +11644,11 @@ public function getSelfLink()
}
}
+class Google_Service_Compute_TargetPoolAggregatedListItems extends Google_Model
+{
+
+}
+
class Google_Service_Compute_TargetPoolInstanceHealth extends Google_Collection
{
protected $healthStatusType = 'Google_Service_Compute_HealthStatus';
From 00a4e1b846713d2ebf1c254153f8f408ea961331 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 25 Jul 2014 00:55:06 -0700
Subject: [PATCH 0398/1602] Updated Genomics.php
---
src/Google/Service/Genomics.php | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/src/Google/Service/Genomics.php b/src/Google/Service/Genomics.php
index 583d8220e..7198d7ee5 100644
--- a/src/Google/Service/Genomics.php
+++ b/src/Google/Service/Genomics.php
@@ -1111,6 +1111,11 @@ public function getPhaseset()
}
}
+class Google_Service_Genomics_CallInfo extends Google_Model
+{
+
+}
+
class Google_Service_Genomics_Callset extends Google_Model
{
public $created;
@@ -1170,6 +1175,11 @@ public function getName()
}
}
+class Google_Service_Genomics_CallsetInfo extends Google_Model
+{
+
+}
+
class Google_Service_Genomics_ContigBound extends Google_Model
{
public $contig;
@@ -1876,6 +1886,11 @@ public function getValue()
}
}
+class Google_Service_Genomics_MetadataInfo extends Google_Model
+{
+
+}
+
class Google_Service_Genomics_Program extends Google_Model
{
public $commandLine;
@@ -2240,6 +2255,11 @@ public function getSequencingTechnology()
}
}
+class Google_Service_Genomics_ReadTags extends Google_Model
+{
+
+}
+
class Google_Service_Genomics_Readset extends Google_Collection
{
public $created;
@@ -2969,3 +2989,8 @@ public function getReferenceBases()
return $this->referenceBases;
}
}
+
+class Google_Service_Genomics_VariantInfo extends Google_Model
+{
+
+}
From 8885729078ad2f8e0f93d280795146b8f5926dbf Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 25 Jul 2014 00:55:06 -0700
Subject: [PATCH 0399/1602] Updated Calendar.php
---
src/Google/Service/Calendar.php | 40 +++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/src/Google/Service/Calendar.php b/src/Google/Service/Calendar.php
index 1557e7745..adb10426e 100644
--- a/src/Google/Service/Calendar.php
+++ b/src/Google/Service/Calendar.php
@@ -2545,6 +2545,11 @@ public function getType()
}
}
+class Google_Service_Calendar_ChannelParams extends Google_Model
+{
+
+}
+
class Google_Service_Calendar_ColorDefinition extends Google_Model
{
public $background;
@@ -2621,6 +2626,16 @@ public function getUpdated()
}
}
+class Google_Service_Calendar_ColorsCalendar extends Google_Model
+{
+
+}
+
+class Google_Service_Calendar_ColorsEvent extends Google_Model
+{
+
+}
+
class Google_Service_Calendar_Error extends Google_Model
{
public $domain;
@@ -3282,6 +3297,16 @@ public function getShared()
}
}
+class Google_Service_Calendar_EventExtendedPropertiesPrivate extends Google_Model
+{
+
+}
+
+class Google_Service_Calendar_EventExtendedPropertiesShared extends Google_Model
+{
+
+}
+
class Google_Service_Calendar_EventGadget extends Google_Model
{
public $display;
@@ -3374,6 +3399,11 @@ public function getWidth()
}
}
+class Google_Service_Calendar_EventGadgetPreferences extends Google_Model
+{
+
+}
+
class Google_Service_Calendar_EventOrganizer extends Google_Model
{
public $displayName;
@@ -3830,6 +3860,16 @@ public function getTimeMin()
}
}
+class Google_Service_Calendar_FreeBusyResponseCalendars extends Google_Model
+{
+
+}
+
+class Google_Service_Calendar_FreeBusyResponseGroups extends Google_Model
+{
+
+}
+
class Google_Service_Calendar_Setting extends Google_Model
{
public $etag;
From cd4d36ff949d489ba6393c1b5c69824762fa14da Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 25 Jul 2014 00:55:06 -0700
Subject: [PATCH 0400/1602] Updated Doubleclicksearch.php
---
src/Google/Service/Doubleclicksearch.php | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/Google/Service/Doubleclicksearch.php b/src/Google/Service/Doubleclicksearch.php
index d32a01771..766deadeb 100644
--- a/src/Google/Service/Doubleclicksearch.php
+++ b/src/Google/Service/Doubleclicksearch.php
@@ -1448,6 +1448,11 @@ public function getStartDate()
}
}
+class Google_Service_Doubleclicksearch_ReportRow extends Google_Model
+{
+
+}
+
class Google_Service_Doubleclicksearch_SavedColumn extends Google_Model
{
public $kind;
From 096b6d0974d36f1668a6cfe8456bfc6384530d0b Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 25 Jul 2014 00:55:07 -0700
Subject: [PATCH 0401/1602] Updated Webfonts.php
---
src/Google/Service/Webfonts.php | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/Google/Service/Webfonts.php b/src/Google/Service/Webfonts.php
index cdab4aece..3083266ef 100644
--- a/src/Google/Service/Webfonts.php
+++ b/src/Google/Service/Webfonts.php
@@ -195,6 +195,11 @@ public function getVersion()
}
}
+class Google_Service_Webfonts_WebfontFiles extends Google_Model
+{
+
+}
+
class Google_Service_Webfonts_WebfontList extends Google_Collection
{
protected $itemsType = 'Google_Service_Webfonts_Webfont';
From 51a11dda9081055dee5775287c61fdffcf815421 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 25 Jul 2014 00:55:07 -0700
Subject: [PATCH 0402/1602] Updated CivicInfo.php
---
src/Google/Service/CivicInfo.php | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/src/Google/Service/CivicInfo.php b/src/Google/Service/CivicInfo.php
index a33b900e6..daa65862b 100644
--- a/src/Google/Service/CivicInfo.php
+++ b/src/Google/Service/CivicInfo.php
@@ -1392,6 +1392,21 @@ public function getStatus()
}
}
+class Google_Service_CivicInfo_RepresentativeInfoResponseDivisions extends Google_Model
+{
+
+}
+
+class Google_Service_CivicInfo_RepresentativeInfoResponseOffices extends Google_Model
+{
+
+}
+
+class Google_Service_CivicInfo_RepresentativeInfoResponseOfficials extends Google_Model
+{
+
+}
+
class Google_Service_CivicInfo_SimpleAddressType extends Google_Model
{
public $city;
From ac39de5e6e40837829cb0b694595e24ebbccfaab Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 25 Jul 2014 00:55:07 -0700
Subject: [PATCH 0403/1602] Updated Bigquery.php
---
src/Google/Service/Bigquery.php | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/Google/Service/Bigquery.php b/src/Google/Service/Bigquery.php
index 4041b904c..a5fd7cfb3 100644
--- a/src/Google/Service/Bigquery.php
+++ b/src/Google/Service/Bigquery.php
@@ -2452,6 +2452,11 @@ public function getState()
}
}
+class Google_Service_Bigquery_JsonObject extends Google_Model
+{
+
+}
+
class Google_Service_Bigquery_ProjectList extends Google_Collection
{
public $etag;
From 59b2624b1fd8d9fdb22087bd7c7a69fdea24135a Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 25 Jul 2014 00:55:08 -0700
Subject: [PATCH 0404/1602] Updated Manager.php
---
src/Google/Service/Manager.php | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/src/Google/Service/Manager.php b/src/Google/Service/Manager.php
index ef9c7ee62..e99718862 100644
--- a/src/Google/Service/Manager.php
+++ b/src/Google/Service/Manager.php
@@ -686,6 +686,11 @@ public function getTemplateName()
}
}
+class Google_Service_Manager_DeploymentModules extends Google_Model
+{
+
+}
+
class Google_Service_Manager_DeploymentsListResponse extends Google_Collection
{
public $nextPageToken;
@@ -1584,6 +1589,11 @@ public function getResourceView()
}
}
+class Google_Service_Manager_ReplicaPoolModuleEnvVariables extends Google_Model
+{
+
+}
+
class Google_Service_Manager_ReplicaPoolModuleStatus extends Google_Model
{
public $replicaPoolUrl;
@@ -1892,6 +1902,16 @@ public function getName()
}
}
+class Google_Service_Manager_TemplateActions extends Google_Model
+{
+
+}
+
+class Google_Service_Manager_TemplateModules extends Google_Model
+{
+
+}
+
class Google_Service_Manager_TemplatesListResponse extends Google_Collection
{
public $nextPageToken;
From 238a6289da20a72b83ef4b0b1cf57aa6ccc4326d Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 25 Jul 2014 00:55:08 -0700
Subject: [PATCH 0405/1602] Updated Reports.php
---
src/Google/Service/Reports.php | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/src/Google/Service/Reports.php b/src/Google/Service/Reports.php
index f1ab72044..bf6cdd1f3 100644
--- a/src/Google/Service/Reports.php
+++ b/src/Google/Service/Reports.php
@@ -873,6 +873,11 @@ public function getType()
}
}
+class Google_Service_Reports_ChannelParams extends Google_Model
+{
+
+}
+
class Google_Service_Reports_UsageReport extends Google_Collection
{
public $date;
@@ -1052,6 +1057,11 @@ public function getStringValue()
}
}
+class Google_Service_Reports_UsageReportParametersMsgValue extends Google_Model
+{
+
+}
+
class Google_Service_Reports_UsageReports extends Google_Collection
{
public $etag;
From 075031356026aa727a2052b46eeb48afc980294b Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 25 Jul 2014 00:55:09 -0700
Subject: [PATCH 0406/1602] Updated Analytics.php
---
src/Google/Service/Analytics.php | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/src/Google/Service/Analytics.php b/src/Google/Service/Analytics.php
index fc23db2fa..45c3380a7 100644
--- a/src/Google/Service/Analytics.php
+++ b/src/Google/Service/Analytics.php
@@ -4231,6 +4231,11 @@ public function getKind()
}
}
+class Google_Service_Analytics_ColumnAttributes extends Google_Model
+{
+
+}
+
class Google_Service_Analytics_Columns extends Google_Collection
{
public $attributeNames;
@@ -6971,6 +6976,11 @@ public function getStartIndex()
}
}
+class Google_Service_Analytics_GaDataTotalsForAllResults extends Google_Model
+{
+
+}
+
class Google_Service_Analytics_Goal extends Google_Model
{
public $accountId;
@@ -7990,6 +8000,11 @@ public function getNodeValue()
}
}
+class Google_Service_Analytics_McfDataTotalsForAllResults extends Google_Model
+{
+
+}
+
class Google_Service_Analytics_Profile extends Google_Model
{
public $accountId;
@@ -8987,6 +9002,11 @@ public function getSort()
}
}
+class Google_Service_Analytics_RealtimeDataTotalsForAllResults extends Google_Model
+{
+
+}
+
class Google_Service_Analytics_Segment extends Google_Model
{
public $created;
From 0ea278f39c19c021d0063d853614677c6eca497a Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 25 Jul 2014 00:55:09 -0700
Subject: [PATCH 0407/1602] Updated Cloudmonitoring.php
---
src/Google/Service/Cloudmonitoring.php | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/Google/Service/Cloudmonitoring.php b/src/Google/Service/Cloudmonitoring.php
index 850e6b5b1..6fba8da35 100644
--- a/src/Google/Service/Cloudmonitoring.php
+++ b/src/Google/Service/Cloudmonitoring.php
@@ -969,3 +969,8 @@ public function getProject()
return $this->project;
}
}
+
+class Google_Service_Cloudmonitoring_TimeseriesDescriptorLabels extends Google_Model
+{
+
+}
From d76205eb43fd30ab4b71bf72f6ad0d9fd810f364 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 25 Jul 2014 00:55:09 -0700
Subject: [PATCH 0408/1602] Updated Prediction.php
---
src/Google/Service/Prediction.php | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/src/Google/Service/Prediction.php b/src/Google/Service/Prediction.php
index 400bb3777..33286ba24 100644
--- a/src/Google/Service/Prediction.php
+++ b/src/Google/Service/Prediction.php
@@ -708,6 +708,11 @@ public function getValue()
}
}
+class Google_Service_Prediction_AnalyzeErrors extends Google_Model
+{
+
+}
+
class Google_Service_Prediction_AnalyzeModelDescription extends Google_Model
{
public $confusionMatrix;
@@ -746,6 +751,21 @@ public function getModelinfo()
}
}
+class Google_Service_Prediction_AnalyzeModelDescriptionConfusionMatrix extends Google_Model
+{
+
+}
+
+class Google_Service_Prediction_AnalyzeModelDescriptionConfusionMatrixElement extends Google_Model
+{
+
+}
+
+class Google_Service_Prediction_AnalyzeModelDescriptionConfusionMatrixRowTotals extends Google_Model
+{
+
+}
+
class Google_Service_Prediction_Input extends Google_Model
{
protected $inputType = 'Google_Service_Prediction_InputInput';
@@ -1092,6 +1112,11 @@ public function getOutput()
}
}
+class Google_Service_Prediction_InsertUtility extends Google_Model
+{
+
+}
+
class Google_Service_Prediction_Output extends Google_Collection
{
public $id;
From bade60515a1bbcc736593fc862b7de26dc5722d9 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 25 Jul 2014 00:55:09 -0700
Subject: [PATCH 0409/1602] Updated IdentityToolkit.php
---
src/Google/Service/IdentityToolkit.php | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/Google/Service/IdentityToolkit.php b/src/Google/Service/IdentityToolkit.php
index f248f9c3f..03b2c5930 100644
--- a/src/Google/Service/IdentityToolkit.php
+++ b/src/Google/Service/IdentityToolkit.php
@@ -601,6 +601,11 @@ public function getLocalId()
}
}
+class Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyGetPublicKeysResponse extends Google_Model
+{
+
+}
+
class Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyResetPasswordRequest extends Google_Model
{
public $email;
From edb90204d6b0693cdf5ee7bb68a8a71558a14930 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 25 Jul 2014 00:55:10 -0700
Subject: [PATCH 0410/1602] Updated Drive.php
---
src/Google/Service/Drive.php | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/src/Google/Service/Drive.php b/src/Google/Service/Drive.php
index aaa94c035..1ed485817 100644
--- a/src/Google/Service/Drive.php
+++ b/src/Google/Service/Drive.php
@@ -3624,6 +3624,11 @@ public function getType()
}
}
+class Google_Service_Drive_ChannelParams extends Google_Model
+{
+
+}
+
class Google_Service_Drive_ChildList extends Google_Collection
{
public $etag;
@@ -4719,6 +4724,11 @@ public function getWritersCanShare()
}
}
+class Google_Service_Drive_DriveFileExportLinks extends Google_Model
+{
+
+}
+
class Google_Service_Drive_DriveFileImageMediaMetadata extends Google_Model
{
public $aperture;
@@ -5066,6 +5076,11 @@ public function getViewed()
}
}
+class Google_Service_Drive_DriveFileOpenWithLinks extends Google_Model
+{
+
+}
+
class Google_Service_Drive_DriveFileThumbnail extends Google_Model
{
public $image;
@@ -5826,6 +5841,11 @@ public function getSelfLink()
}
}
+class Google_Service_Drive_RevisionExportLinks extends Google_Model
+{
+
+}
+
class Google_Service_Drive_RevisionList extends Google_Collection
{
public $etag;
From fbda7f4163a242eae2f7bdc6bd995fd5f9fd4893 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 25 Jul 2014 00:55:10 -0700
Subject: [PATCH 0411/1602] Updated Directory.php
---
src/Google/Service/Directory.php | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/Google/Service/Directory.php b/src/Google/Service/Directory.php
index 7c50ce451..53a739305 100644
--- a/src/Google/Service/Directory.php
+++ b/src/Google/Service/Directory.php
@@ -2696,6 +2696,11 @@ public function getType()
}
}
+class Google_Service_Directory_ChannelParams extends Google_Model
+{
+
+}
+
class Google_Service_Directory_ChromeOsDevice extends Google_Collection
{
public $annotatedLocation;
From 7eb6b093432c61af9a1d925e72015ff11cfb2591 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 25 Jul 2014 00:55:11 -0700
Subject: [PATCH 0412/1602] Updated Customsearch.php
---
src/Google/Service/Customsearch.php | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/src/Google/Service/Customsearch.php b/src/Google/Service/Customsearch.php
index cda6256c5..b45c9466d 100644
--- a/src/Google/Service/Customsearch.php
+++ b/src/Google/Service/Customsearch.php
@@ -1217,6 +1217,16 @@ public function getName()
}
}
+class Google_Service_Customsearch_ResultPagemap extends Google_Model
+{
+
+}
+
+class Google_Service_Customsearch_ResultPagemapItemElement extends Google_Model
+{
+
+}
+
class Google_Service_Customsearch_Search extends Google_Collection
{
protected $contextType = 'Google_Service_Customsearch_Context';
@@ -1316,6 +1326,11 @@ public function getUrl()
}
}
+class Google_Service_Customsearch_SearchQueries extends Google_Model
+{
+
+}
+
class Google_Service_Customsearch_SearchSearchInformation extends Google_Model
{
public $formattedSearchTime;
From b50cca43402bf87980aabb58df25039922eda2c9 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 25 Jul 2014 00:55:11 -0700
Subject: [PATCH 0413/1602] Updated Datastore.php
---
src/Google/Service/Datastore.php | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/Google/Service/Datastore.php b/src/Google/Service/Datastore.php
index 1f7bdf2ca..8ec92e253 100644
--- a/src/Google/Service/Datastore.php
+++ b/src/Google/Service/Datastore.php
@@ -451,6 +451,11 @@ public function getProperties()
}
}
+class Google_Service_Datastore_EntityProperties extends Google_Model
+{
+
+}
+
class Google_Service_Datastore_EntityResult extends Google_Model
{
protected $entityType = 'Google_Service_Datastore_Entity';
From fa3a2dcbef5a2233cfaa9c6fe28bae57c03b6465 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 25 Jul 2014 00:55:11 -0700
Subject: [PATCH 0414/1602] Updated Pagespeedonline.php
---
src/Google/Service/Pagespeedonline.php | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/Google/Service/Pagespeedonline.php b/src/Google/Service/Pagespeedonline.php
index 50437ea99..e1632d75f 100644
--- a/src/Google/Service/Pagespeedonline.php
+++ b/src/Google/Service/Pagespeedonline.php
@@ -281,6 +281,11 @@ public function getRuleResults()
}
}
+class Google_Service_Pagespeedonline_ResultFormattedResultsRuleResults extends Google_Model
+{
+
+}
+
class Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElement extends Google_Collection
{
public $localizedRuleName;
From d7252c325421d003079888782acc060317787645 Mon Sep 17 00:00:00 2001
From: Daniel Zhang
Date: Sat, 26 Jul 2014 20:03:23 +0800
Subject: [PATCH 0415/1602] Remove HTTP/1.1 proxy header
---
src/Google/IO/Abstract.php | 25 ++++++++++++++++---------
tests/general/IoTest.php | 31 ++++++++++++++++++-------------
2 files changed, 34 insertions(+), 22 deletions(-)
diff --git a/src/Google/IO/Abstract.php b/src/Google/IO/Abstract.php
index ba9fe8d87..2d80afdd8 100644
--- a/src/Google/IO/Abstract.php
+++ b/src/Google/IO/Abstract.php
@@ -28,7 +28,10 @@ abstract class Google_IO_Abstract
{
const UNKNOWN_CODE = 0;
const FORM_URLENCODED = 'application/x-www-form-urlencoded';
- const CONNECTION_ESTABLISHED = "HTTP/1.0 200 Connection established\r\n\r\n";
+ private static $CONNECTION_ESTABLISHED_HEADERS = array(
+ "HTTP/1.0 200 Connection established\r\n\r\n",
+ "HTTP/1.1 200 Connection established\r\n\r\n",
+ );
private static $ENTITY_HTTP_METHODS = array("POST" => null, "PUT" => null);
/** @var Google_Client */
@@ -249,14 +252,18 @@ protected function updateCachedRequest($cached, $responseHeaders)
*/
public function parseHttpResponse($respData, $headerSize)
{
- if (stripos($respData, self::CONNECTION_ESTABLISHED) !== false) {
- $respData = str_ireplace(self::CONNECTION_ESTABLISHED, '', $respData);
-
- // Subtract the proxy header size unless the cURL bug prior to 7.30.0
- // is present which prevented the proxy header size from being taken into
- // account.
- if (!$this->needsQuirk()) {
- $headerSize -= strlen(self::CONNECTION_ESTABLISHED);
+ // check proxy header
+ foreach (self::$CONNECTION_ESTABLISHED_HEADERS as $established_header) {
+ if (stripos($respData, $established_header) !== false) {
+ // existed, remove it
+ $respData = str_ireplace($established_header, '', $respData);
+ // Subtract the proxy header size unless the cURL bug prior to 7.30.0
+ // is present which prevented the proxy header size from being taken into
+ // account.
+ if (!$this->needsQuirk()) {
+ $headerSize -= strlen($established_header);
+ }
+ break;
}
}
diff --git a/tests/general/IoTest.php b/tests/general/IoTest.php
index f4dfa14f1..8710f42fc 100644
--- a/tests/general/IoTest.php
+++ b/tests/general/IoTest.php
@@ -237,20 +237,25 @@ public function responseChecker($io)
$this->assertEquals(null, json_decode($body, true));
// Test transforms from proxies.
- $rawHeaders = Google_IO_Abstract::CONNECTION_ESTABLISHED
- . "HTTP/1.1 200 OK\r\nContent-Type: application/json\r\n";
- $headersSize = strlen($rawHeaders);
- // If we have a broken cURL version we have to simulate it to get the
- // correct test result.
- if ($hasQuirk && get_class($io) === 'Google_IO_Curl') {
- $headersSize -= strlen(Google_IO_Abstract::CONNECTION_ESTABLISHED);
+ $connection_established_headers = array(
+ "HTTP/1.0 200 Connection established\r\n\r\n",
+ "HTTP/1.1 200 Connection established\r\n\r\n",
+ );
+ foreach ($connection_established_headers as $established_header) {
+ $rawHeaders = "{$established_header}HTTP/1.1 200 OK\r\nContent-Type: application/json\r\n";
+ $headersSize = strlen($rawHeaders);
+ // If we have a broken cURL version we have to simulate it to get the
+ // correct test result.
+ if ($hasQuirk && get_class($io) === 'Google_IO_Curl') {
+ $headersSize -= strlen($established_header);
+ }
+ $rawBody = "{}";
+
+ $rawResponse = "$rawHeaders\r\n$rawBody";
+ list($headers, $body) = $io->parseHttpResponse($rawResponse, $headersSize);
+ $this->assertEquals(1, sizeof($headers));
+ $this->assertEquals(array(), json_decode($body, true));
}
- $rawBody = "{}";
-
- $rawResponse = "$rawHeaders\r\n$rawBody";
- list($headers, $body) = $io->parseHttpResponse($rawResponse, $headersSize);
- $this->assertEquals(1, sizeof($headers));
- $this->assertEquals(array(), json_decode($body, true));
}
public function processEntityRequest($io, $client)
From 697a0fe34fdd9a1e9f5d8fd0a21d9533318f6663 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Sun, 27 Jul 2014 00:56:48 -0700
Subject: [PATCH 0416/1602] Updated Genomics.php
---
src/Google/Service/Genomics.php | 76 ++++++++++++++++++++++-----------
1 file changed, 52 insertions(+), 24 deletions(-)
diff --git a/src/Google/Service/Genomics.php b/src/Google/Service/Genomics.php
index 7198d7ee5..1826ae6c1 100644
--- a/src/Google/Service/Genomics.php
+++ b/src/Google/Service/Genomics.php
@@ -209,6 +209,16 @@ public function __construct(Google_Client $client)
'required' => true,
),
),
+ ),'undelete' => array(
+ 'path' => 'datasets/{datasetId}/undelete',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'datasetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
),'update' => array(
'path' => 'datasets/{datasetId}',
'httpMethod' => 'PUT',
@@ -243,7 +253,17 @@ public function __construct(Google_Client $client)
'jobs',
array(
'methods' => array(
- 'get' => array(
+ 'cancel' => array(
+ 'path' => 'jobs/{jobId}/cancel',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'jobId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
'path' => 'jobs/{jobId}',
'httpMethod' => 'GET',
'parameters' => array(
@@ -635,6 +655,22 @@ public function patch($datasetId, Google_Service_Genomics_Dataset $postBody, $op
$params = array_merge($params, $optParams);
return $this->call('patch', array($params), "Google_Service_Genomics_Dataset");
}
+ /**
+ * Undeletes a dataset by restoring a dataset which was deleted via this API.
+ * This operation is only possible for a week after the deletion occurred.
+ * (datasets.undelete)
+ *
+ * @param string $datasetId
+ * The ID of the dataset to be undeleted.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_Dataset
+ */
+ public function undelete($datasetId, $optParams = array())
+ {
+ $params = array('datasetId' => $datasetId);
+ $params = array_merge($params, $optParams);
+ return $this->call('undelete', array($params), "Google_Service_Genomics_Dataset");
+ }
/**
* Updates a dataset. (datasets.update)
*
@@ -703,11 +739,25 @@ public function create(Google_Service_Genomics_ExperimentalCreateJobRequest $pos
class Google_Service_Genomics_Jobs_Resource extends Google_Service_Resource
{
+ /**
+ * Cancels a job by ID. Note that it is possible for partial results to be
+ * generated and stored for cancelled jobs. (jobs.cancel)
+ *
+ * @param string $jobId
+ * Required. The ID of the job.
+ * @param array $optParams Optional parameters.
+ */
+ public function cancel($jobId, $optParams = array())
+ {
+ $params = array('jobId' => $jobId);
+ $params = array_merge($params, $optParams);
+ return $this->call('cancel', array($params));
+ }
/**
* Gets a job by ID. (jobs.get)
*
* @param string $jobId
- * The ID of the job.
+ * Required. The ID of the job.
* @param array $optParams Optional parameters.
* @return Google_Service_Genomics_Job
*/
@@ -2262,23 +2312,11 @@ class Google_Service_Genomics_ReadTags extends Google_Model
class Google_Service_Genomics_Readset extends Google_Collection
{
- public $created;
public $datasetId;
protected $fileDataType = 'Google_Service_Genomics_HeaderSection';
protected $fileDataDataType = 'array';
public $id;
public $name;
- public $readCount;
-
- public function setCreated($created)
- {
- $this->created = $created;
- }
-
- public function getCreated()
- {
- return $this->created;
- }
public function setDatasetId($datasetId)
{
@@ -2319,16 +2357,6 @@ public function getName()
{
return $this->name;
}
-
- public function setReadCount($readCount)
- {
- $this->readCount = $readCount;
- }
-
- public function getReadCount()
- {
- return $this->readCount;
- }
}
class Google_Service_Genomics_ReferenceSequence extends Google_Model
From 6cfbed015679afaf3c197497bd1d44c0927a860f Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 31 Jul 2014 00:59:55 -0700
Subject: [PATCH 0417/1602] Updated MapsEngine.php
---
src/Google/Service/MapsEngine.php | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/Google/Service/MapsEngine.php b/src/Google/Service/MapsEngine.php
index dbd0c809f..d898b708e 100644
--- a/src/Google/Service/MapsEngine.php
+++ b/src/Google/Service/MapsEngine.php
@@ -2156,7 +2156,8 @@ public function get($tableId, $id, $optParams = array())
* @opt_param string intersects
* A geometry literal that specifies the spatial restriction of the query.
* @opt_param string maxResults
- * The maximum number of items to include in the response, used for paging.
+ * The maximum number of items to include in the response, used for paging. The maximum supported
+ * value is 1000.
* @opt_param string pageToken
* The continuation token, used to page through large result sets. To get the next page of results,
* set this parameter to the value of nextPageToken from the previous response.
@@ -3082,7 +3083,7 @@ public function getDatasourceType()
return $this->datasourceType;
}
- public function setDatasources($datasources)
+ public function setDatasources(Google_Service_MapsEngine_Datasource $datasources)
{
$this->datasources = $datasources;
}
@@ -3322,7 +3323,7 @@ class Google_Service_MapsEngine_Map extends Google_Collection
{
public $bbox;
protected $contentsType = 'Google_Service_MapsEngine_MapItem';
- protected $contentsDataType = 'array';
+ protected $contentsDataType = '';
public $creationTime;
public $defaultViewport;
public $description;
@@ -3347,7 +3348,7 @@ public function getBbox()
return $this->bbox;
}
- public function setContents($contents)
+ public function setContents(Google_Service_MapsEngine_MapItem $contents)
{
$this->contents = $contents;
}
From 5051b676efa0457f5aa919b3cf2d4ddd5d40d03d Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 31 Jul 2014 00:59:55 -0700
Subject: [PATCH 0418/1602] Updated Blogger.php
---
src/Google/Service/Blogger.php | 84 ++++++++++++++++++++++++++++++++++
1 file changed, 84 insertions(+)
diff --git a/src/Google/Service/Blogger.php b/src/Google/Service/Blogger.php
index 3842bec19..2438429b5 100644
--- a/src/Google/Service/Blogger.php
+++ b/src/Google/Service/Blogger.php
@@ -470,6 +470,36 @@ public function __construct(Google_Client $client)
'type' => 'boolean',
),
),
+ ),'publish' => array(
+ 'path' => 'blogs/{blogId}/pages/{pageId}/publish',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'revert' => array(
+ 'path' => 'blogs/{blogId}/pages/{pageId}/revert',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
),'update' => array(
'path' => 'blogs/{blogId}/pages/{pageId}',
'httpMethod' => 'PUT',
@@ -1297,6 +1327,38 @@ public function patch($blogId, $pageId, Google_Service_Blogger_Page $postBody, $
$params = array_merge($params, $optParams);
return $this->call('patch', array($params), "Google_Service_Blogger_Page");
}
+ /**
+ * Publishes a draft page. (pages.publish)
+ *
+ * @param string $blogId
+ * The ID of the blog.
+ * @param string $pageId
+ * The ID of the page.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Blogger_Page
+ */
+ public function publish($blogId, $pageId, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'pageId' => $pageId);
+ $params = array_merge($params, $optParams);
+ return $this->call('publish', array($params), "Google_Service_Blogger_Page");
+ }
+ /**
+ * Revert a published or scheduled page to draft state. (pages.revert)
+ *
+ * @param string $blogId
+ * The ID of the blog.
+ * @param string $pageId
+ * The ID of the page.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Blogger_Page
+ */
+ public function revert($blogId, $pageId, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'pageId' => $pageId);
+ $params = array_merge($params, $optParams);
+ return $this->call('revert', array($params), "Google_Service_Blogger_Page");
+ }
/**
* Update a page. (pages.update)
*
@@ -2372,6 +2434,7 @@ class Google_Service_Blogger_Page extends Google_Model
protected $blogType = 'Google_Service_Blogger_PageBlog';
protected $blogDataType = '';
public $content;
+ public $etag;
public $id;
public $kind;
public $published;
@@ -2411,6 +2474,16 @@ public function getContent()
return $this->content;
}
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
public function setId($id)
{
$this->id = $id;
@@ -2670,6 +2743,7 @@ class Google_Service_Blogger_Post extends Google_Collection
protected $blogDataType = '';
public $content;
public $customMetaData;
+ public $etag;
public $id;
protected $imagesType = 'Google_Service_Blogger_PostImages';
protected $imagesDataType = 'array';
@@ -2728,6 +2802,16 @@ public function getCustomMetaData()
return $this->customMetaData;
}
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
public function setId($id)
{
$this->id = $id;
From 3784898e3e8ed1a6ebddebe80e9102d4d3de65de Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 31 Jul 2014 00:59:56 -0700
Subject: [PATCH 0419/1602] Updated AndroidPublisher.php
---
src/Google/Service/AndroidPublisher.php | 3099 ++++++++++++++++++++++-
1 file changed, 2991 insertions(+), 108 deletions(-)
diff --git a/src/Google/Service/AndroidPublisher.php b/src/Google/Service/AndroidPublisher.php
index 957ccb8c8..41a94e097 100644
--- a/src/Google/Service/AndroidPublisher.php
+++ b/src/Google/Service/AndroidPublisher.php
@@ -16,7 +16,7 @@
*/
/**
- * Service definition for AndroidPublisher (v1.1).
+ * Service definition for AndroidPublisher (v2).
*
*
* Lets Android application developers access their Google Play accounts.
@@ -34,8 +34,18 @@ class Google_Service_AndroidPublisher extends Google_Service
/** View and manage your Google Play Android Developer account. */
const ANDROIDPUBLISHER = "https://www.googleapis.com/auth/androidpublisher";
- public $inapppurchases;
- public $purchases;
+ public $edits;
+ public $edits_apklistings;
+ public $edits_apks;
+ public $edits_details;
+ public $edits_expansionfiles;
+ public $edits_images;
+ public $edits_listings;
+ public $edits_testers;
+ public $edits_tracks;
+ public $inappproducts;
+ public $purchases_products;
+ public $purchases_subscriptions;
/**
@@ -46,18 +56,48 @@ class Google_Service_AndroidPublisher extends Google_Service
public function __construct(Google_Client $client)
{
parent::__construct($client);
- $this->servicePath = 'androidpublisher/v1.1/applications/';
- $this->version = 'v1.1';
+ $this->servicePath = 'androidpublisher/v2/applications/';
+ $this->version = 'v2';
$this->serviceName = 'androidpublisher';
- $this->inapppurchases = new Google_Service_AndroidPublisher_Inapppurchases_Resource(
+ $this->edits = new Google_Service_AndroidPublisher_Edits_Resource(
$this,
$this->serviceName,
- 'inapppurchases',
+ 'edits',
array(
'methods' => array(
- 'get' => array(
- 'path' => '{packageName}/inapp/{productId}/purchases/{token}',
+ 'commit' => array(
+ 'path' => '{packageName}/edits/{editId}:commit',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => '{packageName}/edits/{editId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{packageName}/edits/{editId}',
'httpMethod' => 'GET',
'parameters' => array(
'packageName' => array(
@@ -65,12 +105,17 @@ public function __construct(Google_Client $client)
'type' => 'string',
'required' => true,
),
- 'productId' => array(
+ 'editId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
- 'token' => array(
+ ),
+ ),'insert' => array(
+ 'path' => '{packageName}/edits',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'packageName' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
@@ -80,34 +125,59 @@ public function __construct(Google_Client $client)
)
)
);
- $this->purchases = new Google_Service_AndroidPublisher_Purchases_Resource(
+ $this->edits_apklistings = new Google_Service_AndroidPublisher_EditsApklistings_Resource(
$this,
$this->serviceName,
- 'purchases',
+ 'apklistings',
array(
'methods' => array(
- 'cancel' => array(
- 'path' => '{packageName}/subscriptions/{subscriptionId}/purchases/{token}/cancel',
- 'httpMethod' => 'POST',
+ 'delete' => array(
+ 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}',
+ 'httpMethod' => 'DELETE',
'parameters' => array(
'packageName' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
- 'subscriptionId' => array(
+ 'editId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
- 'token' => array(
+ 'apkVersionCode' => array(
+ 'location' => 'path',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ 'language' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'deleteall' => array(
+ 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
+ 'apkVersionCode' => array(
+ 'location' => 'path',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
),
),'get' => array(
- 'path' => '{packageName}/subscriptions/{subscriptionId}/purchases/{token}',
+ 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}',
'httpMethod' => 'GET',
'parameters' => array(
'packageName' => array(
@@ -115,12 +185,182 @@ public function __construct(Google_Client $client)
'type' => 'string',
'required' => true,
),
- 'subscriptionId' => array(
+ 'editId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
- 'token' => array(
+ 'apkVersionCode' => array(
+ 'location' => 'path',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ 'language' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'apkVersionCode' => array(
+ 'location' => 'path',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'apkVersionCode' => array(
+ 'location' => 'path',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ 'language' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'apkVersionCode' => array(
+ 'location' => 'path',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ 'language' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->edits_apks = new Google_Service_AndroidPublisher_EditsApks_Resource(
+ $this,
+ $this->serviceName,
+ 'apks',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => '{packageName}/edits/{editId}/apks',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'upload' => array(
+ 'path' => '{packageName}/edits/{editId}/apks',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->edits_details = new Google_Service_AndroidPublisher_EditsDetails_Resource(
+ $this,
+ $this->serviceName,
+ 'details',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => '{packageName}/edits/{editId}/details',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => '{packageName}/edits/{editId}/details',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => '{packageName}/edits/{editId}/details',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
@@ -130,105 +370,2632 @@ public function __construct(Google_Client $client)
)
)
);
+ $this->edits_expansionfiles = new Google_Service_AndroidPublisher_EditsExpansionfiles_Resource(
+ $this,
+ $this->serviceName,
+ 'expansionfiles',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'apkVersionCode' => array(
+ 'location' => 'path',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ 'expansionFileType' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'apkVersionCode' => array(
+ 'location' => 'path',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ 'expansionFileType' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'apkVersionCode' => array(
+ 'location' => 'path',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ 'expansionFileType' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'upload' => array(
+ 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'apkVersionCode' => array(
+ 'location' => 'path',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ 'expansionFileType' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->edits_images = new Google_Service_AndroidPublisher_EditsImages_Resource(
+ $this,
+ $this->serviceName,
+ 'images',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => '{packageName}/edits/{editId}/listings/{language}/{imageType}/{imageId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'language' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'imageType' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'imageId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'deleteall' => array(
+ 'path' => '{packageName}/edits/{editId}/listings/{language}/{imageType}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'language' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'imageType' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{packageName}/edits/{editId}/listings/{language}/{imageType}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'language' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'imageType' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'upload' => array(
+ 'path' => '{packageName}/edits/{editId}/listings/{language}/{imageType}',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'language' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'imageType' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->edits_listings = new Google_Service_AndroidPublisher_EditsListings_Resource(
+ $this,
+ $this->serviceName,
+ 'listings',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => '{packageName}/edits/{editId}/listings/{language}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'language' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'deleteall' => array(
+ 'path' => '{packageName}/edits/{editId}/listings',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{packageName}/edits/{editId}/listings/{language}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'language' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{packageName}/edits/{editId}/listings',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => '{packageName}/edits/{editId}/listings/{language}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'language' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => '{packageName}/edits/{editId}/listings/{language}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'language' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->edits_testers = new Google_Service_AndroidPublisher_EditsTesters_Resource(
+ $this,
+ $this->serviceName,
+ 'testers',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => '{packageName}/edits/{editId}/testers/{track}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'track' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => '{packageName}/edits/{editId}/testers/{track}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'track' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => '{packageName}/edits/{editId}/testers/{track}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'track' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->edits_tracks = new Google_Service_AndroidPublisher_EditsTracks_Resource(
+ $this,
+ $this->serviceName,
+ 'tracks',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => '{packageName}/edits/{editId}/tracks/{track}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'track' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{packageName}/edits/{editId}/tracks',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => '{packageName}/edits/{editId}/tracks/{track}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'track' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => '{packageName}/edits/{editId}/tracks/{track}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'track' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->inappproducts = new Google_Service_AndroidPublisher_Inappproducts_Resource(
+ $this,
+ $this->serviceName,
+ 'inappproducts',
+ array(
+ 'methods' => array(
+ 'batch' => array(
+ 'path' => 'inappproducts/batch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'delete' => array(
+ 'path' => '{packageName}/inappproducts/{sku}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'sku' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{packageName}/inappproducts/{sku}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'sku' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{packageName}/inappproducts',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'autoConvertMissingPrices' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{packageName}/inappproducts',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'token' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'startIndex' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => '{packageName}/inappproducts/{sku}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'sku' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'autoConvertMissingPrices' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => '{packageName}/inappproducts/{sku}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'sku' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'autoConvertMissingPrices' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->purchases_products = new Google_Service_AndroidPublisher_PurchasesProducts_Resource(
+ $this,
+ $this->serviceName,
+ 'products',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => '{packageName}/purchases/products/{productId}/tokens/{token}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'productId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'token' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->purchases_subscriptions = new Google_Service_AndroidPublisher_PurchasesSubscriptions_Resource(
+ $this,
+ $this->serviceName,
+ 'subscriptions',
+ array(
+ 'methods' => array(
+ 'cancel' => array(
+ 'path' => '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:cancel',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'subscriptionId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'token' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'subscriptionId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'token' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "edits" collection of methods.
+ * Typical usage is:
+ *
+ * $androidpublisherService = new Google_Service_AndroidPublisher(...);
+ * $edits = $androidpublisherService->edits;
+ *
+ */
+class Google_Service_AndroidPublisher_Edits_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Commits/applies the changes made in this edit back to the app. (edits.commit)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_AppEdit
+ */
+ public function commit($packageName, $editId, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId);
+ $params = array_merge($params, $optParams);
+ return $this->call('commit', array($params), "Google_Service_AndroidPublisher_AppEdit");
+ }
+ /**
+ * Deletes an edit for an app. Creating a new edit will automatically delete any
+ * of your previous edits so this method need only be called if you want to
+ * preemptively abandon an edit. (edits.delete)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($packageName, $editId, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Returns information about the edit specified. Calls will fail if the edit is
+ * no long active (e.g. has been deleted, superseded or expired). (edits.get)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_AppEdit
+ */
+ public function get($packageName, $editId, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_AndroidPublisher_AppEdit");
+ }
+ /**
+ * Creates a new edit for an app, populated with the app's current state.
+ * (edits.insert)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param Google_AppEdit $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_AppEdit
+ */
+ public function insert($packageName, Google_Service_AndroidPublisher_AppEdit $postBody, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_AndroidPublisher_AppEdit");
+ }
+}
+
+/**
+ * The "apklistings" collection of methods.
+ * Typical usage is:
+ *
+ * $androidpublisherService = new Google_Service_AndroidPublisher(...);
+ * $apklistings = $androidpublisherService->apklistings;
+ *
+ */
+class Google_Service_AndroidPublisher_EditsApklistings_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Deletes the APK-specific localized listing for a specified APK and language
+ * code. (apklistings.delete)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param int $apkVersionCode
+ * The APK version code whose APK-specific listings should be read or modified.
+ * @param string $language
+ * The language code (a BCP-47 language tag) of the APK-specific localized listing to read or
+ * modify. For example, to select Austrian German, pass "de-AT".
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($packageName, $editId, $apkVersionCode, $language, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'language' => $language);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Deletes all the APK-specific localized listings for a specified APK.
+ * (apklistings.deleteall)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param int $apkVersionCode
+ * The APK version code whose APK-specific listings should be read or modified.
+ * @param array $optParams Optional parameters.
+ */
+ public function deleteall($packageName, $editId, $apkVersionCode, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode);
+ $params = array_merge($params, $optParams);
+ return $this->call('deleteall', array($params));
+ }
+ /**
+ * Fetches the APK-specific localized listing for a specified APK and language
+ * code. (apklistings.get)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param int $apkVersionCode
+ * The APK version code whose APK-specific listings should be read or modified.
+ * @param string $language
+ * The language code (a BCP-47 language tag) of the APK-specific localized listing to read or
+ * modify. For example, to select Austrian German, pass "de-AT".
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_ApkListing
+ */
+ public function get($packageName, $editId, $apkVersionCode, $language, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'language' => $language);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_AndroidPublisher_ApkListing");
+ }
+ /**
+ * Lists all the APK-specific localized listings for a specified APK.
+ * (apklistings.listEditsApklistings)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param int $apkVersionCode
+ * The APK version code whose APK-specific listings should be read or modified.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_ApkListingsListResponse
+ */
+ public function listEditsApklistings($packageName, $editId, $apkVersionCode, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AndroidPublisher_ApkListingsListResponse");
+ }
+ /**
+ * Updates or creates the APK-specific localized listing for a specified APK and
+ * language code. This method supports patch semantics. (apklistings.patch)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param int $apkVersionCode
+ * The APK version code whose APK-specific listings should be read or modified.
+ * @param string $language
+ * The language code (a BCP-47 language tag) of the APK-specific localized listing to read or
+ * modify. For example, to select Austrian German, pass "de-AT".
+ * @param Google_ApkListing $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_ApkListing
+ */
+ public function patch($packageName, $editId, $apkVersionCode, $language, Google_Service_AndroidPublisher_ApkListing $postBody, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'language' => $language, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_AndroidPublisher_ApkListing");
+ }
+ /**
+ * Updates or creates the APK-specific localized listing for a specified APK and
+ * language code. (apklistings.update)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param int $apkVersionCode
+ * The APK version code whose APK-specific listings should be read or modified.
+ * @param string $language
+ * The language code (a BCP-47 language tag) of the APK-specific localized listing to read or
+ * modify. For example, to select Austrian German, pass "de-AT".
+ * @param Google_ApkListing $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_ApkListing
+ */
+ public function update($packageName, $editId, $apkVersionCode, $language, Google_Service_AndroidPublisher_ApkListing $postBody, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'language' => $language, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_AndroidPublisher_ApkListing");
+ }
+}
+/**
+ * The "apks" collection of methods.
+ * Typical usage is:
+ *
+ * $androidpublisherService = new Google_Service_AndroidPublisher(...);
+ * $apks = $androidpublisherService->apks;
+ *
+ */
+class Google_Service_AndroidPublisher_EditsApks_Resource extends Google_Service_Resource
+{
+
+ /**
+ * (apks.listEditsApks)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_ApksListResponse
+ */
+ public function listEditsApks($packageName, $editId, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AndroidPublisher_ApksListResponse");
+ }
+ /**
+ * (apks.upload)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_Apk
+ */
+ public function upload($packageName, $editId, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId);
+ $params = array_merge($params, $optParams);
+ return $this->call('upload', array($params), "Google_Service_AndroidPublisher_Apk");
+ }
+}
+/**
+ * The "details" collection of methods.
+ * Typical usage is:
+ *
+ * $androidpublisherService = new Google_Service_AndroidPublisher(...);
+ * $details = $androidpublisherService->details;
+ *
+ */
+class Google_Service_AndroidPublisher_EditsDetails_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Fetches app details for this edit. This includes the default language and
+ * developer support contact information. (details.get)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_AppDetails
+ */
+ public function get($packageName, $editId, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_AndroidPublisher_AppDetails");
+ }
+ /**
+ * Updates app details for this edit. This method supports patch semantics.
+ * (details.patch)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param Google_AppDetails $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_AppDetails
+ */
+ public function patch($packageName, $editId, Google_Service_AndroidPublisher_AppDetails $postBody, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_AndroidPublisher_AppDetails");
+ }
+ /**
+ * Updates app details for this edit. (details.update)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param Google_AppDetails $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_AppDetails
+ */
+ public function update($packageName, $editId, Google_Service_AndroidPublisher_AppDetails $postBody, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_AndroidPublisher_AppDetails");
+ }
+}
+/**
+ * The "expansionfiles" collection of methods.
+ * Typical usage is:
+ *
+ * $androidpublisherService = new Google_Service_AndroidPublisher(...);
+ * $expansionfiles = $androidpublisherService->expansionfiles;
+ *
+ */
+class Google_Service_AndroidPublisher_EditsExpansionfiles_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Fetches the Expansion File configuration for the APK specified.
+ * (expansionfiles.get)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param int $apkVersionCode
+ * The version code of the APK whose Expansion File configuration is being read or modified.
+ * @param string $expansionFileType
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_ExpansionFile
+ */
+ public function get($packageName, $editId, $apkVersionCode, $expansionFileType, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'expansionFileType' => $expansionFileType);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_AndroidPublisher_ExpansionFile");
+ }
+ /**
+ * Updates the APK's Expansion File configuration to reference another APK's
+ * Expansion Files. To add a new Expansion File use the Upload method. This
+ * method supports patch semantics. (expansionfiles.patch)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param int $apkVersionCode
+ * The version code of the APK whose Expansion File configuration is being read or modified.
+ * @param string $expansionFileType
+ *
+ * @param Google_ExpansionFile $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_ExpansionFile
+ */
+ public function patch($packageName, $editId, $apkVersionCode, $expansionFileType, Google_Service_AndroidPublisher_ExpansionFile $postBody, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'expansionFileType' => $expansionFileType, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_AndroidPublisher_ExpansionFile");
+ }
+ /**
+ * Updates the APK's Expansion File configuration to reference another APK's
+ * Expansion Files. To add a new Expansion File use the Upload method.
+ * (expansionfiles.update)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param int $apkVersionCode
+ * The version code of the APK whose Expansion File configuration is being read or modified.
+ * @param string $expansionFileType
+ *
+ * @param Google_ExpansionFile $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_ExpansionFile
+ */
+ public function update($packageName, $editId, $apkVersionCode, $expansionFileType, Google_Service_AndroidPublisher_ExpansionFile $postBody, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'expansionFileType' => $expansionFileType, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_AndroidPublisher_ExpansionFile");
+ }
+ /**
+ * Uploads and attaches a new Expansion File to the APK specified.
+ * (expansionfiles.upload)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param int $apkVersionCode
+ * The version code of the APK whose Expansion File configuration is being read or modified.
+ * @param string $expansionFileType
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_ExpansionFilesUploadResponse
+ */
+ public function upload($packageName, $editId, $apkVersionCode, $expansionFileType, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'expansionFileType' => $expansionFileType);
+ $params = array_merge($params, $optParams);
+ return $this->call('upload', array($params), "Google_Service_AndroidPublisher_ExpansionFilesUploadResponse");
+ }
+}
+/**
+ * The "images" collection of methods.
+ * Typical usage is:
+ *
+ * $androidpublisherService = new Google_Service_AndroidPublisher(...);
+ * $images = $androidpublisherService->images;
+ *
+ */
+class Google_Service_AndroidPublisher_EditsImages_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Deletes the image (specified by id) from the edit. (images.delete)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param string $language
+ * The language code (a BCP-47 language tag) of the localized listing whose images are to read or
+ * modified. For example, to select Austrian German, pass "de-AT".
+ * @param string $imageType
+ *
+ * @param string $imageId
+ * Unique identifier an image within the set of images attached to this edit.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($packageName, $editId, $language, $imageType, $imageId, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'imageType' => $imageType, 'imageId' => $imageId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Deletes all images for the specified language and image type.
+ * (images.deleteall)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param string $language
+ * The language code (a BCP-47 language tag) of the localized listing whose images are to read or
+ * modified. For example, to select Austrian German, pass "de-AT".
+ * @param string $imageType
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_ImagesDeleteAllResponse
+ */
+ public function deleteall($packageName, $editId, $language, $imageType, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'imageType' => $imageType);
+ $params = array_merge($params, $optParams);
+ return $this->call('deleteall', array($params), "Google_Service_AndroidPublisher_ImagesDeleteAllResponse");
+ }
+ /**
+ * Lists all images for the specified language and image type.
+ * (images.listEditsImages)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param string $language
+ * The language code (a BCP-47 language tag) of the localized listing whose images are to read or
+ * modified. For example, to select Austrian German, pass "de-AT".
+ * @param string $imageType
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_ImagesListResponse
+ */
+ public function listEditsImages($packageName, $editId, $language, $imageType, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'imageType' => $imageType);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AndroidPublisher_ImagesListResponse");
+ }
+ /**
+ * Uploads a new image and adds it to the list of images for the specified
+ * language and image type. (images.upload)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param string $language
+ * The language code (a BCP-47 language tag) of the localized listing whose images are to read or
+ * modified. For example, to select Austrian German, pass "de-AT".
+ * @param string $imageType
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_ImagesUploadResponse
+ */
+ public function upload($packageName, $editId, $language, $imageType, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'imageType' => $imageType);
+ $params = array_merge($params, $optParams);
+ return $this->call('upload', array($params), "Google_Service_AndroidPublisher_ImagesUploadResponse");
+ }
+}
+/**
+ * The "listings" collection of methods.
+ * Typical usage is:
+ *
+ * $androidpublisherService = new Google_Service_AndroidPublisher(...);
+ * $listings = $androidpublisherService->listings;
+ *
+ */
+class Google_Service_AndroidPublisher_EditsListings_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Deletes the specified localized store listing from an edit. (listings.delete)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param string $language
+ * The language code (a BCP-47 language tag) of the localized listing to read or modify. For
+ * example, to select Austrian German, pass "de-AT".
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($packageName, $editId, $language, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Deletes all localized listings from an edit. (listings.deleteall)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param array $optParams Optional parameters.
+ */
+ public function deleteall($packageName, $editId, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId);
+ $params = array_merge($params, $optParams);
+ return $this->call('deleteall', array($params));
+ }
+ /**
+ * Fetches information about a localized store listing. (listings.get)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param string $language
+ * The language code (a BCP-47 language tag) of the localized listing to read or modify. For
+ * example, to select Austrian German, pass "de-AT".
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_Listing
+ */
+ public function get($packageName, $editId, $language, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_AndroidPublisher_Listing");
+ }
+ /**
+ * Returns all of the localized store listings attached to this edit.
+ * (listings.listEditsListings)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_ListingsListResponse
+ */
+ public function listEditsListings($packageName, $editId, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AndroidPublisher_ListingsListResponse");
+ }
+ /**
+ * Creates or updates a localized store listing. This method supports patch
+ * semantics. (listings.patch)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param string $language
+ * The language code (a BCP-47 language tag) of the localized listing to read or modify. For
+ * example, to select Austrian German, pass "de-AT".
+ * @param Google_Listing $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_Listing
+ */
+ public function patch($packageName, $editId, $language, Google_Service_AndroidPublisher_Listing $postBody, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_AndroidPublisher_Listing");
+ }
+ /**
+ * Creates or updates a localized store listing. (listings.update)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param string $language
+ * The language code (a BCP-47 language tag) of the localized listing to read or modify. For
+ * example, to select Austrian German, pass "de-AT".
+ * @param Google_Listing $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_Listing
+ */
+ public function update($packageName, $editId, $language, Google_Service_AndroidPublisher_Listing $postBody, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_AndroidPublisher_Listing");
+ }
+}
+/**
+ * The "testers" collection of methods.
+ * Typical usage is:
+ *
+ * $androidpublisherService = new Google_Service_AndroidPublisher(...);
+ * $testers = $androidpublisherService->testers;
+ *
+ */
+class Google_Service_AndroidPublisher_EditsTesters_Resource extends Google_Service_Resource
+{
+
+ /**
+ * (testers.get)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param string $track
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_Testers
+ */
+ public function get($packageName, $editId, $track, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_AndroidPublisher_Testers");
+ }
+ /**
+ * (testers.patch)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param string $track
+ *
+ * @param Google_Testers $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_Testers
+ */
+ public function patch($packageName, $editId, $track, Google_Service_AndroidPublisher_Testers $postBody, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_AndroidPublisher_Testers");
+ }
+ /**
+ * (testers.update)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param string $track
+ *
+ * @param Google_Testers $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_Testers
+ */
+ public function update($packageName, $editId, $track, Google_Service_AndroidPublisher_Testers $postBody, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_AndroidPublisher_Testers");
+ }
+}
+/**
+ * The "tracks" collection of methods.
+ * Typical usage is:
+ *
+ * $androidpublisherService = new Google_Service_AndroidPublisher(...);
+ * $tracks = $androidpublisherService->tracks;
+ *
+ */
+class Google_Service_AndroidPublisher_EditsTracks_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Fetches the track configuration for the specified track type. Includes the
+ * APK version codes that are in this track. (tracks.get)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param string $track
+ * The track type to read or modify.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_Track
+ */
+ public function get($packageName, $editId, $track, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_AndroidPublisher_Track");
+ }
+ /**
+ * Lists all the track configurations for this edit. (tracks.listEditsTracks)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_TracksListResponse
+ */
+ public function listEditsTracks($packageName, $editId, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AndroidPublisher_TracksListResponse");
+ }
+ /**
+ * Updates the track configuration for the specified track type. This method
+ * supports patch semantics. (tracks.patch)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param string $track
+ * The track type to read or modify.
+ * @param Google_Track $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_Track
+ */
+ public function patch($packageName, $editId, $track, Google_Service_AndroidPublisher_Track $postBody, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_AndroidPublisher_Track");
+ }
+ /**
+ * Updates the track configuration for the specified track type. (tracks.update)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param string $track
+ * The track type to read or modify.
+ * @param Google_Track $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_Track
+ */
+ public function update($packageName, $editId, $track, Google_Service_AndroidPublisher_Track $postBody, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_AndroidPublisher_Track");
+ }
+}
+
+/**
+ * The "inappproducts" collection of methods.
+ * Typical usage is:
+ *
+ * $androidpublisherService = new Google_Service_AndroidPublisher(...);
+ * $inappproducts = $androidpublisherService->inappproducts;
+ *
+ */
+class Google_Service_AndroidPublisher_Inappproducts_Resource extends Google_Service_Resource
+{
+
+ /**
+ * (inappproducts.batch)
+ *
+ * @param Google_InappproductsBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_InappproductsBatchResponse
+ */
+ public function batch(Google_Service_AndroidPublisher_InappproductsBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batch', array($params), "Google_Service_AndroidPublisher_InappproductsBatchResponse");
+ }
+ /**
+ * Delete an in-app product for an app. (inappproducts.delete)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app with the in-app product; for example, "com.spiffygame".
+ * @param string $sku
+ * Unique identifier for the in-app product.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($packageName, $sku, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'sku' => $sku);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Returns information about the in-app product specified. (inappproducts.get)
+ *
+ * @param string $packageName
+ *
+ * @param string $sku
+ * Unique identifier for the in-app product.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_InAppProduct
+ */
+ public function get($packageName, $sku, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'sku' => $sku);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_AndroidPublisher_InAppProduct");
+ }
+ /**
+ * Creates a new in-app product for an app. (inappproducts.insert)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app; for example, "com.spiffygame".
+ * @param Google_InAppProduct $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool autoConvertMissingPrices
+ * If true the prices for all regions targeted by the parent app that don't have a price specified
+ * for this in-app product will be auto converted to the target currency based on the default
+ * price. Defaults to false.
+ * @return Google_Service_AndroidPublisher_InAppProduct
+ */
+ public function insert($packageName, Google_Service_AndroidPublisher_InAppProduct $postBody, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_AndroidPublisher_InAppProduct");
+ }
+ /**
+ * List all the in-app products for an Android app, both subscriptions and
+ * managed in-app products.. (inappproducts.listInappproducts)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app with in-app products; for example, "com.spiffygame".
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string token
+ *
+ * @opt_param string startIndex
+ *
+ * @opt_param string maxResults
+ *
+ * @return Google_Service_AndroidPublisher_InappproductsListResponse
+ */
+ public function listInappproducts($packageName, $optParams = array())
+ {
+ $params = array('packageName' => $packageName);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AndroidPublisher_InappproductsListResponse");
+ }
+ /**
+ * Updates the details of an in-app product. This method supports patch
+ * semantics. (inappproducts.patch)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app with the in-app product; for example, "com.spiffygame".
+ * @param string $sku
+ * Unique identifier for the in-app product.
+ * @param Google_InAppProduct $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool autoConvertMissingPrices
+ * If true the prices for all regions targeted by the parent app that don't have a price specified
+ * for this in-app product will be auto converted to the target currency based on the default
+ * price. Defaults to false.
+ * @return Google_Service_AndroidPublisher_InAppProduct
+ */
+ public function patch($packageName, $sku, Google_Service_AndroidPublisher_InAppProduct $postBody, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'sku' => $sku, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_AndroidPublisher_InAppProduct");
+ }
+ /**
+ * Updates the details of an in-app product. (inappproducts.update)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app with the in-app product; for example, "com.spiffygame".
+ * @param string $sku
+ * Unique identifier for the in-app product.
+ * @param Google_InAppProduct $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool autoConvertMissingPrices
+ * If true the prices for all regions targeted by the parent app that don't have a price specified
+ * for this in-app product will be auto converted to the target currency based on the default
+ * price. Defaults to false.
+ * @return Google_Service_AndroidPublisher_InAppProduct
+ */
+ public function update($packageName, $sku, Google_Service_AndroidPublisher_InAppProduct $postBody, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'sku' => $sku, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_AndroidPublisher_InAppProduct");
+ }
+}
+
+/**
+ * The "purchases" collection of methods.
+ * Typical usage is:
+ *
+ * $androidpublisherService = new Google_Service_AndroidPublisher(...);
+ * $purchases = $androidpublisherService->purchases;
+ *
+ */
+class Google_Service_AndroidPublisher_Purchases_Resource extends Google_Service_Resource
+{
+
+}
+
+/**
+ * The "products" collection of methods.
+ * Typical usage is:
+ *
+ * $androidpublisherService = new Google_Service_AndroidPublisher(...);
+ * $products = $androidpublisherService->products;
+ *
+ */
+class Google_Service_AndroidPublisher_PurchasesProducts_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Checks the purchase and consumption status of an inapp item. (products.get)
+ *
+ * @param string $packageName
+ * The package name of the application the inapp product was sold in (for example,
+ * 'com.some.thing').
+ * @param string $productId
+ * The inapp product SKU (for example, 'com.some.thing.inapp1').
+ * @param string $token
+ * The token provided to the user's device when the inapp product was purchased.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_ProductPurchase
+ */
+ public function get($packageName, $productId, $token, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'productId' => $productId, 'token' => $token);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_AndroidPublisher_ProductPurchase");
+ }
+}
+/**
+ * The "subscriptions" collection of methods.
+ * Typical usage is:
+ *
+ * $androidpublisherService = new Google_Service_AndroidPublisher(...);
+ * $subscriptions = $androidpublisherService->subscriptions;
+ *
+ */
+class Google_Service_AndroidPublisher_PurchasesSubscriptions_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Cancels a user's subscription purchase. The subscription remains valid until
+ * its expiration time. (subscriptions.cancel)
+ *
+ * @param string $packageName
+ * The package name of the application for which this subscription was purchased (for example,
+ * 'com.some.thing').
+ * @param string $subscriptionId
+ * The purchased subscription ID (for example, 'monthly001').
+ * @param string $token
+ * The token provided to the user's device when the subscription was purchased.
+ * @param array $optParams Optional parameters.
+ */
+ public function cancel($packageName, $subscriptionId, $token, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'subscriptionId' => $subscriptionId, 'token' => $token);
+ $params = array_merge($params, $optParams);
+ return $this->call('cancel', array($params));
+ }
+ /**
+ * Checks whether a user's subscription purchase is valid and returns its expiry
+ * time. (subscriptions.get)
+ *
+ * @param string $packageName
+ * The package name of the application for which this subscription was purchased (for example,
+ * 'com.some.thing').
+ * @param string $subscriptionId
+ * The purchased subscription ID (for example, 'monthly001').
+ * @param string $token
+ * The token provided to the user's device when the subscription was purchased.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_SubscriptionPurchase
+ */
+ public function get($packageName, $subscriptionId, $token, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'subscriptionId' => $subscriptionId, 'token' => $token);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_AndroidPublisher_SubscriptionPurchase");
+ }
+}
+
+
+
+
+class Google_Service_AndroidPublisher_Apk extends Google_Model
+{
+ protected $binaryType = 'Google_Service_AndroidPublisher_ApkBinary';
+ protected $binaryDataType = '';
+ public $versionCode;
+
+ public function setBinary(Google_Service_AndroidPublisher_ApkBinary $binary)
+ {
+ $this->binary = $binary;
+ }
+
+ public function getBinary()
+ {
+ return $this->binary;
+ }
+
+ public function setVersionCode($versionCode)
+ {
+ $this->versionCode = $versionCode;
+ }
+
+ public function getVersionCode()
+ {
+ return $this->versionCode;
+ }
+}
+
+class Google_Service_AndroidPublisher_ApkBinary extends Google_Model
+{
+ public $sha1;
+
+ public function setSha1($sha1)
+ {
+ $this->sha1 = $sha1;
+ }
+
+ public function getSha1()
+ {
+ return $this->sha1;
+ }
+}
+
+class Google_Service_AndroidPublisher_ApkListing extends Google_Model
+{
+ public $language;
+ public $recentChanges;
+
+ public function setLanguage($language)
+ {
+ $this->language = $language;
+ }
+
+ public function getLanguage()
+ {
+ return $this->language;
+ }
+
+ public function setRecentChanges($recentChanges)
+ {
+ $this->recentChanges = $recentChanges;
+ }
+
+ public function getRecentChanges()
+ {
+ return $this->recentChanges;
+ }
+}
+
+class Google_Service_AndroidPublisher_ApkListingsListResponse extends Google_Collection
+{
+ public $kind;
+ protected $listingsType = 'Google_Service_AndroidPublisher_ApkListing';
+ protected $listingsDataType = 'array';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setListings($listings)
+ {
+ $this->listings = $listings;
+ }
+
+ public function getListings()
+ {
+ return $this->listings;
+ }
+}
+
+class Google_Service_AndroidPublisher_ApksListResponse extends Google_Collection
+{
+ protected $apksType = 'Google_Service_AndroidPublisher_Apk';
+ protected $apksDataType = 'array';
+ public $kind;
+
+ public function setApks($apks)
+ {
+ $this->apks = $apks;
+ }
+
+ public function getApks()
+ {
+ return $this->apks;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_AndroidPublisher_AppDetails extends Google_Model
+{
+ public $contactEmail;
+ public $contactPhone;
+ public $contactWebsite;
+ public $defaultLanguage;
+
+ public function setContactEmail($contactEmail)
+ {
+ $this->contactEmail = $contactEmail;
+ }
+
+ public function getContactEmail()
+ {
+ return $this->contactEmail;
+ }
+
+ public function setContactPhone($contactPhone)
+ {
+ $this->contactPhone = $contactPhone;
+ }
+
+ public function getContactPhone()
+ {
+ return $this->contactPhone;
+ }
+
+ public function setContactWebsite($contactWebsite)
+ {
+ $this->contactWebsite = $contactWebsite;
+ }
+
+ public function getContactWebsite()
+ {
+ return $this->contactWebsite;
+ }
+
+ public function setDefaultLanguage($defaultLanguage)
+ {
+ $this->defaultLanguage = $defaultLanguage;
+ }
+
+ public function getDefaultLanguage()
+ {
+ return $this->defaultLanguage;
+ }
+}
+
+class Google_Service_AndroidPublisher_AppEdit extends Google_Model
+{
+ public $expiryTimeSeconds;
+ public $id;
+
+ public function setExpiryTimeSeconds($expiryTimeSeconds)
+ {
+ $this->expiryTimeSeconds = $expiryTimeSeconds;
+ }
+
+ public function getExpiryTimeSeconds()
+ {
+ return $this->expiryTimeSeconds;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+}
+
+class Google_Service_AndroidPublisher_ExpansionFile extends Google_Model
+{
+ public $fileSize;
+ public $referencesVersion;
+
+ public function setFileSize($fileSize)
+ {
+ $this->fileSize = $fileSize;
+ }
+
+ public function getFileSize()
+ {
+ return $this->fileSize;
+ }
+
+ public function setReferencesVersion($referencesVersion)
+ {
+ $this->referencesVersion = $referencesVersion;
+ }
+
+ public function getReferencesVersion()
+ {
+ return $this->referencesVersion;
+ }
+}
+
+class Google_Service_AndroidPublisher_ExpansionFilesUploadResponse extends Google_Model
+{
+ protected $expansionFileType = 'Google_Service_AndroidPublisher_ExpansionFile';
+ protected $expansionFileDataType = '';
+
+ public function setExpansionFile(Google_Service_AndroidPublisher_ExpansionFile $expansionFile)
+ {
+ $this->expansionFile = $expansionFile;
+ }
+
+ public function getExpansionFile()
+ {
+ return $this->expansionFile;
+ }
+}
+
+class Google_Service_AndroidPublisher_Image extends Google_Model
+{
+ public $id;
+ public $sha1;
+ public $url;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setSha1($sha1)
+ {
+ $this->sha1 = $sha1;
+ }
+
+ public function getSha1()
+ {
+ return $this->sha1;
+ }
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Google_Service_AndroidPublisher_ImagesDeleteAllResponse extends Google_Collection
+{
+ protected $deletedType = 'Google_Service_AndroidPublisher_Image';
+ protected $deletedDataType = 'array';
+
+ public function setDeleted($deleted)
+ {
+ $this->deleted = $deleted;
+ }
+
+ public function getDeleted()
+ {
+ return $this->deleted;
+ }
+}
+
+class Google_Service_AndroidPublisher_ImagesListResponse extends Google_Collection
+{
+ protected $imagesType = 'Google_Service_AndroidPublisher_Image';
+ protected $imagesDataType = 'array';
+
+ public function setImages($images)
+ {
+ $this->images = $images;
+ }
+
+ public function getImages()
+ {
+ return $this->images;
+ }
+}
+
+class Google_Service_AndroidPublisher_ImagesUploadResponse extends Google_Model
+{
+ protected $imageType = 'Google_Service_AndroidPublisher_Image';
+ protected $imageDataType = '';
+
+ public function setImage(Google_Service_AndroidPublisher_Image $image)
+ {
+ $this->image = $image;
+ }
+
+ public function getImage()
+ {
+ return $this->image;
+ }
+}
+
+class Google_Service_AndroidPublisher_InAppProduct extends Google_Model
+{
+ public $defaultLanguage;
+ protected $defaultPriceType = 'Google_Service_AndroidPublisher_Price';
+ protected $defaultPriceDataType = '';
+ protected $listingsType = 'Google_Service_AndroidPublisher_InAppProductListing';
+ protected $listingsDataType = 'map';
+ public $packageName;
+ protected $pricesType = 'Google_Service_AndroidPublisher_Price';
+ protected $pricesDataType = 'map';
+ public $purchaseType;
+ public $sku;
+ public $status;
+ public $subscriptionPeriod;
+ public $trialPeriod;
+
+ public function setDefaultLanguage($defaultLanguage)
+ {
+ $this->defaultLanguage = $defaultLanguage;
+ }
+
+ public function getDefaultLanguage()
+ {
+ return $this->defaultLanguage;
+ }
+
+ public function setDefaultPrice(Google_Service_AndroidPublisher_Price $defaultPrice)
+ {
+ $this->defaultPrice = $defaultPrice;
+ }
+
+ public function getDefaultPrice()
+ {
+ return $this->defaultPrice;
+ }
+
+ public function setListings($listings)
+ {
+ $this->listings = $listings;
+ }
+
+ public function getListings()
+ {
+ return $this->listings;
+ }
+
+ public function setPackageName($packageName)
+ {
+ $this->packageName = $packageName;
+ }
+
+ public function getPackageName()
+ {
+ return $this->packageName;
+ }
+
+ public function setPrices($prices)
+ {
+ $this->prices = $prices;
+ }
+
+ public function getPrices()
+ {
+ return $this->prices;
+ }
+
+ public function setPurchaseType($purchaseType)
+ {
+ $this->purchaseType = $purchaseType;
+ }
+
+ public function getPurchaseType()
+ {
+ return $this->purchaseType;
+ }
+
+ public function setSku($sku)
+ {
+ $this->sku = $sku;
+ }
+
+ public function getSku()
+ {
+ return $this->sku;
+ }
+
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+
+ public function getStatus()
+ {
+ return $this->status;
+ }
+
+ public function setSubscriptionPeriod($subscriptionPeriod)
+ {
+ $this->subscriptionPeriod = $subscriptionPeriod;
+ }
+
+ public function getSubscriptionPeriod()
+ {
+ return $this->subscriptionPeriod;
+ }
+
+ public function setTrialPeriod($trialPeriod)
+ {
+ $this->trialPeriod = $trialPeriod;
+ }
+
+ public function getTrialPeriod()
+ {
+ return $this->trialPeriod;
+ }
+}
+
+class Google_Service_AndroidPublisher_InAppProductListing extends Google_Model
+{
+ public $description;
+ public $title;
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
+
+class Google_Service_AndroidPublisher_InAppProductListings extends Google_Model
+{
+
+}
+
+class Google_Service_AndroidPublisher_InAppProductPrices extends Google_Model
+{
+
+}
+
+class Google_Service_AndroidPublisher_InappproductsBatchRequest extends Google_Collection
+{
+ protected $entrysType = 'Google_Service_AndroidPublisher_InappproductsBatchRequestEntry';
+ protected $entrysDataType = 'array';
+
+ public function setEntrys($entrys)
+ {
+ $this->entrys = $entrys;
+ }
+
+ public function getEntrys()
+ {
+ return $this->entrys;
+ }
+}
+
+class Google_Service_AndroidPublisher_InappproductsBatchRequestEntry extends Google_Model
+{
+ public $batchId;
+ protected $inappproductsinsertrequestType = 'Google_Service_AndroidPublisher_InappproductsInsertRequest';
+ protected $inappproductsinsertrequestDataType = '';
+ protected $inappproductsupdaterequestType = 'Google_Service_AndroidPublisher_InappproductsUpdateRequest';
+ protected $inappproductsupdaterequestDataType = '';
+ public $methodName;
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setInappproductsinsertrequest(Google_Service_AndroidPublisher_InappproductsInsertRequest $inappproductsinsertrequest)
+ {
+ $this->inappproductsinsertrequest = $inappproductsinsertrequest;
+ }
+
+ public function getInappproductsinsertrequest()
+ {
+ return $this->inappproductsinsertrequest;
+ }
+
+ public function setInappproductsupdaterequest(Google_Service_AndroidPublisher_InappproductsUpdateRequest $inappproductsupdaterequest)
+ {
+ $this->inappproductsupdaterequest = $inappproductsupdaterequest;
+ }
+
+ public function getInappproductsupdaterequest()
+ {
+ return $this->inappproductsupdaterequest;
+ }
+
+ public function setMethodName($methodName)
+ {
+ $this->methodName = $methodName;
+ }
+
+ public function getMethodName()
+ {
+ return $this->methodName;
+ }
+}
+
+class Google_Service_AndroidPublisher_InappproductsBatchResponse extends Google_Collection
+{
+ protected $entrysType = 'Google_Service_AndroidPublisher_InappproductsBatchResponseEntry';
+ protected $entrysDataType = 'array';
+ public $kind;
+
+ public function setEntrys($entrys)
+ {
+ $this->entrys = $entrys;
+ }
+
+ public function getEntrys()
+ {
+ return $this->entrys;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_AndroidPublisher_InappproductsBatchResponseEntry extends Google_Model
+{
+ public $batchId;
+ protected $inappproductsinsertresponseType = 'Google_Service_AndroidPublisher_InappproductsInsertResponse';
+ protected $inappproductsinsertresponseDataType = '';
+ protected $inappproductsupdateresponseType = 'Google_Service_AndroidPublisher_InappproductsUpdateResponse';
+ protected $inappproductsupdateresponseDataType = '';
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setInappproductsinsertresponse(Google_Service_AndroidPublisher_InappproductsInsertResponse $inappproductsinsertresponse)
+ {
+ $this->inappproductsinsertresponse = $inappproductsinsertresponse;
+ }
+
+ public function getInappproductsinsertresponse()
+ {
+ return $this->inappproductsinsertresponse;
+ }
+
+ public function setInappproductsupdateresponse(Google_Service_AndroidPublisher_InappproductsUpdateResponse $inappproductsupdateresponse)
+ {
+ $this->inappproductsupdateresponse = $inappproductsupdateresponse;
+ }
+
+ public function getInappproductsupdateresponse()
+ {
+ return $this->inappproductsupdateresponse;
+ }
+}
+
+class Google_Service_AndroidPublisher_InappproductsInsertRequest extends Google_Model
+{
+ protected $inappproductType = 'Google_Service_AndroidPublisher_InAppProduct';
+ protected $inappproductDataType = '';
+
+ public function setInappproduct(Google_Service_AndroidPublisher_InAppProduct $inappproduct)
+ {
+ $this->inappproduct = $inappproduct;
+ }
+
+ public function getInappproduct()
+ {
+ return $this->inappproduct;
+ }
+}
+
+class Google_Service_AndroidPublisher_InappproductsInsertResponse extends Google_Model
+{
+ protected $inappproductType = 'Google_Service_AndroidPublisher_InAppProduct';
+ protected $inappproductDataType = '';
+
+ public function setInappproduct(Google_Service_AndroidPublisher_InAppProduct $inappproduct)
+ {
+ $this->inappproduct = $inappproduct;
+ }
+
+ public function getInappproduct()
+ {
+ return $this->inappproduct;
}
}
+class Google_Service_AndroidPublisher_InappproductsListResponse extends Google_Collection
+{
+ protected $inappproductType = 'Google_Service_AndroidPublisher_InAppProduct';
+ protected $inappproductDataType = 'array';
+ public $kind;
+ protected $pageInfoType = 'Google_Service_AndroidPublisher_PageInfo';
+ protected $pageInfoDataType = '';
+ protected $tokenPaginationType = 'Google_Service_AndroidPublisher_TokenPagination';
+ protected $tokenPaginationDataType = '';
-/**
- * The "inapppurchases" collection of methods.
- * Typical usage is:
- *
- * $androidpublisherService = new Google_Service_AndroidPublisher(...);
- * $inapppurchases = $androidpublisherService->inapppurchases;
- *
- */
-class Google_Service_AndroidPublisher_Inapppurchases_Resource extends Google_Service_Resource
+ public function setInappproduct($inappproduct)
+ {
+ $this->inappproduct = $inappproduct;
+ }
+
+ public function getInappproduct()
+ {
+ return $this->inappproduct;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setPageInfo(Google_Service_AndroidPublisher_PageInfo $pageInfo)
+ {
+ $this->pageInfo = $pageInfo;
+ }
+
+ public function getPageInfo()
+ {
+ return $this->pageInfo;
+ }
+
+ public function setTokenPagination(Google_Service_AndroidPublisher_TokenPagination $tokenPagination)
+ {
+ $this->tokenPagination = $tokenPagination;
+ }
+
+ public function getTokenPagination()
+ {
+ return $this->tokenPagination;
+ }
+}
+
+class Google_Service_AndroidPublisher_InappproductsUpdateRequest extends Google_Model
{
+ protected $inappproductType = 'Google_Service_AndroidPublisher_InAppProduct';
+ protected $inappproductDataType = '';
- /**
- * Checks the purchase and consumption status of an inapp item.
- * (inapppurchases.get)
- *
- * @param string $packageName
- * The package name of the application the inapp product was sold in (for example,
- * 'com.some.thing').
- * @param string $productId
- * The inapp product SKU (for example, 'com.some.thing.inapp1').
- * @param string $token
- * The token provided to the user's device when the inapp product was purchased.
- * @param array $optParams Optional parameters.
- * @return Google_Service_AndroidPublisher_InappPurchase
- */
- public function get($packageName, $productId, $token, $optParams = array())
+ public function setInappproduct(Google_Service_AndroidPublisher_InAppProduct $inappproduct)
{
- $params = array('packageName' => $packageName, 'productId' => $productId, 'token' => $token);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_AndroidPublisher_InappPurchase");
+ $this->inappproduct = $inappproduct;
+ }
+
+ public function getInappproduct()
+ {
+ return $this->inappproduct;
}
}
-/**
- * The "purchases" collection of methods.
- * Typical usage is:
- *
- * $androidpublisherService = new Google_Service_AndroidPublisher(...);
- * $purchases = $androidpublisherService->purchases;
- *
- */
-class Google_Service_AndroidPublisher_Purchases_Resource extends Google_Service_Resource
+class Google_Service_AndroidPublisher_InappproductsUpdateResponse extends Google_Model
{
+ protected $inappproductType = 'Google_Service_AndroidPublisher_InAppProduct';
+ protected $inappproductDataType = '';
- /**
- * Cancels a user's subscription purchase. The subscription remains valid until
- * its expiration time. (purchases.cancel)
- *
- * @param string $packageName
- * The package name of the application for which this subscription was purchased (for example,
- * 'com.some.thing').
- * @param string $subscriptionId
- * The purchased subscription ID (for example, 'monthly001').
- * @param string $token
- * The token provided to the user's device when the subscription was purchased.
- * @param array $optParams Optional parameters.
- */
- public function cancel($packageName, $subscriptionId, $token, $optParams = array())
+ public function setInappproduct(Google_Service_AndroidPublisher_InAppProduct $inappproduct)
{
- $params = array('packageName' => $packageName, 'subscriptionId' => $subscriptionId, 'token' => $token);
- $params = array_merge($params, $optParams);
- return $this->call('cancel', array($params));
+ $this->inappproduct = $inappproduct;
}
- /**
- * Checks whether a user's subscription purchase is valid and returns its expiry
- * time. (purchases.get)
- *
- * @param string $packageName
- * The package name of the application for which this subscription was purchased (for example,
- * 'com.some.thing').
- * @param string $subscriptionId
- * The purchased subscription ID (for example, 'monthly001').
- * @param string $token
- * The token provided to the user's device when the subscription was purchased.
- * @param array $optParams Optional parameters.
- * @return Google_Service_AndroidPublisher_SubscriptionPurchase
- */
- public function get($packageName, $subscriptionId, $token, $optParams = array())
+
+ public function getInappproduct()
{
- $params = array('packageName' => $packageName, 'subscriptionId' => $subscriptionId, 'token' => $token);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_AndroidPublisher_SubscriptionPurchase");
+ return $this->inappproduct;
+ }
+}
+
+class Google_Service_AndroidPublisher_Listing extends Google_Model
+{
+ public $fullDescription;
+ public $language;
+ public $shortDescription;
+ public $title;
+ public $video;
+
+ public function setFullDescription($fullDescription)
+ {
+ $this->fullDescription = $fullDescription;
+ }
+
+ public function getFullDescription()
+ {
+ return $this->fullDescription;
+ }
+
+ public function setLanguage($language)
+ {
+ $this->language = $language;
+ }
+
+ public function getLanguage()
+ {
+ return $this->language;
+ }
+
+ public function setShortDescription($shortDescription)
+ {
+ $this->shortDescription = $shortDescription;
+ }
+
+ public function getShortDescription()
+ {
+ return $this->shortDescription;
+ }
+
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+
+ public function getTitle()
+ {
+ return $this->title;
+ }
+
+ public function setVideo($video)
+ {
+ $this->video = $video;
+ }
+
+ public function getVideo()
+ {
+ return $this->video;
+ }
+}
+
+class Google_Service_AndroidPublisher_ListingsListResponse extends Google_Collection
+{
+ public $kind;
+ protected $listingsType = 'Google_Service_AndroidPublisher_Listing';
+ protected $listingsDataType = 'array';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setListings($listings)
+ {
+ $this->listings = $listings;
+ }
+
+ public function getListings()
+ {
+ return $this->listings;
+ }
+}
+
+class Google_Service_AndroidPublisher_PageInfo extends Google_Model
+{
+ public $resultPerPage;
+ public $startIndex;
+ public $totalResults;
+
+ public function setResultPerPage($resultPerPage)
+ {
+ $this->resultPerPage = $resultPerPage;
+ }
+
+ public function getResultPerPage()
+ {
+ return $this->resultPerPage;
+ }
+
+ public function setStartIndex($startIndex)
+ {
+ $this->startIndex = $startIndex;
+ }
+
+ public function getStartIndex()
+ {
+ return $this->startIndex;
+ }
+
+ public function setTotalResults($totalResults)
+ {
+ $this->totalResults = $totalResults;
+ }
+
+ public function getTotalResults()
+ {
+ return $this->totalResults;
}
}
+class Google_Service_AndroidPublisher_Price extends Google_Model
+{
+ public $currency;
+ public $priceMicros;
+
+ public function setCurrency($currency)
+ {
+ $this->currency = $currency;
+ }
+
+ public function getCurrency()
+ {
+ return $this->currency;
+ }
+ public function setPriceMicros($priceMicros)
+ {
+ $this->priceMicros = $priceMicros;
+ }
+ public function getPriceMicros()
+ {
+ return $this->priceMicros;
+ }
+}
-class Google_Service_AndroidPublisher_InappPurchase extends Google_Model
+class Google_Service_AndroidPublisher_ProductPurchase extends Google_Model
{
public $consumptionState;
public $developerPayload;
public $kind;
public $purchaseState;
- public $purchaseTime;
+ public $purchaseTimeMillis;
public function setConsumptionState($consumptionState)
{
@@ -270,23 +3037,23 @@ public function getPurchaseState()
return $this->purchaseState;
}
- public function setPurchaseTime($purchaseTime)
+ public function setPurchaseTimeMillis($purchaseTimeMillis)
{
- $this->purchaseTime = $purchaseTime;
+ $this->purchaseTimeMillis = $purchaseTimeMillis;
}
- public function getPurchaseTime()
+ public function getPurchaseTimeMillis()
{
- return $this->purchaseTime;
+ return $this->purchaseTimeMillis;
}
}
class Google_Service_AndroidPublisher_SubscriptionPurchase extends Google_Model
{
public $autoRenewing;
- public $initiationTimestampMsec;
+ public $expiryTimeMillis;
public $kind;
- public $validUntilTimestampMsec;
+ public $startTimeMillis;
public function setAutoRenewing($autoRenewing)
{
@@ -298,15 +3065,131 @@ public function getAutoRenewing()
return $this->autoRenewing;
}
- public function setInitiationTimestampMsec($initiationTimestampMsec)
+ public function setExpiryTimeMillis($expiryTimeMillis)
+ {
+ $this->expiryTimeMillis = $expiryTimeMillis;
+ }
+
+ public function getExpiryTimeMillis()
+ {
+ return $this->expiryTimeMillis;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setStartTimeMillis($startTimeMillis)
+ {
+ $this->startTimeMillis = $startTimeMillis;
+ }
+
+ public function getStartTimeMillis()
+ {
+ return $this->startTimeMillis;
+ }
+}
+
+class Google_Service_AndroidPublisher_Testers extends Google_Collection
+{
+ public $googleGroups;
+ public $googlePlusCommunities;
+
+ public function setGoogleGroups($googleGroups)
+ {
+ $this->googleGroups = $googleGroups;
+ }
+
+ public function getGoogleGroups()
+ {
+ return $this->googleGroups;
+ }
+
+ public function setGooglePlusCommunities($googlePlusCommunities)
+ {
+ $this->googlePlusCommunities = $googlePlusCommunities;
+ }
+
+ public function getGooglePlusCommunities()
+ {
+ return $this->googlePlusCommunities;
+ }
+}
+
+class Google_Service_AndroidPublisher_TokenPagination extends Google_Model
+{
+ public $nextPageToken;
+ public $previousPageToken;
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setPreviousPageToken($previousPageToken)
+ {
+ $this->previousPageToken = $previousPageToken;
+ }
+
+ public function getPreviousPageToken()
+ {
+ return $this->previousPageToken;
+ }
+}
+
+class Google_Service_AndroidPublisher_Track extends Google_Collection
+{
+ public $track;
+ public $userFraction;
+ public $versionCodes;
+
+ public function setTrack($track)
+ {
+ $this->track = $track;
+ }
+
+ public function getTrack()
+ {
+ return $this->track;
+ }
+
+ public function setUserFraction($userFraction)
+ {
+ $this->userFraction = $userFraction;
+ }
+
+ public function getUserFraction()
+ {
+ return $this->userFraction;
+ }
+
+ public function setVersionCodes($versionCodes)
{
- $this->initiationTimestampMsec = $initiationTimestampMsec;
+ $this->versionCodes = $versionCodes;
}
- public function getInitiationTimestampMsec()
+ public function getVersionCodes()
{
- return $this->initiationTimestampMsec;
+ return $this->versionCodes;
}
+}
+
+class Google_Service_AndroidPublisher_TracksListResponse extends Google_Collection
+{
+ public $kind;
+ protected $tracksType = 'Google_Service_AndroidPublisher_Track';
+ protected $tracksDataType = 'array';
public function setKind($kind)
{
@@ -318,13 +3201,13 @@ public function getKind()
return $this->kind;
}
- public function setValidUntilTimestampMsec($validUntilTimestampMsec)
+ public function setTracks($tracks)
{
- $this->validUntilTimestampMsec = $validUntilTimestampMsec;
+ $this->tracks = $tracks;
}
- public function getValidUntilTimestampMsec()
+ public function getTracks()
{
- return $this->validUntilTimestampMsec;
+ return $this->tracks;
}
}
From fa614168459d078ad74f0a05658e58bd4e298e7a Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 31 Jul 2014 00:59:56 -0700
Subject: [PATCH 0420/1602] Updated Cloudmonitoring.php
---
src/Google/Service/Cloudmonitoring.php | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/Google/Service/Cloudmonitoring.php b/src/Google/Service/Cloudmonitoring.php
index 6fba8da35..48f5ca9b3 100644
--- a/src/Google/Service/Cloudmonitoring.php
+++ b/src/Google/Service/Cloudmonitoring.php
@@ -255,7 +255,6 @@ class Google_Service_Cloudmonitoring_Timeseries_Resource extends Google_Service_
* string-based project name.
* @param string $metric
* Metric names are protocol-free URLs as listed in the Supported Metrics page. For example,
- * appengine.googleapis.com/http/server/response_count or
* compute.googleapis.com/instance/disk/read_ops_count.
* @param string $youngest
* End of the time interval (inclusive), which is expressed as an RFC 3339 timestamp.
@@ -326,7 +325,6 @@ class Google_Service_Cloudmonitoring_TimeseriesDescriptors_Resource extends Goog
* string-based project name.
* @param string $metric
* Metric names are protocol-free URLs as listed in the Supported Metrics page. For example,
- * appengine.googleapis.com/http/server/response_count or
* compute.googleapis.com/instance/disk/read_ops_count.
* @param string $youngest
* End of the time interval (inclusive), which is expressed as an RFC 3339 timestamp.
From f2f4cf6a1de99790a504ede4421d3a18e69089db Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 31 Jul 2014 00:59:56 -0700
Subject: [PATCH 0421/1602] Updated IdentityToolkit.php
---
src/Google/Service/IdentityToolkit.php | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/src/Google/Service/IdentityToolkit.php b/src/Google/Service/IdentityToolkit.php
index 03b2c5930..eba918b82 100644
--- a/src/Google/Service/IdentityToolkit.php
+++ b/src/Google/Service/IdentityToolkit.php
@@ -266,12 +266,12 @@ public function verifyPassword(Google_Service_IdentityToolkit_IdentitytoolkitRel
-class Google_Service_IdentityToolkit_CreateAuthUriResponse extends Google_Collection
+class Google_Service_IdentityToolkit_CreateAuthUriResponse extends Google_Model
{
public $authUri;
+ public $forExistingProvider;
public $kind;
public $providerId;
- public $providers;
public $registered;
public function setAuthUri($authUri)
@@ -284,6 +284,16 @@ public function getAuthUri()
return $this->authUri;
}
+ public function setForExistingProvider($forExistingProvider)
+ {
+ $this->forExistingProvider = $forExistingProvider;
+ }
+
+ public function getForExistingProvider()
+ {
+ return $this->forExistingProvider;
+ }
+
public function setKind($kind)
{
$this->kind = $kind;
@@ -304,16 +314,6 @@ public function getProviderId()
return $this->providerId;
}
- public function setProviders($providers)
- {
- $this->providers = $providers;
- }
-
- public function getProviders()
- {
- return $this->providers;
- }
-
public function setRegistered($registered)
{
$this->registered = $registered;
From f61f0a5c8c67f9825a12b7a3bbef865c7d0de6ab Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 1 Aug 2014 01:01:01 -0700
Subject: [PATCH 0422/1602] Updated Genomics.php
---
src/Google/Service/Genomics.php | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/src/Google/Service/Genomics.php b/src/Google/Service/Genomics.php
index 1826ae6c1..958850791 100644
--- a/src/Google/Service/Genomics.php
+++ b/src/Google/Service/Genomics.php
@@ -2911,6 +2911,7 @@ class Google_Service_Genomics_Variant extends Google_Collection
public $contig;
public $created;
public $datasetId;
+ public $end;
public $id;
public $info;
public $names;
@@ -2967,6 +2968,16 @@ public function getDatasetId()
return $this->datasetId;
}
+ public function setEnd($end)
+ {
+ $this->end = $end;
+ }
+
+ public function getEnd()
+ {
+ return $this->end;
+ }
+
public function setId($id)
{
$this->id = $id;
From 70d70a02c0f332f0943ffe8af7c1ab7c753f9ce8 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Tue, 5 Aug 2014 01:05:15 -0700
Subject: [PATCH 0423/1602] Removed MapsEngine.php
---
src/Google/Service/MapsEngine.php | 4761 -----------------------------
1 file changed, 4761 deletions(-)
delete mode 100644 src/Google/Service/MapsEngine.php
diff --git a/src/Google/Service/MapsEngine.php b/src/Google/Service/MapsEngine.php
deleted file mode 100644
index d898b708e..000000000
--- a/src/Google/Service/MapsEngine.php
+++ /dev/null
@@ -1,4761 +0,0 @@
-
- * The Google Maps Engine API allows developers to store and query geospatial vector and raster data.
- *
- *
- *
- * For more information about this service, see the API
- * Documentation
- *
- *
- * @author Google, Inc.
- */
-class Google_Service_MapsEngine extends Google_Service
-{
- /** View and manage your Google Maps Engine data. */
- const MAPSENGINE = "https://www.googleapis.com/auth/mapsengine";
- /** View your Google Maps Engine data. */
- const MAPSENGINE_READONLY = "https://www.googleapis.com/auth/mapsengine.readonly";
-
- public $assets;
- public $assets_parents;
- public $layers;
- public $layers_parents;
- public $maps;
- public $projects;
- public $rasterCollections;
- public $rasterCollections_parents;
- public $rasterCollections_rasters;
- public $rasters;
- public $rasters_files;
- public $rasters_parents;
- public $tables;
- public $tables_features;
- public $tables_files;
- public $tables_parents;
-
-
- /**
- * Constructs the internal representation of the MapsEngine service.
- *
- * @param Google_Client $client
- */
- public function __construct(Google_Client $client)
- {
- parent::__construct($client);
- $this->servicePath = 'mapsengine/v1/';
- $this->version = 'v1';
- $this->serviceName = 'mapsengine';
-
- $this->assets = new Google_Service_MapsEngine_Assets_Resource(
- $this,
- $this->serviceName,
- 'assets',
- array(
- 'methods' => array(
- 'get' => array(
- 'path' => 'assets/{id}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'list' => array(
- 'path' => 'assets',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'modifiedAfter' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'createdAfter' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'tags' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'projectId' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'maxResults' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'creatorEmail' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'bbox' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'modifiedBefore' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'createdBefore' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'type' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),
- )
- )
- );
- $this->assets_parents = new Google_Service_MapsEngine_AssetsParents_Resource(
- $this,
- $this->serviceName,
- 'parents',
- array(
- 'methods' => array(
- 'list' => array(
- 'path' => 'assets/{id}/parents',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'maxResults' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- ),
- ),
- )
- )
- );
- $this->layers = new Google_Service_MapsEngine_Layers_Resource(
- $this,
- $this->serviceName,
- 'layers',
- array(
- 'methods' => array(
- 'cancelProcessing' => array(
- 'path' => 'layers/{id}/cancelProcessing',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'create' => array(
- 'path' => 'layers',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'process' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- ),
- ),'delete' => array(
- 'path' => 'layers/{id}',
- 'httpMethod' => 'DELETE',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'get' => array(
- 'path' => 'layers/{id}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'version' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),'list' => array(
- 'path' => 'layers',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'modifiedAfter' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'createdAfter' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'tags' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'projectId' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'maxResults' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'creatorEmail' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'bbox' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'modifiedBefore' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'createdBefore' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),'patch' => array(
- 'path' => 'layers/{id}',
- 'httpMethod' => 'PATCH',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'process' => array(
- 'path' => 'layers/{id}/process',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'publish' => array(
- 'path' => 'layers/{id}/publish',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'unpublish' => array(
- 'path' => 'layers/{id}/unpublish',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),
- )
- )
- );
- $this->layers_parents = new Google_Service_MapsEngine_LayersParents_Resource(
- $this,
- $this->serviceName,
- 'parents',
- array(
- 'methods' => array(
- 'list' => array(
- 'path' => 'layers/{id}/parents',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'maxResults' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- ),
- ),
- )
- )
- );
- $this->maps = new Google_Service_MapsEngine_Maps_Resource(
- $this,
- $this->serviceName,
- 'maps',
- array(
- 'methods' => array(
- 'create' => array(
- 'path' => 'maps',
- 'httpMethod' => 'POST',
- 'parameters' => array(),
- ),'delete' => array(
- 'path' => 'maps/{id}',
- 'httpMethod' => 'DELETE',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'get' => array(
- 'path' => 'maps/{id}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'version' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),'list' => array(
- 'path' => 'maps',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'modifiedAfter' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'createdAfter' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'tags' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'projectId' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'maxResults' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'creatorEmail' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'bbox' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'modifiedBefore' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'createdBefore' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),'patch' => array(
- 'path' => 'maps/{id}',
- 'httpMethod' => 'PATCH',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'publish' => array(
- 'path' => 'maps/{id}/publish',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'unpublish' => array(
- 'path' => 'maps/{id}/unpublish',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),
- )
- )
- );
- $this->projects = new Google_Service_MapsEngine_Projects_Resource(
- $this,
- $this->serviceName,
- 'projects',
- array(
- 'methods' => array(
- 'list' => array(
- 'path' => 'projects',
- 'httpMethod' => 'GET',
- 'parameters' => array(),
- ),
- )
- )
- );
- $this->rasterCollections = new Google_Service_MapsEngine_RasterCollections_Resource(
- $this,
- $this->serviceName,
- 'rasterCollections',
- array(
- 'methods' => array(
- 'cancelProcessing' => array(
- 'path' => 'rasterCollections/{id}/cancelProcessing',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'create' => array(
- 'path' => 'rasterCollections',
- 'httpMethod' => 'POST',
- 'parameters' => array(),
- ),'delete' => array(
- 'path' => 'rasterCollections/{id}',
- 'httpMethod' => 'DELETE',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'get' => array(
- 'path' => 'rasterCollections/{id}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'list' => array(
- 'path' => 'rasterCollections',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'modifiedAfter' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'createdAfter' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'tags' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'projectId' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'maxResults' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'creatorEmail' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'bbox' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'modifiedBefore' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'createdBefore' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),'patch' => array(
- 'path' => 'rasterCollections/{id}',
- 'httpMethod' => 'PATCH',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'process' => array(
- 'path' => 'rasterCollections/{id}/process',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),
- )
- )
- );
- $this->rasterCollections_parents = new Google_Service_MapsEngine_RasterCollectionsParents_Resource(
- $this,
- $this->serviceName,
- 'parents',
- array(
- 'methods' => array(
- 'list' => array(
- 'path' => 'rasterCollections/{id}/parents',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'maxResults' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- ),
- ),
- )
- )
- );
- $this->rasterCollections_rasters = new Google_Service_MapsEngine_RasterCollectionsRasters_Resource(
- $this,
- $this->serviceName,
- 'rasters',
- array(
- 'methods' => array(
- 'batchDelete' => array(
- 'path' => 'rasterCollections/{id}/rasters/batchDelete',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'batchInsert' => array(
- 'path' => 'rasterCollections/{id}/rasters/batchInsert',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'list' => array(
- 'path' => 'rasterCollections/{id}/rasters',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'modifiedAfter' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'createdAfter' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'tags' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'maxResults' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'creatorEmail' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'bbox' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'modifiedBefore' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'createdBefore' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),
- )
- )
- );
- $this->rasters = new Google_Service_MapsEngine_Rasters_Resource(
- $this,
- $this->serviceName,
- 'rasters',
- array(
- 'methods' => array(
- 'delete' => array(
- 'path' => 'rasters/{id}',
- 'httpMethod' => 'DELETE',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'get' => array(
- 'path' => 'rasters/{id}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'patch' => array(
- 'path' => 'rasters/{id}',
- 'httpMethod' => 'PATCH',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'upload' => array(
- 'path' => 'rasters/upload',
- 'httpMethod' => 'POST',
- 'parameters' => array(),
- ),
- )
- )
- );
- $this->rasters_files = new Google_Service_MapsEngine_RastersFiles_Resource(
- $this,
- $this->serviceName,
- 'files',
- array(
- 'methods' => array(
- 'insert' => array(
- 'path' => 'rasters/{id}/files',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'filename' => array(
- 'location' => 'query',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),
- )
- )
- );
- $this->rasters_parents = new Google_Service_MapsEngine_RastersParents_Resource(
- $this,
- $this->serviceName,
- 'parents',
- array(
- 'methods' => array(
- 'list' => array(
- 'path' => 'rasters/{id}/parents',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'maxResults' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- ),
- ),
- )
- )
- );
- $this->tables = new Google_Service_MapsEngine_Tables_Resource(
- $this,
- $this->serviceName,
- 'tables',
- array(
- 'methods' => array(
- 'create' => array(
- 'path' => 'tables',
- 'httpMethod' => 'POST',
- 'parameters' => array(),
- ),'delete' => array(
- 'path' => 'tables/{id}',
- 'httpMethod' => 'DELETE',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'get' => array(
- 'path' => 'tables/{id}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'version' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),'list' => array(
- 'path' => 'tables',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'modifiedAfter' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'createdAfter' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'tags' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'projectId' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'maxResults' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'creatorEmail' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'bbox' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'modifiedBefore' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'createdBefore' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),'patch' => array(
- 'path' => 'tables/{id}',
- 'httpMethod' => 'PATCH',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'upload' => array(
- 'path' => 'tables/upload',
- 'httpMethod' => 'POST',
- 'parameters' => array(),
- ),
- )
- )
- );
- $this->tables_features = new Google_Service_MapsEngine_TablesFeatures_Resource(
- $this,
- $this->serviceName,
- 'features',
- array(
- 'methods' => array(
- 'batchDelete' => array(
- 'path' => 'tables/{id}/features/batchDelete',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'batchInsert' => array(
- 'path' => 'tables/{id}/features/batchInsert',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'batchPatch' => array(
- 'path' => 'tables/{id}/features/batchPatch',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'get' => array(
- 'path' => 'tables/{tableId}/features/{id}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'tableId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'version' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'select' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),'list' => array(
- 'path' => 'tables/{id}/features',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'orderBy' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'intersects' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'maxResults' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'version' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'limit' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- 'include' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'where' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'select' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),
- )
- )
- );
- $this->tables_files = new Google_Service_MapsEngine_TablesFiles_Resource(
- $this,
- $this->serviceName,
- 'files',
- array(
- 'methods' => array(
- 'insert' => array(
- 'path' => 'tables/{id}/files',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'filename' => array(
- 'location' => 'query',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),
- )
- )
- );
- $this->tables_parents = new Google_Service_MapsEngine_TablesParents_Resource(
- $this,
- $this->serviceName,
- 'parents',
- array(
- 'methods' => array(
- 'list' => array(
- 'path' => 'tables/{id}/parents',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'maxResults' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- ),
- ),
- )
- )
- );
- }
-}
-
-
-/**
- * The "assets" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_MapsEngine(...);
- * $assets = $mapsengineService->assets;
- *
- */
-class Google_Service_MapsEngine_Assets_Resource extends Google_Service_Resource
-{
-
- /**
- * Return metadata for a particular asset. (assets.get)
- *
- * @param string $id
- * The ID of the asset.
- * @param array $optParams Optional parameters.
- * @return Google_Service_MapsEngine_Asset
- */
- public function get($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_MapsEngine_Asset");
- }
- /**
- * Return all assets readable by the current user. (assets.listAssets)
- *
- * @param array $optParams Optional parameters.
- *
- * @opt_param string modifiedAfter
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been modified at or after this time.
- * @opt_param string createdAfter
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been created at or after this time.
- * @opt_param string tags
- * A comma separated list of tags. Returned assets will contain all the tags from the list.
- * @opt_param string projectId
- * The ID of a Maps Engine project, used to filter the response. To list all available projects
- * with their IDs, send a Projects: list request. You can also find your project ID as the value of
- * the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
- * @opt_param string maxResults
- * The maximum number of items to include in a single response page. The maximum supported value is
- * 100.
- * @opt_param string pageToken
- * The continuation token, used to page through large result sets. To get the next page of results,
- * set this parameter to the value of nextPageToken from the previous response.
- * @opt_param string creatorEmail
- * An email address representing a user. Returned assets that have been created by the user
- * associated with the provided email address.
- * @opt_param string bbox
- * A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this
- * bounding box will be returned.
- * @opt_param string modifiedBefore
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been modified at or before this time.
- * @opt_param string createdBefore
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been created at or before this time.
- * @opt_param string type
- * An asset type restriction. If set, only resources of this type will be returned.
- * @return Google_Service_MapsEngine_AssetsListResponse
- */
- public function listAssets($optParams = array())
- {
- $params = array();
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_MapsEngine_AssetsListResponse");
- }
-}
-
-/**
- * The "parents" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_MapsEngine(...);
- * $parents = $mapsengineService->parents;
- *
- */
-class Google_Service_MapsEngine_AssetsParents_Resource extends Google_Service_Resource
-{
-
- /**
- * Return all parent ids of the specified asset. (parents.listAssetsParents)
- *
- * @param string $id
- * The ID of the asset whose parents will be listed.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string pageToken
- * The continuation token, used to page through large result sets. To get the next page of results,
- * set this parameter to the value of nextPageToken from the previous response.
- * @opt_param string maxResults
- * The maximum number of items to include in a single response page. The maximum supported value is
- * 50.
- * @return Google_Service_MapsEngine_ParentsListResponse
- */
- public function listAssetsParents($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_MapsEngine_ParentsListResponse");
- }
-}
-
-/**
- * The "layers" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_MapsEngine(...);
- * $layers = $mapsengineService->layers;
- *
- */
-class Google_Service_MapsEngine_Layers_Resource extends Google_Service_Resource
-{
-
- /**
- * Cancel processing on a layer asset. (layers.cancelProcessing)
- *
- * @param string $id
- * The ID of the layer.
- * @param array $optParams Optional parameters.
- * @return Google_Service_MapsEngine_ProcessResponse
- */
- public function cancelProcessing($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('cancelProcessing', array($params), "Google_Service_MapsEngine_ProcessResponse");
- }
- /**
- * Create a layer asset. (layers.create)
- *
- * @param Google_Layer $postBody
- * @param array $optParams Optional parameters.
- *
- * @opt_param bool process
- * Whether to queue the created layer for processing.
- * @return Google_Service_MapsEngine_Layer
- */
- public function create(Google_Service_MapsEngine_Layer $postBody, $optParams = array())
- {
- $params = array('postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('create', array($params), "Google_Service_MapsEngine_Layer");
- }
- /**
- * Delete a layer. (layers.delete)
- *
- * @param string $id
- * The ID of the layer. Only the layer creator or project owner are permitted to delete. If the
- * layer is published, or included in a map, the request will fail. Unpublish the layer, and remove
- * it from all maps prior to deleting.
- * @param array $optParams Optional parameters.
- */
- public function delete($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('delete', array($params));
- }
- /**
- * Return metadata for a particular layer. (layers.get)
- *
- * @param string $id
- * The ID of the layer.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string version
- *
- * @return Google_Service_MapsEngine_Layer
- */
- public function get($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_MapsEngine_Layer");
- }
- /**
- * Return all layers readable by the current user. (layers.listLayers)
- *
- * @param array $optParams Optional parameters.
- *
- * @opt_param string modifiedAfter
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been modified at or after this time.
- * @opt_param string createdAfter
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been created at or after this time.
- * @opt_param string tags
- * A comma separated list of tags. Returned assets will contain all the tags from the list.
- * @opt_param string projectId
- * The ID of a Maps Engine project, used to filter the response. To list all available projects
- * with their IDs, send a Projects: list request. You can also find your project ID as the value of
- * the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
- * @opt_param string maxResults
- * The maximum number of items to include in a single response page. The maximum supported value is
- * 100.
- * @opt_param string pageToken
- * The continuation token, used to page through large result sets. To get the next page of results,
- * set this parameter to the value of nextPageToken from the previous response.
- * @opt_param string creatorEmail
- * An email address representing a user. Returned assets that have been created by the user
- * associated with the provided email address.
- * @opt_param string bbox
- * A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this
- * bounding box will be returned.
- * @opt_param string modifiedBefore
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been modified at or before this time.
- * @opt_param string createdBefore
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been created at or before this time.
- * @return Google_Service_MapsEngine_LayersListResponse
- */
- public function listLayers($optParams = array())
- {
- $params = array();
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_MapsEngine_LayersListResponse");
- }
- /**
- * Mutate a layer asset. (layers.patch)
- *
- * @param string $id
- * The ID of the layer.
- * @param Google_Layer $postBody
- * @param array $optParams Optional parameters.
- */
- public function patch($id, Google_Service_MapsEngine_Layer $postBody, $optParams = array())
- {
- $params = array('id' => $id, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('patch', array($params));
- }
- /**
- * Process a layer asset. (layers.process)
- *
- * @param string $id
- * The ID of the layer.
- * @param array $optParams Optional parameters.
- * @return Google_Service_MapsEngine_ProcessResponse
- */
- public function process($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('process', array($params), "Google_Service_MapsEngine_ProcessResponse");
- }
- /**
- * Publish a layer asset. (layers.publish)
- *
- * @param string $id
- * The ID of the layer.
- * @param array $optParams Optional parameters.
- * @return Google_Service_MapsEngine_PublishResponse
- */
- public function publish($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('publish', array($params), "Google_Service_MapsEngine_PublishResponse");
- }
- /**
- * Unpublish a layer asset. (layers.unpublish)
- *
- * @param string $id
- * The ID of the layer.
- * @param array $optParams Optional parameters.
- * @return Google_Service_MapsEngine_PublishResponse
- */
- public function unpublish($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('unpublish', array($params), "Google_Service_MapsEngine_PublishResponse");
- }
-}
-
-/**
- * The "parents" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_MapsEngine(...);
- * $parents = $mapsengineService->parents;
- *
- */
-class Google_Service_MapsEngine_LayersParents_Resource extends Google_Service_Resource
-{
-
- /**
- * Return all parent ids of the specified layer. (parents.listLayersParents)
- *
- * @param string $id
- * The ID of the layer whose parents will be listed.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string pageToken
- * The continuation token, used to page through large result sets. To get the next page of results,
- * set this parameter to the value of nextPageToken from the previous response.
- * @opt_param string maxResults
- * The maximum number of items to include in a single response page. The maximum supported value is
- * 50.
- * @return Google_Service_MapsEngine_ParentsListResponse
- */
- public function listLayersParents($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_MapsEngine_ParentsListResponse");
- }
-}
-
-/**
- * The "maps" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_MapsEngine(...);
- * $maps = $mapsengineService->maps;
- *
- */
-class Google_Service_MapsEngine_Maps_Resource extends Google_Service_Resource
-{
-
- /**
- * Create a map asset. (maps.create)
- *
- * @param Google_Map $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_MapsEngine_Map
- */
- public function create(Google_Service_MapsEngine_Map $postBody, $optParams = array())
- {
- $params = array('postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('create', array($params), "Google_Service_MapsEngine_Map");
- }
- /**
- * Delete a map. (maps.delete)
- *
- * @param string $id
- * The ID of the map. Only the map creator or project owner are permitted to delete. If the map is
- * published the request will fail. Unpublish the map prior to deleting.
- * @param array $optParams Optional parameters.
- */
- public function delete($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('delete', array($params));
- }
- /**
- * Return metadata for a particular map. (maps.get)
- *
- * @param string $id
- * The ID of the map.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string version
- *
- * @return Google_Service_MapsEngine_Map
- */
- public function get($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_MapsEngine_Map");
- }
- /**
- * Return all maps readable by the current user. (maps.listMaps)
- *
- * @param array $optParams Optional parameters.
- *
- * @opt_param string modifiedAfter
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been modified at or after this time.
- * @opt_param string createdAfter
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been created at or after this time.
- * @opt_param string tags
- * A comma separated list of tags. Returned assets will contain all the tags from the list.
- * @opt_param string projectId
- * The ID of a Maps Engine project, used to filter the response. To list all available projects
- * with their IDs, send a Projects: list request. You can also find your project ID as the value of
- * the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
- * @opt_param string maxResults
- * The maximum number of items to include in a single response page. The maximum supported value is
- * 100.
- * @opt_param string pageToken
- * The continuation token, used to page through large result sets. To get the next page of results,
- * set this parameter to the value of nextPageToken from the previous response.
- * @opt_param string creatorEmail
- * An email address representing a user. Returned assets that have been created by the user
- * associated with the provided email address.
- * @opt_param string bbox
- * A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this
- * bounding box will be returned.
- * @opt_param string modifiedBefore
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been modified at or before this time.
- * @opt_param string createdBefore
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been created at or before this time.
- * @return Google_Service_MapsEngine_MapsListResponse
- */
- public function listMaps($optParams = array())
- {
- $params = array();
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_MapsEngine_MapsListResponse");
- }
- /**
- * Mutate a map asset. (maps.patch)
- *
- * @param string $id
- * The ID of the map.
- * @param Google_Map $postBody
- * @param array $optParams Optional parameters.
- */
- public function patch($id, Google_Service_MapsEngine_Map $postBody, $optParams = array())
- {
- $params = array('id' => $id, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('patch', array($params));
- }
- /**
- * Publish a map asset. (maps.publish)
- *
- * @param string $id
- * The ID of the map.
- * @param array $optParams Optional parameters.
- * @return Google_Service_MapsEngine_PublishResponse
- */
- public function publish($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('publish', array($params), "Google_Service_MapsEngine_PublishResponse");
- }
- /**
- * Unpublish a map asset. (maps.unpublish)
- *
- * @param string $id
- * The ID of the map.
- * @param array $optParams Optional parameters.
- * @return Google_Service_MapsEngine_PublishResponse
- */
- public function unpublish($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('unpublish', array($params), "Google_Service_MapsEngine_PublishResponse");
- }
-}
-
-/**
- * The "projects" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_MapsEngine(...);
- * $projects = $mapsengineService->projects;
- *
- */
-class Google_Service_MapsEngine_Projects_Resource extends Google_Service_Resource
-{
-
- /**
- * Return all projects readable by the current user. (projects.listProjects)
- *
- * @param array $optParams Optional parameters.
- * @return Google_Service_MapsEngine_ProjectsListResponse
- */
- public function listProjects($optParams = array())
- {
- $params = array();
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_MapsEngine_ProjectsListResponse");
- }
-}
-
-/**
- * The "rasterCollections" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_MapsEngine(...);
- * $rasterCollections = $mapsengineService->rasterCollections;
- *
- */
-class Google_Service_MapsEngine_RasterCollections_Resource extends Google_Service_Resource
-{
-
- /**
- * Cancel processing on a raster collection asset.
- * (rasterCollections.cancelProcessing)
- *
- * @param string $id
- * The ID of the raster collection.
- * @param array $optParams Optional parameters.
- * @return Google_Service_MapsEngine_ProcessResponse
- */
- public function cancelProcessing($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('cancelProcessing', array($params), "Google_Service_MapsEngine_ProcessResponse");
- }
- /**
- * Create a raster collection asset. (rasterCollections.create)
- *
- * @param Google_RasterCollection $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_MapsEngine_RasterCollection
- */
- public function create(Google_Service_MapsEngine_RasterCollection $postBody, $optParams = array())
- {
- $params = array('postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('create', array($params), "Google_Service_MapsEngine_RasterCollection");
- }
- /**
- * Delete a raster collection. (rasterCollections.delete)
- *
- * @param string $id
- * The ID of the raster collection. Only the raster collection creator or project owner are
- * permitted to delete. If the rastor collection is included in a layer, the request will fail.
- * Remove the raster collection from all layers prior to deleting.
- * @param array $optParams Optional parameters.
- */
- public function delete($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('delete', array($params));
- }
- /**
- * Return metadata for a particular raster collection. (rasterCollections.get)
- *
- * @param string $id
- * The ID of the raster collection.
- * @param array $optParams Optional parameters.
- * @return Google_Service_MapsEngine_RasterCollection
- */
- public function get($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_MapsEngine_RasterCollection");
- }
- /**
- * Return all raster collections readable by the current user.
- * (rasterCollections.listRasterCollections)
- *
- * @param array $optParams Optional parameters.
- *
- * @opt_param string modifiedAfter
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been modified at or after this time.
- * @opt_param string createdAfter
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been created at or after this time.
- * @opt_param string tags
- * A comma separated list of tags. Returned assets will contain all the tags from the list.
- * @opt_param string projectId
- * The ID of a Maps Engine project, used to filter the response. To list all available projects
- * with their IDs, send a Projects: list request. You can also find your project ID as the value of
- * the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
- * @opt_param string maxResults
- * The maximum number of items to include in a single response page. The maximum supported value is
- * 100.
- * @opt_param string pageToken
- * The continuation token, used to page through large result sets. To get the next page of results,
- * set this parameter to the value of nextPageToken from the previous response.
- * @opt_param string creatorEmail
- * An email address representing a user. Returned assets that have been created by the user
- * associated with the provided email address.
- * @opt_param string bbox
- * A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this
- * bounding box will be returned.
- * @opt_param string modifiedBefore
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been modified at or before this time.
- * @opt_param string createdBefore
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been created at or before this time.
- * @return Google_Service_MapsEngine_RasterCollectionsListResponse
- */
- public function listRasterCollections($optParams = array())
- {
- $params = array();
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_MapsEngine_RasterCollectionsListResponse");
- }
- /**
- * Mutate a raster collection asset. (rasterCollections.patch)
- *
- * @param string $id
- * The ID of the raster collection.
- * @param Google_RasterCollection $postBody
- * @param array $optParams Optional parameters.
- */
- public function patch($id, Google_Service_MapsEngine_RasterCollection $postBody, $optParams = array())
- {
- $params = array('id' => $id, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('patch', array($params));
- }
- /**
- * Process a raster collection asset. (rasterCollections.process)
- *
- * @param string $id
- * The ID of the raster collection.
- * @param array $optParams Optional parameters.
- * @return Google_Service_MapsEngine_ProcessResponse
- */
- public function process($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('process', array($params), "Google_Service_MapsEngine_ProcessResponse");
- }
-}
-
-/**
- * The "parents" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_MapsEngine(...);
- * $parents = $mapsengineService->parents;
- *
- */
-class Google_Service_MapsEngine_RasterCollectionsParents_Resource extends Google_Service_Resource
-{
-
- /**
- * Return all parent ids of the specified raster collection.
- * (parents.listRasterCollectionsParents)
- *
- * @param string $id
- * The ID of the raster collection whose parents will be listed.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string pageToken
- * The continuation token, used to page through large result sets. To get the next page of results,
- * set this parameter to the value of nextPageToken from the previous response.
- * @opt_param string maxResults
- * The maximum number of items to include in a single response page. The maximum supported value is
- * 50.
- * @return Google_Service_MapsEngine_ParentsListResponse
- */
- public function listRasterCollectionsParents($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_MapsEngine_ParentsListResponse");
- }
-}
-/**
- * The "rasters" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_MapsEngine(...);
- * $rasters = $mapsengineService->rasters;
- *
- */
-class Google_Service_MapsEngine_RasterCollectionsRasters_Resource extends Google_Service_Resource
-{
-
- /**
- * Remove rasters from an existing raster collection.
- *
- * Up to 50 rasters can be included in a single batchDelete request. Each
- * batchDelete request is atomic. (rasters.batchDelete)
- *
- * @param string $id
- * The ID of the raster collection to which these rasters belong.
- * @param Google_RasterCollectionsRasterBatchDeleteRequest $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_MapsEngine_RasterCollectionsRastersBatchDeleteResponse
- */
- public function batchDelete($id, Google_Service_MapsEngine_RasterCollectionsRasterBatchDeleteRequest $postBody, $optParams = array())
- {
- $params = array('id' => $id, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('batchDelete', array($params), "Google_Service_MapsEngine_RasterCollectionsRastersBatchDeleteResponse");
- }
- /**
- * Add rasters to an existing raster collection. Rasters must be successfully
- * processed in order to be added to a raster collection.
- *
- * Up to 50 rasters can be included in a single batchInsert request. Each
- * batchInsert request is atomic. (rasters.batchInsert)
- *
- * @param string $id
- * The ID of the raster collection to which these rasters belong.
- * @param Google_RasterCollectionsRastersBatchInsertRequest $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_MapsEngine_RasterCollectionsRastersBatchInsertResponse
- */
- public function batchInsert($id, Google_Service_MapsEngine_RasterCollectionsRastersBatchInsertRequest $postBody, $optParams = array())
- {
- $params = array('id' => $id, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('batchInsert', array($params), "Google_Service_MapsEngine_RasterCollectionsRastersBatchInsertResponse");
- }
- /**
- * Return all rasters within a raster collection.
- * (rasters.listRasterCollectionsRasters)
- *
- * @param string $id
- * The ID of the raster collection to which these rasters belong.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string modifiedAfter
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been modified at or after this time.
- * @opt_param string createdAfter
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been created at or after this time.
- * @opt_param string tags
- * A comma separated list of tags. Returned assets will contain all the tags from the list.
- * @opt_param string maxResults
- * The maximum number of items to include in a single response page. The maximum supported value is
- * 100.
- * @opt_param string pageToken
- * The continuation token, used to page through large result sets. To get the next page of results,
- * set this parameter to the value of nextPageToken from the previous response.
- * @opt_param string creatorEmail
- * An email address representing a user. Returned assets that have been created by the user
- * associated with the provided email address.
- * @opt_param string bbox
- * A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this
- * bounding box will be returned.
- * @opt_param string modifiedBefore
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been modified at or before this time.
- * @opt_param string createdBefore
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been created at or before this time.
- * @return Google_Service_MapsEngine_RasterCollectionsRastersListResponse
- */
- public function listRasterCollectionsRasters($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_MapsEngine_RasterCollectionsRastersListResponse");
- }
-}
-
-/**
- * The "rasters" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_MapsEngine(...);
- * $rasters = $mapsengineService->rasters;
- *
- */
-class Google_Service_MapsEngine_Rasters_Resource extends Google_Service_Resource
-{
-
- /**
- * Delete a raster. (rasters.delete)
- *
- * @param string $id
- * The ID of the raster. Only the raster creator or project owner are permitted to delete. If the
- * raster is included in a layer or mosaic, the request will fail. Remove it from all parents prior
- * to deleting.
- * @param array $optParams Optional parameters.
- */
- public function delete($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('delete', array($params));
- }
- /**
- * Return metadata for a single raster. (rasters.get)
- *
- * @param string $id
- * The ID of the raster.
- * @param array $optParams Optional parameters.
- * @return Google_Service_MapsEngine_Raster
- */
- public function get($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_MapsEngine_Raster");
- }
- /**
- * Mutate a raster asset. (rasters.patch)
- *
- * @param string $id
- * The ID of the raster.
- * @param Google_Raster $postBody
- * @param array $optParams Optional parameters.
- */
- public function patch($id, Google_Service_MapsEngine_Raster $postBody, $optParams = array())
- {
- $params = array('id' => $id, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('patch', array($params));
- }
- /**
- * Create a skeleton raster asset for upload. (rasters.upload)
- *
- * @param Google_Raster $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_MapsEngine_Raster
- */
- public function upload(Google_Service_MapsEngine_Raster $postBody, $optParams = array())
- {
- $params = array('postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('upload', array($params), "Google_Service_MapsEngine_Raster");
- }
-}
-
-/**
- * The "files" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_MapsEngine(...);
- * $files = $mapsengineService->files;
- *
- */
-class Google_Service_MapsEngine_RastersFiles_Resource extends Google_Service_Resource
-{
-
- /**
- * Upload a file to a raster asset. (files.insert)
- *
- * @param string $id
- * The ID of the raster asset.
- * @param string $filename
- * The file name of this uploaded file.
- * @param array $optParams Optional parameters.
- */
- public function insert($id, $filename, $optParams = array())
- {
- $params = array('id' => $id, 'filename' => $filename);
- $params = array_merge($params, $optParams);
- return $this->call('insert', array($params));
- }
-}
-/**
- * The "parents" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_MapsEngine(...);
- * $parents = $mapsengineService->parents;
- *
- */
-class Google_Service_MapsEngine_RastersParents_Resource extends Google_Service_Resource
-{
-
- /**
- * Return all parent ids of the specified rasters. (parents.listRastersParents)
- *
- * @param string $id
- * The ID of the rasters whose parents will be listed.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string pageToken
- * The continuation token, used to page through large result sets. To get the next page of results,
- * set this parameter to the value of nextPageToken from the previous response.
- * @opt_param string maxResults
- * The maximum number of items to include in a single response page. The maximum supported value is
- * 50.
- * @return Google_Service_MapsEngine_ParentsListResponse
- */
- public function listRastersParents($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_MapsEngine_ParentsListResponse");
- }
-}
-
-/**
- * The "tables" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_MapsEngine(...);
- * $tables = $mapsengineService->tables;
- *
- */
-class Google_Service_MapsEngine_Tables_Resource extends Google_Service_Resource
-{
-
- /**
- * Create a table asset. (tables.create)
- *
- * @param Google_Table $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_MapsEngine_Table
- */
- public function create(Google_Service_MapsEngine_Table $postBody, $optParams = array())
- {
- $params = array('postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('create', array($params), "Google_Service_MapsEngine_Table");
- }
- /**
- * Delete a table. (tables.delete)
- *
- * @param string $id
- * The ID of the table. Only the table creator or project owner are permitted to delete. If the
- * table is included in a layer, the request will fail. Remove it from all layers prior to
- * deleting.
- * @param array $optParams Optional parameters.
- */
- public function delete($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('delete', array($params));
- }
- /**
- * Return metadata for a particular table, including the schema. (tables.get)
- *
- * @param string $id
- * The ID of the table.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string version
- *
- * @return Google_Service_MapsEngine_Table
- */
- public function get($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_MapsEngine_Table");
- }
- /**
- * Return all tables readable by the current user. (tables.listTables)
- *
- * @param array $optParams Optional parameters.
- *
- * @opt_param string modifiedAfter
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been modified at or after this time.
- * @opt_param string createdAfter
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been created at or after this time.
- * @opt_param string tags
- * A comma separated list of tags. Returned assets will contain all the tags from the list.
- * @opt_param string projectId
- * The ID of a Maps Engine project, used to filter the response. To list all available projects
- * with their IDs, send a Projects: list request. You can also find your project ID as the value of
- * the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
- * @opt_param string maxResults
- * The maximum number of items to include in a single response page. The maximum supported value is
- * 100.
- * @opt_param string pageToken
- * The continuation token, used to page through large result sets. To get the next page of results,
- * set this parameter to the value of nextPageToken from the previous response.
- * @opt_param string creatorEmail
- * An email address representing a user. Returned assets that have been created by the user
- * associated with the provided email address.
- * @opt_param string bbox
- * A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this
- * bounding box will be returned.
- * @opt_param string modifiedBefore
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been modified at or before this time.
- * @opt_param string createdBefore
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been created at or before this time.
- * @return Google_Service_MapsEngine_TablesListResponse
- */
- public function listTables($optParams = array())
- {
- $params = array();
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_MapsEngine_TablesListResponse");
- }
- /**
- * Mutate a table asset. (tables.patch)
- *
- * @param string $id
- * The ID of the table.
- * @param Google_Table $postBody
- * @param array $optParams Optional parameters.
- */
- public function patch($id, Google_Service_MapsEngine_Table $postBody, $optParams = array())
- {
- $params = array('id' => $id, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('patch', array($params));
- }
- /**
- * Create a placeholder table asset to which table files can be uploaded. Once
- * the placeholder has been created, files are uploaded to the
- * https://www.googleapis.com/upload/mapsengine/v1/tables/table_id/files
- * endpoint. See Table Upload in the Developer's Guide or Table.files: insert in
- * the reference documentation for more information. (tables.upload)
- *
- * @param Google_Table $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_MapsEngine_Table
- */
- public function upload(Google_Service_MapsEngine_Table $postBody, $optParams = array())
- {
- $params = array('postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('upload', array($params), "Google_Service_MapsEngine_Table");
- }
-}
-
-/**
- * The "features" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_MapsEngine(...);
- * $features = $mapsengineService->features;
- *
- */
-class Google_Service_MapsEngine_TablesFeatures_Resource extends Google_Service_Resource
-{
-
- /**
- * Delete all features matching the given IDs. (features.batchDelete)
- *
- * @param string $id
- * The ID of the table that contains the features to be deleted.
- * @param Google_FeaturesBatchDeleteRequest $postBody
- * @param array $optParams Optional parameters.
- */
- public function batchDelete($id, Google_Service_MapsEngine_FeaturesBatchDeleteRequest $postBody, $optParams = array())
- {
- $params = array('id' => $id, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('batchDelete', array($params));
- }
- /**
- * Append features to an existing table.
- *
- * A single batchInsert request can create:
- *
- * - Up to 50 features. - A combined total of 10 000 vertices. Feature limits
- * are documented in the Supported data formats and limits article of the Google
- * Maps Engine help center. Note that free and paid accounts have different
- * limits.
- *
- * For more information about inserting features, read Creating features in the
- * Google Maps Engine developer's guide. (features.batchInsert)
- *
- * @param string $id
- * The ID of the table to append the features to.
- * @param Google_FeaturesBatchInsertRequest $postBody
- * @param array $optParams Optional parameters.
- */
- public function batchInsert($id, Google_Service_MapsEngine_FeaturesBatchInsertRequest $postBody, $optParams = array())
- {
- $params = array('id' => $id, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('batchInsert', array($params));
- }
- /**
- * Update the supplied features.
- *
- * A single batchPatch request can update:
- *
- * - Up to 50 features. - A combined total of 10 000 vertices. Feature limits
- * are documented in the Supported data formats and limits article of the Google
- * Maps Engine help center. Note that free and paid accounts have different
- * limits.
- *
- * Feature updates use HTTP PATCH semantics:
- *
- * - A supplied value replaces an existing value (if any) in that field. -
- * Omitted fields remain unchanged. - Complex values in geometries and
- * properties must be replaced as atomic units. For example, providing just the
- * coordinates of a geometry is not allowed; the complete geometry, including
- * type, must be supplied. - Setting a property's value to null deletes that
- * property. For more information about updating features, read Updating
- * features in the Google Maps Engine developer's guide. (features.batchPatch)
- *
- * @param string $id
- * The ID of the table containing the features to be patched.
- * @param Google_FeaturesBatchPatchRequest $postBody
- * @param array $optParams Optional parameters.
- */
- public function batchPatch($id, Google_Service_MapsEngine_FeaturesBatchPatchRequest $postBody, $optParams = array())
- {
- $params = array('id' => $id, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('batchPatch', array($params));
- }
- /**
- * Return a single feature, given its ID. (features.get)
- *
- * @param string $tableId
- * The ID of the table.
- * @param string $id
- * The ID of the feature to get.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string version
- * The table version to access. See Accessing Public Data for information.
- * @opt_param string select
- * A SQL-like projection clause used to specify returned properties. If this parameter is not
- * included, all properties are returned.
- * @return Google_Service_MapsEngine_Feature
- */
- public function get($tableId, $id, $optParams = array())
- {
- $params = array('tableId' => $tableId, 'id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_MapsEngine_Feature");
- }
- /**
- * Return all features readable by the current user.
- * (features.listTablesFeatures)
- *
- * @param string $id
- * The ID of the table to which these features belong.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string orderBy
- * An SQL-like order by clause used to sort results. If this parameter is not included, the order
- * of features is undefined.
- * @opt_param string intersects
- * A geometry literal that specifies the spatial restriction of the query.
- * @opt_param string maxResults
- * The maximum number of items to include in the response, used for paging. The maximum supported
- * value is 1000.
- * @opt_param string pageToken
- * The continuation token, used to page through large result sets. To get the next page of results,
- * set this parameter to the value of nextPageToken from the previous response.
- * @opt_param string version
- * The table version to access. See Accessing Public Data for information.
- * @opt_param string limit
- * The total number of features to return from the query, irrespective of the number of pages.
- * @opt_param string include
- * A comma separated list of optional data to include. Optional data available: schema.
- * @opt_param string where
- * An SQL-like predicate used to filter results.
- * @opt_param string select
- * A SQL-like projection clause used to specify returned properties. If this parameter is not
- * included, all properties are returned.
- * @return Google_Service_MapsEngine_FeaturesListResponse
- */
- public function listTablesFeatures($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_MapsEngine_FeaturesListResponse");
- }
-}
-/**
- * The "files" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_MapsEngine(...);
- * $files = $mapsengineService->files;
- *
- */
-class Google_Service_MapsEngine_TablesFiles_Resource extends Google_Service_Resource
-{
-
- /**
- * Upload a file to a placeholder table asset. See Table Upload in the
- * Developer's Guide for more information. Supported file types are listed in
- * the Supported data formats and limits article of the Google Maps Engine help
- * center. (files.insert)
- *
- * @param string $id
- * The ID of the table asset.
- * @param string $filename
- * The file name of this uploaded file.
- * @param array $optParams Optional parameters.
- */
- public function insert($id, $filename, $optParams = array())
- {
- $params = array('id' => $id, 'filename' => $filename);
- $params = array_merge($params, $optParams);
- return $this->call('insert', array($params));
- }
-}
-/**
- * The "parents" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_MapsEngine(...);
- * $parents = $mapsengineService->parents;
- *
- */
-class Google_Service_MapsEngine_TablesParents_Resource extends Google_Service_Resource
-{
-
- /**
- * Return all parent ids of the specified table. (parents.listTablesParents)
- *
- * @param string $id
- * The ID of the table whose parents will be listed.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string pageToken
- * The continuation token, used to page through large result sets. To get the next page of results,
- * set this parameter to the value of nextPageToken from the previous response.
- * @opt_param string maxResults
- * The maximum number of items to include in a single response page. The maximum supported value is
- * 50.
- * @return Google_Service_MapsEngine_ParentsListResponse
- */
- public function listTablesParents($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_MapsEngine_ParentsListResponse");
- }
-}
-
-
-
-
-class Google_Service_MapsEngine_AcquisitionTime extends Google_Model
-{
- public $end;
- public $precision;
- public $start;
-
- public function setEnd($end)
- {
- $this->end = $end;
- }
-
- public function getEnd()
- {
- return $this->end;
- }
-
- public function setPrecision($precision)
- {
- $this->precision = $precision;
- }
-
- public function getPrecision()
- {
- return $this->precision;
- }
-
- public function setStart($start)
- {
- $this->start = $start;
- }
-
- public function getStart()
- {
- return $this->start;
- }
-}
-
-class Google_Service_MapsEngine_Asset extends Google_Collection
-{
- public $bbox;
- public $creationTime;
- public $description;
- public $etag;
- public $id;
- public $lastModifiedTime;
- public $name;
- public $projectId;
- public $resource;
- public $tags;
- public $type;
-
- public function setBbox($bbox)
- {
- $this->bbox = $bbox;
- }
-
- public function getBbox()
- {
- return $this->bbox;
- }
-
- public function setCreationTime($creationTime)
- {
- $this->creationTime = $creationTime;
- }
-
- public function getCreationTime()
- {
- return $this->creationTime;
- }
-
- public function setDescription($description)
- {
- $this->description = $description;
- }
-
- public function getDescription()
- {
- return $this->description;
- }
-
- public function setEtag($etag)
- {
- $this->etag = $etag;
- }
-
- public function getEtag()
- {
- return $this->etag;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setLastModifiedTime($lastModifiedTime)
- {
- $this->lastModifiedTime = $lastModifiedTime;
- }
-
- public function getLastModifiedTime()
- {
- return $this->lastModifiedTime;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setProjectId($projectId)
- {
- $this->projectId = $projectId;
- }
-
- public function getProjectId()
- {
- return $this->projectId;
- }
-
- public function setResource($resource)
- {
- $this->resource = $resource;
- }
-
- public function getResource()
- {
- return $this->resource;
- }
-
- public function setTags($tags)
- {
- $this->tags = $tags;
- }
-
- public function getTags()
- {
- return $this->tags;
- }
-
- public function setType($type)
- {
- $this->type = $type;
- }
-
- public function getType()
- {
- return $this->type;
- }
-}
-
-class Google_Service_MapsEngine_AssetsListResponse extends Google_Collection
-{
- protected $assetsType = 'Google_Service_MapsEngine_Asset';
- protected $assetsDataType = 'array';
- public $nextPageToken;
-
- public function setAssets($assets)
- {
- $this->assets = $assets;
- }
-
- public function getAssets()
- {
- return $this->assets;
- }
-
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
-
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-}
-
-class Google_Service_MapsEngine_Border extends Google_Model
-{
- public $color;
- public $opacity;
- public $width;
-
- public function setColor($color)
- {
- $this->color = $color;
- }
-
- public function getColor()
- {
- return $this->color;
- }
-
- public function setOpacity($opacity)
- {
- $this->opacity = $opacity;
- }
-
- public function getOpacity()
- {
- return $this->opacity;
- }
-
- public function setWidth($width)
- {
- $this->width = $width;
- }
-
- public function getWidth()
- {
- return $this->width;
- }
-}
-
-class Google_Service_MapsEngine_Color extends Google_Model
-{
- public $color;
- public $opacity;
-
- public function setColor($color)
- {
- $this->color = $color;
- }
-
- public function getColor()
- {
- return $this->color;
- }
-
- public function setOpacity($opacity)
- {
- $this->opacity = $opacity;
- }
-
- public function getOpacity()
- {
- return $this->opacity;
- }
-}
-
-class Google_Service_MapsEngine_Datasource extends Google_Model
-{
- public $id;
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-}
-
-class Google_Service_MapsEngine_DisplayRule extends Google_Collection
-{
- protected $filtersType = 'Google_Service_MapsEngine_Filter';
- protected $filtersDataType = 'array';
- protected $lineOptionsType = 'Google_Service_MapsEngine_LineStyle';
- protected $lineOptionsDataType = '';
- public $name;
- protected $pointOptionsType = 'Google_Service_MapsEngine_PointStyle';
- protected $pointOptionsDataType = '';
- protected $polygonOptionsType = 'Google_Service_MapsEngine_PolygonStyle';
- protected $polygonOptionsDataType = '';
- protected $zoomLevelsType = 'Google_Service_MapsEngine_ZoomLevels';
- protected $zoomLevelsDataType = '';
-
- public function setFilters($filters)
- {
- $this->filters = $filters;
- }
-
- public function getFilters()
- {
- return $this->filters;
- }
-
- public function setLineOptions(Google_Service_MapsEngine_LineStyle $lineOptions)
- {
- $this->lineOptions = $lineOptions;
- }
-
- public function getLineOptions()
- {
- return $this->lineOptions;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setPointOptions(Google_Service_MapsEngine_PointStyle $pointOptions)
- {
- $this->pointOptions = $pointOptions;
- }
-
- public function getPointOptions()
- {
- return $this->pointOptions;
- }
-
- public function setPolygonOptions(Google_Service_MapsEngine_PolygonStyle $polygonOptions)
- {
- $this->polygonOptions = $polygonOptions;
- }
-
- public function getPolygonOptions()
- {
- return $this->polygonOptions;
- }
-
- public function setZoomLevels(Google_Service_MapsEngine_ZoomLevels $zoomLevels)
- {
- $this->zoomLevels = $zoomLevels;
- }
-
- public function getZoomLevels()
- {
- return $this->zoomLevels;
- }
-}
-
-class Google_Service_MapsEngine_Feature extends Google_Model
-{
- protected $geometryType = 'Google_Service_MapsEngine_GeoJsonGeometry';
- protected $geometryDataType = '';
- public $properties;
- public $type;
-
- public function setGeometry(Google_Service_MapsEngine_GeoJsonGeometry $geometry)
- {
- $this->geometry = $geometry;
- }
-
- public function getGeometry()
- {
- return $this->geometry;
- }
-
- public function setProperties($properties)
- {
- $this->properties = $properties;
- }
-
- public function getProperties()
- {
- return $this->properties;
- }
-
- public function setType($type)
- {
- $this->type = $type;
- }
-
- public function getType()
- {
- return $this->type;
- }
-}
-
-class Google_Service_MapsEngine_FeatureInfo extends Google_Model
-{
- public $content;
-
- public function setContent($content)
- {
- $this->content = $content;
- }
-
- public function getContent()
- {
- return $this->content;
- }
-}
-
-class Google_Service_MapsEngine_FeaturesBatchDeleteRequest extends Google_Collection
-{
- public $gxIds;
- public $primaryKeys;
-
- public function setGxIds($gxIds)
- {
- $this->gxIds = $gxIds;
- }
-
- public function getGxIds()
- {
- return $this->gxIds;
- }
-
- public function setPrimaryKeys($primaryKeys)
- {
- $this->primaryKeys = $primaryKeys;
- }
-
- public function getPrimaryKeys()
- {
- return $this->primaryKeys;
- }
-}
-
-class Google_Service_MapsEngine_FeaturesBatchInsertRequest extends Google_Collection
-{
- protected $featuresType = 'Google_Service_MapsEngine_Feature';
- protected $featuresDataType = 'array';
-
- public function setFeatures($features)
- {
- $this->features = $features;
- }
-
- public function getFeatures()
- {
- return $this->features;
- }
-}
-
-class Google_Service_MapsEngine_FeaturesBatchPatchRequest extends Google_Collection
-{
- protected $featuresType = 'Google_Service_MapsEngine_Feature';
- protected $featuresDataType = 'array';
-
- public function setFeatures($features)
- {
- $this->features = $features;
- }
-
- public function getFeatures()
- {
- return $this->features;
- }
-}
-
-class Google_Service_MapsEngine_FeaturesListResponse extends Google_Collection
-{
- public $allowedQueriesPerSecond;
- protected $featuresType = 'Google_Service_MapsEngine_Feature';
- protected $featuresDataType = 'array';
- public $nextPageToken;
- protected $schemaType = 'Google_Service_MapsEngine_Schema';
- protected $schemaDataType = '';
- public $type;
-
- public function setAllowedQueriesPerSecond($allowedQueriesPerSecond)
- {
- $this->allowedQueriesPerSecond = $allowedQueriesPerSecond;
- }
-
- public function getAllowedQueriesPerSecond()
- {
- return $this->allowedQueriesPerSecond;
- }
-
- public function setFeatures($features)
- {
- $this->features = $features;
- }
-
- public function getFeatures()
- {
- return $this->features;
- }
-
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
-
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-
- public function setSchema(Google_Service_MapsEngine_Schema $schema)
- {
- $this->schema = $schema;
- }
-
- public function getSchema()
- {
- return $this->schema;
- }
-
- public function setType($type)
- {
- $this->type = $type;
- }
-
- public function getType()
- {
- return $this->type;
- }
-}
-
-class Google_Service_MapsEngine_Filter extends Google_Model
-{
- public $column;
- public $operator;
- public $value;
-
- public function setColumn($column)
- {
- $this->column = $column;
- }
-
- public function getColumn()
- {
- return $this->column;
- }
-
- public function setOperator($operator)
- {
- $this->operator = $operator;
- }
-
- public function getOperator()
- {
- return $this->operator;
- }
-
- public function setValue($value)
- {
- $this->value = $value;
- }
-
- public function getValue()
- {
- return $this->value;
- }
-}
-
-class Google_Service_MapsEngine_GeoJsonGeometry extends Google_Model
-{
- public $type;
-
- public function setType($type)
- {
- $this->type = $type;
- }
-
- public function getType()
- {
- return $this->type;
- }
-}
-
-class Google_Service_MapsEngine_GeoJsonGeometryCollection extends Google_Collection
-{
- protected $geometriesType = 'Google_Service_MapsEngine_GeoJsonGeometry';
- protected $geometriesDataType = 'array';
-
- public function setGeometries($geometries)
- {
- $this->geometries = $geometries;
- }
-
- public function getGeometries()
- {
- return $this->geometries;
- }
-}
-
-class Google_Service_MapsEngine_GeoJsonLineString extends Google_Collection
-{
- public $coordinates;
-
- public function setCoordinates($coordinates)
- {
- $this->coordinates = $coordinates;
- }
-
- public function getCoordinates()
- {
- return $this->coordinates;
- }
-}
-
-class Google_Service_MapsEngine_GeoJsonMultiLineString extends Google_Collection
-{
- public $coordinates;
-
- public function setCoordinates($coordinates)
- {
- $this->coordinates = $coordinates;
- }
-
- public function getCoordinates()
- {
- return $this->coordinates;
- }
-}
-
-class Google_Service_MapsEngine_GeoJsonMultiPoint extends Google_Collection
-{
- public $coordinates;
-
- public function setCoordinates($coordinates)
- {
- $this->coordinates = $coordinates;
- }
-
- public function getCoordinates()
- {
- return $this->coordinates;
- }
-}
-
-class Google_Service_MapsEngine_GeoJsonMultiPolygon extends Google_Collection
-{
- public $coordinates;
-
- public function setCoordinates($coordinates)
- {
- $this->coordinates = $coordinates;
- }
-
- public function getCoordinates()
- {
- return $this->coordinates;
- }
-}
-
-class Google_Service_MapsEngine_GeoJsonPoint extends Google_Collection
-{
- public $coordinates;
-
- public function setCoordinates($coordinates)
- {
- $this->coordinates = $coordinates;
- }
-
- public function getCoordinates()
- {
- return $this->coordinates;
- }
-}
-
-class Google_Service_MapsEngine_GeoJsonPolygon extends Google_Collection
-{
- public $coordinates;
-
- public function setCoordinates($coordinates)
- {
- $this->coordinates = $coordinates;
- }
-
- public function getCoordinates()
- {
- return $this->coordinates;
- }
-}
-
-class Google_Service_MapsEngine_GeoJsonProperties extends Google_Model
-{
-
-}
-
-class Google_Service_MapsEngine_IconStyle extends Google_Model
-{
- public $id;
- public $name;
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-}
-
-class Google_Service_MapsEngine_LabelStyle extends Google_Model
-{
- public $color;
- public $column;
- public $fontStyle;
- public $fontWeight;
- public $opacity;
- protected $outlineType = 'Google_Service_MapsEngine_Color';
- protected $outlineDataType = '';
- public $size;
-
- public function setColor($color)
- {
- $this->color = $color;
- }
-
- public function getColor()
- {
- return $this->color;
- }
-
- public function setColumn($column)
- {
- $this->column = $column;
- }
-
- public function getColumn()
- {
- return $this->column;
- }
-
- public function setFontStyle($fontStyle)
- {
- $this->fontStyle = $fontStyle;
- }
-
- public function getFontStyle()
- {
- return $this->fontStyle;
- }
-
- public function setFontWeight($fontWeight)
- {
- $this->fontWeight = $fontWeight;
- }
-
- public function getFontWeight()
- {
- return $this->fontWeight;
- }
-
- public function setOpacity($opacity)
- {
- $this->opacity = $opacity;
- }
-
- public function getOpacity()
- {
- return $this->opacity;
- }
-
- public function setOutline(Google_Service_MapsEngine_Color $outline)
- {
- $this->outline = $outline;
- }
-
- public function getOutline()
- {
- return $this->outline;
- }
-
- public function setSize($size)
- {
- $this->size = $size;
- }
-
- public function getSize()
- {
- return $this->size;
- }
-}
-
-class Google_Service_MapsEngine_Layer extends Google_Collection
-{
- public $bbox;
- public $creationTime;
- public $datasourceType;
- protected $datasourcesType = 'Google_Service_MapsEngine_Datasource';
- protected $datasourcesDataType = 'array';
- public $description;
- public $draftAccessList;
- public $etag;
- public $id;
- public $lastModifiedTime;
- public $name;
- public $processingStatus;
- public $projectId;
- public $publishedAccessList;
- protected $styleType = 'Google_Service_MapsEngine_VectorStyle';
- protected $styleDataType = '';
- public $tags;
-
- public function setBbox($bbox)
- {
- $this->bbox = $bbox;
- }
-
- public function getBbox()
- {
- return $this->bbox;
- }
-
- public function setCreationTime($creationTime)
- {
- $this->creationTime = $creationTime;
- }
-
- public function getCreationTime()
- {
- return $this->creationTime;
- }
-
- public function setDatasourceType($datasourceType)
- {
- $this->datasourceType = $datasourceType;
- }
-
- public function getDatasourceType()
- {
- return $this->datasourceType;
- }
-
- public function setDatasources(Google_Service_MapsEngine_Datasource $datasources)
- {
- $this->datasources = $datasources;
- }
-
- public function getDatasources()
- {
- return $this->datasources;
- }
-
- public function setDescription($description)
- {
- $this->description = $description;
- }
-
- public function getDescription()
- {
- return $this->description;
- }
-
- public function setDraftAccessList($draftAccessList)
- {
- $this->draftAccessList = $draftAccessList;
- }
-
- public function getDraftAccessList()
- {
- return $this->draftAccessList;
- }
-
- public function setEtag($etag)
- {
- $this->etag = $etag;
- }
-
- public function getEtag()
- {
- return $this->etag;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setLastModifiedTime($lastModifiedTime)
- {
- $this->lastModifiedTime = $lastModifiedTime;
- }
-
- public function getLastModifiedTime()
- {
- return $this->lastModifiedTime;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setProcessingStatus($processingStatus)
- {
- $this->processingStatus = $processingStatus;
- }
-
- public function getProcessingStatus()
- {
- return $this->processingStatus;
- }
-
- public function setProjectId($projectId)
- {
- $this->projectId = $projectId;
- }
-
- public function getProjectId()
- {
- return $this->projectId;
- }
-
- public function setPublishedAccessList($publishedAccessList)
- {
- $this->publishedAccessList = $publishedAccessList;
- }
-
- public function getPublishedAccessList()
- {
- return $this->publishedAccessList;
- }
-
- public function setStyle(Google_Service_MapsEngine_VectorStyle $style)
- {
- $this->style = $style;
- }
-
- public function getStyle()
- {
- return $this->style;
- }
-
- public function setTags($tags)
- {
- $this->tags = $tags;
- }
-
- public function getTags()
- {
- return $this->tags;
- }
-}
-
-class Google_Service_MapsEngine_LayersListResponse extends Google_Collection
-{
- protected $layersType = 'Google_Service_MapsEngine_Layer';
- protected $layersDataType = 'array';
- public $nextPageToken;
-
- public function setLayers($layers)
- {
- $this->layers = $layers;
- }
-
- public function getLayers()
- {
- return $this->layers;
- }
-
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
-
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-}
-
-class Google_Service_MapsEngine_LineStyle extends Google_Collection
-{
- protected $borderType = 'Google_Service_MapsEngine_Border';
- protected $borderDataType = '';
- public $dash;
- protected $labelType = 'Google_Service_MapsEngine_LabelStyle';
- protected $labelDataType = '';
- protected $strokeType = 'Google_Service_MapsEngine_LineStyleStroke';
- protected $strokeDataType = '';
-
- public function setBorder(Google_Service_MapsEngine_Border $border)
- {
- $this->border = $border;
- }
-
- public function getBorder()
- {
- return $this->border;
- }
-
- public function setDash($dash)
- {
- $this->dash = $dash;
- }
-
- public function getDash()
- {
- return $this->dash;
- }
-
- public function setLabel(Google_Service_MapsEngine_LabelStyle $label)
- {
- $this->label = $label;
- }
-
- public function getLabel()
- {
- return $this->label;
- }
-
- public function setStroke(Google_Service_MapsEngine_LineStyleStroke $stroke)
- {
- $this->stroke = $stroke;
- }
-
- public function getStroke()
- {
- return $this->stroke;
- }
-}
-
-class Google_Service_MapsEngine_LineStyleStroke extends Google_Model
-{
- public $color;
- public $opacity;
- public $width;
-
- public function setColor($color)
- {
- $this->color = $color;
- }
-
- public function getColor()
- {
- return $this->color;
- }
-
- public function setOpacity($opacity)
- {
- $this->opacity = $opacity;
- }
-
- public function getOpacity()
- {
- return $this->opacity;
- }
-
- public function setWidth($width)
- {
- $this->width = $width;
- }
-
- public function getWidth()
- {
- return $this->width;
- }
-}
-
-class Google_Service_MapsEngine_Map extends Google_Collection
-{
- public $bbox;
- protected $contentsType = 'Google_Service_MapsEngine_MapItem';
- protected $contentsDataType = '';
- public $creationTime;
- public $defaultViewport;
- public $description;
- public $draftAccessList;
- public $etag;
- public $id;
- public $lastModifiedTime;
- public $name;
- public $processingStatus;
- public $projectId;
- public $publishedAccessList;
- public $tags;
- public $versions;
-
- public function setBbox($bbox)
- {
- $this->bbox = $bbox;
- }
-
- public function getBbox()
- {
- return $this->bbox;
- }
-
- public function setContents(Google_Service_MapsEngine_MapItem $contents)
- {
- $this->contents = $contents;
- }
-
- public function getContents()
- {
- return $this->contents;
- }
-
- public function setCreationTime($creationTime)
- {
- $this->creationTime = $creationTime;
- }
-
- public function getCreationTime()
- {
- return $this->creationTime;
- }
-
- public function setDefaultViewport($defaultViewport)
- {
- $this->defaultViewport = $defaultViewport;
- }
-
- public function getDefaultViewport()
- {
- return $this->defaultViewport;
- }
-
- public function setDescription($description)
- {
- $this->description = $description;
- }
-
- public function getDescription()
- {
- return $this->description;
- }
-
- public function setDraftAccessList($draftAccessList)
- {
- $this->draftAccessList = $draftAccessList;
- }
-
- public function getDraftAccessList()
- {
- return $this->draftAccessList;
- }
-
- public function setEtag($etag)
- {
- $this->etag = $etag;
- }
-
- public function getEtag()
- {
- return $this->etag;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setLastModifiedTime($lastModifiedTime)
- {
- $this->lastModifiedTime = $lastModifiedTime;
- }
-
- public function getLastModifiedTime()
- {
- return $this->lastModifiedTime;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setProcessingStatus($processingStatus)
- {
- $this->processingStatus = $processingStatus;
- }
-
- public function getProcessingStatus()
- {
- return $this->processingStatus;
- }
-
- public function setProjectId($projectId)
- {
- $this->projectId = $projectId;
- }
-
- public function getProjectId()
- {
- return $this->projectId;
- }
-
- public function setPublishedAccessList($publishedAccessList)
- {
- $this->publishedAccessList = $publishedAccessList;
- }
-
- public function getPublishedAccessList()
- {
- return $this->publishedAccessList;
- }
-
- public function setTags($tags)
- {
- $this->tags = $tags;
- }
-
- public function getTags()
- {
- return $this->tags;
- }
-
- public function setVersions($versions)
- {
- $this->versions = $versions;
- }
-
- public function getVersions()
- {
- return $this->versions;
- }
-}
-
-class Google_Service_MapsEngine_MapFolder extends Google_Collection
-{
- protected $contentsType = 'Google_Service_MapsEngine_MapItem';
- protected $contentsDataType = 'array';
- public $defaultViewport;
- public $expandable;
- public $key;
- public $name;
- public $visibility;
-
- public function setContents($contents)
- {
- $this->contents = $contents;
- }
-
- public function getContents()
- {
- return $this->contents;
- }
-
- public function setDefaultViewport($defaultViewport)
- {
- $this->defaultViewport = $defaultViewport;
- }
-
- public function getDefaultViewport()
- {
- return $this->defaultViewport;
- }
-
- public function setExpandable($expandable)
- {
- $this->expandable = $expandable;
- }
-
- public function getExpandable()
- {
- return $this->expandable;
- }
-
- public function setKey($key)
- {
- $this->key = $key;
- }
-
- public function getKey()
- {
- return $this->key;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setVisibility($visibility)
- {
- $this->visibility = $visibility;
- }
-
- public function getVisibility()
- {
- return $this->visibility;
- }
-}
-
-class Google_Service_MapsEngine_MapItem extends Google_Model
-{
- public $type;
-
- public function setType($type)
- {
- $this->type = $type;
- }
-
- public function getType()
- {
- return $this->type;
- }
-}
-
-class Google_Service_MapsEngine_MapKmlLink extends Google_Collection
-{
- public $defaultViewport;
- public $kmlUrl;
- public $name;
- public $visibility;
-
- public function setDefaultViewport($defaultViewport)
- {
- $this->defaultViewport = $defaultViewport;
- }
-
- public function getDefaultViewport()
- {
- return $this->defaultViewport;
- }
-
- public function setKmlUrl($kmlUrl)
- {
- $this->kmlUrl = $kmlUrl;
- }
-
- public function getKmlUrl()
- {
- return $this->kmlUrl;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setVisibility($visibility)
- {
- $this->visibility = $visibility;
- }
-
- public function getVisibility()
- {
- return $this->visibility;
- }
-}
-
-class Google_Service_MapsEngine_MapLayer extends Google_Collection
-{
- public $defaultViewport;
- public $id;
- public $key;
- public $name;
- public $visibility;
-
- public function setDefaultViewport($defaultViewport)
- {
- $this->defaultViewport = $defaultViewport;
- }
-
- public function getDefaultViewport()
- {
- return $this->defaultViewport;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setKey($key)
- {
- $this->key = $key;
- }
-
- public function getKey()
- {
- return $this->key;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setVisibility($visibility)
- {
- $this->visibility = $visibility;
- }
-
- public function getVisibility()
- {
- return $this->visibility;
- }
-}
-
-class Google_Service_MapsEngine_MapsListResponse extends Google_Collection
-{
- protected $mapsType = 'Google_Service_MapsEngine_Map';
- protected $mapsDataType = 'array';
- public $nextPageToken;
-
- public function setMaps($maps)
- {
- $this->maps = $maps;
- }
-
- public function getMaps()
- {
- return $this->maps;
- }
-
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
-
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-}
-
-class Google_Service_MapsEngine_MapsengineFile extends Google_Model
-{
- public $filename;
- public $size;
- public $uploadStatus;
-
- public function setFilename($filename)
- {
- $this->filename = $filename;
- }
-
- public function getFilename()
- {
- return $this->filename;
- }
-
- public function setSize($size)
- {
- $this->size = $size;
- }
-
- public function getSize()
- {
- return $this->size;
- }
-
- public function setUploadStatus($uploadStatus)
- {
- $this->uploadStatus = $uploadStatus;
- }
-
- public function getUploadStatus()
- {
- return $this->uploadStatus;
- }
-}
-
-class Google_Service_MapsEngine_Parent extends Google_Model
-{
- public $id;
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-}
-
-class Google_Service_MapsEngine_ParentsListResponse extends Google_Collection
-{
- public $nextPageToken;
- protected $parentsType = 'Google_Service_MapsEngine_Parent';
- protected $parentsDataType = 'array';
-
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
-
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-
- public function setParents($parents)
- {
- $this->parents = $parents;
- }
-
- public function getParents()
- {
- return $this->parents;
- }
-}
-
-class Google_Service_MapsEngine_PointStyle extends Google_Model
-{
- protected $iconType = 'Google_Service_MapsEngine_IconStyle';
- protected $iconDataType = '';
- protected $labelType = 'Google_Service_MapsEngine_LabelStyle';
- protected $labelDataType = '';
-
- public function setIcon(Google_Service_MapsEngine_IconStyle $icon)
- {
- $this->icon = $icon;
- }
-
- public function getIcon()
- {
- return $this->icon;
- }
-
- public function setLabel(Google_Service_MapsEngine_LabelStyle $label)
- {
- $this->label = $label;
- }
-
- public function getLabel()
- {
- return $this->label;
- }
-}
-
-class Google_Service_MapsEngine_PolygonStyle extends Google_Model
-{
- protected $fillType = 'Google_Service_MapsEngine_Color';
- protected $fillDataType = '';
- protected $strokeType = 'Google_Service_MapsEngine_Border';
- protected $strokeDataType = '';
-
- public function setFill(Google_Service_MapsEngine_Color $fill)
- {
- $this->fill = $fill;
- }
-
- public function getFill()
- {
- return $this->fill;
- }
-
- public function setStroke(Google_Service_MapsEngine_Border $stroke)
- {
- $this->stroke = $stroke;
- }
-
- public function getStroke()
- {
- return $this->stroke;
- }
-}
-
-class Google_Service_MapsEngine_ProcessResponse extends Google_Model
-{
-
-}
-
-class Google_Service_MapsEngine_Project extends Google_Model
-{
- public $id;
- public $name;
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-}
-
-class Google_Service_MapsEngine_ProjectsListResponse extends Google_Collection
-{
- protected $projectsType = 'Google_Service_MapsEngine_Project';
- protected $projectsDataType = 'array';
-
- public function setProjects($projects)
- {
- $this->projects = $projects;
- }
-
- public function getProjects()
- {
- return $this->projects;
- }
-}
-
-class Google_Service_MapsEngine_PublishResponse extends Google_Model
-{
-
-}
-
-class Google_Service_MapsEngine_Raster extends Google_Collection
-{
- protected $acquisitionTimeType = 'Google_Service_MapsEngine_AcquisitionTime';
- protected $acquisitionTimeDataType = '';
- public $attribution;
- public $bbox;
- public $creationTime;
- public $description;
- public $draftAccessList;
- public $etag;
- protected $filesType = 'Google_Service_MapsEngine_MapsengineFile';
- protected $filesDataType = 'array';
- public $id;
- public $lastModifiedTime;
- public $maskType;
- public $name;
- public $processingStatus;
- public $projectId;
- public $rasterType;
- public $tags;
-
- public function setAcquisitionTime(Google_Service_MapsEngine_AcquisitionTime $acquisitionTime)
- {
- $this->acquisitionTime = $acquisitionTime;
- }
-
- public function getAcquisitionTime()
- {
- return $this->acquisitionTime;
- }
-
- public function setAttribution($attribution)
- {
- $this->attribution = $attribution;
- }
-
- public function getAttribution()
- {
- return $this->attribution;
- }
-
- public function setBbox($bbox)
- {
- $this->bbox = $bbox;
- }
-
- public function getBbox()
- {
- return $this->bbox;
- }
-
- public function setCreationTime($creationTime)
- {
- $this->creationTime = $creationTime;
- }
-
- public function getCreationTime()
- {
- return $this->creationTime;
- }
-
- public function setDescription($description)
- {
- $this->description = $description;
- }
-
- public function getDescription()
- {
- return $this->description;
- }
-
- public function setDraftAccessList($draftAccessList)
- {
- $this->draftAccessList = $draftAccessList;
- }
-
- public function getDraftAccessList()
- {
- return $this->draftAccessList;
- }
-
- public function setEtag($etag)
- {
- $this->etag = $etag;
- }
-
- public function getEtag()
- {
- return $this->etag;
- }
-
- public function setFiles($files)
- {
- $this->files = $files;
- }
-
- public function getFiles()
- {
- return $this->files;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setLastModifiedTime($lastModifiedTime)
- {
- $this->lastModifiedTime = $lastModifiedTime;
- }
-
- public function getLastModifiedTime()
- {
- return $this->lastModifiedTime;
- }
-
- public function setMaskType($maskType)
- {
- $this->maskType = $maskType;
- }
-
- public function getMaskType()
- {
- return $this->maskType;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setProcessingStatus($processingStatus)
- {
- $this->processingStatus = $processingStatus;
- }
-
- public function getProcessingStatus()
- {
- return $this->processingStatus;
- }
-
- public function setProjectId($projectId)
- {
- $this->projectId = $projectId;
- }
-
- public function getProjectId()
- {
- return $this->projectId;
- }
-
- public function setRasterType($rasterType)
- {
- $this->rasterType = $rasterType;
- }
-
- public function getRasterType()
- {
- return $this->rasterType;
- }
-
- public function setTags($tags)
- {
- $this->tags = $tags;
- }
-
- public function getTags()
- {
- return $this->tags;
- }
-}
-
-class Google_Service_MapsEngine_RasterCollection extends Google_Collection
-{
- public $attribution;
- public $bbox;
- public $creationTime;
- public $description;
- public $draftAccessList;
- public $etag;
- public $id;
- public $lastModifiedTime;
- public $mosaic;
- public $name;
- public $processingStatus;
- public $projectId;
- public $rasterType;
- public $tags;
-
- public function setAttribution($attribution)
- {
- $this->attribution = $attribution;
- }
-
- public function getAttribution()
- {
- return $this->attribution;
- }
-
- public function setBbox($bbox)
- {
- $this->bbox = $bbox;
- }
-
- public function getBbox()
- {
- return $this->bbox;
- }
-
- public function setCreationTime($creationTime)
- {
- $this->creationTime = $creationTime;
- }
-
- public function getCreationTime()
- {
- return $this->creationTime;
- }
-
- public function setDescription($description)
- {
- $this->description = $description;
- }
-
- public function getDescription()
- {
- return $this->description;
- }
-
- public function setDraftAccessList($draftAccessList)
- {
- $this->draftAccessList = $draftAccessList;
- }
-
- public function getDraftAccessList()
- {
- return $this->draftAccessList;
- }
-
- public function setEtag($etag)
- {
- $this->etag = $etag;
- }
-
- public function getEtag()
- {
- return $this->etag;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setLastModifiedTime($lastModifiedTime)
- {
- $this->lastModifiedTime = $lastModifiedTime;
- }
-
- public function getLastModifiedTime()
- {
- return $this->lastModifiedTime;
- }
-
- public function setMosaic($mosaic)
- {
- $this->mosaic = $mosaic;
- }
-
- public function getMosaic()
- {
- return $this->mosaic;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setProcessingStatus($processingStatus)
- {
- $this->processingStatus = $processingStatus;
- }
-
- public function getProcessingStatus()
- {
- return $this->processingStatus;
- }
-
- public function setProjectId($projectId)
- {
- $this->projectId = $projectId;
- }
-
- public function getProjectId()
- {
- return $this->projectId;
- }
-
- public function setRasterType($rasterType)
- {
- $this->rasterType = $rasterType;
- }
-
- public function getRasterType()
- {
- return $this->rasterType;
- }
-
- public function setTags($tags)
- {
- $this->tags = $tags;
- }
-
- public function getTags()
- {
- return $this->tags;
- }
-}
-
-class Google_Service_MapsEngine_RasterCollectionsListResponse extends Google_Collection
-{
- public $nextPageToken;
- protected $rasterCollectionsType = 'Google_Service_MapsEngine_RasterCollection';
- protected $rasterCollectionsDataType = 'array';
-
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
-
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-
- public function setRasterCollections($rasterCollections)
- {
- $this->rasterCollections = $rasterCollections;
- }
-
- public function getRasterCollections()
- {
- return $this->rasterCollections;
- }
-}
-
-class Google_Service_MapsEngine_RasterCollectionsRaster extends Google_Collection
-{
- public $bbox;
- public $creationTime;
- public $description;
- public $id;
- public $lastModifiedTime;
- public $name;
- public $projectId;
- public $rasterType;
- public $tags;
-
- public function setBbox($bbox)
- {
- $this->bbox = $bbox;
- }
-
- public function getBbox()
- {
- return $this->bbox;
- }
-
- public function setCreationTime($creationTime)
- {
- $this->creationTime = $creationTime;
- }
-
- public function getCreationTime()
- {
- return $this->creationTime;
- }
-
- public function setDescription($description)
- {
- $this->description = $description;
- }
-
- public function getDescription()
- {
- return $this->description;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setLastModifiedTime($lastModifiedTime)
- {
- $this->lastModifiedTime = $lastModifiedTime;
- }
-
- public function getLastModifiedTime()
- {
- return $this->lastModifiedTime;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setProjectId($projectId)
- {
- $this->projectId = $projectId;
- }
-
- public function getProjectId()
- {
- return $this->projectId;
- }
-
- public function setRasterType($rasterType)
- {
- $this->rasterType = $rasterType;
- }
-
- public function getRasterType()
- {
- return $this->rasterType;
- }
-
- public function setTags($tags)
- {
- $this->tags = $tags;
- }
-
- public function getTags()
- {
- return $this->tags;
- }
-}
-
-class Google_Service_MapsEngine_RasterCollectionsRasterBatchDeleteRequest extends Google_Collection
-{
- public $ids;
-
- public function setIds($ids)
- {
- $this->ids = $ids;
- }
-
- public function getIds()
- {
- return $this->ids;
- }
-}
-
-class Google_Service_MapsEngine_RasterCollectionsRastersBatchDeleteResponse extends Google_Model
-{
-
-}
-
-class Google_Service_MapsEngine_RasterCollectionsRastersBatchInsertRequest extends Google_Collection
-{
- public $ids;
-
- public function setIds($ids)
- {
- $this->ids = $ids;
- }
-
- public function getIds()
- {
- return $this->ids;
- }
-}
-
-class Google_Service_MapsEngine_RasterCollectionsRastersBatchInsertResponse extends Google_Model
-{
-
-}
-
-class Google_Service_MapsEngine_RasterCollectionsRastersListResponse extends Google_Collection
-{
- public $nextPageToken;
- protected $rastersType = 'Google_Service_MapsEngine_RasterCollectionsRaster';
- protected $rastersDataType = 'array';
-
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
-
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-
- public function setRasters($rasters)
- {
- $this->rasters = $rasters;
- }
-
- public function getRasters()
- {
- return $this->rasters;
- }
-}
-
-class Google_Service_MapsEngine_Schema extends Google_Collection
-{
- protected $columnsType = 'Google_Service_MapsEngine_TableColumn';
- protected $columnsDataType = 'array';
- public $primaryGeometry;
- public $primaryKey;
-
- public function setColumns($columns)
- {
- $this->columns = $columns;
- }
-
- public function getColumns()
- {
- return $this->columns;
- }
-
- public function setPrimaryGeometry($primaryGeometry)
- {
- $this->primaryGeometry = $primaryGeometry;
- }
-
- public function getPrimaryGeometry()
- {
- return $this->primaryGeometry;
- }
-
- public function setPrimaryKey($primaryKey)
- {
- $this->primaryKey = $primaryKey;
- }
-
- public function getPrimaryKey()
- {
- return $this->primaryKey;
- }
-}
-
-class Google_Service_MapsEngine_Table extends Google_Collection
-{
- public $bbox;
- public $creationTime;
- public $description;
- public $draftAccessList;
- public $etag;
- protected $filesType = 'Google_Service_MapsEngine_MapsengineFile';
- protected $filesDataType = 'array';
- public $id;
- public $lastModifiedTime;
- public $name;
- public $processingStatus;
- public $projectId;
- public $publishedAccessList;
- protected $schemaType = 'Google_Service_MapsEngine_Schema';
- protected $schemaDataType = '';
- public $sourceEncoding;
- public $tags;
-
- public function setBbox($bbox)
- {
- $this->bbox = $bbox;
- }
-
- public function getBbox()
- {
- return $this->bbox;
- }
-
- public function setCreationTime($creationTime)
- {
- $this->creationTime = $creationTime;
- }
-
- public function getCreationTime()
- {
- return $this->creationTime;
- }
-
- public function setDescription($description)
- {
- $this->description = $description;
- }
-
- public function getDescription()
- {
- return $this->description;
- }
-
- public function setDraftAccessList($draftAccessList)
- {
- $this->draftAccessList = $draftAccessList;
- }
-
- public function getDraftAccessList()
- {
- return $this->draftAccessList;
- }
-
- public function setEtag($etag)
- {
- $this->etag = $etag;
- }
-
- public function getEtag()
- {
- return $this->etag;
- }
-
- public function setFiles($files)
- {
- $this->files = $files;
- }
-
- public function getFiles()
- {
- return $this->files;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setLastModifiedTime($lastModifiedTime)
- {
- $this->lastModifiedTime = $lastModifiedTime;
- }
-
- public function getLastModifiedTime()
- {
- return $this->lastModifiedTime;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setProcessingStatus($processingStatus)
- {
- $this->processingStatus = $processingStatus;
- }
-
- public function getProcessingStatus()
- {
- return $this->processingStatus;
- }
-
- public function setProjectId($projectId)
- {
- $this->projectId = $projectId;
- }
-
- public function getProjectId()
- {
- return $this->projectId;
- }
-
- public function setPublishedAccessList($publishedAccessList)
- {
- $this->publishedAccessList = $publishedAccessList;
- }
-
- public function getPublishedAccessList()
- {
- return $this->publishedAccessList;
- }
-
- public function setSchema(Google_Service_MapsEngine_Schema $schema)
- {
- $this->schema = $schema;
- }
-
- public function getSchema()
- {
- return $this->schema;
- }
-
- public function setSourceEncoding($sourceEncoding)
- {
- $this->sourceEncoding = $sourceEncoding;
- }
-
- public function getSourceEncoding()
- {
- return $this->sourceEncoding;
- }
-
- public function setTags($tags)
- {
- $this->tags = $tags;
- }
-
- public function getTags()
- {
- return $this->tags;
- }
-}
-
-class Google_Service_MapsEngine_TableColumn extends Google_Model
-{
- public $name;
- public $type;
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setType($type)
- {
- $this->type = $type;
- }
-
- public function getType()
- {
- return $this->type;
- }
-}
-
-class Google_Service_MapsEngine_TablesListResponse extends Google_Collection
-{
- public $nextPageToken;
- protected $tablesType = 'Google_Service_MapsEngine_Table';
- protected $tablesDataType = 'array';
-
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
-
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-
- public function setTables($tables)
- {
- $this->tables = $tables;
- }
-
- public function getTables()
- {
- return $this->tables;
- }
-}
-
-class Google_Service_MapsEngine_VectorStyle extends Google_Collection
-{
- protected $displayRulesType = 'Google_Service_MapsEngine_DisplayRule';
- protected $displayRulesDataType = 'array';
- protected $featureInfoType = 'Google_Service_MapsEngine_FeatureInfo';
- protected $featureInfoDataType = '';
- public $type;
-
- public function setDisplayRules($displayRules)
- {
- $this->displayRules = $displayRules;
- }
-
- public function getDisplayRules()
- {
- return $this->displayRules;
- }
-
- public function setFeatureInfo(Google_Service_MapsEngine_FeatureInfo $featureInfo)
- {
- $this->featureInfo = $featureInfo;
- }
-
- public function getFeatureInfo()
- {
- return $this->featureInfo;
- }
-
- public function setType($type)
- {
- $this->type = $type;
- }
-
- public function getType()
- {
- return $this->type;
- }
-}
-
-class Google_Service_MapsEngine_ZoomLevels extends Google_Model
-{
- public $max;
- public $min;
-
- public function setMax($max)
- {
- $this->max = $max;
- }
-
- public function getMax()
- {
- return $this->max;
- }
-
- public function setMin($min)
- {
- $this->min = $min;
- }
-
- public function getMin()
- {
- return $this->min;
- }
-}
From 652a3a2795a470a159cd4b5afdcade4d27ef18fd Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Wed, 6 Aug 2014 01:06:14 -0700
Subject: [PATCH 0424/1602] Added service MapsEngine.php
---
src/Google/Service/MapsEngine.php | 4761 +++++++++++++++++++++++++++++
1 file changed, 4761 insertions(+)
create mode 100644 src/Google/Service/MapsEngine.php
diff --git a/src/Google/Service/MapsEngine.php b/src/Google/Service/MapsEngine.php
new file mode 100644
index 000000000..d898b708e
--- /dev/null
+++ b/src/Google/Service/MapsEngine.php
@@ -0,0 +1,4761 @@
+
+ * The Google Maps Engine API allows developers to store and query geospatial vector and raster data.
+ *
+ *
+ *
+ * For more information about this service, see the API
+ * Documentation
+ *
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_MapsEngine extends Google_Service
+{
+ /** View and manage your Google Maps Engine data. */
+ const MAPSENGINE = "https://www.googleapis.com/auth/mapsengine";
+ /** View your Google Maps Engine data. */
+ const MAPSENGINE_READONLY = "https://www.googleapis.com/auth/mapsengine.readonly";
+
+ public $assets;
+ public $assets_parents;
+ public $layers;
+ public $layers_parents;
+ public $maps;
+ public $projects;
+ public $rasterCollections;
+ public $rasterCollections_parents;
+ public $rasterCollections_rasters;
+ public $rasters;
+ public $rasters_files;
+ public $rasters_parents;
+ public $tables;
+ public $tables_features;
+ public $tables_files;
+ public $tables_parents;
+
+
+ /**
+ * Constructs the internal representation of the MapsEngine service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'mapsengine/v1/';
+ $this->version = 'v1';
+ $this->serviceName = 'mapsengine';
+
+ $this->assets = new Google_Service_MapsEngine_Assets_Resource(
+ $this,
+ $this->serviceName,
+ 'assets',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'assets/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'assets',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'modifiedAfter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'createdAfter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'tags' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'projectId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'creatorEmail' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'bbox' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'modifiedBefore' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'createdBefore' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'type' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->assets_parents = new Google_Service_MapsEngine_AssetsParents_Resource(
+ $this,
+ $this->serviceName,
+ 'parents',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'assets/{id}/parents',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->layers = new Google_Service_MapsEngine_Layers_Resource(
+ $this,
+ $this->serviceName,
+ 'layers',
+ array(
+ 'methods' => array(
+ 'cancelProcessing' => array(
+ 'path' => 'layers/{id}/cancelProcessing',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'create' => array(
+ 'path' => 'layers',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'process' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'layers/{id}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'layers/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'version' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'layers',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'modifiedAfter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'createdAfter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'tags' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'projectId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'creatorEmail' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'bbox' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'modifiedBefore' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'createdBefore' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'layers/{id}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'process' => array(
+ 'path' => 'layers/{id}/process',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'publish' => array(
+ 'path' => 'layers/{id}/publish',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'unpublish' => array(
+ 'path' => 'layers/{id}/unpublish',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->layers_parents = new Google_Service_MapsEngine_LayersParents_Resource(
+ $this,
+ $this->serviceName,
+ 'parents',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'layers/{id}/parents',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->maps = new Google_Service_MapsEngine_Maps_Resource(
+ $this,
+ $this->serviceName,
+ 'maps',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'maps',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'delete' => array(
+ 'path' => 'maps/{id}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'maps/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'version' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'maps',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'modifiedAfter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'createdAfter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'tags' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'projectId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'creatorEmail' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'bbox' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'modifiedBefore' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'createdBefore' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'maps/{id}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'publish' => array(
+ 'path' => 'maps/{id}/publish',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'unpublish' => array(
+ 'path' => 'maps/{id}/unpublish',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects = new Google_Service_MapsEngine_Projects_Resource(
+ $this,
+ $this->serviceName,
+ 'projects',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'projects',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->rasterCollections = new Google_Service_MapsEngine_RasterCollections_Resource(
+ $this,
+ $this->serviceName,
+ 'rasterCollections',
+ array(
+ 'methods' => array(
+ 'cancelProcessing' => array(
+ 'path' => 'rasterCollections/{id}/cancelProcessing',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'create' => array(
+ 'path' => 'rasterCollections',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'delete' => array(
+ 'path' => 'rasterCollections/{id}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'rasterCollections/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'rasterCollections',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'modifiedAfter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'createdAfter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'tags' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'projectId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'creatorEmail' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'bbox' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'modifiedBefore' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'createdBefore' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'rasterCollections/{id}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'process' => array(
+ 'path' => 'rasterCollections/{id}/process',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->rasterCollections_parents = new Google_Service_MapsEngine_RasterCollectionsParents_Resource(
+ $this,
+ $this->serviceName,
+ 'parents',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'rasterCollections/{id}/parents',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->rasterCollections_rasters = new Google_Service_MapsEngine_RasterCollectionsRasters_Resource(
+ $this,
+ $this->serviceName,
+ 'rasters',
+ array(
+ 'methods' => array(
+ 'batchDelete' => array(
+ 'path' => 'rasterCollections/{id}/rasters/batchDelete',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'batchInsert' => array(
+ 'path' => 'rasterCollections/{id}/rasters/batchInsert',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'rasterCollections/{id}/rasters',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'modifiedAfter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'createdAfter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'tags' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'creatorEmail' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'bbox' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'modifiedBefore' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'createdBefore' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->rasters = new Google_Service_MapsEngine_Rasters_Resource(
+ $this,
+ $this->serviceName,
+ 'rasters',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'rasters/{id}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'rasters/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'rasters/{id}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'upload' => array(
+ 'path' => 'rasters/upload',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->rasters_files = new Google_Service_MapsEngine_RastersFiles_Resource(
+ $this,
+ $this->serviceName,
+ 'files',
+ array(
+ 'methods' => array(
+ 'insert' => array(
+ 'path' => 'rasters/{id}/files',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filename' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->rasters_parents = new Google_Service_MapsEngine_RastersParents_Resource(
+ $this,
+ $this->serviceName,
+ 'parents',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'rasters/{id}/parents',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->tables = new Google_Service_MapsEngine_Tables_Resource(
+ $this,
+ $this->serviceName,
+ 'tables',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'tables',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'delete' => array(
+ 'path' => 'tables/{id}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'tables/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'version' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'tables',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'modifiedAfter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'createdAfter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'tags' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'projectId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'creatorEmail' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'bbox' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'modifiedBefore' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'createdBefore' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'tables/{id}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'upload' => array(
+ 'path' => 'tables/upload',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->tables_features = new Google_Service_MapsEngine_TablesFeatures_Resource(
+ $this,
+ $this->serviceName,
+ 'features',
+ array(
+ 'methods' => array(
+ 'batchDelete' => array(
+ 'path' => 'tables/{id}/features/batchDelete',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'batchInsert' => array(
+ 'path' => 'tables/{id}/features/batchInsert',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'batchPatch' => array(
+ 'path' => 'tables/{id}/features/batchPatch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'tables/{tableId}/features/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'tableId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'version' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'select' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'tables/{id}/features',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'intersects' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'version' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'limit' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'include' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'where' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'select' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->tables_files = new Google_Service_MapsEngine_TablesFiles_Resource(
+ $this,
+ $this->serviceName,
+ 'files',
+ array(
+ 'methods' => array(
+ 'insert' => array(
+ 'path' => 'tables/{id}/files',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filename' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->tables_parents = new Google_Service_MapsEngine_TablesParents_Resource(
+ $this,
+ $this->serviceName,
+ 'parents',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'tables/{id}/parents',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "assets" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $assets = $mapsengineService->assets;
+ *
+ */
+class Google_Service_MapsEngine_Assets_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Return metadata for a particular asset. (assets.get)
+ *
+ * @param string $id
+ * The ID of the asset.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_Asset
+ */
+ public function get($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_MapsEngine_Asset");
+ }
+ /**
+ * Return all assets readable by the current user. (assets.listAssets)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string modifiedAfter
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been modified at or after this time.
+ * @opt_param string createdAfter
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or after this time.
+ * @opt_param string tags
+ * A comma separated list of tags. Returned assets will contain all the tags from the list.
+ * @opt_param string projectId
+ * The ID of a Maps Engine project, used to filter the response. To list all available projects
+ * with their IDs, send a Projects: list request. You can also find your project ID as the value of
+ * the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
+ * @opt_param string maxResults
+ * The maximum number of items to include in a single response page. The maximum supported value is
+ * 100.
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string creatorEmail
+ * An email address representing a user. Returned assets that have been created by the user
+ * associated with the provided email address.
+ * @opt_param string bbox
+ * A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this
+ * bounding box will be returned.
+ * @opt_param string modifiedBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been modified at or before this time.
+ * @opt_param string createdBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or before this time.
+ * @opt_param string type
+ * An asset type restriction. If set, only resources of this type will be returned.
+ * @return Google_Service_MapsEngine_AssetsListResponse
+ */
+ public function listAssets($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_AssetsListResponse");
+ }
+}
+
+/**
+ * The "parents" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $parents = $mapsengineService->parents;
+ *
+ */
+class Google_Service_MapsEngine_AssetsParents_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Return all parent ids of the specified asset. (parents.listAssetsParents)
+ *
+ * @param string $id
+ * The ID of the asset whose parents will be listed.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string maxResults
+ * The maximum number of items to include in a single response page. The maximum supported value is
+ * 50.
+ * @return Google_Service_MapsEngine_ParentsListResponse
+ */
+ public function listAssetsParents($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_ParentsListResponse");
+ }
+}
+
+/**
+ * The "layers" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $layers = $mapsengineService->layers;
+ *
+ */
+class Google_Service_MapsEngine_Layers_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Cancel processing on a layer asset. (layers.cancelProcessing)
+ *
+ * @param string $id
+ * The ID of the layer.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_ProcessResponse
+ */
+ public function cancelProcessing($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('cancelProcessing', array($params), "Google_Service_MapsEngine_ProcessResponse");
+ }
+ /**
+ * Create a layer asset. (layers.create)
+ *
+ * @param Google_Layer $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool process
+ * Whether to queue the created layer for processing.
+ * @return Google_Service_MapsEngine_Layer
+ */
+ public function create(Google_Service_MapsEngine_Layer $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_MapsEngine_Layer");
+ }
+ /**
+ * Delete a layer. (layers.delete)
+ *
+ * @param string $id
+ * The ID of the layer. Only the layer creator or project owner are permitted to delete. If the
+ * layer is published, or included in a map, the request will fail. Unpublish the layer, and remove
+ * it from all maps prior to deleting.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Return metadata for a particular layer. (layers.get)
+ *
+ * @param string $id
+ * The ID of the layer.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string version
+ *
+ * @return Google_Service_MapsEngine_Layer
+ */
+ public function get($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_MapsEngine_Layer");
+ }
+ /**
+ * Return all layers readable by the current user. (layers.listLayers)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string modifiedAfter
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been modified at or after this time.
+ * @opt_param string createdAfter
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or after this time.
+ * @opt_param string tags
+ * A comma separated list of tags. Returned assets will contain all the tags from the list.
+ * @opt_param string projectId
+ * The ID of a Maps Engine project, used to filter the response. To list all available projects
+ * with their IDs, send a Projects: list request. You can also find your project ID as the value of
+ * the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
+ * @opt_param string maxResults
+ * The maximum number of items to include in a single response page. The maximum supported value is
+ * 100.
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string creatorEmail
+ * An email address representing a user. Returned assets that have been created by the user
+ * associated with the provided email address.
+ * @opt_param string bbox
+ * A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this
+ * bounding box will be returned.
+ * @opt_param string modifiedBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been modified at or before this time.
+ * @opt_param string createdBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or before this time.
+ * @return Google_Service_MapsEngine_LayersListResponse
+ */
+ public function listLayers($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_LayersListResponse");
+ }
+ /**
+ * Mutate a layer asset. (layers.patch)
+ *
+ * @param string $id
+ * The ID of the layer.
+ * @param Google_Layer $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function patch($id, Google_Service_MapsEngine_Layer $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params));
+ }
+ /**
+ * Process a layer asset. (layers.process)
+ *
+ * @param string $id
+ * The ID of the layer.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_ProcessResponse
+ */
+ public function process($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('process', array($params), "Google_Service_MapsEngine_ProcessResponse");
+ }
+ /**
+ * Publish a layer asset. (layers.publish)
+ *
+ * @param string $id
+ * The ID of the layer.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_PublishResponse
+ */
+ public function publish($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('publish', array($params), "Google_Service_MapsEngine_PublishResponse");
+ }
+ /**
+ * Unpublish a layer asset. (layers.unpublish)
+ *
+ * @param string $id
+ * The ID of the layer.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_PublishResponse
+ */
+ public function unpublish($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('unpublish', array($params), "Google_Service_MapsEngine_PublishResponse");
+ }
+}
+
+/**
+ * The "parents" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $parents = $mapsengineService->parents;
+ *
+ */
+class Google_Service_MapsEngine_LayersParents_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Return all parent ids of the specified layer. (parents.listLayersParents)
+ *
+ * @param string $id
+ * The ID of the layer whose parents will be listed.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string maxResults
+ * The maximum number of items to include in a single response page. The maximum supported value is
+ * 50.
+ * @return Google_Service_MapsEngine_ParentsListResponse
+ */
+ public function listLayersParents($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_ParentsListResponse");
+ }
+}
+
+/**
+ * The "maps" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $maps = $mapsengineService->maps;
+ *
+ */
+class Google_Service_MapsEngine_Maps_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Create a map asset. (maps.create)
+ *
+ * @param Google_Map $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_Map
+ */
+ public function create(Google_Service_MapsEngine_Map $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_MapsEngine_Map");
+ }
+ /**
+ * Delete a map. (maps.delete)
+ *
+ * @param string $id
+ * The ID of the map. Only the map creator or project owner are permitted to delete. If the map is
+ * published the request will fail. Unpublish the map prior to deleting.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Return metadata for a particular map. (maps.get)
+ *
+ * @param string $id
+ * The ID of the map.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string version
+ *
+ * @return Google_Service_MapsEngine_Map
+ */
+ public function get($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_MapsEngine_Map");
+ }
+ /**
+ * Return all maps readable by the current user. (maps.listMaps)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string modifiedAfter
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been modified at or after this time.
+ * @opt_param string createdAfter
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or after this time.
+ * @opt_param string tags
+ * A comma separated list of tags. Returned assets will contain all the tags from the list.
+ * @opt_param string projectId
+ * The ID of a Maps Engine project, used to filter the response. To list all available projects
+ * with their IDs, send a Projects: list request. You can also find your project ID as the value of
+ * the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
+ * @opt_param string maxResults
+ * The maximum number of items to include in a single response page. The maximum supported value is
+ * 100.
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string creatorEmail
+ * An email address representing a user. Returned assets that have been created by the user
+ * associated with the provided email address.
+ * @opt_param string bbox
+ * A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this
+ * bounding box will be returned.
+ * @opt_param string modifiedBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been modified at or before this time.
+ * @opt_param string createdBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or before this time.
+ * @return Google_Service_MapsEngine_MapsListResponse
+ */
+ public function listMaps($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_MapsListResponse");
+ }
+ /**
+ * Mutate a map asset. (maps.patch)
+ *
+ * @param string $id
+ * The ID of the map.
+ * @param Google_Map $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function patch($id, Google_Service_MapsEngine_Map $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params));
+ }
+ /**
+ * Publish a map asset. (maps.publish)
+ *
+ * @param string $id
+ * The ID of the map.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_PublishResponse
+ */
+ public function publish($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('publish', array($params), "Google_Service_MapsEngine_PublishResponse");
+ }
+ /**
+ * Unpublish a map asset. (maps.unpublish)
+ *
+ * @param string $id
+ * The ID of the map.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_PublishResponse
+ */
+ public function unpublish($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('unpublish', array($params), "Google_Service_MapsEngine_PublishResponse");
+ }
+}
+
+/**
+ * The "projects" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $projects = $mapsengineService->projects;
+ *
+ */
+class Google_Service_MapsEngine_Projects_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Return all projects readable by the current user. (projects.listProjects)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_ProjectsListResponse
+ */
+ public function listProjects($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_ProjectsListResponse");
+ }
+}
+
+/**
+ * The "rasterCollections" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $rasterCollections = $mapsengineService->rasterCollections;
+ *
+ */
+class Google_Service_MapsEngine_RasterCollections_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Cancel processing on a raster collection asset.
+ * (rasterCollections.cancelProcessing)
+ *
+ * @param string $id
+ * The ID of the raster collection.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_ProcessResponse
+ */
+ public function cancelProcessing($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('cancelProcessing', array($params), "Google_Service_MapsEngine_ProcessResponse");
+ }
+ /**
+ * Create a raster collection asset. (rasterCollections.create)
+ *
+ * @param Google_RasterCollection $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_RasterCollection
+ */
+ public function create(Google_Service_MapsEngine_RasterCollection $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_MapsEngine_RasterCollection");
+ }
+ /**
+ * Delete a raster collection. (rasterCollections.delete)
+ *
+ * @param string $id
+ * The ID of the raster collection. Only the raster collection creator or project owner are
+ * permitted to delete. If the rastor collection is included in a layer, the request will fail.
+ * Remove the raster collection from all layers prior to deleting.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Return metadata for a particular raster collection. (rasterCollections.get)
+ *
+ * @param string $id
+ * The ID of the raster collection.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_RasterCollection
+ */
+ public function get($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_MapsEngine_RasterCollection");
+ }
+ /**
+ * Return all raster collections readable by the current user.
+ * (rasterCollections.listRasterCollections)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string modifiedAfter
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been modified at or after this time.
+ * @opt_param string createdAfter
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or after this time.
+ * @opt_param string tags
+ * A comma separated list of tags. Returned assets will contain all the tags from the list.
+ * @opt_param string projectId
+ * The ID of a Maps Engine project, used to filter the response. To list all available projects
+ * with their IDs, send a Projects: list request. You can also find your project ID as the value of
+ * the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
+ * @opt_param string maxResults
+ * The maximum number of items to include in a single response page. The maximum supported value is
+ * 100.
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string creatorEmail
+ * An email address representing a user. Returned assets that have been created by the user
+ * associated with the provided email address.
+ * @opt_param string bbox
+ * A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this
+ * bounding box will be returned.
+ * @opt_param string modifiedBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been modified at or before this time.
+ * @opt_param string createdBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or before this time.
+ * @return Google_Service_MapsEngine_RasterCollectionsListResponse
+ */
+ public function listRasterCollections($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_RasterCollectionsListResponse");
+ }
+ /**
+ * Mutate a raster collection asset. (rasterCollections.patch)
+ *
+ * @param string $id
+ * The ID of the raster collection.
+ * @param Google_RasterCollection $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function patch($id, Google_Service_MapsEngine_RasterCollection $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params));
+ }
+ /**
+ * Process a raster collection asset. (rasterCollections.process)
+ *
+ * @param string $id
+ * The ID of the raster collection.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_ProcessResponse
+ */
+ public function process($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('process', array($params), "Google_Service_MapsEngine_ProcessResponse");
+ }
+}
+
+/**
+ * The "parents" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $parents = $mapsengineService->parents;
+ *
+ */
+class Google_Service_MapsEngine_RasterCollectionsParents_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Return all parent ids of the specified raster collection.
+ * (parents.listRasterCollectionsParents)
+ *
+ * @param string $id
+ * The ID of the raster collection whose parents will be listed.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string maxResults
+ * The maximum number of items to include in a single response page. The maximum supported value is
+ * 50.
+ * @return Google_Service_MapsEngine_ParentsListResponse
+ */
+ public function listRasterCollectionsParents($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_ParentsListResponse");
+ }
+}
+/**
+ * The "rasters" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $rasters = $mapsengineService->rasters;
+ *
+ */
+class Google_Service_MapsEngine_RasterCollectionsRasters_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Remove rasters from an existing raster collection.
+ *
+ * Up to 50 rasters can be included in a single batchDelete request. Each
+ * batchDelete request is atomic. (rasters.batchDelete)
+ *
+ * @param string $id
+ * The ID of the raster collection to which these rasters belong.
+ * @param Google_RasterCollectionsRasterBatchDeleteRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_RasterCollectionsRastersBatchDeleteResponse
+ */
+ public function batchDelete($id, Google_Service_MapsEngine_RasterCollectionsRasterBatchDeleteRequest $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batchDelete', array($params), "Google_Service_MapsEngine_RasterCollectionsRastersBatchDeleteResponse");
+ }
+ /**
+ * Add rasters to an existing raster collection. Rasters must be successfully
+ * processed in order to be added to a raster collection.
+ *
+ * Up to 50 rasters can be included in a single batchInsert request. Each
+ * batchInsert request is atomic. (rasters.batchInsert)
+ *
+ * @param string $id
+ * The ID of the raster collection to which these rasters belong.
+ * @param Google_RasterCollectionsRastersBatchInsertRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_RasterCollectionsRastersBatchInsertResponse
+ */
+ public function batchInsert($id, Google_Service_MapsEngine_RasterCollectionsRastersBatchInsertRequest $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batchInsert', array($params), "Google_Service_MapsEngine_RasterCollectionsRastersBatchInsertResponse");
+ }
+ /**
+ * Return all rasters within a raster collection.
+ * (rasters.listRasterCollectionsRasters)
+ *
+ * @param string $id
+ * The ID of the raster collection to which these rasters belong.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string modifiedAfter
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been modified at or after this time.
+ * @opt_param string createdAfter
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or after this time.
+ * @opt_param string tags
+ * A comma separated list of tags. Returned assets will contain all the tags from the list.
+ * @opt_param string maxResults
+ * The maximum number of items to include in a single response page. The maximum supported value is
+ * 100.
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string creatorEmail
+ * An email address representing a user. Returned assets that have been created by the user
+ * associated with the provided email address.
+ * @opt_param string bbox
+ * A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this
+ * bounding box will be returned.
+ * @opt_param string modifiedBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been modified at or before this time.
+ * @opt_param string createdBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or before this time.
+ * @return Google_Service_MapsEngine_RasterCollectionsRastersListResponse
+ */
+ public function listRasterCollectionsRasters($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_RasterCollectionsRastersListResponse");
+ }
+}
+
+/**
+ * The "rasters" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $rasters = $mapsengineService->rasters;
+ *
+ */
+class Google_Service_MapsEngine_Rasters_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Delete a raster. (rasters.delete)
+ *
+ * @param string $id
+ * The ID of the raster. Only the raster creator or project owner are permitted to delete. If the
+ * raster is included in a layer or mosaic, the request will fail. Remove it from all parents prior
+ * to deleting.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Return metadata for a single raster. (rasters.get)
+ *
+ * @param string $id
+ * The ID of the raster.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_Raster
+ */
+ public function get($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_MapsEngine_Raster");
+ }
+ /**
+ * Mutate a raster asset. (rasters.patch)
+ *
+ * @param string $id
+ * The ID of the raster.
+ * @param Google_Raster $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function patch($id, Google_Service_MapsEngine_Raster $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params));
+ }
+ /**
+ * Create a skeleton raster asset for upload. (rasters.upload)
+ *
+ * @param Google_Raster $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_Raster
+ */
+ public function upload(Google_Service_MapsEngine_Raster $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('upload', array($params), "Google_Service_MapsEngine_Raster");
+ }
+}
+
+/**
+ * The "files" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $files = $mapsengineService->files;
+ *
+ */
+class Google_Service_MapsEngine_RastersFiles_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Upload a file to a raster asset. (files.insert)
+ *
+ * @param string $id
+ * The ID of the raster asset.
+ * @param string $filename
+ * The file name of this uploaded file.
+ * @param array $optParams Optional parameters.
+ */
+ public function insert($id, $filename, $optParams = array())
+ {
+ $params = array('id' => $id, 'filename' => $filename);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params));
+ }
+}
+/**
+ * The "parents" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $parents = $mapsengineService->parents;
+ *
+ */
+class Google_Service_MapsEngine_RastersParents_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Return all parent ids of the specified rasters. (parents.listRastersParents)
+ *
+ * @param string $id
+ * The ID of the rasters whose parents will be listed.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string maxResults
+ * The maximum number of items to include in a single response page. The maximum supported value is
+ * 50.
+ * @return Google_Service_MapsEngine_ParentsListResponse
+ */
+ public function listRastersParents($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_ParentsListResponse");
+ }
+}
+
+/**
+ * The "tables" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $tables = $mapsengineService->tables;
+ *
+ */
+class Google_Service_MapsEngine_Tables_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Create a table asset. (tables.create)
+ *
+ * @param Google_Table $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_Table
+ */
+ public function create(Google_Service_MapsEngine_Table $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_MapsEngine_Table");
+ }
+ /**
+ * Delete a table. (tables.delete)
+ *
+ * @param string $id
+ * The ID of the table. Only the table creator or project owner are permitted to delete. If the
+ * table is included in a layer, the request will fail. Remove it from all layers prior to
+ * deleting.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Return metadata for a particular table, including the schema. (tables.get)
+ *
+ * @param string $id
+ * The ID of the table.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string version
+ *
+ * @return Google_Service_MapsEngine_Table
+ */
+ public function get($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_MapsEngine_Table");
+ }
+ /**
+ * Return all tables readable by the current user. (tables.listTables)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string modifiedAfter
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been modified at or after this time.
+ * @opt_param string createdAfter
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or after this time.
+ * @opt_param string tags
+ * A comma separated list of tags. Returned assets will contain all the tags from the list.
+ * @opt_param string projectId
+ * The ID of a Maps Engine project, used to filter the response. To list all available projects
+ * with their IDs, send a Projects: list request. You can also find your project ID as the value of
+ * the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
+ * @opt_param string maxResults
+ * The maximum number of items to include in a single response page. The maximum supported value is
+ * 100.
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string creatorEmail
+ * An email address representing a user. Returned assets that have been created by the user
+ * associated with the provided email address.
+ * @opt_param string bbox
+ * A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this
+ * bounding box will be returned.
+ * @opt_param string modifiedBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been modified at or before this time.
+ * @opt_param string createdBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or before this time.
+ * @return Google_Service_MapsEngine_TablesListResponse
+ */
+ public function listTables($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_TablesListResponse");
+ }
+ /**
+ * Mutate a table asset. (tables.patch)
+ *
+ * @param string $id
+ * The ID of the table.
+ * @param Google_Table $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function patch($id, Google_Service_MapsEngine_Table $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params));
+ }
+ /**
+ * Create a placeholder table asset to which table files can be uploaded. Once
+ * the placeholder has been created, files are uploaded to the
+ * https://www.googleapis.com/upload/mapsengine/v1/tables/table_id/files
+ * endpoint. See Table Upload in the Developer's Guide or Table.files: insert in
+ * the reference documentation for more information. (tables.upload)
+ *
+ * @param Google_Table $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_Table
+ */
+ public function upload(Google_Service_MapsEngine_Table $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('upload', array($params), "Google_Service_MapsEngine_Table");
+ }
+}
+
+/**
+ * The "features" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $features = $mapsengineService->features;
+ *
+ */
+class Google_Service_MapsEngine_TablesFeatures_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Delete all features matching the given IDs. (features.batchDelete)
+ *
+ * @param string $id
+ * The ID of the table that contains the features to be deleted.
+ * @param Google_FeaturesBatchDeleteRequest $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function batchDelete($id, Google_Service_MapsEngine_FeaturesBatchDeleteRequest $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batchDelete', array($params));
+ }
+ /**
+ * Append features to an existing table.
+ *
+ * A single batchInsert request can create:
+ *
+ * - Up to 50 features. - A combined total of 10 000 vertices. Feature limits
+ * are documented in the Supported data formats and limits article of the Google
+ * Maps Engine help center. Note that free and paid accounts have different
+ * limits.
+ *
+ * For more information about inserting features, read Creating features in the
+ * Google Maps Engine developer's guide. (features.batchInsert)
+ *
+ * @param string $id
+ * The ID of the table to append the features to.
+ * @param Google_FeaturesBatchInsertRequest $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function batchInsert($id, Google_Service_MapsEngine_FeaturesBatchInsertRequest $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batchInsert', array($params));
+ }
+ /**
+ * Update the supplied features.
+ *
+ * A single batchPatch request can update:
+ *
+ * - Up to 50 features. - A combined total of 10 000 vertices. Feature limits
+ * are documented in the Supported data formats and limits article of the Google
+ * Maps Engine help center. Note that free and paid accounts have different
+ * limits.
+ *
+ * Feature updates use HTTP PATCH semantics:
+ *
+ * - A supplied value replaces an existing value (if any) in that field. -
+ * Omitted fields remain unchanged. - Complex values in geometries and
+ * properties must be replaced as atomic units. For example, providing just the
+ * coordinates of a geometry is not allowed; the complete geometry, including
+ * type, must be supplied. - Setting a property's value to null deletes that
+ * property. For more information about updating features, read Updating
+ * features in the Google Maps Engine developer's guide. (features.batchPatch)
+ *
+ * @param string $id
+ * The ID of the table containing the features to be patched.
+ * @param Google_FeaturesBatchPatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function batchPatch($id, Google_Service_MapsEngine_FeaturesBatchPatchRequest $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batchPatch', array($params));
+ }
+ /**
+ * Return a single feature, given its ID. (features.get)
+ *
+ * @param string $tableId
+ * The ID of the table.
+ * @param string $id
+ * The ID of the feature to get.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string version
+ * The table version to access. See Accessing Public Data for information.
+ * @opt_param string select
+ * A SQL-like projection clause used to specify returned properties. If this parameter is not
+ * included, all properties are returned.
+ * @return Google_Service_MapsEngine_Feature
+ */
+ public function get($tableId, $id, $optParams = array())
+ {
+ $params = array('tableId' => $tableId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_MapsEngine_Feature");
+ }
+ /**
+ * Return all features readable by the current user.
+ * (features.listTablesFeatures)
+ *
+ * @param string $id
+ * The ID of the table to which these features belong.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string orderBy
+ * An SQL-like order by clause used to sort results. If this parameter is not included, the order
+ * of features is undefined.
+ * @opt_param string intersects
+ * A geometry literal that specifies the spatial restriction of the query.
+ * @opt_param string maxResults
+ * The maximum number of items to include in the response, used for paging. The maximum supported
+ * value is 1000.
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string version
+ * The table version to access. See Accessing Public Data for information.
+ * @opt_param string limit
+ * The total number of features to return from the query, irrespective of the number of pages.
+ * @opt_param string include
+ * A comma separated list of optional data to include. Optional data available: schema.
+ * @opt_param string where
+ * An SQL-like predicate used to filter results.
+ * @opt_param string select
+ * A SQL-like projection clause used to specify returned properties. If this parameter is not
+ * included, all properties are returned.
+ * @return Google_Service_MapsEngine_FeaturesListResponse
+ */
+ public function listTablesFeatures($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_FeaturesListResponse");
+ }
+}
+/**
+ * The "files" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $files = $mapsengineService->files;
+ *
+ */
+class Google_Service_MapsEngine_TablesFiles_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Upload a file to a placeholder table asset. See Table Upload in the
+ * Developer's Guide for more information. Supported file types are listed in
+ * the Supported data formats and limits article of the Google Maps Engine help
+ * center. (files.insert)
+ *
+ * @param string $id
+ * The ID of the table asset.
+ * @param string $filename
+ * The file name of this uploaded file.
+ * @param array $optParams Optional parameters.
+ */
+ public function insert($id, $filename, $optParams = array())
+ {
+ $params = array('id' => $id, 'filename' => $filename);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params));
+ }
+}
+/**
+ * The "parents" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $parents = $mapsengineService->parents;
+ *
+ */
+class Google_Service_MapsEngine_TablesParents_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Return all parent ids of the specified table. (parents.listTablesParents)
+ *
+ * @param string $id
+ * The ID of the table whose parents will be listed.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string maxResults
+ * The maximum number of items to include in a single response page. The maximum supported value is
+ * 50.
+ * @return Google_Service_MapsEngine_ParentsListResponse
+ */
+ public function listTablesParents($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_ParentsListResponse");
+ }
+}
+
+
+
+
+class Google_Service_MapsEngine_AcquisitionTime extends Google_Model
+{
+ public $end;
+ public $precision;
+ public $start;
+
+ public function setEnd($end)
+ {
+ $this->end = $end;
+ }
+
+ public function getEnd()
+ {
+ return $this->end;
+ }
+
+ public function setPrecision($precision)
+ {
+ $this->precision = $precision;
+ }
+
+ public function getPrecision()
+ {
+ return $this->precision;
+ }
+
+ public function setStart($start)
+ {
+ $this->start = $start;
+ }
+
+ public function getStart()
+ {
+ return $this->start;
+ }
+}
+
+class Google_Service_MapsEngine_Asset extends Google_Collection
+{
+ public $bbox;
+ public $creationTime;
+ public $description;
+ public $etag;
+ public $id;
+ public $lastModifiedTime;
+ public $name;
+ public $projectId;
+ public $resource;
+ public $tags;
+ public $type;
+
+ public function setBbox($bbox)
+ {
+ $this->bbox = $bbox;
+ }
+
+ public function getBbox()
+ {
+ return $this->bbox;
+ }
+
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setLastModifiedTime($lastModifiedTime)
+ {
+ $this->lastModifiedTime = $lastModifiedTime;
+ }
+
+ public function getLastModifiedTime()
+ {
+ return $this->lastModifiedTime;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+
+ public function setResource($resource)
+ {
+ $this->resource = $resource;
+ }
+
+ public function getResource()
+ {
+ return $this->resource;
+ }
+
+ public function setTags($tags)
+ {
+ $this->tags = $tags;
+ }
+
+ public function getTags()
+ {
+ return $this->tags;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_MapsEngine_AssetsListResponse extends Google_Collection
+{
+ protected $assetsType = 'Google_Service_MapsEngine_Asset';
+ protected $assetsDataType = 'array';
+ public $nextPageToken;
+
+ public function setAssets($assets)
+ {
+ $this->assets = $assets;
+ }
+
+ public function getAssets()
+ {
+ return $this->assets;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_MapsEngine_Border extends Google_Model
+{
+ public $color;
+ public $opacity;
+ public $width;
+
+ public function setColor($color)
+ {
+ $this->color = $color;
+ }
+
+ public function getColor()
+ {
+ return $this->color;
+ }
+
+ public function setOpacity($opacity)
+ {
+ $this->opacity = $opacity;
+ }
+
+ public function getOpacity()
+ {
+ return $this->opacity;
+ }
+
+ public function setWidth($width)
+ {
+ $this->width = $width;
+ }
+
+ public function getWidth()
+ {
+ return $this->width;
+ }
+}
+
+class Google_Service_MapsEngine_Color extends Google_Model
+{
+ public $color;
+ public $opacity;
+
+ public function setColor($color)
+ {
+ $this->color = $color;
+ }
+
+ public function getColor()
+ {
+ return $this->color;
+ }
+
+ public function setOpacity($opacity)
+ {
+ $this->opacity = $opacity;
+ }
+
+ public function getOpacity()
+ {
+ return $this->opacity;
+ }
+}
+
+class Google_Service_MapsEngine_Datasource extends Google_Model
+{
+ public $id;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+}
+
+class Google_Service_MapsEngine_DisplayRule extends Google_Collection
+{
+ protected $filtersType = 'Google_Service_MapsEngine_Filter';
+ protected $filtersDataType = 'array';
+ protected $lineOptionsType = 'Google_Service_MapsEngine_LineStyle';
+ protected $lineOptionsDataType = '';
+ public $name;
+ protected $pointOptionsType = 'Google_Service_MapsEngine_PointStyle';
+ protected $pointOptionsDataType = '';
+ protected $polygonOptionsType = 'Google_Service_MapsEngine_PolygonStyle';
+ protected $polygonOptionsDataType = '';
+ protected $zoomLevelsType = 'Google_Service_MapsEngine_ZoomLevels';
+ protected $zoomLevelsDataType = '';
+
+ public function setFilters($filters)
+ {
+ $this->filters = $filters;
+ }
+
+ public function getFilters()
+ {
+ return $this->filters;
+ }
+
+ public function setLineOptions(Google_Service_MapsEngine_LineStyle $lineOptions)
+ {
+ $this->lineOptions = $lineOptions;
+ }
+
+ public function getLineOptions()
+ {
+ return $this->lineOptions;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setPointOptions(Google_Service_MapsEngine_PointStyle $pointOptions)
+ {
+ $this->pointOptions = $pointOptions;
+ }
+
+ public function getPointOptions()
+ {
+ return $this->pointOptions;
+ }
+
+ public function setPolygonOptions(Google_Service_MapsEngine_PolygonStyle $polygonOptions)
+ {
+ $this->polygonOptions = $polygonOptions;
+ }
+
+ public function getPolygonOptions()
+ {
+ return $this->polygonOptions;
+ }
+
+ public function setZoomLevels(Google_Service_MapsEngine_ZoomLevels $zoomLevels)
+ {
+ $this->zoomLevels = $zoomLevels;
+ }
+
+ public function getZoomLevels()
+ {
+ return $this->zoomLevels;
+ }
+}
+
+class Google_Service_MapsEngine_Feature extends Google_Model
+{
+ protected $geometryType = 'Google_Service_MapsEngine_GeoJsonGeometry';
+ protected $geometryDataType = '';
+ public $properties;
+ public $type;
+
+ public function setGeometry(Google_Service_MapsEngine_GeoJsonGeometry $geometry)
+ {
+ $this->geometry = $geometry;
+ }
+
+ public function getGeometry()
+ {
+ return $this->geometry;
+ }
+
+ public function setProperties($properties)
+ {
+ $this->properties = $properties;
+ }
+
+ public function getProperties()
+ {
+ return $this->properties;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_MapsEngine_FeatureInfo extends Google_Model
+{
+ public $content;
+
+ public function setContent($content)
+ {
+ $this->content = $content;
+ }
+
+ public function getContent()
+ {
+ return $this->content;
+ }
+}
+
+class Google_Service_MapsEngine_FeaturesBatchDeleteRequest extends Google_Collection
+{
+ public $gxIds;
+ public $primaryKeys;
+
+ public function setGxIds($gxIds)
+ {
+ $this->gxIds = $gxIds;
+ }
+
+ public function getGxIds()
+ {
+ return $this->gxIds;
+ }
+
+ public function setPrimaryKeys($primaryKeys)
+ {
+ $this->primaryKeys = $primaryKeys;
+ }
+
+ public function getPrimaryKeys()
+ {
+ return $this->primaryKeys;
+ }
+}
+
+class Google_Service_MapsEngine_FeaturesBatchInsertRequest extends Google_Collection
+{
+ protected $featuresType = 'Google_Service_MapsEngine_Feature';
+ protected $featuresDataType = 'array';
+
+ public function setFeatures($features)
+ {
+ $this->features = $features;
+ }
+
+ public function getFeatures()
+ {
+ return $this->features;
+ }
+}
+
+class Google_Service_MapsEngine_FeaturesBatchPatchRequest extends Google_Collection
+{
+ protected $featuresType = 'Google_Service_MapsEngine_Feature';
+ protected $featuresDataType = 'array';
+
+ public function setFeatures($features)
+ {
+ $this->features = $features;
+ }
+
+ public function getFeatures()
+ {
+ return $this->features;
+ }
+}
+
+class Google_Service_MapsEngine_FeaturesListResponse extends Google_Collection
+{
+ public $allowedQueriesPerSecond;
+ protected $featuresType = 'Google_Service_MapsEngine_Feature';
+ protected $featuresDataType = 'array';
+ public $nextPageToken;
+ protected $schemaType = 'Google_Service_MapsEngine_Schema';
+ protected $schemaDataType = '';
+ public $type;
+
+ public function setAllowedQueriesPerSecond($allowedQueriesPerSecond)
+ {
+ $this->allowedQueriesPerSecond = $allowedQueriesPerSecond;
+ }
+
+ public function getAllowedQueriesPerSecond()
+ {
+ return $this->allowedQueriesPerSecond;
+ }
+
+ public function setFeatures($features)
+ {
+ $this->features = $features;
+ }
+
+ public function getFeatures()
+ {
+ return $this->features;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setSchema(Google_Service_MapsEngine_Schema $schema)
+ {
+ $this->schema = $schema;
+ }
+
+ public function getSchema()
+ {
+ return $this->schema;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_MapsEngine_Filter extends Google_Model
+{
+ public $column;
+ public $operator;
+ public $value;
+
+ public function setColumn($column)
+ {
+ $this->column = $column;
+ }
+
+ public function getColumn()
+ {
+ return $this->column;
+ }
+
+ public function setOperator($operator)
+ {
+ $this->operator = $operator;
+ }
+
+ public function getOperator()
+ {
+ return $this->operator;
+ }
+
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Google_Service_MapsEngine_GeoJsonGeometry extends Google_Model
+{
+ public $type;
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_MapsEngine_GeoJsonGeometryCollection extends Google_Collection
+{
+ protected $geometriesType = 'Google_Service_MapsEngine_GeoJsonGeometry';
+ protected $geometriesDataType = 'array';
+
+ public function setGeometries($geometries)
+ {
+ $this->geometries = $geometries;
+ }
+
+ public function getGeometries()
+ {
+ return $this->geometries;
+ }
+}
+
+class Google_Service_MapsEngine_GeoJsonLineString extends Google_Collection
+{
+ public $coordinates;
+
+ public function setCoordinates($coordinates)
+ {
+ $this->coordinates = $coordinates;
+ }
+
+ public function getCoordinates()
+ {
+ return $this->coordinates;
+ }
+}
+
+class Google_Service_MapsEngine_GeoJsonMultiLineString extends Google_Collection
+{
+ public $coordinates;
+
+ public function setCoordinates($coordinates)
+ {
+ $this->coordinates = $coordinates;
+ }
+
+ public function getCoordinates()
+ {
+ return $this->coordinates;
+ }
+}
+
+class Google_Service_MapsEngine_GeoJsonMultiPoint extends Google_Collection
+{
+ public $coordinates;
+
+ public function setCoordinates($coordinates)
+ {
+ $this->coordinates = $coordinates;
+ }
+
+ public function getCoordinates()
+ {
+ return $this->coordinates;
+ }
+}
+
+class Google_Service_MapsEngine_GeoJsonMultiPolygon extends Google_Collection
+{
+ public $coordinates;
+
+ public function setCoordinates($coordinates)
+ {
+ $this->coordinates = $coordinates;
+ }
+
+ public function getCoordinates()
+ {
+ return $this->coordinates;
+ }
+}
+
+class Google_Service_MapsEngine_GeoJsonPoint extends Google_Collection
+{
+ public $coordinates;
+
+ public function setCoordinates($coordinates)
+ {
+ $this->coordinates = $coordinates;
+ }
+
+ public function getCoordinates()
+ {
+ return $this->coordinates;
+ }
+}
+
+class Google_Service_MapsEngine_GeoJsonPolygon extends Google_Collection
+{
+ public $coordinates;
+
+ public function setCoordinates($coordinates)
+ {
+ $this->coordinates = $coordinates;
+ }
+
+ public function getCoordinates()
+ {
+ return $this->coordinates;
+ }
+}
+
+class Google_Service_MapsEngine_GeoJsonProperties extends Google_Model
+{
+
+}
+
+class Google_Service_MapsEngine_IconStyle extends Google_Model
+{
+ public $id;
+ public $name;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Google_Service_MapsEngine_LabelStyle extends Google_Model
+{
+ public $color;
+ public $column;
+ public $fontStyle;
+ public $fontWeight;
+ public $opacity;
+ protected $outlineType = 'Google_Service_MapsEngine_Color';
+ protected $outlineDataType = '';
+ public $size;
+
+ public function setColor($color)
+ {
+ $this->color = $color;
+ }
+
+ public function getColor()
+ {
+ return $this->color;
+ }
+
+ public function setColumn($column)
+ {
+ $this->column = $column;
+ }
+
+ public function getColumn()
+ {
+ return $this->column;
+ }
+
+ public function setFontStyle($fontStyle)
+ {
+ $this->fontStyle = $fontStyle;
+ }
+
+ public function getFontStyle()
+ {
+ return $this->fontStyle;
+ }
+
+ public function setFontWeight($fontWeight)
+ {
+ $this->fontWeight = $fontWeight;
+ }
+
+ public function getFontWeight()
+ {
+ return $this->fontWeight;
+ }
+
+ public function setOpacity($opacity)
+ {
+ $this->opacity = $opacity;
+ }
+
+ public function getOpacity()
+ {
+ return $this->opacity;
+ }
+
+ public function setOutline(Google_Service_MapsEngine_Color $outline)
+ {
+ $this->outline = $outline;
+ }
+
+ public function getOutline()
+ {
+ return $this->outline;
+ }
+
+ public function setSize($size)
+ {
+ $this->size = $size;
+ }
+
+ public function getSize()
+ {
+ return $this->size;
+ }
+}
+
+class Google_Service_MapsEngine_Layer extends Google_Collection
+{
+ public $bbox;
+ public $creationTime;
+ public $datasourceType;
+ protected $datasourcesType = 'Google_Service_MapsEngine_Datasource';
+ protected $datasourcesDataType = 'array';
+ public $description;
+ public $draftAccessList;
+ public $etag;
+ public $id;
+ public $lastModifiedTime;
+ public $name;
+ public $processingStatus;
+ public $projectId;
+ public $publishedAccessList;
+ protected $styleType = 'Google_Service_MapsEngine_VectorStyle';
+ protected $styleDataType = '';
+ public $tags;
+
+ public function setBbox($bbox)
+ {
+ $this->bbox = $bbox;
+ }
+
+ public function getBbox()
+ {
+ return $this->bbox;
+ }
+
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+
+ public function setDatasourceType($datasourceType)
+ {
+ $this->datasourceType = $datasourceType;
+ }
+
+ public function getDatasourceType()
+ {
+ return $this->datasourceType;
+ }
+
+ public function setDatasources(Google_Service_MapsEngine_Datasource $datasources)
+ {
+ $this->datasources = $datasources;
+ }
+
+ public function getDatasources()
+ {
+ return $this->datasources;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setDraftAccessList($draftAccessList)
+ {
+ $this->draftAccessList = $draftAccessList;
+ }
+
+ public function getDraftAccessList()
+ {
+ return $this->draftAccessList;
+ }
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setLastModifiedTime($lastModifiedTime)
+ {
+ $this->lastModifiedTime = $lastModifiedTime;
+ }
+
+ public function getLastModifiedTime()
+ {
+ return $this->lastModifiedTime;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setProcessingStatus($processingStatus)
+ {
+ $this->processingStatus = $processingStatus;
+ }
+
+ public function getProcessingStatus()
+ {
+ return $this->processingStatus;
+ }
+
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+
+ public function setPublishedAccessList($publishedAccessList)
+ {
+ $this->publishedAccessList = $publishedAccessList;
+ }
+
+ public function getPublishedAccessList()
+ {
+ return $this->publishedAccessList;
+ }
+
+ public function setStyle(Google_Service_MapsEngine_VectorStyle $style)
+ {
+ $this->style = $style;
+ }
+
+ public function getStyle()
+ {
+ return $this->style;
+ }
+
+ public function setTags($tags)
+ {
+ $this->tags = $tags;
+ }
+
+ public function getTags()
+ {
+ return $this->tags;
+ }
+}
+
+class Google_Service_MapsEngine_LayersListResponse extends Google_Collection
+{
+ protected $layersType = 'Google_Service_MapsEngine_Layer';
+ protected $layersDataType = 'array';
+ public $nextPageToken;
+
+ public function setLayers($layers)
+ {
+ $this->layers = $layers;
+ }
+
+ public function getLayers()
+ {
+ return $this->layers;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_MapsEngine_LineStyle extends Google_Collection
+{
+ protected $borderType = 'Google_Service_MapsEngine_Border';
+ protected $borderDataType = '';
+ public $dash;
+ protected $labelType = 'Google_Service_MapsEngine_LabelStyle';
+ protected $labelDataType = '';
+ protected $strokeType = 'Google_Service_MapsEngine_LineStyleStroke';
+ protected $strokeDataType = '';
+
+ public function setBorder(Google_Service_MapsEngine_Border $border)
+ {
+ $this->border = $border;
+ }
+
+ public function getBorder()
+ {
+ return $this->border;
+ }
+
+ public function setDash($dash)
+ {
+ $this->dash = $dash;
+ }
+
+ public function getDash()
+ {
+ return $this->dash;
+ }
+
+ public function setLabel(Google_Service_MapsEngine_LabelStyle $label)
+ {
+ $this->label = $label;
+ }
+
+ public function getLabel()
+ {
+ return $this->label;
+ }
+
+ public function setStroke(Google_Service_MapsEngine_LineStyleStroke $stroke)
+ {
+ $this->stroke = $stroke;
+ }
+
+ public function getStroke()
+ {
+ return $this->stroke;
+ }
+}
+
+class Google_Service_MapsEngine_LineStyleStroke extends Google_Model
+{
+ public $color;
+ public $opacity;
+ public $width;
+
+ public function setColor($color)
+ {
+ $this->color = $color;
+ }
+
+ public function getColor()
+ {
+ return $this->color;
+ }
+
+ public function setOpacity($opacity)
+ {
+ $this->opacity = $opacity;
+ }
+
+ public function getOpacity()
+ {
+ return $this->opacity;
+ }
+
+ public function setWidth($width)
+ {
+ $this->width = $width;
+ }
+
+ public function getWidth()
+ {
+ return $this->width;
+ }
+}
+
+class Google_Service_MapsEngine_Map extends Google_Collection
+{
+ public $bbox;
+ protected $contentsType = 'Google_Service_MapsEngine_MapItem';
+ protected $contentsDataType = '';
+ public $creationTime;
+ public $defaultViewport;
+ public $description;
+ public $draftAccessList;
+ public $etag;
+ public $id;
+ public $lastModifiedTime;
+ public $name;
+ public $processingStatus;
+ public $projectId;
+ public $publishedAccessList;
+ public $tags;
+ public $versions;
+
+ public function setBbox($bbox)
+ {
+ $this->bbox = $bbox;
+ }
+
+ public function getBbox()
+ {
+ return $this->bbox;
+ }
+
+ public function setContents(Google_Service_MapsEngine_MapItem $contents)
+ {
+ $this->contents = $contents;
+ }
+
+ public function getContents()
+ {
+ return $this->contents;
+ }
+
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+
+ public function setDefaultViewport($defaultViewport)
+ {
+ $this->defaultViewport = $defaultViewport;
+ }
+
+ public function getDefaultViewport()
+ {
+ return $this->defaultViewport;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setDraftAccessList($draftAccessList)
+ {
+ $this->draftAccessList = $draftAccessList;
+ }
+
+ public function getDraftAccessList()
+ {
+ return $this->draftAccessList;
+ }
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setLastModifiedTime($lastModifiedTime)
+ {
+ $this->lastModifiedTime = $lastModifiedTime;
+ }
+
+ public function getLastModifiedTime()
+ {
+ return $this->lastModifiedTime;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setProcessingStatus($processingStatus)
+ {
+ $this->processingStatus = $processingStatus;
+ }
+
+ public function getProcessingStatus()
+ {
+ return $this->processingStatus;
+ }
+
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+
+ public function setPublishedAccessList($publishedAccessList)
+ {
+ $this->publishedAccessList = $publishedAccessList;
+ }
+
+ public function getPublishedAccessList()
+ {
+ return $this->publishedAccessList;
+ }
+
+ public function setTags($tags)
+ {
+ $this->tags = $tags;
+ }
+
+ public function getTags()
+ {
+ return $this->tags;
+ }
+
+ public function setVersions($versions)
+ {
+ $this->versions = $versions;
+ }
+
+ public function getVersions()
+ {
+ return $this->versions;
+ }
+}
+
+class Google_Service_MapsEngine_MapFolder extends Google_Collection
+{
+ protected $contentsType = 'Google_Service_MapsEngine_MapItem';
+ protected $contentsDataType = 'array';
+ public $defaultViewport;
+ public $expandable;
+ public $key;
+ public $name;
+ public $visibility;
+
+ public function setContents($contents)
+ {
+ $this->contents = $contents;
+ }
+
+ public function getContents()
+ {
+ return $this->contents;
+ }
+
+ public function setDefaultViewport($defaultViewport)
+ {
+ $this->defaultViewport = $defaultViewport;
+ }
+
+ public function getDefaultViewport()
+ {
+ return $this->defaultViewport;
+ }
+
+ public function setExpandable($expandable)
+ {
+ $this->expandable = $expandable;
+ }
+
+ public function getExpandable()
+ {
+ return $this->expandable;
+ }
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+
+ public function getKey()
+ {
+ return $this->key;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setVisibility($visibility)
+ {
+ $this->visibility = $visibility;
+ }
+
+ public function getVisibility()
+ {
+ return $this->visibility;
+ }
+}
+
+class Google_Service_MapsEngine_MapItem extends Google_Model
+{
+ public $type;
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_MapsEngine_MapKmlLink extends Google_Collection
+{
+ public $defaultViewport;
+ public $kmlUrl;
+ public $name;
+ public $visibility;
+
+ public function setDefaultViewport($defaultViewport)
+ {
+ $this->defaultViewport = $defaultViewport;
+ }
+
+ public function getDefaultViewport()
+ {
+ return $this->defaultViewport;
+ }
+
+ public function setKmlUrl($kmlUrl)
+ {
+ $this->kmlUrl = $kmlUrl;
+ }
+
+ public function getKmlUrl()
+ {
+ return $this->kmlUrl;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setVisibility($visibility)
+ {
+ $this->visibility = $visibility;
+ }
+
+ public function getVisibility()
+ {
+ return $this->visibility;
+ }
+}
+
+class Google_Service_MapsEngine_MapLayer extends Google_Collection
+{
+ public $defaultViewport;
+ public $id;
+ public $key;
+ public $name;
+ public $visibility;
+
+ public function setDefaultViewport($defaultViewport)
+ {
+ $this->defaultViewport = $defaultViewport;
+ }
+
+ public function getDefaultViewport()
+ {
+ return $this->defaultViewport;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+
+ public function getKey()
+ {
+ return $this->key;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setVisibility($visibility)
+ {
+ $this->visibility = $visibility;
+ }
+
+ public function getVisibility()
+ {
+ return $this->visibility;
+ }
+}
+
+class Google_Service_MapsEngine_MapsListResponse extends Google_Collection
+{
+ protected $mapsType = 'Google_Service_MapsEngine_Map';
+ protected $mapsDataType = 'array';
+ public $nextPageToken;
+
+ public function setMaps($maps)
+ {
+ $this->maps = $maps;
+ }
+
+ public function getMaps()
+ {
+ return $this->maps;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_MapsEngine_MapsengineFile extends Google_Model
+{
+ public $filename;
+ public $size;
+ public $uploadStatus;
+
+ public function setFilename($filename)
+ {
+ $this->filename = $filename;
+ }
+
+ public function getFilename()
+ {
+ return $this->filename;
+ }
+
+ public function setSize($size)
+ {
+ $this->size = $size;
+ }
+
+ public function getSize()
+ {
+ return $this->size;
+ }
+
+ public function setUploadStatus($uploadStatus)
+ {
+ $this->uploadStatus = $uploadStatus;
+ }
+
+ public function getUploadStatus()
+ {
+ return $this->uploadStatus;
+ }
+}
+
+class Google_Service_MapsEngine_Parent extends Google_Model
+{
+ public $id;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+}
+
+class Google_Service_MapsEngine_ParentsListResponse extends Google_Collection
+{
+ public $nextPageToken;
+ protected $parentsType = 'Google_Service_MapsEngine_Parent';
+ protected $parentsDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setParents($parents)
+ {
+ $this->parents = $parents;
+ }
+
+ public function getParents()
+ {
+ return $this->parents;
+ }
+}
+
+class Google_Service_MapsEngine_PointStyle extends Google_Model
+{
+ protected $iconType = 'Google_Service_MapsEngine_IconStyle';
+ protected $iconDataType = '';
+ protected $labelType = 'Google_Service_MapsEngine_LabelStyle';
+ protected $labelDataType = '';
+
+ public function setIcon(Google_Service_MapsEngine_IconStyle $icon)
+ {
+ $this->icon = $icon;
+ }
+
+ public function getIcon()
+ {
+ return $this->icon;
+ }
+
+ public function setLabel(Google_Service_MapsEngine_LabelStyle $label)
+ {
+ $this->label = $label;
+ }
+
+ public function getLabel()
+ {
+ return $this->label;
+ }
+}
+
+class Google_Service_MapsEngine_PolygonStyle extends Google_Model
+{
+ protected $fillType = 'Google_Service_MapsEngine_Color';
+ protected $fillDataType = '';
+ protected $strokeType = 'Google_Service_MapsEngine_Border';
+ protected $strokeDataType = '';
+
+ public function setFill(Google_Service_MapsEngine_Color $fill)
+ {
+ $this->fill = $fill;
+ }
+
+ public function getFill()
+ {
+ return $this->fill;
+ }
+
+ public function setStroke(Google_Service_MapsEngine_Border $stroke)
+ {
+ $this->stroke = $stroke;
+ }
+
+ public function getStroke()
+ {
+ return $this->stroke;
+ }
+}
+
+class Google_Service_MapsEngine_ProcessResponse extends Google_Model
+{
+
+}
+
+class Google_Service_MapsEngine_Project extends Google_Model
+{
+ public $id;
+ public $name;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Google_Service_MapsEngine_ProjectsListResponse extends Google_Collection
+{
+ protected $projectsType = 'Google_Service_MapsEngine_Project';
+ protected $projectsDataType = 'array';
+
+ public function setProjects($projects)
+ {
+ $this->projects = $projects;
+ }
+
+ public function getProjects()
+ {
+ return $this->projects;
+ }
+}
+
+class Google_Service_MapsEngine_PublishResponse extends Google_Model
+{
+
+}
+
+class Google_Service_MapsEngine_Raster extends Google_Collection
+{
+ protected $acquisitionTimeType = 'Google_Service_MapsEngine_AcquisitionTime';
+ protected $acquisitionTimeDataType = '';
+ public $attribution;
+ public $bbox;
+ public $creationTime;
+ public $description;
+ public $draftAccessList;
+ public $etag;
+ protected $filesType = 'Google_Service_MapsEngine_MapsengineFile';
+ protected $filesDataType = 'array';
+ public $id;
+ public $lastModifiedTime;
+ public $maskType;
+ public $name;
+ public $processingStatus;
+ public $projectId;
+ public $rasterType;
+ public $tags;
+
+ public function setAcquisitionTime(Google_Service_MapsEngine_AcquisitionTime $acquisitionTime)
+ {
+ $this->acquisitionTime = $acquisitionTime;
+ }
+
+ public function getAcquisitionTime()
+ {
+ return $this->acquisitionTime;
+ }
+
+ public function setAttribution($attribution)
+ {
+ $this->attribution = $attribution;
+ }
+
+ public function getAttribution()
+ {
+ return $this->attribution;
+ }
+
+ public function setBbox($bbox)
+ {
+ $this->bbox = $bbox;
+ }
+
+ public function getBbox()
+ {
+ return $this->bbox;
+ }
+
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setDraftAccessList($draftAccessList)
+ {
+ $this->draftAccessList = $draftAccessList;
+ }
+
+ public function getDraftAccessList()
+ {
+ return $this->draftAccessList;
+ }
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
+ public function setFiles($files)
+ {
+ $this->files = $files;
+ }
+
+ public function getFiles()
+ {
+ return $this->files;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setLastModifiedTime($lastModifiedTime)
+ {
+ $this->lastModifiedTime = $lastModifiedTime;
+ }
+
+ public function getLastModifiedTime()
+ {
+ return $this->lastModifiedTime;
+ }
+
+ public function setMaskType($maskType)
+ {
+ $this->maskType = $maskType;
+ }
+
+ public function getMaskType()
+ {
+ return $this->maskType;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setProcessingStatus($processingStatus)
+ {
+ $this->processingStatus = $processingStatus;
+ }
+
+ public function getProcessingStatus()
+ {
+ return $this->processingStatus;
+ }
+
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+
+ public function setRasterType($rasterType)
+ {
+ $this->rasterType = $rasterType;
+ }
+
+ public function getRasterType()
+ {
+ return $this->rasterType;
+ }
+
+ public function setTags($tags)
+ {
+ $this->tags = $tags;
+ }
+
+ public function getTags()
+ {
+ return $this->tags;
+ }
+}
+
+class Google_Service_MapsEngine_RasterCollection extends Google_Collection
+{
+ public $attribution;
+ public $bbox;
+ public $creationTime;
+ public $description;
+ public $draftAccessList;
+ public $etag;
+ public $id;
+ public $lastModifiedTime;
+ public $mosaic;
+ public $name;
+ public $processingStatus;
+ public $projectId;
+ public $rasterType;
+ public $tags;
+
+ public function setAttribution($attribution)
+ {
+ $this->attribution = $attribution;
+ }
+
+ public function getAttribution()
+ {
+ return $this->attribution;
+ }
+
+ public function setBbox($bbox)
+ {
+ $this->bbox = $bbox;
+ }
+
+ public function getBbox()
+ {
+ return $this->bbox;
+ }
+
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setDraftAccessList($draftAccessList)
+ {
+ $this->draftAccessList = $draftAccessList;
+ }
+
+ public function getDraftAccessList()
+ {
+ return $this->draftAccessList;
+ }
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setLastModifiedTime($lastModifiedTime)
+ {
+ $this->lastModifiedTime = $lastModifiedTime;
+ }
+
+ public function getLastModifiedTime()
+ {
+ return $this->lastModifiedTime;
+ }
+
+ public function setMosaic($mosaic)
+ {
+ $this->mosaic = $mosaic;
+ }
+
+ public function getMosaic()
+ {
+ return $this->mosaic;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setProcessingStatus($processingStatus)
+ {
+ $this->processingStatus = $processingStatus;
+ }
+
+ public function getProcessingStatus()
+ {
+ return $this->processingStatus;
+ }
+
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+
+ public function setRasterType($rasterType)
+ {
+ $this->rasterType = $rasterType;
+ }
+
+ public function getRasterType()
+ {
+ return $this->rasterType;
+ }
+
+ public function setTags($tags)
+ {
+ $this->tags = $tags;
+ }
+
+ public function getTags()
+ {
+ return $this->tags;
+ }
+}
+
+class Google_Service_MapsEngine_RasterCollectionsListResponse extends Google_Collection
+{
+ public $nextPageToken;
+ protected $rasterCollectionsType = 'Google_Service_MapsEngine_RasterCollection';
+ protected $rasterCollectionsDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setRasterCollections($rasterCollections)
+ {
+ $this->rasterCollections = $rasterCollections;
+ }
+
+ public function getRasterCollections()
+ {
+ return $this->rasterCollections;
+ }
+}
+
+class Google_Service_MapsEngine_RasterCollectionsRaster extends Google_Collection
+{
+ public $bbox;
+ public $creationTime;
+ public $description;
+ public $id;
+ public $lastModifiedTime;
+ public $name;
+ public $projectId;
+ public $rasterType;
+ public $tags;
+
+ public function setBbox($bbox)
+ {
+ $this->bbox = $bbox;
+ }
+
+ public function getBbox()
+ {
+ return $this->bbox;
+ }
+
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setLastModifiedTime($lastModifiedTime)
+ {
+ $this->lastModifiedTime = $lastModifiedTime;
+ }
+
+ public function getLastModifiedTime()
+ {
+ return $this->lastModifiedTime;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+
+ public function setRasterType($rasterType)
+ {
+ $this->rasterType = $rasterType;
+ }
+
+ public function getRasterType()
+ {
+ return $this->rasterType;
+ }
+
+ public function setTags($tags)
+ {
+ $this->tags = $tags;
+ }
+
+ public function getTags()
+ {
+ return $this->tags;
+ }
+}
+
+class Google_Service_MapsEngine_RasterCollectionsRasterBatchDeleteRequest extends Google_Collection
+{
+ public $ids;
+
+ public function setIds($ids)
+ {
+ $this->ids = $ids;
+ }
+
+ public function getIds()
+ {
+ return $this->ids;
+ }
+}
+
+class Google_Service_MapsEngine_RasterCollectionsRastersBatchDeleteResponse extends Google_Model
+{
+
+}
+
+class Google_Service_MapsEngine_RasterCollectionsRastersBatchInsertRequest extends Google_Collection
+{
+ public $ids;
+
+ public function setIds($ids)
+ {
+ $this->ids = $ids;
+ }
+
+ public function getIds()
+ {
+ return $this->ids;
+ }
+}
+
+class Google_Service_MapsEngine_RasterCollectionsRastersBatchInsertResponse extends Google_Model
+{
+
+}
+
+class Google_Service_MapsEngine_RasterCollectionsRastersListResponse extends Google_Collection
+{
+ public $nextPageToken;
+ protected $rastersType = 'Google_Service_MapsEngine_RasterCollectionsRaster';
+ protected $rastersDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setRasters($rasters)
+ {
+ $this->rasters = $rasters;
+ }
+
+ public function getRasters()
+ {
+ return $this->rasters;
+ }
+}
+
+class Google_Service_MapsEngine_Schema extends Google_Collection
+{
+ protected $columnsType = 'Google_Service_MapsEngine_TableColumn';
+ protected $columnsDataType = 'array';
+ public $primaryGeometry;
+ public $primaryKey;
+
+ public function setColumns($columns)
+ {
+ $this->columns = $columns;
+ }
+
+ public function getColumns()
+ {
+ return $this->columns;
+ }
+
+ public function setPrimaryGeometry($primaryGeometry)
+ {
+ $this->primaryGeometry = $primaryGeometry;
+ }
+
+ public function getPrimaryGeometry()
+ {
+ return $this->primaryGeometry;
+ }
+
+ public function setPrimaryKey($primaryKey)
+ {
+ $this->primaryKey = $primaryKey;
+ }
+
+ public function getPrimaryKey()
+ {
+ return $this->primaryKey;
+ }
+}
+
+class Google_Service_MapsEngine_Table extends Google_Collection
+{
+ public $bbox;
+ public $creationTime;
+ public $description;
+ public $draftAccessList;
+ public $etag;
+ protected $filesType = 'Google_Service_MapsEngine_MapsengineFile';
+ protected $filesDataType = 'array';
+ public $id;
+ public $lastModifiedTime;
+ public $name;
+ public $processingStatus;
+ public $projectId;
+ public $publishedAccessList;
+ protected $schemaType = 'Google_Service_MapsEngine_Schema';
+ protected $schemaDataType = '';
+ public $sourceEncoding;
+ public $tags;
+
+ public function setBbox($bbox)
+ {
+ $this->bbox = $bbox;
+ }
+
+ public function getBbox()
+ {
+ return $this->bbox;
+ }
+
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setDraftAccessList($draftAccessList)
+ {
+ $this->draftAccessList = $draftAccessList;
+ }
+
+ public function getDraftAccessList()
+ {
+ return $this->draftAccessList;
+ }
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
+ public function setFiles($files)
+ {
+ $this->files = $files;
+ }
+
+ public function getFiles()
+ {
+ return $this->files;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setLastModifiedTime($lastModifiedTime)
+ {
+ $this->lastModifiedTime = $lastModifiedTime;
+ }
+
+ public function getLastModifiedTime()
+ {
+ return $this->lastModifiedTime;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setProcessingStatus($processingStatus)
+ {
+ $this->processingStatus = $processingStatus;
+ }
+
+ public function getProcessingStatus()
+ {
+ return $this->processingStatus;
+ }
+
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+
+ public function setPublishedAccessList($publishedAccessList)
+ {
+ $this->publishedAccessList = $publishedAccessList;
+ }
+
+ public function getPublishedAccessList()
+ {
+ return $this->publishedAccessList;
+ }
+
+ public function setSchema(Google_Service_MapsEngine_Schema $schema)
+ {
+ $this->schema = $schema;
+ }
+
+ public function getSchema()
+ {
+ return $this->schema;
+ }
+
+ public function setSourceEncoding($sourceEncoding)
+ {
+ $this->sourceEncoding = $sourceEncoding;
+ }
+
+ public function getSourceEncoding()
+ {
+ return $this->sourceEncoding;
+ }
+
+ public function setTags($tags)
+ {
+ $this->tags = $tags;
+ }
+
+ public function getTags()
+ {
+ return $this->tags;
+ }
+}
+
+class Google_Service_MapsEngine_TableColumn extends Google_Model
+{
+ public $name;
+ public $type;
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_MapsEngine_TablesListResponse extends Google_Collection
+{
+ public $nextPageToken;
+ protected $tablesType = 'Google_Service_MapsEngine_Table';
+ protected $tablesDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setTables($tables)
+ {
+ $this->tables = $tables;
+ }
+
+ public function getTables()
+ {
+ return $this->tables;
+ }
+}
+
+class Google_Service_MapsEngine_VectorStyle extends Google_Collection
+{
+ protected $displayRulesType = 'Google_Service_MapsEngine_DisplayRule';
+ protected $displayRulesDataType = 'array';
+ protected $featureInfoType = 'Google_Service_MapsEngine_FeatureInfo';
+ protected $featureInfoDataType = '';
+ public $type;
+
+ public function setDisplayRules($displayRules)
+ {
+ $this->displayRules = $displayRules;
+ }
+
+ public function getDisplayRules()
+ {
+ return $this->displayRules;
+ }
+
+ public function setFeatureInfo(Google_Service_MapsEngine_FeatureInfo $featureInfo)
+ {
+ $this->featureInfo = $featureInfo;
+ }
+
+ public function getFeatureInfo()
+ {
+ return $this->featureInfo;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_MapsEngine_ZoomLevels extends Google_Model
+{
+ public $max;
+ public $min;
+
+ public function setMax($max)
+ {
+ $this->max = $max;
+ }
+
+ public function getMax()
+ {
+ return $this->max;
+ }
+
+ public function setMin($min)
+ {
+ $this->min = $min;
+ }
+
+ public function getMin()
+ {
+ return $this->min;
+ }
+}
From 6a19712f0bac10753310e2064facd084d7c0f8e0 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Wed, 6 Aug 2014 01:06:14 -0700
Subject: [PATCH 0425/1602] Updated Genomics.php
---
src/Google/Service/Genomics.php | 212 ++++++++++++++++++++++++++++++++
1 file changed, 212 insertions(+)
diff --git a/src/Google/Service/Genomics.php b/src/Google/Service/Genomics.php
index 958850791..b568ca9d7 100644
--- a/src/Google/Service/Genomics.php
+++ b/src/Google/Service/Genomics.php
@@ -47,6 +47,7 @@ class Google_Service_Genomics extends Google_Service
public $jobs;
public $reads;
public $readsets;
+ public $readsets_coveragebuckets;
public $variants;
@@ -357,6 +358,50 @@ public function __construct(Google_Client $client)
)
)
);
+ $this->readsets_coveragebuckets = new Google_Service_Genomics_ReadsetsCoveragebuckets_Resource(
+ $this,
+ $this->serviceName,
+ 'coveragebuckets',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'readsets/{readsetId}/coveragebuckets',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'readsetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'range.sequenceStart' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'range.sequenceName' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'targetBucketWidth' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'range.sequenceEnd' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
$this->variants = new Google_Service_Genomics_Variants_Resource(
$this,
$this->serviceName,
@@ -935,6 +980,60 @@ public function update($readsetId, Google_Service_Genomics_Readset $postBody, $o
}
}
+/**
+ * The "coveragebuckets" collection of methods.
+ * Typical usage is:
+ *
+ * $genomicsService = new Google_Service_Genomics(...);
+ * $coveragebuckets = $genomicsService->coveragebuckets;
+ *
+ */
+class Google_Service_Genomics_ReadsetsCoveragebuckets_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Lists fixed width coverage buckets for a readset, each of which correspond to
+ * a range of a reference sequence. Each bucket summarizes coverage information
+ * across its corresponding genomic range. Coverage is defined as the number of
+ * reads which are aligned to a given base in the reference sequence. Coverage
+ * buckets are available at various bucket widths, enabling various coverage
+ * "zoom levels". The caller must have READ permissions for the target readset.
+ * (coveragebuckets.listReadsetsCoveragebuckets)
+ *
+ * @param string $readsetId
+ * Required. The ID of the readset over which coverage is requested.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string range.sequenceStart
+ * The start position of the range on the reference, 1-based inclusive. If specified, sequenceName
+ * must also be specified.
+ * @opt_param string maxResults
+ * The maximum number of results to return in a single page. If unspecified, defaults to 1024. The
+ * maximum value is 2048.
+ * @opt_param string range.sequenceName
+ * The reference sequence name, for example "chr1", "1", or "chrX".
+ * @opt_param string pageToken
+ * The continuation token, which is used to page through large result sets. To get the next page of
+ * results, set this parameter to the value of "nextPageToken" from the previous response.
+ * @opt_param string targetBucketWidth
+ * The desired width of each reported coverage bucket in base pairs. This will be rounded down to
+ * the nearest precomputed bucket width; the value of which is returned as bucket_width in the
+ * response. Defaults to infinity (each bucket spans an entire reference sequence) or the length of
+ * the target range, if specified. The smallest precomputed bucket_width is currently 2048 base
+ * pairs; this is subject to change.
+ * @opt_param string range.sequenceEnd
+ * The end position of the range on the reference, 1-based exclusive. If specified, sequenceName
+ * must also be specified.
+ * @return Google_Service_Genomics_ListCoverageBucketsResponse
+ */
+ public function listReadsetsCoveragebuckets($readsetId, $optParams = array())
+ {
+ $params = array('readsetId' => $readsetId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Genomics_ListCoverageBucketsResponse");
+ }
+}
+
/**
* The "variants" collection of methods.
* Typical usage is:
@@ -1256,6 +1355,33 @@ public function getUpperBound()
}
}
+class Google_Service_Genomics_CoverageBucket extends Google_Model
+{
+ public $meanCoverage;
+ protected $rangeType = 'Google_Service_Genomics_GenomicRange';
+ protected $rangeDataType = '';
+
+ public function setMeanCoverage($meanCoverage)
+ {
+ $this->meanCoverage = $meanCoverage;
+ }
+
+ public function getMeanCoverage()
+ {
+ return $this->meanCoverage;
+ }
+
+ public function setRange(Google_Service_Genomics_GenomicRange $range)
+ {
+ $this->range = $range;
+ }
+
+ public function getRange()
+ {
+ return $this->range;
+ }
+}
+
class Google_Service_Genomics_Dataset extends Google_Model
{
public $id;
@@ -1526,6 +1652,43 @@ public function getJobId()
}
}
+class Google_Service_Genomics_GenomicRange extends Google_Model
+{
+ public $sequenceEnd;
+ public $sequenceName;
+ public $sequenceStart;
+
+ public function setSequenceEnd($sequenceEnd)
+ {
+ $this->sequenceEnd = $sequenceEnd;
+ }
+
+ public function getSequenceEnd()
+ {
+ return $this->sequenceEnd;
+ }
+
+ public function setSequenceName($sequenceName)
+ {
+ $this->sequenceName = $sequenceName;
+ }
+
+ public function getSequenceName()
+ {
+ return $this->sequenceName;
+ }
+
+ public function setSequenceStart($sequenceStart)
+ {
+ $this->sequenceStart = $sequenceStart;
+ }
+
+ public function getSequenceStart()
+ {
+ return $this->sequenceStart;
+ }
+}
+
class Google_Service_Genomics_GetVariantsSummaryResponse extends Google_Collection
{
protected $contigBoundsType = 'Google_Service_Genomics_ContigBound';
@@ -1584,6 +1747,7 @@ class Google_Service_Genomics_HeaderSection extends Google_Collection
{
public $comments;
public $fileUri;
+ public $filename;
protected $headersType = 'Google_Service_Genomics_Header';
protected $headersDataType = 'array';
protected $programsType = 'Google_Service_Genomics_Program';
@@ -1613,6 +1777,16 @@ public function getFileUri()
return $this->fileUri;
}
+ public function setFilename($filename)
+ {
+ $this->filename = $filename;
+ }
+
+ public function getFilename()
+ {
+ return $this->filename;
+ }
+
public function setHeaders($headers)
{
$this->headers = $headers;
@@ -1828,6 +2002,44 @@ public function getWarnings()
}
}
+class Google_Service_Genomics_ListCoverageBucketsResponse extends Google_Collection
+{
+ public $bucketWidth;
+ protected $coverageBucketsType = 'Google_Service_Genomics_CoverageBucket';
+ protected $coverageBucketsDataType = 'array';
+ public $nextPageToken;
+
+ public function setBucketWidth($bucketWidth)
+ {
+ $this->bucketWidth = $bucketWidth;
+ }
+
+ public function getBucketWidth()
+ {
+ return $this->bucketWidth;
+ }
+
+ public function setCoverageBuckets($coverageBuckets)
+ {
+ $this->coverageBuckets = $coverageBuckets;
+ }
+
+ public function getCoverageBuckets()
+ {
+ return $this->coverageBuckets;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
class Google_Service_Genomics_ListDatasetsResponse extends Google_Collection
{
protected $datasetsType = 'Google_Service_Genomics_Dataset';
From e0d22f40d135c210bf3cf5f098088413a6d966cf Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 8 Aug 2014 01:07:54 -0700
Subject: [PATCH 0426/1602] Updated Compute.php
---
src/Google/Service/Compute.php | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/src/Google/Service/Compute.php b/src/Google/Service/Compute.php
index 0d21c71b4..4d704e4cb 100644
--- a/src/Google/Service/Compute.php
+++ b/src/Google/Service/Compute.php
@@ -6150,6 +6150,7 @@ class Google_Service_Compute_BackendService extends Google_Collection
public $kind;
public $name;
public $port;
+ public $portName;
public $protocol;
public $selfLink;
public $timeoutSec;
@@ -6244,6 +6245,16 @@ public function getPort()
return $this->port;
}
+ public function setPortName($portName)
+ {
+ $this->portName = $portName;
+ }
+
+ public function getPortName()
+ {
+ return $this->portName;
+ }
+
public function setProtocol($protocol)
{
$this->protocol = $protocol;
From 53cf94c87fe6a7c11711c126bb5fb08fd5ecc306 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 8 Aug 2014 01:07:54 -0700
Subject: [PATCH 0427/1602] Updated Fusiontables.php
---
src/Google/Service/Fusiontables.php | 236 ++++++++++++++++++++++++++++
1 file changed, 236 insertions(+)
diff --git a/src/Google/Service/Fusiontables.php b/src/Google/Service/Fusiontables.php
index c9b64e5c1..ffa01bd10 100644
--- a/src/Google/Service/Fusiontables.php
+++ b/src/Google/Service/Fusiontables.php
@@ -40,6 +40,7 @@ class Google_Service_Fusiontables extends Google_Service
public $query;
public $style;
public $table;
+ public $task;
public $template;
@@ -434,6 +435,68 @@ public function __construct(Google_Client $client)
)
)
);
+ $this->task = new Google_Service_Fusiontables_Task_Resource(
+ $this,
+ $this->serviceName,
+ 'task',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'tables/{tableId}/tasks/{taskId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'tableId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'taskId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'tables/{tableId}/tasks/{taskId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'tableId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'taskId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'tables/{tableId}/tasks',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'tableId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'startIndex' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
$this->template = new Google_Service_Fusiontables_Template_Resource(
$this,
$this->serviceName,
@@ -998,6 +1061,71 @@ public function update($tableId, Google_Service_Fusiontables_Table $postBody, $o
}
}
+/**
+ * The "task" collection of methods.
+ * Typical usage is:
+ *
+ * $fusiontablesService = new Google_Service_Fusiontables(...);
+ * $task = $fusiontablesService->task;
+ *
+ */
+class Google_Service_Fusiontables_Task_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Deletes the task, unless already started. (task.delete)
+ *
+ * @param string $tableId
+ * Table from which the task is being deleted.
+ * @param string $taskId
+ *
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($tableId, $taskId, $optParams = array())
+ {
+ $params = array('tableId' => $tableId, 'taskId' => $taskId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Retrieves a specific task by its id. (task.get)
+ *
+ * @param string $tableId
+ * Table to which the task belongs.
+ * @param string $taskId
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Fusiontables_Task
+ */
+ public function get($tableId, $taskId, $optParams = array())
+ {
+ $params = array('tableId' => $tableId, 'taskId' => $taskId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Fusiontables_Task");
+ }
+ /**
+ * Retrieves a list of tasks. (task.listTask)
+ *
+ * @param string $tableId
+ * Table whose tasks are being listed.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ *
+ * @opt_param string startIndex
+ *
+ * @opt_param string maxResults
+ * Maximum number of columns to return. Optional. Default is 5.
+ * @return Google_Service_Fusiontables_TaskList
+ */
+ public function listTask($tableId, $optParams = array())
+ {
+ $params = array('tableId' => $tableId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Fusiontables_TaskList");
+ }
+}
+
/**
* The "template" collection of methods.
* Typical usage is:
@@ -2102,6 +2230,114 @@ public function getNextPageToken()
}
}
+class Google_Service_Fusiontables_Task extends Google_Model
+{
+ public $kind;
+ public $progress;
+ public $started;
+ public $taskId;
+ public $type;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setProgress($progress)
+ {
+ $this->progress = $progress;
+ }
+
+ public function getProgress()
+ {
+ return $this->progress;
+ }
+
+ public function setStarted($started)
+ {
+ $this->started = $started;
+ }
+
+ public function getStarted()
+ {
+ return $this->started;
+ }
+
+ public function setTaskId($taskId)
+ {
+ $this->taskId = $taskId;
+ }
+
+ public function getTaskId()
+ {
+ return $this->taskId;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_Fusiontables_TaskList extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_Fusiontables_Task';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $totalItems;
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setTotalItems($totalItems)
+ {
+ $this->totalItems = $totalItems;
+ }
+
+ public function getTotalItems()
+ {
+ return $this->totalItems;
+ }
+}
+
class Google_Service_Fusiontables_Template extends Google_Collection
{
public $automaticColumnNames;
From 04d19e7238b3198014e4cc36690e567e650d1015 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 8 Aug 2014 01:07:55 -0700
Subject: [PATCH 0428/1602] Updated ShoppingContent.php
---
src/Google/Service/ShoppingContent.php | 34 +++++++++++++++++++++++---
1 file changed, 31 insertions(+), 3 deletions(-)
diff --git a/src/Google/Service/ShoppingContent.php b/src/Google/Service/ShoppingContent.php
index 5780318b9..09e89565f 100644
--- a/src/Google/Service/ShoppingContent.php
+++ b/src/Google/Service/ShoppingContent.php
@@ -1532,7 +1532,8 @@ class Google_Service_ShoppingContent_AccountShippingCondition extends Google_Mod
{
public $deliveryLocationGroup;
public $deliveryLocationId;
- public $deliveryPostalCode;
+ protected $deliveryPostalCodeType = 'Google_Service_ShoppingContent_AccountShippingPostalCodeRange';
+ protected $deliveryPostalCodeDataType = '';
protected $priceMaxType = 'Google_Service_ShoppingContent_Price';
protected $priceMaxDataType = '';
public $shippingLabel;
@@ -1559,7 +1560,7 @@ public function getDeliveryLocationId()
return $this->deliveryLocationId;
}
- public function setDeliveryPostalCode($deliveryPostalCode)
+ public function setDeliveryPostalCode(Google_Service_ShoppingContent_AccountShippingPostalCodeRange $deliveryPostalCode)
{
$this->deliveryPostalCode = $deliveryPostalCode;
}
@@ -1605,7 +1606,8 @@ class Google_Service_ShoppingContent_AccountShippingLocationGroup extends Google
public $country;
public $locationIds;
public $name;
- public $postalCodes;
+ protected $postalCodesType = 'Google_Service_ShoppingContent_AccountShippingPostalCodeRange';
+ protected $postalCodesDataType = 'array';
public function setCountry($country)
{
@@ -1648,6 +1650,32 @@ public function getPostalCodes()
}
}
+class Google_Service_ShoppingContent_AccountShippingPostalCodeRange extends Google_Model
+{
+ public $end;
+ public $start;
+
+ public function setEnd($end)
+ {
+ $this->end = $end;
+ }
+
+ public function getEnd()
+ {
+ return $this->end;
+ }
+
+ public function setStart($start)
+ {
+ $this->start = $start;
+ }
+
+ public function getStart()
+ {
+ return $this->start;
+ }
+}
+
class Google_Service_ShoppingContent_AccountShippingRateTable extends Google_Collection
{
protected $contentsType = 'Google_Service_ShoppingContent_AccountShippingRateTableCell';
From a3b552de85e652fb6836503e428d76edda726987 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 8 Aug 2014 01:07:55 -0700
Subject: [PATCH 0429/1602] Updated AdExchangeBuyer.php
---
src/Google/Service/AdExchangeBuyer.php | 143 ++++++++++++++++++++++++-
1 file changed, 142 insertions(+), 1 deletion(-)
diff --git a/src/Google/Service/AdExchangeBuyer.php b/src/Google/Service/AdExchangeBuyer.php
index afb05a2f4..533b9b2fd 100644
--- a/src/Google/Service/AdExchangeBuyer.php
+++ b/src/Google/Service/AdExchangeBuyer.php
@@ -19,7 +19,7 @@
* Service definition for AdExchangeBuyer (v1.3).
*
*
- * Lets you manage your Ad Exchange Buyer account.
+ * Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports.
*
*
*
@@ -35,6 +35,7 @@ class Google_Service_AdExchangeBuyer extends Google_Service
const ADEXCHANGE_BUYER = "https://www.googleapis.com/auth/adexchange.buyer";
public $accounts;
+ public $billingInfo;
public $creatives;
public $directDeals;
public $performanceReport;
@@ -97,6 +98,30 @@ public function __construct(Google_Client $client)
)
)
);
+ $this->billingInfo = new Google_Service_AdExchangeBuyer_BillingInfo_Resource(
+ $this,
+ $this->serviceName,
+ 'billingInfo',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'billinginfo/{accountId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'billinginfo',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
$this->creatives = new Google_Service_AdExchangeBuyer_Creatives_Resource(
$this,
$this->serviceName,
@@ -379,6 +404,47 @@ public function update($id, Google_Service_AdExchangeBuyer_Account $postBody, $o
}
}
+/**
+ * The "billingInfo" collection of methods.
+ * Typical usage is:
+ *
+ * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
+ * $billingInfo = $adexchangebuyerService->billingInfo;
+ *
+ */
+class Google_Service_AdExchangeBuyer_BillingInfo_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Returns the billing information for one account specified by account ID.
+ * (billingInfo.get)
+ *
+ * @param int $accountId
+ * The account id.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdExchangeBuyer_BillingInfo
+ */
+ public function get($accountId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_BillingInfo");
+ }
+ /**
+ * Retrieves a list of billing information for all accounts of the authenticated
+ * user. (billingInfo.listBillingInfo)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdExchangeBuyer_BillingInfoList
+ */
+ public function listBillingInfo($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_BillingInfoList");
+ }
+}
+
/**
* The "creatives" collection of methods.
* Typical usage is:
@@ -772,6 +838,81 @@ public function getKind()
}
}
+class Google_Service_AdExchangeBuyer_BillingInfo extends Google_Collection
+{
+ public $accountId;
+ public $accountName;
+ public $billingId;
+ public $kind;
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+
+ public function setAccountName($accountName)
+ {
+ $this->accountName = $accountName;
+ }
+
+ public function getAccountName()
+ {
+ return $this->accountName;
+ }
+
+ public function setBillingId($billingId)
+ {
+ $this->billingId = $billingId;
+ }
+
+ public function getBillingId()
+ {
+ return $this->billingId;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_AdExchangeBuyer_BillingInfoList extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_AdExchangeBuyer_BillingInfo';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
class Google_Service_AdExchangeBuyer_Creative extends Google_Collection
{
public $hTMLSnippet;
From a97daa4273a55a3f656617a292630fef50e7a1e6 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Sat, 9 Aug 2014 01:09:06 -0700
Subject: [PATCH 0430/1602] Added service CloudMonitoring.php
---
src/Google/Service/CloudMonitoring.php | 974 +++++++++++++++++++++++++
1 file changed, 974 insertions(+)
create mode 100644 src/Google/Service/CloudMonitoring.php
diff --git a/src/Google/Service/CloudMonitoring.php b/src/Google/Service/CloudMonitoring.php
new file mode 100644
index 000000000..03fca0ff9
--- /dev/null
+++ b/src/Google/Service/CloudMonitoring.php
@@ -0,0 +1,974 @@
+
+ * API for accessing Google Cloud and API monitoring data.
+ *
+ *
+ *
+ * For more information about this service, see the API
+ * Documentation
+ *
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_CloudMonitoring extends Google_Service
+{
+ /** View monitoring data for all of your Google Cloud and API projects. */
+ const MONITORING_READONLY = "https://www.googleapis.com/auth/monitoring.readonly";
+
+ public $metricDescriptors;
+ public $timeseries;
+ public $timeseriesDescriptors;
+
+
+ /**
+ * Constructs the internal representation of the CloudMonitoring service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'cloudmonitoring/v2beta1/projects/';
+ $this->version = 'v2beta1';
+ $this->serviceName = 'cloudmonitoring';
+
+ $this->metricDescriptors = new Google_Service_CloudMonitoring_MetricDescriptors_Resource(
+ $this,
+ $this->serviceName,
+ 'metricDescriptors',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => '{project}/metricDescriptors',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'count' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'query' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->timeseries = new Google_Service_CloudMonitoring_Timeseries_Resource(
+ $this,
+ $this->serviceName,
+ 'timeseries',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => '{project}/timeseries/{metric}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'metric' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'youngest' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'count' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'timespan' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'labels' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'oldest' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->timeseriesDescriptors = new Google_Service_CloudMonitoring_TimeseriesDescriptors_Resource(
+ $this,
+ $this->serviceName,
+ 'timeseriesDescriptors',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => '{project}/timeseriesDescriptors/{metric}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'metric' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'youngest' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'count' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'timespan' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'labels' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'oldest' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "metricDescriptors" collection of methods.
+ * Typical usage is:
+ *
+ * $cloudmonitoringService = new Google_Service_CloudMonitoring(...);
+ * $metricDescriptors = $cloudmonitoringService->metricDescriptors;
+ *
+ */
+class Google_Service_CloudMonitoring_MetricDescriptors_Resource extends Google_Service_Resource
+{
+
+ /**
+ * List metric descriptors that match the query. If the query is not set, then
+ * all of the metric descriptors will be returned. Large responses will be
+ * paginated, use the nextPageToken returned in the response to request
+ * subsequent pages of results by setting the pageToken query parameter to the
+ * value of the nextPageToken. (metricDescriptors.listMetricDescriptors)
+ *
+ * @param string $project
+ * The project id. The value can be the numeric project ID or string-based project name.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int count
+ * Maximum number of metric descriptors per page. Used for pagination. If not specified, count =
+ * 100.
+ * @opt_param string pageToken
+ * The pagination token, which is used to page through large result sets. Set this value to the
+ * value of the nextPageToken to retrieve the next page of results.
+ * @opt_param string query
+ * The query used to search against existing metrics. Separate keywords with a space; the service
+ * joins all keywords with AND, meaning that all keywords must match for a metric to be returned.
+ * If this field is omitted, all metrics are returned. If an empty string is passed with this
+ * field, no metrics are returned.
+ * @return Google_Service_CloudMonitoring_ListMetricDescriptorsResponse
+ */
+ public function listMetricDescriptors($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_CloudMonitoring_ListMetricDescriptorsResponse");
+ }
+}
+
+/**
+ * The "timeseries" collection of methods.
+ * Typical usage is:
+ *
+ * $cloudmonitoringService = new Google_Service_CloudMonitoring(...);
+ * $timeseries = $cloudmonitoringService->timeseries;
+ *
+ */
+class Google_Service_CloudMonitoring_Timeseries_Resource extends Google_Service_Resource
+{
+
+ /**
+ * List the data points of the time series that match the metric and labels
+ * values and that have data points in the interval. Large responses are
+ * paginated; use the nextPageToken returned in the response to request
+ * subsequent pages of results by setting the pageToken query parameter to the
+ * value of the nextPageToken. (timeseries.listTimeseries)
+ *
+ * @param string $project
+ * The project ID to which this time series belongs. The value can be the numeric project ID or
+ * string-based project name.
+ * @param string $metric
+ * Metric names are protocol-free URLs as listed in the Supported Metrics page. For example,
+ * compute.googleapis.com/instance/disk/read_ops_count.
+ * @param string $youngest
+ * End of the time interval (inclusive), which is expressed as an RFC 3339 timestamp.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int count
+ * Maximum number of data points per page, which is used for pagination of results.
+ * @opt_param string timespan
+ * Length of the time interval to query, which is an alternative way to declare the interval:
+ * (youngest - timespan, youngest]. The timespan and oldest parameters should not be used together.
+ * Units:
+ - s: second
+ - m: minute
+ - h: hour
+ - d: day
+ - w: week Examples: 2s, 3m, 4w. Only
+ * one unit is allowed, for example: 2w3d is not allowed; you should use 17d instead.
+ If neither
+ * oldest nor timespan is specified, the default time interval will be (youngest - 4 hours,
+ * youngest].
+ * @opt_param string labels
+ * A collection of labels for the matching time series, which are represented as:
+ - key==value:
+ * key equals the value
+ - key=~value: key regex matches the value
+ - key!=value: key does not
+ * equal the value
+ - key!~value: key regex does not match the value For example, to list all of
+ * the time series descriptors for the region us-central1, you could specify:
+ * label=cloud.googleapis.com%2Flocation=~us-central1.*
+ * @opt_param string pageToken
+ * The pagination token, which is used to page through large result sets. Set this value to the
+ * value of the nextPageToken to retrieve the next page of results.
+ * @opt_param string oldest
+ * Start of the time interval (exclusive), which is expressed as an RFC 3339 timestamp. If neither
+ * oldest nor timespan is specified, the default time interval will be (youngest - 4 hours,
+ * youngest]
+ * @return Google_Service_CloudMonitoring_ListTimeseriesResponse
+ */
+ public function listTimeseries($project, $metric, $youngest, $optParams = array())
+ {
+ $params = array('project' => $project, 'metric' => $metric, 'youngest' => $youngest);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_CloudMonitoring_ListTimeseriesResponse");
+ }
+}
+
+/**
+ * The "timeseriesDescriptors" collection of methods.
+ * Typical usage is:
+ *
+ * $cloudmonitoringService = new Google_Service_CloudMonitoring(...);
+ * $timeseriesDescriptors = $cloudmonitoringService->timeseriesDescriptors;
+ *
+ */
+class Google_Service_CloudMonitoring_TimeseriesDescriptors_Resource extends Google_Service_Resource
+{
+
+ /**
+ * List the descriptors of the time series that match the metric and labels
+ * values and that have data points in the interval. Large responses are
+ * paginated; use the nextPageToken returned in the response to request
+ * subsequent pages of results by setting the pageToken query parameter to the
+ * value of the nextPageToken. (timeseriesDescriptors.listTimeseriesDescriptors)
+ *
+ * @param string $project
+ * The project ID to which this time series belongs. The value can be the numeric project ID or
+ * string-based project name.
+ * @param string $metric
+ * Metric names are protocol-free URLs as listed in the Supported Metrics page. For example,
+ * compute.googleapis.com/instance/disk/read_ops_count.
+ * @param string $youngest
+ * End of the time interval (inclusive), which is expressed as an RFC 3339 timestamp.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int count
+ * Maximum number of time series descriptors per page. Used for pagination. If not specified, count
+ * = 100.
+ * @opt_param string timespan
+ * Length of the time interval to query, which is an alternative way to declare the interval:
+ * (youngest - timespan, youngest]. The timespan and oldest parameters should not be used together.
+ * Units:
+ - s: second
+ - m: minute
+ - h: hour
+ - d: day
+ - w: week Examples: 2s, 3m, 4w. Only
+ * one unit is allowed, for example: 2w3d is not allowed; you should use 17d instead.
+ If neither
+ * oldest nor timespan is specified, the default time interval will be (youngest - 4 hours,
+ * youngest].
+ * @opt_param string labels
+ * A collection of labels for the matching time series, which are represented as:
+ - key==value:
+ * key equals the value
+ - key=~value: key regex matches the value
+ - key!=value: key does not
+ * equal the value
+ - key!~value: key regex does not match the value For example, to list all of
+ * the time series descriptors for the region us-central1, you could specify:
+ * label=cloud.googleapis.com%2Flocation=~us-central1.*
+ * @opt_param string pageToken
+ * The pagination token, which is used to page through large result sets. Set this value to the
+ * value of the nextPageToken to retrieve the next page of results.
+ * @opt_param string oldest
+ * Start of the time interval (exclusive), which is expressed as an RFC 3339 timestamp. If neither
+ * oldest nor timespan is specified, the default time interval will be (youngest - 4 hours,
+ * youngest]
+ * @return Google_Service_CloudMonitoring_ListTimeseriesDescriptorsResponse
+ */
+ public function listTimeseriesDescriptors($project, $metric, $youngest, $optParams = array())
+ {
+ $params = array('project' => $project, 'metric' => $metric, 'youngest' => $youngest);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_CloudMonitoring_ListTimeseriesDescriptorsResponse");
+ }
+}
+
+
+
+
+class Google_Service_CloudMonitoring_ListMetricDescriptorsRequest extends Google_Model
+{
+ public $kind;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_CloudMonitoring_ListMetricDescriptorsResponse extends Google_Collection
+{
+ public $kind;
+ protected $metricsType = 'Google_Service_CloudMonitoring_MetricDescriptor';
+ protected $metricsDataType = 'array';
+ public $nextPageToken;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setMetrics($metrics)
+ {
+ $this->metrics = $metrics;
+ }
+
+ public function getMetrics()
+ {
+ return $this->metrics;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_CloudMonitoring_ListTimeseriesDescriptorsRequest extends Google_Model
+{
+ public $kind;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_CloudMonitoring_ListTimeseriesDescriptorsResponse extends Google_Collection
+{
+ public $kind;
+ public $nextPageToken;
+ public $oldest;
+ protected $timeseriesType = 'Google_Service_CloudMonitoring_TimeseriesDescriptor';
+ protected $timeseriesDataType = 'array';
+ public $youngest;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setOldest($oldest)
+ {
+ $this->oldest = $oldest;
+ }
+
+ public function getOldest()
+ {
+ return $this->oldest;
+ }
+
+ public function setTimeseries($timeseries)
+ {
+ $this->timeseries = $timeseries;
+ }
+
+ public function getTimeseries()
+ {
+ return $this->timeseries;
+ }
+
+ public function setYoungest($youngest)
+ {
+ $this->youngest = $youngest;
+ }
+
+ public function getYoungest()
+ {
+ return $this->youngest;
+ }
+}
+
+class Google_Service_CloudMonitoring_ListTimeseriesRequest extends Google_Model
+{
+ public $kind;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_CloudMonitoring_ListTimeseriesResponse extends Google_Collection
+{
+ public $kind;
+ public $nextPageToken;
+ public $oldest;
+ protected $timeseriesType = 'Google_Service_CloudMonitoring_Timeseries';
+ protected $timeseriesDataType = 'array';
+ public $youngest;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setOldest($oldest)
+ {
+ $this->oldest = $oldest;
+ }
+
+ public function getOldest()
+ {
+ return $this->oldest;
+ }
+
+ public function setTimeseries($timeseries)
+ {
+ $this->timeseries = $timeseries;
+ }
+
+ public function getTimeseries()
+ {
+ return $this->timeseries;
+ }
+
+ public function setYoungest($youngest)
+ {
+ $this->youngest = $youngest;
+ }
+
+ public function getYoungest()
+ {
+ return $this->youngest;
+ }
+}
+
+class Google_Service_CloudMonitoring_MetricDescriptor extends Google_Collection
+{
+ public $description;
+ protected $labelsType = 'Google_Service_CloudMonitoring_MetricDescriptorLabelDescriptor';
+ protected $labelsDataType = 'array';
+ public $name;
+ public $project;
+ protected $typeDescriptorType = 'Google_Service_CloudMonitoring_MetricDescriptorTypeDescriptor';
+ protected $typeDescriptorDataType = '';
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setLabels($labels)
+ {
+ $this->labels = $labels;
+ }
+
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setProject($project)
+ {
+ $this->project = $project;
+ }
+
+ public function getProject()
+ {
+ return $this->project;
+ }
+
+ public function setTypeDescriptor(Google_Service_CloudMonitoring_MetricDescriptorTypeDescriptor $typeDescriptor)
+ {
+ $this->typeDescriptor = $typeDescriptor;
+ }
+
+ public function getTypeDescriptor()
+ {
+ return $this->typeDescriptor;
+ }
+}
+
+class Google_Service_CloudMonitoring_MetricDescriptorLabelDescriptor extends Google_Model
+{
+ public $description;
+ public $key;
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+
+ public function getKey()
+ {
+ return $this->key;
+ }
+}
+
+class Google_Service_CloudMonitoring_MetricDescriptorTypeDescriptor extends Google_Model
+{
+ public $metricType;
+ public $valueType;
+
+ public function setMetricType($metricType)
+ {
+ $this->metricType = $metricType;
+ }
+
+ public function getMetricType()
+ {
+ return $this->metricType;
+ }
+
+ public function setValueType($valueType)
+ {
+ $this->valueType = $valueType;
+ }
+
+ public function getValueType()
+ {
+ return $this->valueType;
+ }
+}
+
+class Google_Service_CloudMonitoring_Point extends Google_Model
+{
+ public $boolValue;
+ protected $distributionValueType = 'Google_Service_CloudMonitoring_PointDistribution';
+ protected $distributionValueDataType = '';
+ public $doubleValue;
+ public $end;
+ public $int64Value;
+ public $start;
+ public $stringValue;
+
+ public function setBoolValue($boolValue)
+ {
+ $this->boolValue = $boolValue;
+ }
+
+ public function getBoolValue()
+ {
+ return $this->boolValue;
+ }
+
+ public function setDistributionValue(Google_Service_CloudMonitoring_PointDistribution $distributionValue)
+ {
+ $this->distributionValue = $distributionValue;
+ }
+
+ public function getDistributionValue()
+ {
+ return $this->distributionValue;
+ }
+
+ public function setDoubleValue($doubleValue)
+ {
+ $this->doubleValue = $doubleValue;
+ }
+
+ public function getDoubleValue()
+ {
+ return $this->doubleValue;
+ }
+
+ public function setEnd($end)
+ {
+ $this->end = $end;
+ }
+
+ public function getEnd()
+ {
+ return $this->end;
+ }
+
+ public function setInt64Value($int64Value)
+ {
+ $this->int64Value = $int64Value;
+ }
+
+ public function getInt64Value()
+ {
+ return $this->int64Value;
+ }
+
+ public function setStart($start)
+ {
+ $this->start = $start;
+ }
+
+ public function getStart()
+ {
+ return $this->start;
+ }
+
+ public function setStringValue($stringValue)
+ {
+ $this->stringValue = $stringValue;
+ }
+
+ public function getStringValue()
+ {
+ return $this->stringValue;
+ }
+}
+
+class Google_Service_CloudMonitoring_PointDistribution extends Google_Collection
+{
+ protected $bucketsType = 'Google_Service_CloudMonitoring_PointDistributionBucket';
+ protected $bucketsDataType = 'array';
+ protected $overflowBucketType = 'Google_Service_CloudMonitoring_PointDistributionOverflowBucket';
+ protected $overflowBucketDataType = '';
+ protected $underflowBucketType = 'Google_Service_CloudMonitoring_PointDistributionUnderflowBucket';
+ protected $underflowBucketDataType = '';
+
+ public function setBuckets($buckets)
+ {
+ $this->buckets = $buckets;
+ }
+
+ public function getBuckets()
+ {
+ return $this->buckets;
+ }
+
+ public function setOverflowBucket(Google_Service_CloudMonitoring_PointDistributionOverflowBucket $overflowBucket)
+ {
+ $this->overflowBucket = $overflowBucket;
+ }
+
+ public function getOverflowBucket()
+ {
+ return $this->overflowBucket;
+ }
+
+ public function setUnderflowBucket(Google_Service_CloudMonitoring_PointDistributionUnderflowBucket $underflowBucket)
+ {
+ $this->underflowBucket = $underflowBucket;
+ }
+
+ public function getUnderflowBucket()
+ {
+ return $this->underflowBucket;
+ }
+}
+
+class Google_Service_CloudMonitoring_PointDistributionBucket extends Google_Model
+{
+ public $count;
+ public $lowerBound;
+ public $upperBound;
+
+ public function setCount($count)
+ {
+ $this->count = $count;
+ }
+
+ public function getCount()
+ {
+ return $this->count;
+ }
+
+ public function setLowerBound($lowerBound)
+ {
+ $this->lowerBound = $lowerBound;
+ }
+
+ public function getLowerBound()
+ {
+ return $this->lowerBound;
+ }
+
+ public function setUpperBound($upperBound)
+ {
+ $this->upperBound = $upperBound;
+ }
+
+ public function getUpperBound()
+ {
+ return $this->upperBound;
+ }
+}
+
+class Google_Service_CloudMonitoring_PointDistributionOverflowBucket extends Google_Model
+{
+ public $count;
+ public $lowerBound;
+
+ public function setCount($count)
+ {
+ $this->count = $count;
+ }
+
+ public function getCount()
+ {
+ return $this->count;
+ }
+
+ public function setLowerBound($lowerBound)
+ {
+ $this->lowerBound = $lowerBound;
+ }
+
+ public function getLowerBound()
+ {
+ return $this->lowerBound;
+ }
+}
+
+class Google_Service_CloudMonitoring_PointDistributionUnderflowBucket extends Google_Model
+{
+ public $count;
+ public $upperBound;
+
+ public function setCount($count)
+ {
+ $this->count = $count;
+ }
+
+ public function getCount()
+ {
+ return $this->count;
+ }
+
+ public function setUpperBound($upperBound)
+ {
+ $this->upperBound = $upperBound;
+ }
+
+ public function getUpperBound()
+ {
+ return $this->upperBound;
+ }
+}
+
+class Google_Service_CloudMonitoring_Timeseries extends Google_Collection
+{
+ protected $pointsType = 'Google_Service_CloudMonitoring_Point';
+ protected $pointsDataType = 'array';
+ protected $timeseriesDescType = 'Google_Service_CloudMonitoring_TimeseriesDescriptor';
+ protected $timeseriesDescDataType = '';
+
+ public function setPoints($points)
+ {
+ $this->points = $points;
+ }
+
+ public function getPoints()
+ {
+ return $this->points;
+ }
+
+ public function setTimeseriesDesc(Google_Service_CloudMonitoring_TimeseriesDescriptor $timeseriesDesc)
+ {
+ $this->timeseriesDesc = $timeseriesDesc;
+ }
+
+ public function getTimeseriesDesc()
+ {
+ return $this->timeseriesDesc;
+ }
+}
+
+class Google_Service_CloudMonitoring_TimeseriesDescriptor extends Google_Model
+{
+ public $labels;
+ public $metric;
+ public $project;
+
+ public function setLabels($labels)
+ {
+ $this->labels = $labels;
+ }
+
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+
+ public function setMetric($metric)
+ {
+ $this->metric = $metric;
+ }
+
+ public function getMetric()
+ {
+ return $this->metric;
+ }
+
+ public function setProject($project)
+ {
+ $this->project = $project;
+ }
+
+ public function getProject()
+ {
+ return $this->project;
+ }
+}
+
+class Google_Service_CloudMonitoring_TimeseriesDescriptorLabels extends Google_Model
+{
+
+}
From 4ae272683e18888362e1f935b813e345b99e23b8 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Sat, 9 Aug 2014 01:09:06 -0700
Subject: [PATCH 0431/1602] Removed Cloudmonitoring.php
---
src/Google/Service/Cloudmonitoring.php | 974 -------------------------
1 file changed, 974 deletions(-)
delete mode 100644 src/Google/Service/Cloudmonitoring.php
diff --git a/src/Google/Service/Cloudmonitoring.php b/src/Google/Service/Cloudmonitoring.php
deleted file mode 100644
index 48f5ca9b3..000000000
--- a/src/Google/Service/Cloudmonitoring.php
+++ /dev/null
@@ -1,974 +0,0 @@
-
- * API for accessing Google Cloud and API monitoring data.
- *
- *
- *
- * For more information about this service, see the API
- * Documentation
- *
- *
- * @author Google, Inc.
- */
-class Google_Service_Cloudmonitoring extends Google_Service
-{
- /** View monitoring data for all of your Google Cloud and API projects. */
- const MONITORING_READONLY = "https://www.googleapis.com/auth/monitoring.readonly";
-
- public $metricDescriptors;
- public $timeseries;
- public $timeseriesDescriptors;
-
-
- /**
- * Constructs the internal representation of the Cloudmonitoring service.
- *
- * @param Google_Client $client
- */
- public function __construct(Google_Client $client)
- {
- parent::__construct($client);
- $this->servicePath = 'cloudmonitoring/v2beta1/projects/';
- $this->version = 'v2beta1';
- $this->serviceName = 'cloudmonitoring';
-
- $this->metricDescriptors = new Google_Service_Cloudmonitoring_MetricDescriptors_Resource(
- $this,
- $this->serviceName,
- 'metricDescriptors',
- array(
- 'methods' => array(
- 'list' => array(
- 'path' => '{project}/metricDescriptors',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'project' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'count' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'query' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),
- )
- )
- );
- $this->timeseries = new Google_Service_Cloudmonitoring_Timeseries_Resource(
- $this,
- $this->serviceName,
- 'timeseries',
- array(
- 'methods' => array(
- 'list' => array(
- 'path' => '{project}/timeseries/{metric}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'project' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'metric' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'youngest' => array(
- 'location' => 'query',
- 'type' => 'string',
- 'required' => true,
- ),
- 'count' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- 'timespan' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'labels' => array(
- 'location' => 'query',
- 'type' => 'string',
- 'repeated' => true,
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'oldest' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),
- )
- )
- );
- $this->timeseriesDescriptors = new Google_Service_Cloudmonitoring_TimeseriesDescriptors_Resource(
- $this,
- $this->serviceName,
- 'timeseriesDescriptors',
- array(
- 'methods' => array(
- 'list' => array(
- 'path' => '{project}/timeseriesDescriptors/{metric}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'project' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'metric' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'youngest' => array(
- 'location' => 'query',
- 'type' => 'string',
- 'required' => true,
- ),
- 'count' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- 'timespan' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'labels' => array(
- 'location' => 'query',
- 'type' => 'string',
- 'repeated' => true,
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'oldest' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),
- )
- )
- );
- }
-}
-
-
-/**
- * The "metricDescriptors" collection of methods.
- * Typical usage is:
- *
- * $cloudmonitoringService = new Google_Service_Cloudmonitoring(...);
- * $metricDescriptors = $cloudmonitoringService->metricDescriptors;
- *
- */
-class Google_Service_Cloudmonitoring_MetricDescriptors_Resource extends Google_Service_Resource
-{
-
- /**
- * List metric descriptors that match the query. If the query is not set, then
- * all of the metric descriptors will be returned. Large responses will be
- * paginated, use the nextPageToken returned in the response to request
- * subsequent pages of results by setting the pageToken query parameter to the
- * value of the nextPageToken. (metricDescriptors.listMetricDescriptors)
- *
- * @param string $project
- * The project id. The value can be the numeric project ID or string-based project name.
- * @param array $optParams Optional parameters.
- *
- * @opt_param int count
- * Maximum number of metric descriptors per page. Used for pagination. If not specified, count =
- * 100.
- * @opt_param string pageToken
- * The pagination token, which is used to page through large result sets. Set this value to the
- * value of the nextPageToken to retrieve the next page of results.
- * @opt_param string query
- * The query used to search against existing metrics. Separate keywords with a space; the service
- * joins all keywords with AND, meaning that all keywords must match for a metric to be returned.
- * If this field is omitted, all metrics are returned. If an empty string is passed with this
- * field, no metrics are returned.
- * @return Google_Service_Cloudmonitoring_ListMetricDescriptorsResponse
- */
- public function listMetricDescriptors($project, $optParams = array())
- {
- $params = array('project' => $project);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Cloudmonitoring_ListMetricDescriptorsResponse");
- }
-}
-
-/**
- * The "timeseries" collection of methods.
- * Typical usage is:
- *
- * $cloudmonitoringService = new Google_Service_Cloudmonitoring(...);
- * $timeseries = $cloudmonitoringService->timeseries;
- *
- */
-class Google_Service_Cloudmonitoring_Timeseries_Resource extends Google_Service_Resource
-{
-
- /**
- * List the data points of the time series that match the metric and labels
- * values and that have data points in the interval. Large responses are
- * paginated; use the nextPageToken returned in the response to request
- * subsequent pages of results by setting the pageToken query parameter to the
- * value of the nextPageToken. (timeseries.listTimeseries)
- *
- * @param string $project
- * The project ID to which this time series belongs. The value can be the numeric project ID or
- * string-based project name.
- * @param string $metric
- * Metric names are protocol-free URLs as listed in the Supported Metrics page. For example,
- * compute.googleapis.com/instance/disk/read_ops_count.
- * @param string $youngest
- * End of the time interval (inclusive), which is expressed as an RFC 3339 timestamp.
- * @param array $optParams Optional parameters.
- *
- * @opt_param int count
- * Maximum number of data points per page, which is used for pagination of results.
- * @opt_param string timespan
- * Length of the time interval to query, which is an alternative way to declare the interval:
- * (youngest - timespan, youngest]. The timespan and oldest parameters should not be used together.
- * Units:
- - s: second
- - m: minute
- - h: hour
- - d: day
- - w: week Examples: 2s, 3m, 4w. Only
- * one unit is allowed, for example: 2w3d is not allowed; you should use 17d instead.
- If neither
- * oldest nor timespan is specified, the default time interval will be (youngest - 4 hours,
- * youngest].
- * @opt_param string labels
- * A collection of labels for the matching time series, which are represented as:
- - key==value:
- * key equals the value
- - key=~value: key regex matches the value
- - key!=value: key does not
- * equal the value
- - key!~value: key regex does not match the value For example, to list all of
- * the time series descriptors for the region us-central1, you could specify:
- * label=cloud.googleapis.com%2Flocation=~us-central1.*
- * @opt_param string pageToken
- * The pagination token, which is used to page through large result sets. Set this value to the
- * value of the nextPageToken to retrieve the next page of results.
- * @opt_param string oldest
- * Start of the time interval (exclusive), which is expressed as an RFC 3339 timestamp. If neither
- * oldest nor timespan is specified, the default time interval will be (youngest - 4 hours,
- * youngest]
- * @return Google_Service_Cloudmonitoring_ListTimeseriesResponse
- */
- public function listTimeseries($project, $metric, $youngest, $optParams = array())
- {
- $params = array('project' => $project, 'metric' => $metric, 'youngest' => $youngest);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Cloudmonitoring_ListTimeseriesResponse");
- }
-}
-
-/**
- * The "timeseriesDescriptors" collection of methods.
- * Typical usage is:
- *
- * $cloudmonitoringService = new Google_Service_Cloudmonitoring(...);
- * $timeseriesDescriptors = $cloudmonitoringService->timeseriesDescriptors;
- *
- */
-class Google_Service_Cloudmonitoring_TimeseriesDescriptors_Resource extends Google_Service_Resource
-{
-
- /**
- * List the descriptors of the time series that match the metric and labels
- * values and that have data points in the interval. Large responses are
- * paginated; use the nextPageToken returned in the response to request
- * subsequent pages of results by setting the pageToken query parameter to the
- * value of the nextPageToken. (timeseriesDescriptors.listTimeseriesDescriptors)
- *
- * @param string $project
- * The project ID to which this time series belongs. The value can be the numeric project ID or
- * string-based project name.
- * @param string $metric
- * Metric names are protocol-free URLs as listed in the Supported Metrics page. For example,
- * compute.googleapis.com/instance/disk/read_ops_count.
- * @param string $youngest
- * End of the time interval (inclusive), which is expressed as an RFC 3339 timestamp.
- * @param array $optParams Optional parameters.
- *
- * @opt_param int count
- * Maximum number of time series descriptors per page. Used for pagination. If not specified, count
- * = 100.
- * @opt_param string timespan
- * Length of the time interval to query, which is an alternative way to declare the interval:
- * (youngest - timespan, youngest]. The timespan and oldest parameters should not be used together.
- * Units:
- - s: second
- - m: minute
- - h: hour
- - d: day
- - w: week Examples: 2s, 3m, 4w. Only
- * one unit is allowed, for example: 2w3d is not allowed; you should use 17d instead.
- If neither
- * oldest nor timespan is specified, the default time interval will be (youngest - 4 hours,
- * youngest].
- * @opt_param string labels
- * A collection of labels for the matching time series, which are represented as:
- - key==value:
- * key equals the value
- - key=~value: key regex matches the value
- - key!=value: key does not
- * equal the value
- - key!~value: key regex does not match the value For example, to list all of
- * the time series descriptors for the region us-central1, you could specify:
- * label=cloud.googleapis.com%2Flocation=~us-central1.*
- * @opt_param string pageToken
- * The pagination token, which is used to page through large result sets. Set this value to the
- * value of the nextPageToken to retrieve the next page of results.
- * @opt_param string oldest
- * Start of the time interval (exclusive), which is expressed as an RFC 3339 timestamp. If neither
- * oldest nor timespan is specified, the default time interval will be (youngest - 4 hours,
- * youngest]
- * @return Google_Service_Cloudmonitoring_ListTimeseriesDescriptorsResponse
- */
- public function listTimeseriesDescriptors($project, $metric, $youngest, $optParams = array())
- {
- $params = array('project' => $project, 'metric' => $metric, 'youngest' => $youngest);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Cloudmonitoring_ListTimeseriesDescriptorsResponse");
- }
-}
-
-
-
-
-class Google_Service_Cloudmonitoring_ListMetricDescriptorsRequest extends Google_Model
-{
- public $kind;
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-}
-
-class Google_Service_Cloudmonitoring_ListMetricDescriptorsResponse extends Google_Collection
-{
- public $kind;
- protected $metricsType = 'Google_Service_Cloudmonitoring_MetricDescriptor';
- protected $metricsDataType = 'array';
- public $nextPageToken;
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setMetrics($metrics)
- {
- $this->metrics = $metrics;
- }
-
- public function getMetrics()
- {
- return $this->metrics;
- }
-
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
-
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-}
-
-class Google_Service_Cloudmonitoring_ListTimeseriesDescriptorsRequest extends Google_Model
-{
- public $kind;
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-}
-
-class Google_Service_Cloudmonitoring_ListTimeseriesDescriptorsResponse extends Google_Collection
-{
- public $kind;
- public $nextPageToken;
- public $oldest;
- protected $timeseriesType = 'Google_Service_Cloudmonitoring_TimeseriesDescriptor';
- protected $timeseriesDataType = 'array';
- public $youngest;
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
-
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-
- public function setOldest($oldest)
- {
- $this->oldest = $oldest;
- }
-
- public function getOldest()
- {
- return $this->oldest;
- }
-
- public function setTimeseries($timeseries)
- {
- $this->timeseries = $timeseries;
- }
-
- public function getTimeseries()
- {
- return $this->timeseries;
- }
-
- public function setYoungest($youngest)
- {
- $this->youngest = $youngest;
- }
-
- public function getYoungest()
- {
- return $this->youngest;
- }
-}
-
-class Google_Service_Cloudmonitoring_ListTimeseriesRequest extends Google_Model
-{
- public $kind;
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-}
-
-class Google_Service_Cloudmonitoring_ListTimeseriesResponse extends Google_Collection
-{
- public $kind;
- public $nextPageToken;
- public $oldest;
- protected $timeseriesType = 'Google_Service_Cloudmonitoring_Timeseries';
- protected $timeseriesDataType = 'array';
- public $youngest;
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
-
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-
- public function setOldest($oldest)
- {
- $this->oldest = $oldest;
- }
-
- public function getOldest()
- {
- return $this->oldest;
- }
-
- public function setTimeseries($timeseries)
- {
- $this->timeseries = $timeseries;
- }
-
- public function getTimeseries()
- {
- return $this->timeseries;
- }
-
- public function setYoungest($youngest)
- {
- $this->youngest = $youngest;
- }
-
- public function getYoungest()
- {
- return $this->youngest;
- }
-}
-
-class Google_Service_Cloudmonitoring_MetricDescriptor extends Google_Collection
-{
- public $description;
- protected $labelsType = 'Google_Service_Cloudmonitoring_MetricDescriptorLabelDescriptor';
- protected $labelsDataType = 'array';
- public $name;
- public $project;
- protected $typeDescriptorType = 'Google_Service_Cloudmonitoring_MetricDescriptorTypeDescriptor';
- protected $typeDescriptorDataType = '';
-
- public function setDescription($description)
- {
- $this->description = $description;
- }
-
- public function getDescription()
- {
- return $this->description;
- }
-
- public function setLabels($labels)
- {
- $this->labels = $labels;
- }
-
- public function getLabels()
- {
- return $this->labels;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setProject($project)
- {
- $this->project = $project;
- }
-
- public function getProject()
- {
- return $this->project;
- }
-
- public function setTypeDescriptor(Google_Service_Cloudmonitoring_MetricDescriptorTypeDescriptor $typeDescriptor)
- {
- $this->typeDescriptor = $typeDescriptor;
- }
-
- public function getTypeDescriptor()
- {
- return $this->typeDescriptor;
- }
-}
-
-class Google_Service_Cloudmonitoring_MetricDescriptorLabelDescriptor extends Google_Model
-{
- public $description;
- public $key;
-
- public function setDescription($description)
- {
- $this->description = $description;
- }
-
- public function getDescription()
- {
- return $this->description;
- }
-
- public function setKey($key)
- {
- $this->key = $key;
- }
-
- public function getKey()
- {
- return $this->key;
- }
-}
-
-class Google_Service_Cloudmonitoring_MetricDescriptorTypeDescriptor extends Google_Model
-{
- public $metricType;
- public $valueType;
-
- public function setMetricType($metricType)
- {
- $this->metricType = $metricType;
- }
-
- public function getMetricType()
- {
- return $this->metricType;
- }
-
- public function setValueType($valueType)
- {
- $this->valueType = $valueType;
- }
-
- public function getValueType()
- {
- return $this->valueType;
- }
-}
-
-class Google_Service_Cloudmonitoring_Point extends Google_Model
-{
- public $boolValue;
- protected $distributionValueType = 'Google_Service_Cloudmonitoring_PointDistribution';
- protected $distributionValueDataType = '';
- public $doubleValue;
- public $end;
- public $int64Value;
- public $start;
- public $stringValue;
-
- public function setBoolValue($boolValue)
- {
- $this->boolValue = $boolValue;
- }
-
- public function getBoolValue()
- {
- return $this->boolValue;
- }
-
- public function setDistributionValue(Google_Service_Cloudmonitoring_PointDistribution $distributionValue)
- {
- $this->distributionValue = $distributionValue;
- }
-
- public function getDistributionValue()
- {
- return $this->distributionValue;
- }
-
- public function setDoubleValue($doubleValue)
- {
- $this->doubleValue = $doubleValue;
- }
-
- public function getDoubleValue()
- {
- return $this->doubleValue;
- }
-
- public function setEnd($end)
- {
- $this->end = $end;
- }
-
- public function getEnd()
- {
- return $this->end;
- }
-
- public function setInt64Value($int64Value)
- {
- $this->int64Value = $int64Value;
- }
-
- public function getInt64Value()
- {
- return $this->int64Value;
- }
-
- public function setStart($start)
- {
- $this->start = $start;
- }
-
- public function getStart()
- {
- return $this->start;
- }
-
- public function setStringValue($stringValue)
- {
- $this->stringValue = $stringValue;
- }
-
- public function getStringValue()
- {
- return $this->stringValue;
- }
-}
-
-class Google_Service_Cloudmonitoring_PointDistribution extends Google_Collection
-{
- protected $bucketsType = 'Google_Service_Cloudmonitoring_PointDistributionBucket';
- protected $bucketsDataType = 'array';
- protected $overflowBucketType = 'Google_Service_Cloudmonitoring_PointDistributionOverflowBucket';
- protected $overflowBucketDataType = '';
- protected $underflowBucketType = 'Google_Service_Cloudmonitoring_PointDistributionUnderflowBucket';
- protected $underflowBucketDataType = '';
-
- public function setBuckets($buckets)
- {
- $this->buckets = $buckets;
- }
-
- public function getBuckets()
- {
- return $this->buckets;
- }
-
- public function setOverflowBucket(Google_Service_Cloudmonitoring_PointDistributionOverflowBucket $overflowBucket)
- {
- $this->overflowBucket = $overflowBucket;
- }
-
- public function getOverflowBucket()
- {
- return $this->overflowBucket;
- }
-
- public function setUnderflowBucket(Google_Service_Cloudmonitoring_PointDistributionUnderflowBucket $underflowBucket)
- {
- $this->underflowBucket = $underflowBucket;
- }
-
- public function getUnderflowBucket()
- {
- return $this->underflowBucket;
- }
-}
-
-class Google_Service_Cloudmonitoring_PointDistributionBucket extends Google_Model
-{
- public $count;
- public $lowerBound;
- public $upperBound;
-
- public function setCount($count)
- {
- $this->count = $count;
- }
-
- public function getCount()
- {
- return $this->count;
- }
-
- public function setLowerBound($lowerBound)
- {
- $this->lowerBound = $lowerBound;
- }
-
- public function getLowerBound()
- {
- return $this->lowerBound;
- }
-
- public function setUpperBound($upperBound)
- {
- $this->upperBound = $upperBound;
- }
-
- public function getUpperBound()
- {
- return $this->upperBound;
- }
-}
-
-class Google_Service_Cloudmonitoring_PointDistributionOverflowBucket extends Google_Model
-{
- public $count;
- public $lowerBound;
-
- public function setCount($count)
- {
- $this->count = $count;
- }
-
- public function getCount()
- {
- return $this->count;
- }
-
- public function setLowerBound($lowerBound)
- {
- $this->lowerBound = $lowerBound;
- }
-
- public function getLowerBound()
- {
- return $this->lowerBound;
- }
-}
-
-class Google_Service_Cloudmonitoring_PointDistributionUnderflowBucket extends Google_Model
-{
- public $count;
- public $upperBound;
-
- public function setCount($count)
- {
- $this->count = $count;
- }
-
- public function getCount()
- {
- return $this->count;
- }
-
- public function setUpperBound($upperBound)
- {
- $this->upperBound = $upperBound;
- }
-
- public function getUpperBound()
- {
- return $this->upperBound;
- }
-}
-
-class Google_Service_Cloudmonitoring_Timeseries extends Google_Collection
-{
- protected $pointsType = 'Google_Service_Cloudmonitoring_Point';
- protected $pointsDataType = 'array';
- protected $timeseriesDescType = 'Google_Service_Cloudmonitoring_TimeseriesDescriptor';
- protected $timeseriesDescDataType = '';
-
- public function setPoints($points)
- {
- $this->points = $points;
- }
-
- public function getPoints()
- {
- return $this->points;
- }
-
- public function setTimeseriesDesc(Google_Service_Cloudmonitoring_TimeseriesDescriptor $timeseriesDesc)
- {
- $this->timeseriesDesc = $timeseriesDesc;
- }
-
- public function getTimeseriesDesc()
- {
- return $this->timeseriesDesc;
- }
-}
-
-class Google_Service_Cloudmonitoring_TimeseriesDescriptor extends Google_Model
-{
- public $labels;
- public $metric;
- public $project;
-
- public function setLabels($labels)
- {
- $this->labels = $labels;
- }
-
- public function getLabels()
- {
- return $this->labels;
- }
-
- public function setMetric($metric)
- {
- $this->metric = $metric;
- }
-
- public function getMetric()
- {
- return $this->metric;
- }
-
- public function setProject($project)
- {
- $this->project = $project;
- }
-
- public function getProject()
- {
- return $this->project;
- }
-}
-
-class Google_Service_Cloudmonitoring_TimeseriesDescriptorLabels extends Google_Model
-{
-
-}
From 868a41c1e2e716642eeca513e2134df9b0809e9d Mon Sep 17 00:00:00 2001
From: Ian Barber
Date: Mon, 11 Aug 2014 17:48:47 +0100
Subject: [PATCH 0432/1602] Remove the timezone set.
Fixes #253 - as far as we can tell the timezone setting adds no benefit
other than removing a warning, which should be addressed in the system.
---
src/Google/Client.php | 5 -----
1 file changed, 5 deletions(-)
diff --git a/src/Google/Client.php b/src/Google/Client.php
index 18197b35f..1ec2f32c3 100644
--- a/src/Google/Client.php
+++ b/src/Google/Client.php
@@ -80,11 +80,6 @@ class Google_Client
*/
public function __construct($config = null)
{
- if (! ini_get('date.timezone') &&
- function_exists('date_default_timezone_set')) {
- date_default_timezone_set('UTC');
- }
-
if (is_string($config) && strlen($config)) {
$config = new Google_Config($config);
} else if ( !($config instanceof Google_Config)) {
From e05a68f3fe8371ffe76fc5c6d1bf0d967ca7f42e Mon Sep 17 00:00:00 2001
From: Ian Barber
Date: Mon, 11 Aug 2014 17:51:33 +0100
Subject: [PATCH 0433/1602] Add install instructions link to README
Fixed #273
---
README.md | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/README.md b/README.md
index 78bb88a34..0fce927d6 100644
--- a/README.md
+++ b/README.md
@@ -12,6 +12,10 @@ The Google API Client Library enables you to work with Google APIs such as Googl
## Developer Documentation ##
http://developers.google.com/api-client-library/php
+## Installation ##
+
+For the latest installation and setup instructions, see [the documentation[(https://developers.google.com/api-client-library/php/start/installation)
+
## Basic Example ##
See the examples/ directory for examples of the key client features.
```PHP
From 016b6cf4c1b8ecd8c6b2299f447634081636f94c Mon Sep 17 00:00:00 2001
From: Ian Barber
Date: Mon, 11 Aug 2014 17:52:40 +0100
Subject: [PATCH 0434/1602] Fix typo
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 0fce927d6..8bacd6861 100644
--- a/README.md
+++ b/README.md
@@ -14,7 +14,7 @@ http://developers.google.com/api-client-library/php
## Installation ##
-For the latest installation and setup instructions, see [the documentation[(https://developers.google.com/api-client-library/php/start/installation)
+For the latest installation and setup instructions, see [the documentation](https://developers.google.com/api-client-library/php/start/installation)
## Basic Example ##
See the examples/ directory for examples of the key client features.
From 9cc33e71f3e5a018c8d6fba22ae5ab2bd1b80e98 Mon Sep 17 00:00:00 2001
From: Ian Barber
Date: Mon, 11 Aug 2014 17:53:58 +0100
Subject: [PATCH 0435/1602] Add full stop
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 8bacd6861..dba6a26d8 100644
--- a/README.md
+++ b/README.md
@@ -14,7 +14,7 @@ http://developers.google.com/api-client-library/php
## Installation ##
-For the latest installation and setup instructions, see [the documentation](https://developers.google.com/api-client-library/php/start/installation)
+For the latest installation and setup instructions, see [the documentation](https://developers.google.com/api-client-library/php/start/installation).
## Basic Example ##
See the examples/ directory for examples of the key client features.
From 1c114105021fe2bae2ecac129968163020a5fee8 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Tue, 12 Aug 2014 01:12:34 -0700
Subject: [PATCH 0436/1602] Updated Autoscaler.php
---
src/Google/Service/Autoscaler.php | 67 ++++++++++++++++++++++++++++++-
1 file changed, 66 insertions(+), 1 deletion(-)
diff --git a/src/Google/Service/Autoscaler.php b/src/Google/Service/Autoscaler.php
index 0a7939f48..5a31425a1 100644
--- a/src/Google/Service/Autoscaler.php
+++ b/src/Google/Service/Autoscaler.php
@@ -579,11 +579,15 @@ public function getNextPageToken()
}
}
-class Google_Service_Autoscaler_AutoscalingPolicy extends Google_Model
+class Google_Service_Autoscaler_AutoscalingPolicy extends Google_Collection
{
public $coolDownPeriodSec;
protected $cpuUtilizationType = 'Google_Service_Autoscaler_AutoscalingPolicyCpuUtilization';
protected $cpuUtilizationDataType = '';
+ protected $customMetricUtilizationsType = 'Google_Service_Autoscaler_AutoscalingPolicyCustomMetricUtilization';
+ protected $customMetricUtilizationsDataType = 'array';
+ protected $loadBalancingUtilizationType = 'Google_Service_Autoscaler_AutoscalingPolicyLoadBalancingUtilization';
+ protected $loadBalancingUtilizationDataType = '';
public $maxNumReplicas;
public $minNumReplicas;
@@ -607,6 +611,26 @@ public function getCpuUtilization()
return $this->cpuUtilization;
}
+ public function setCustomMetricUtilizations($customMetricUtilizations)
+ {
+ $this->customMetricUtilizations = $customMetricUtilizations;
+ }
+
+ public function getCustomMetricUtilizations()
+ {
+ return $this->customMetricUtilizations;
+ }
+
+ public function setLoadBalancingUtilization(Google_Service_Autoscaler_AutoscalingPolicyLoadBalancingUtilization $loadBalancingUtilization)
+ {
+ $this->loadBalancingUtilization = $loadBalancingUtilization;
+ }
+
+ public function getLoadBalancingUtilization()
+ {
+ return $this->loadBalancingUtilization;
+ }
+
public function setMaxNumReplicas($maxNumReplicas)
{
$this->maxNumReplicas = $maxNumReplicas;
@@ -643,6 +667,47 @@ public function getUtilizationTarget()
}
}
+class Google_Service_Autoscaler_AutoscalingPolicyCustomMetricUtilization extends Google_Model
+{
+ public $metric;
+ public $utilizationTarget;
+
+ public function setMetric($metric)
+ {
+ $this->metric = $metric;
+ }
+
+ public function getMetric()
+ {
+ return $this->metric;
+ }
+
+ public function setUtilizationTarget($utilizationTarget)
+ {
+ $this->utilizationTarget = $utilizationTarget;
+ }
+
+ public function getUtilizationTarget()
+ {
+ return $this->utilizationTarget;
+ }
+}
+
+class Google_Service_Autoscaler_AutoscalingPolicyLoadBalancingUtilization extends Google_Model
+{
+ public $utilizationTarget;
+
+ public function setUtilizationTarget($utilizationTarget)
+ {
+ $this->utilizationTarget = $utilizationTarget;
+ }
+
+ public function getUtilizationTarget()
+ {
+ return $this->utilizationTarget;
+ }
+}
+
class Google_Service_Autoscaler_Operation extends Google_Collection
{
public $clientOperationId;
From 9394607e0a3204654738f4b63c8ad995ec562236 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Tue, 12 Aug 2014 01:12:35 -0700
Subject: [PATCH 0437/1602] Updated ShoppingContent.php
---
src/Google/Service/ShoppingContent.php | 705 -------------------------
1 file changed, 705 deletions(-)
diff --git a/src/Google/Service/ShoppingContent.php b/src/Google/Service/ShoppingContent.php
index 09e89565f..5a7ad1417 100644
--- a/src/Google/Service/ShoppingContent.php
+++ b/src/Google/Service/ShoppingContent.php
@@ -35,9 +35,7 @@ class Google_Service_ShoppingContent extends Google_Service
const CONTENT = "https://www.googleapis.com/auth/content";
public $accounts;
- public $accountshipping;
public $accountstatuses;
- public $accounttax;
public $datafeeds;
public $datafeedstatuses;
public $inventory;
@@ -159,31 +157,6 @@ public function __construct(Google_Client $client)
)
)
);
- $this->accountshipping = new Google_Service_ShoppingContent_Accountshipping_Resource(
- $this,
- $this->serviceName,
- 'accountshipping',
- array(
- 'methods' => array(
- 'patch' => array(
- 'path' => '{merchantId}/accountshipping/{accountId}',
- 'httpMethod' => 'PATCH',
- 'parameters' => array(
- 'merchantId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'accountId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),
- )
- )
- );
$this->accountstatuses = new Google_Service_ShoppingContent_Accountstatuses_Resource(
$this,
$this->serviceName,
@@ -231,31 +204,6 @@ public function __construct(Google_Client $client)
)
)
);
- $this->accounttax = new Google_Service_ShoppingContent_Accounttax_Resource(
- $this,
- $this->serviceName,
- 'accounttax',
- array(
- 'methods' => array(
- 'patch' => array(
- 'path' => '{merchantId}/accounttax/{accountId}',
- 'httpMethod' => 'PATCH',
- 'parameters' => array(
- 'merchantId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'accountId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),
- )
- )
- );
$this->datafeeds = new Google_Service_ShoppingContent_Datafeeds_Resource(
$this,
$this->serviceName,
@@ -695,37 +643,6 @@ public function update($merchantId, $accountId, Google_Service_ShoppingContent_A
}
}
-/**
- * The "accountshipping" collection of methods.
- * Typical usage is:
- *
- * $contentService = new Google_Service_ShoppingContent(...);
- * $accountshipping = $contentService->accountshipping;
- *
- */
-class Google_Service_ShoppingContent_Accountshipping_Resource extends Google_Service_Resource
-{
-
- /**
- * Updates the shipping settings of the account. This method supports patch
- * semantics. (accountshipping.patch)
- *
- * @param string $merchantId
- * The ID of the managing account.
- * @param string $accountId
- * The ID of the account for which to get/update account shipping settings.
- * @param Google_AccountShipping $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_ShoppingContent_AccountShipping
- */
- public function patch($merchantId, $accountId, Google_Service_ShoppingContent_AccountShipping $postBody, $optParams = array())
- {
- $params = array('merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('patch', array($params), "Google_Service_ShoppingContent_AccountShipping");
- }
-}
-
/**
* The "accountstatuses" collection of methods.
* Typical usage is:
@@ -788,37 +705,6 @@ public function listAccountstatuses($merchantId, $optParams = array())
}
}
-/**
- * The "accounttax" collection of methods.
- * Typical usage is:
- *
- * $contentService = new Google_Service_ShoppingContent(...);
- * $accounttax = $contentService->accounttax;
- *
- */
-class Google_Service_ShoppingContent_Accounttax_Resource extends Google_Service_Resource
-{
-
- /**
- * Updates the tax settings of the account. This method supports patch
- * semantics. (accounttax.patch)
- *
- * @param string $merchantId
- * The ID of the managing account.
- * @param string $accountId
- * The ID of the account for which to get/update account tax settings.
- * @param Google_AccountTax $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_ShoppingContent_AccountTax
- */
- public function patch($merchantId, $accountId, Google_Service_ShoppingContent_AccountTax $postBody, $optParams = array())
- {
- $params = array('merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('patch', array($params), "Google_Service_ShoppingContent_AccountTax");
- }
-}
-
/**
* The "datafeeds" collection of methods.
* Typical usage is:
@@ -1372,474 +1258,6 @@ public function getStatus()
}
}
-class Google_Service_ShoppingContent_AccountShipping extends Google_Collection
-{
- public $accountId;
- protected $carrierRatesType = 'Google_Service_ShoppingContent_AccountShippingCarrierRate';
- protected $carrierRatesDataType = 'array';
- public $kind;
- protected $locationGroupsType = 'Google_Service_ShoppingContent_AccountShippingLocationGroup';
- protected $locationGroupsDataType = 'array';
- protected $rateTablesType = 'Google_Service_ShoppingContent_AccountShippingRateTable';
- protected $rateTablesDataType = 'array';
- protected $servicesType = 'Google_Service_ShoppingContent_AccountShippingShippingService';
- protected $servicesDataType = 'array';
-
- public function setAccountId($accountId)
- {
- $this->accountId = $accountId;
- }
-
- public function getAccountId()
- {
- return $this->accountId;
- }
-
- public function setCarrierRates($carrierRates)
- {
- $this->carrierRates = $carrierRates;
- }
-
- public function getCarrierRates()
- {
- return $this->carrierRates;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setLocationGroups($locationGroups)
- {
- $this->locationGroups = $locationGroups;
- }
-
- public function getLocationGroups()
- {
- return $this->locationGroups;
- }
-
- public function setRateTables($rateTables)
- {
- $this->rateTables = $rateTables;
- }
-
- public function getRateTables()
- {
- return $this->rateTables;
- }
-
- public function setServices($services)
- {
- $this->services = $services;
- }
-
- public function getServices()
- {
- return $this->services;
- }
-}
-
-class Google_Service_ShoppingContent_AccountShippingCarrierRate extends Google_Model
-{
- public $carrier;
- public $carrierService;
- protected $modifierFlatRateType = 'Google_Service_ShoppingContent_Price';
- protected $modifierFlatRateDataType = '';
- public $modifierPercent;
- public $name;
- public $saleCountry;
- public $shippingOrigin;
-
- public function setCarrier($carrier)
- {
- $this->carrier = $carrier;
- }
-
- public function getCarrier()
- {
- return $this->carrier;
- }
-
- public function setCarrierService($carrierService)
- {
- $this->carrierService = $carrierService;
- }
-
- public function getCarrierService()
- {
- return $this->carrierService;
- }
-
- public function setModifierFlatRate(Google_Service_ShoppingContent_Price $modifierFlatRate)
- {
- $this->modifierFlatRate = $modifierFlatRate;
- }
-
- public function getModifierFlatRate()
- {
- return $this->modifierFlatRate;
- }
-
- public function setModifierPercent($modifierPercent)
- {
- $this->modifierPercent = $modifierPercent;
- }
-
- public function getModifierPercent()
- {
- return $this->modifierPercent;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setSaleCountry($saleCountry)
- {
- $this->saleCountry = $saleCountry;
- }
-
- public function getSaleCountry()
- {
- return $this->saleCountry;
- }
-
- public function setShippingOrigin($shippingOrigin)
- {
- $this->shippingOrigin = $shippingOrigin;
- }
-
- public function getShippingOrigin()
- {
- return $this->shippingOrigin;
- }
-}
-
-class Google_Service_ShoppingContent_AccountShippingCondition extends Google_Model
-{
- public $deliveryLocationGroup;
- public $deliveryLocationId;
- protected $deliveryPostalCodeType = 'Google_Service_ShoppingContent_AccountShippingPostalCodeRange';
- protected $deliveryPostalCodeDataType = '';
- protected $priceMaxType = 'Google_Service_ShoppingContent_Price';
- protected $priceMaxDataType = '';
- public $shippingLabel;
- protected $weightMaxType = 'Google_Service_ShoppingContent_Weight';
- protected $weightMaxDataType = '';
-
- public function setDeliveryLocationGroup($deliveryLocationGroup)
- {
- $this->deliveryLocationGroup = $deliveryLocationGroup;
- }
-
- public function getDeliveryLocationGroup()
- {
- return $this->deliveryLocationGroup;
- }
-
- public function setDeliveryLocationId($deliveryLocationId)
- {
- $this->deliveryLocationId = $deliveryLocationId;
- }
-
- public function getDeliveryLocationId()
- {
- return $this->deliveryLocationId;
- }
-
- public function setDeliveryPostalCode(Google_Service_ShoppingContent_AccountShippingPostalCodeRange $deliveryPostalCode)
- {
- $this->deliveryPostalCode = $deliveryPostalCode;
- }
-
- public function getDeliveryPostalCode()
- {
- return $this->deliveryPostalCode;
- }
-
- public function setPriceMax(Google_Service_ShoppingContent_Price $priceMax)
- {
- $this->priceMax = $priceMax;
- }
-
- public function getPriceMax()
- {
- return $this->priceMax;
- }
-
- public function setShippingLabel($shippingLabel)
- {
- $this->shippingLabel = $shippingLabel;
- }
-
- public function getShippingLabel()
- {
- return $this->shippingLabel;
- }
-
- public function setWeightMax(Google_Service_ShoppingContent_Weight $weightMax)
- {
- $this->weightMax = $weightMax;
- }
-
- public function getWeightMax()
- {
- return $this->weightMax;
- }
-}
-
-class Google_Service_ShoppingContent_AccountShippingLocationGroup extends Google_Collection
-{
- public $country;
- public $locationIds;
- public $name;
- protected $postalCodesType = 'Google_Service_ShoppingContent_AccountShippingPostalCodeRange';
- protected $postalCodesDataType = 'array';
-
- public function setCountry($country)
- {
- $this->country = $country;
- }
-
- public function getCountry()
- {
- return $this->country;
- }
-
- public function setLocationIds($locationIds)
- {
- $this->locationIds = $locationIds;
- }
-
- public function getLocationIds()
- {
- return $this->locationIds;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setPostalCodes($postalCodes)
- {
- $this->postalCodes = $postalCodes;
- }
-
- public function getPostalCodes()
- {
- return $this->postalCodes;
- }
-}
-
-class Google_Service_ShoppingContent_AccountShippingPostalCodeRange extends Google_Model
-{
- public $end;
- public $start;
-
- public function setEnd($end)
- {
- $this->end = $end;
- }
-
- public function getEnd()
- {
- return $this->end;
- }
-
- public function setStart($start)
- {
- $this->start = $start;
- }
-
- public function getStart()
- {
- return $this->start;
- }
-}
-
-class Google_Service_ShoppingContent_AccountShippingRateTable extends Google_Collection
-{
- protected $contentsType = 'Google_Service_ShoppingContent_AccountShippingRateTableCell';
- protected $contentsDataType = 'array';
- public $name;
- public $saleCountry;
-
- public function setContents($contents)
- {
- $this->contents = $contents;
- }
-
- public function getContents()
- {
- return $this->contents;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setSaleCountry($saleCountry)
- {
- $this->saleCountry = $saleCountry;
- }
-
- public function getSaleCountry()
- {
- return $this->saleCountry;
- }
-}
-
-class Google_Service_ShoppingContent_AccountShippingRateTableCell extends Google_Model
-{
- protected $conditionType = 'Google_Service_ShoppingContent_AccountShippingCondition';
- protected $conditionDataType = '';
- protected $rateType = 'Google_Service_ShoppingContent_Price';
- protected $rateDataType = '';
-
- public function setCondition(Google_Service_ShoppingContent_AccountShippingCondition $condition)
- {
- $this->condition = $condition;
- }
-
- public function getCondition()
- {
- return $this->condition;
- }
-
- public function setRate(Google_Service_ShoppingContent_Price $rate)
- {
- $this->rate = $rate;
- }
-
- public function getRate()
- {
- return $this->rate;
- }
-}
-
-class Google_Service_ShoppingContent_AccountShippingShippingService extends Google_Model
-{
- public $active;
- protected $calculationMethodType = 'Google_Service_ShoppingContent_AccountShippingShippingServiceCalculationMethod';
- protected $calculationMethodDataType = '';
- public $name;
- public $saleCountry;
-
- public function setActive($active)
- {
- $this->active = $active;
- }
-
- public function getActive()
- {
- return $this->active;
- }
-
- public function setCalculationMethod(Google_Service_ShoppingContent_AccountShippingShippingServiceCalculationMethod $calculationMethod)
- {
- $this->calculationMethod = $calculationMethod;
- }
-
- public function getCalculationMethod()
- {
- return $this->calculationMethod;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setSaleCountry($saleCountry)
- {
- $this->saleCountry = $saleCountry;
- }
-
- public function getSaleCountry()
- {
- return $this->saleCountry;
- }
-}
-
-class Google_Service_ShoppingContent_AccountShippingShippingServiceCalculationMethod extends Google_Model
-{
- public $carrierRate;
- protected $flatRateType = 'Google_Service_ShoppingContent_Price';
- protected $flatRateDataType = '';
- public $percentageRate;
- public $rateTable;
-
- public function setCarrierRate($carrierRate)
- {
- $this->carrierRate = $carrierRate;
- }
-
- public function getCarrierRate()
- {
- return $this->carrierRate;
- }
-
- public function setFlatRate(Google_Service_ShoppingContent_Price $flatRate)
- {
- $this->flatRate = $flatRate;
- }
-
- public function getFlatRate()
- {
- return $this->flatRate;
- }
-
- public function setPercentageRate($percentageRate)
- {
- $this->percentageRate = $percentageRate;
- }
-
- public function getPercentageRate()
- {
- return $this->percentageRate;
- }
-
- public function setRateTable($rateTable)
- {
- $this->rateTable = $rateTable;
- }
-
- public function getRateTable()
- {
- return $this->rateTable;
- }
-}
-
class Google_Service_ShoppingContent_AccountStatus extends Google_Collection
{
public $accountId;
@@ -2030,103 +1448,6 @@ public function getValueOnLandingPage()
}
}
-class Google_Service_ShoppingContent_AccountTax extends Google_Collection
-{
- public $accountId;
- public $kind;
- protected $rulesType = 'Google_Service_ShoppingContent_AccountTaxTaxRule';
- protected $rulesDataType = 'array';
-
- public function setAccountId($accountId)
- {
- $this->accountId = $accountId;
- }
-
- public function getAccountId()
- {
- return $this->accountId;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setRules($rules)
- {
- $this->rules = $rules;
- }
-
- public function getRules()
- {
- return $this->rules;
- }
-}
-
-class Google_Service_ShoppingContent_AccountTaxTaxRule extends Google_Model
-{
- public $country;
- public $locationId;
- public $ratePercent;
- public $shippingTaxed;
- public $useGlobalRate;
-
- public function setCountry($country)
- {
- $this->country = $country;
- }
-
- public function getCountry()
- {
- return $this->country;
- }
-
- public function setLocationId($locationId)
- {
- $this->locationId = $locationId;
- }
-
- public function getLocationId()
- {
- return $this->locationId;
- }
-
- public function setRatePercent($ratePercent)
- {
- $this->ratePercent = $ratePercent;
- }
-
- public function getRatePercent()
- {
- return $this->ratePercent;
- }
-
- public function setShippingTaxed($shippingTaxed)
- {
- $this->shippingTaxed = $shippingTaxed;
- }
-
- public function getShippingTaxed()
- {
- return $this->shippingTaxed;
- }
-
- public function setUseGlobalRate($useGlobalRate)
- {
- $this->useGlobalRate = $useGlobalRate;
- }
-
- public function getUseGlobalRate()
- {
- return $this->useGlobalRate;
- }
-}
-
class Google_Service_ShoppingContent_AccountUser extends Google_Model
{
public $admin;
@@ -5533,29 +4854,3 @@ public function getResources()
return $this->resources;
}
}
-
-class Google_Service_ShoppingContent_Weight extends Google_Model
-{
- public $unit;
- public $value;
-
- public function setUnit($unit)
- {
- $this->unit = $unit;
- }
-
- public function getUnit()
- {
- return $this->unit;
- }
-
- public function setValue($value)
- {
- $this->value = $value;
- }
-
- public function getValue()
- {
- return $this->value;
- }
-}
From 71275546a574bc080f2fd7cab7dbf2439475b006 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Wed, 13 Aug 2014 01:13:48 -0700
Subject: [PATCH 0438/1602] Updated MapsEngine.php
---
src/Google/Service/MapsEngine.php | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/src/Google/Service/MapsEngine.php b/src/Google/Service/MapsEngine.php
index d898b708e..3e57bb4d9 100644
--- a/src/Google/Service/MapsEngine.php
+++ b/src/Google/Service/MapsEngine.php
@@ -3335,6 +3335,7 @@ class Google_Service_MapsEngine_Map extends Google_Collection
public $processingStatus;
public $projectId;
public $publishedAccessList;
+ public $publishingStatus;
public $tags;
public $versions;
@@ -3468,6 +3469,16 @@ public function getPublishedAccessList()
return $this->publishedAccessList;
}
+ public function setPublishingStatus($publishingStatus)
+ {
+ $this->publishingStatus = $publishingStatus;
+ }
+
+ public function getPublishingStatus()
+ {
+ return $this->publishingStatus;
+ }
+
public function setTags($tags)
{
$this->tags = $tags;
From 62738c84ba41b4b73ad63863b3adb6da61f204ba Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Wed, 13 Aug 2014 01:13:49 -0700
Subject: [PATCH 0439/1602] Updated YouTube.php
---
src/Google/Service/YouTube.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Google/Service/YouTube.php b/src/Google/Service/YouTube.php
index ea24855e5..3d4654b52 100644
--- a/src/Google/Service/YouTube.php
+++ b/src/Google/Service/YouTube.php
@@ -1893,7 +1893,7 @@ public function bind($id, $part, $optParams = array())
* broadcast stream is delayed.
* @opt_param string walltime
* The walltime parameter specifies the wall clock time at which the specified slate change will
- * occur. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
+ * occur. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sssZ) format.
* @return Google_Service_YouTube_LiveBroadcast
*/
public function control($id, $part, $optParams = array())
From d5aef57715c52593f3ad77a30518cb82480615c9 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Wed, 13 Aug 2014 01:13:50 -0700
Subject: [PATCH 0440/1602] Updated Games.php
---
src/Google/Service/Games.php | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/src/Google/Service/Games.php b/src/Google/Service/Games.php
index 2f94fdad9..312825d8a 100644
--- a/src/Google/Service/Games.php
+++ b/src/Google/Service/Games.php
@@ -6912,6 +6912,7 @@ class Google_Service_Games_ScoreSubmission extends Google_Model
public $leaderboardId;
public $score;
public $scoreTag;
+ public $signature;
public function setKind($kind)
{
@@ -6952,6 +6953,16 @@ public function getScoreTag()
{
return $this->scoreTag;
}
+
+ public function setSignature($signature)
+ {
+ $this->signature = $signature;
+ }
+
+ public function getSignature()
+ {
+ return $this->signature;
+ }
}
class Google_Service_Games_Snapshot extends Google_Model
From ab8f7230f411b7a750067245b489d91edd2a5b89 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 14 Aug 2014 01:14:52 -0700
Subject: [PATCH 0441/1602] Updated YouTube.php
---
src/Google/Service/YouTube.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Google/Service/YouTube.php b/src/Google/Service/YouTube.php
index 3d4654b52..ea24855e5 100644
--- a/src/Google/Service/YouTube.php
+++ b/src/Google/Service/YouTube.php
@@ -1893,7 +1893,7 @@ public function bind($id, $part, $optParams = array())
* broadcast stream is delayed.
* @opt_param string walltime
* The walltime parameter specifies the wall clock time at which the specified slate change will
- * occur. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sssZ) format.
+ * occur. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
* @return Google_Service_YouTube_LiveBroadcast
*/
public function control($id, $part, $optParams = array())
From 897b0e91d0c85c96eda2f1dd61b7cb287c2aeeee Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 14 Aug 2014 01:14:53 -0700
Subject: [PATCH 0442/1602] Updated Resourceviews.php
---
src/Google/Service/Resourceviews.php | 20 ++++++++++++--------
1 file changed, 12 insertions(+), 8 deletions(-)
diff --git a/src/Google/Service/Resourceviews.php b/src/Google/Service/Resourceviews.php
index 9a1c0d51c..e3d8d1cbd 100644
--- a/src/Google/Service/Resourceviews.php
+++ b/src/Google/Service/Resourceviews.php
@@ -33,6 +33,10 @@ class Google_Service_Resourceviews extends Google_Service
{
/** View and manage your data across Google Cloud Platform services. */
const CLOUD_PLATFORM = "https://www.googleapis.com/auth/cloud-platform";
+ /** View and manage your Google Compute Engine resources. */
+ const COMPUTE = "https://www.googleapis.com/auth/compute";
+ /** View your Google Compute Engine resources. */
+ const COMPUTE_READONLY = "https://www.googleapis.com/auth/compute.readonly";
/** View and manage your Google Cloud Platform management resources and deployment status information. */
const NDEV_CLOUDMAN = "https://www.googleapis.com/auth/ndev.cloudman";
/** View your Google Cloud Platform management resources and deployment status information. */
@@ -464,8 +468,8 @@ public function insert($projectName, $region, Google_Service_Resourceviews_Resou
* Specifies a nextPageToken returned by a previous list request. This token can be used to request
* the next page of results from a previous list request.
* @opt_param int maxResults
- * Maximum count of results to be returned. Acceptable values are 0 to 500, inclusive. (Default:
- * 50)
+ * Maximum count of results to be returned. Acceptable values are 0 to 5000, inclusive. (Default:
+ * 5000)
* @return Google_Service_Resourceviews_RegionViewsListResponse
*/
public function listRegionViews($projectName, $region, $optParams = array())
@@ -489,8 +493,8 @@ public function listRegionViews($projectName, $region, $optParams = array())
* Specifies a nextPageToken returned by a previous list request. This token can be used to request
* the next page of results from a previous list request.
* @opt_param int maxResults
- * Maximum count of results to be returned. Acceptable values are 0 to 500, inclusive. (Default:
- * 50)
+ * Maximum count of results to be returned. Acceptable values are 0 to 5000, inclusive. (Default:
+ * 5000)
* @return Google_Service_Resourceviews_RegionViewsListResourcesResponse
*/
public function listresources($projectName, $region, $resourceViewName, $optParams = array())
@@ -613,8 +617,8 @@ public function insert($projectName, $zone, Google_Service_Resourceviews_Resourc
* Specifies a nextPageToken returned by a previous list request. This token can be used to request
* the next page of results from a previous list request.
* @opt_param int maxResults
- * Maximum count of results to be returned. Acceptable values are 0 to 500, inclusive. (Default:
- * 50)
+ * Maximum count of results to be returned. Acceptable values are 0 to 5000, inclusive. (Default:
+ * 5000)
* @return Google_Service_Resourceviews_ZoneViewsListResponse
*/
public function listZoneViews($projectName, $zone, $optParams = array())
@@ -638,8 +642,8 @@ public function listZoneViews($projectName, $zone, $optParams = array())
* Specifies a nextPageToken returned by a previous list request. This token can be used to request
* the next page of results from a previous list request.
* @opt_param int maxResults
- * Maximum count of results to be returned. Acceptable values are 0 to 500, inclusive. (Default:
- * 50)
+ * Maximum count of results to be returned. Acceptable values are 0 to 5000, inclusive. (Default:
+ * 5000)
* @return Google_Service_Resourceviews_ZoneViewsListResourcesResponse
*/
public function listresources($projectName, $zone, $resourceViewName, $optParams = array())
From b6e753576f858d00a604565390632953d3583361 Mon Sep 17 00:00:00 2001
From: Ben Menasha
Date: Thu, 14 Aug 2014 09:47:00 -0400
Subject: [PATCH 0443/1602] distinguish memcache key when array of scopes are
used.
Previously the memcache key would be "Google_Auth_AppIdentity::Array"
when an array of scopes was passed to AppIdentity->authenticateForScope.
This would causees the token to be overwritten when multiple
Google_Auth_AppIdentity were used with multiple scopes. The fix is to
expand the array of scopes into a string creating a unique key.
---
src/Google/Auth/AppIdentity.php | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/src/Google/Auth/AppIdentity.php b/src/Google/Auth/AppIdentity.php
index ec6663e6c..0be591762 100644
--- a/src/Google/Auth/AppIdentity.php
+++ b/src/Google/Auth/AppIdentity.php
@@ -55,7 +55,13 @@ public function authenticateForScope($scopes)
if (!$this->token) {
$this->token = AppIdentityService::getAccessToken($scopes);
if ($this->token) {
- $memcache->set(self::CACHE_PREFIX . $scopes, $this->token, self::CACHE_LIFETIME);
+ $memcache_key = self::CACHE_PREFIX;
+ if (is_string($scopes)) {
+ $memcache_key .= $scopes;
+ } else if (is_array($scopes)) {
+ $memcache_key .= implode(":", $scopes);
+ }
+ $memcache->set($memcache_key, $this->token, self::CACHE_LIFETIME);
}
}
$this->tokenScopes = $scopes;
From de468999b3719d81147285f1af925e33c99411e6 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 15 Aug 2014 01:16:03 -0700
Subject: [PATCH 0444/1602] Updated Mirror.php
---
src/Google/Service/Mirror.php | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/Google/Service/Mirror.php b/src/Google/Service/Mirror.php
index 92f060929..a44efd08a 100644
--- a/src/Google/Service/Mirror.php
+++ b/src/Google/Service/Mirror.php
@@ -564,6 +564,9 @@ class Google_Service_Mirror_Settings_Resource extends Google_Service_Resource
* The ID of the setting. The following IDs are valid:
- locale - The key to the user’s
* language/locale (BCP 47 identifier) that Glassware should use to render localized content.
+ -
+ * timezone - The key to the user’s current time zone region as defined in the tz database.
+ * Example: America/Los_Angeles.
* @param array $optParams Optional parameters.
* @return Google_Service_Mirror_Setting
*/
From 3c8f3ca7b688e8073ec3ba63f7aff9e80797edd1 Mon Sep 17 00:00:00 2001
From: Silvano Luciani