* Declares, configures, and deploys complex solutions on Google Cloud Platform.

* *

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

* * @author Google, Inc. */ class Google_Service_DeploymentManager 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 Cloud Platform management resources and deployment status information. */ const NDEV_CLOUDMAN = "https://www.googleapis.com/auth/ndev.cloudman"; /** View your Google Cloud Platform management resources and deployment status information. */ const NDEV_CLOUDMAN_READONLY = "https://www.googleapis.com/auth/ndev.cloudman.readonly"; public $deployments; public $manifests; public $operations; public $resources; public $types; /** * Constructs the internal representation of the DeploymentManager service. * * @param Google_Client $client */ public function __construct(Google_Client $client) { parent::__construct($client); $this->rootUrl = 'https://www.googleapis.com/'; $this->servicePath = 'deploymentmanager/v2/projects/'; $this->batchPath = 'batch/deploymentmanager/v2'; $this->version = 'v2'; $this->serviceName = 'deploymentmanager'; $this->deployments = new Google_Service_DeploymentManager_Resource_Deployments( $this, $this->serviceName, 'deployments', array( 'methods' => array( 'cancelPreview' => array( 'path' => '{project}/global/deployments/{deployment}/cancelPreview', 'httpMethod' => 'POST', 'parameters' => array( 'project' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'deployment' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'delete' => array( 'path' => '{project}/global/deployments/{deployment}', 'httpMethod' => 'DELETE', 'parameters' => array( 'project' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'deployment' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'deletePolicy' => array( 'location' => 'query', 'type' => 'string', ), ), ),'get' => array( 'path' => '{project}/global/deployments/{deployment}', 'httpMethod' => 'GET', 'parameters' => array( 'project' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'deployment' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'getIamPolicy' => array( 'path' => '{project}/global/deployments/{resource}/getIamPolicy', 'httpMethod' => 'GET', 'parameters' => array( 'project' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'resource' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'insert' => array( 'path' => '{project}/global/deployments', 'httpMethod' => 'POST', 'parameters' => array( 'project' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'createPolicy' => array( 'location' => 'query', 'type' => 'string', ), 'preview' => array( 'location' => 'query', 'type' => 'boolean', ), ), ),'list' => array( 'path' => '{project}/global/deployments', 'httpMethod' => 'GET', 'parameters' => array( 'project' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array( 'location' => 'query', 'type' => 'string', ), 'maxResults' => array( 'location' => 'query', 'type' => 'integer', ), 'orderBy' => array( 'location' => 'query', 'type' => 'string', ), 'pageToken' => array( 'location' => 'query', 'type' => 'string', ), ), ),'patch' => array( 'path' => '{project}/global/deployments/{deployment}', 'httpMethod' => 'PATCH', 'parameters' => array( 'project' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'deployment' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'createPolicy' => array( 'location' => 'query', 'type' => 'string', ), 'deletePolicy' => array( 'location' => 'query', 'type' => 'string', ), 'preview' => array( 'location' => 'query', 'type' => 'boolean', ), ), ),'setIamPolicy' => array( 'path' => '{project}/global/deployments/{resource}/setIamPolicy', 'httpMethod' => 'POST', 'parameters' => array( 'project' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'resource' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'stop' => array( 'path' => '{project}/global/deployments/{deployment}/stop', 'httpMethod' => 'POST', 'parameters' => array( 'project' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'deployment' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'testIamPermissions' => array( 'path' => '{project}/global/deployments/{resource}/testIamPermissions', 'httpMethod' => 'POST', 'parameters' => array( 'project' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'resource' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'update' => array( 'path' => '{project}/global/deployments/{deployment}', 'httpMethod' => 'PUT', 'parameters' => array( 'project' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'deployment' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'createPolicy' => array( 'location' => 'query', 'type' => 'string', ), 'deletePolicy' => array( 'location' => 'query', 'type' => 'string', ), 'preview' => array( 'location' => 'query', 'type' => 'boolean', ), ), ), ) ) ); $this->manifests = new Google_Service_DeploymentManager_Resource_Manifests( $this, $this->serviceName, 'manifests', array( 'methods' => array( 'get' => array( 'path' => '{project}/global/deployments/{deployment}/manifests/{manifest}', 'httpMethod' => 'GET', 'parameters' => array( 'project' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'deployment' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'manifest' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'list' => array( 'path' => '{project}/global/deployments/{deployment}/manifests', 'httpMethod' => 'GET', 'parameters' => array( 'project' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'deployment' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array( 'location' => 'query', 'type' => 'string', ), 'maxResults' => array( 'location' => 'query', 'type' => 'integer', ), 'orderBy' => array( 'location' => 'query', 'type' => 'string', ), 'pageToken' => array( 'location' => 'query', 'type' => 'string', ), ), ), ) ) ); $this->operations = new Google_Service_DeploymentManager_Resource_Operations( $this, $this->serviceName, 'operations', array( 'methods' => array( 'get' => array( 'path' => '{project}/global/operations/{operation}', 'httpMethod' => 'GET', 'parameters' => array( 'project' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'operation' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'list' => array( 'path' => '{project}/global/operations', 'httpMethod' => 'GET', 'parameters' => array( 'project' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array( 'location' => 'query', 'type' => 'string', ), 'maxResults' => array( 'location' => 'query', 'type' => 'integer', ), 'orderBy' => array( 'location' => 'query', 'type' => 'string', ), 'pageToken' => array( 'location' => 'query', 'type' => 'string', ), ), ), ) ) ); $this->resources = new Google_Service_DeploymentManager_Resource_Resources( $this, $this->serviceName, 'resources', array( 'methods' => array( 'get' => array( 'path' => '{project}/global/deployments/{deployment}/resources/{resource}', 'httpMethod' => 'GET', 'parameters' => array( 'project' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'deployment' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'resource' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'list' => array( 'path' => '{project}/global/deployments/{deployment}/resources', 'httpMethod' => 'GET', 'parameters' => array( 'project' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'deployment' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array( 'location' => 'query', 'type' => 'string', ), 'maxResults' => array( 'location' => 'query', 'type' => 'integer', ), 'orderBy' => array( 'location' => 'query', 'type' => 'string', ), 'pageToken' => array( 'location' => 'query', 'type' => 'string', ), ), ), ) ) ); $this->types = new Google_Service_DeploymentManager_Resource_Types( $this, $this->serviceName, 'types', array( 'methods' => array( 'list' => array( 'path' => '{project}/global/types', 'httpMethod' => 'GET', 'parameters' => array( 'project' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array( 'location' => 'query', 'type' => 'string', ), 'maxResults' => array( 'location' => 'query', 'type' => 'integer', ), 'orderBy' => array( 'location' => 'query', 'type' => 'string', ), 'pageToken' => array( 'location' => 'query', 'type' => 'string', ), ), ), ) ) ); } }