* Manages continuous profiling information.
* ** For more information about this service, see the API * Documentation *
* * @author Google, Inc. */ class Google_Service_CloudProfiler extends Google_Service { /** View and manage your data across Google Cloud Platform services. */ const CLOUD_PLATFORM = "https://www.googleapis.com/auth/cloud-platform"; /** View and write monitoring data for all of your Google and third-party Cloud and API projects. */ const MONITORING = "https://www.googleapis.com/auth/monitoring"; /** Publish metric data to your Google Cloud projects. */ const MONITORING_WRITE = "https://www.googleapis.com/auth/monitoring.write"; public $projects_profiles; /** * Constructs the internal representation of the CloudProfiler service. * * @param Google_Client $client */ public function __construct(Google_Client $client) { parent::__construct($client); $this->rootUrl = 'https://cloudprofiler.googleapis.com/'; $this->servicePath = ''; $this->batchPath = 'batch'; $this->version = 'v2'; $this->serviceName = 'cloudprofiler'; $this->projects_profiles = new Google_Service_CloudProfiler_Resource_ProjectsProfiles( $this, $this->serviceName, 'profiles', array( 'methods' => array( 'create' => array( 'path' => 'v2/{+parent}/profiles', 'httpMethod' => 'POST', 'parameters' => array( 'parent' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'createOffline' => array( 'path' => 'v2/{+parent}/profiles:createOffline', 'httpMethod' => 'POST', 'parameters' => array( 'parent' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'patch' => array( 'path' => 'v2/{+name}', 'httpMethod' => 'PATCH', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'updateMask' => array( 'location' => 'query', 'type' => 'string', ), ), ), ) ) ); } }