1<?php 2/* 3 * Copyright 2014 Google Inc. 4 * 5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not 6 * use this file except in compliance with the License. You may obtain a copy of 7 * the License at 8 * 9 * http://www.apache.org/licenses/LICENSE-2.0 10 * 11 * Unless required by applicable law or agreed to in writing, software 12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 14 * License for the specific language governing permissions and limitations under 15 * the License. 16 */ 17 18/** 19 * Service definition for Genomics (v1). 20 * 21 * <p> 22 * Uploads, processes, queries, and searches Genomics data in the cloud.</p> 23 * 24 * <p> 25 * For more information about this service, see the API 26 * <a href="https://cloud.google.com/genomics" target="_blank">Documentation</a> 27 * </p> 28 * 29 * @author Google, Inc. 30 */ 31class Google_Service_Genomics extends Google_Service 32{ 33 /** View and manage your data across Google Cloud Platform services. */ 34 const CLOUD_PLATFORM = 35 "https://www.googleapis.com/auth/cloud-platform"; 36 /** View and manage Genomics data. */ 37 const GENOMICS = 38 "https://www.googleapis.com/auth/genomics"; 39 40 public $operations; 41 42 /** 43 * Constructs the internal representation of the Genomics service. 44 * 45 * @param Google_Client $client 46 */ 47 public function __construct(Google_Client $client) 48 { 49 parent::__construct($client); 50 $this->rootUrl = 'https://genomics.googleapis.com/'; 51 $this->servicePath = ''; 52 $this->batchPath = 'batch'; 53 $this->version = 'v1'; 54 $this->serviceName = 'genomics'; 55 56 $this->operations = new Google_Service_Genomics_Resource_Operations( 57 $this, 58 $this->serviceName, 59 'operations', 60 array( 61 'methods' => array( 62 'cancel' => array( 63 'path' => 'v1/{+name}:cancel', 64 'httpMethod' => 'POST', 65 'parameters' => array( 66 'name' => array( 67 'location' => 'path', 68 'type' => 'string', 69 'required' => true, 70 ), 71 ), 72 ),'get' => array( 73 'path' => 'v1/{+name}', 74 'httpMethod' => 'GET', 75 'parameters' => array( 76 'name' => array( 77 'location' => 'path', 78 'type' => 'string', 79 'required' => true, 80 ), 81 ), 82 ),'list' => array( 83 'path' => 'v1/{+name}', 84 'httpMethod' => 'GET', 85 'parameters' => array( 86 'name' => array( 87 'location' => 'path', 88 'type' => 'string', 89 'required' => true, 90 ), 91 'filter' => array( 92 'location' => 'query', 93 'type' => 'string', 94 ), 95 'pageToken' => array( 96 'location' => 'query', 97 'type' => 'string', 98 ), 99 'pageSize' => array( 100 'location' => 'query', 101 'type' => 'integer', 102 ), 103 ), 104 ), 105 ) 106 ) 107 ); 108 } 109} 110