source: vendor/google/apiclient-services/src/BlockchainNodeEngine.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: 8.3 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 BlockchainNodeEngine (v1).
24 *
25 * <p>
26</p>
27 *
28 * <p>
29 * For more information about this service, see the API
30 * <a href="https://cloud.google.com/blockchain-node-engine" target="_blank">Documentation</a>
31 * </p>
32 *
33 * @author Google, Inc.
34 */
35class BlockchainNodeEngine extends \Google\Service
36{
37 /** See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.. */
38 const CLOUD_PLATFORM =
39 "https://www.googleapis.com/auth/cloud-platform";
40
41 public $projects_locations;
42 public $projects_locations_blockchainNodes;
43 public $projects_locations_operations;
44 public $rootUrlTemplate;
45
46 /**
47 * Constructs the internal representation of the BlockchainNodeEngine service.
48 *
49 * @param Client|array $clientOrConfig The client used to deliver requests, or a
50 * config array to pass to a new Client instance.
51 * @param string $rootUrl The root URL used for requests to the service.
52 */
53 public function __construct($clientOrConfig = [], $rootUrl = null)
54 {
55 parent::__construct($clientOrConfig);
56 $this->rootUrl = $rootUrl ?: 'https://blockchainnodeengine.googleapis.com/';
57 $this->rootUrlTemplate = $rootUrl ?: 'https://blockchainnodeengine.UNIVERSE_DOMAIN/';
58 $this->servicePath = '';
59 $this->batchPath = 'batch';
60 $this->version = 'v1';
61 $this->serviceName = 'blockchainnodeengine';
62
63 $this->projects_locations = new BlockchainNodeEngine\Resource\ProjectsLocations(
64 $this,
65 $this->serviceName,
66 'locations',
67 [
68 'methods' => [
69 'get' => [
70 'path' => 'v1/{+name}',
71 'httpMethod' => 'GET',
72 'parameters' => [
73 'name' => [
74 'location' => 'path',
75 'type' => 'string',
76 'required' => true,
77 ],
78 ],
79 ],'list' => [
80 'path' => 'v1/{+name}/locations',
81 'httpMethod' => 'GET',
82 'parameters' => [
83 'name' => [
84 'location' => 'path',
85 'type' => 'string',
86 'required' => true,
87 ],
88 'filter' => [
89 'location' => 'query',
90 'type' => 'string',
91 ],
92 'pageSize' => [
93 'location' => 'query',
94 'type' => 'integer',
95 ],
96 'pageToken' => [
97 'location' => 'query',
98 'type' => 'string',
99 ],
100 ],
101 ],
102 ]
103 ]
104 );
105 $this->projects_locations_blockchainNodes = new BlockchainNodeEngine\Resource\ProjectsLocationsBlockchainNodes(
106 $this,
107 $this->serviceName,
108 'blockchainNodes',
109 [
110 'methods' => [
111 'create' => [
112 'path' => 'v1/{+parent}/blockchainNodes',
113 'httpMethod' => 'POST',
114 'parameters' => [
115 'parent' => [
116 'location' => 'path',
117 'type' => 'string',
118 'required' => true,
119 ],
120 'blockchainNodeId' => [
121 'location' => 'query',
122 'type' => 'string',
123 ],
124 'requestId' => [
125 'location' => 'query',
126 'type' => 'string',
127 ],
128 ],
129 ],'delete' => [
130 'path' => 'v1/{+name}',
131 'httpMethod' => 'DELETE',
132 'parameters' => [
133 'name' => [
134 'location' => 'path',
135 'type' => 'string',
136 'required' => true,
137 ],
138 'requestId' => [
139 'location' => 'query',
140 'type' => 'string',
141 ],
142 ],
143 ],'get' => [
144 'path' => 'v1/{+name}',
145 'httpMethod' => 'GET',
146 'parameters' => [
147 'name' => [
148 'location' => 'path',
149 'type' => 'string',
150 'required' => true,
151 ],
152 ],
153 ],'list' => [
154 'path' => 'v1/{+parent}/blockchainNodes',
155 'httpMethod' => 'GET',
156 'parameters' => [
157 'parent' => [
158 'location' => 'path',
159 'type' => 'string',
160 'required' => true,
161 ],
162 'filter' => [
163 'location' => 'query',
164 'type' => 'string',
165 ],
166 'orderBy' => [
167 'location' => 'query',
168 'type' => 'string',
169 ],
170 'pageSize' => [
171 'location' => 'query',
172 'type' => 'integer',
173 ],
174 'pageToken' => [
175 'location' => 'query',
176 'type' => 'string',
177 ],
178 ],
179 ],'patch' => [
180 'path' => 'v1/{+name}',
181 'httpMethod' => 'PATCH',
182 'parameters' => [
183 'name' => [
184 'location' => 'path',
185 'type' => 'string',
186 'required' => true,
187 ],
188 'requestId' => [
189 'location' => 'query',
190 'type' => 'string',
191 ],
192 'updateMask' => [
193 'location' => 'query',
194 'type' => 'string',
195 ],
196 ],
197 ],
198 ]
199 ]
200 );
201 $this->projects_locations_operations = new BlockchainNodeEngine\Resource\ProjectsLocationsOperations(
202 $this,
203 $this->serviceName,
204 'operations',
205 [
206 'methods' => [
207 'cancel' => [
208 'path' => 'v1/{+name}:cancel',
209 'httpMethod' => 'POST',
210 'parameters' => [
211 'name' => [
212 'location' => 'path',
213 'type' => 'string',
214 'required' => true,
215 ],
216 ],
217 ],'delete' => [
218 'path' => 'v1/{+name}',
219 'httpMethod' => 'DELETE',
220 'parameters' => [
221 'name' => [
222 'location' => 'path',
223 'type' => 'string',
224 'required' => true,
225 ],
226 ],
227 ],'get' => [
228 'path' => 'v1/{+name}',
229 'httpMethod' => 'GET',
230 'parameters' => [
231 'name' => [
232 'location' => 'path',
233 'type' => 'string',
234 'required' => true,
235 ],
236 ],
237 ],'list' => [
238 'path' => 'v1/{+name}/operations',
239 'httpMethod' => 'GET',
240 'parameters' => [
241 'name' => [
242 'location' => 'path',
243 'type' => 'string',
244 'required' => true,
245 ],
246 'filter' => [
247 'location' => 'query',
248 'type' => 'string',
249 ],
250 'pageSize' => [
251 'location' => 'query',
252 'type' => 'integer',
253 ],
254 'pageToken' => [
255 'location' => 'query',
256 'type' => 'string',
257 ],
258 ],
259 ],
260 ]
261 ]
262 );
263 }
264}
265
266// Adding a class alias for backwards compatibility with the previous class name.
267class_alias(BlockchainNodeEngine::class, 'Google_Service_BlockchainNodeEngine');
Note: See TracBrowser for help on using the repository browser.