From 4e33037e0f9fa41d25e6978a5cb49f1f87942ae8 Mon Sep 17 00:00:00 2001
From: Tobias Nyholm
- * 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 + * 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 + * 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 + * 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 + * 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 - * 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
* 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
- * 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 + * 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
+ * $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
+ * $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 - * 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
+ * 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 - * 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
- * $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
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $icons = $mapsengineService->icons;
+ *
+ */
+class Google_Service_MapsEngine_ProjectsIcons_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Create an icon. (icons.create)
+ *
+ * @param string $projectId
+ * The ID of the project.
+ * @param Google_Icon $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_Icon
+ */
+ public function create($projectId, Google_Service_MapsEngine_Icon $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_MapsEngine_Icon");
+ }
+ /**
+ * Return metadata for a specific icon (icons.get)
+ *
+ * @param string $projectId
+ * The ID of the project.
+ * @param string $id
+ * The ID of the icon.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_Icon
+ */
+ public function get($projectId, $id, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_MapsEngine_Icon");
+ }
+ /**
+ * Return all icons in the current project (icons.listProjectsIcons)
+ *
+ * @param string $projectId
+ * The ID of the project.
+ * @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_IconsListResponse
+ */
+ public function listProjectsIcons($projectId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_IconsListResponse");
+ }
+}
+
/**
* The "rasterCollections" collection of methods.
* Typical usage is:
@@ -1662,6 +1868,9 @@ 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.
+ * @opt_param string role
+ * The role parameter indicates that the response should only contain assets where the current user
+ * has the specified level of access.
* @return Google_Service_MapsEngine_RasterCollectionsListResponse
*/
public function listRasterCollections($optParams = array())
@@ -1816,6 +2025,9 @@ 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.
+ * @opt_param string role
+ * The role parameter indicates that the response should only contain assets where the current user
+ * has the specified level of access.
* @return Google_Service_MapsEngine_RasterCollectionsRastersListResponse
*/
public function listRasterCollectionsRasters($id, $optParams = array())
@@ -1866,6 +2078,54 @@ public function get($id, $optParams = array())
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_MapsEngine_Raster");
}
+ /**
+ * Return all rasters readable by the current user. (rasters.listRasters)
+ *
+ * @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.
+ * @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 processingStatus
+ *
+ * @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.
+ * @opt_param string role
+ * The role parameter indicates that the response should only contain assets where the current user
+ * has the specified level of access.
+ * @return Google_Service_MapsEngine_RastersListResponse
+ */
+ public function listRasters($projectId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_RastersListResponse");
+ }
/**
* Mutate a raster asset. (rasters.patch)
*
@@ -2063,6 +2323,9 @@ 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.
+ * @opt_param string role
+ * The role parameter indicates that the response should only contain assets where the current user
+ * has the specified level of access.
* @return Google_Service_MapsEngine_TablesListResponse
*/
public function listTables($optParams = array())
@@ -2989,6 +3252,43 @@ class Google_Service_MapsEngine_GeoJsonProperties extends Google_Model
}
+class Google_Service_MapsEngine_Icon extends Google_Model
+{
+ public $description;
+ public $id;
+ public $name;
+
+ 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;
+ }
+}
+
class Google_Service_MapsEngine_IconStyle extends Google_Model
{
public $id;
@@ -3015,6 +3315,33 @@ public function getName()
}
}
+class Google_Service_MapsEngine_IconsListResponse extends Google_Collection
+{
+ protected $iconsType = 'Google_Service_MapsEngine_Icon';
+ protected $iconsDataType = 'array';
+ public $nextPageToken;
+
+ public function setIcons($icons)
+ {
+ $this->icons = $icons;
+ }
+
+ public function getIcons()
+ {
+ return $this->icons;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
class Google_Service_MapsEngine_LabelStyle extends Google_Model
{
public $color;
@@ -4519,6 +4846,33 @@ public function getRasters()
}
}
+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_Schema extends Google_Collection
{
protected $columnsType = 'Google_Service_MapsEngine_TableColumn';
From f71b5e9ff7df7c045a34cf6106d03983cc77af07 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
* Gives Ad Exchange seller users access to their inventory and the ability to generate reports
@@ -37,18 +37,15 @@ class Google_Service_AdExchangeSeller extends Google_Service
const ADEXCHANGE_SELLER_READONLY = "https://www.googleapis.com/auth/adexchange.seller.readonly";
public $accounts;
- public $adclients;
- public $adunits;
- public $adunits_customchannels;
- public $alerts;
- public $customchannels;
- public $customchannels_adunits;
- public $metadata_dimensions;
- public $metadata_metrics;
- public $preferreddeals;
- public $reports;
- public $reports_saved;
- public $urlchannels;
+ public $accounts_adclients;
+ public $accounts_alerts;
+ public $accounts_customchannels;
+ public $accounts_metadata_dimensions;
+ public $accounts_metadata_metrics;
+ public $accounts_preferreddeals;
+ public $accounts_reports;
+ public $accounts_reports_saved;
+ public $accounts_urlchannels;
/**
@@ -59,8 +56,8 @@ class Google_Service_AdExchangeSeller extends Google_Service
public function __construct(Google_Client $client)
{
parent::__construct($client);
- $this->servicePath = 'adexchangeseller/v1.1/';
- $this->version = 'v1.1';
+ $this->servicePath = 'adexchangeseller/v2.0/';
+ $this->version = 'v2.0';
$this->serviceName = 'adexchangeseller';
$this->accounts = new Google_Service_AdExchangeSeller_Accounts_Resource(
@@ -79,18 +76,8 @@ public function __construct(Google_Client $client)
'required' => true,
),
),
- ),
- )
- )
- );
- $this->adclients = new Google_Service_AdExchangeSeller_Adclients_Resource(
- $this,
- $this->serviceName,
- 'adclients',
- array(
- 'methods' => array(
- 'list' => array(
- 'path' => 'adclients',
+ ),'list' => array(
+ 'path' => 'accounts',
'httpMethod' => 'GET',
'parameters' => array(
'pageToken' => array(
@@ -106,40 +93,21 @@ public function __construct(Google_Client $client)
)
)
);
- $this->adunits = new Google_Service_AdExchangeSeller_Adunits_Resource(
+ $this->accounts_adclients = new Google_Service_AdExchangeSeller_AccountsAdclients_Resource(
$this,
$this->serviceName,
- 'adunits',
+ 'adclients',
array(
'methods' => array(
- 'get' => array(
- 'path' => 'adclients/{adClientId}/adunits/{adUnitId}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'adClientId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'adUnitId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'list' => array(
- 'path' => 'adclients/{adClientId}/adunits',
+ 'list' => array(
+ 'path' => 'accounts/{accountId}/adclients',
'httpMethod' => 'GET',
'parameters' => array(
- 'adClientId' => array(
+ 'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
- 'includeInactive' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
@@ -153,49 +121,21 @@ public function __construct(Google_Client $client)
)
)
);
- $this->adunits_customchannels = new Google_Service_AdExchangeSeller_AdunitsCustomchannels_Resource(
+ $this->accounts_alerts = new Google_Service_AdExchangeSeller_AccountsAlerts_Resource(
$this,
$this->serviceName,
- 'customchannels',
+ 'alerts',
array(
'methods' => array(
'list' => array(
- 'path' => 'adclients/{adClientId}/adunits/{adUnitId}/customchannels',
+ 'path' => 'accounts/{accountId}/alerts',
'httpMethod' => 'GET',
'parameters' => array(
- 'adClientId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'adUnitId' => array(
+ 'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'maxResults' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- ),
- ),
- )
- )
- );
- $this->alerts = new Google_Service_AdExchangeSeller_Alerts_Resource(
- $this,
- $this->serviceName,
- 'alerts',
- array(
- 'methods' => array(
- 'list' => array(
- 'path' => 'alerts',
- 'httpMethod' => 'GET',
- 'parameters' => array(
'locale' => array(
'location' => 'query',
'type' => 'string',
@@ -205,16 +145,21 @@ public function __construct(Google_Client $client)
)
)
);
- $this->customchannels = new Google_Service_AdExchangeSeller_Customchannels_Resource(
+ $this->accounts_customchannels = new Google_Service_AdExchangeSeller_AccountsCustomchannels_Resource(
$this,
$this->serviceName,
'customchannels',
array(
'methods' => array(
'get' => array(
- 'path' => 'adclients/{adClientId}/customchannels/{customChannelId}',
+ 'path' => 'accounts/{accountId}/adclients/{adClientId}/customchannels/{customChannelId}',
'httpMethod' => 'GET',
'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
'adClientId' => array(
'location' => 'path',
'type' => 'string',
@@ -227,9 +172,14 @@ public function __construct(Google_Client $client)
),
),
),'list' => array(
- 'path' => 'adclients/{adClientId}/customchannels',
+ 'path' => 'accounts/{accountId}/adclients/{adClientId}/customchannels',
'httpMethod' => 'GET',
'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
'adClientId' => array(
'location' => 'path',
'type' => 'string',
@@ -248,81 +198,61 @@ public function __construct(Google_Client $client)
)
)
);
- $this->customchannels_adunits = new Google_Service_AdExchangeSeller_CustomchannelsAdunits_Resource(
+ $this->accounts_metadata_dimensions = new Google_Service_AdExchangeSeller_AccountsMetadataDimensions_Resource(
$this,
$this->serviceName,
- 'adunits',
+ 'dimensions',
array(
'methods' => array(
'list' => array(
- 'path' => 'adclients/{adClientId}/customchannels/{customChannelId}/adunits',
+ 'path' => 'accounts/{accountId}/metadata/dimensions',
'httpMethod' => 'GET',
'parameters' => array(
- 'adClientId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'customChannelId' => array(
+ 'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
- 'includeInactive' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'maxResults' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
),
),
)
)
);
- $this->metadata_dimensions = new Google_Service_AdExchangeSeller_MetadataDimensions_Resource(
- $this,
- $this->serviceName,
- 'dimensions',
- array(
- 'methods' => array(
- 'list' => array(
- 'path' => 'metadata/dimensions',
- 'httpMethod' => 'GET',
- 'parameters' => array(),
- ),
- )
- )
- );
- $this->metadata_metrics = new Google_Service_AdExchangeSeller_MetadataMetrics_Resource(
+ $this->accounts_metadata_metrics = new Google_Service_AdExchangeSeller_AccountsMetadataMetrics_Resource(
$this,
$this->serviceName,
'metrics',
array(
'methods' => array(
'list' => array(
- 'path' => 'metadata/metrics',
+ 'path' => 'accounts/{accountId}/metadata/metrics',
'httpMethod' => 'GET',
- 'parameters' => array(),
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
),
)
)
);
- $this->preferreddeals = new Google_Service_AdExchangeSeller_Preferreddeals_Resource(
+ $this->accounts_preferreddeals = new Google_Service_AdExchangeSeller_AccountsPreferreddeals_Resource(
$this,
$this->serviceName,
'preferreddeals',
array(
'methods' => array(
'get' => array(
- 'path' => 'preferreddeals/{dealId}',
+ 'path' => 'accounts/{accountId}/preferreddeals/{dealId}',
'httpMethod' => 'GET',
'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
'dealId' => array(
'location' => 'path',
'type' => 'string',
@@ -330,23 +260,34 @@ public function __construct(Google_Client $client)
),
),
),'list' => array(
- 'path' => 'preferreddeals',
+ 'path' => 'accounts/{accountId}/preferreddeals',
'httpMethod' => 'GET',
- 'parameters' => array(),
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
),
)
)
);
- $this->reports = new Google_Service_AdExchangeSeller_Reports_Resource(
+ $this->accounts_reports = new Google_Service_AdExchangeSeller_AccountsReports_Resource(
$this,
$this->serviceName,
'reports',
array(
'methods' => array(
'generate' => array(
- 'path' => 'reports',
+ 'path' => 'accounts/{accountId}/reports',
'httpMethod' => 'GET',
'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
'startDate' => array(
'location' => 'query',
'type' => 'string',
@@ -394,16 +335,21 @@ public function __construct(Google_Client $client)
)
)
);
- $this->reports_saved = new Google_Service_AdExchangeSeller_ReportsSaved_Resource(
+ $this->accounts_reports_saved = new Google_Service_AdExchangeSeller_AccountsReportsSaved_Resource(
$this,
$this->serviceName,
'saved',
array(
'methods' => array(
'generate' => array(
- 'path' => 'reports/{savedReportId}',
+ 'path' => 'accounts/{accountId}/reports/{savedReportId}',
'httpMethod' => 'GET',
'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
'savedReportId' => array(
'location' => 'path',
'type' => 'string',
@@ -423,9 +369,14 @@ public function __construct(Google_Client $client)
),
),
),'list' => array(
- 'path' => 'reports/saved',
+ 'path' => 'accounts/{accountId}/reports/saved',
'httpMethod' => 'GET',
'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
@@ -439,16 +390,21 @@ public function __construct(Google_Client $client)
)
)
);
- $this->urlchannels = new Google_Service_AdExchangeSeller_Urlchannels_Resource(
+ $this->accounts_urlchannels = new Google_Service_AdExchangeSeller_AccountsUrlchannels_Resource(
$this,
$this->serviceName,
'urlchannels',
array(
'methods' => array(
'list' => array(
- 'path' => 'adclients/{adClientId}/urlchannels',
+ 'path' => 'accounts/{accountId}/adclients/{adClientId}/urlchannels',
'httpMethod' => 'GET',
'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
'adClientId' => array(
'location' => 'path',
'type' => 'string',
@@ -496,127 +452,60 @@ public function get($accountId, $optParams = array())
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_AdExchangeSeller_Account");
}
-}
-
-/**
- * The "adclients" collection of methods.
- * Typical usage is:
- *
- * $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
- * $adclients = $adexchangesellerService->adclients;
- *
- */
-class Google_Service_AdExchangeSeller_Adclients_Resource extends Google_Service_Resource
-{
-
/**
- * List all ad clients in this Ad Exchange account. (adclients.listAdclients)
+ * List all accounts available to this Ad Exchange account.
+ * (accounts.listAccounts)
*
* @param array $optParams Optional parameters.
*
* @opt_param string pageToken
- * A continuation token, used to page through ad clients. To retrieve the next page, set this
+ * A continuation token, used to page through accounts. To retrieve the next page, set this
* parameter to the value of "nextPageToken" from the previous response.
- * @opt_param string maxResults
- * The maximum number of ad clients to include in the response, used for paging.
- * @return Google_Service_AdExchangeSeller_AdClients
+ * @opt_param int maxResults
+ * The maximum number of accounts to include in the response, used for paging.
+ * @return Google_Service_AdExchangeSeller_Accounts
*/
- public function listAdclients($optParams = array())
+ public function listAccounts($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_AdExchangeSeller_AdClients");
+ return $this->call('list', array($params), "Google_Service_AdExchangeSeller_Accounts");
}
}
/**
- * The "adunits" collection of methods.
- * Typical usage is:
- *
- * $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
- * $adunits = $adexchangesellerService->adunits;
- *
- */
-class Google_Service_AdExchangeSeller_Adunits_Resource extends Google_Service_Resource
-{
-
- /**
- * Gets the specified ad unit in the specified ad client. (adunits.get)
- *
- * @param string $adClientId
- * Ad client for which to get the ad unit.
- * @param string $adUnitId
- * Ad unit to retrieve.
- * @param array $optParams Optional parameters.
- * @return Google_Service_AdExchangeSeller_AdUnit
- */
- public function get($adClientId, $adUnitId, $optParams = array())
- {
- $params = array('adClientId' => $adClientId, 'adUnitId' => $adUnitId);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_AdExchangeSeller_AdUnit");
- }
- /**
- * List all ad units in the specified ad client for this Ad Exchange account.
- * (adunits.listAdunits)
- *
- * @param string $adClientId
- * Ad client for which to list ad units.
- * @param array $optParams Optional parameters.
- *
- * @opt_param bool includeInactive
- * Whether to include inactive ad units. Default: true.
- * @opt_param string pageToken
- * A continuation token, used to page through ad units. To retrieve the next page, set this
- * parameter to the value of "nextPageToken" from the previous response.
- * @opt_param string maxResults
- * The maximum number of ad units to include in the response, used for paging.
- * @return Google_Service_AdExchangeSeller_AdUnits
- */
- public function listAdunits($adClientId, $optParams = array())
- {
- $params = array('adClientId' => $adClientId);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_AdExchangeSeller_AdUnits");
- }
-}
-
-/**
- * The "customchannels" collection of methods.
+ * The "adclients" collection of methods.
* Typical usage is:
*
* $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
- * $customchannels = $adexchangesellerService->customchannels;
+ * $adclients = $adexchangesellerService->adclients;
*
*/
-class Google_Service_AdExchangeSeller_AdunitsCustomchannels_Resource extends Google_Service_Resource
+class Google_Service_AdExchangeSeller_AccountsAdclients_Resource extends Google_Service_Resource
{
/**
- * List all custom channels which the specified ad unit belongs to.
- * (customchannels.listAdunitsCustomchannels)
+ * List all ad clients in this Ad Exchange account.
+ * (adclients.listAccountsAdclients)
*
- * @param string $adClientId
- * Ad client which contains the ad unit.
- * @param string $adUnitId
- * Ad unit for which to list custom channels.
+ * @param string $accountId
+ * Account to which the ad client belongs.
* @param array $optParams Optional parameters.
*
* @opt_param string pageToken
- * A continuation token, used to page through custom channels. To retrieve the next page, set this
+ * 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.
* @opt_param string maxResults
- * The maximum number of custom channels to include in the response, used for paging.
- * @return Google_Service_AdExchangeSeller_CustomChannels
+ * The maximum number of ad clients to include in the response, used for paging.
+ * @return Google_Service_AdExchangeSeller_AdClients
*/
- public function listAdunitsCustomchannels($adClientId, $adUnitId, $optParams = array())
+ public function listAccountsAdclients($accountId, $optParams = array())
{
- $params = array('adClientId' => $adClientId, 'adUnitId' => $adUnitId);
+ $params = array('accountId' => $accountId);
$params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_AdExchangeSeller_CustomChannels");
+ return $this->call('list', array($params), "Google_Service_AdExchangeSeller_AdClients");
}
}
-
/**
* The "alerts" collection of methods.
* Typical usage is:
@@ -625,12 +514,14 @@ public function listAdunitsCustomchannels($adClientId, $adUnitId, $optParams = a
* $alerts = $adexchangesellerService->alerts;
*
*/
-class Google_Service_AdExchangeSeller_Alerts_Resource extends Google_Service_Resource
+class Google_Service_AdExchangeSeller_AccountsAlerts_Resource extends Google_Service_Resource
{
/**
- * List the alerts for this Ad Exchange account. (alerts.listAlerts)
+ * List the alerts for this Ad Exchange account. (alerts.listAccountsAlerts)
*
+ * @param string $accountId
+ * Account owning the alerts.
* @param array $optParams Optional parameters.
*
* @opt_param string locale
@@ -639,14 +530,13 @@ class Google_Service_AdExchangeSeller_Alerts_Resource extends Google_Service_Res
* unsupported.
* @return Google_Service_AdExchangeSeller_Alerts
*/
- public function listAlerts($optParams = array())
+ public function listAccountsAlerts($accountId, $optParams = array())
{
- $params = array();
+ $params = array('accountId' => $accountId);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_AdExchangeSeller_Alerts");
}
}
-
/**
* The "customchannels" collection of methods.
* Typical usage is:
@@ -655,13 +545,15 @@ public function listAlerts($optParams = array())
* $customchannels = $adexchangesellerService->customchannels;
*
*/
-class Google_Service_AdExchangeSeller_Customchannels_Resource extends Google_Service_Resource
+class Google_Service_AdExchangeSeller_AccountsCustomchannels_Resource extends Google_Service_Resource
{
/**
* Get the specified custom channel from the specified ad client.
* (customchannels.get)
*
+ * @param string $accountId
+ * Account to which the ad client belongs.
* @param string $adClientId
* Ad client which contains the custom channel.
* @param string $customChannelId
@@ -669,16 +561,18 @@ class Google_Service_AdExchangeSeller_Customchannels_Resource extends Google_Ser
* @param array $optParams Optional parameters.
* @return Google_Service_AdExchangeSeller_CustomChannel
*/
- public function get($adClientId, $customChannelId, $optParams = array())
+ public function get($accountId, $adClientId, $customChannelId, $optParams = array())
{
- $params = array('adClientId' => $adClientId, 'customChannelId' => $customChannelId);
+ $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'customChannelId' => $customChannelId);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_AdExchangeSeller_CustomChannel");
}
/**
* List all custom channels in the specified ad client for this Ad Exchange
- * account. (customchannels.listCustomchannels)
+ * account. (customchannels.listAccountsCustomchannels)
*
+ * @param string $accountId
+ * Account to which the ad client belongs.
* @param string $adClientId
* Ad client for which to list custom channels.
* @param array $optParams Optional parameters.
@@ -690,52 +584,13 @@ public function get($adClientId, $customChannelId, $optParams = array())
* The maximum number of custom channels to include in the response, used for paging.
* @return Google_Service_AdExchangeSeller_CustomChannels
*/
- public function listCustomchannels($adClientId, $optParams = array())
+ public function listAccountsCustomchannels($accountId, $adClientId, $optParams = array())
{
- $params = array('adClientId' => $adClientId);
+ $params = array('accountId' => $accountId, 'adClientId' => $adClientId);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_AdExchangeSeller_CustomChannels");
}
}
-
-/**
- * The "adunits" collection of methods.
- * Typical usage is:
- *
- * $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
- * $adunits = $adexchangesellerService->adunits;
- *
- */
-class Google_Service_AdExchangeSeller_CustomchannelsAdunits_Resource extends Google_Service_Resource
-{
-
- /**
- * List all ad units in the specified custom channel.
- * (adunits.listCustomchannelsAdunits)
- *
- * @param string $adClientId
- * Ad client which contains the custom channel.
- * @param string $customChannelId
- * Custom channel for which to list ad units.
- * @param array $optParams Optional parameters.
- *
- * @opt_param bool includeInactive
- * Whether to include inactive ad units. Default: true.
- * @opt_param string pageToken
- * A continuation token, used to page through ad units. To retrieve the next page, set this
- * parameter to the value of "nextPageToken" from the previous response.
- * @opt_param string maxResults
- * The maximum number of ad units to include in the response, used for paging.
- * @return Google_Service_AdExchangeSeller_AdUnits
- */
- public function listCustomchannelsAdunits($adClientId, $customChannelId, $optParams = array())
- {
- $params = array('adClientId' => $adClientId, 'customChannelId' => $customChannelId);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_AdExchangeSeller_AdUnits");
- }
-}
-
/**
* The "metadata" collection of methods.
* Typical usage is:
@@ -744,7 +599,7 @@ public function listCustomchannelsAdunits($adClientId, $customChannelId, $optPar
* $metadata = $adexchangesellerService->metadata;
*
*/
-class Google_Service_AdExchangeSeller_Metadata_Resource extends Google_Service_Resource
+class Google_Service_AdExchangeSeller_AccountsMetadata_Resource extends Google_Service_Resource
{
}
@@ -757,19 +612,21 @@ class Google_Service_AdExchangeSeller_Metadata_Resource extends Google_Service_R
* $dimensions = $adexchangesellerService->dimensions;
*
*/
-class Google_Service_AdExchangeSeller_MetadataDimensions_Resource extends Google_Service_Resource
+class Google_Service_AdExchangeSeller_AccountsMetadataDimensions_Resource extends Google_Service_Resource
{
/**
* List the metadata for the dimensions available to this AdExchange account.
- * (dimensions.listMetadataDimensions)
+ * (dimensions.listAccountsMetadataDimensions)
*
+ * @param string $accountId
+ * Account with visibility to the dimensions.
* @param array $optParams Optional parameters.
* @return Google_Service_AdExchangeSeller_Metadata
*/
- public function listMetadataDimensions($optParams = array())
+ public function listAccountsMetadataDimensions($accountId, $optParams = array())
{
- $params = array();
+ $params = array('accountId' => $accountId);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_AdExchangeSeller_Metadata");
}
@@ -782,24 +639,25 @@ public function listMetadataDimensions($optParams = array())
* $metrics = $adexchangesellerService->metrics;
*
*/
-class Google_Service_AdExchangeSeller_MetadataMetrics_Resource extends Google_Service_Resource
+class Google_Service_AdExchangeSeller_AccountsMetadataMetrics_Resource extends Google_Service_Resource
{
/**
* List the metadata for the metrics available to this AdExchange account.
- * (metrics.listMetadataMetrics)
+ * (metrics.listAccountsMetadataMetrics)
*
+ * @param string $accountId
+ * Account with visibility to the metrics.
* @param array $optParams Optional parameters.
* @return Google_Service_AdExchangeSeller_Metadata
*/
- public function listMetadataMetrics($optParams = array())
+ public function listAccountsMetadataMetrics($accountId, $optParams = array())
{
- $params = array();
+ $params = array('accountId' => $accountId);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_AdExchangeSeller_Metadata");
}
}
-
/**
* The "preferreddeals" collection of methods.
* Typical usage is:
@@ -808,39 +666,42 @@ public function listMetadataMetrics($optParams = array())
* $preferreddeals = $adexchangesellerService->preferreddeals;
*
*/
-class Google_Service_AdExchangeSeller_Preferreddeals_Resource extends Google_Service_Resource
+class Google_Service_AdExchangeSeller_AccountsPreferreddeals_Resource extends Google_Service_Resource
{
/**
* Get information about the selected Ad Exchange Preferred Deal.
* (preferreddeals.get)
*
+ * @param string $accountId
+ * Account owning the deal.
* @param string $dealId
* Preferred deal to get information about.
* @param array $optParams Optional parameters.
* @return Google_Service_AdExchangeSeller_PreferredDeal
*/
- public function get($dealId, $optParams = array())
+ public function get($accountId, $dealId, $optParams = array())
{
- $params = array('dealId' => $dealId);
+ $params = array('accountId' => $accountId, 'dealId' => $dealId);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_AdExchangeSeller_PreferredDeal");
}
/**
* List the preferred deals for this Ad Exchange account.
- * (preferreddeals.listPreferreddeals)
+ * (preferreddeals.listAccountsPreferreddeals)
*
+ * @param string $accountId
+ * Account owning the deals.
* @param array $optParams Optional parameters.
* @return Google_Service_AdExchangeSeller_PreferredDeals
*/
- public function listPreferreddeals($optParams = array())
+ public function listAccountsPreferreddeals($accountId, $optParams = array())
{
- $params = array();
+ $params = array('accountId' => $accountId);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_AdExchangeSeller_PreferredDeals");
}
}
-
/**
* The "reports" collection of methods.
* Typical usage is:
@@ -849,7 +710,7 @@ public function listPreferreddeals($optParams = array())
* $reports = $adexchangesellerService->reports;
*
*/
-class Google_Service_AdExchangeSeller_Reports_Resource extends Google_Service_Resource
+class Google_Service_AdExchangeSeller_AccountsReports_Resource extends Google_Service_Resource
{
/**
@@ -857,6 +718,8 @@ class Google_Service_AdExchangeSeller_Reports_Resource extends Google_Service_Re
* parameters. Returns the result as JSON; to retrieve output in CSV format
* specify "alt=csv" as a query parameter. (reports.generate)
*
+ * @param string $accountId
+ * Account which owns the generated report.
* @param string $startDate
* Start of the date range to report on in "YYYY-MM-DD" format, inclusive.
* @param string $endDate
@@ -882,9 +745,9 @@ class Google_Service_AdExchangeSeller_Reports_Resource extends Google_Service_Re
* Dimensions to base the report on.
* @return Google_Service_AdExchangeSeller_Report
*/
- public function generate($startDate, $endDate, $optParams = array())
+ public function generate($accountId, $startDate, $endDate, $optParams = array())
{
- $params = array('startDate' => $startDate, 'endDate' => $endDate);
+ $params = array('accountId' => $accountId, 'startDate' => $startDate, 'endDate' => $endDate);
$params = array_merge($params, $optParams);
return $this->call('generate', array($params), "Google_Service_AdExchangeSeller_Report");
}
@@ -898,13 +761,15 @@ public function generate($startDate, $endDate, $optParams = array())
* $saved = $adexchangesellerService->saved;
*
*/
-class Google_Service_AdExchangeSeller_ReportsSaved_Resource extends Google_Service_Resource
+class Google_Service_AdExchangeSeller_AccountsReportsSaved_Resource extends Google_Service_Resource
{
/**
* Generate an Ad Exchange report based on the saved report ID sent in the query
* parameters. (saved.generate)
*
+ * @param string $accountId
+ * Account owning the saved report.
* @param string $savedReportId
* The saved report to retrieve.
* @param array $optParams Optional parameters.
@@ -918,15 +783,18 @@ class Google_Service_AdExchangeSeller_ReportsSaved_Resource extends Google_Servi
* The maximum number of rows of report data to return.
* @return Google_Service_AdExchangeSeller_Report
*/
- public function generate($savedReportId, $optParams = array())
+ public function generate($accountId, $savedReportId, $optParams = array())
{
- $params = array('savedReportId' => $savedReportId);
+ $params = array('accountId' => $accountId, 'savedReportId' => $savedReportId);
$params = array_merge($params, $optParams);
return $this->call('generate', array($params), "Google_Service_AdExchangeSeller_Report");
}
/**
- * List all saved reports in this Ad Exchange account. (saved.listReportsSaved)
+ * List all saved reports in this Ad Exchange account.
+ * (saved.listAccountsReportsSaved)
*
+ * @param string $accountId
+ * Account owning the saved reports.
* @param array $optParams Optional parameters.
*
* @opt_param string pageToken
@@ -936,14 +804,13 @@ public function generate($savedReportId, $optParams = array())
* The maximum number of saved reports to include in the response, used for paging.
* @return Google_Service_AdExchangeSeller_SavedReports
*/
- public function listReportsSaved($optParams = array())
+ public function listAccountsReportsSaved($accountId, $optParams = array())
{
- $params = array();
+ $params = array('accountId' => $accountId);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_AdExchangeSeller_SavedReports");
}
}
-
/**
* The "urlchannels" collection of methods.
* Typical usage is:
@@ -952,13 +819,15 @@ public function listReportsSaved($optParams = array())
* $urlchannels = $adexchangesellerService->urlchannels;
*
*/
-class Google_Service_AdExchangeSeller_Urlchannels_Resource extends Google_Service_Resource
+class Google_Service_AdExchangeSeller_AccountsUrlchannels_Resource extends Google_Service_Resource
{
/**
* List all URL channels in the specified ad client for this Ad Exchange
- * account. (urlchannels.listUrlchannels)
+ * account. (urlchannels.listAccountsUrlchannels)
*
+ * @param string $accountId
+ * Account to which the ad client belongs.
* @param string $adClientId
* Ad client for which to list URL channels.
* @param array $optParams Optional parameters.
@@ -970,9 +839,9 @@ class Google_Service_AdExchangeSeller_Urlchannels_Resource extends Google_Servic
* The maximum number of URL channels to include in the response, used for paging.
* @return Google_Service_AdExchangeSeller_UrlChannels
*/
- public function listUrlchannels($adClientId, $optParams = array())
+ public function listAccountsUrlchannels($accountId, $adClientId, $optParams = array())
{
- $params = array('adClientId' => $adClientId);
+ $params = array('accountId' => $accountId, 'adClientId' => $adClientId);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_AdExchangeSeller_UrlChannels");
}
@@ -1018,70 +887,11 @@ public function getName()
}
}
-class Google_Service_AdExchangeSeller_AdClient extends Google_Model
-{
- public $arcOptIn;
- public $id;
- public $kind;
- public $productCode;
- public $supportsReporting;
-
- public function setArcOptIn($arcOptIn)
- {
- $this->arcOptIn = $arcOptIn;
- }
-
- public function getArcOptIn()
- {
- return $this->arcOptIn;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setProductCode($productCode)
- {
- $this->productCode = $productCode;
- }
-
- public function getProductCode()
- {
- return $this->productCode;
- }
-
- public function setSupportsReporting($supportsReporting)
- {
- $this->supportsReporting = $supportsReporting;
- }
-
- public function getSupportsReporting()
- {
- return $this->supportsReporting;
- }
-}
-
-class Google_Service_AdExchangeSeller_AdClients extends Google_Collection
+class Google_Service_AdExchangeSeller_Accounts extends Google_Collection
{
protected $collection_key = 'items';
public $etag;
- protected $itemsType = 'Google_Service_AdExchangeSeller_AdClient';
+ protected $itemsType = 'Google_Service_AdExchangeSeller_Account';
protected $itemsDataType = 'array';
public $kind;
public $nextPageToken;
@@ -1127,22 +937,22 @@ public function getNextPageToken()
}
}
-class Google_Service_AdExchangeSeller_AdUnit extends Google_Model
+class Google_Service_AdExchangeSeller_AdClient extends Google_Model
{
- public $code;
+ public $arcOptIn;
public $id;
public $kind;
- public $name;
- public $status;
+ public $productCode;
+ public $supportsReporting;
- public function setCode($code)
+ public function setArcOptIn($arcOptIn)
{
- $this->code = $code;
+ $this->arcOptIn = $arcOptIn;
}
- public function getCode()
+ public function getArcOptIn()
{
- return $this->code;
+ return $this->arcOptIn;
}
public function setId($id)
@@ -1165,32 +975,32 @@ public function getKind()
return $this->kind;
}
- public function setName($name)
+ public function setProductCode($productCode)
{
- $this->name = $name;
+ $this->productCode = $productCode;
}
- public function getName()
+ public function getProductCode()
{
- return $this->name;
+ return $this->productCode;
}
- public function setStatus($status)
+ public function setSupportsReporting($supportsReporting)
{
- $this->status = $status;
+ $this->supportsReporting = $supportsReporting;
}
- public function getStatus()
+ public function getSupportsReporting()
{
- return $this->status;
+ return $this->supportsReporting;
}
}
-class Google_Service_AdExchangeSeller_AdUnits extends Google_Collection
+class Google_Service_AdExchangeSeller_AdClients extends Google_Collection
{
protected $collection_key = 'items';
public $etag;
- protected $itemsType = 'Google_Service_AdExchangeSeller_AdUnit';
+ protected $itemsType = 'Google_Service_AdExchangeSeller_AdClient';
protected $itemsDataType = 'array';
public $kind;
public $nextPageToken;
From 0db562218f5c40cf8a824c75a3b585181dc2c3cc 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_Webmasters extends Google_Service +{ + /** View and modify Webmaster Tools data for your verified sites. */ + const WEBMASTERS = "https://www.googleapis.com/auth/webmasters"; + /** View Webmaster Tools data for your verified sites. */ + const WEBMASTERS_READONLY = "https://www.googleapis.com/auth/webmasters.readonly"; + + public $sitemaps; + public $sites; + public $urlcrawlerrorscounts; + public $urlcrawlerrorssamples; + + + /** + * Constructs the internal representation of the Webmasters service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->servicePath = 'webmasters/v3/'; + $this->version = 'v3'; + $this->serviceName = 'webmasters'; + + $this->sitemaps = new Google_Service_Webmasters_Sitemaps_Resource( + $this, + $this->serviceName, + 'sitemaps', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'sites/{siteUrl}/sitemaps/{feedpath}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'siteUrl' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'feedpath' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'sites/{siteUrl}/sitemaps/{feedpath}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'siteUrl' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'feedpath' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'sites/{siteUrl}/sitemaps', + 'httpMethod' => 'GET', + 'parameters' => array( + 'siteUrl' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sitemapIndex' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'submit' => array( + 'path' => 'sites/{siteUrl}/sitemaps/{feedpath}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'siteUrl' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'feedpath' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->sites = new Google_Service_Webmasters_Sites_Resource( + $this, + $this->serviceName, + 'sites', + array( + 'methods' => array( + 'add' => array( + 'path' => 'sites/{siteUrl}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'siteUrl' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'sites/{siteUrl}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'siteUrl' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'sites/{siteUrl}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'siteUrl' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'sites', + 'httpMethod' => 'GET', + 'parameters' => array(), + ), + ) + ) + ); + $this->urlcrawlerrorscounts = new Google_Service_Webmasters_Urlcrawlerrorscounts_Resource( + $this, + $this->serviceName, + 'urlcrawlerrorscounts', + array( + 'methods' => array( + 'query' => array( + 'path' => 'sites/{siteUrl}/urlCrawlErrorsCounts/query', + 'httpMethod' => 'GET', + 'parameters' => array( + 'siteUrl' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'category' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'platform' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'latestCountsOnly' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + $this->urlcrawlerrorssamples = new Google_Service_Webmasters_Urlcrawlerrorssamples_Resource( + $this, + $this->serviceName, + 'urlcrawlerrorssamples', + array( + 'methods' => array( + 'get' => array( + 'path' => 'sites/{siteUrl}/urlCrawlErrorsSamples/{url}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'siteUrl' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'url' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'category' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'platform' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'sites/{siteUrl}/urlCrawlErrorsSamples', + 'httpMethod' => 'GET', + 'parameters' => array( + 'siteUrl' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'category' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'platform' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'markAsFixed' => array( + 'path' => 'sites/{siteUrl}/urlCrawlErrorsSamples/{url}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'siteUrl' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'url' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'category' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'platform' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "sitemaps" collection of methods. + * Typical usage is: + *
+ * $webmastersService = new Google_Service_Webmasters(...);
+ * $sitemaps = $webmastersService->sitemaps;
+ *
+ */
+class Google_Service_Webmasters_Sitemaps_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Deletes a sitemap from this site. (sitemaps.delete)
+ *
+ * @param string $siteUrl
+ * The site's URL, including protocol, for example 'http://www.example.com/'
+ * @param string $feedpath
+ * The URL of the actual sitemap (for example http://www.example.com/sitemap.xml).
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($siteUrl, $feedpath, $optParams = array())
+ {
+ $params = array('siteUrl' => $siteUrl, 'feedpath' => $feedpath);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Retrieves information about a specific sitemap. (sitemaps.get)
+ *
+ * @param string $siteUrl
+ * The site's URL, including protocol, for example 'http://www.example.com/'
+ * @param string $feedpath
+ * The URL of the actual sitemap (for example http://www.example.com/sitemap.xml).
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Webmasters_WmxSitemap
+ */
+ public function get($siteUrl, $feedpath, $optParams = array())
+ {
+ $params = array('siteUrl' => $siteUrl, 'feedpath' => $feedpath);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Webmasters_WmxSitemap");
+ }
+ /**
+ * Lists sitemaps uploaded to the site. (sitemaps.listSitemaps)
+ *
+ * @param string $siteUrl
+ * The site's URL, including protocol, for example 'http://www.example.com/'
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string sitemapIndex
+ * A URL of a site's sitemap index.
+ * @return Google_Service_Webmasters_SitemapsListResponse
+ */
+ public function listSitemaps($siteUrl, $optParams = array())
+ {
+ $params = array('siteUrl' => $siteUrl);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Webmasters_SitemapsListResponse");
+ }
+ /**
+ * Submits a sitemap for a site. (sitemaps.submit)
+ *
+ * @param string $siteUrl
+ * The site's URL, including protocol, for example 'http://www.example.com/'
+ * @param string $feedpath
+ * The URL of the sitemap to add.
+ * @param array $optParams Optional parameters.
+ */
+ public function submit($siteUrl, $feedpath, $optParams = array())
+ {
+ $params = array('siteUrl' => $siteUrl, 'feedpath' => $feedpath);
+ $params = array_merge($params, $optParams);
+ return $this->call('submit', array($params));
+ }
+}
+
+/**
+ * The "sites" collection of methods.
+ * Typical usage is:
+ *
+ * $webmastersService = new Google_Service_Webmasters(...);
+ * $sites = $webmastersService->sites;
+ *
+ */
+class Google_Service_Webmasters_Sites_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Adds a site to the set of the user's sites in Webmaster Tools. (sites.add)
+ *
+ * @param string $siteUrl
+ * The URL of the site to add.
+ * @param array $optParams Optional parameters.
+ */
+ public function add($siteUrl, $optParams = array())
+ {
+ $params = array('siteUrl' => $siteUrl);
+ $params = array_merge($params, $optParams);
+ return $this->call('add', array($params));
+ }
+ /**
+ * Removes a site from the set of the user's Webmaster Tools sites.
+ * (sites.delete)
+ *
+ * @param string $siteUrl
+ * The site's URL, including protocol, for example 'http://www.example.com/'
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($siteUrl, $optParams = array())
+ {
+ $params = array('siteUrl' => $siteUrl);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Retrieves information about specific site. (sites.get)
+ *
+ * @param string $siteUrl
+ * The site's URL, including protocol, for example 'http://www.example.com/'
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Webmasters_WmxSite
+ */
+ public function get($siteUrl, $optParams = array())
+ {
+ $params = array('siteUrl' => $siteUrl);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Webmasters_WmxSite");
+ }
+ /**
+ * Lists your Webmaster Tools sites. (sites.listSites)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Webmasters_SitesListResponse
+ */
+ public function listSites($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Webmasters_SitesListResponse");
+ }
+}
+
+/**
+ * The "urlcrawlerrorscounts" collection of methods.
+ * Typical usage is:
+ *
+ * $webmastersService = new Google_Service_Webmasters(...);
+ * $urlcrawlerrorscounts = $webmastersService->urlcrawlerrorscounts;
+ *
+ */
+class Google_Service_Webmasters_Urlcrawlerrorscounts_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Retrieves a time series of the number of URL crawl errors per error category
+ * and platform. (urlcrawlerrorscounts.query)
+ *
+ * @param string $siteUrl
+ * The site's URL, including protocol, for example 'http://www.example.com/'
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string category
+ * The crawl error category, for example 'serverError'. If not specified, we return results for all
+ * categories.
+ * @opt_param string platform
+ * The user agent type (platform) that made the request, for example 'web'. If not specified, we
+ * return results for all platforms.
+ * @opt_param bool latestCountsOnly
+ * If true, returns only the latest crawl error counts.
+ * @return Google_Service_Webmasters_UrlCrawlErrorsCountsQueryResponse
+ */
+ public function query($siteUrl, $optParams = array())
+ {
+ $params = array('siteUrl' => $siteUrl);
+ $params = array_merge($params, $optParams);
+ return $this->call('query', array($params), "Google_Service_Webmasters_UrlCrawlErrorsCountsQueryResponse");
+ }
+}
+
+/**
+ * The "urlcrawlerrorssamples" collection of methods.
+ * Typical usage is:
+ *
+ * $webmastersService = new Google_Service_Webmasters(...);
+ * $urlcrawlerrorssamples = $webmastersService->urlcrawlerrorssamples;
+ *
+ */
+class Google_Service_Webmasters_Urlcrawlerrorssamples_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Retrieves details about crawl errors for a site's sample URL.
+ * (urlcrawlerrorssamples.get)
+ *
+ * @param string $siteUrl
+ * The site's URL, including protocol, for example 'http://www.example.com/'
+ * @param string $url
+ * The relative path (without the site) of the sample URL; must be one of the URLs returned by list
+ * @param string $category
+ * The crawl error category, for example 'authPermissions'
+ * @param string $platform
+ * The user agent type (platform) that made the request, for example 'web'
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Webmasters_UrlCrawlErrorsSample
+ */
+ public function get($siteUrl, $url, $category, $platform, $optParams = array())
+ {
+ $params = array('siteUrl' => $siteUrl, 'url' => $url, 'category' => $category, 'platform' => $platform);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Webmasters_UrlCrawlErrorsSample");
+ }
+ /**
+ * Lists a site's sample URLs for the specified crawl error category and
+ * platform. (urlcrawlerrorssamples.listUrlcrawlerrorssamples)
+ *
+ * @param string $siteUrl
+ * The site's URL, including protocol, for example 'http://www.example.com/'
+ * @param string $category
+ * The crawl error category, for example 'authPermissions'
+ * @param string $platform
+ * The user agent type (platform) that made the request, for example 'web'
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Webmasters_UrlCrawlErrorsSamplesListResponse
+ */
+ public function listUrlcrawlerrorssamples($siteUrl, $category, $platform, $optParams = array())
+ {
+ $params = array('siteUrl' => $siteUrl, 'category' => $category, 'platform' => $platform);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Webmasters_UrlCrawlErrorsSamplesListResponse");
+ }
+ /**
+ * Marks the provided site's sample URL as fixed, and removes it from the
+ * samples list. (urlcrawlerrorssamples.markAsFixed)
+ *
+ * @param string $siteUrl
+ * The site's URL, including protocol, for example 'http://www.example.com/'
+ * @param string $url
+ * The relative path (without the site) of the sample URL; must be one of the URLs returned by list
+ * @param string $category
+ * The crawl error category, for example 'authPermissions'
+ * @param string $platform
+ * The user agent type (platform) that made the request, for example 'web'
+ * @param array $optParams Optional parameters.
+ */
+ public function markAsFixed($siteUrl, $url, $category, $platform, $optParams = array())
+ {
+ $params = array('siteUrl' => $siteUrl, 'url' => $url, 'category' => $category, 'platform' => $platform);
+ $params = array_merge($params, $optParams);
+ return $this->call('markAsFixed', array($params));
+ }
+}
+
+
+
+
+class Google_Service_Webmasters_SitemapsListResponse extends Google_Collection
+{
+ protected $collection_key = 'sitemap';
+ protected $sitemapType = 'Google_Service_Webmasters_WmxSitemap';
+ protected $sitemapDataType = 'array';
+
+ public function setSitemap($sitemap)
+ {
+ $this->sitemap = $sitemap;
+ }
+
+ public function getSitemap()
+ {
+ return $this->sitemap;
+ }
+}
+
+class Google_Service_Webmasters_SitesListResponse extends Google_Collection
+{
+ protected $collection_key = 'siteEntry';
+ protected $siteEntryType = 'Google_Service_Webmasters_WmxSite';
+ protected $siteEntryDataType = 'array';
+
+ public function setSiteEntry($siteEntry)
+ {
+ $this->siteEntry = $siteEntry;
+ }
+
+ public function getSiteEntry()
+ {
+ return $this->siteEntry;
+ }
+}
+
+class Google_Service_Webmasters_UrlCrawlErrorCount extends Google_Model
+{
+ public $count;
+ public $timestamp;
+
+ public function setCount($count)
+ {
+ $this->count = $count;
+ }
+
+ public function getCount()
+ {
+ return $this->count;
+ }
+
+ public function setTimestamp($timestamp)
+ {
+ $this->timestamp = $timestamp;
+ }
+
+ public function getTimestamp()
+ {
+ return $this->timestamp;
+ }
+}
+
+class Google_Service_Webmasters_UrlCrawlErrorCountsPerType extends Google_Collection
+{
+ protected $collection_key = 'entries';
+ public $category;
+ protected $entriesType = 'Google_Service_Webmasters_UrlCrawlErrorCount';
+ protected $entriesDataType = 'array';
+ public $platform;
+
+ public function setCategory($category)
+ {
+ $this->category = $category;
+ }
+
+ public function getCategory()
+ {
+ return $this->category;
+ }
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+
+ public function setPlatform($platform)
+ {
+ $this->platform = $platform;
+ }
+
+ public function getPlatform()
+ {
+ return $this->platform;
+ }
+}
+
+class Google_Service_Webmasters_UrlCrawlErrorsCountsQueryResponse extends Google_Collection
+{
+ protected $collection_key = 'countPerTypes';
+ protected $countPerTypesType = 'Google_Service_Webmasters_UrlCrawlErrorCountsPerType';
+ protected $countPerTypesDataType = 'array';
+
+ public function setCountPerTypes($countPerTypes)
+ {
+ $this->countPerTypes = $countPerTypes;
+ }
+
+ public function getCountPerTypes()
+ {
+ return $this->countPerTypes;
+ }
+}
+
+class Google_Service_Webmasters_UrlCrawlErrorsSample extends Google_Model
+{
+ public $firstDetected;
+ public $lastCrawled;
+ public $pageUrl;
+ public $responseCode;
+ protected $urlDetailsType = 'Google_Service_Webmasters_UrlSampleDetails';
+ protected $urlDetailsDataType = '';
+
+ public function setFirstDetected($firstDetected)
+ {
+ $this->firstDetected = $firstDetected;
+ }
+
+ public function getFirstDetected()
+ {
+ return $this->firstDetected;
+ }
+
+ public function setLastCrawled($lastCrawled)
+ {
+ $this->lastCrawled = $lastCrawled;
+ }
+
+ public function getLastCrawled()
+ {
+ return $this->lastCrawled;
+ }
+
+ public function setPageUrl($pageUrl)
+ {
+ $this->pageUrl = $pageUrl;
+ }
+
+ public function getPageUrl()
+ {
+ return $this->pageUrl;
+ }
+
+ public function setResponseCode($responseCode)
+ {
+ $this->responseCode = $responseCode;
+ }
+
+ public function getResponseCode()
+ {
+ return $this->responseCode;
+ }
+
+ public function setUrlDetails(Google_Service_Webmasters_UrlSampleDetails $urlDetails)
+ {
+ $this->urlDetails = $urlDetails;
+ }
+
+ public function getUrlDetails()
+ {
+ return $this->urlDetails;
+ }
+}
+
+class Google_Service_Webmasters_UrlCrawlErrorsSamplesListResponse extends Google_Collection
+{
+ protected $collection_key = 'urlCrawlErrorSample';
+ protected $urlCrawlErrorSampleType = 'Google_Service_Webmasters_UrlCrawlErrorsSample';
+ protected $urlCrawlErrorSampleDataType = 'array';
+
+ public function setUrlCrawlErrorSample($urlCrawlErrorSample)
+ {
+ $this->urlCrawlErrorSample = $urlCrawlErrorSample;
+ }
+
+ public function getUrlCrawlErrorSample()
+ {
+ return $this->urlCrawlErrorSample;
+ }
+}
+
+class Google_Service_Webmasters_UrlSampleDetails extends Google_Collection
+{
+ protected $collection_key = 'linkedFromUrls';
+ public $containingSitemaps;
+ public $linkedFromUrls;
+
+ public function setContainingSitemaps($containingSitemaps)
+ {
+ $this->containingSitemaps = $containingSitemaps;
+ }
+
+ public function getContainingSitemaps()
+ {
+ return $this->containingSitemaps;
+ }
+
+ public function setLinkedFromUrls($linkedFromUrls)
+ {
+ $this->linkedFromUrls = $linkedFromUrls;
+ }
+
+ public function getLinkedFromUrls()
+ {
+ return $this->linkedFromUrls;
+ }
+}
+
+class Google_Service_Webmasters_WmxSite extends Google_Model
+{
+ public $permissionLevel;
+ public $siteUrl;
+
+ public function setPermissionLevel($permissionLevel)
+ {
+ $this->permissionLevel = $permissionLevel;
+ }
+
+ public function getPermissionLevel()
+ {
+ return $this->permissionLevel;
+ }
+
+ public function setSiteUrl($siteUrl)
+ {
+ $this->siteUrl = $siteUrl;
+ }
+
+ public function getSiteUrl()
+ {
+ return $this->siteUrl;
+ }
+}
+
+class Google_Service_Webmasters_WmxSitemap extends Google_Collection
+{
+ protected $collection_key = 'contents';
+ protected $contentsType = 'Google_Service_Webmasters_WmxSitemapContent';
+ protected $contentsDataType = 'array';
+ public $errors;
+ public $isPending;
+ public $isSitemapsIndex;
+ public $lastDownloaded;
+ public $lastSubmitted;
+ public $path;
+ public $type;
+ public $warnings;
+
+ public function setContents($contents)
+ {
+ $this->contents = $contents;
+ }
+
+ public function getContents()
+ {
+ return $this->contents;
+ }
+
+ public function setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+
+ public function setIsPending($isPending)
+ {
+ $this->isPending = $isPending;
+ }
+
+ public function getIsPending()
+ {
+ return $this->isPending;
+ }
+
+ public function setIsSitemapsIndex($isSitemapsIndex)
+ {
+ $this->isSitemapsIndex = $isSitemapsIndex;
+ }
+
+ public function getIsSitemapsIndex()
+ {
+ return $this->isSitemapsIndex;
+ }
+
+ public function setLastDownloaded($lastDownloaded)
+ {
+ $this->lastDownloaded = $lastDownloaded;
+ }
+
+ public function getLastDownloaded()
+ {
+ return $this->lastDownloaded;
+ }
+
+ public function setLastSubmitted($lastSubmitted)
+ {
+ $this->lastSubmitted = $lastSubmitted;
+ }
+
+ public function getLastSubmitted()
+ {
+ return $this->lastSubmitted;
+ }
+
+ public function setPath($path)
+ {
+ $this->path = $path;
+ }
+
+ public function getPath()
+ {
+ return $this->path;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+
+ public function setWarnings($warnings)
+ {
+ $this->warnings = $warnings;
+ }
+
+ public function getWarnings()
+ {
+ return $this->warnings;
+ }
+}
+
+class Google_Service_Webmasters_WmxSitemapContent extends Google_Model
+{
+ public $indexed;
+ public $submitted;
+ public $type;
+
+ public function setIndexed($indexed)
+ {
+ $this->indexed = $indexed;
+ }
+
+ public function getIndexed()
+ {
+ return $this->indexed;
+ }
+
+ public function setSubmitted($submitted)
+ {
+ $this->submitted = $submitted;
+ }
+
+ public function getSubmitted()
+ {
+ return $this->submitted;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
From 0dae24fa82b5d46d8efae25b933cc8fde7f0c8f7 Mon Sep 17 00:00:00 2001
From: Liam O'Boyle
+ * $genomicsService = new Google_Service_Genomics(...);
+ * $variantsets = $genomicsService->variantsets;
+ *
+ */
+class Google_Service_Genomics_Variantsets_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Deletes the contents of a variant set. The variant set object is not deleted.
+ * (variantsets.delete)
+ *
+ * @param string $variantSetId
+ * The ID of the variant set to be deleted.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($variantSetId, $optParams = array())
+ {
+ $params = array('variantSetId' => $variantSetId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Gets a variant set by ID. (variantsets.get)
+ *
+ * @param string $variantSetId
+ * Required. The ID of the variant set.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_VariantSet
+ */
+ public function get($variantSetId, $optParams = array())
+ {
+ $params = array('variantSetId' => $variantSetId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Genomics_VariantSet");
+ }
+ /**
+ * Returns a list of all variant sets matching search criteria.
+ * (variantsets.search)
+ *
+ * @param Google_SearchVariantSetsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_SearchVariantSetsResponse
+ */
+ public function search(Google_Service_Genomics_SearchVariantSetsRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('search', array($params), "Google_Service_Genomics_SearchVariantSetsResponse");
+ }
+}
+
@@ -1193,6 +1272,8 @@ public function getExists()
class Google_Service_Genomics_Call extends Google_Collection
{
protected $collection_key = 'genotypeLikelihood';
+ public $callSetId;
+ public $callSetName;
public $callsetId;
public $callsetName;
public $genotype;
@@ -1200,6 +1281,26 @@ class Google_Service_Genomics_Call extends Google_Collection
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 setCallsetId($callsetId)
{
$this->callsetId = $callsetId;
@@ -1266,12 +1367,15 @@ class Google_Service_Genomics_CallInfo extends Google_Model
}
-class Google_Service_Genomics_Callset extends Google_Model
+class Google_Service_Genomics_CallSet extends Google_Collection
{
+ protected $collection_key = 'variantSetIds';
public $created;
public $id;
public $info;
public $name;
+ public $sampleId;
+ public $variantSetIds;
public $variantsetId;
public function setCreated($created)
@@ -1314,6 +1418,26 @@ public function getName()
return $this->name;
}
+ public function setSampleId($sampleId)
+ {
+ $this->sampleId = $sampleId;
+ }
+
+ public function getSampleId()
+ {
+ return $this->sampleId;
+ }
+
+ public function setVariantSetIds($variantSetIds)
+ {
+ $this->variantSetIds = $variantSetIds;
+ }
+
+ public function getVariantSetIds()
+ {
+ return $this->variantSetIds;
+ }
+
public function setVariantsetId($variantsetId)
{
$this->variantsetId = $variantsetId;
@@ -1325,7 +1449,7 @@ public function getVariantsetId()
}
}
-class Google_Service_Genomics_CallsetInfo extends Google_Model
+class Google_Service_Genomics_CallSetInfo extends Google_Model
{
}
@@ -1586,9 +1710,11 @@ class Google_Service_Genomics_ExportVariantsRequest extends Google_Collection
protected $collection_key = 'callsetIds';
public $bigqueryDataset;
public $bigqueryTable;
+ public $callSetIds;
public $callsetIds;
public $format;
public $projectId;
+ public $variantSetId;
public $variantsetId;
public function setBigqueryDataset($bigqueryDataset)
@@ -1611,6 +1737,16 @@ public function getBigqueryTable()
return $this->bigqueryTable;
}
+ public function setCallSetIds($callSetIds)
+ {
+ $this->callSetIds = $callSetIds;
+ }
+
+ public function getCallSetIds()
+ {
+ return $this->callSetIds;
+ }
+
public function setCallsetIds($callsetIds)
{
$this->callsetIds = $callsetIds;
@@ -1641,6 +1777,16 @@ public function getProjectId()
return $this->projectId;
}
+ public function setVariantSetId($variantSetId)
+ {
+ $this->variantSetId = $variantSetId;
+ }
+
+ public function getVariantSetId()
+ {
+ return $this->variantSetId;
+ }
+
public function setVariantsetId($variantsetId)
{
$this->variantsetId = $variantsetId;
@@ -1892,6 +2038,7 @@ class Google_Service_Genomics_ImportVariantsRequest extends Google_Collection
protected $collection_key = 'sourceUris';
public $format;
public $sourceUris;
+ public $variantSetId;
public $variantsetId;
public function setFormat($format)
@@ -1914,6 +2061,16 @@ public function getSourceUris()
return $this->sourceUris;
}
+ public function setVariantSetId($variantSetId)
+ {
+ $this->variantSetId = $variantSetId;
+ }
+
+ public function getVariantSetId()
+ {
+ return $this->variantSetId;
+ }
+
public function setVariantsetId($variantsetId)
{
$this->variantsetId = $variantsetId;
@@ -2655,6 +2812,32 @@ public function getName()
}
}
+class Google_Service_Genomics_ReferenceBound extends Google_Model
+{
+ public $referenceName;
+ public $upperBound;
+
+ public function setReferenceName($referenceName)
+ {
+ $this->referenceName = $referenceName;
+ }
+
+ public function getReferenceName()
+ {
+ return $this->referenceName;
+ }
+
+ public function setUpperBound($upperBound)
+ {
+ $this->upperBound = $upperBound;
+ }
+
+ public function getUpperBound()
+ {
+ return $this->upperBound;
+ }
+}
+
class Google_Service_Genomics_ReferenceSequence extends Google_Model
{
public $assemblyId;
@@ -2725,12 +2908,14 @@ public function getUri()
}
}
-class Google_Service_Genomics_SearchCallsetsRequest extends Google_Collection
+class Google_Service_Genomics_SearchCallSetsRequest extends Google_Collection
{
protected $collection_key = 'variantsetIds';
public $maxResults;
public $name;
+ public $pageSize;
public $pageToken;
+ public $variantSetIds;
public $variantsetIds;
public function setMaxResults($maxResults)
@@ -2753,6 +2938,16 @@ public function getName()
return $this->name;
}
+ public function setPageSize($pageSize)
+ {
+ $this->pageSize = $pageSize;
+ }
+
+ public function getPageSize()
+ {
+ return $this->pageSize;
+ }
+
public function setPageToken($pageToken)
{
$this->pageToken = $pageToken;
@@ -2763,6 +2958,16 @@ public function getPageToken()
return $this->pageToken;
}
+ public function setVariantSetIds($variantSetIds)
+ {
+ $this->variantSetIds = $variantSetIds;
+ }
+
+ public function getVariantSetIds()
+ {
+ return $this->variantSetIds;
+ }
+
public function setVariantsetIds($variantsetIds)
{
$this->variantsetIds = $variantsetIds;
@@ -2774,13 +2979,25 @@ public function getVariantsetIds()
}
}
-class Google_Service_Genomics_SearchCallsetsResponse extends Google_Collection
+class Google_Service_Genomics_SearchCallSetsResponse extends Google_Collection
{
protected $collection_key = 'callsets';
- protected $callsetsType = 'Google_Service_Genomics_Callset';
+ protected $callSetsType = 'Google_Service_Genomics_CallSet';
+ protected $callSetsDataType = 'array';
+ 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 setCallsets($callsets)
{
$this->callsets = $callsets;
@@ -3077,19 +3294,113 @@ public function getReadsets()
}
}
+class Google_Service_Genomics_SearchVariantSetsRequest extends Google_Collection
+{
+ protected $collection_key = 'datasetIds';
+ public $datasetId;
+ public $datasetIds;
+ public $pageSize;
+ public $pageToken;
+
+ public function setDatasetId($datasetId)
+ {
+ $this->datasetId = $datasetId;
+ }
+
+ public function getDatasetId()
+ {
+ return $this->datasetId;
+ }
+
+ public function setDatasetIds($datasetIds)
+ {
+ $this->datasetIds = $datasetIds;
+ }
+
+ public function getDatasetIds()
+ {
+ return $this->datasetIds;
+ }
+
+ public function setPageSize($pageSize)
+ {
+ $this->pageSize = $pageSize;
+ }
+
+ public function getPageSize()
+ {
+ return $this->pageSize;
+ }
+
+ public function setPageToken($pageToken)
+ {
+ $this->pageToken = $pageToken;
+ }
+
+ public function getPageToken()
+ {
+ return $this->pageToken;
+ }
+}
+
+class Google_Service_Genomics_SearchVariantSetsResponse extends Google_Collection
+{
+ protected $collection_key = 'variantSets';
+ public $nextPageToken;
+ protected $variantSetsType = 'Google_Service_Genomics_VariantSet';
+ protected $variantSetsDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setVariantSets($variantSets)
+ {
+ $this->variantSets = $variantSets;
+ }
+
+ public function getVariantSets()
+ {
+ return $this->variantSets;
+ }
+}
+
class Google_Service_Genomics_SearchVariantsRequest extends Google_Collection
{
- protected $collection_key = 'callsetNames';
+ protected $collection_key = 'variantSetIds';
+ public $callSetIds;
public $callsetIds;
public $callsetNames;
public $contig;
+ public $end;
public $endPosition;
+ public $maxCalls;
public $maxResults;
+ public $pageSize;
public $pageToken;
+ public $referenceName;
+ public $start;
public $startPosition;
public $variantName;
+ public $variantSetIds;
public $variantsetId;
+ public function setCallSetIds($callSetIds)
+ {
+ $this->callSetIds = $callSetIds;
+ }
+
+ public function getCallSetIds()
+ {
+ return $this->callSetIds;
+ }
+
public function setCallsetIds($callsetIds)
{
$this->callsetIds = $callsetIds;
@@ -3120,6 +3431,16 @@ public function getContig()
return $this->contig;
}
+ public function setEnd($end)
+ {
+ $this->end = $end;
+ }
+
+ public function getEnd()
+ {
+ return $this->end;
+ }
+
public function setEndPosition($endPosition)
{
$this->endPosition = $endPosition;
@@ -3130,6 +3451,16 @@ public function getEndPosition()
return $this->endPosition;
}
+ public function setMaxCalls($maxCalls)
+ {
+ $this->maxCalls = $maxCalls;
+ }
+
+ public function getMaxCalls()
+ {
+ return $this->maxCalls;
+ }
+
public function setMaxResults($maxResults)
{
$this->maxResults = $maxResults;
@@ -3140,6 +3471,16 @@ public function getMaxResults()
return $this->maxResults;
}
+ public function setPageSize($pageSize)
+ {
+ $this->pageSize = $pageSize;
+ }
+
+ public function getPageSize()
+ {
+ return $this->pageSize;
+ }
+
public function setPageToken($pageToken)
{
$this->pageToken = $pageToken;
@@ -3150,6 +3491,26 @@ public function getPageToken()
return $this->pageToken;
}
+ public function setReferenceName($referenceName)
+ {
+ $this->referenceName = $referenceName;
+ }
+
+ public function getReferenceName()
+ {
+ return $this->referenceName;
+ }
+
+ public function setStart($start)
+ {
+ $this->start = $start;
+ }
+
+ public function getStart()
+ {
+ return $this->start;
+ }
+
public function setStartPosition($startPosition)
{
$this->startPosition = $startPosition;
@@ -3170,6 +3531,16 @@ public function getVariantName()
return $this->variantName;
}
+ public function setVariantSetIds($variantSetIds)
+ {
+ $this->variantSetIds = $variantSetIds;
+ }
+
+ public function getVariantSetIds()
+ {
+ return $this->variantSetIds;
+ }
+
public function setVariantsetId($variantsetId)
{
$this->variantsetId = $variantsetId;
@@ -3223,6 +3594,9 @@ class Google_Service_Genomics_Variant extends Google_Collection
public $names;
public $position;
public $referenceBases;
+ public $referenceName;
+ public $start;
+ public $variantSetId;
public $variantsetId;
public function setAlternateBases($alternateBases)
@@ -3325,6 +3699,36 @@ public function getReferenceBases()
return $this->referenceBases;
}
+ public function setReferenceName($referenceName)
+ {
+ $this->referenceName = $referenceName;
+ }
+
+ public function getReferenceName()
+ {
+ return $this->referenceName;
+ }
+
+ public function setStart($start)
+ {
+ $this->start = $start;
+ }
+
+ public function getStart()
+ {
+ return $this->start;
+ }
+
+ public function setVariantSetId($variantSetId)
+ {
+ $this->variantSetId = $variantSetId;
+ }
+
+ public function getVariantSetId()
+ {
+ return $this->variantSetId;
+ }
+
public function setVariantsetId($variantsetId)
{
$this->variantsetId = $variantsetId;
@@ -3340,3 +3744,66 @@ class Google_Service_Genomics_VariantInfo extends Google_Model
{
}
+
+class Google_Service_Genomics_VariantSet extends Google_Collection
+{
+ protected $collection_key = 'referenceBounds';
+ protected $contigBoundsType = 'Google_Service_Genomics_ContigBound';
+ protected $contigBoundsDataType = 'array';
+ public $datasetId;
+ public $id;
+ protected $metadataType = 'Google_Service_Genomics_Metadata';
+ protected $metadataDataType = 'array';
+ protected $referenceBoundsType = 'Google_Service_Genomics_ReferenceBound';
+ protected $referenceBoundsDataType = 'array';
+
+ public function setContigBounds($contigBounds)
+ {
+ $this->contigBounds = $contigBounds;
+ }
+
+ public function getContigBounds()
+ {
+ return $this->contigBounds;
+ }
+
+ 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 setMetadata($metadata)
+ {
+ $this->metadata = $metadata;
+ }
+
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+
+ public function setReferenceBounds($referenceBounds)
+ {
+ $this->referenceBounds = $referenceBounds;
+ }
+
+ public function getReferenceBounds()
+ {
+ return $this->referenceBounds;
+ }
+}
From 325977f190b6ef8fc299be4f30fb7fcf07dd7c5a Mon Sep 17 00:00:00 2001
From: Silvano Luciani
* The Resource View API allows users to create and manage logical sets of Google Compute Engine instances.
@@ -42,7 +42,7 @@ class Google_Service_Resourceviews extends Google_Service
/** 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 $zoneOperations;
public $zoneViews;
@@ -54,132 +54,53 @@ class Google_Service_Resourceviews extends Google_Service
public function __construct(Google_Client $client)
{
parent::__construct($client);
- $this->servicePath = 'resourceviews/v1beta1/projects/';
- $this->version = 'v1beta1';
+ $this->servicePath = 'resourceviews/v1beta2/projects/';
+ $this->version = 'v1beta2';
$this->serviceName = 'resourceviews';
- $this->regionViews = new Google_Service_Resourceviews_RegionViews_Resource(
+ $this->zoneOperations = new Google_Service_Resourceviews_ZoneOperations_Resource(
$this,
$this->serviceName,
- 'regionViews',
+ 'zoneOperations',
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}',
+ 'get' => array(
+ 'path' => '{project}/zones/{zone}/operations/{operation}',
'httpMethod' => 'GET',
'parameters' => array(
- 'projectName' => array(
+ 'project' => 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(
+ 'zone' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
- 'region' => array(
+ 'operation' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'list' => array(
- 'path' => '{projectName}/regions/{region}/resourceViews',
+ 'path' => '{project}/zones/{zone}/operations',
'httpMethod' => 'GET',
'parameters' => array(
- 'projectName' => array(
+ 'project' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
- 'region' => array(
+ 'zone' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'maxResults' => array(
+ 'filter' => 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',
@@ -190,26 +111,6 @@ public function __construct(Google_Client $client)
'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,
- ),
- ),
),
)
)
@@ -220,11 +121,11 @@ public function __construct(Google_Client $client)
'zoneViews',
array(
'methods' => array(
- 'addresources' => array(
- 'path' => '{projectName}/zones/{zone}/resourceViews/{resourceViewName}/addResources',
+ 'addResources' => array(
+ 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}/addResources',
'httpMethod' => 'POST',
'parameters' => array(
- 'projectName' => array(
+ 'project' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
@@ -234,17 +135,17 @@ public function __construct(Google_Client $client)
'type' => 'string',
'required' => true,
),
- 'resourceViewName' => array(
+ 'resourceView' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'delete' => array(
- 'path' => '{projectName}/zones/{zone}/resourceViews/{resourceViewName}',
+ 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}',
'httpMethod' => 'DELETE',
'parameters' => array(
- 'projectName' => array(
+ 'project' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
@@ -254,17 +155,37 @@ public function __construct(Google_Client $client)
'type' => 'string',
'required' => true,
),
- 'resourceViewName' => array(
+ 'resourceView' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'get' => array(
- 'path' => '{projectName}/zones/{zone}/resourceViews/{resourceViewName}',
+ 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}',
'httpMethod' => 'GET',
'parameters' => array(
- 'projectName' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'resourceView' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'getService' => array(
+ 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}/getService',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
@@ -274,17 +195,21 @@ public function __construct(Google_Client $client)
'type' => 'string',
'required' => true,
),
- 'resourceViewName' => array(
+ 'resourceView' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
+ 'resourceName' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
),
),'insert' => array(
- 'path' => '{projectName}/zones/{zone}/resourceViews',
+ 'path' => '{project}/zones/{zone}/resourceViews',
'httpMethod' => 'POST',
'parameters' => array(
- 'projectName' => array(
+ 'project' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
@@ -296,10 +221,10 @@ public function __construct(Google_Client $client)
),
),
),'list' => array(
- 'path' => '{projectName}/zones/{zone}/resourceViews',
+ 'path' => '{project}/zones/{zone}/resourceViews',
'httpMethod' => 'GET',
'parameters' => array(
- 'projectName' => array(
+ 'project' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
@@ -318,11 +243,11 @@ public function __construct(Google_Client $client)
'type' => 'integer',
),
),
- ),'listresources' => array(
- 'path' => '{projectName}/zones/{zone}/resourceViews/{resourceViewName}/resources',
- 'httpMethod' => 'POST',
+ ),'listResources' => array(
+ 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}/resources',
+ 'httpMethod' => 'GET',
'parameters' => array(
- 'projectName' => array(
+ 'project' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
@@ -332,12 +257,16 @@ public function __construct(Google_Client $client)
'type' => 'string',
'required' => true,
),
- 'resourceViewName' => array(
+ 'resourceView' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
- 'pageToken' => array(
+ 'listState' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'format' => array(
'location' => 'query',
'type' => 'string',
),
@@ -345,12 +274,40 @@ public function __construct(Google_Client $client)
'location' => 'query',
'type' => 'integer',
),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'serviceName' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'removeResources' => array(
+ 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}/removeResources',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'resourceView' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
),
- ),'removeresources' => array(
- 'path' => '{projectName}/zones/{zone}/resourceViews/{resourceViewName}/removeResources',
+ ),'setService' => array(
+ 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}/setService',
'httpMethod' => 'POST',
'parameters' => array(
- 'projectName' => array(
+ 'project' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
@@ -360,7 +317,7 @@ public function __construct(Google_Client $client)
'type' => 'string',
'required' => true,
),
- 'resourceViewName' => array(
+ 'resourceView' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
@@ -375,151 +332,60 @@ public function __construct(Google_Client $client)
/**
- * The "regionViews" collection of methods.
+ * The "zoneOperations" collection of methods.
* Typical usage is:
*
* 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/v1/';
- $this->version = 'v1';
+ $this->servicePath = 'civicinfo/v2/';
+ $this->version = 'v2';
$this->serviceName = 'civicinfo';
$this->divisions = new Google_Service_CivicInfo_Divisions_Resource(
@@ -57,7 +57,7 @@ public function __construct(Google_Client $client)
array(
'methods' => array(
'search' => array(
- 'path' => 'representatives/division_search',
+ 'path' => 'divisions',
'httpMethod' => 'GET',
'parameters' => array(
'query' => array(
@@ -80,14 +80,18 @@ public function __construct(Google_Client $client)
'httpMethod' => 'GET',
'parameters' => array(),
),'voterInfoQuery' => array(
- 'path' => 'voterinfo/{electionId}/lookup',
- 'httpMethod' => 'POST',
+ 'path' => 'voterinfo',
+ 'httpMethod' => 'GET',
'parameters' => array(
- 'electionId' => array(
- 'location' => 'path',
+ 'address' => array(
+ 'location' => 'query',
'type' => 'string',
'required' => true,
),
+ 'electionId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
'officialOnly' => array(
'location' => 'query',
'type' => 'boolean',
@@ -103,22 +107,52 @@ public function __construct(Google_Client $client)
'representatives',
array(
'methods' => array(
- 'representativeInfoQuery' => array(
- 'path' => 'representatives/lookup',
- 'httpMethod' => 'POST',
+ 'representativeInfoByAddress' => array(
+ 'path' => 'representatives',
+ 'httpMethod' => 'GET',
'parameters' => array(
- 'ocdId' => array(
+ 'includeOffices' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'levels' => array(
'location' => 'query',
'type' => 'string',
+ 'repeated' => true,
),
- 'includeOffices' => array(
+ 'roles' => array(
'location' => 'query',
- 'type' => 'boolean',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'address' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'representativeInfoByDivision' => array(
+ 'path' => 'representatives/{ocdId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'ocdId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'levels' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
),
'recursive' => array(
'location' => 'query',
'type' => 'boolean',
),
+ 'roles' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
),
),
)
@@ -187,19 +221,20 @@ public function electionQuery($optParams = array())
* Looks up information relevant to a voter based on the voter's registered
* address. (elections.voterInfoQuery)
*
- * @param string $electionId
- * The unique ID of the election to look up. A list of election IDs can be obtained at
- * https://www.googleapis.com/civicinfo/{version}/elections
- * @param Google_VoterInfoRequest $postBody
+ * @param string $address
+ * The registered address of the voter to look up.
* @param array $optParams Optional parameters.
*
+ * @opt_param string electionId
+ * The unique ID of the election to look up. A list of election IDs can be obtained at
+ * https://www.googleapis.com/civicinfo/{version}/elections
* @opt_param bool officialOnly
* If set to true, only data from official state sources will be returned.
* @return Google_Service_CivicInfo_VoterInfoResponse
*/
- public function voterInfoQuery($electionId, Google_Service_CivicInfo_VoterInfoRequest $postBody, $optParams = array())
+ public function voterInfoQuery($address, $optParams = array())
{
- $params = array('electionId' => $electionId, 'postBody' => $postBody);
+ $params = array('address' => $address);
$params = array_merge($params, $optParams);
return $this->call('voterInfoQuery', array($params), "Google_Service_CivicInfo_VoterInfoResponse");
}
@@ -217,30 +252,55 @@ class Google_Service_CivicInfo_Representatives_Resource extends Google_Service_R
{
/**
- * Looks up political geography and representative information based on an
- * address or Open Civic Data division identifier.
- * (representatives.representativeInfoQuery)
+ * Looks up political geography and representative information for a single
+ * address. (representatives.representativeInfoByAddress)
*
- * @param Google_RepresentativeInfoRequest $postBody
* @param array $optParams Optional parameters.
*
- * @opt_param string ocdId
- * The division to look up. May only be specified if the address field is not given in the request
- * body.
* @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.
+ * @opt_param string levels
+ * A list of office levels to filter by. Only offices that serve at least one of these levels will
+ * be returned. Divisions that don't contain a matching office will not be returned.
+ * @opt_param string roles
+ * A list of office roles to filter by. Only offices fulfilling one of these roles will be
+ * returned. Divisions that don't contain a matching office will not be returned.
+ * @opt_param string address
+ * The address to look up. May only be specified if the field ocdId is not given in the URL.
* @return Google_Service_CivicInfo_RepresentativeInfoResponse
*/
- public function representativeInfoQuery(Google_Service_CivicInfo_RepresentativeInfoRequest $postBody, $optParams = array())
+ public function representativeInfoByAddress($optParams = array())
{
- $params = array('postBody' => $postBody);
+ $params = array();
$params = array_merge($params, $optParams);
- return $this->call('representativeInfoQuery', array($params), "Google_Service_CivicInfo_RepresentativeInfoResponse");
+ return $this->call('representativeInfoByAddress', array($params), "Google_Service_CivicInfo_RepresentativeInfoResponse");
+ }
+ /**
+ * Looks up representative information for a single geographic division.
+ * (representatives.representativeInfoByDivision)
+ *
+ * @param string $ocdId
+ * The Open Civic Data division identifier of the division to look up.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string levels
+ * A list of office levels to filter by. Only offices that serve at least one of these levels will
+ * be returned. Divisions that don't contain a matching office will not be returned.
+ * @opt_param bool recursive
+ * If true, information about all divisions contained in the division requested will be included as
+ * well. For example, if querying ocd-division/country:us/district:dc, this would also return all
+ * DC's wards and ANCs.
+ * @opt_param string roles
+ * A list of office roles to filter by. Only offices fulfilling one of these roles will be
+ * returned. Divisions that don't contain a matching office will not be returned.
+ * @return Google_Service_CivicInfo_RepresentativeInfoData
+ */
+ public function representativeInfoByDivision($ocdId, $optParams = array())
+ {
+ $params = array('ocdId' => $ocdId);
+ $params = array_merge($params, $optParams);
+ return $this->call('representativeInfoByDivision', array($params), "Google_Service_CivicInfo_RepresentativeInfoData");
}
}
@@ -599,6 +659,7 @@ class Google_Service_CivicInfo_Contest extends Google_Collection
public $referendumSubtitle;
public $referendumTitle;
public $referendumUrl;
+ public $roles;
protected $sourcesType = 'Google_Service_CivicInfo_Source';
protected $sourcesDataType = 'array';
public $special;
@@ -734,6 +795,16 @@ public function getReferendumUrl()
return $this->referendumUrl;
}
+ public function setRoles($roles)
+ {
+ $this->roles = $roles;
+ }
+
+ public function getRoles()
+ {
+ return $this->roles;
+ }
+
public function setSources($sources)
{
$this->sources = $sources;
@@ -771,7 +842,6 @@ 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)
{
@@ -792,16 +862,6 @@ 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_Collection
@@ -1005,11 +1065,10 @@ public function getScope()
class Google_Service_CivicInfo_GeographicDivision extends Google_Collection
{
- protected $collection_key = 'officeIds';
+ protected $collection_key = 'officeIndices';
public $alsoKnownAs;
public $name;
- public $officeIds;
- public $scope;
+ public $officeIndices;
public function setAlsoKnownAs($alsoKnownAs)
{
@@ -1031,24 +1090,14 @@ public function getName()
return $this->name;
}
- public function setOfficeIds($officeIds)
- {
- $this->officeIds = $officeIds;
- }
-
- public function getOfficeIds()
+ public function setOfficeIndices($officeIndices)
{
- return $this->officeIds;
+ $this->officeIndices = $officeIndices;
}
- public function setScope($scope)
+ public function getOfficeIndices()
{
- $this->scope = $scope;
- }
-
- public function getScope()
- {
- return $this->scope;
+ return $this->officeIndices;
}
}
@@ -1056,9 +1105,10 @@ class Google_Service_CivicInfo_Office extends Google_Collection
{
protected $collection_key = 'sources';
public $divisionId;
- public $level;
+ public $levels;
public $name;
- public $officialIds;
+ public $officialIndices;
+ public $roles;
protected $sourcesType = 'Google_Service_CivicInfo_Source';
protected $sourcesDataType = 'array';
@@ -1072,14 +1122,14 @@ public function getDivisionId()
return $this->divisionId;
}
- public function setLevel($level)
+ public function setLevels($levels)
{
- $this->level = $level;
+ $this->levels = $levels;
}
- public function getLevel()
+ public function getLevels()
{
- return $this->level;
+ return $this->levels;
}
public function setName($name)
@@ -1092,14 +1142,24 @@ public function getName()
return $this->name;
}
- public function setOfficialIds($officialIds)
+ public function setOfficialIndices($officialIndices)
+ {
+ $this->officialIndices = $officialIndices;
+ }
+
+ public function getOfficialIndices()
{
- $this->officialIds = $officialIds;
+ return $this->officialIndices;
}
- public function getOfficialIds()
+ public function setRoles($roles)
{
- return $this->officialIds;
+ $this->roles = $roles;
+ }
+
+ public function getRoles()
+ {
+ return $this->roles;
}
public function setSources($sources)
@@ -1314,33 +1374,64 @@ public function getVoterServices()
}
}
-class Google_Service_CivicInfo_RepresentativeInfoRequest extends Google_Model
+class Google_Service_CivicInfo_RepresentativeInfoData extends Google_Collection
{
- public $address;
+ protected $collection_key = 'officials';
+ protected $divisionsType = 'Google_Service_CivicInfo_GeographicDivision';
+ protected $divisionsDataType = 'map';
+ protected $officesType = 'Google_Service_CivicInfo_Office';
+ protected $officesDataType = 'array';
+ protected $officialsType = 'Google_Service_CivicInfo_Official';
+ protected $officialsDataType = 'array';
- public function setAddress($address)
+ public function setDivisions($divisions)
{
- $this->address = $address;
+ $this->divisions = $divisions;
}
- public function getAddress()
+ public function getDivisions()
{
- return $this->address;
+ return $this->divisions;
+ }
+
+ public function setOffices($offices)
+ {
+ $this->offices = $offices;
+ }
+
+ public function getOffices()
+ {
+ return $this->offices;
+ }
+
+ public function setOfficials($officials)
+ {
+ $this->officials = $officials;
+ }
+
+ public function getOfficials()
+ {
+ return $this->officials;
}
}
-class Google_Service_CivicInfo_RepresentativeInfoResponse extends Google_Model
+class Google_Service_CivicInfo_RepresentativeInfoDataDivisions extends Google_Model
+{
+
+}
+
+class Google_Service_CivicInfo_RepresentativeInfoResponse extends Google_Collection
{
+ protected $collection_key = 'officials';
protected $divisionsType = 'Google_Service_CivicInfo_GeographicDivision';
protected $divisionsDataType = 'map';
public $kind;
protected $normalizedInputType = 'Google_Service_CivicInfo_SimpleAddressType';
protected $normalizedInputDataType = '';
protected $officesType = 'Google_Service_CivicInfo_Office';
- protected $officesDataType = 'map';
+ protected $officesDataType = 'array';
protected $officialsType = 'Google_Service_CivicInfo_Official';
- protected $officialsDataType = 'map';
- public $status;
+ protected $officialsDataType = 'array';
public function setDivisions($divisions)
{
@@ -1391,16 +1482,6 @@ public function getOfficials()
{
return $this->officials;
}
-
- public function setStatus($status)
- {
- $this->status = $status;
- }
-
- public function getStatus()
- {
- return $this->status;
- }
}
class Google_Service_CivicInfo_RepresentativeInfoResponseDivisions extends Google_Model
@@ -1408,16 +1489,6 @@ class Google_Service_CivicInfo_RepresentativeInfoResponseDivisions extends Googl
}
-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;
@@ -1525,21 +1596,6 @@ public function getOfficial()
}
}
-class Google_Service_CivicInfo_VoterInfoRequest extends Google_Model
-{
- public $address;
-
- public function setAddress($address)
- {
- $this->address = $address;
- }
-
- public function getAddress()
- {
- return $this->address;
- }
-}
-
class Google_Service_CivicInfo_VoterInfoResponse extends Google_Collection
{
protected $collection_key = 'state';
@@ -1552,11 +1608,12 @@ class Google_Service_CivicInfo_VoterInfoResponse extends Google_Collection
public $kind;
protected $normalizedInputType = 'Google_Service_CivicInfo_SimpleAddressType';
protected $normalizedInputDataType = '';
+ protected $otherElectionsType = 'Google_Service_CivicInfo_Election';
+ protected $otherElectionsDataType = 'array';
protected $pollingLocationsType = 'Google_Service_CivicInfo_PollingLocation';
protected $pollingLocationsDataType = 'array';
protected $stateType = 'Google_Service_CivicInfo_AdministrationRegion';
protected $stateDataType = 'array';
- public $status;
public function setContests($contests)
{
@@ -1608,6 +1665,16 @@ public function getNormalizedInput()
return $this->normalizedInput;
}
+ public function setOtherElections($otherElections)
+ {
+ $this->otherElections = $otherElections;
+ }
+
+ public function getOtherElections()
+ {
+ return $this->otherElections;
+ }
+
public function setPollingLocations($pollingLocations)
{
$this->pollingLocations = $pollingLocations;
@@ -1627,14 +1694,4 @@ public function getState()
{
return $this->state;
}
-
- public function setStatus($status)
- {
- $this->status = $status;
- }
-
- public function getStatus()
- {
- return $this->status;
- }
}
From b01bb42aad69b539dc108e6449b9e48596ca056a Mon Sep 17 00:00:00 2001
From: Silvano Luciani Foo! Foo!
* $resourceviewsService = new Google_Service_Resourceviews(...);
- * $regionViews = $resourceviewsService->regionViews;
+ * $zoneOperations = $resourceviewsService->zoneOperations;
*
*/
-class Google_Service_Resourceviews_RegionViews_Resource extends Google_Service_Resource
+class Google_Service_Resourceviews_ZoneOperations_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)
+ * Retrieves the specified zone-specific operation resource.
+ * (zoneOperations.get)
*
- * @param string $projectName
- * The project name of the resource view.
- * @param string $region
- * The region name of the resource view.
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param string $zone
+ * Name of the zone scoping this request.
+ * @param string $operation
+ * Name of the operation resource to return.
* @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 5000, inclusive. (Default:
- * 5000)
- * @return Google_Service_Resourceviews_RegionViewsListResponse
+ * @return Google_Service_Resourceviews_Operation
*/
- public function listRegionViews($projectName, $region, $optParams = array())
+ public function get($project, $zone, $operation, $optParams = array())
{
- $params = array('projectName' => $projectName, 'region' => $region);
+ $params = array('project' => $project, 'zone' => $zone, 'operation' => $operation);
$params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Resourceviews_RegionViewsListResponse");
+ return $this->call('get', array($params), "Google_Service_Resourceviews_Operation");
}
/**
- * List the resources in the view. (regionViews.listresources)
+ * Retrieves the list of operation resources contained within the specified
+ * zone. (zoneOperations.listZoneOperations)
*
- * @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 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
- * 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 5000, inclusive. (Default:
- * 5000)
- * @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.
+ * 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_Resourceviews_OperationList
*/
- public function removeresources($projectName, $region, $resourceViewName, Google_Service_Resourceviews_RegionViewsRemoveResourcesRequest $postBody, $optParams = array())
+ public function listZoneOperations($project, $zone, $optParams = array())
{
- $params = array('projectName' => $projectName, 'region' => $region, 'resourceViewName' => $resourceViewName, 'postBody' => $postBody);
+ $params = array('project' => $project, 'zone' => $zone);
$params = array_merge($params, $optParams);
- return $this->call('removeresources', array($params));
+ return $this->call('list', array($params), "Google_Service_Resourceviews_OperationList");
}
}
@@ -535,79 +401,103 @@ class Google_Service_Resourceviews_ZoneViews_Resource extends Google_Service_Res
{
/**
- * Add resources to the view. (zoneViews.addresources)
+ * Add resources to the view. (zoneViews.addResources)
*
- * @param string $projectName
+ * @param string $project
* The project name of the resource view.
* @param string $zone
* The zone name of the resource view.
- * @param string $resourceViewName
+ * @param string $resourceView
* The name of the resource view.
* @param Google_ZoneViewsAddResourcesRequest $postBody
* @param array $optParams Optional parameters.
+ * @return Google_Service_Resourceviews_Operation
*/
- public function addresources($projectName, $zone, $resourceViewName, Google_Service_Resourceviews_ZoneViewsAddResourcesRequest $postBody, $optParams = array())
+ public function addResources($project, $zone, $resourceView, Google_Service_Resourceviews_ZoneViewsAddResourcesRequest $postBody, $optParams = array())
{
- $params = array('projectName' => $projectName, 'zone' => $zone, 'resourceViewName' => $resourceViewName, 'postBody' => $postBody);
+ $params = array('project' => $project, 'zone' => $zone, 'resourceView' => $resourceView, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
- return $this->call('addresources', array($params));
+ return $this->call('addResources', array($params), "Google_Service_Resourceviews_Operation");
}
/**
* Delete a resource view. (zoneViews.delete)
*
- * @param string $projectName
+ * @param string $project
* The project name of the resource view.
* @param string $zone
* The zone name of the resource view.
- * @param string $resourceViewName
+ * @param string $resourceView
* The name of the resource view.
* @param array $optParams Optional parameters.
+ * @return Google_Service_Resourceviews_Operation
*/
- public function delete($projectName, $zone, $resourceViewName, $optParams = array())
+ public function delete($project, $zone, $resourceView, $optParams = array())
{
- $params = array('projectName' => $projectName, 'zone' => $zone, 'resourceViewName' => $resourceViewName);
+ $params = array('project' => $project, 'zone' => $zone, 'resourceView' => $resourceView);
$params = array_merge($params, $optParams);
- return $this->call('delete', array($params));
+ return $this->call('delete', array($params), "Google_Service_Resourceviews_Operation");
}
/**
* Get the information of a zonal resource view. (zoneViews.get)
*
- * @param string $projectName
+ * @param string $project
* The project name of the resource view.
* @param string $zone
* The zone name of the resource view.
- * @param string $resourceViewName
+ * @param string $resourceView
* The name of the resource view.
* @param array $optParams Optional parameters.
* @return Google_Service_Resourceviews_ResourceView
*/
- public function get($projectName, $zone, $resourceViewName, $optParams = array())
+ public function get($project, $zone, $resourceView, $optParams = array())
{
- $params = array('projectName' => $projectName, 'zone' => $zone, 'resourceViewName' => $resourceViewName);
+ $params = array('project' => $project, 'zone' => $zone, 'resourceView' => $resourceView);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_Resourceviews_ResourceView");
}
+ /**
+ * Get the service information of a resource view or a resource.
+ * (zoneViews.getService)
+ *
+ * @param string $project
+ * The project name of the resource view.
+ * @param string $zone
+ * The zone name of the resource view.
+ * @param string $resourceView
+ * The name of the resource view.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string resourceName
+ * The name of the resource if user wants to get the service information of the resource.
+ * @return Google_Service_Resourceviews_ZoneViewsGetServiceResponse
+ */
+ public function getService($project, $zone, $resourceView, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'resourceView' => $resourceView);
+ $params = array_merge($params, $optParams);
+ return $this->call('getService', array($params), "Google_Service_Resourceviews_ZoneViewsGetServiceResponse");
+ }
/**
* Create a resource view. (zoneViews.insert)
*
- * @param string $projectName
+ * @param string $project
* 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
+ * @return Google_Service_Resourceviews_Operation
*/
- public function insert($projectName, $zone, Google_Service_Resourceviews_ResourceView $postBody, $optParams = array())
+ public function insert($project, $zone, Google_Service_Resourceviews_ResourceView $postBody, $optParams = array())
{
- $params = array('projectName' => $projectName, 'zone' => $zone, 'postBody' => $postBody);
+ $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
- return $this->call('insert', array($params), "Google_Service_Resourceviews_ZoneViewsInsertResponse");
+ return $this->call('insert', array($params), "Google_Service_Resourceviews_Operation");
}
/**
* List resource views. (zoneViews.listZoneViews)
*
- * @param string $projectName
+ * @param string $project
* The project name of the resource view.
* @param string $zone
* The zone name of the resource view.
@@ -619,56 +509,86 @@ public function insert($projectName, $zone, Google_Service_Resourceviews_Resourc
* @opt_param int maxResults
* Maximum count of results to be returned. Acceptable values are 0 to 5000, inclusive. (Default:
* 5000)
- * @return Google_Service_Resourceviews_ZoneViewsListResponse
+ * @return Google_Service_Resourceviews_ZoneViewsList
*/
- public function listZoneViews($projectName, $zone, $optParams = array())
+ public function listZoneViews($project, $zone, $optParams = array())
{
- $params = array('projectName' => $projectName, 'zone' => $zone);
+ $params = array('project' => $project, 'zone' => $zone);
$params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Resourceviews_ZoneViewsListResponse");
+ return $this->call('list', array($params), "Google_Service_Resourceviews_ZoneViewsList");
}
/**
- * List the resources of the resource view. (zoneViews.listresources)
+ * List the resources of the resource view. (zoneViews.listResources)
*
- * @param string $projectName
+ * @param string $project
* The project name of the resource view.
* @param string $zone
* The zone name of the resource view.
- * @param string $resourceViewName
+ * @param string $resourceView
* 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 string listState
+ * The state of the instance to list. By default, it lists all instances.
+ * @opt_param string format
+ * The requested format of the return value. It can be URL or URL_PORT. A JSON object will be
+ * included in the response based on the format. The default format is NONE, which results in no
+ * JSON in the response.
* @opt_param int maxResults
* Maximum count of results to be returned. Acceptable values are 0 to 5000, inclusive. (Default:
* 5000)
+ * @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 string serviceName
+ * The service name to return in the response. It is optional and if it is not set, all the service
+ * end points will be returned.
* @return Google_Service_Resourceviews_ZoneViewsListResourcesResponse
*/
- public function listresources($projectName, $zone, $resourceViewName, $optParams = array())
+ public function listResources($project, $zone, $resourceView, $optParams = array())
{
- $params = array('projectName' => $projectName, 'zone' => $zone, 'resourceViewName' => $resourceViewName);
+ $params = array('project' => $project, 'zone' => $zone, 'resourceView' => $resourceView);
$params = array_merge($params, $optParams);
- return $this->call('listresources', array($params), "Google_Service_Resourceviews_ZoneViewsListResourcesResponse");
+ return $this->call('listResources', array($params), "Google_Service_Resourceviews_ZoneViewsListResourcesResponse");
}
/**
- * Remove resources from the view. (zoneViews.removeresources)
+ * Remove resources from the view. (zoneViews.removeResources)
*
- * @param string $projectName
+ * @param string $project
* The project name of the resource view.
* @param string $zone
* The zone name of the resource view.
- * @param string $resourceViewName
+ * @param string $resourceView
* The name of the resource view.
* @param Google_ZoneViewsRemoveResourcesRequest $postBody
* @param array $optParams Optional parameters.
+ * @return Google_Service_Resourceviews_Operation
+ */
+ public function removeResources($project, $zone, $resourceView, Google_Service_Resourceviews_ZoneViewsRemoveResourcesRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'resourceView' => $resourceView, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('removeResources', array($params), "Google_Service_Resourceviews_Operation");
+ }
+ /**
+ * Update the service information of a resource view or a resource.
+ * (zoneViews.setService)
+ *
+ * @param string $project
+ * The project name of the resource view.
+ * @param string $zone
+ * The zone name of the resource view.
+ * @param string $resourceView
+ * The name of the resource view.
+ * @param Google_ZoneViewsSetServiceRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Resourceviews_Operation
*/
- public function removeresources($projectName, $zone, $resourceViewName, Google_Service_Resourceviews_ZoneViewsRemoveResourcesRequest $postBody, $optParams = array())
+ public function setService($project, $zone, $resourceView, Google_Service_Resourceviews_ZoneViewsSetServiceRequest $postBody, $optParams = array())
{
- $params = array('projectName' => $projectName, 'zone' => $zone, 'resourceViewName' => $resourceViewName, 'postBody' => $postBody);
+ $params = array('project' => $project, 'zone' => $zone, 'resourceView' => $resourceView, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
- return $this->call('removeresources', array($params));
+ return $this->call('setService', array($params), "Google_Service_Resourceviews_Operation");
}
}
@@ -701,28 +621,22 @@ public function getValue()
}
}
-class Google_Service_Resourceviews_RegionViewsAddResourcesRequest extends Google_Collection
+class Google_Service_Resourceviews_ListResourceResponseItem extends Google_Model
{
- protected $collection_key = 'resources';
- public $resources;
+ public $endpoints;
+ public $resource;
- public function setResources($resources)
+ public function setEndpoints($endpoints)
{
- $this->resources = $resources;
+ $this->endpoints = $endpoints;
}
- public function getResources()
+ public function getEndpoints()
{
- return $this->resources;
+ return $this->endpoints;
}
-}
-
-class Google_Service_Resourceviews_RegionViewsInsertResponse extends Google_Model
-{
- protected $resourceType = 'Google_Service_Resourceviews_ResourceView';
- protected $resourceDataType = '';
- public function setResource(Google_Service_Resourceviews_ResourceView $resource)
+ public function setResource($resource)
{
$this->resource = $resource;
}
@@ -733,100 +647,466 @@ public function getResource()
}
}
-class Google_Service_Resourceviews_RegionViewsListResourcesResponse extends Google_Collection
+class Google_Service_Resourceviews_ListResourceResponseItemEndpoints extends Google_Model
{
- protected $collection_key = 'members';
- public $members;
- public $nextPageToken;
- public function setMembers($members)
+}
+
+class Google_Service_Resourceviews_Operation extends Google_Collection
+{
+ protected $collection_key = 'warnings';
+ public $clientOperationId;
+ public $creationTimestamp;
+ public $endTime;
+ protected $errorType = 'Google_Service_Resourceviews_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_Resourceviews_OperationWarnings';
+ protected $warningsDataType = 'array';
+ public $zone;
+
+ public function setClientOperationId($clientOperationId)
{
- $this->members = $members;
+ $this->clientOperationId = $clientOperationId;
}
- public function getMembers()
+ public function getClientOperationId()
{
- return $this->members;
+ return $this->clientOperationId;
}
- public function setNextPageToken($nextPageToken)
+ public function setCreationTimestamp($creationTimestamp)
{
- $this->nextPageToken = $nextPageToken;
+ $this->creationTimestamp = $creationTimestamp;
}
- public function getNextPageToken()
+ public function getCreationTimestamp()
{
- return $this->nextPageToken;
+ return $this->creationTimestamp;
}
-}
-class Google_Service_Resourceviews_RegionViewsListResponse extends Google_Collection
-{
- protected $collection_key = 'resourceViews';
- public $nextPageToken;
- protected $resourceViewsType = 'Google_Service_Resourceviews_ResourceView';
- protected $resourceViewsDataType = 'array';
+ public function setEndTime($endTime)
+ {
+ $this->endTime = $endTime;
+ }
- public function setNextPageToken($nextPageToken)
+ public function getEndTime()
{
- $this->nextPageToken = $nextPageToken;
+ return $this->endTime;
}
- public function getNextPageToken()
+ public function setError(Google_Service_Resourceviews_OperationError $error)
{
- return $this->nextPageToken;
+ $this->error = $error;
}
- public function setResourceViews($resourceViews)
+ public function getError()
{
- $this->resourceViews = $resourceViews;
+ return $this->error;
}
- public function getResourceViews()
+ public function setHttpErrorMessage($httpErrorMessage)
{
- return $this->resourceViews;
+ $this->httpErrorMessage = $httpErrorMessage;
}
-}
-class Google_Service_Resourceviews_RegionViewsRemoveResourcesRequest extends Google_Collection
-{
- protected $collection_key = 'resources';
- public $resources;
+ public function getHttpErrorMessage()
+ {
+ return $this->httpErrorMessage;
+ }
- public function setResources($resources)
+ public function setHttpErrorStatusCode($httpErrorStatusCode)
{
- $this->resources = $resources;
+ $this->httpErrorStatusCode = $httpErrorStatusCode;
}
- public function getResources()
+ public function getHttpErrorStatusCode()
{
- return $this->resources;
+ 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_Resourceviews_OperationError extends Google_Collection
+{
+ protected $collection_key = 'errors';
+ protected $errorsType = 'Google_Service_Resourceviews_OperationErrorErrors';
+ protected $errorsDataType = 'array';
+
+ public function setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+}
+
+class Google_Service_Resourceviews_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_Resourceviews_OperationList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ public $id;
+ protected $itemsType = 'Google_Service_Resourceviews_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_Resourceviews_OperationWarnings extends Google_Collection
+{
+ protected $collection_key = 'data';
+ public $code;
+ protected $dataType = 'Google_Service_Resourceviews_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_Resourceviews_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;
}
}
class Google_Service_Resourceviews_ResourceView extends Google_Collection
{
- protected $collection_key = 'members';
- public $creationTime;
+ protected $collection_key = 'resources';
+ public $creationTimestamp;
public $description;
+ protected $endpointsType = 'Google_Service_Resourceviews_ServiceEndpoint';
+ protected $endpointsDataType = 'array';
+ public $fingerprint;
public $id;
public $kind;
protected $labelsType = 'Google_Service_Resourceviews_Label';
protected $labelsDataType = 'array';
- public $lastModified;
- public $members;
public $name;
- public $numMembers;
+ public $network;
+ public $resources;
public $selfLink;
+ public $size;
- public function setCreationTime($creationTime)
+ public function setCreationTimestamp($creationTimestamp)
{
- $this->creationTime = $creationTime;
+ $this->creationTimestamp = $creationTimestamp;
}
- public function getCreationTime()
+ public function getCreationTimestamp()
{
- return $this->creationTime;
+ return $this->creationTimestamp;
}
public function setDescription($description)
@@ -839,6 +1119,26 @@ public function getDescription()
return $this->description;
}
+ public function setEndpoints($endpoints)
+ {
+ $this->endpoints = $endpoints;
+ }
+
+ public function getEndpoints()
+ {
+ return $this->endpoints;
+ }
+
+ public function setFingerprint($fingerprint)
+ {
+ $this->fingerprint = $fingerprint;
+ }
+
+ public function getFingerprint()
+ {
+ return $this->fingerprint;
+ }
+
public function setId($id)
{
$this->id = $id;
@@ -869,54 +1169,80 @@ public function getLabels()
return $this->labels;
}
- public function setLastModified($lastModified)
+ public function setName($name)
{
- $this->lastModified = $lastModified;
+ $this->name = $name;
}
- public function getLastModified()
+ public function getName()
{
- return $this->lastModified;
+ return $this->name;
}
- public function setMembers($members)
+ public function setNetwork($network)
{
- $this->members = $members;
+ $this->network = $network;
}
- public function getMembers()
+ public function getNetwork()
{
- return $this->members;
+ return $this->network;
}
- public function setName($name)
+ public function setResources($resources)
{
- $this->name = $name;
+ $this->resources = $resources;
}
- public function getName()
+ public function getResources()
{
- return $this->name;
+ return $this->resources;
}
- public function setNumMembers($numMembers)
+ public function setSelfLink($selfLink)
{
- $this->numMembers = $numMembers;
+ $this->selfLink = $selfLink;
}
- public function getNumMembers()
+ public function getSelfLink()
{
- return $this->numMembers;
+ return $this->selfLink;
}
- public function setSelfLink($selfLink)
+ public function setSize($size)
{
- $this->selfLink = $selfLink;
+ $this->size = $size;
}
- public function getSelfLink()
+ public function getSize()
{
- return $this->selfLink;
+ return $this->size;
+ }
+}
+
+class Google_Service_Resourceviews_ServiceEndpoint extends Google_Model
+{
+ public $name;
+ public $port;
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setPort($port)
+ {
+ $this->port = $port;
+ }
+
+ public function getPort()
+ {
+ return $this->port;
}
}
@@ -936,36 +1262,61 @@ public function getResources()
}
}
-class Google_Service_Resourceviews_ZoneViewsInsertResponse extends Google_Model
+class Google_Service_Resourceviews_ZoneViewsGetServiceResponse extends Google_Collection
{
- protected $resourceType = 'Google_Service_Resourceviews_ResourceView';
- protected $resourceDataType = '';
+ protected $collection_key = 'endpoints';
+ protected $endpointsType = 'Google_Service_Resourceviews_ServiceEndpoint';
+ protected $endpointsDataType = 'array';
+ public $fingerprint;
- public function setResource(Google_Service_Resourceviews_ResourceView $resource)
+ public function setEndpoints($endpoints)
{
- $this->resource = $resource;
+ $this->endpoints = $endpoints;
}
- public function getResource()
+ public function getEndpoints()
{
- return $this->resource;
+ return $this->endpoints;
+ }
+
+ public function setFingerprint($fingerprint)
+ {
+ $this->fingerprint = $fingerprint;
+ }
+
+ public function getFingerprint()
+ {
+ return $this->fingerprint;
}
}
-class Google_Service_Resourceviews_ZoneViewsListResourcesResponse extends Google_Collection
+class Google_Service_Resourceviews_ZoneViewsList extends Google_Collection
{
- protected $collection_key = 'members';
- public $members;
+ protected $collection_key = 'items';
+ protected $itemsType = 'Google_Service_Resourceviews_ResourceView';
+ protected $itemsDataType = 'array';
+ public $kind;
public $nextPageToken;
+ public $selfLink;
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
- public function setMembers($members)
+ public function getItems()
{
- $this->members = $members;
+ return $this->items;
}
- public function getMembers()
+ public function setKind($kind)
{
- return $this->members;
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
}
public function setNextPageToken($nextPageToken)
@@ -977,33 +1328,54 @@ public function getNextPageToken()
{
return $this->nextPageToken;
}
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
}
-class Google_Service_Resourceviews_ZoneViewsListResponse extends Google_Collection
+class Google_Service_Resourceviews_ZoneViewsListResourcesResponse extends Google_Collection
{
- protected $collection_key = 'resourceViews';
+ protected $collection_key = 'items';
+ protected $itemsType = 'Google_Service_Resourceviews_ListResourceResponseItem';
+ protected $itemsDataType = 'array';
+ public $network;
public $nextPageToken;
- protected $resourceViewsType = 'Google_Service_Resourceviews_ResourceView';
- protected $resourceViewsDataType = 'array';
- public function setNextPageToken($nextPageToken)
+ public function setItems($items)
{
- $this->nextPageToken = $nextPageToken;
+ $this->items = $items;
}
- public function getNextPageToken()
+ public function getItems()
{
- return $this->nextPageToken;
+ return $this->items;
+ }
+
+ public function setNetwork($network)
+ {
+ $this->network = $network;
}
- public function setResourceViews($resourceViews)
+ public function getNetwork()
{
- $this->resourceViews = $resourceViews;
+ return $this->network;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
}
- public function getResourceViews()
+ public function getNextPageToken()
{
- return $this->resourceViews;
+ return $this->nextPageToken;
}
}
@@ -1022,3 +1394,42 @@ public function getResources()
return $this->resources;
}
}
+
+class Google_Service_Resourceviews_ZoneViewsSetServiceRequest extends Google_Collection
+{
+ protected $collection_key = 'endpoints';
+ protected $endpointsType = 'Google_Service_Resourceviews_ServiceEndpoint';
+ protected $endpointsDataType = 'array';
+ public $fingerprint;
+ public $resourceName;
+
+ public function setEndpoints($endpoints)
+ {
+ $this->endpoints = $endpoints;
+ }
+
+ public function getEndpoints()
+ {
+ return $this->endpoints;
+ }
+
+ public function setFingerprint($fingerprint)
+ {
+ $this->fingerprint = $fingerprint;
+ }
+
+ public function getFingerprint()
+ {
+ return $this->fingerprint;
+ }
+
+ public function setResourceName($resourceName)
+ {
+ $this->resourceName = $resourceName;
+ }
+
+ public function getResourceName()
+ {
+ return $this->resourceName;
+ }
+}
From 5a8805198141f28a68157624c551d3f71cb5260d Mon Sep 17 00:00:00 2001
From: Silvano Luciani
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $permissions = $mapsengineService->permissions;
+ *
+ */
+class Google_Service_MapsEngine_AssetsPermissions_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Return all of the permissions for the specified asset.
+ * (permissions.listAssetsPermissions)
+ *
+ * @param string $id
+ * The ID of the asset whose permissions will be listed.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_PermissionsListResponse
+ */
+ public function listAssetsPermissions($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_PermissionsListResponse");
+ }
+}
/**
* The "layers" collection of methods.
@@ -1657,6 +1910,67 @@ public function listLayersParents($id, $optParams = array())
return $this->call('list', array($params), "Google_Service_MapsEngine_ParentsListResponse");
}
}
+/**
+ * The "permissions" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $permissions = $mapsengineService->permissions;
+ *
+ */
+class Google_Service_MapsEngine_LayersPermissions_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Remove permission entries from an already existing asset.
+ * (permissions.batchDelete)
+ *
+ * @param string $id
+ * The ID of the asset from which permissions will be removed.
+ * @param Google_PermissionsBatchDeleteRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_PermissionsBatchDeleteResponse
+ */
+ public function batchDelete($id, Google_Service_MapsEngine_PermissionsBatchDeleteRequest $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batchDelete', array($params), "Google_Service_MapsEngine_PermissionsBatchDeleteResponse");
+ }
+ /**
+ * Add or update permission entries to an already existing asset.
+ *
+ * An asset can hold up to 20 different permission entries. Each batchInsert
+ * request is atomic. (permissions.batchUpdate)
+ *
+ * @param string $id
+ * The ID of the asset to which permissions will be added.
+ * @param Google_PermissionsBatchUpdateRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_PermissionsBatchUpdateResponse
+ */
+ public function batchUpdate($id, Google_Service_MapsEngine_PermissionsBatchUpdateRequest $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batchUpdate', array($params), "Google_Service_MapsEngine_PermissionsBatchUpdateResponse");
+ }
+ /**
+ * Return all of the permissions for the specified asset.
+ * (permissions.listLayersPermissions)
+ *
+ * @param string $id
+ * The ID of the asset whose permissions will be listed.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_PermissionsListResponse
+ */
+ public function listLayersPermissions($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_PermissionsListResponse");
+ }
+}
/**
* The "maps" collection of methods.
@@ -1850,6 +2164,68 @@ public function unpublish($id, $optParams = array())
}
}
+/**
+ * The "permissions" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $permissions = $mapsengineService->permissions;
+ *
+ */
+class Google_Service_MapsEngine_MapsPermissions_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Remove permission entries from an already existing asset.
+ * (permissions.batchDelete)
+ *
+ * @param string $id
+ * The ID of the asset from which permissions will be removed.
+ * @param Google_PermissionsBatchDeleteRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_PermissionsBatchDeleteResponse
+ */
+ public function batchDelete($id, Google_Service_MapsEngine_PermissionsBatchDeleteRequest $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batchDelete', array($params), "Google_Service_MapsEngine_PermissionsBatchDeleteResponse");
+ }
+ /**
+ * Add or update permission entries to an already existing asset.
+ *
+ * An asset can hold up to 20 different permission entries. Each batchInsert
+ * request is atomic. (permissions.batchUpdate)
+ *
+ * @param string $id
+ * The ID of the asset to which permissions will be added.
+ * @param Google_PermissionsBatchUpdateRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_PermissionsBatchUpdateResponse
+ */
+ public function batchUpdate($id, Google_Service_MapsEngine_PermissionsBatchUpdateRequest $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batchUpdate', array($params), "Google_Service_MapsEngine_PermissionsBatchUpdateResponse");
+ }
+ /**
+ * Return all of the permissions for the specified asset.
+ * (permissions.listMapsPermissions)
+ *
+ * @param string $id
+ * The ID of the asset whose permissions will be listed.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_PermissionsListResponse
+ */
+ public function listMapsPermissions($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_PermissionsListResponse");
+ }
+}
+
/**
* The "projects" collection of methods.
* Typical usage is:
@@ -2123,6 +2499,67 @@ public function listRasterCollectionsParents($id, $optParams = array())
return $this->call('list', array($params), "Google_Service_MapsEngine_ParentsListResponse");
}
}
+/**
+ * The "permissions" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $permissions = $mapsengineService->permissions;
+ *
+ */
+class Google_Service_MapsEngine_RasterCollectionsPermissions_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Remove permission entries from an already existing asset.
+ * (permissions.batchDelete)
+ *
+ * @param string $id
+ * The ID of the asset from which permissions will be removed.
+ * @param Google_PermissionsBatchDeleteRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_PermissionsBatchDeleteResponse
+ */
+ public function batchDelete($id, Google_Service_MapsEngine_PermissionsBatchDeleteRequest $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batchDelete', array($params), "Google_Service_MapsEngine_PermissionsBatchDeleteResponse");
+ }
+ /**
+ * Add or update permission entries to an already existing asset.
+ *
+ * An asset can hold up to 20 different permission entries. Each batchInsert
+ * request is atomic. (permissions.batchUpdate)
+ *
+ * @param string $id
+ * The ID of the asset to which permissions will be added.
+ * @param Google_PermissionsBatchUpdateRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_PermissionsBatchUpdateResponse
+ */
+ public function batchUpdate($id, Google_Service_MapsEngine_PermissionsBatchUpdateRequest $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batchUpdate', array($params), "Google_Service_MapsEngine_PermissionsBatchUpdateResponse");
+ }
+ /**
+ * Return all of the permissions for the specified asset.
+ * (permissions.listRasterCollectionsPermissions)
+ *
+ * @param string $id
+ * The ID of the asset whose permissions will be listed.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_PermissionsListResponse
+ */
+ public function listRasterCollectionsPermissions($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_PermissionsListResponse");
+ }
+}
/**
* The "rasters" collection of methods.
* Typical usage is:
@@ -2413,6 +2850,67 @@ public function listRastersParents($id, $optParams = array())
return $this->call('list', array($params), "Google_Service_MapsEngine_ParentsListResponse");
}
}
+/**
+ * The "permissions" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $permissions = $mapsengineService->permissions;
+ *
+ */
+class Google_Service_MapsEngine_RastersPermissions_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Remove permission entries from an already existing asset.
+ * (permissions.batchDelete)
+ *
+ * @param string $id
+ * The ID of the asset from which permissions will be removed.
+ * @param Google_PermissionsBatchDeleteRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_PermissionsBatchDeleteResponse
+ */
+ public function batchDelete($id, Google_Service_MapsEngine_PermissionsBatchDeleteRequest $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batchDelete', array($params), "Google_Service_MapsEngine_PermissionsBatchDeleteResponse");
+ }
+ /**
+ * Add or update permission entries to an already existing asset.
+ *
+ * An asset can hold up to 20 different permission entries. Each batchInsert
+ * request is atomic. (permissions.batchUpdate)
+ *
+ * @param string $id
+ * The ID of the asset to which permissions will be added.
+ * @param Google_PermissionsBatchUpdateRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_PermissionsBatchUpdateResponse
+ */
+ public function batchUpdate($id, Google_Service_MapsEngine_PermissionsBatchUpdateRequest $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batchUpdate', array($params), "Google_Service_MapsEngine_PermissionsBatchUpdateResponse");
+ }
+ /**
+ * Return all of the permissions for the specified asset.
+ * (permissions.listRastersPermissions)
+ *
+ * @param string $id
+ * The ID of the asset whose permissions will be listed.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_PermissionsListResponse
+ */
+ public function listRastersPermissions($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_PermissionsListResponse");
+ }
+}
/**
* The "tables" collection of methods.
@@ -2771,6 +3269,67 @@ public function listTablesParents($id, $optParams = array())
return $this->call('list', array($params), "Google_Service_MapsEngine_ParentsListResponse");
}
}
+/**
+ * The "permissions" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $permissions = $mapsengineService->permissions;
+ *
+ */
+class Google_Service_MapsEngine_TablesPermissions_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Remove permission entries from an already existing asset.
+ * (permissions.batchDelete)
+ *
+ * @param string $id
+ * The ID of the asset from which permissions will be removed.
+ * @param Google_PermissionsBatchDeleteRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_PermissionsBatchDeleteResponse
+ */
+ public function batchDelete($id, Google_Service_MapsEngine_PermissionsBatchDeleteRequest $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batchDelete', array($params), "Google_Service_MapsEngine_PermissionsBatchDeleteResponse");
+ }
+ /**
+ * Add or update permission entries to an already existing asset.
+ *
+ * An asset can hold up to 20 different permission entries. Each batchInsert
+ * request is atomic. (permissions.batchUpdate)
+ *
+ * @param string $id
+ * The ID of the asset to which permissions will be added.
+ * @param Google_PermissionsBatchUpdateRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_PermissionsBatchUpdateResponse
+ */
+ public function batchUpdate($id, Google_Service_MapsEngine_PermissionsBatchUpdateRequest $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batchUpdate', array($params), "Google_Service_MapsEngine_PermissionsBatchUpdateResponse");
+ }
+ /**
+ * Return all of the permissions for the specified asset.
+ * (permissions.listTablesPermissions)
+ *
+ * @param string $id
+ * The ID of the asset whose permissions will be listed.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_PermissionsListResponse
+ */
+ public function listTablesPermissions($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_PermissionsListResponse");
+ }
+}
@@ -2828,6 +3387,7 @@ class Google_Service_MapsEngine_Asset extends Google_Collection
public $resource;
public $tags;
public $type;
+ public $writersCanEditPermissions;
public function setBbox($bbox)
{
@@ -2958,6 +3518,16 @@ public function getType()
{
return $this->type;
}
+
+ public function setWritersCanEditPermissions($writersCanEditPermissions)
+ {
+ $this->writersCanEditPermissions = $writersCanEditPermissions;
+ }
+
+ public function getWritersCanEditPermissions()
+ {
+ return $this->writersCanEditPermissions;
+ }
}
class Google_Service_MapsEngine_AssetsListResponse extends Google_Collection
@@ -3731,6 +4301,7 @@ class Google_Service_MapsEngine_Layer extends Google_Collection
protected $styleType = 'Google_Service_MapsEngine_VectorStyle';
protected $styleDataType = '';
public $tags;
+ public $writersCanEditPermissions;
public function setBbox($bbox)
{
@@ -3921,6 +4492,16 @@ public function getTags()
{
return $this->tags;
}
+
+ public function setWritersCanEditPermissions($writersCanEditPermissions)
+ {
+ $this->writersCanEditPermissions = $writersCanEditPermissions;
+ }
+
+ public function getWritersCanEditPermissions()
+ {
+ return $this->writersCanEditPermissions;
+ }
}
class Google_Service_MapsEngine_LayersListResponse extends Google_Collection
@@ -4062,6 +4643,7 @@ class Google_Service_MapsEngine_Map extends Google_Collection
public $publishingStatus;
public $tags;
public $versions;
+ public $writersCanEditPermissions;
public function setBbox($bbox)
{
@@ -4242,6 +4824,16 @@ public function getVersions()
{
return $this->versions;
}
+
+ public function setWritersCanEditPermissions($writersCanEditPermissions)
+ {
+ $this->writersCanEditPermissions = $writersCanEditPermissions;
+ }
+
+ public function getWritersCanEditPermissions()
+ {
+ return $this->writersCanEditPermissions;
+ }
}
class Google_Service_MapsEngine_MapFolder extends Google_Collection
@@ -4548,6 +5140,114 @@ public function getParents()
}
}
+class Google_Service_MapsEngine_Permission extends Google_Model
+{
+ public $discoverable;
+ public $id;
+ public $role;
+ public $type;
+
+ public function setDiscoverable($discoverable)
+ {
+ $this->discoverable = $discoverable;
+ }
+
+ public function getDiscoverable()
+ {
+ return $this->discoverable;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ 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;
+ }
+}
+
+class Google_Service_MapsEngine_PermissionsBatchDeleteRequest extends Google_Collection
+{
+ protected $collection_key = 'ids';
+ public $ids;
+
+ public function setIds($ids)
+ {
+ $this->ids = $ids;
+ }
+
+ public function getIds()
+ {
+ return $this->ids;
+ }
+}
+
+class Google_Service_MapsEngine_PermissionsBatchDeleteResponse extends Google_Model
+{
+
+}
+
+class Google_Service_MapsEngine_PermissionsBatchUpdateRequest extends Google_Collection
+{
+ protected $collection_key = 'permissions';
+ protected $permissionsType = 'Google_Service_MapsEngine_Permission';
+ protected $permissionsDataType = 'array';
+
+ public function setPermissions($permissions)
+ {
+ $this->permissions = $permissions;
+ }
+
+ public function getPermissions()
+ {
+ return $this->permissions;
+ }
+}
+
+class Google_Service_MapsEngine_PermissionsBatchUpdateResponse extends Google_Model
+{
+
+}
+
+class Google_Service_MapsEngine_PermissionsListResponse extends Google_Collection
+{
+ protected $collection_key = 'permissions';
+ protected $permissionsType = 'Google_Service_MapsEngine_Permission';
+ protected $permissionsDataType = 'array';
+
+ public function setPermissions($permissions)
+ {
+ $this->permissions = $permissions;
+ }
+
+ public function getPermissions()
+ {
+ return $this->permissions;
+ }
+}
+
class Google_Service_MapsEngine_PointStyle extends Google_Model
{
protected $iconType = 'Google_Service_MapsEngine_IconStyle';
@@ -4866,6 +5566,7 @@ class Google_Service_MapsEngine_Raster extends Google_Collection
public $projectId;
public $rasterType;
public $tags;
+ public $writersCanEditPermissions;
public function setAcquisitionTime(Google_Service_MapsEngine_AcquisitionTime $acquisitionTime)
{
@@ -5046,6 +5747,16 @@ public function getTags()
{
return $this->tags;
}
+
+ public function setWritersCanEditPermissions($writersCanEditPermissions)
+ {
+ $this->writersCanEditPermissions = $writersCanEditPermissions;
+ }
+
+ public function getWritersCanEditPermissions()
+ {
+ return $this->writersCanEditPermissions;
+ }
}
class Google_Service_MapsEngine_RasterCollection extends Google_Collection
@@ -5067,6 +5778,7 @@ class Google_Service_MapsEngine_RasterCollection extends Google_Collection
public $projectId;
public $rasterType;
public $tags;
+ public $writersCanEditPermissions;
public function setAttribution($attribution)
{
@@ -5227,6 +5939,16 @@ public function getTags()
{
return $this->tags;
}
+
+ public function setWritersCanEditPermissions($writersCanEditPermissions)
+ {
+ $this->writersCanEditPermissions = $writersCanEditPermissions;
+ }
+
+ public function getWritersCanEditPermissions()
+ {
+ return $this->writersCanEditPermissions;
+ }
}
class Google_Service_MapsEngine_RasterCollectionsListResponse extends Google_Collection
@@ -5635,6 +6357,7 @@ class Google_Service_MapsEngine_Table extends Google_Collection
protected $schemaDataType = '';
public $sourceEncoding;
public $tags;
+ public $writersCanEditPermissions;
public function setBbox($bbox)
{
@@ -5805,6 +6528,16 @@ public function getTags()
{
return $this->tags;
}
+
+ public function setWritersCanEditPermissions($writersCanEditPermissions)
+ {
+ $this->writersCanEditPermissions = $writersCanEditPermissions;
+ }
+
+ public function getWritersCanEditPermissions()
+ {
+ return $this->writersCanEditPermissions;
+ }
}
class Google_Service_MapsEngine_TableColumn extends Google_Model
From 9ee04e219287be53805ecf59388e07dffcc867d2 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
+ * $adminService = new Google_Service_Directory(...);
+ * $schemas = $adminService->schemas;
+ *
+ */
+class Google_Service_Directory_Schemas_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Delete schema (schemas.delete)
+ *
+ * @param string $customerId
+ * Immutable id of the Google Apps account
+ * @param string $schemaKey
+ * Name or immutable Id of the schema
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($customerId, $schemaKey, $optParams = array())
+ {
+ $params = array('customerId' => $customerId, 'schemaKey' => $schemaKey);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Retrieve schema (schemas.get)
+ *
+ * @param string $customerId
+ * Immutable id of the Google Apps account
+ * @param string $schemaKey
+ * Name or immutable Id of the schema
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Directory_Schema
+ */
+ public function get($customerId, $schemaKey, $optParams = array())
+ {
+ $params = array('customerId' => $customerId, 'schemaKey' => $schemaKey);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Directory_Schema");
+ }
+ /**
+ * Create schema. (schemas.insert)
+ *
+ * @param string $customerId
+ * Immutable id of the Google Apps account
+ * @param Google_Schema $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Directory_Schema
+ */
+ public function insert($customerId, Google_Service_Directory_Schema $postBody, $optParams = array())
+ {
+ $params = array('customerId' => $customerId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Directory_Schema");
+ }
+ /**
+ * Retrieve all schemas for a customer (schemas.listSchemas)
+ *
+ * @param string $customerId
+ * Immutable id of the Google Apps account
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Directory_Schemas
+ */
+ public function listSchemas($customerId, $optParams = array())
+ {
+ $params = array('customerId' => $customerId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Directory_Schemas");
+ }
+ /**
+ * Update schema. This method supports patch semantics. (schemas.patch)
+ *
+ * @param string $customerId
+ * Immutable id of the Google Apps account
+ * @param string $schemaKey
+ * Name or immutable Id of the schema.
+ * @param Google_Schema $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Directory_Schema
+ */
+ public function patch($customerId, $schemaKey, Google_Service_Directory_Schema $postBody, $optParams = array())
+ {
+ $params = array('customerId' => $customerId, 'schemaKey' => $schemaKey, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Directory_Schema");
+ }
+ /**
+ * Update schema (schemas.update)
+ *
+ * @param string $customerId
+ * Immutable id of the Google Apps account
+ * @param string $schemaKey
+ * Name or immutable Id of the schema.
+ * @param Google_Schema $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Directory_Schema
+ */
+ public function update($customerId, $schemaKey, Google_Service_Directory_Schema $postBody, $optParams = array())
+ {
+ $params = array('customerId' => $customerId, 'schemaKey' => $schemaKey, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Directory_Schema");
+ }
+}
+
/**
* The "tokens" collection of methods.
* Typical usage is:
@@ -2005,6 +2243,14 @@ public function delete($userKey, $optParams = array())
* @param string $userKey
* Email or immutable Id of the user
* @param array $optParams Optional parameters.
+ *
+ * @opt_param string viewType
+ * Whether to fetch the ADMIN_VIEW or DOMAIN_PUBLIC view of the user.
+ * @opt_param string customFieldMask
+ * Comma-separated list of schema names. All fields from these schemas are fetched. This should
+ * only be set when projection=custom.
+ * @opt_param string projection
+ * What subset of fields to fetch for this user.
* @return Google_Service_Directory_User
*/
public function get($userKey, $optParams = array())
@@ -2040,8 +2286,13 @@ public function insert(Google_Service_Directory_User $postBody, $optParams = arr
* @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 projection
+ * What subset of fields to fetch for this user.
* @opt_param string showDeleted
* If set to true retrieves the list of deleted users. Default is false
+ * @opt_param string customFieldMask
+ * Comma-separated list of schema names. All fields from these schemas are fetched. This should
+ * only be set when projection=custom.
* @opt_param int maxResults
* Maximum number of results to return. Default is 100. Max allowed is 500
* @opt_param string pageToken
@@ -2049,9 +2300,10 @@ public function insert(Google_Service_Directory_User $postBody, $optParams = arr
* @opt_param string sortOrder
* Whether to return results in ascending or descending order.
* @opt_param string query
- * Query string search. Should be of the form "" where field can be any of supported fields,
- * operators can be one of '=' for exact match or ':' for prefix match. For prefix match, the value
- * should always be followed by a *.
+ * Query string search. Should be of the form "". Complete documentation is at
+ * https://developers.google.com/admin-sdk/directory/v1/guides/search-users
+ * @opt_param string viewType
+ * Whether to fetch the ADMIN_VIEW or DOMAIN_PUBLIC view of the user.
* @opt_param string event
* Event on which subscription is intended (if subscribing)
* @return Google_Service_Directory_Users
@@ -2134,8 +2386,13 @@ public function update($userKey, Google_Service_Directory_User $postBody, $optPa
* @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 projection
+ * What subset of fields to fetch for this user.
* @opt_param string showDeleted
* If set to true retrieves the list of deleted users. Default is false
+ * @opt_param string customFieldMask
+ * Comma-separated list of schema names. All fields from these schemas are fetched. This should
+ * only be set when projection=custom.
* @opt_param int maxResults
* Maximum number of results to return. Default is 100. Max allowed is 500
* @opt_param string pageToken
@@ -2143,9 +2400,10 @@ public function update($userKey, Google_Service_Directory_User $postBody, $optPa
* @opt_param string sortOrder
* Whether to return results in ascending or descending order.
* @opt_param string query
- * Query string search. Should be of the form "" where field can be any of supported fields,
- * operators can be one of '=' for exact match or ':' for prefix match. For prefix match, the value
- * should always be followed by a *.
+ * Query string search. Should be of the form "". Complete documentation is at
+ * https://developers.google.com/admin-sdk/directory/v1/guides/search-users
+ * @opt_param string viewType
+ * Whether to fetch the ADMIN_VIEW or DOMAIN_PUBLIC view of the user.
* @opt_param string event
* Event on which subscription is intended (if subscribing)
* @return Google_Service_Directory_Channel
@@ -4013,6 +4271,236 @@ public function getOrganizationUnits()
}
}
+class Google_Service_Directory_Schema extends Google_Collection
+{
+ protected $collection_key = 'fields';
+ public $etag;
+ protected $fieldsType = 'Google_Service_Directory_SchemaFieldSpec';
+ protected $fieldsDataType = 'array';
+ public $kind;
+ public $schemaId;
+ public $schemaName;
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
+ public function setFields($fields)
+ {
+ $this->fields = $fields;
+ }
+
+ public function getFields()
+ {
+ return $this->fields;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setSchemaId($schemaId)
+ {
+ $this->schemaId = $schemaId;
+ }
+
+ public function getSchemaId()
+ {
+ return $this->schemaId;
+ }
+
+ public function setSchemaName($schemaName)
+ {
+ $this->schemaName = $schemaName;
+ }
+
+ public function getSchemaName()
+ {
+ return $this->schemaName;
+ }
+}
+
+class Google_Service_Directory_SchemaFieldSpec extends Google_Model
+{
+ public $etag;
+ public $fieldId;
+ public $fieldName;
+ public $fieldType;
+ public $indexed;
+ public $kind;
+ public $multiValued;
+ protected $numericIndexingSpecType = 'Google_Service_Directory_SchemaFieldSpecNumericIndexingSpec';
+ protected $numericIndexingSpecDataType = '';
+ public $readAccessType;
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
+ public function setFieldId($fieldId)
+ {
+ $this->fieldId = $fieldId;
+ }
+
+ public function getFieldId()
+ {
+ return $this->fieldId;
+ }
+
+ public function setFieldName($fieldName)
+ {
+ $this->fieldName = $fieldName;
+ }
+
+ public function getFieldName()
+ {
+ return $this->fieldName;
+ }
+
+ public function setFieldType($fieldType)
+ {
+ $this->fieldType = $fieldType;
+ }
+
+ public function getFieldType()
+ {
+ return $this->fieldType;
+ }
+
+ public function setIndexed($indexed)
+ {
+ $this->indexed = $indexed;
+ }
+
+ public function getIndexed()
+ {
+ return $this->indexed;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setMultiValued($multiValued)
+ {
+ $this->multiValued = $multiValued;
+ }
+
+ public function getMultiValued()
+ {
+ return $this->multiValued;
+ }
+
+ public function setNumericIndexingSpec(Google_Service_Directory_SchemaFieldSpecNumericIndexingSpec $numericIndexingSpec)
+ {
+ $this->numericIndexingSpec = $numericIndexingSpec;
+ }
+
+ public function getNumericIndexingSpec()
+ {
+ return $this->numericIndexingSpec;
+ }
+
+ public function setReadAccessType($readAccessType)
+ {
+ $this->readAccessType = $readAccessType;
+ }
+
+ public function getReadAccessType()
+ {
+ return $this->readAccessType;
+ }
+}
+
+class Google_Service_Directory_SchemaFieldSpecNumericIndexingSpec extends Google_Model
+{
+ public $maxValue;
+ public $minValue;
+
+ 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;
+ }
+}
+
+class Google_Service_Directory_Schemas extends Google_Collection
+{
+ protected $collection_key = 'schemas';
+ public $etag;
+ public $kind;
+ protected $schemasType = 'Google_Service_Directory_Schema';
+ protected $schemasDataType = 'array';
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setSchemas($schemas)
+ {
+ $this->schemas = $schemas;
+ }
+
+ public function getSchemas()
+ {
+ return $this->schemas;
+ }
+}
+
class Google_Service_Directory_Token extends Google_Collection
{
protected $collection_key = 'scopes';
@@ -4153,6 +4641,7 @@ class Google_Service_Directory_User extends Google_Collection
public $aliases;
public $changePasswordAtNextLogin;
public $creationTime;
+ public $customSchemas;
public $customerId;
public $deletionTime;
public $emails;
@@ -4231,6 +4720,16 @@ public function getCreationTime()
return $this->creationTime;
}
+ public function setCustomSchemas($customSchemas)
+ {
+ $this->customSchemas = $customSchemas;
+ }
+
+ public function getCustomSchemas()
+ {
+ return $this->customSchemas;
+ }
+
public function setCustomerId($customerId)
{
$this->customerId = $customerId;
@@ -4639,6 +5138,16 @@ public function getType()
}
}
+class Google_Service_Directory_UserCustomProperties extends Google_Model
+{
+
+}
+
+class Google_Service_Directory_UserCustomSchemas extends Google_Model
+{
+
+}
+
class Google_Service_Directory_UserEmail extends Google_Model
{
public $address;
From 5bb4c3d2fc8d03058ba9e9e545336ff7c2a04d2b Mon Sep 17 00:00:00 2001
From: Silvano Luciani