source: vendor/google/apiclient-services/src/CloudLifeSciences.php@ e3d4e0a

Last change on this file since e3d4e0a was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 5.6 KB
Line 
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
18namespace Google\Service;
19
20use Google\Client;
21
22/**
23 * Service definition for CloudLifeSciences (v2beta).
24 *
25 * <p>
26 * Cloud Life Sciences is a suite of services and tools for managing,
27 * processing, and transforming life sciences data.</p>
28 *
29 * <p>
30 * For more information about this service, see the API
31 * <a href="https://cloud.google.com/life-sciences" target="_blank">Documentation</a>
32 * </p>
33 *
34 * @author Google, Inc.
35 */
36class CloudLifeSciences extends \Google\Service
37{
38 /** See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.. */
39 const CLOUD_PLATFORM =
40 "https://www.googleapis.com/auth/cloud-platform";
41
42 public $projects_locations;
43 public $projects_locations_operations;
44 public $projects_locations_pipelines;
45 public $rootUrlTemplate;
46
47 /**
48 * Constructs the internal representation of the CloudLifeSciences service.
49 *
50 * @param Client|array $clientOrConfig The client used to deliver requests, or a
51 * config array to pass to a new Client instance.
52 * @param string $rootUrl The root URL used for requests to the service.
53 */
54 public function __construct($clientOrConfig = [], $rootUrl = null)
55 {
56 parent::__construct($clientOrConfig);
57 $this->rootUrl = $rootUrl ?: 'https://lifesciences.googleapis.com/';
58 $this->rootUrlTemplate = $rootUrl ?: 'https://lifesciences.UNIVERSE_DOMAIN/';
59 $this->servicePath = '';
60 $this->batchPath = 'batch';
61 $this->version = 'v2beta';
62 $this->serviceName = 'lifesciences';
63
64 $this->projects_locations = new CloudLifeSciences\Resource\ProjectsLocations(
65 $this,
66 $this->serviceName,
67 'locations',
68 [
69 'methods' => [
70 'get' => [
71 'path' => 'v2beta/{+name}',
72 'httpMethod' => 'GET',
73 'parameters' => [
74 'name' => [
75 'location' => 'path',
76 'type' => 'string',
77 'required' => true,
78 ],
79 ],
80 ],'list' => [
81 'path' => 'v2beta/{+name}/locations',
82 'httpMethod' => 'GET',
83 'parameters' => [
84 'name' => [
85 'location' => 'path',
86 'type' => 'string',
87 'required' => true,
88 ],
89 'filter' => [
90 'location' => 'query',
91 'type' => 'string',
92 ],
93 'pageSize' => [
94 'location' => 'query',
95 'type' => 'integer',
96 ],
97 'pageToken' => [
98 'location' => 'query',
99 'type' => 'string',
100 ],
101 ],
102 ],
103 ]
104 ]
105 );
106 $this->projects_locations_operations = new CloudLifeSciences\Resource\ProjectsLocationsOperations(
107 $this,
108 $this->serviceName,
109 'operations',
110 [
111 'methods' => [
112 'cancel' => [
113 'path' => 'v2beta/{+name}:cancel',
114 'httpMethod' => 'POST',
115 'parameters' => [
116 'name' => [
117 'location' => 'path',
118 'type' => 'string',
119 'required' => true,
120 ],
121 ],
122 ],'get' => [
123 'path' => 'v2beta/{+name}',
124 'httpMethod' => 'GET',
125 'parameters' => [
126 'name' => [
127 'location' => 'path',
128 'type' => 'string',
129 'required' => true,
130 ],
131 ],
132 ],'list' => [
133 'path' => 'v2beta/{+name}/operations',
134 'httpMethod' => 'GET',
135 'parameters' => [
136 'name' => [
137 'location' => 'path',
138 'type' => 'string',
139 'required' => true,
140 ],
141 'filter' => [
142 'location' => 'query',
143 'type' => 'string',
144 ],
145 'pageSize' => [
146 'location' => 'query',
147 'type' => 'integer',
148 ],
149 'pageToken' => [
150 'location' => 'query',
151 'type' => 'string',
152 ],
153 ],
154 ],
155 ]
156 ]
157 );
158 $this->projects_locations_pipelines = new CloudLifeSciences\Resource\ProjectsLocationsPipelines(
159 $this,
160 $this->serviceName,
161 'pipelines',
162 [
163 'methods' => [
164 'run' => [
165 'path' => 'v2beta/{+parent}/pipelines:run',
166 'httpMethod' => 'POST',
167 'parameters' => [
168 'parent' => [
169 'location' => 'path',
170 'type' => 'string',
171 'required' => true,
172 ],
173 ],
174 ],
175 ]
176 ]
177 );
178 }
179}
180
181// Adding a class alias for backwards compatibility with the previous class name.
182class_alias(CloudLifeSciences::class, 'Google_Service_CloudLifeSciences');
Note: See TracBrowser for help on using the repository browser.