* The Resource View API allows users to create and manage logical sets of * Google Compute Engine instances.

* *

* For more information about this service, see the API * Documentation *

* * @author Google, Inc. */ class Google_Service_Resourceviews extends Google_Service { /** View and manage your data across Google Cloud Platform services. */ const CLOUD_PLATFORM = "https://www.googleapis.com/auth/cloud-platform"; /** View your data across Google Cloud Platform services. */ const CLOUD_PLATFORM_READ_ONLY = "https://www.googleapis.com/auth/cloud-platform.read-only"; /** View and manage your Google Compute Engine resources. */ const COMPUTE = "https://www.googleapis.com/auth/compute"; /** View your Google Compute Engine resources. */ const COMPUTE_READONLY = "https://www.googleapis.com/auth/compute.readonly"; /** View and manage your Google Cloud Platform management resources and deployment status information. */ const NDEV_CLOUDMAN = "https://www.googleapis.com/auth/ndev.cloudman"; /** View your Google Cloud Platform management resources and deployment status information. */ const NDEV_CLOUDMAN_READONLY = "https://www.googleapis.com/auth/ndev.cloudman.readonly"; public $zoneOperations; public $zoneViews; /** * Constructs the internal representation of the Resourceviews service. * * @param Google_Client $client */ public function __construct(Google_Client $client) { parent::__construct($client); $this->rootUrl = 'https://www.googleapis.com/'; $this->servicePath = 'resourceviews/v1beta2/projects/'; $this->version = 'v1beta2'; $this->serviceName = 'resourceviews'; $this->zoneOperations = new Google_Service_Resourceviews_Resource_ZoneOperations( $this, $this->serviceName, 'zoneOperations', array( 'methods' => array( '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', ), 'maxResults' => array( 'location' => 'query', 'type' => 'integer', ), 'pageToken' => array( 'location' => 'query', 'type' => 'string', ), ), ), ) ) ); $this->zoneViews = new Google_Service_Resourceviews_Resource_ZoneViews( $this, $this->serviceName, 'zoneViews', array( 'methods' => array( 'addResources' => array( 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}/addResources', '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, ), ), ),'delete' => array( 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}', 'httpMethod' => 'DELETE', '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, ), ), ),'get' => array( 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}', 'httpMethod' => 'GET', '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, ), ), ),'getService' => array( 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}/getService', '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, ), 'resourceName' => array( 'location' => 'query', 'type' => 'string', ), ), ),'insert' => array( 'path' => '{project}/zones/{zone}/resourceViews', 'httpMethod' => 'POST', 'parameters' => array( 'project' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'list' => array( 'path' => '{project}/zones/{zone}/resourceViews', 'httpMethod' => 'GET', 'parameters' => array( 'project' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'maxResults' => array( 'location' => 'query', 'type' => 'integer', ), 'pageToken' => array( 'location' => 'query', 'type' => 'string', ), ), ),'listResources' => array( 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}/resources', 'httpMethod' => 'GET', '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, ), 'format' => array( 'location' => 'query', 'type' => 'string', ), 'listState' => array( 'location' => 'query', 'type' => 'string', ), 'maxResults' => array( '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, ), ), ),'setService' => array( 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}/setService', '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, ), ), ), ) ) ); } }