@@ -345,7 +345,7 @@ discard block |
||
345 | 345 | * |
346 | 346 | * @param string $subscription The subscription whose message is being |
347 | 347 | * acknowledged. |
348 | - * @param Google_AcknowledgeRequest $postBody |
|
348 | + * @param Google_Service_Pubsub_AcknowledgeRequest $postBody |
|
349 | 349 | * @param array $optParams Optional parameters. |
350 | 350 | * @return Google_Service_Pubsub_Empty |
351 | 351 | */ |
@@ -369,7 +369,7 @@ discard block |
||
369 | 369 | * (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus |
370 | 370 | * (`+`) or percent signs (`%`). It must be between 3 and 255 characters in |
371 | 371 | * length, and it must not start with `"goog"`. |
372 | - * @param Google_Subscription $postBody |
|
372 | + * @param Google_Service_Pubsub_Subscription $postBody |
|
373 | 373 | * @param array $optParams Optional parameters. |
374 | 374 | * @return Google_Service_Pubsub_Subscription |
375 | 375 | */ |
@@ -457,7 +457,7 @@ discard block |
||
457 | 457 | * interrupted. (subscriptions.modifyAckDeadline) |
458 | 458 | * |
459 | 459 | * @param string $subscription The name of the subscription. |
460 | - * @param Google_ModifyAckDeadlineRequest $postBody |
|
460 | + * @param Google_Service_Pubsub_ModifyAckDeadlineRequest $postBody |
|
461 | 461 | * @param array $optParams Optional parameters. |
462 | 462 | * @return Google_Service_Pubsub_Empty |
463 | 463 | */ |
@@ -477,7 +477,7 @@ discard block |
||
477 | 477 | * (subscriptions.modifyPushConfig) |
478 | 478 | * |
479 | 479 | * @param string $subscription The name of the subscription. |
480 | - * @param Google_ModifyPushConfigRequest $postBody |
|
480 | + * @param Google_Service_Pubsub_ModifyPushConfigRequest $postBody |
|
481 | 481 | * @param array $optParams Optional parameters. |
482 | 482 | * @return Google_Service_Pubsub_Empty |
483 | 483 | */ |
@@ -496,7 +496,7 @@ discard block |
||
496 | 496 | * |
497 | 497 | * @param string $subscription The subscription from which messages should be |
498 | 498 | * pulled. |
499 | - * @param Google_PullRequest $postBody |
|
499 | + * @param Google_Service_Pubsub_PullRequest $postBody |
|
500 | 500 | * @param array $optParams Optional parameters. |
501 | 501 | * @return Google_Service_Pubsub_PullResponse |
502 | 502 | */ |
@@ -514,7 +514,7 @@ discard block |
||
514 | 514 | * @param string $resource REQUIRED: The resource for which policy is being |
515 | 515 | * specified. Resource is usually specified as a path, such as, |
516 | 516 | * projects/{project}/zones/{zone}/disks/{disk}. |
517 | - * @param Google_SetIamPolicyRequest $postBody |
|
517 | + * @param Google_Service_Pubsub_SetIamPolicyRequest $postBody |
|
518 | 518 | * @param array $optParams Optional parameters. |
519 | 519 | * @return Google_Service_Pubsub_Policy |
520 | 520 | */ |
@@ -532,7 +532,7 @@ discard block |
||
532 | 532 | * @param string $resource REQUIRED: The resource for which policy detail is |
533 | 533 | * being requested. Resource is usually specified as a path, such as, |
534 | 534 | * projects/{project}. |
535 | - * @param Google_TestIamPermissionsRequest $postBody |
|
535 | + * @param Google_Service_Pubsub_TestIamPermissionsRequest $postBody |
|
536 | 536 | * @param array $optParams Optional parameters. |
537 | 537 | * @return Google_Service_Pubsub_TestIamPermissionsResponse |
538 | 538 | */ |
@@ -563,7 +563,7 @@ discard block |
||
563 | 563 | * underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs |
564 | 564 | * (`%`). It must be between 3 and 255 characters in length, and it must not |
565 | 565 | * start with `"goog"`. |
566 | - * @param Google_Topic $postBody |
|
566 | + * @param Google_Service_Pubsub_Topic $postBody |
|
567 | 567 | * @param array $optParams Optional parameters. |
568 | 568 | * @return Google_Service_Pubsub_Topic |
569 | 569 | */ |
@@ -649,7 +649,7 @@ discard block |
||
649 | 649 | * |
650 | 650 | * @param string $topic The messages in the request will be published on this |
651 | 651 | * topic. |
652 | - * @param Google_PublishRequest $postBody |
|
652 | + * @param Google_Service_Pubsub_PublishRequest $postBody |
|
653 | 653 | * @param array $optParams Optional parameters. |
654 | 654 | * @return Google_Service_Pubsub_PublishResponse |
655 | 655 | */ |
@@ -667,7 +667,7 @@ discard block |
||
667 | 667 | * @param string $resource REQUIRED: The resource for which policy is being |
668 | 668 | * specified. Resource is usually specified as a path, such as, |
669 | 669 | * projects/{project}/zones/{zone}/disks/{disk}. |
670 | - * @param Google_SetIamPolicyRequest $postBody |
|
670 | + * @param Google_Service_Pubsub_SetIamPolicyRequest $postBody |
|
671 | 671 | * @param array $optParams Optional parameters. |
672 | 672 | * @return Google_Service_Pubsub_Policy |
673 | 673 | */ |
@@ -685,7 +685,7 @@ discard block |
||
685 | 685 | * @param string $resource REQUIRED: The resource for which policy detail is |
686 | 686 | * being requested. Resource is usually specified as a path, such as, |
687 | 687 | * projects/{project}. |
688 | - * @param Google_TestIamPermissionsRequest $postBody |
|
688 | + * @param Google_Service_Pubsub_TestIamPermissionsRequest $postBody |
|
689 | 689 | * @param array $optParams Optional parameters. |
690 | 690 | * @return Google_Service_Pubsub_TestIamPermissionsResponse |
691 | 691 | */ |
@@ -32,10 +32,10 @@ discard block |
||
32 | 32 | { |
33 | 33 | /** View and manage your data across Google Cloud Platform services. */ |
34 | 34 | const CLOUD_PLATFORM = |
35 | - "https://www.googleapis.com/auth/cloud-platform"; |
|
35 | + "https://www.googleapis.com/auth/cloud-platform"; |
|
36 | 36 | /** View and manage Pub/Sub topics and subscriptions. */ |
37 | 37 | const PUBSUB = |
38 | - "https://www.googleapis.com/auth/pubsub"; |
|
38 | + "https://www.googleapis.com/auth/pubsub"; |
|
39 | 39 | |
40 | 40 | public $projects_subscriptions; |
41 | 41 | public $projects_topics; |
@@ -49,266 +49,266 @@ discard block |
||
49 | 49 | */ |
50 | 50 | public function __construct(Google_Client $client) |
51 | 51 | { |
52 | - parent::__construct($client); |
|
53 | - $this->rootUrl = 'https://pubsub.googleapis.com/'; |
|
54 | - $this->servicePath = ''; |
|
55 | - $this->version = 'v1'; |
|
56 | - $this->serviceName = 'pubsub'; |
|
57 | - |
|
58 | - $this->projects_subscriptions = new Google_Service_Pubsub_ProjectsSubscriptions_Resource( |
|
59 | - $this, |
|
60 | - $this->serviceName, |
|
61 | - 'subscriptions', |
|
62 | - array( |
|
63 | - 'methods' => array( |
|
64 | - 'acknowledge' => array( |
|
65 | - 'path' => 'v1/{+subscription}:acknowledge', |
|
66 | - 'httpMethod' => 'POST', |
|
67 | - 'parameters' => array( |
|
68 | - 'subscription' => array( |
|
69 | - 'location' => 'path', |
|
70 | - 'type' => 'string', |
|
71 | - 'required' => true, |
|
72 | - ), |
|
73 | - ), |
|
74 | - ),'create' => array( |
|
75 | - 'path' => 'v1/{+name}', |
|
76 | - 'httpMethod' => 'PUT', |
|
77 | - 'parameters' => array( |
|
78 | - 'name' => array( |
|
79 | - 'location' => 'path', |
|
80 | - 'type' => 'string', |
|
81 | - 'required' => true, |
|
82 | - ), |
|
83 | - ), |
|
84 | - ),'delete' => array( |
|
85 | - 'path' => 'v1/{+subscription}', |
|
86 | - 'httpMethod' => 'DELETE', |
|
87 | - 'parameters' => array( |
|
88 | - 'subscription' => array( |
|
89 | - 'location' => 'path', |
|
90 | - 'type' => 'string', |
|
91 | - 'required' => true, |
|
92 | - ), |
|
93 | - ), |
|
94 | - ),'get' => array( |
|
95 | - 'path' => 'v1/{+subscription}', |
|
96 | - 'httpMethod' => 'GET', |
|
97 | - 'parameters' => array( |
|
98 | - 'subscription' => array( |
|
99 | - 'location' => 'path', |
|
100 | - 'type' => 'string', |
|
101 | - 'required' => true, |
|
102 | - ), |
|
103 | - ), |
|
104 | - ),'getIamPolicy' => array( |
|
105 | - 'path' => 'v1/{+resource}:getIamPolicy', |
|
106 | - 'httpMethod' => 'GET', |
|
107 | - 'parameters' => array( |
|
108 | - 'resource' => array( |
|
109 | - 'location' => 'path', |
|
110 | - 'type' => 'string', |
|
111 | - 'required' => true, |
|
112 | - ), |
|
113 | - ), |
|
114 | - ),'list' => array( |
|
115 | - 'path' => 'v1/{+project}/subscriptions', |
|
116 | - 'httpMethod' => 'GET', |
|
117 | - 'parameters' => array( |
|
118 | - 'project' => array( |
|
119 | - 'location' => 'path', |
|
120 | - 'type' => 'string', |
|
121 | - 'required' => true, |
|
122 | - ), |
|
123 | - 'pageToken' => array( |
|
124 | - 'location' => 'query', |
|
125 | - 'type' => 'string', |
|
126 | - ), |
|
127 | - 'pageSize' => array( |
|
128 | - 'location' => 'query', |
|
129 | - 'type' => 'integer', |
|
130 | - ), |
|
131 | - ), |
|
132 | - ),'modifyAckDeadline' => array( |
|
133 | - 'path' => 'v1/{+subscription}:modifyAckDeadline', |
|
134 | - 'httpMethod' => 'POST', |
|
135 | - 'parameters' => array( |
|
136 | - 'subscription' => array( |
|
137 | - 'location' => 'path', |
|
138 | - 'type' => 'string', |
|
139 | - 'required' => true, |
|
140 | - ), |
|
141 | - ), |
|
142 | - ),'modifyPushConfig' => array( |
|
143 | - 'path' => 'v1/{+subscription}:modifyPushConfig', |
|
144 | - 'httpMethod' => 'POST', |
|
145 | - 'parameters' => array( |
|
146 | - 'subscription' => array( |
|
147 | - 'location' => 'path', |
|
148 | - 'type' => 'string', |
|
149 | - 'required' => true, |
|
150 | - ), |
|
151 | - ), |
|
152 | - ),'pull' => array( |
|
153 | - 'path' => 'v1/{+subscription}:pull', |
|
154 | - 'httpMethod' => 'POST', |
|
155 | - 'parameters' => array( |
|
156 | - 'subscription' => array( |
|
157 | - 'location' => 'path', |
|
158 | - 'type' => 'string', |
|
159 | - 'required' => true, |
|
160 | - ), |
|
161 | - ), |
|
162 | - ),'setIamPolicy' => array( |
|
163 | - 'path' => 'v1/{+resource}:setIamPolicy', |
|
164 | - 'httpMethod' => 'POST', |
|
165 | - 'parameters' => array( |
|
166 | - 'resource' => array( |
|
167 | - 'location' => 'path', |
|
168 | - 'type' => 'string', |
|
169 | - 'required' => true, |
|
170 | - ), |
|
171 | - ), |
|
172 | - ),'testIamPermissions' => array( |
|
173 | - 'path' => 'v1/{+resource}:testIamPermissions', |
|
174 | - 'httpMethod' => 'POST', |
|
175 | - 'parameters' => array( |
|
176 | - 'resource' => array( |
|
177 | - 'location' => 'path', |
|
178 | - 'type' => 'string', |
|
179 | - 'required' => true, |
|
180 | - ), |
|
181 | - ), |
|
182 | - ), |
|
183 | - ) |
|
184 | - ) |
|
185 | - ); |
|
186 | - $this->projects_topics = new Google_Service_Pubsub_ProjectsTopics_Resource( |
|
187 | - $this, |
|
188 | - $this->serviceName, |
|
189 | - 'topics', |
|
190 | - array( |
|
191 | - 'methods' => array( |
|
192 | - 'create' => array( |
|
193 | - 'path' => 'v1/{+name}', |
|
194 | - 'httpMethod' => 'PUT', |
|
195 | - 'parameters' => array( |
|
196 | - 'name' => array( |
|
197 | - 'location' => 'path', |
|
198 | - 'type' => 'string', |
|
199 | - 'required' => true, |
|
200 | - ), |
|
201 | - ), |
|
202 | - ),'delete' => array( |
|
203 | - 'path' => 'v1/{+topic}', |
|
204 | - 'httpMethod' => 'DELETE', |
|
205 | - 'parameters' => array( |
|
206 | - 'topic' => array( |
|
207 | - 'location' => 'path', |
|
208 | - 'type' => 'string', |
|
209 | - 'required' => true, |
|
210 | - ), |
|
211 | - ), |
|
212 | - ),'get' => array( |
|
213 | - 'path' => 'v1/{+topic}', |
|
214 | - 'httpMethod' => 'GET', |
|
215 | - 'parameters' => array( |
|
216 | - 'topic' => array( |
|
217 | - 'location' => 'path', |
|
218 | - 'type' => 'string', |
|
219 | - 'required' => true, |
|
220 | - ), |
|
221 | - ), |
|
222 | - ),'getIamPolicy' => array( |
|
223 | - 'path' => 'v1/{+resource}:getIamPolicy', |
|
224 | - 'httpMethod' => 'GET', |
|
225 | - 'parameters' => array( |
|
226 | - 'resource' => array( |
|
227 | - 'location' => 'path', |
|
228 | - 'type' => 'string', |
|
229 | - 'required' => true, |
|
230 | - ), |
|
231 | - ), |
|
232 | - ),'list' => array( |
|
233 | - 'path' => 'v1/{+project}/topics', |
|
234 | - 'httpMethod' => 'GET', |
|
235 | - 'parameters' => array( |
|
236 | - 'project' => array( |
|
237 | - 'location' => 'path', |
|
238 | - 'type' => 'string', |
|
239 | - 'required' => true, |
|
240 | - ), |
|
241 | - 'pageToken' => array( |
|
242 | - 'location' => 'query', |
|
243 | - 'type' => 'string', |
|
244 | - ), |
|
245 | - 'pageSize' => array( |
|
246 | - 'location' => 'query', |
|
247 | - 'type' => 'integer', |
|
248 | - ), |
|
249 | - ), |
|
250 | - ),'publish' => array( |
|
251 | - 'path' => 'v1/{+topic}:publish', |
|
252 | - 'httpMethod' => 'POST', |
|
253 | - 'parameters' => array( |
|
254 | - 'topic' => array( |
|
255 | - 'location' => 'path', |
|
256 | - 'type' => 'string', |
|
257 | - 'required' => true, |
|
258 | - ), |
|
259 | - ), |
|
260 | - ),'setIamPolicy' => array( |
|
261 | - 'path' => 'v1/{+resource}:setIamPolicy', |
|
262 | - 'httpMethod' => 'POST', |
|
263 | - 'parameters' => array( |
|
264 | - 'resource' => array( |
|
265 | - 'location' => 'path', |
|
266 | - 'type' => 'string', |
|
267 | - 'required' => true, |
|
268 | - ), |
|
269 | - ), |
|
270 | - ),'testIamPermissions' => array( |
|
271 | - 'path' => 'v1/{+resource}:testIamPermissions', |
|
272 | - 'httpMethod' => 'POST', |
|
273 | - 'parameters' => array( |
|
274 | - 'resource' => array( |
|
275 | - 'location' => 'path', |
|
276 | - 'type' => 'string', |
|
277 | - 'required' => true, |
|
278 | - ), |
|
279 | - ), |
|
280 | - ), |
|
281 | - ) |
|
282 | - ) |
|
283 | - ); |
|
284 | - $this->projects_topics_subscriptions = new Google_Service_Pubsub_ProjectsTopicsSubscriptions_Resource( |
|
285 | - $this, |
|
286 | - $this->serviceName, |
|
287 | - 'subscriptions', |
|
288 | - array( |
|
289 | - 'methods' => array( |
|
290 | - 'list' => array( |
|
291 | - 'path' => 'v1/{+topic}/subscriptions', |
|
292 | - 'httpMethod' => 'GET', |
|
293 | - 'parameters' => array( |
|
294 | - 'topic' => array( |
|
295 | - 'location' => 'path', |
|
296 | - 'type' => 'string', |
|
297 | - 'required' => true, |
|
298 | - ), |
|
299 | - 'pageToken' => array( |
|
300 | - 'location' => 'query', |
|
301 | - 'type' => 'string', |
|
302 | - ), |
|
303 | - 'pageSize' => array( |
|
304 | - 'location' => 'query', |
|
305 | - 'type' => 'integer', |
|
306 | - ), |
|
307 | - ), |
|
308 | - ), |
|
309 | - ) |
|
310 | - ) |
|
311 | - ); |
|
52 | + parent::__construct($client); |
|
53 | + $this->rootUrl = 'https://pubsub.googleapis.com/'; |
|
54 | + $this->servicePath = ''; |
|
55 | + $this->version = 'v1'; |
|
56 | + $this->serviceName = 'pubsub'; |
|
57 | + |
|
58 | + $this->projects_subscriptions = new Google_Service_Pubsub_ProjectsSubscriptions_Resource( |
|
59 | + $this, |
|
60 | + $this->serviceName, |
|
61 | + 'subscriptions', |
|
62 | + array( |
|
63 | + 'methods' => array( |
|
64 | + 'acknowledge' => array( |
|
65 | + 'path' => 'v1/{+subscription}:acknowledge', |
|
66 | + 'httpMethod' => 'POST', |
|
67 | + 'parameters' => array( |
|
68 | + 'subscription' => array( |
|
69 | + 'location' => 'path', |
|
70 | + 'type' => 'string', |
|
71 | + 'required' => true, |
|
72 | + ), |
|
73 | + ), |
|
74 | + ),'create' => array( |
|
75 | + 'path' => 'v1/{+name}', |
|
76 | + 'httpMethod' => 'PUT', |
|
77 | + 'parameters' => array( |
|
78 | + 'name' => array( |
|
79 | + 'location' => 'path', |
|
80 | + 'type' => 'string', |
|
81 | + 'required' => true, |
|
82 | + ), |
|
83 | + ), |
|
84 | + ),'delete' => array( |
|
85 | + 'path' => 'v1/{+subscription}', |
|
86 | + 'httpMethod' => 'DELETE', |
|
87 | + 'parameters' => array( |
|
88 | + 'subscription' => array( |
|
89 | + 'location' => 'path', |
|
90 | + 'type' => 'string', |
|
91 | + 'required' => true, |
|
92 | + ), |
|
93 | + ), |
|
94 | + ),'get' => array( |
|
95 | + 'path' => 'v1/{+subscription}', |
|
96 | + 'httpMethod' => 'GET', |
|
97 | + 'parameters' => array( |
|
98 | + 'subscription' => array( |
|
99 | + 'location' => 'path', |
|
100 | + 'type' => 'string', |
|
101 | + 'required' => true, |
|
102 | + ), |
|
103 | + ), |
|
104 | + ),'getIamPolicy' => array( |
|
105 | + 'path' => 'v1/{+resource}:getIamPolicy', |
|
106 | + 'httpMethod' => 'GET', |
|
107 | + 'parameters' => array( |
|
108 | + 'resource' => array( |
|
109 | + 'location' => 'path', |
|
110 | + 'type' => 'string', |
|
111 | + 'required' => true, |
|
112 | + ), |
|
113 | + ), |
|
114 | + ),'list' => array( |
|
115 | + 'path' => 'v1/{+project}/subscriptions', |
|
116 | + 'httpMethod' => 'GET', |
|
117 | + 'parameters' => array( |
|
118 | + 'project' => array( |
|
119 | + 'location' => 'path', |
|
120 | + 'type' => 'string', |
|
121 | + 'required' => true, |
|
122 | + ), |
|
123 | + 'pageToken' => array( |
|
124 | + 'location' => 'query', |
|
125 | + 'type' => 'string', |
|
126 | + ), |
|
127 | + 'pageSize' => array( |
|
128 | + 'location' => 'query', |
|
129 | + 'type' => 'integer', |
|
130 | + ), |
|
131 | + ), |
|
132 | + ),'modifyAckDeadline' => array( |
|
133 | + 'path' => 'v1/{+subscription}:modifyAckDeadline', |
|
134 | + 'httpMethod' => 'POST', |
|
135 | + 'parameters' => array( |
|
136 | + 'subscription' => array( |
|
137 | + 'location' => 'path', |
|
138 | + 'type' => 'string', |
|
139 | + 'required' => true, |
|
140 | + ), |
|
141 | + ), |
|
142 | + ),'modifyPushConfig' => array( |
|
143 | + 'path' => 'v1/{+subscription}:modifyPushConfig', |
|
144 | + 'httpMethod' => 'POST', |
|
145 | + 'parameters' => array( |
|
146 | + 'subscription' => array( |
|
147 | + 'location' => 'path', |
|
148 | + 'type' => 'string', |
|
149 | + 'required' => true, |
|
150 | + ), |
|
151 | + ), |
|
152 | + ),'pull' => array( |
|
153 | + 'path' => 'v1/{+subscription}:pull', |
|
154 | + 'httpMethod' => 'POST', |
|
155 | + 'parameters' => array( |
|
156 | + 'subscription' => array( |
|
157 | + 'location' => 'path', |
|
158 | + 'type' => 'string', |
|
159 | + 'required' => true, |
|
160 | + ), |
|
161 | + ), |
|
162 | + ),'setIamPolicy' => array( |
|
163 | + 'path' => 'v1/{+resource}:setIamPolicy', |
|
164 | + 'httpMethod' => 'POST', |
|
165 | + 'parameters' => array( |
|
166 | + 'resource' => array( |
|
167 | + 'location' => 'path', |
|
168 | + 'type' => 'string', |
|
169 | + 'required' => true, |
|
170 | + ), |
|
171 | + ), |
|
172 | + ),'testIamPermissions' => array( |
|
173 | + 'path' => 'v1/{+resource}:testIamPermissions', |
|
174 | + 'httpMethod' => 'POST', |
|
175 | + 'parameters' => array( |
|
176 | + 'resource' => array( |
|
177 | + 'location' => 'path', |
|
178 | + 'type' => 'string', |
|
179 | + 'required' => true, |
|
180 | + ), |
|
181 | + ), |
|
182 | + ), |
|
183 | + ) |
|
184 | + ) |
|
185 | + ); |
|
186 | + $this->projects_topics = new Google_Service_Pubsub_ProjectsTopics_Resource( |
|
187 | + $this, |
|
188 | + $this->serviceName, |
|
189 | + 'topics', |
|
190 | + array( |
|
191 | + 'methods' => array( |
|
192 | + 'create' => array( |
|
193 | + 'path' => 'v1/{+name}', |
|
194 | + 'httpMethod' => 'PUT', |
|
195 | + 'parameters' => array( |
|
196 | + 'name' => array( |
|
197 | + 'location' => 'path', |
|
198 | + 'type' => 'string', |
|
199 | + 'required' => true, |
|
200 | + ), |
|
201 | + ), |
|
202 | + ),'delete' => array( |
|
203 | + 'path' => 'v1/{+topic}', |
|
204 | + 'httpMethod' => 'DELETE', |
|
205 | + 'parameters' => array( |
|
206 | + 'topic' => array( |
|
207 | + 'location' => 'path', |
|
208 | + 'type' => 'string', |
|
209 | + 'required' => true, |
|
210 | + ), |
|
211 | + ), |
|
212 | + ),'get' => array( |
|
213 | + 'path' => 'v1/{+topic}', |
|
214 | + 'httpMethod' => 'GET', |
|
215 | + 'parameters' => array( |
|
216 | + 'topic' => array( |
|
217 | + 'location' => 'path', |
|
218 | + 'type' => 'string', |
|
219 | + 'required' => true, |
|
220 | + ), |
|
221 | + ), |
|
222 | + ),'getIamPolicy' => array( |
|
223 | + 'path' => 'v1/{+resource}:getIamPolicy', |
|
224 | + 'httpMethod' => 'GET', |
|
225 | + 'parameters' => array( |
|
226 | + 'resource' => array( |
|
227 | + 'location' => 'path', |
|
228 | + 'type' => 'string', |
|
229 | + 'required' => true, |
|
230 | + ), |
|
231 | + ), |
|
232 | + ),'list' => array( |
|
233 | + 'path' => 'v1/{+project}/topics', |
|
234 | + 'httpMethod' => 'GET', |
|
235 | + 'parameters' => array( |
|
236 | + 'project' => array( |
|
237 | + 'location' => 'path', |
|
238 | + 'type' => 'string', |
|
239 | + 'required' => true, |
|
240 | + ), |
|
241 | + 'pageToken' => array( |
|
242 | + 'location' => 'query', |
|
243 | + 'type' => 'string', |
|
244 | + ), |
|
245 | + 'pageSize' => array( |
|
246 | + 'location' => 'query', |
|
247 | + 'type' => 'integer', |
|
248 | + ), |
|
249 | + ), |
|
250 | + ),'publish' => array( |
|
251 | + 'path' => 'v1/{+topic}:publish', |
|
252 | + 'httpMethod' => 'POST', |
|
253 | + 'parameters' => array( |
|
254 | + 'topic' => array( |
|
255 | + 'location' => 'path', |
|
256 | + 'type' => 'string', |
|
257 | + 'required' => true, |
|
258 | + ), |
|
259 | + ), |
|
260 | + ),'setIamPolicy' => array( |
|
261 | + 'path' => 'v1/{+resource}:setIamPolicy', |
|
262 | + 'httpMethod' => 'POST', |
|
263 | + 'parameters' => array( |
|
264 | + 'resource' => array( |
|
265 | + 'location' => 'path', |
|
266 | + 'type' => 'string', |
|
267 | + 'required' => true, |
|
268 | + ), |
|
269 | + ), |
|
270 | + ),'testIamPermissions' => array( |
|
271 | + 'path' => 'v1/{+resource}:testIamPermissions', |
|
272 | + 'httpMethod' => 'POST', |
|
273 | + 'parameters' => array( |
|
274 | + 'resource' => array( |
|
275 | + 'location' => 'path', |
|
276 | + 'type' => 'string', |
|
277 | + 'required' => true, |
|
278 | + ), |
|
279 | + ), |
|
280 | + ), |
|
281 | + ) |
|
282 | + ) |
|
283 | + ); |
|
284 | + $this->projects_topics_subscriptions = new Google_Service_Pubsub_ProjectsTopicsSubscriptions_Resource( |
|
285 | + $this, |
|
286 | + $this->serviceName, |
|
287 | + 'subscriptions', |
|
288 | + array( |
|
289 | + 'methods' => array( |
|
290 | + 'list' => array( |
|
291 | + 'path' => 'v1/{+topic}/subscriptions', |
|
292 | + 'httpMethod' => 'GET', |
|
293 | + 'parameters' => array( |
|
294 | + 'topic' => array( |
|
295 | + 'location' => 'path', |
|
296 | + 'type' => 'string', |
|
297 | + 'required' => true, |
|
298 | + ), |
|
299 | + 'pageToken' => array( |
|
300 | + 'location' => 'query', |
|
301 | + 'type' => 'string', |
|
302 | + ), |
|
303 | + 'pageSize' => array( |
|
304 | + 'location' => 'query', |
|
305 | + 'type' => 'integer', |
|
306 | + ), |
|
307 | + ), |
|
308 | + ), |
|
309 | + ) |
|
310 | + ) |
|
311 | + ); |
|
312 | 312 | } |
313 | 313 | } |
314 | 314 | |
@@ -351,9 +351,9 @@ discard block |
||
351 | 351 | */ |
352 | 352 | public function acknowledge($subscription, Google_Service_Pubsub_AcknowledgeRequest $postBody, $optParams = array()) |
353 | 353 | { |
354 | - $params = array('subscription' => $subscription, 'postBody' => $postBody); |
|
355 | - $params = array_merge($params, $optParams); |
|
356 | - return $this->call('acknowledge', array($params), "Google_Service_Pubsub_Empty"); |
|
354 | + $params = array('subscription' => $subscription, 'postBody' => $postBody); |
|
355 | + $params = array_merge($params, $optParams); |
|
356 | + return $this->call('acknowledge', array($params), "Google_Service_Pubsub_Empty"); |
|
357 | 357 | } |
358 | 358 | |
359 | 359 | /** |
@@ -375,9 +375,9 @@ discard block |
||
375 | 375 | */ |
376 | 376 | public function create($name, Google_Service_Pubsub_Subscription $postBody, $optParams = array()) |
377 | 377 | { |
378 | - $params = array('name' => $name, 'postBody' => $postBody); |
|
379 | - $params = array_merge($params, $optParams); |
|
380 | - return $this->call('create', array($params), "Google_Service_Pubsub_Subscription"); |
|
378 | + $params = array('name' => $name, 'postBody' => $postBody); |
|
379 | + $params = array_merge($params, $optParams); |
|
380 | + return $this->call('create', array($params), "Google_Service_Pubsub_Subscription"); |
|
381 | 381 | } |
382 | 382 | |
383 | 383 | /** |
@@ -393,9 +393,9 @@ discard block |
||
393 | 393 | */ |
394 | 394 | public function delete($subscription, $optParams = array()) |
395 | 395 | { |
396 | - $params = array('subscription' => $subscription); |
|
397 | - $params = array_merge($params, $optParams); |
|
398 | - return $this->call('delete', array($params), "Google_Service_Pubsub_Empty"); |
|
396 | + $params = array('subscription' => $subscription); |
|
397 | + $params = array_merge($params, $optParams); |
|
398 | + return $this->call('delete', array($params), "Google_Service_Pubsub_Empty"); |
|
399 | 399 | } |
400 | 400 | |
401 | 401 | /** |
@@ -407,9 +407,9 @@ discard block |
||
407 | 407 | */ |
408 | 408 | public function get($subscription, $optParams = array()) |
409 | 409 | { |
410 | - $params = array('subscription' => $subscription); |
|
411 | - $params = array_merge($params, $optParams); |
|
412 | - return $this->call('get', array($params), "Google_Service_Pubsub_Subscription"); |
|
410 | + $params = array('subscription' => $subscription); |
|
411 | + $params = array_merge($params, $optParams); |
|
412 | + return $this->call('get', array($params), "Google_Service_Pubsub_Subscription"); |
|
413 | 413 | } |
414 | 414 | |
415 | 415 | /** |
@@ -424,9 +424,9 @@ discard block |
||
424 | 424 | */ |
425 | 425 | public function getIamPolicy($resource, $optParams = array()) |
426 | 426 | { |
427 | - $params = array('resource' => $resource); |
|
428 | - $params = array_merge($params, $optParams); |
|
429 | - return $this->call('getIamPolicy', array($params), "Google_Service_Pubsub_Policy"); |
|
427 | + $params = array('resource' => $resource); |
|
428 | + $params = array_merge($params, $optParams); |
|
429 | + return $this->call('getIamPolicy', array($params), "Google_Service_Pubsub_Policy"); |
|
430 | 430 | } |
431 | 431 | |
432 | 432 | /** |
@@ -445,9 +445,9 @@ discard block |
||
445 | 445 | */ |
446 | 446 | public function listProjectsSubscriptions($project, $optParams = array()) |
447 | 447 | { |
448 | - $params = array('project' => $project); |
|
449 | - $params = array_merge($params, $optParams); |
|
450 | - return $this->call('list', array($params), "Google_Service_Pubsub_ListSubscriptionsResponse"); |
|
448 | + $params = array('project' => $project); |
|
449 | + $params = array_merge($params, $optParams); |
|
450 | + return $this->call('list', array($params), "Google_Service_Pubsub_ListSubscriptionsResponse"); |
|
451 | 451 | } |
452 | 452 | |
453 | 453 | /** |
@@ -463,9 +463,9 @@ discard block |
||
463 | 463 | */ |
464 | 464 | public function modifyAckDeadline($subscription, Google_Service_Pubsub_ModifyAckDeadlineRequest $postBody, $optParams = array()) |
465 | 465 | { |
466 | - $params = array('subscription' => $subscription, 'postBody' => $postBody); |
|
467 | - $params = array_merge($params, $optParams); |
|
468 | - return $this->call('modifyAckDeadline', array($params), "Google_Service_Pubsub_Empty"); |
|
466 | + $params = array('subscription' => $subscription, 'postBody' => $postBody); |
|
467 | + $params = array_merge($params, $optParams); |
|
468 | + return $this->call('modifyAckDeadline', array($params), "Google_Service_Pubsub_Empty"); |
|
469 | 469 | } |
470 | 470 | |
471 | 471 | /** |
@@ -483,9 +483,9 @@ discard block |
||
483 | 483 | */ |
484 | 484 | public function modifyPushConfig($subscription, Google_Service_Pubsub_ModifyPushConfigRequest $postBody, $optParams = array()) |
485 | 485 | { |
486 | - $params = array('subscription' => $subscription, 'postBody' => $postBody); |
|
487 | - $params = array_merge($params, $optParams); |
|
488 | - return $this->call('modifyPushConfig', array($params), "Google_Service_Pubsub_Empty"); |
|
486 | + $params = array('subscription' => $subscription, 'postBody' => $postBody); |
|
487 | + $params = array_merge($params, $optParams); |
|
488 | + return $this->call('modifyPushConfig', array($params), "Google_Service_Pubsub_Empty"); |
|
489 | 489 | } |
490 | 490 | |
491 | 491 | /** |
@@ -502,9 +502,9 @@ discard block |
||
502 | 502 | */ |
503 | 503 | public function pull($subscription, Google_Service_Pubsub_PullRequest $postBody, $optParams = array()) |
504 | 504 | { |
505 | - $params = array('subscription' => $subscription, 'postBody' => $postBody); |
|
506 | - $params = array_merge($params, $optParams); |
|
507 | - return $this->call('pull', array($params), "Google_Service_Pubsub_PullResponse"); |
|
505 | + $params = array('subscription' => $subscription, 'postBody' => $postBody); |
|
506 | + $params = array_merge($params, $optParams); |
|
507 | + return $this->call('pull', array($params), "Google_Service_Pubsub_PullResponse"); |
|
508 | 508 | } |
509 | 509 | |
510 | 510 | /** |
@@ -520,9 +520,9 @@ discard block |
||
520 | 520 | */ |
521 | 521 | public function setIamPolicy($resource, Google_Service_Pubsub_SetIamPolicyRequest $postBody, $optParams = array()) |
522 | 522 | { |
523 | - $params = array('resource' => $resource, 'postBody' => $postBody); |
|
524 | - $params = array_merge($params, $optParams); |
|
525 | - return $this->call('setIamPolicy', array($params), "Google_Service_Pubsub_Policy"); |
|
523 | + $params = array('resource' => $resource, 'postBody' => $postBody); |
|
524 | + $params = array_merge($params, $optParams); |
|
525 | + return $this->call('setIamPolicy', array($params), "Google_Service_Pubsub_Policy"); |
|
526 | 526 | } |
527 | 527 | |
528 | 528 | /** |
@@ -538,9 +538,9 @@ discard block |
||
538 | 538 | */ |
539 | 539 | public function testIamPermissions($resource, Google_Service_Pubsub_TestIamPermissionsRequest $postBody, $optParams = array()) |
540 | 540 | { |
541 | - $params = array('resource' => $resource, 'postBody' => $postBody); |
|
542 | - $params = array_merge($params, $optParams); |
|
543 | - return $this->call('testIamPermissions', array($params), "Google_Service_Pubsub_TestIamPermissionsResponse"); |
|
541 | + $params = array('resource' => $resource, 'postBody' => $postBody); |
|
542 | + $params = array_merge($params, $optParams); |
|
543 | + return $this->call('testIamPermissions', array($params), "Google_Service_Pubsub_TestIamPermissionsResponse"); |
|
544 | 544 | } |
545 | 545 | } |
546 | 546 | /** |
@@ -569,9 +569,9 @@ discard block |
||
569 | 569 | */ |
570 | 570 | public function create($name, Google_Service_Pubsub_Topic $postBody, $optParams = array()) |
571 | 571 | { |
572 | - $params = array('name' => $name, 'postBody' => $postBody); |
|
573 | - $params = array_merge($params, $optParams); |
|
574 | - return $this->call('create', array($params), "Google_Service_Pubsub_Topic"); |
|
572 | + $params = array('name' => $name, 'postBody' => $postBody); |
|
573 | + $params = array_merge($params, $optParams); |
|
574 | + return $this->call('create', array($params), "Google_Service_Pubsub_Topic"); |
|
575 | 575 | } |
576 | 576 | |
577 | 577 | /** |
@@ -587,9 +587,9 @@ discard block |
||
587 | 587 | */ |
588 | 588 | public function delete($topic, $optParams = array()) |
589 | 589 | { |
590 | - $params = array('topic' => $topic); |
|
591 | - $params = array_merge($params, $optParams); |
|
592 | - return $this->call('delete', array($params), "Google_Service_Pubsub_Empty"); |
|
590 | + $params = array('topic' => $topic); |
|
591 | + $params = array_merge($params, $optParams); |
|
592 | + return $this->call('delete', array($params), "Google_Service_Pubsub_Empty"); |
|
593 | 593 | } |
594 | 594 | |
595 | 595 | /** |
@@ -601,9 +601,9 @@ discard block |
||
601 | 601 | */ |
602 | 602 | public function get($topic, $optParams = array()) |
603 | 603 | { |
604 | - $params = array('topic' => $topic); |
|
605 | - $params = array_merge($params, $optParams); |
|
606 | - return $this->call('get', array($params), "Google_Service_Pubsub_Topic"); |
|
604 | + $params = array('topic' => $topic); |
|
605 | + $params = array_merge($params, $optParams); |
|
606 | + return $this->call('get', array($params), "Google_Service_Pubsub_Topic"); |
|
607 | 607 | } |
608 | 608 | |
609 | 609 | /** |
@@ -618,9 +618,9 @@ discard block |
||
618 | 618 | */ |
619 | 619 | public function getIamPolicy($resource, $optParams = array()) |
620 | 620 | { |
621 | - $params = array('resource' => $resource); |
|
622 | - $params = array_merge($params, $optParams); |
|
623 | - return $this->call('getIamPolicy', array($params), "Google_Service_Pubsub_Policy"); |
|
621 | + $params = array('resource' => $resource); |
|
622 | + $params = array_merge($params, $optParams); |
|
623 | + return $this->call('getIamPolicy', array($params), "Google_Service_Pubsub_Policy"); |
|
624 | 624 | } |
625 | 625 | |
626 | 626 | /** |
@@ -637,9 +637,9 @@ discard block |
||
637 | 637 | */ |
638 | 638 | public function listProjectsTopics($project, $optParams = array()) |
639 | 639 | { |
640 | - $params = array('project' => $project); |
|
641 | - $params = array_merge($params, $optParams); |
|
642 | - return $this->call('list', array($params), "Google_Service_Pubsub_ListTopicsResponse"); |
|
640 | + $params = array('project' => $project); |
|
641 | + $params = array_merge($params, $optParams); |
|
642 | + return $this->call('list', array($params), "Google_Service_Pubsub_ListTopicsResponse"); |
|
643 | 643 | } |
644 | 644 | |
645 | 645 | /** |
@@ -655,9 +655,9 @@ discard block |
||
655 | 655 | */ |
656 | 656 | public function publish($topic, Google_Service_Pubsub_PublishRequest $postBody, $optParams = array()) |
657 | 657 | { |
658 | - $params = array('topic' => $topic, 'postBody' => $postBody); |
|
659 | - $params = array_merge($params, $optParams); |
|
660 | - return $this->call('publish', array($params), "Google_Service_Pubsub_PublishResponse"); |
|
658 | + $params = array('topic' => $topic, 'postBody' => $postBody); |
|
659 | + $params = array_merge($params, $optParams); |
|
660 | + return $this->call('publish', array($params), "Google_Service_Pubsub_PublishResponse"); |
|
661 | 661 | } |
662 | 662 | |
663 | 663 | /** |
@@ -673,9 +673,9 @@ discard block |
||
673 | 673 | */ |
674 | 674 | public function setIamPolicy($resource, Google_Service_Pubsub_SetIamPolicyRequest $postBody, $optParams = array()) |
675 | 675 | { |
676 | - $params = array('resource' => $resource, 'postBody' => $postBody); |
|
677 | - $params = array_merge($params, $optParams); |
|
678 | - return $this->call('setIamPolicy', array($params), "Google_Service_Pubsub_Policy"); |
|
676 | + $params = array('resource' => $resource, 'postBody' => $postBody); |
|
677 | + $params = array_merge($params, $optParams); |
|
678 | + return $this->call('setIamPolicy', array($params), "Google_Service_Pubsub_Policy"); |
|
679 | 679 | } |
680 | 680 | |
681 | 681 | /** |
@@ -691,9 +691,9 @@ discard block |
||
691 | 691 | */ |
692 | 692 | public function testIamPermissions($resource, Google_Service_Pubsub_TestIamPermissionsRequest $postBody, $optParams = array()) |
693 | 693 | { |
694 | - $params = array('resource' => $resource, 'postBody' => $postBody); |
|
695 | - $params = array_merge($params, $optParams); |
|
696 | - return $this->call('testIamPermissions', array($params), "Google_Service_Pubsub_TestIamPermissionsResponse"); |
|
694 | + $params = array('resource' => $resource, 'postBody' => $postBody); |
|
695 | + $params = array_merge($params, $optParams); |
|
696 | + return $this->call('testIamPermissions', array($params), "Google_Service_Pubsub_TestIamPermissionsResponse"); |
|
697 | 697 | } |
698 | 698 | } |
699 | 699 | |
@@ -725,9 +725,9 @@ discard block |
||
725 | 725 | */ |
726 | 726 | public function listProjectsTopicsSubscriptions($topic, $optParams = array()) |
727 | 727 | { |
728 | - $params = array('topic' => $topic); |
|
729 | - $params = array_merge($params, $optParams); |
|
730 | - return $this->call('list', array($params), "Google_Service_Pubsub_ListTopicSubscriptionsResponse"); |
|
728 | + $params = array('topic' => $topic); |
|
729 | + $params = array_merge($params, $optParams); |
|
730 | + return $this->call('list', array($params), "Google_Service_Pubsub_ListTopicSubscriptionsResponse"); |
|
731 | 731 | } |
732 | 732 | } |
733 | 733 | |
@@ -744,11 +744,11 @@ discard block |
||
744 | 744 | |
745 | 745 | public function setAckIds($ackIds) |
746 | 746 | { |
747 | - $this->ackIds = $ackIds; |
|
747 | + $this->ackIds = $ackIds; |
|
748 | 748 | } |
749 | 749 | public function getAckIds() |
750 | 750 | { |
751 | - return $this->ackIds; |
|
751 | + return $this->ackIds; |
|
752 | 752 | } |
753 | 753 | } |
754 | 754 | |
@@ -763,19 +763,19 @@ discard block |
||
763 | 763 | |
764 | 764 | public function setMembers($members) |
765 | 765 | { |
766 | - $this->members = $members; |
|
766 | + $this->members = $members; |
|
767 | 767 | } |
768 | 768 | public function getMembers() |
769 | 769 | { |
770 | - return $this->members; |
|
770 | + return $this->members; |
|
771 | 771 | } |
772 | 772 | public function setRole($role) |
773 | 773 | { |
774 | - $this->role = $role; |
|
774 | + $this->role = $role; |
|
775 | 775 | } |
776 | 776 | public function getRole() |
777 | 777 | { |
778 | - return $this->role; |
|
778 | + return $this->role; |
|
779 | 779 | } |
780 | 780 | } |
781 | 781 | |
@@ -795,19 +795,19 @@ discard block |
||
795 | 795 | |
796 | 796 | public function setNextPageToken($nextPageToken) |
797 | 797 | { |
798 | - $this->nextPageToken = $nextPageToken; |
|
798 | + $this->nextPageToken = $nextPageToken; |
|
799 | 799 | } |
800 | 800 | public function getNextPageToken() |
801 | 801 | { |
802 | - return $this->nextPageToken; |
|
802 | + return $this->nextPageToken; |
|
803 | 803 | } |
804 | 804 | public function setSubscriptions($subscriptions) |
805 | 805 | { |
806 | - $this->subscriptions = $subscriptions; |
|
806 | + $this->subscriptions = $subscriptions; |
|
807 | 807 | } |
808 | 808 | public function getSubscriptions() |
809 | 809 | { |
810 | - return $this->subscriptions; |
|
810 | + return $this->subscriptions; |
|
811 | 811 | } |
812 | 812 | } |
813 | 813 | |
@@ -822,19 +822,19 @@ discard block |
||
822 | 822 | |
823 | 823 | public function setNextPageToken($nextPageToken) |
824 | 824 | { |
825 | - $this->nextPageToken = $nextPageToken; |
|
825 | + $this->nextPageToken = $nextPageToken; |
|
826 | 826 | } |
827 | 827 | public function getNextPageToken() |
828 | 828 | { |
829 | - return $this->nextPageToken; |
|
829 | + return $this->nextPageToken; |
|
830 | 830 | } |
831 | 831 | public function setSubscriptions($subscriptions) |
832 | 832 | { |
833 | - $this->subscriptions = $subscriptions; |
|
833 | + $this->subscriptions = $subscriptions; |
|
834 | 834 | } |
835 | 835 | public function getSubscriptions() |
836 | 836 | { |
837 | - return $this->subscriptions; |
|
837 | + return $this->subscriptions; |
|
838 | 838 | } |
839 | 839 | } |
840 | 840 | |
@@ -850,19 +850,19 @@ discard block |
||
850 | 850 | |
851 | 851 | public function setNextPageToken($nextPageToken) |
852 | 852 | { |
853 | - $this->nextPageToken = $nextPageToken; |
|
853 | + $this->nextPageToken = $nextPageToken; |
|
854 | 854 | } |
855 | 855 | public function getNextPageToken() |
856 | 856 | { |
857 | - return $this->nextPageToken; |
|
857 | + return $this->nextPageToken; |
|
858 | 858 | } |
859 | 859 | public function setTopics($topics) |
860 | 860 | { |
861 | - $this->topics = $topics; |
|
861 | + $this->topics = $topics; |
|
862 | 862 | } |
863 | 863 | public function getTopics() |
864 | 864 | { |
865 | - return $this->topics; |
|
865 | + return $this->topics; |
|
866 | 866 | } |
867 | 867 | } |
868 | 868 | |
@@ -877,19 +877,19 @@ discard block |
||
877 | 877 | |
878 | 878 | public function setAckDeadlineSeconds($ackDeadlineSeconds) |
879 | 879 | { |
880 | - $this->ackDeadlineSeconds = $ackDeadlineSeconds; |
|
880 | + $this->ackDeadlineSeconds = $ackDeadlineSeconds; |
|
881 | 881 | } |
882 | 882 | public function getAckDeadlineSeconds() |
883 | 883 | { |
884 | - return $this->ackDeadlineSeconds; |
|
884 | + return $this->ackDeadlineSeconds; |
|
885 | 885 | } |
886 | 886 | public function setAckIds($ackIds) |
887 | 887 | { |
888 | - $this->ackIds = $ackIds; |
|
888 | + $this->ackIds = $ackIds; |
|
889 | 889 | } |
890 | 890 | public function getAckIds() |
891 | 891 | { |
892 | - return $this->ackIds; |
|
892 | + return $this->ackIds; |
|
893 | 893 | } |
894 | 894 | } |
895 | 895 | |
@@ -903,11 +903,11 @@ discard block |
||
903 | 903 | |
904 | 904 | public function setPushConfig(Google_Service_Pubsub_PushConfig $pushConfig) |
905 | 905 | { |
906 | - $this->pushConfig = $pushConfig; |
|
906 | + $this->pushConfig = $pushConfig; |
|
907 | 907 | } |
908 | 908 | public function getPushConfig() |
909 | 909 | { |
910 | - return $this->pushConfig; |
|
910 | + return $this->pushConfig; |
|
911 | 911 | } |
912 | 912 | } |
913 | 913 | |
@@ -924,27 +924,27 @@ discard block |
||
924 | 924 | |
925 | 925 | public function setBindings($bindings) |
926 | 926 | { |
927 | - $this->bindings = $bindings; |
|
927 | + $this->bindings = $bindings; |
|
928 | 928 | } |
929 | 929 | public function getBindings() |
930 | 930 | { |
931 | - return $this->bindings; |
|
931 | + return $this->bindings; |
|
932 | 932 | } |
933 | 933 | public function setEtag($etag) |
934 | 934 | { |
935 | - $this->etag = $etag; |
|
935 | + $this->etag = $etag; |
|
936 | 936 | } |
937 | 937 | public function getEtag() |
938 | 938 | { |
939 | - return $this->etag; |
|
939 | + return $this->etag; |
|
940 | 940 | } |
941 | 941 | public function setVersion($version) |
942 | 942 | { |
943 | - $this->version = $version; |
|
943 | + $this->version = $version; |
|
944 | 944 | } |
945 | 945 | public function getVersion() |
946 | 946 | { |
947 | - return $this->version; |
|
947 | + return $this->version; |
|
948 | 948 | } |
949 | 949 | } |
950 | 950 | |
@@ -959,11 +959,11 @@ discard block |
||
959 | 959 | |
960 | 960 | public function setMessages($messages) |
961 | 961 | { |
962 | - $this->messages = $messages; |
|
962 | + $this->messages = $messages; |
|
963 | 963 | } |
964 | 964 | public function getMessages() |
965 | 965 | { |
966 | - return $this->messages; |
|
966 | + return $this->messages; |
|
967 | 967 | } |
968 | 968 | } |
969 | 969 | |
@@ -977,11 +977,11 @@ discard block |
||
977 | 977 | |
978 | 978 | public function setMessageIds($messageIds) |
979 | 979 | { |
980 | - $this->messageIds = $messageIds; |
|
980 | + $this->messageIds = $messageIds; |
|
981 | 981 | } |
982 | 982 | public function getMessageIds() |
983 | 983 | { |
984 | - return $this->messageIds; |
|
984 | + return $this->messageIds; |
|
985 | 985 | } |
986 | 986 | } |
987 | 987 | |
@@ -996,27 +996,27 @@ discard block |
||
996 | 996 | |
997 | 997 | public function setAttributes($attributes) |
998 | 998 | { |
999 | - $this->attributes = $attributes; |
|
999 | + $this->attributes = $attributes; |
|
1000 | 1000 | } |
1001 | 1001 | public function getAttributes() |
1002 | 1002 | { |
1003 | - return $this->attributes; |
|
1003 | + return $this->attributes; |
|
1004 | 1004 | } |
1005 | 1005 | public function setData($data) |
1006 | 1006 | { |
1007 | - $this->data = $data; |
|
1007 | + $this->data = $data; |
|
1008 | 1008 | } |
1009 | 1009 | public function getData() |
1010 | 1010 | { |
1011 | - return $this->data; |
|
1011 | + return $this->data; |
|
1012 | 1012 | } |
1013 | 1013 | public function setMessageId($messageId) |
1014 | 1014 | { |
1015 | - $this->messageId = $messageId; |
|
1015 | + $this->messageId = $messageId; |
|
1016 | 1016 | } |
1017 | 1017 | public function getMessageId() |
1018 | 1018 | { |
1019 | - return $this->messageId; |
|
1019 | + return $this->messageId; |
|
1020 | 1020 | } |
1021 | 1021 | } |
1022 | 1022 | |
@@ -1034,19 +1034,19 @@ discard block |
||
1034 | 1034 | |
1035 | 1035 | public function setMaxMessages($maxMessages) |
1036 | 1036 | { |
1037 | - $this->maxMessages = $maxMessages; |
|
1037 | + $this->maxMessages = $maxMessages; |
|
1038 | 1038 | } |
1039 | 1039 | public function getMaxMessages() |
1040 | 1040 | { |
1041 | - return $this->maxMessages; |
|
1041 | + return $this->maxMessages; |
|
1042 | 1042 | } |
1043 | 1043 | public function setReturnImmediately($returnImmediately) |
1044 | 1044 | { |
1045 | - $this->returnImmediately = $returnImmediately; |
|
1045 | + $this->returnImmediately = $returnImmediately; |
|
1046 | 1046 | } |
1047 | 1047 | public function getReturnImmediately() |
1048 | 1048 | { |
1049 | - return $this->returnImmediately; |
|
1049 | + return $this->returnImmediately; |
|
1050 | 1050 | } |
1051 | 1051 | } |
1052 | 1052 | |
@@ -1061,11 +1061,11 @@ discard block |
||
1061 | 1061 | |
1062 | 1062 | public function setReceivedMessages($receivedMessages) |
1063 | 1063 | { |
1064 | - $this->receivedMessages = $receivedMessages; |
|
1064 | + $this->receivedMessages = $receivedMessages; |
|
1065 | 1065 | } |
1066 | 1066 | public function getReceivedMessages() |
1067 | 1067 | { |
1068 | - return $this->receivedMessages; |
|
1068 | + return $this->receivedMessages; |
|
1069 | 1069 | } |
1070 | 1070 | } |
1071 | 1071 | |
@@ -1079,19 +1079,19 @@ discard block |
||
1079 | 1079 | |
1080 | 1080 | public function setAttributes($attributes) |
1081 | 1081 | { |
1082 | - $this->attributes = $attributes; |
|
1082 | + $this->attributes = $attributes; |
|
1083 | 1083 | } |
1084 | 1084 | public function getAttributes() |
1085 | 1085 | { |
1086 | - return $this->attributes; |
|
1086 | + return $this->attributes; |
|
1087 | 1087 | } |
1088 | 1088 | public function setPushEndpoint($pushEndpoint) |
1089 | 1089 | { |
1090 | - $this->pushEndpoint = $pushEndpoint; |
|
1090 | + $this->pushEndpoint = $pushEndpoint; |
|
1091 | 1091 | } |
1092 | 1092 | public function getPushEndpoint() |
1093 | 1093 | { |
1094 | - return $this->pushEndpoint; |
|
1094 | + return $this->pushEndpoint; |
|
1095 | 1095 | } |
1096 | 1096 | } |
1097 | 1097 | |
@@ -1110,19 +1110,19 @@ discard block |
||
1110 | 1110 | |
1111 | 1111 | public function setAckId($ackId) |
1112 | 1112 | { |
1113 | - $this->ackId = $ackId; |
|
1113 | + $this->ackId = $ackId; |
|
1114 | 1114 | } |
1115 | 1115 | public function getAckId() |
1116 | 1116 | { |
1117 | - return $this->ackId; |
|
1117 | + return $this->ackId; |
|
1118 | 1118 | } |
1119 | 1119 | public function setMessage(Google_Service_Pubsub_PubsubMessage $message) |
1120 | 1120 | { |
1121 | - $this->message = $message; |
|
1121 | + $this->message = $message; |
|
1122 | 1122 | } |
1123 | 1123 | public function getMessage() |
1124 | 1124 | { |
1125 | - return $this->message; |
|
1125 | + return $this->message; |
|
1126 | 1126 | } |
1127 | 1127 | } |
1128 | 1128 | |
@@ -1136,11 +1136,11 @@ discard block |
||
1136 | 1136 | |
1137 | 1137 | public function setPolicy(Google_Service_Pubsub_Policy $policy) |
1138 | 1138 | { |
1139 | - $this->policy = $policy; |
|
1139 | + $this->policy = $policy; |
|
1140 | 1140 | } |
1141 | 1141 | public function getPolicy() |
1142 | 1142 | { |
1143 | - return $this->policy; |
|
1143 | + return $this->policy; |
|
1144 | 1144 | } |
1145 | 1145 | } |
1146 | 1146 | |
@@ -1157,35 +1157,35 @@ discard block |
||
1157 | 1157 | |
1158 | 1158 | public function setAckDeadlineSeconds($ackDeadlineSeconds) |
1159 | 1159 | { |
1160 | - $this->ackDeadlineSeconds = $ackDeadlineSeconds; |
|
1160 | + $this->ackDeadlineSeconds = $ackDeadlineSeconds; |
|
1161 | 1161 | } |
1162 | 1162 | public function getAckDeadlineSeconds() |
1163 | 1163 | { |
1164 | - return $this->ackDeadlineSeconds; |
|
1164 | + return $this->ackDeadlineSeconds; |
|
1165 | 1165 | } |
1166 | 1166 | public function setName($name) |
1167 | 1167 | { |
1168 | - $this->name = $name; |
|
1168 | + $this->name = $name; |
|
1169 | 1169 | } |
1170 | 1170 | public function getName() |
1171 | 1171 | { |
1172 | - return $this->name; |
|
1172 | + return $this->name; |
|
1173 | 1173 | } |
1174 | 1174 | public function setPushConfig(Google_Service_Pubsub_PushConfig $pushConfig) |
1175 | 1175 | { |
1176 | - $this->pushConfig = $pushConfig; |
|
1176 | + $this->pushConfig = $pushConfig; |
|
1177 | 1177 | } |
1178 | 1178 | public function getPushConfig() |
1179 | 1179 | { |
1180 | - return $this->pushConfig; |
|
1180 | + return $this->pushConfig; |
|
1181 | 1181 | } |
1182 | 1182 | public function setTopic($topic) |
1183 | 1183 | { |
1184 | - $this->topic = $topic; |
|
1184 | + $this->topic = $topic; |
|
1185 | 1185 | } |
1186 | 1186 | public function getTopic() |
1187 | 1187 | { |
1188 | - return $this->topic; |
|
1188 | + return $this->topic; |
|
1189 | 1189 | } |
1190 | 1190 | } |
1191 | 1191 | |
@@ -1199,11 +1199,11 @@ discard block |
||
1199 | 1199 | |
1200 | 1200 | public function setPermissions($permissions) |
1201 | 1201 | { |
1202 | - $this->permissions = $permissions; |
|
1202 | + $this->permissions = $permissions; |
|
1203 | 1203 | } |
1204 | 1204 | public function getPermissions() |
1205 | 1205 | { |
1206 | - return $this->permissions; |
|
1206 | + return $this->permissions; |
|
1207 | 1207 | } |
1208 | 1208 | } |
1209 | 1209 | |
@@ -1217,11 +1217,11 @@ discard block |
||
1217 | 1217 | |
1218 | 1218 | public function setPermissions($permissions) |
1219 | 1219 | { |
1220 | - $this->permissions = $permissions; |
|
1220 | + $this->permissions = $permissions; |
|
1221 | 1221 | } |
1222 | 1222 | public function getPermissions() |
1223 | 1223 | { |
1224 | - return $this->permissions; |
|
1224 | + return $this->permissions; |
|
1225 | 1225 | } |
1226 | 1226 | } |
1227 | 1227 | |
@@ -1234,10 +1234,10 @@ discard block |
||
1234 | 1234 | |
1235 | 1235 | public function setName($name) |
1236 | 1236 | { |
1237 | - $this->name = $name; |
|
1237 | + $this->name = $name; |
|
1238 | 1238 | } |
1239 | 1239 | public function getName() |
1240 | 1240 | { |
1241 | - return $this->name; |
|
1241 | + return $this->name; |
|
1242 | 1242 | } |
1243 | 1243 | } |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | 'required' => true, |
72 | 72 | ), |
73 | 73 | ), |
74 | - ),'create' => array( |
|
74 | + ), 'create' => array( |
|
75 | 75 | 'path' => 'v1/{+name}', |
76 | 76 | 'httpMethod' => 'PUT', |
77 | 77 | 'parameters' => array( |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | 'required' => true, |
82 | 82 | ), |
83 | 83 | ), |
84 | - ),'delete' => array( |
|
84 | + ), 'delete' => array( |
|
85 | 85 | 'path' => 'v1/{+subscription}', |
86 | 86 | 'httpMethod' => 'DELETE', |
87 | 87 | 'parameters' => array( |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | 'required' => true, |
92 | 92 | ), |
93 | 93 | ), |
94 | - ),'get' => array( |
|
94 | + ), 'get' => array( |
|
95 | 95 | 'path' => 'v1/{+subscription}', |
96 | 96 | 'httpMethod' => 'GET', |
97 | 97 | 'parameters' => array( |
@@ -101,7 +101,7 @@ discard block |
||
101 | 101 | 'required' => true, |
102 | 102 | ), |
103 | 103 | ), |
104 | - ),'getIamPolicy' => array( |
|
104 | + ), 'getIamPolicy' => array( |
|
105 | 105 | 'path' => 'v1/{+resource}:getIamPolicy', |
106 | 106 | 'httpMethod' => 'GET', |
107 | 107 | 'parameters' => array( |
@@ -111,7 +111,7 @@ discard block |
||
111 | 111 | 'required' => true, |
112 | 112 | ), |
113 | 113 | ), |
114 | - ),'list' => array( |
|
114 | + ), 'list' => array( |
|
115 | 115 | 'path' => 'v1/{+project}/subscriptions', |
116 | 116 | 'httpMethod' => 'GET', |
117 | 117 | 'parameters' => array( |
@@ -129,7 +129,7 @@ discard block |
||
129 | 129 | 'type' => 'integer', |
130 | 130 | ), |
131 | 131 | ), |
132 | - ),'modifyAckDeadline' => array( |
|
132 | + ), 'modifyAckDeadline' => array( |
|
133 | 133 | 'path' => 'v1/{+subscription}:modifyAckDeadline', |
134 | 134 | 'httpMethod' => 'POST', |
135 | 135 | 'parameters' => array( |
@@ -139,7 +139,7 @@ discard block |
||
139 | 139 | 'required' => true, |
140 | 140 | ), |
141 | 141 | ), |
142 | - ),'modifyPushConfig' => array( |
|
142 | + ), 'modifyPushConfig' => array( |
|
143 | 143 | 'path' => 'v1/{+subscription}:modifyPushConfig', |
144 | 144 | 'httpMethod' => 'POST', |
145 | 145 | 'parameters' => array( |
@@ -149,7 +149,7 @@ discard block |
||
149 | 149 | 'required' => true, |
150 | 150 | ), |
151 | 151 | ), |
152 | - ),'pull' => array( |
|
152 | + ), 'pull' => array( |
|
153 | 153 | 'path' => 'v1/{+subscription}:pull', |
154 | 154 | 'httpMethod' => 'POST', |
155 | 155 | 'parameters' => array( |
@@ -159,7 +159,7 @@ discard block |
||
159 | 159 | 'required' => true, |
160 | 160 | ), |
161 | 161 | ), |
162 | - ),'setIamPolicy' => array( |
|
162 | + ), 'setIamPolicy' => array( |
|
163 | 163 | 'path' => 'v1/{+resource}:setIamPolicy', |
164 | 164 | 'httpMethod' => 'POST', |
165 | 165 | 'parameters' => array( |
@@ -169,7 +169,7 @@ discard block |
||
169 | 169 | 'required' => true, |
170 | 170 | ), |
171 | 171 | ), |
172 | - ),'testIamPermissions' => array( |
|
172 | + ), 'testIamPermissions' => array( |
|
173 | 173 | 'path' => 'v1/{+resource}:testIamPermissions', |
174 | 174 | 'httpMethod' => 'POST', |
175 | 175 | 'parameters' => array( |
@@ -199,7 +199,7 @@ discard block |
||
199 | 199 | 'required' => true, |
200 | 200 | ), |
201 | 201 | ), |
202 | - ),'delete' => array( |
|
202 | + ), 'delete' => array( |
|
203 | 203 | 'path' => 'v1/{+topic}', |
204 | 204 | 'httpMethod' => 'DELETE', |
205 | 205 | 'parameters' => array( |
@@ -209,7 +209,7 @@ discard block |
||
209 | 209 | 'required' => true, |
210 | 210 | ), |
211 | 211 | ), |
212 | - ),'get' => array( |
|
212 | + ), 'get' => array( |
|
213 | 213 | 'path' => 'v1/{+topic}', |
214 | 214 | 'httpMethod' => 'GET', |
215 | 215 | 'parameters' => array( |
@@ -219,7 +219,7 @@ discard block |
||
219 | 219 | 'required' => true, |
220 | 220 | ), |
221 | 221 | ), |
222 | - ),'getIamPolicy' => array( |
|
222 | + ), 'getIamPolicy' => array( |
|
223 | 223 | 'path' => 'v1/{+resource}:getIamPolicy', |
224 | 224 | 'httpMethod' => 'GET', |
225 | 225 | 'parameters' => array( |
@@ -229,7 +229,7 @@ discard block |
||
229 | 229 | 'required' => true, |
230 | 230 | ), |
231 | 231 | ), |
232 | - ),'list' => array( |
|
232 | + ), 'list' => array( |
|
233 | 233 | 'path' => 'v1/{+project}/topics', |
234 | 234 | 'httpMethod' => 'GET', |
235 | 235 | 'parameters' => array( |
@@ -247,7 +247,7 @@ discard block |
||
247 | 247 | 'type' => 'integer', |
248 | 248 | ), |
249 | 249 | ), |
250 | - ),'publish' => array( |
|
250 | + ), 'publish' => array( |
|
251 | 251 | 'path' => 'v1/{+topic}:publish', |
252 | 252 | 'httpMethod' => 'POST', |
253 | 253 | 'parameters' => array( |
@@ -257,7 +257,7 @@ discard block |
||
257 | 257 | 'required' => true, |
258 | 258 | ), |
259 | 259 | ), |
260 | - ),'setIamPolicy' => array( |
|
260 | + ), 'setIamPolicy' => array( |
|
261 | 261 | 'path' => 'v1/{+resource}:setIamPolicy', |
262 | 262 | 'httpMethod' => 'POST', |
263 | 263 | 'parameters' => array( |
@@ -267,7 +267,7 @@ discard block |
||
267 | 267 | 'required' => true, |
268 | 268 | ), |
269 | 269 | ), |
270 | - ),'testIamPermissions' => array( |
|
270 | + ), 'testIamPermissions' => array( |
|
271 | 271 | 'path' => 'v1/{+resource}:testIamPermissions', |
272 | 272 | 'httpMethod' => 'POST', |
273 | 273 | 'parameters' => array( |
@@ -81,7 +81,7 @@ |
||
81 | 81 | /** |
82 | 82 | * Returns a list of flights. (trips.search) |
83 | 83 | * |
84 | - * @param Google_TripsSearchRequest $postBody |
|
84 | + * @param Google_Service_QPXExpress_TripsSearchRequest $postBody |
|
85 | 85 | * @param array $optParams Optional parameters. |
86 | 86 | * @return Google_Service_QPXExpress_TripsSearchResponse |
87 | 87 | */ |
@@ -43,26 +43,26 @@ discard block |
||
43 | 43 | */ |
44 | 44 | public function __construct(Google_Client $client) |
45 | 45 | { |
46 | - parent::__construct($client); |
|
47 | - $this->rootUrl = 'https://www.googleapis.com/'; |
|
48 | - $this->servicePath = 'qpxExpress/v1/trips/'; |
|
49 | - $this->version = 'v1'; |
|
50 | - $this->serviceName = 'qpxExpress'; |
|
51 | - |
|
52 | - $this->trips = new Google_Service_QPXExpress_Trips_Resource( |
|
53 | - $this, |
|
54 | - $this->serviceName, |
|
55 | - 'trips', |
|
56 | - array( |
|
57 | - 'methods' => array( |
|
58 | - 'search' => array( |
|
59 | - 'path' => 'search', |
|
60 | - 'httpMethod' => 'POST', |
|
61 | - 'parameters' => array(), |
|
62 | - ), |
|
63 | - ) |
|
64 | - ) |
|
65 | - ); |
|
46 | + parent::__construct($client); |
|
47 | + $this->rootUrl = 'https://www.googleapis.com/'; |
|
48 | + $this->servicePath = 'qpxExpress/v1/trips/'; |
|
49 | + $this->version = 'v1'; |
|
50 | + $this->serviceName = 'qpxExpress'; |
|
51 | + |
|
52 | + $this->trips = new Google_Service_QPXExpress_Trips_Resource( |
|
53 | + $this, |
|
54 | + $this->serviceName, |
|
55 | + 'trips', |
|
56 | + array( |
|
57 | + 'methods' => array( |
|
58 | + 'search' => array( |
|
59 | + 'path' => 'search', |
|
60 | + 'httpMethod' => 'POST', |
|
61 | + 'parameters' => array(), |
|
62 | + ), |
|
63 | + ) |
|
64 | + ) |
|
65 | + ); |
|
66 | 66 | } |
67 | 67 | } |
68 | 68 | |
@@ -87,9 +87,9 @@ discard block |
||
87 | 87 | */ |
88 | 88 | public function search(Google_Service_QPXExpress_TripsSearchRequest $postBody, $optParams = array()) |
89 | 89 | { |
90 | - $params = array('postBody' => $postBody); |
|
91 | - $params = array_merge($params, $optParams); |
|
92 | - return $this->call('search', array($params), "Google_Service_QPXExpress_TripsSearchResponse"); |
|
90 | + $params = array('postBody' => $postBody); |
|
91 | + $params = array_merge($params, $optParams); |
|
92 | + return $this->call('search', array($params), "Google_Service_QPXExpress_TripsSearchResponse"); |
|
93 | 93 | } |
94 | 94 | } |
95 | 95 | |
@@ -107,27 +107,27 @@ discard block |
||
107 | 107 | |
108 | 108 | public function setCode($code) |
109 | 109 | { |
110 | - $this->code = $code; |
|
110 | + $this->code = $code; |
|
111 | 111 | } |
112 | 112 | public function getCode() |
113 | 113 | { |
114 | - return $this->code; |
|
114 | + return $this->code; |
|
115 | 115 | } |
116 | 116 | public function setKind($kind) |
117 | 117 | { |
118 | - $this->kind = $kind; |
|
118 | + $this->kind = $kind; |
|
119 | 119 | } |
120 | 120 | public function getKind() |
121 | 121 | { |
122 | - return $this->kind; |
|
122 | + return $this->kind; |
|
123 | 123 | } |
124 | 124 | public function setName($name) |
125 | 125 | { |
126 | - $this->name = $name; |
|
126 | + $this->name = $name; |
|
127 | 127 | } |
128 | 128 | public function getName() |
129 | 129 | { |
130 | - return $this->name; |
|
130 | + return $this->name; |
|
131 | 131 | } |
132 | 132 | } |
133 | 133 | |
@@ -143,35 +143,35 @@ discard block |
||
143 | 143 | |
144 | 144 | public function setCity($city) |
145 | 145 | { |
146 | - $this->city = $city; |
|
146 | + $this->city = $city; |
|
147 | 147 | } |
148 | 148 | public function getCity() |
149 | 149 | { |
150 | - return $this->city; |
|
150 | + return $this->city; |
|
151 | 151 | } |
152 | 152 | public function setCode($code) |
153 | 153 | { |
154 | - $this->code = $code; |
|
154 | + $this->code = $code; |
|
155 | 155 | } |
156 | 156 | public function getCode() |
157 | 157 | { |
158 | - return $this->code; |
|
158 | + return $this->code; |
|
159 | 159 | } |
160 | 160 | public function setKind($kind) |
161 | 161 | { |
162 | - $this->kind = $kind; |
|
162 | + $this->kind = $kind; |
|
163 | 163 | } |
164 | 164 | public function getKind() |
165 | 165 | { |
166 | - return $this->kind; |
|
166 | + return $this->kind; |
|
167 | 167 | } |
168 | 168 | public function setName($name) |
169 | 169 | { |
170 | - $this->name = $name; |
|
170 | + $this->name = $name; |
|
171 | 171 | } |
172 | 172 | public function getName() |
173 | 173 | { |
174 | - return $this->name; |
|
174 | + return $this->name; |
|
175 | 175 | } |
176 | 176 | } |
177 | 177 | |
@@ -189,43 +189,43 @@ discard block |
||
189 | 189 | |
190 | 190 | public function setCommercialName($commercialName) |
191 | 191 | { |
192 | - $this->commercialName = $commercialName; |
|
192 | + $this->commercialName = $commercialName; |
|
193 | 193 | } |
194 | 194 | public function getCommercialName() |
195 | 195 | { |
196 | - return $this->commercialName; |
|
196 | + return $this->commercialName; |
|
197 | 197 | } |
198 | 198 | public function setCount($count) |
199 | 199 | { |
200 | - $this->count = $count; |
|
200 | + $this->count = $count; |
|
201 | 201 | } |
202 | 202 | public function getCount() |
203 | 203 | { |
204 | - return $this->count; |
|
204 | + return $this->count; |
|
205 | 205 | } |
206 | 206 | public function setDescription($description) |
207 | 207 | { |
208 | - $this->description = $description; |
|
208 | + $this->description = $description; |
|
209 | 209 | } |
210 | 210 | public function getDescription() |
211 | 211 | { |
212 | - return $this->description; |
|
212 | + return $this->description; |
|
213 | 213 | } |
214 | 214 | public function setKind($kind) |
215 | 215 | { |
216 | - $this->kind = $kind; |
|
216 | + $this->kind = $kind; |
|
217 | 217 | } |
218 | 218 | public function getKind() |
219 | 219 | { |
220 | - return $this->kind; |
|
220 | + return $this->kind; |
|
221 | 221 | } |
222 | 222 | public function setSubcode($subcode) |
223 | 223 | { |
224 | - $this->subcode = $subcode; |
|
224 | + $this->subcode = $subcode; |
|
225 | 225 | } |
226 | 226 | public function getSubcode() |
227 | 227 | { |
228 | - return $this->subcode; |
|
228 | + return $this->subcode; |
|
229 | 229 | } |
230 | 230 | } |
231 | 231 | |
@@ -240,27 +240,27 @@ discard block |
||
240 | 240 | |
241 | 241 | public function setCode($code) |
242 | 242 | { |
243 | - $this->code = $code; |
|
243 | + $this->code = $code; |
|
244 | 244 | } |
245 | 245 | public function getCode() |
246 | 246 | { |
247 | - return $this->code; |
|
247 | + return $this->code; |
|
248 | 248 | } |
249 | 249 | public function setKind($kind) |
250 | 250 | { |
251 | - $this->kind = $kind; |
|
251 | + $this->kind = $kind; |
|
252 | 252 | } |
253 | 253 | public function getKind() |
254 | 254 | { |
255 | - return $this->kind; |
|
255 | + return $this->kind; |
|
256 | 256 | } |
257 | 257 | public function setName($name) |
258 | 258 | { |
259 | - $this->name = $name; |
|
259 | + $this->name = $name; |
|
260 | 260 | } |
261 | 261 | public function getName() |
262 | 262 | { |
263 | - return $this->name; |
|
263 | + return $this->name; |
|
264 | 264 | } |
265 | 265 | } |
266 | 266 | |
@@ -276,35 +276,35 @@ discard block |
||
276 | 276 | |
277 | 277 | public function setCode($code) |
278 | 278 | { |
279 | - $this->code = $code; |
|
279 | + $this->code = $code; |
|
280 | 280 | } |
281 | 281 | public function getCode() |
282 | 282 | { |
283 | - return $this->code; |
|
283 | + return $this->code; |
|
284 | 284 | } |
285 | 285 | public function setCountry($country) |
286 | 286 | { |
287 | - $this->country = $country; |
|
287 | + $this->country = $country; |
|
288 | 288 | } |
289 | 289 | public function getCountry() |
290 | 290 | { |
291 | - return $this->country; |
|
291 | + return $this->country; |
|
292 | 292 | } |
293 | 293 | public function setKind($kind) |
294 | 294 | { |
295 | - $this->kind = $kind; |
|
295 | + $this->kind = $kind; |
|
296 | 296 | } |
297 | 297 | public function getKind() |
298 | 298 | { |
299 | - return $this->kind; |
|
299 | + return $this->kind; |
|
300 | 300 | } |
301 | 301 | public function setName($name) |
302 | 302 | { |
303 | - $this->name = $name; |
|
303 | + $this->name = $name; |
|
304 | 304 | } |
305 | 305 | public function getName() |
306 | 306 | { |
307 | - return $this->name; |
|
307 | + return $this->name; |
|
308 | 308 | } |
309 | 309 | } |
310 | 310 | |
@@ -328,51 +328,51 @@ discard block |
||
328 | 328 | |
329 | 329 | public function setAircraft($aircraft) |
330 | 330 | { |
331 | - $this->aircraft = $aircraft; |
|
331 | + $this->aircraft = $aircraft; |
|
332 | 332 | } |
333 | 333 | public function getAircraft() |
334 | 334 | { |
335 | - return $this->aircraft; |
|
335 | + return $this->aircraft; |
|
336 | 336 | } |
337 | 337 | public function setAirport($airport) |
338 | 338 | { |
339 | - $this->airport = $airport; |
|
339 | + $this->airport = $airport; |
|
340 | 340 | } |
341 | 341 | public function getAirport() |
342 | 342 | { |
343 | - return $this->airport; |
|
343 | + return $this->airport; |
|
344 | 344 | } |
345 | 345 | public function setCarrier($carrier) |
346 | 346 | { |
347 | - $this->carrier = $carrier; |
|
347 | + $this->carrier = $carrier; |
|
348 | 348 | } |
349 | 349 | public function getCarrier() |
350 | 350 | { |
351 | - return $this->carrier; |
|
351 | + return $this->carrier; |
|
352 | 352 | } |
353 | 353 | public function setCity($city) |
354 | 354 | { |
355 | - $this->city = $city; |
|
355 | + $this->city = $city; |
|
356 | 356 | } |
357 | 357 | public function getCity() |
358 | 358 | { |
359 | - return $this->city; |
|
359 | + return $this->city; |
|
360 | 360 | } |
361 | 361 | public function setKind($kind) |
362 | 362 | { |
363 | - $this->kind = $kind; |
|
363 | + $this->kind = $kind; |
|
364 | 364 | } |
365 | 365 | public function getKind() |
366 | 366 | { |
367 | - return $this->kind; |
|
367 | + return $this->kind; |
|
368 | 368 | } |
369 | 369 | public function setTax($tax) |
370 | 370 | { |
371 | - $this->tax = $tax; |
|
371 | + $this->tax = $tax; |
|
372 | 372 | } |
373 | 373 | public function getTax() |
374 | 374 | { |
375 | - return $this->tax; |
|
375 | + return $this->tax; |
|
376 | 376 | } |
377 | 377 | } |
378 | 378 | |
@@ -391,59 +391,59 @@ discard block |
||
391 | 391 | |
392 | 392 | public function setBasisCode($basisCode) |
393 | 393 | { |
394 | - $this->basisCode = $basisCode; |
|
394 | + $this->basisCode = $basisCode; |
|
395 | 395 | } |
396 | 396 | public function getBasisCode() |
397 | 397 | { |
398 | - return $this->basisCode; |
|
398 | + return $this->basisCode; |
|
399 | 399 | } |
400 | 400 | public function setCarrier($carrier) |
401 | 401 | { |
402 | - $this->carrier = $carrier; |
|
402 | + $this->carrier = $carrier; |
|
403 | 403 | } |
404 | 404 | public function getCarrier() |
405 | 405 | { |
406 | - return $this->carrier; |
|
406 | + return $this->carrier; |
|
407 | 407 | } |
408 | 408 | public function setDestination($destination) |
409 | 409 | { |
410 | - $this->destination = $destination; |
|
410 | + $this->destination = $destination; |
|
411 | 411 | } |
412 | 412 | public function getDestination() |
413 | 413 | { |
414 | - return $this->destination; |
|
414 | + return $this->destination; |
|
415 | 415 | } |
416 | 416 | public function setId($id) |
417 | 417 | { |
418 | - $this->id = $id; |
|
418 | + $this->id = $id; |
|
419 | 419 | } |
420 | 420 | public function getId() |
421 | 421 | { |
422 | - return $this->id; |
|
422 | + return $this->id; |
|
423 | 423 | } |
424 | 424 | public function setKind($kind) |
425 | 425 | { |
426 | - $this->kind = $kind; |
|
426 | + $this->kind = $kind; |
|
427 | 427 | } |
428 | 428 | public function getKind() |
429 | 429 | { |
430 | - return $this->kind; |
|
430 | + return $this->kind; |
|
431 | 431 | } |
432 | 432 | public function setOrigin($origin) |
433 | 433 | { |
434 | - $this->origin = $origin; |
|
434 | + $this->origin = $origin; |
|
435 | 435 | } |
436 | 436 | public function getOrigin() |
437 | 437 | { |
438 | - return $this->origin; |
|
438 | + return $this->origin; |
|
439 | 439 | } |
440 | 440 | public function setPrivate($private) |
441 | 441 | { |
442 | - $this->private = $private; |
|
442 | + $this->private = $private; |
|
443 | 443 | } |
444 | 444 | public function getPrivate() |
445 | 445 | { |
446 | - return $this->private; |
|
446 | + return $this->private; |
|
447 | 447 | } |
448 | 448 | } |
449 | 449 | |
@@ -457,19 +457,19 @@ discard block |
||
457 | 457 | |
458 | 458 | public function setCarrier($carrier) |
459 | 459 | { |
460 | - $this->carrier = $carrier; |
|
460 | + $this->carrier = $carrier; |
|
461 | 461 | } |
462 | 462 | public function getCarrier() |
463 | 463 | { |
464 | - return $this->carrier; |
|
464 | + return $this->carrier; |
|
465 | 465 | } |
466 | 466 | public function setNumber($number) |
467 | 467 | { |
468 | - $this->number = $number; |
|
468 | + $this->number = $number; |
|
469 | 469 | } |
470 | 470 | public function getNumber() |
471 | 471 | { |
472 | - return $this->number; |
|
472 | + return $this->number; |
|
473 | 473 | } |
474 | 474 | } |
475 | 475 | |
@@ -489,51 +489,51 @@ discard block |
||
489 | 489 | |
490 | 490 | public function setBagDescriptor($bagDescriptor) |
491 | 491 | { |
492 | - $this->bagDescriptor = $bagDescriptor; |
|
492 | + $this->bagDescriptor = $bagDescriptor; |
|
493 | 493 | } |
494 | 494 | public function getBagDescriptor() |
495 | 495 | { |
496 | - return $this->bagDescriptor; |
|
496 | + return $this->bagDescriptor; |
|
497 | 497 | } |
498 | 498 | public function setKilos($kilos) |
499 | 499 | { |
500 | - $this->kilos = $kilos; |
|
500 | + $this->kilos = $kilos; |
|
501 | 501 | } |
502 | 502 | public function getKilos() |
503 | 503 | { |
504 | - return $this->kilos; |
|
504 | + return $this->kilos; |
|
505 | 505 | } |
506 | 506 | public function setKilosPerPiece($kilosPerPiece) |
507 | 507 | { |
508 | - $this->kilosPerPiece = $kilosPerPiece; |
|
508 | + $this->kilosPerPiece = $kilosPerPiece; |
|
509 | 509 | } |
510 | 510 | public function getKilosPerPiece() |
511 | 511 | { |
512 | - return $this->kilosPerPiece; |
|
512 | + return $this->kilosPerPiece; |
|
513 | 513 | } |
514 | 514 | public function setKind($kind) |
515 | 515 | { |
516 | - $this->kind = $kind; |
|
516 | + $this->kind = $kind; |
|
517 | 517 | } |
518 | 518 | public function getKind() |
519 | 519 | { |
520 | - return $this->kind; |
|
520 | + return $this->kind; |
|
521 | 521 | } |
522 | 522 | public function setPieces($pieces) |
523 | 523 | { |
524 | - $this->pieces = $pieces; |
|
524 | + $this->pieces = $pieces; |
|
525 | 525 | } |
526 | 526 | public function getPieces() |
527 | 527 | { |
528 | - return $this->pieces; |
|
528 | + return $this->pieces; |
|
529 | 529 | } |
530 | 530 | public function setPounds($pounds) |
531 | 531 | { |
532 | - $this->pounds = $pounds; |
|
532 | + $this->pounds = $pounds; |
|
533 | 533 | } |
534 | 534 | public function getPounds() |
535 | 535 | { |
536 | - return $this->pounds; |
|
536 | + return $this->pounds; |
|
537 | 537 | } |
538 | 538 | } |
539 | 539 | |
@@ -562,139 +562,139 @@ discard block |
||
562 | 562 | |
563 | 563 | public function setAircraft($aircraft) |
564 | 564 | { |
565 | - $this->aircraft = $aircraft; |
|
565 | + $this->aircraft = $aircraft; |
|
566 | 566 | } |
567 | 567 | public function getAircraft() |
568 | 568 | { |
569 | - return $this->aircraft; |
|
569 | + return $this->aircraft; |
|
570 | 570 | } |
571 | 571 | public function setArrivalTime($arrivalTime) |
572 | 572 | { |
573 | - $this->arrivalTime = $arrivalTime; |
|
573 | + $this->arrivalTime = $arrivalTime; |
|
574 | 574 | } |
575 | 575 | public function getArrivalTime() |
576 | 576 | { |
577 | - return $this->arrivalTime; |
|
577 | + return $this->arrivalTime; |
|
578 | 578 | } |
579 | 579 | public function setChangePlane($changePlane) |
580 | 580 | { |
581 | - $this->changePlane = $changePlane; |
|
581 | + $this->changePlane = $changePlane; |
|
582 | 582 | } |
583 | 583 | public function getChangePlane() |
584 | 584 | { |
585 | - return $this->changePlane; |
|
585 | + return $this->changePlane; |
|
586 | 586 | } |
587 | 587 | public function setConnectionDuration($connectionDuration) |
588 | 588 | { |
589 | - $this->connectionDuration = $connectionDuration; |
|
589 | + $this->connectionDuration = $connectionDuration; |
|
590 | 590 | } |
591 | 591 | public function getConnectionDuration() |
592 | 592 | { |
593 | - return $this->connectionDuration; |
|
593 | + return $this->connectionDuration; |
|
594 | 594 | } |
595 | 595 | public function setDepartureTime($departureTime) |
596 | 596 | { |
597 | - $this->departureTime = $departureTime; |
|
597 | + $this->departureTime = $departureTime; |
|
598 | 598 | } |
599 | 599 | public function getDepartureTime() |
600 | 600 | { |
601 | - return $this->departureTime; |
|
601 | + return $this->departureTime; |
|
602 | 602 | } |
603 | 603 | public function setDestination($destination) |
604 | 604 | { |
605 | - $this->destination = $destination; |
|
605 | + $this->destination = $destination; |
|
606 | 606 | } |
607 | 607 | public function getDestination() |
608 | 608 | { |
609 | - return $this->destination; |
|
609 | + return $this->destination; |
|
610 | 610 | } |
611 | 611 | public function setDestinationTerminal($destinationTerminal) |
612 | 612 | { |
613 | - $this->destinationTerminal = $destinationTerminal; |
|
613 | + $this->destinationTerminal = $destinationTerminal; |
|
614 | 614 | } |
615 | 615 | public function getDestinationTerminal() |
616 | 616 | { |
617 | - return $this->destinationTerminal; |
|
617 | + return $this->destinationTerminal; |
|
618 | 618 | } |
619 | 619 | public function setDuration($duration) |
620 | 620 | { |
621 | - $this->duration = $duration; |
|
621 | + $this->duration = $duration; |
|
622 | 622 | } |
623 | 623 | public function getDuration() |
624 | 624 | { |
625 | - return $this->duration; |
|
625 | + return $this->duration; |
|
626 | 626 | } |
627 | 627 | public function setId($id) |
628 | 628 | { |
629 | - $this->id = $id; |
|
629 | + $this->id = $id; |
|
630 | 630 | } |
631 | 631 | public function getId() |
632 | 632 | { |
633 | - return $this->id; |
|
633 | + return $this->id; |
|
634 | 634 | } |
635 | 635 | public function setKind($kind) |
636 | 636 | { |
637 | - $this->kind = $kind; |
|
637 | + $this->kind = $kind; |
|
638 | 638 | } |
639 | 639 | public function getKind() |
640 | 640 | { |
641 | - return $this->kind; |
|
641 | + return $this->kind; |
|
642 | 642 | } |
643 | 643 | public function setMeal($meal) |
644 | 644 | { |
645 | - $this->meal = $meal; |
|
645 | + $this->meal = $meal; |
|
646 | 646 | } |
647 | 647 | public function getMeal() |
648 | 648 | { |
649 | - return $this->meal; |
|
649 | + return $this->meal; |
|
650 | 650 | } |
651 | 651 | public function setMileage($mileage) |
652 | 652 | { |
653 | - $this->mileage = $mileage; |
|
653 | + $this->mileage = $mileage; |
|
654 | 654 | } |
655 | 655 | public function getMileage() |
656 | 656 | { |
657 | - return $this->mileage; |
|
657 | + return $this->mileage; |
|
658 | 658 | } |
659 | 659 | public function setOnTimePerformance($onTimePerformance) |
660 | 660 | { |
661 | - $this->onTimePerformance = $onTimePerformance; |
|
661 | + $this->onTimePerformance = $onTimePerformance; |
|
662 | 662 | } |
663 | 663 | public function getOnTimePerformance() |
664 | 664 | { |
665 | - return $this->onTimePerformance; |
|
665 | + return $this->onTimePerformance; |
|
666 | 666 | } |
667 | 667 | public function setOperatingDisclosure($operatingDisclosure) |
668 | 668 | { |
669 | - $this->operatingDisclosure = $operatingDisclosure; |
|
669 | + $this->operatingDisclosure = $operatingDisclosure; |
|
670 | 670 | } |
671 | 671 | public function getOperatingDisclosure() |
672 | 672 | { |
673 | - return $this->operatingDisclosure; |
|
673 | + return $this->operatingDisclosure; |
|
674 | 674 | } |
675 | 675 | public function setOrigin($origin) |
676 | 676 | { |
677 | - $this->origin = $origin; |
|
677 | + $this->origin = $origin; |
|
678 | 678 | } |
679 | 679 | public function getOrigin() |
680 | 680 | { |
681 | - return $this->origin; |
|
681 | + return $this->origin; |
|
682 | 682 | } |
683 | 683 | public function setOriginTerminal($originTerminal) |
684 | 684 | { |
685 | - $this->originTerminal = $originTerminal; |
|
685 | + $this->originTerminal = $originTerminal; |
|
686 | 686 | } |
687 | 687 | public function getOriginTerminal() |
688 | 688 | { |
689 | - return $this->originTerminal; |
|
689 | + return $this->originTerminal; |
|
690 | 690 | } |
691 | 691 | public function setSecure($secure) |
692 | 692 | { |
693 | - $this->secure = $secure; |
|
693 | + $this->secure = $secure; |
|
694 | 694 | } |
695 | 695 | public function getSecure() |
696 | 696 | { |
697 | - return $this->secure; |
|
697 | + return $this->secure; |
|
698 | 698 | } |
699 | 699 | } |
700 | 700 | |
@@ -712,51 +712,51 @@ discard block |
||
712 | 712 | |
713 | 713 | public function setAdultCount($adultCount) |
714 | 714 | { |
715 | - $this->adultCount = $adultCount; |
|
715 | + $this->adultCount = $adultCount; |
|
716 | 716 | } |
717 | 717 | public function getAdultCount() |
718 | 718 | { |
719 | - return $this->adultCount; |
|
719 | + return $this->adultCount; |
|
720 | 720 | } |
721 | 721 | public function setChildCount($childCount) |
722 | 722 | { |
723 | - $this->childCount = $childCount; |
|
723 | + $this->childCount = $childCount; |
|
724 | 724 | } |
725 | 725 | public function getChildCount() |
726 | 726 | { |
727 | - return $this->childCount; |
|
727 | + return $this->childCount; |
|
728 | 728 | } |
729 | 729 | public function setInfantInLapCount($infantInLapCount) |
730 | 730 | { |
731 | - $this->infantInLapCount = $infantInLapCount; |
|
731 | + $this->infantInLapCount = $infantInLapCount; |
|
732 | 732 | } |
733 | 733 | public function getInfantInLapCount() |
734 | 734 | { |
735 | - return $this->infantInLapCount; |
|
735 | + return $this->infantInLapCount; |
|
736 | 736 | } |
737 | 737 | public function setInfantInSeatCount($infantInSeatCount) |
738 | 738 | { |
739 | - $this->infantInSeatCount = $infantInSeatCount; |
|
739 | + $this->infantInSeatCount = $infantInSeatCount; |
|
740 | 740 | } |
741 | 741 | public function getInfantInSeatCount() |
742 | 742 | { |
743 | - return $this->infantInSeatCount; |
|
743 | + return $this->infantInSeatCount; |
|
744 | 744 | } |
745 | 745 | public function setKind($kind) |
746 | 746 | { |
747 | - $this->kind = $kind; |
|
747 | + $this->kind = $kind; |
|
748 | 748 | } |
749 | 749 | public function getKind() |
750 | 750 | { |
751 | - return $this->kind; |
|
751 | + return $this->kind; |
|
752 | 752 | } |
753 | 753 | public function setSeniorCount($seniorCount) |
754 | 754 | { |
755 | - $this->seniorCount = $seniorCount; |
|
755 | + $this->seniorCount = $seniorCount; |
|
756 | 756 | } |
757 | 757 | public function getSeniorCount() |
758 | 758 | { |
759 | - return $this->seniorCount; |
|
759 | + return $this->seniorCount; |
|
760 | 760 | } |
761 | 761 | } |
762 | 762 | |
@@ -786,107 +786,107 @@ discard block |
||
786 | 786 | |
787 | 787 | public function setBaseFareTotal($baseFareTotal) |
788 | 788 | { |
789 | - $this->baseFareTotal = $baseFareTotal; |
|
789 | + $this->baseFareTotal = $baseFareTotal; |
|
790 | 790 | } |
791 | 791 | public function getBaseFareTotal() |
792 | 792 | { |
793 | - return $this->baseFareTotal; |
|
793 | + return $this->baseFareTotal; |
|
794 | 794 | } |
795 | 795 | public function setFare($fare) |
796 | 796 | { |
797 | - $this->fare = $fare; |
|
797 | + $this->fare = $fare; |
|
798 | 798 | } |
799 | 799 | public function getFare() |
800 | 800 | { |
801 | - return $this->fare; |
|
801 | + return $this->fare; |
|
802 | 802 | } |
803 | 803 | public function setFareCalculation($fareCalculation) |
804 | 804 | { |
805 | - $this->fareCalculation = $fareCalculation; |
|
805 | + $this->fareCalculation = $fareCalculation; |
|
806 | 806 | } |
807 | 807 | public function getFareCalculation() |
808 | 808 | { |
809 | - return $this->fareCalculation; |
|
809 | + return $this->fareCalculation; |
|
810 | 810 | } |
811 | 811 | public function setKind($kind) |
812 | 812 | { |
813 | - $this->kind = $kind; |
|
813 | + $this->kind = $kind; |
|
814 | 814 | } |
815 | 815 | public function getKind() |
816 | 816 | { |
817 | - return $this->kind; |
|
817 | + return $this->kind; |
|
818 | 818 | } |
819 | 819 | public function setLatestTicketingTime($latestTicketingTime) |
820 | 820 | { |
821 | - $this->latestTicketingTime = $latestTicketingTime; |
|
821 | + $this->latestTicketingTime = $latestTicketingTime; |
|
822 | 822 | } |
823 | 823 | public function getLatestTicketingTime() |
824 | 824 | { |
825 | - return $this->latestTicketingTime; |
|
825 | + return $this->latestTicketingTime; |
|
826 | 826 | } |
827 | 827 | public function setPassengers(Google_Service_QPXExpress_PassengerCounts $passengers) |
828 | 828 | { |
829 | - $this->passengers = $passengers; |
|
829 | + $this->passengers = $passengers; |
|
830 | 830 | } |
831 | 831 | public function getPassengers() |
832 | 832 | { |
833 | - return $this->passengers; |
|
833 | + return $this->passengers; |
|
834 | 834 | } |
835 | 835 | public function setPtc($ptc) |
836 | 836 | { |
837 | - $this->ptc = $ptc; |
|
837 | + $this->ptc = $ptc; |
|
838 | 838 | } |
839 | 839 | public function getPtc() |
840 | 840 | { |
841 | - return $this->ptc; |
|
841 | + return $this->ptc; |
|
842 | 842 | } |
843 | 843 | public function setRefundable($refundable) |
844 | 844 | { |
845 | - $this->refundable = $refundable; |
|
845 | + $this->refundable = $refundable; |
|
846 | 846 | } |
847 | 847 | public function getRefundable() |
848 | 848 | { |
849 | - return $this->refundable; |
|
849 | + return $this->refundable; |
|
850 | 850 | } |
851 | 851 | public function setSaleFareTotal($saleFareTotal) |
852 | 852 | { |
853 | - $this->saleFareTotal = $saleFareTotal; |
|
853 | + $this->saleFareTotal = $saleFareTotal; |
|
854 | 854 | } |
855 | 855 | public function getSaleFareTotal() |
856 | 856 | { |
857 | - return $this->saleFareTotal; |
|
857 | + return $this->saleFareTotal; |
|
858 | 858 | } |
859 | 859 | public function setSaleTaxTotal($saleTaxTotal) |
860 | 860 | { |
861 | - $this->saleTaxTotal = $saleTaxTotal; |
|
861 | + $this->saleTaxTotal = $saleTaxTotal; |
|
862 | 862 | } |
863 | 863 | public function getSaleTaxTotal() |
864 | 864 | { |
865 | - return $this->saleTaxTotal; |
|
865 | + return $this->saleTaxTotal; |
|
866 | 866 | } |
867 | 867 | public function setSaleTotal($saleTotal) |
868 | 868 | { |
869 | - $this->saleTotal = $saleTotal; |
|
869 | + $this->saleTotal = $saleTotal; |
|
870 | 870 | } |
871 | 871 | public function getSaleTotal() |
872 | 872 | { |
873 | - return $this->saleTotal; |
|
873 | + return $this->saleTotal; |
|
874 | 874 | } |
875 | 875 | public function setSegmentPricing($segmentPricing) |
876 | 876 | { |
877 | - $this->segmentPricing = $segmentPricing; |
|
877 | + $this->segmentPricing = $segmentPricing; |
|
878 | 878 | } |
879 | 879 | public function getSegmentPricing() |
880 | 880 | { |
881 | - return $this->segmentPricing; |
|
881 | + return $this->segmentPricing; |
|
882 | 882 | } |
883 | 883 | public function setTax($tax) |
884 | 884 | { |
885 | - $this->tax = $tax; |
|
885 | + $this->tax = $tax; |
|
886 | 886 | } |
887 | 887 | public function getTax() |
888 | 888 | { |
889 | - return $this->tax; |
|
889 | + return $this->tax; |
|
890 | 890 | } |
891 | 891 | } |
892 | 892 | |
@@ -912,91 +912,91 @@ discard block |
||
912 | 912 | |
913 | 913 | public function setBookingCode($bookingCode) |
914 | 914 | { |
915 | - $this->bookingCode = $bookingCode; |
|
915 | + $this->bookingCode = $bookingCode; |
|
916 | 916 | } |
917 | 917 | public function getBookingCode() |
918 | 918 | { |
919 | - return $this->bookingCode; |
|
919 | + return $this->bookingCode; |
|
920 | 920 | } |
921 | 921 | public function setBookingCodeCount($bookingCodeCount) |
922 | 922 | { |
923 | - $this->bookingCodeCount = $bookingCodeCount; |
|
923 | + $this->bookingCodeCount = $bookingCodeCount; |
|
924 | 924 | } |
925 | 925 | public function getBookingCodeCount() |
926 | 926 | { |
927 | - return $this->bookingCodeCount; |
|
927 | + return $this->bookingCodeCount; |
|
928 | 928 | } |
929 | 929 | public function setCabin($cabin) |
930 | 930 | { |
931 | - $this->cabin = $cabin; |
|
931 | + $this->cabin = $cabin; |
|
932 | 932 | } |
933 | 933 | public function getCabin() |
934 | 934 | { |
935 | - return $this->cabin; |
|
935 | + return $this->cabin; |
|
936 | 936 | } |
937 | 937 | public function setConnectionDuration($connectionDuration) |
938 | 938 | { |
939 | - $this->connectionDuration = $connectionDuration; |
|
939 | + $this->connectionDuration = $connectionDuration; |
|
940 | 940 | } |
941 | 941 | public function getConnectionDuration() |
942 | 942 | { |
943 | - return $this->connectionDuration; |
|
943 | + return $this->connectionDuration; |
|
944 | 944 | } |
945 | 945 | public function setDuration($duration) |
946 | 946 | { |
947 | - $this->duration = $duration; |
|
947 | + $this->duration = $duration; |
|
948 | 948 | } |
949 | 949 | public function getDuration() |
950 | 950 | { |
951 | - return $this->duration; |
|
951 | + return $this->duration; |
|
952 | 952 | } |
953 | 953 | public function setFlight(Google_Service_QPXExpress_FlightInfo $flight) |
954 | 954 | { |
955 | - $this->flight = $flight; |
|
955 | + $this->flight = $flight; |
|
956 | 956 | } |
957 | 957 | public function getFlight() |
958 | 958 | { |
959 | - return $this->flight; |
|
959 | + return $this->flight; |
|
960 | 960 | } |
961 | 961 | public function setId($id) |
962 | 962 | { |
963 | - $this->id = $id; |
|
963 | + $this->id = $id; |
|
964 | 964 | } |
965 | 965 | public function getId() |
966 | 966 | { |
967 | - return $this->id; |
|
967 | + return $this->id; |
|
968 | 968 | } |
969 | 969 | public function setKind($kind) |
970 | 970 | { |
971 | - $this->kind = $kind; |
|
971 | + $this->kind = $kind; |
|
972 | 972 | } |
973 | 973 | public function getKind() |
974 | 974 | { |
975 | - return $this->kind; |
|
975 | + return $this->kind; |
|
976 | 976 | } |
977 | 977 | public function setLeg($leg) |
978 | 978 | { |
979 | - $this->leg = $leg; |
|
979 | + $this->leg = $leg; |
|
980 | 980 | } |
981 | 981 | public function getLeg() |
982 | 982 | { |
983 | - return $this->leg; |
|
983 | + return $this->leg; |
|
984 | 984 | } |
985 | 985 | public function setMarriedSegmentGroup($marriedSegmentGroup) |
986 | 986 | { |
987 | - $this->marriedSegmentGroup = $marriedSegmentGroup; |
|
987 | + $this->marriedSegmentGroup = $marriedSegmentGroup; |
|
988 | 988 | } |
989 | 989 | public function getMarriedSegmentGroup() |
990 | 990 | { |
991 | - return $this->marriedSegmentGroup; |
|
991 | + return $this->marriedSegmentGroup; |
|
992 | 992 | } |
993 | 993 | public function setSubjectToGovernmentApproval($subjectToGovernmentApproval) |
994 | 994 | { |
995 | - $this->subjectToGovernmentApproval = $subjectToGovernmentApproval; |
|
995 | + $this->subjectToGovernmentApproval = $subjectToGovernmentApproval; |
|
996 | 996 | } |
997 | 997 | public function getSubjectToGovernmentApproval() |
998 | 998 | { |
999 | - return $this->subjectToGovernmentApproval; |
|
999 | + return $this->subjectToGovernmentApproval; |
|
1000 | 1000 | } |
1001 | 1001 | } |
1002 | 1002 | |
@@ -1014,35 +1014,35 @@ discard block |
||
1014 | 1014 | |
1015 | 1015 | public function setFareId($fareId) |
1016 | 1016 | { |
1017 | - $this->fareId = $fareId; |
|
1017 | + $this->fareId = $fareId; |
|
1018 | 1018 | } |
1019 | 1019 | public function getFareId() |
1020 | 1020 | { |
1021 | - return $this->fareId; |
|
1021 | + return $this->fareId; |
|
1022 | 1022 | } |
1023 | 1023 | public function setFreeBaggageOption($freeBaggageOption) |
1024 | 1024 | { |
1025 | - $this->freeBaggageOption = $freeBaggageOption; |
|
1025 | + $this->freeBaggageOption = $freeBaggageOption; |
|
1026 | 1026 | } |
1027 | 1027 | public function getFreeBaggageOption() |
1028 | 1028 | { |
1029 | - return $this->freeBaggageOption; |
|
1029 | + return $this->freeBaggageOption; |
|
1030 | 1030 | } |
1031 | 1031 | public function setKind($kind) |
1032 | 1032 | { |
1033 | - $this->kind = $kind; |
|
1033 | + $this->kind = $kind; |
|
1034 | 1034 | } |
1035 | 1035 | public function getKind() |
1036 | 1036 | { |
1037 | - return $this->kind; |
|
1037 | + return $this->kind; |
|
1038 | 1038 | } |
1039 | 1039 | public function setSegmentId($segmentId) |
1040 | 1040 | { |
1041 | - $this->segmentId = $segmentId; |
|
1041 | + $this->segmentId = $segmentId; |
|
1042 | 1042 | } |
1043 | 1043 | public function getSegmentId() |
1044 | 1044 | { |
1045 | - return $this->segmentId; |
|
1045 | + return $this->segmentId; |
|
1046 | 1046 | } |
1047 | 1047 | } |
1048 | 1048 | |
@@ -1059,27 +1059,27 @@ discard block |
||
1059 | 1059 | |
1060 | 1060 | public function setDuration($duration) |
1061 | 1061 | { |
1062 | - $this->duration = $duration; |
|
1062 | + $this->duration = $duration; |
|
1063 | 1063 | } |
1064 | 1064 | public function getDuration() |
1065 | 1065 | { |
1066 | - return $this->duration; |
|
1066 | + return $this->duration; |
|
1067 | 1067 | } |
1068 | 1068 | public function setKind($kind) |
1069 | 1069 | { |
1070 | - $this->kind = $kind; |
|
1070 | + $this->kind = $kind; |
|
1071 | 1071 | } |
1072 | 1072 | public function getKind() |
1073 | 1073 | { |
1074 | - return $this->kind; |
|
1074 | + return $this->kind; |
|
1075 | 1075 | } |
1076 | 1076 | public function setSegment($segment) |
1077 | 1077 | { |
1078 | - $this->segment = $segment; |
|
1078 | + $this->segment = $segment; |
|
1079 | 1079 | } |
1080 | 1080 | public function getSegment() |
1081 | 1081 | { |
1082 | - return $this->segment; |
|
1082 | + return $this->segment; |
|
1083 | 1083 | } |
1084 | 1084 | } |
1085 | 1085 | |
@@ -1104,91 +1104,91 @@ discard block |
||
1104 | 1104 | |
1105 | 1105 | public function setAlliance($alliance) |
1106 | 1106 | { |
1107 | - $this->alliance = $alliance; |
|
1107 | + $this->alliance = $alliance; |
|
1108 | 1108 | } |
1109 | 1109 | public function getAlliance() |
1110 | 1110 | { |
1111 | - return $this->alliance; |
|
1111 | + return $this->alliance; |
|
1112 | 1112 | } |
1113 | 1113 | public function setDate($date) |
1114 | 1114 | { |
1115 | - $this->date = $date; |
|
1115 | + $this->date = $date; |
|
1116 | 1116 | } |
1117 | 1117 | public function getDate() |
1118 | 1118 | { |
1119 | - return $this->date; |
|
1119 | + return $this->date; |
|
1120 | 1120 | } |
1121 | 1121 | public function setDestination($destination) |
1122 | 1122 | { |
1123 | - $this->destination = $destination; |
|
1123 | + $this->destination = $destination; |
|
1124 | 1124 | } |
1125 | 1125 | public function getDestination() |
1126 | 1126 | { |
1127 | - return $this->destination; |
|
1127 | + return $this->destination; |
|
1128 | 1128 | } |
1129 | 1129 | public function setKind($kind) |
1130 | 1130 | { |
1131 | - $this->kind = $kind; |
|
1131 | + $this->kind = $kind; |
|
1132 | 1132 | } |
1133 | 1133 | public function getKind() |
1134 | 1134 | { |
1135 | - return $this->kind; |
|
1135 | + return $this->kind; |
|
1136 | 1136 | } |
1137 | 1137 | public function setMaxConnectionDuration($maxConnectionDuration) |
1138 | 1138 | { |
1139 | - $this->maxConnectionDuration = $maxConnectionDuration; |
|
1139 | + $this->maxConnectionDuration = $maxConnectionDuration; |
|
1140 | 1140 | } |
1141 | 1141 | public function getMaxConnectionDuration() |
1142 | 1142 | { |
1143 | - return $this->maxConnectionDuration; |
|
1143 | + return $this->maxConnectionDuration; |
|
1144 | 1144 | } |
1145 | 1145 | public function setMaxStops($maxStops) |
1146 | 1146 | { |
1147 | - $this->maxStops = $maxStops; |
|
1147 | + $this->maxStops = $maxStops; |
|
1148 | 1148 | } |
1149 | 1149 | public function getMaxStops() |
1150 | 1150 | { |
1151 | - return $this->maxStops; |
|
1151 | + return $this->maxStops; |
|
1152 | 1152 | } |
1153 | 1153 | public function setOrigin($origin) |
1154 | 1154 | { |
1155 | - $this->origin = $origin; |
|
1155 | + $this->origin = $origin; |
|
1156 | 1156 | } |
1157 | 1157 | public function getOrigin() |
1158 | 1158 | { |
1159 | - return $this->origin; |
|
1159 | + return $this->origin; |
|
1160 | 1160 | } |
1161 | 1161 | public function setPermittedCarrier($permittedCarrier) |
1162 | 1162 | { |
1163 | - $this->permittedCarrier = $permittedCarrier; |
|
1163 | + $this->permittedCarrier = $permittedCarrier; |
|
1164 | 1164 | } |
1165 | 1165 | public function getPermittedCarrier() |
1166 | 1166 | { |
1167 | - return $this->permittedCarrier; |
|
1167 | + return $this->permittedCarrier; |
|
1168 | 1168 | } |
1169 | 1169 | public function setPermittedDepartureTime(Google_Service_QPXExpress_TimeOfDayRange $permittedDepartureTime) |
1170 | 1170 | { |
1171 | - $this->permittedDepartureTime = $permittedDepartureTime; |
|
1171 | + $this->permittedDepartureTime = $permittedDepartureTime; |
|
1172 | 1172 | } |
1173 | 1173 | public function getPermittedDepartureTime() |
1174 | 1174 | { |
1175 | - return $this->permittedDepartureTime; |
|
1175 | + return $this->permittedDepartureTime; |
|
1176 | 1176 | } |
1177 | 1177 | public function setPreferredCabin($preferredCabin) |
1178 | 1178 | { |
1179 | - $this->preferredCabin = $preferredCabin; |
|
1179 | + $this->preferredCabin = $preferredCabin; |
|
1180 | 1180 | } |
1181 | 1181 | public function getPreferredCabin() |
1182 | 1182 | { |
1183 | - return $this->preferredCabin; |
|
1183 | + return $this->preferredCabin; |
|
1184 | 1184 | } |
1185 | 1185 | public function setProhibitedCarrier($prohibitedCarrier) |
1186 | 1186 | { |
1187 | - $this->prohibitedCarrier = $prohibitedCarrier; |
|
1187 | + $this->prohibitedCarrier = $prohibitedCarrier; |
|
1188 | 1188 | } |
1189 | 1189 | public function getProhibitedCarrier() |
1190 | 1190 | { |
1191 | - return $this->prohibitedCarrier; |
|
1191 | + return $this->prohibitedCarrier; |
|
1192 | 1192 | } |
1193 | 1193 | } |
1194 | 1194 | |
@@ -1203,27 +1203,27 @@ discard block |
||
1203 | 1203 | |
1204 | 1204 | public function setId($id) |
1205 | 1205 | { |
1206 | - $this->id = $id; |
|
1206 | + $this->id = $id; |
|
1207 | 1207 | } |
1208 | 1208 | public function getId() |
1209 | 1209 | { |
1210 | - return $this->id; |
|
1210 | + return $this->id; |
|
1211 | 1211 | } |
1212 | 1212 | public function setKind($kind) |
1213 | 1213 | { |
1214 | - $this->kind = $kind; |
|
1214 | + $this->kind = $kind; |
|
1215 | 1215 | } |
1216 | 1216 | public function getKind() |
1217 | 1217 | { |
1218 | - return $this->kind; |
|
1218 | + return $this->kind; |
|
1219 | 1219 | } |
1220 | 1220 | public function setName($name) |
1221 | 1221 | { |
1222 | - $this->name = $name; |
|
1222 | + $this->name = $name; |
|
1223 | 1223 | } |
1224 | 1224 | public function getName() |
1225 | 1225 | { |
1226 | - return $this->name; |
|
1226 | + return $this->name; |
|
1227 | 1227 | } |
1228 | 1228 | } |
1229 | 1229 | |
@@ -1241,51 +1241,51 @@ discard block |
||
1241 | 1241 | |
1242 | 1242 | public function setChargeType($chargeType) |
1243 | 1243 | { |
1244 | - $this->chargeType = $chargeType; |
|
1244 | + $this->chargeType = $chargeType; |
|
1245 | 1245 | } |
1246 | 1246 | public function getChargeType() |
1247 | 1247 | { |
1248 | - return $this->chargeType; |
|
1248 | + return $this->chargeType; |
|
1249 | 1249 | } |
1250 | 1250 | public function setCode($code) |
1251 | 1251 | { |
1252 | - $this->code = $code; |
|
1252 | + $this->code = $code; |
|
1253 | 1253 | } |
1254 | 1254 | public function getCode() |
1255 | 1255 | { |
1256 | - return $this->code; |
|
1256 | + return $this->code; |
|
1257 | 1257 | } |
1258 | 1258 | public function setCountry($country) |
1259 | 1259 | { |
1260 | - $this->country = $country; |
|
1260 | + $this->country = $country; |
|
1261 | 1261 | } |
1262 | 1262 | public function getCountry() |
1263 | 1263 | { |
1264 | - return $this->country; |
|
1264 | + return $this->country; |
|
1265 | 1265 | } |
1266 | 1266 | public function setId($id) |
1267 | 1267 | { |
1268 | - $this->id = $id; |
|
1268 | + $this->id = $id; |
|
1269 | 1269 | } |
1270 | 1270 | public function getId() |
1271 | 1271 | { |
1272 | - return $this->id; |
|
1272 | + return $this->id; |
|
1273 | 1273 | } |
1274 | 1274 | public function setKind($kind) |
1275 | 1275 | { |
1276 | - $this->kind = $kind; |
|
1276 | + $this->kind = $kind; |
|
1277 | 1277 | } |
1278 | 1278 | public function getKind() |
1279 | 1279 | { |
1280 | - return $this->kind; |
|
1280 | + return $this->kind; |
|
1281 | 1281 | } |
1282 | 1282 | public function setSalePrice($salePrice) |
1283 | 1283 | { |
1284 | - $this->salePrice = $salePrice; |
|
1284 | + $this->salePrice = $salePrice; |
|
1285 | 1285 | } |
1286 | 1286 | public function getSalePrice() |
1287 | 1287 | { |
1288 | - return $this->salePrice; |
|
1288 | + return $this->salePrice; |
|
1289 | 1289 | } |
1290 | 1290 | } |
1291 | 1291 | |
@@ -1300,27 +1300,27 @@ discard block |
||
1300 | 1300 | |
1301 | 1301 | public function setEarliestTime($earliestTime) |
1302 | 1302 | { |
1303 | - $this->earliestTime = $earliestTime; |
|
1303 | + $this->earliestTime = $earliestTime; |
|
1304 | 1304 | } |
1305 | 1305 | public function getEarliestTime() |
1306 | 1306 | { |
1307 | - return $this->earliestTime; |
|
1307 | + return $this->earliestTime; |
|
1308 | 1308 | } |
1309 | 1309 | public function setKind($kind) |
1310 | 1310 | { |
1311 | - $this->kind = $kind; |
|
1311 | + $this->kind = $kind; |
|
1312 | 1312 | } |
1313 | 1313 | public function getKind() |
1314 | 1314 | { |
1315 | - return $this->kind; |
|
1315 | + return $this->kind; |
|
1316 | 1316 | } |
1317 | 1317 | public function setLatestTime($latestTime) |
1318 | 1318 | { |
1319 | - $this->latestTime = $latestTime; |
|
1319 | + $this->latestTime = $latestTime; |
|
1320 | 1320 | } |
1321 | 1321 | public function getLatestTime() |
1322 | 1322 | { |
1323 | - return $this->latestTime; |
|
1323 | + return $this->latestTime; |
|
1324 | 1324 | } |
1325 | 1325 | } |
1326 | 1326 | |
@@ -1340,43 +1340,43 @@ discard block |
||
1340 | 1340 | |
1341 | 1341 | public function setId($id) |
1342 | 1342 | { |
1343 | - $this->id = $id; |
|
1343 | + $this->id = $id; |
|
1344 | 1344 | } |
1345 | 1345 | public function getId() |
1346 | 1346 | { |
1347 | - return $this->id; |
|
1347 | + return $this->id; |
|
1348 | 1348 | } |
1349 | 1349 | public function setKind($kind) |
1350 | 1350 | { |
1351 | - $this->kind = $kind; |
|
1351 | + $this->kind = $kind; |
|
1352 | 1352 | } |
1353 | 1353 | public function getKind() |
1354 | 1354 | { |
1355 | - return $this->kind; |
|
1355 | + return $this->kind; |
|
1356 | 1356 | } |
1357 | 1357 | public function setPricing($pricing) |
1358 | 1358 | { |
1359 | - $this->pricing = $pricing; |
|
1359 | + $this->pricing = $pricing; |
|
1360 | 1360 | } |
1361 | 1361 | public function getPricing() |
1362 | 1362 | { |
1363 | - return $this->pricing; |
|
1363 | + return $this->pricing; |
|
1364 | 1364 | } |
1365 | 1365 | public function setSaleTotal($saleTotal) |
1366 | 1366 | { |
1367 | - $this->saleTotal = $saleTotal; |
|
1367 | + $this->saleTotal = $saleTotal; |
|
1368 | 1368 | } |
1369 | 1369 | public function getSaleTotal() |
1370 | 1370 | { |
1371 | - return $this->saleTotal; |
|
1371 | + return $this->saleTotal; |
|
1372 | 1372 | } |
1373 | 1373 | public function setSlice($slice) |
1374 | 1374 | { |
1375 | - $this->slice = $slice; |
|
1375 | + $this->slice = $slice; |
|
1376 | 1376 | } |
1377 | 1377 | public function getSlice() |
1378 | 1378 | { |
1379 | - return $this->slice; |
|
1379 | + return $this->slice; |
|
1380 | 1380 | } |
1381 | 1381 | } |
1382 | 1382 | |
@@ -1397,51 +1397,51 @@ discard block |
||
1397 | 1397 | |
1398 | 1398 | public function setMaxPrice($maxPrice) |
1399 | 1399 | { |
1400 | - $this->maxPrice = $maxPrice; |
|
1400 | + $this->maxPrice = $maxPrice; |
|
1401 | 1401 | } |
1402 | 1402 | public function getMaxPrice() |
1403 | 1403 | { |
1404 | - return $this->maxPrice; |
|
1404 | + return $this->maxPrice; |
|
1405 | 1405 | } |
1406 | 1406 | public function setPassengers(Google_Service_QPXExpress_PassengerCounts $passengers) |
1407 | 1407 | { |
1408 | - $this->passengers = $passengers; |
|
1408 | + $this->passengers = $passengers; |
|
1409 | 1409 | } |
1410 | 1410 | public function getPassengers() |
1411 | 1411 | { |
1412 | - return $this->passengers; |
|
1412 | + return $this->passengers; |
|
1413 | 1413 | } |
1414 | 1414 | public function setRefundable($refundable) |
1415 | 1415 | { |
1416 | - $this->refundable = $refundable; |
|
1416 | + $this->refundable = $refundable; |
|
1417 | 1417 | } |
1418 | 1418 | public function getRefundable() |
1419 | 1419 | { |
1420 | - return $this->refundable; |
|
1420 | + return $this->refundable; |
|
1421 | 1421 | } |
1422 | 1422 | public function setSaleCountry($saleCountry) |
1423 | 1423 | { |
1424 | - $this->saleCountry = $saleCountry; |
|
1424 | + $this->saleCountry = $saleCountry; |
|
1425 | 1425 | } |
1426 | 1426 | public function getSaleCountry() |
1427 | 1427 | { |
1428 | - return $this->saleCountry; |
|
1428 | + return $this->saleCountry; |
|
1429 | 1429 | } |
1430 | 1430 | public function setSlice($slice) |
1431 | 1431 | { |
1432 | - $this->slice = $slice; |
|
1432 | + $this->slice = $slice; |
|
1433 | 1433 | } |
1434 | 1434 | public function getSlice() |
1435 | 1435 | { |
1436 | - return $this->slice; |
|
1436 | + return $this->slice; |
|
1437 | 1437 | } |
1438 | 1438 | public function setSolutions($solutions) |
1439 | 1439 | { |
1440 | - $this->solutions = $solutions; |
|
1440 | + $this->solutions = $solutions; |
|
1441 | 1441 | } |
1442 | 1442 | public function getSolutions() |
1443 | 1443 | { |
1444 | - return $this->solutions; |
|
1444 | + return $this->solutions; |
|
1445 | 1445 | } |
1446 | 1446 | } |
1447 | 1447 | |
@@ -1460,35 +1460,35 @@ discard block |
||
1460 | 1460 | |
1461 | 1461 | public function setData(Google_Service_QPXExpress_Data $data) |
1462 | 1462 | { |
1463 | - $this->data = $data; |
|
1463 | + $this->data = $data; |
|
1464 | 1464 | } |
1465 | 1465 | public function getData() |
1466 | 1466 | { |
1467 | - return $this->data; |
|
1467 | + return $this->data; |
|
1468 | 1468 | } |
1469 | 1469 | public function setKind($kind) |
1470 | 1470 | { |
1471 | - $this->kind = $kind; |
|
1471 | + $this->kind = $kind; |
|
1472 | 1472 | } |
1473 | 1473 | public function getKind() |
1474 | 1474 | { |
1475 | - return $this->kind; |
|
1475 | + return $this->kind; |
|
1476 | 1476 | } |
1477 | 1477 | public function setRequestId($requestId) |
1478 | 1478 | { |
1479 | - $this->requestId = $requestId; |
|
1479 | + $this->requestId = $requestId; |
|
1480 | 1480 | } |
1481 | 1481 | public function getRequestId() |
1482 | 1482 | { |
1483 | - return $this->requestId; |
|
1483 | + return $this->requestId; |
|
1484 | 1484 | } |
1485 | 1485 | public function setTripOption($tripOption) |
1486 | 1486 | { |
1487 | - $this->tripOption = $tripOption; |
|
1487 | + $this->tripOption = $tripOption; |
|
1488 | 1488 | } |
1489 | 1489 | public function getTripOption() |
1490 | 1490 | { |
1491 | - return $this->tripOption; |
|
1491 | + return $this->tripOption; |
|
1492 | 1492 | } |
1493 | 1493 | } |
1494 | 1494 | |
@@ -1502,11 +1502,11 @@ discard block |
||
1502 | 1502 | |
1503 | 1503 | public function setRequest(Google_Service_QPXExpress_TripOptionsRequest $request) |
1504 | 1504 | { |
1505 | - $this->request = $request; |
|
1505 | + $this->request = $request; |
|
1506 | 1506 | } |
1507 | 1507 | public function getRequest() |
1508 | 1508 | { |
1509 | - return $this->request; |
|
1509 | + return $this->request; |
|
1510 | 1510 | } |
1511 | 1511 | } |
1512 | 1512 | |
@@ -1521,18 +1521,18 @@ discard block |
||
1521 | 1521 | |
1522 | 1522 | public function setKind($kind) |
1523 | 1523 | { |
1524 | - $this->kind = $kind; |
|
1524 | + $this->kind = $kind; |
|
1525 | 1525 | } |
1526 | 1526 | public function getKind() |
1527 | 1527 | { |
1528 | - return $this->kind; |
|
1528 | + return $this->kind; |
|
1529 | 1529 | } |
1530 | 1530 | public function setTrips(Google_Service_QPXExpress_TripOptionsResponse $trips) |
1531 | 1531 | { |
1532 | - $this->trips = $trips; |
|
1532 | + $this->trips = $trips; |
|
1533 | 1533 | } |
1534 | 1534 | public function getTrips() |
1535 | 1535 | { |
1536 | - return $this->trips; |
|
1536 | + return $this->trips; |
|
1537 | 1537 | } |
1538 | 1538 | } |
@@ -361,7 +361,7 @@ discard block |
||
361 | 361 | * @param string $zone The name of the zone in which the instance group manager |
362 | 362 | * resides. |
363 | 363 | * @param string $instanceGroupManager The name of the instance group manager. |
364 | - * @param Google_InstanceGroupManagersAbandonInstancesRequest $postBody |
|
364 | + * @param Google_Service_Replicapool_InstanceGroupManagersAbandonInstancesRequest $postBody |
|
365 | 365 | * @param array $optParams Optional parameters. |
366 | 366 | * @return Google_Service_Replicapool_Operation |
367 | 367 | */ |
@@ -403,7 +403,7 @@ discard block |
||
403 | 403 | * @param string $zone The name of the zone in which the instance group manager |
404 | 404 | * resides. |
405 | 405 | * @param string $instanceGroupManager The name of the instance group manager. |
406 | - * @param Google_InstanceGroupManagersDeleteInstancesRequest $postBody |
|
406 | + * @param Google_Service_Replicapool_InstanceGroupManagersDeleteInstancesRequest $postBody |
|
407 | 407 | * @param array $optParams Optional parameters. |
408 | 408 | * @return Google_Service_Replicapool_Operation |
409 | 409 | */ |
@@ -440,7 +440,7 @@ discard block |
||
440 | 440 | * @param string $zone The name of the zone in which the instance group manager |
441 | 441 | * resides. |
442 | 442 | * @param int $size Number of instances that should exist. |
443 | - * @param Google_InstanceGroupManager $postBody |
|
443 | + * @param Google_Service_Replicapool_InstanceGroupManager $postBody |
|
444 | 444 | * @param array $optParams Optional parameters. |
445 | 445 | * @return Google_Service_Replicapool_Operation |
446 | 446 | */ |
@@ -484,7 +484,7 @@ discard block |
||
484 | 484 | * @param string $zone The name of the zone in which the instance group manager |
485 | 485 | * resides. |
486 | 486 | * @param string $instanceGroupManager The name of the instance group manager. |
487 | - * @param Google_InstanceGroupManagersRecreateInstancesRequest $postBody |
|
487 | + * @param Google_Service_Replicapool_InstanceGroupManagersRecreateInstancesRequest $postBody |
|
488 | 488 | * @param array $optParams Optional parameters. |
489 | 489 | * @return Google_Service_Replicapool_Operation |
490 | 490 | */ |
@@ -526,7 +526,7 @@ discard block |
||
526 | 526 | * @param string $zone The name of the zone in which the instance group manager |
527 | 527 | * resides. |
528 | 528 | * @param string $instanceGroupManager The name of the instance group manager. |
529 | - * @param Google_InstanceGroupManagersSetInstanceTemplateRequest $postBody |
|
529 | + * @param Google_Service_Replicapool_InstanceGroupManagersSetInstanceTemplateRequest $postBody |
|
530 | 530 | * @param array $optParams Optional parameters. |
531 | 531 | * @return Google_Service_Replicapool_Operation |
532 | 532 | */ |
@@ -546,7 +546,7 @@ discard block |
||
546 | 546 | * @param string $zone The name of the zone in which the instance group manager |
547 | 547 | * resides. |
548 | 548 | * @param string $instanceGroupManager The name of the instance group manager. |
549 | - * @param Google_InstanceGroupManagersSetTargetPoolsRequest $postBody |
|
549 | + * @param Google_Service_Replicapool_InstanceGroupManagersSetTargetPoolsRequest $postBody |
|
550 | 550 | * @param array $optParams Optional parameters. |
551 | 551 | * @return Google_Service_Replicapool_Operation |
552 | 552 | */ |
@@ -33,13 +33,13 @@ discard block |
||
33 | 33 | { |
34 | 34 | /** View and manage your data across Google Cloud Platform services. */ |
35 | 35 | const CLOUD_PLATFORM = |
36 | - "https://www.googleapis.com/auth/cloud-platform"; |
|
36 | + "https://www.googleapis.com/auth/cloud-platform"; |
|
37 | 37 | /** View and manage your Google Compute Engine resources. */ |
38 | 38 | const COMPUTE = |
39 | - "https://www.googleapis.com/auth/compute"; |
|
39 | + "https://www.googleapis.com/auth/compute"; |
|
40 | 40 | /** View your Google Compute Engine resources. */ |
41 | 41 | const COMPUTE_READONLY = |
42 | - "https://www.googleapis.com/auth/compute.readonly"; |
|
42 | + "https://www.googleapis.com/auth/compute.readonly"; |
|
43 | 43 | |
44 | 44 | public $instanceGroupManagers; |
45 | 45 | public $zoneOperations; |
@@ -52,291 +52,291 @@ discard block |
||
52 | 52 | */ |
53 | 53 | public function __construct(Google_Client $client) |
54 | 54 | { |
55 | - parent::__construct($client); |
|
56 | - $this->rootUrl = 'https://www.googleapis.com/'; |
|
57 | - $this->servicePath = 'replicapool/v1beta2/projects/'; |
|
58 | - $this->version = 'v1beta2'; |
|
59 | - $this->serviceName = 'replicapool'; |
|
60 | - |
|
61 | - $this->instanceGroupManagers = new Google_Service_Replicapool_InstanceGroupManagers_Resource( |
|
62 | - $this, |
|
63 | - $this->serviceName, |
|
64 | - 'instanceGroupManagers', |
|
65 | - array( |
|
66 | - 'methods' => array( |
|
67 | - 'abandonInstances' => array( |
|
68 | - 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/abandonInstances', |
|
69 | - 'httpMethod' => 'POST', |
|
70 | - 'parameters' => array( |
|
71 | - 'project' => array( |
|
72 | - 'location' => 'path', |
|
73 | - 'type' => 'string', |
|
74 | - 'required' => true, |
|
75 | - ), |
|
76 | - 'zone' => array( |
|
77 | - 'location' => 'path', |
|
78 | - 'type' => 'string', |
|
79 | - 'required' => true, |
|
80 | - ), |
|
81 | - 'instanceGroupManager' => array( |
|
82 | - 'location' => 'path', |
|
83 | - 'type' => 'string', |
|
84 | - 'required' => true, |
|
85 | - ), |
|
86 | - ), |
|
87 | - ),'delete' => array( |
|
88 | - 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}', |
|
89 | - 'httpMethod' => 'DELETE', |
|
90 | - 'parameters' => array( |
|
91 | - 'project' => array( |
|
92 | - 'location' => 'path', |
|
93 | - 'type' => 'string', |
|
94 | - 'required' => true, |
|
95 | - ), |
|
96 | - 'zone' => array( |
|
97 | - 'location' => 'path', |
|
98 | - 'type' => 'string', |
|
99 | - 'required' => true, |
|
100 | - ), |
|
101 | - 'instanceGroupManager' => array( |
|
102 | - 'location' => 'path', |
|
103 | - 'type' => 'string', |
|
104 | - 'required' => true, |
|
105 | - ), |
|
106 | - ), |
|
107 | - ),'deleteInstances' => array( |
|
108 | - 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deleteInstances', |
|
109 | - 'httpMethod' => 'POST', |
|
110 | - 'parameters' => array( |
|
111 | - 'project' => array( |
|
112 | - 'location' => 'path', |
|
113 | - 'type' => 'string', |
|
114 | - 'required' => true, |
|
115 | - ), |
|
116 | - 'zone' => array( |
|
117 | - 'location' => 'path', |
|
118 | - 'type' => 'string', |
|
119 | - 'required' => true, |
|
120 | - ), |
|
121 | - 'instanceGroupManager' => array( |
|
122 | - 'location' => 'path', |
|
123 | - 'type' => 'string', |
|
124 | - 'required' => true, |
|
125 | - ), |
|
126 | - ), |
|
127 | - ),'get' => array( |
|
128 | - 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}', |
|
129 | - 'httpMethod' => 'GET', |
|
130 | - 'parameters' => array( |
|
131 | - 'project' => array( |
|
132 | - 'location' => 'path', |
|
133 | - 'type' => 'string', |
|
134 | - 'required' => true, |
|
135 | - ), |
|
136 | - 'zone' => array( |
|
137 | - 'location' => 'path', |
|
138 | - 'type' => 'string', |
|
139 | - 'required' => true, |
|
140 | - ), |
|
141 | - 'instanceGroupManager' => array( |
|
142 | - 'location' => 'path', |
|
143 | - 'type' => 'string', |
|
144 | - 'required' => true, |
|
145 | - ), |
|
146 | - ), |
|
147 | - ),'insert' => array( |
|
148 | - 'path' => '{project}/zones/{zone}/instanceGroupManagers', |
|
149 | - 'httpMethod' => 'POST', |
|
150 | - 'parameters' => array( |
|
151 | - 'project' => array( |
|
152 | - 'location' => 'path', |
|
153 | - 'type' => 'string', |
|
154 | - 'required' => true, |
|
155 | - ), |
|
156 | - 'zone' => array( |
|
157 | - 'location' => 'path', |
|
158 | - 'type' => 'string', |
|
159 | - 'required' => true, |
|
160 | - ), |
|
161 | - 'size' => array( |
|
162 | - 'location' => 'query', |
|
163 | - 'type' => 'integer', |
|
164 | - 'required' => true, |
|
165 | - ), |
|
166 | - ), |
|
167 | - ),'list' => array( |
|
168 | - 'path' => '{project}/zones/{zone}/instanceGroupManagers', |
|
169 | - 'httpMethod' => 'GET', |
|
170 | - 'parameters' => array( |
|
171 | - 'project' => array( |
|
172 | - 'location' => 'path', |
|
173 | - 'type' => 'string', |
|
174 | - 'required' => true, |
|
175 | - ), |
|
176 | - 'zone' => array( |
|
177 | - 'location' => 'path', |
|
178 | - 'type' => 'string', |
|
179 | - 'required' => true, |
|
180 | - ), |
|
181 | - 'filter' => array( |
|
182 | - 'location' => 'query', |
|
183 | - 'type' => 'string', |
|
184 | - ), |
|
185 | - 'pageToken' => array( |
|
186 | - 'location' => 'query', |
|
187 | - 'type' => 'string', |
|
188 | - ), |
|
189 | - 'maxResults' => array( |
|
190 | - 'location' => 'query', |
|
191 | - 'type' => 'integer', |
|
192 | - ), |
|
193 | - ), |
|
194 | - ),'recreateInstances' => array( |
|
195 | - 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/recreateInstances', |
|
196 | - 'httpMethod' => 'POST', |
|
197 | - 'parameters' => array( |
|
198 | - 'project' => array( |
|
199 | - 'location' => 'path', |
|
200 | - 'type' => 'string', |
|
201 | - 'required' => true, |
|
202 | - ), |
|
203 | - 'zone' => array( |
|
204 | - 'location' => 'path', |
|
205 | - 'type' => 'string', |
|
206 | - 'required' => true, |
|
207 | - ), |
|
208 | - 'instanceGroupManager' => array( |
|
209 | - 'location' => 'path', |
|
210 | - 'type' => 'string', |
|
211 | - 'required' => true, |
|
212 | - ), |
|
213 | - ), |
|
214 | - ),'resize' => array( |
|
215 | - 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resize', |
|
216 | - 'httpMethod' => 'POST', |
|
217 | - 'parameters' => array( |
|
218 | - 'project' => array( |
|
219 | - 'location' => 'path', |
|
220 | - 'type' => 'string', |
|
221 | - 'required' => true, |
|
222 | - ), |
|
223 | - 'zone' => array( |
|
224 | - 'location' => 'path', |
|
225 | - 'type' => 'string', |
|
226 | - 'required' => true, |
|
227 | - ), |
|
228 | - 'instanceGroupManager' => array( |
|
229 | - 'location' => 'path', |
|
230 | - 'type' => 'string', |
|
231 | - 'required' => true, |
|
232 | - ), |
|
233 | - 'size' => array( |
|
234 | - 'location' => 'query', |
|
235 | - 'type' => 'integer', |
|
236 | - 'required' => true, |
|
237 | - ), |
|
238 | - ), |
|
239 | - ),'setInstanceTemplate' => array( |
|
240 | - 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate', |
|
241 | - 'httpMethod' => 'POST', |
|
242 | - 'parameters' => array( |
|
243 | - 'project' => array( |
|
244 | - 'location' => 'path', |
|
245 | - 'type' => 'string', |
|
246 | - 'required' => true, |
|
247 | - ), |
|
248 | - 'zone' => array( |
|
249 | - 'location' => 'path', |
|
250 | - 'type' => 'string', |
|
251 | - 'required' => true, |
|
252 | - ), |
|
253 | - 'instanceGroupManager' => array( |
|
254 | - 'location' => 'path', |
|
255 | - 'type' => 'string', |
|
256 | - 'required' => true, |
|
257 | - ), |
|
258 | - ), |
|
259 | - ),'setTargetPools' => array( |
|
260 | - 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setTargetPools', |
|
261 | - 'httpMethod' => 'POST', |
|
262 | - 'parameters' => array( |
|
263 | - 'project' => array( |
|
264 | - 'location' => 'path', |
|
265 | - 'type' => 'string', |
|
266 | - 'required' => true, |
|
267 | - ), |
|
268 | - 'zone' => array( |
|
269 | - 'location' => 'path', |
|
270 | - 'type' => 'string', |
|
271 | - 'required' => true, |
|
272 | - ), |
|
273 | - 'instanceGroupManager' => array( |
|
274 | - 'location' => 'path', |
|
275 | - 'type' => 'string', |
|
276 | - 'required' => true, |
|
277 | - ), |
|
278 | - ), |
|
279 | - ), |
|
280 | - ) |
|
281 | - ) |
|
282 | - ); |
|
283 | - $this->zoneOperations = new Google_Service_Replicapool_ZoneOperations_Resource( |
|
284 | - $this, |
|
285 | - $this->serviceName, |
|
286 | - 'zoneOperations', |
|
287 | - array( |
|
288 | - 'methods' => array( |
|
289 | - 'get' => array( |
|
290 | - 'path' => '{project}/zones/{zone}/operations/{operation}', |
|
291 | - 'httpMethod' => 'GET', |
|
292 | - 'parameters' => array( |
|
293 | - 'project' => array( |
|
294 | - 'location' => 'path', |
|
295 | - 'type' => 'string', |
|
296 | - 'required' => true, |
|
297 | - ), |
|
298 | - 'zone' => array( |
|
299 | - 'location' => 'path', |
|
300 | - 'type' => 'string', |
|
301 | - 'required' => true, |
|
302 | - ), |
|
303 | - 'operation' => array( |
|
304 | - 'location' => 'path', |
|
305 | - 'type' => 'string', |
|
306 | - 'required' => true, |
|
307 | - ), |
|
308 | - ), |
|
309 | - ),'list' => array( |
|
310 | - 'path' => '{project}/zones/{zone}/operations', |
|
311 | - 'httpMethod' => 'GET', |
|
312 | - 'parameters' => array( |
|
313 | - 'project' => array( |
|
314 | - 'location' => 'path', |
|
315 | - 'type' => 'string', |
|
316 | - 'required' => true, |
|
317 | - ), |
|
318 | - 'zone' => array( |
|
319 | - 'location' => 'path', |
|
320 | - 'type' => 'string', |
|
321 | - 'required' => true, |
|
322 | - ), |
|
323 | - 'filter' => array( |
|
324 | - 'location' => 'query', |
|
325 | - 'type' => 'string', |
|
326 | - ), |
|
327 | - 'pageToken' => array( |
|
328 | - 'location' => 'query', |
|
329 | - 'type' => 'string', |
|
330 | - ), |
|
331 | - 'maxResults' => array( |
|
332 | - 'location' => 'query', |
|
333 | - 'type' => 'integer', |
|
334 | - ), |
|
335 | - ), |
|
336 | - ), |
|
337 | - ) |
|
338 | - ) |
|
339 | - ); |
|
55 | + parent::__construct($client); |
|
56 | + $this->rootUrl = 'https://www.googleapis.com/'; |
|
57 | + $this->servicePath = 'replicapool/v1beta2/projects/'; |
|
58 | + $this->version = 'v1beta2'; |
|
59 | + $this->serviceName = 'replicapool'; |
|
60 | + |
|
61 | + $this->instanceGroupManagers = new Google_Service_Replicapool_InstanceGroupManagers_Resource( |
|
62 | + $this, |
|
63 | + $this->serviceName, |
|
64 | + 'instanceGroupManagers', |
|
65 | + array( |
|
66 | + 'methods' => array( |
|
67 | + 'abandonInstances' => array( |
|
68 | + 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/abandonInstances', |
|
69 | + 'httpMethod' => 'POST', |
|
70 | + 'parameters' => array( |
|
71 | + 'project' => array( |
|
72 | + 'location' => 'path', |
|
73 | + 'type' => 'string', |
|
74 | + 'required' => true, |
|
75 | + ), |
|
76 | + 'zone' => array( |
|
77 | + 'location' => 'path', |
|
78 | + 'type' => 'string', |
|
79 | + 'required' => true, |
|
80 | + ), |
|
81 | + 'instanceGroupManager' => array( |
|
82 | + 'location' => 'path', |
|
83 | + 'type' => 'string', |
|
84 | + 'required' => true, |
|
85 | + ), |
|
86 | + ), |
|
87 | + ),'delete' => array( |
|
88 | + 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}', |
|
89 | + 'httpMethod' => 'DELETE', |
|
90 | + 'parameters' => array( |
|
91 | + 'project' => array( |
|
92 | + 'location' => 'path', |
|
93 | + 'type' => 'string', |
|
94 | + 'required' => true, |
|
95 | + ), |
|
96 | + 'zone' => array( |
|
97 | + 'location' => 'path', |
|
98 | + 'type' => 'string', |
|
99 | + 'required' => true, |
|
100 | + ), |
|
101 | + 'instanceGroupManager' => array( |
|
102 | + 'location' => 'path', |
|
103 | + 'type' => 'string', |
|
104 | + 'required' => true, |
|
105 | + ), |
|
106 | + ), |
|
107 | + ),'deleteInstances' => array( |
|
108 | + 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deleteInstances', |
|
109 | + 'httpMethod' => 'POST', |
|
110 | + 'parameters' => array( |
|
111 | + 'project' => array( |
|
112 | + 'location' => 'path', |
|
113 | + 'type' => 'string', |
|
114 | + 'required' => true, |
|
115 | + ), |
|
116 | + 'zone' => array( |
|
117 | + 'location' => 'path', |
|
118 | + 'type' => 'string', |
|
119 | + 'required' => true, |
|
120 | + ), |
|
121 | + 'instanceGroupManager' => array( |
|
122 | + 'location' => 'path', |
|
123 | + 'type' => 'string', |
|
124 | + 'required' => true, |
|
125 | + ), |
|
126 | + ), |
|
127 | + ),'get' => array( |
|
128 | + 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}', |
|
129 | + 'httpMethod' => 'GET', |
|
130 | + 'parameters' => array( |
|
131 | + 'project' => array( |
|
132 | + 'location' => 'path', |
|
133 | + 'type' => 'string', |
|
134 | + 'required' => true, |
|
135 | + ), |
|
136 | + 'zone' => array( |
|
137 | + 'location' => 'path', |
|
138 | + 'type' => 'string', |
|
139 | + 'required' => true, |
|
140 | + ), |
|
141 | + 'instanceGroupManager' => array( |
|
142 | + 'location' => 'path', |
|
143 | + 'type' => 'string', |
|
144 | + 'required' => true, |
|
145 | + ), |
|
146 | + ), |
|
147 | + ),'insert' => array( |
|
148 | + 'path' => '{project}/zones/{zone}/instanceGroupManagers', |
|
149 | + 'httpMethod' => 'POST', |
|
150 | + 'parameters' => array( |
|
151 | + 'project' => array( |
|
152 | + 'location' => 'path', |
|
153 | + 'type' => 'string', |
|
154 | + 'required' => true, |
|
155 | + ), |
|
156 | + 'zone' => array( |
|
157 | + 'location' => 'path', |
|
158 | + 'type' => 'string', |
|
159 | + 'required' => true, |
|
160 | + ), |
|
161 | + 'size' => array( |
|
162 | + 'location' => 'query', |
|
163 | + 'type' => 'integer', |
|
164 | + 'required' => true, |
|
165 | + ), |
|
166 | + ), |
|
167 | + ),'list' => array( |
|
168 | + 'path' => '{project}/zones/{zone}/instanceGroupManagers', |
|
169 | + 'httpMethod' => 'GET', |
|
170 | + 'parameters' => array( |
|
171 | + 'project' => array( |
|
172 | + 'location' => 'path', |
|
173 | + 'type' => 'string', |
|
174 | + 'required' => true, |
|
175 | + ), |
|
176 | + 'zone' => array( |
|
177 | + 'location' => 'path', |
|
178 | + 'type' => 'string', |
|
179 | + 'required' => true, |
|
180 | + ), |
|
181 | + 'filter' => array( |
|
182 | + 'location' => 'query', |
|
183 | + 'type' => 'string', |
|
184 | + ), |
|
185 | + 'pageToken' => array( |
|
186 | + 'location' => 'query', |
|
187 | + 'type' => 'string', |
|
188 | + ), |
|
189 | + 'maxResults' => array( |
|
190 | + 'location' => 'query', |
|
191 | + 'type' => 'integer', |
|
192 | + ), |
|
193 | + ), |
|
194 | + ),'recreateInstances' => array( |
|
195 | + 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/recreateInstances', |
|
196 | + 'httpMethod' => 'POST', |
|
197 | + 'parameters' => array( |
|
198 | + 'project' => array( |
|
199 | + 'location' => 'path', |
|
200 | + 'type' => 'string', |
|
201 | + 'required' => true, |
|
202 | + ), |
|
203 | + 'zone' => array( |
|
204 | + 'location' => 'path', |
|
205 | + 'type' => 'string', |
|
206 | + 'required' => true, |
|
207 | + ), |
|
208 | + 'instanceGroupManager' => array( |
|
209 | + 'location' => 'path', |
|
210 | + 'type' => 'string', |
|
211 | + 'required' => true, |
|
212 | + ), |
|
213 | + ), |
|
214 | + ),'resize' => array( |
|
215 | + 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resize', |
|
216 | + 'httpMethod' => 'POST', |
|
217 | + 'parameters' => array( |
|
218 | + 'project' => array( |
|
219 | + 'location' => 'path', |
|
220 | + 'type' => 'string', |
|
221 | + 'required' => true, |
|
222 | + ), |
|
223 | + 'zone' => array( |
|
224 | + 'location' => 'path', |
|
225 | + 'type' => 'string', |
|
226 | + 'required' => true, |
|
227 | + ), |
|
228 | + 'instanceGroupManager' => array( |
|
229 | + 'location' => 'path', |
|
230 | + 'type' => 'string', |
|
231 | + 'required' => true, |
|
232 | + ), |
|
233 | + 'size' => array( |
|
234 | + 'location' => 'query', |
|
235 | + 'type' => 'integer', |
|
236 | + 'required' => true, |
|
237 | + ), |
|
238 | + ), |
|
239 | + ),'setInstanceTemplate' => array( |
|
240 | + 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate', |
|
241 | + 'httpMethod' => 'POST', |
|
242 | + 'parameters' => array( |
|
243 | + 'project' => array( |
|
244 | + 'location' => 'path', |
|
245 | + 'type' => 'string', |
|
246 | + 'required' => true, |
|
247 | + ), |
|
248 | + 'zone' => array( |
|
249 | + 'location' => 'path', |
|
250 | + 'type' => 'string', |
|
251 | + 'required' => true, |
|
252 | + ), |
|
253 | + 'instanceGroupManager' => array( |
|
254 | + 'location' => 'path', |
|
255 | + 'type' => 'string', |
|
256 | + 'required' => true, |
|
257 | + ), |
|
258 | + ), |
|
259 | + ),'setTargetPools' => array( |
|
260 | + 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setTargetPools', |
|
261 | + 'httpMethod' => 'POST', |
|
262 | + 'parameters' => array( |
|
263 | + 'project' => array( |
|
264 | + 'location' => 'path', |
|
265 | + 'type' => 'string', |
|
266 | + 'required' => true, |
|
267 | + ), |
|
268 | + 'zone' => array( |
|
269 | + 'location' => 'path', |
|
270 | + 'type' => 'string', |
|
271 | + 'required' => true, |
|
272 | + ), |
|
273 | + 'instanceGroupManager' => array( |
|
274 | + 'location' => 'path', |
|
275 | + 'type' => 'string', |
|
276 | + 'required' => true, |
|
277 | + ), |
|
278 | + ), |
|
279 | + ), |
|
280 | + ) |
|
281 | + ) |
|
282 | + ); |
|
283 | + $this->zoneOperations = new Google_Service_Replicapool_ZoneOperations_Resource( |
|
284 | + $this, |
|
285 | + $this->serviceName, |
|
286 | + 'zoneOperations', |
|
287 | + array( |
|
288 | + 'methods' => array( |
|
289 | + 'get' => array( |
|
290 | + 'path' => '{project}/zones/{zone}/operations/{operation}', |
|
291 | + 'httpMethod' => 'GET', |
|
292 | + 'parameters' => array( |
|
293 | + 'project' => array( |
|
294 | + 'location' => 'path', |
|
295 | + 'type' => 'string', |
|
296 | + 'required' => true, |
|
297 | + ), |
|
298 | + 'zone' => array( |
|
299 | + 'location' => 'path', |
|
300 | + 'type' => 'string', |
|
301 | + 'required' => true, |
|
302 | + ), |
|
303 | + 'operation' => array( |
|
304 | + 'location' => 'path', |
|
305 | + 'type' => 'string', |
|
306 | + 'required' => true, |
|
307 | + ), |
|
308 | + ), |
|
309 | + ),'list' => array( |
|
310 | + 'path' => '{project}/zones/{zone}/operations', |
|
311 | + 'httpMethod' => 'GET', |
|
312 | + 'parameters' => array( |
|
313 | + 'project' => array( |
|
314 | + 'location' => 'path', |
|
315 | + 'type' => 'string', |
|
316 | + 'required' => true, |
|
317 | + ), |
|
318 | + 'zone' => array( |
|
319 | + 'location' => 'path', |
|
320 | + 'type' => 'string', |
|
321 | + 'required' => true, |
|
322 | + ), |
|
323 | + 'filter' => array( |
|
324 | + 'location' => 'query', |
|
325 | + 'type' => 'string', |
|
326 | + ), |
|
327 | + 'pageToken' => array( |
|
328 | + 'location' => 'query', |
|
329 | + 'type' => 'string', |
|
330 | + ), |
|
331 | + 'maxResults' => array( |
|
332 | + 'location' => 'query', |
|
333 | + 'type' => 'integer', |
|
334 | + ), |
|
335 | + ), |
|
336 | + ), |
|
337 | + ) |
|
338 | + ) |
|
339 | + ); |
|
340 | 340 | } |
341 | 341 | } |
342 | 342 | |
@@ -367,9 +367,9 @@ discard block |
||
367 | 367 | */ |
368 | 368 | public function abandonInstances($project, $zone, $instanceGroupManager, Google_Service_Replicapool_InstanceGroupManagersAbandonInstancesRequest $postBody, $optParams = array()) |
369 | 369 | { |
370 | - $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'postBody' => $postBody); |
|
371 | - $params = array_merge($params, $optParams); |
|
372 | - return $this->call('abandonInstances', array($params), "Google_Service_Replicapool_Operation"); |
|
370 | + $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'postBody' => $postBody); |
|
371 | + $params = array_merge($params, $optParams); |
|
372 | + return $this->call('abandonInstances', array($params), "Google_Service_Replicapool_Operation"); |
|
373 | 373 | } |
374 | 374 | |
375 | 375 | /** |
@@ -388,9 +388,9 @@ discard block |
||
388 | 388 | */ |
389 | 389 | public function delete($project, $zone, $instanceGroupManager, $optParams = array()) |
390 | 390 | { |
391 | - $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager); |
|
392 | - $params = array_merge($params, $optParams); |
|
393 | - return $this->call('delete', array($params), "Google_Service_Replicapool_Operation"); |
|
391 | + $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager); |
|
392 | + $params = array_merge($params, $optParams); |
|
393 | + return $this->call('delete', array($params), "Google_Service_Replicapool_Operation"); |
|
394 | 394 | } |
395 | 395 | |
396 | 396 | /** |
@@ -409,9 +409,9 @@ discard block |
||
409 | 409 | */ |
410 | 410 | public function deleteInstances($project, $zone, $instanceGroupManager, Google_Service_Replicapool_InstanceGroupManagersDeleteInstancesRequest $postBody, $optParams = array()) |
411 | 411 | { |
412 | - $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'postBody' => $postBody); |
|
413 | - $params = array_merge($params, $optParams); |
|
414 | - return $this->call('deleteInstances', array($params), "Google_Service_Replicapool_Operation"); |
|
412 | + $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'postBody' => $postBody); |
|
413 | + $params = array_merge($params, $optParams); |
|
414 | + return $this->call('deleteInstances', array($params), "Google_Service_Replicapool_Operation"); |
|
415 | 415 | } |
416 | 416 | |
417 | 417 | /** |
@@ -427,9 +427,9 @@ discard block |
||
427 | 427 | */ |
428 | 428 | public function get($project, $zone, $instanceGroupManager, $optParams = array()) |
429 | 429 | { |
430 | - $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager); |
|
431 | - $params = array_merge($params, $optParams); |
|
432 | - return $this->call('get', array($params), "Google_Service_Replicapool_InstanceGroupManager"); |
|
430 | + $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager); |
|
431 | + $params = array_merge($params, $optParams); |
|
432 | + return $this->call('get', array($params), "Google_Service_Replicapool_InstanceGroupManager"); |
|
433 | 433 | } |
434 | 434 | |
435 | 435 | /** |
@@ -446,9 +446,9 @@ discard block |
||
446 | 446 | */ |
447 | 447 | public function insert($project, $zone, $size, Google_Service_Replicapool_InstanceGroupManager $postBody, $optParams = array()) |
448 | 448 | { |
449 | - $params = array('project' => $project, 'zone' => $zone, 'size' => $size, 'postBody' => $postBody); |
|
450 | - $params = array_merge($params, $optParams); |
|
451 | - return $this->call('insert', array($params), "Google_Service_Replicapool_Operation"); |
|
449 | + $params = array('project' => $project, 'zone' => $zone, 'size' => $size, 'postBody' => $postBody); |
|
450 | + $params = array_merge($params, $optParams); |
|
451 | + return $this->call('insert', array($params), "Google_Service_Replicapool_Operation"); |
|
452 | 452 | } |
453 | 453 | |
454 | 454 | /** |
@@ -470,9 +470,9 @@ discard block |
||
470 | 470 | */ |
471 | 471 | public function listInstanceGroupManagers($project, $zone, $optParams = array()) |
472 | 472 | { |
473 | - $params = array('project' => $project, 'zone' => $zone); |
|
474 | - $params = array_merge($params, $optParams); |
|
475 | - return $this->call('list', array($params), "Google_Service_Replicapool_InstanceGroupManagerList"); |
|
473 | + $params = array('project' => $project, 'zone' => $zone); |
|
474 | + $params = array_merge($params, $optParams); |
|
475 | + return $this->call('list', array($params), "Google_Service_Replicapool_InstanceGroupManagerList"); |
|
476 | 476 | } |
477 | 477 | |
478 | 478 | /** |
@@ -490,9 +490,9 @@ discard block |
||
490 | 490 | */ |
491 | 491 | public function recreateInstances($project, $zone, $instanceGroupManager, Google_Service_Replicapool_InstanceGroupManagersRecreateInstancesRequest $postBody, $optParams = array()) |
492 | 492 | { |
493 | - $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'postBody' => $postBody); |
|
494 | - $params = array_merge($params, $optParams); |
|
495 | - return $this->call('recreateInstances', array($params), "Google_Service_Replicapool_Operation"); |
|
493 | + $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'postBody' => $postBody); |
|
494 | + $params = array_merge($params, $optParams); |
|
495 | + return $this->call('recreateInstances', array($params), "Google_Service_Replicapool_Operation"); |
|
496 | 496 | } |
497 | 497 | |
498 | 498 | /** |
@@ -512,9 +512,9 @@ discard block |
||
512 | 512 | */ |
513 | 513 | public function resize($project, $zone, $instanceGroupManager, $size, $optParams = array()) |
514 | 514 | { |
515 | - $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'size' => $size); |
|
516 | - $params = array_merge($params, $optParams); |
|
517 | - return $this->call('resize', array($params), "Google_Service_Replicapool_Operation"); |
|
515 | + $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'size' => $size); |
|
516 | + $params = array_merge($params, $optParams); |
|
517 | + return $this->call('resize', array($params), "Google_Service_Replicapool_Operation"); |
|
518 | 518 | } |
519 | 519 | |
520 | 520 | /** |
@@ -532,9 +532,9 @@ discard block |
||
532 | 532 | */ |
533 | 533 | public function setInstanceTemplate($project, $zone, $instanceGroupManager, Google_Service_Replicapool_InstanceGroupManagersSetInstanceTemplateRequest $postBody, $optParams = array()) |
534 | 534 | { |
535 | - $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'postBody' => $postBody); |
|
536 | - $params = array_merge($params, $optParams); |
|
537 | - return $this->call('setInstanceTemplate', array($params), "Google_Service_Replicapool_Operation"); |
|
535 | + $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'postBody' => $postBody); |
|
536 | + $params = array_merge($params, $optParams); |
|
537 | + return $this->call('setInstanceTemplate', array($params), "Google_Service_Replicapool_Operation"); |
|
538 | 538 | } |
539 | 539 | |
540 | 540 | /** |
@@ -552,9 +552,9 @@ discard block |
||
552 | 552 | */ |
553 | 553 | public function setTargetPools($project, $zone, $instanceGroupManager, Google_Service_Replicapool_InstanceGroupManagersSetTargetPoolsRequest $postBody, $optParams = array()) |
554 | 554 | { |
555 | - $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'postBody' => $postBody); |
|
556 | - $params = array_merge($params, $optParams); |
|
557 | - return $this->call('setTargetPools', array($params), "Google_Service_Replicapool_Operation"); |
|
555 | + $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'postBody' => $postBody); |
|
556 | + $params = array_merge($params, $optParams); |
|
557 | + return $this->call('setTargetPools', array($params), "Google_Service_Replicapool_Operation"); |
|
558 | 558 | } |
559 | 559 | } |
560 | 560 | |
@@ -581,9 +581,9 @@ discard block |
||
581 | 581 | */ |
582 | 582 | public function get($project, $zone, $operation, $optParams = array()) |
583 | 583 | { |
584 | - $params = array('project' => $project, 'zone' => $zone, 'operation' => $operation); |
|
585 | - $params = array_merge($params, $optParams); |
|
586 | - return $this->call('get', array($params), "Google_Service_Replicapool_Operation"); |
|
584 | + $params = array('project' => $project, 'zone' => $zone, 'operation' => $operation); |
|
585 | + $params = array_merge($params, $optParams); |
|
586 | + return $this->call('get', array($params), "Google_Service_Replicapool_Operation"); |
|
587 | 587 | } |
588 | 588 | |
589 | 589 | /** |
@@ -604,9 +604,9 @@ discard block |
||
604 | 604 | */ |
605 | 605 | public function listZoneOperations($project, $zone, $optParams = array()) |
606 | 606 | { |
607 | - $params = array('project' => $project, 'zone' => $zone); |
|
608 | - $params = array_merge($params, $optParams); |
|
609 | - return $this->call('list', array($params), "Google_Service_Replicapool_OperationList"); |
|
607 | + $params = array('project' => $project, 'zone' => $zone); |
|
608 | + $params = array_merge($params, $optParams); |
|
609 | + return $this->call('list', array($params), "Google_Service_Replicapool_OperationList"); |
|
610 | 610 | } |
611 | 611 | } |
612 | 612 | |
@@ -637,115 +637,115 @@ discard block |
||
637 | 637 | |
638 | 638 | public function setAutoHealingPolicies($autoHealingPolicies) |
639 | 639 | { |
640 | - $this->autoHealingPolicies = $autoHealingPolicies; |
|
640 | + $this->autoHealingPolicies = $autoHealingPolicies; |
|
641 | 641 | } |
642 | 642 | public function getAutoHealingPolicies() |
643 | 643 | { |
644 | - return $this->autoHealingPolicies; |
|
644 | + return $this->autoHealingPolicies; |
|
645 | 645 | } |
646 | 646 | public function setBaseInstanceName($baseInstanceName) |
647 | 647 | { |
648 | - $this->baseInstanceName = $baseInstanceName; |
|
648 | + $this->baseInstanceName = $baseInstanceName; |
|
649 | 649 | } |
650 | 650 | public function getBaseInstanceName() |
651 | 651 | { |
652 | - return $this->baseInstanceName; |
|
652 | + return $this->baseInstanceName; |
|
653 | 653 | } |
654 | 654 | public function setCreationTimestamp($creationTimestamp) |
655 | 655 | { |
656 | - $this->creationTimestamp = $creationTimestamp; |
|
656 | + $this->creationTimestamp = $creationTimestamp; |
|
657 | 657 | } |
658 | 658 | public function getCreationTimestamp() |
659 | 659 | { |
660 | - return $this->creationTimestamp; |
|
660 | + return $this->creationTimestamp; |
|
661 | 661 | } |
662 | 662 | public function setCurrentSize($currentSize) |
663 | 663 | { |
664 | - $this->currentSize = $currentSize; |
|
664 | + $this->currentSize = $currentSize; |
|
665 | 665 | } |
666 | 666 | public function getCurrentSize() |
667 | 667 | { |
668 | - return $this->currentSize; |
|
668 | + return $this->currentSize; |
|
669 | 669 | } |
670 | 670 | public function setDescription($description) |
671 | 671 | { |
672 | - $this->description = $description; |
|
672 | + $this->description = $description; |
|
673 | 673 | } |
674 | 674 | public function getDescription() |
675 | 675 | { |
676 | - return $this->description; |
|
676 | + return $this->description; |
|
677 | 677 | } |
678 | 678 | public function setFingerprint($fingerprint) |
679 | 679 | { |
680 | - $this->fingerprint = $fingerprint; |
|
680 | + $this->fingerprint = $fingerprint; |
|
681 | 681 | } |
682 | 682 | public function getFingerprint() |
683 | 683 | { |
684 | - return $this->fingerprint; |
|
684 | + return $this->fingerprint; |
|
685 | 685 | } |
686 | 686 | public function setGroup($group) |
687 | 687 | { |
688 | - $this->group = $group; |
|
688 | + $this->group = $group; |
|
689 | 689 | } |
690 | 690 | public function getGroup() |
691 | 691 | { |
692 | - return $this->group; |
|
692 | + return $this->group; |
|
693 | 693 | } |
694 | 694 | public function setId($id) |
695 | 695 | { |
696 | - $this->id = $id; |
|
696 | + $this->id = $id; |
|
697 | 697 | } |
698 | 698 | public function getId() |
699 | 699 | { |
700 | - return $this->id; |
|
700 | + return $this->id; |
|
701 | 701 | } |
702 | 702 | public function setInstanceTemplate($instanceTemplate) |
703 | 703 | { |
704 | - $this->instanceTemplate = $instanceTemplate; |
|
704 | + $this->instanceTemplate = $instanceTemplate; |
|
705 | 705 | } |
706 | 706 | public function getInstanceTemplate() |
707 | 707 | { |
708 | - return $this->instanceTemplate; |
|
708 | + return $this->instanceTemplate; |
|
709 | 709 | } |
710 | 710 | public function setKind($kind) |
711 | 711 | { |
712 | - $this->kind = $kind; |
|
712 | + $this->kind = $kind; |
|
713 | 713 | } |
714 | 714 | public function getKind() |
715 | 715 | { |
716 | - return $this->kind; |
|
716 | + return $this->kind; |
|
717 | 717 | } |
718 | 718 | public function setName($name) |
719 | 719 | { |
720 | - $this->name = $name; |
|
720 | + $this->name = $name; |
|
721 | 721 | } |
722 | 722 | public function getName() |
723 | 723 | { |
724 | - return $this->name; |
|
724 | + return $this->name; |
|
725 | 725 | } |
726 | 726 | public function setSelfLink($selfLink) |
727 | 727 | { |
728 | - $this->selfLink = $selfLink; |
|
728 | + $this->selfLink = $selfLink; |
|
729 | 729 | } |
730 | 730 | public function getSelfLink() |
731 | 731 | { |
732 | - return $this->selfLink; |
|
732 | + return $this->selfLink; |
|
733 | 733 | } |
734 | 734 | public function setTargetPools($targetPools) |
735 | 735 | { |
736 | - $this->targetPools = $targetPools; |
|
736 | + $this->targetPools = $targetPools; |
|
737 | 737 | } |
738 | 738 | public function getTargetPools() |
739 | 739 | { |
740 | - return $this->targetPools; |
|
740 | + return $this->targetPools; |
|
741 | 741 | } |
742 | 742 | public function setTargetSize($targetSize) |
743 | 743 | { |
744 | - $this->targetSize = $targetSize; |
|
744 | + $this->targetSize = $targetSize; |
|
745 | 745 | } |
746 | 746 | public function getTargetSize() |
747 | 747 | { |
748 | - return $this->targetSize; |
|
748 | + return $this->targetSize; |
|
749 | 749 | } |
750 | 750 | } |
751 | 751 | |
@@ -764,43 +764,43 @@ discard block |
||
764 | 764 | |
765 | 765 | public function setId($id) |
766 | 766 | { |
767 | - $this->id = $id; |
|
767 | + $this->id = $id; |
|
768 | 768 | } |
769 | 769 | public function getId() |
770 | 770 | { |
771 | - return $this->id; |
|
771 | + return $this->id; |
|
772 | 772 | } |
773 | 773 | public function setItems($items) |
774 | 774 | { |
775 | - $this->items = $items; |
|
775 | + $this->items = $items; |
|
776 | 776 | } |
777 | 777 | public function getItems() |
778 | 778 | { |
779 | - return $this->items; |
|
779 | + return $this->items; |
|
780 | 780 | } |
781 | 781 | public function setKind($kind) |
782 | 782 | { |
783 | - $this->kind = $kind; |
|
783 | + $this->kind = $kind; |
|
784 | 784 | } |
785 | 785 | public function getKind() |
786 | 786 | { |
787 | - return $this->kind; |
|
787 | + return $this->kind; |
|
788 | 788 | } |
789 | 789 | public function setNextPageToken($nextPageToken) |
790 | 790 | { |
791 | - $this->nextPageToken = $nextPageToken; |
|
791 | + $this->nextPageToken = $nextPageToken; |
|
792 | 792 | } |
793 | 793 | public function getNextPageToken() |
794 | 794 | { |
795 | - return $this->nextPageToken; |
|
795 | + return $this->nextPageToken; |
|
796 | 796 | } |
797 | 797 | public function setSelfLink($selfLink) |
798 | 798 | { |
799 | - $this->selfLink = $selfLink; |
|
799 | + $this->selfLink = $selfLink; |
|
800 | 800 | } |
801 | 801 | public function getSelfLink() |
802 | 802 | { |
803 | - return $this->selfLink; |
|
803 | + return $this->selfLink; |
|
804 | 804 | } |
805 | 805 | } |
806 | 806 | |
@@ -814,11 +814,11 @@ discard block |
||
814 | 814 | |
815 | 815 | public function setInstances($instances) |
816 | 816 | { |
817 | - $this->instances = $instances; |
|
817 | + $this->instances = $instances; |
|
818 | 818 | } |
819 | 819 | public function getInstances() |
820 | 820 | { |
821 | - return $this->instances; |
|
821 | + return $this->instances; |
|
822 | 822 | } |
823 | 823 | } |
824 | 824 | |
@@ -832,11 +832,11 @@ discard block |
||
832 | 832 | |
833 | 833 | public function setInstances($instances) |
834 | 834 | { |
835 | - $this->instances = $instances; |
|
835 | + $this->instances = $instances; |
|
836 | 836 | } |
837 | 837 | public function getInstances() |
838 | 838 | { |
839 | - return $this->instances; |
|
839 | + return $this->instances; |
|
840 | 840 | } |
841 | 841 | } |
842 | 842 | |
@@ -850,11 +850,11 @@ discard block |
||
850 | 850 | |
851 | 851 | public function setInstances($instances) |
852 | 852 | { |
853 | - $this->instances = $instances; |
|
853 | + $this->instances = $instances; |
|
854 | 854 | } |
855 | 855 | public function getInstances() |
856 | 856 | { |
857 | - return $this->instances; |
|
857 | + return $this->instances; |
|
858 | 858 | } |
859 | 859 | } |
860 | 860 | |
@@ -867,11 +867,11 @@ discard block |
||
867 | 867 | |
868 | 868 | public function setInstanceTemplate($instanceTemplate) |
869 | 869 | { |
870 | - $this->instanceTemplate = $instanceTemplate; |
|
870 | + $this->instanceTemplate = $instanceTemplate; |
|
871 | 871 | } |
872 | 872 | public function getInstanceTemplate() |
873 | 873 | { |
874 | - return $this->instanceTemplate; |
|
874 | + return $this->instanceTemplate; |
|
875 | 875 | } |
876 | 876 | } |
877 | 877 | |
@@ -886,19 +886,19 @@ discard block |
||
886 | 886 | |
887 | 887 | public function setFingerprint($fingerprint) |
888 | 888 | { |
889 | - $this->fingerprint = $fingerprint; |
|
889 | + $this->fingerprint = $fingerprint; |
|
890 | 890 | } |
891 | 891 | public function getFingerprint() |
892 | 892 | { |
893 | - return $this->fingerprint; |
|
893 | + return $this->fingerprint; |
|
894 | 894 | } |
895 | 895 | public function setTargetPools($targetPools) |
896 | 896 | { |
897 | - $this->targetPools = $targetPools; |
|
897 | + $this->targetPools = $targetPools; |
|
898 | 898 | } |
899 | 899 | public function getTargetPools() |
900 | 900 | { |
901 | - return $this->targetPools; |
|
901 | + return $this->targetPools; |
|
902 | 902 | } |
903 | 903 | } |
904 | 904 | |
@@ -935,179 +935,179 @@ discard block |
||
935 | 935 | |
936 | 936 | public function setClientOperationId($clientOperationId) |
937 | 937 | { |
938 | - $this->clientOperationId = $clientOperationId; |
|
938 | + $this->clientOperationId = $clientOperationId; |
|
939 | 939 | } |
940 | 940 | public function getClientOperationId() |
941 | 941 | { |
942 | - return $this->clientOperationId; |
|
942 | + return $this->clientOperationId; |
|
943 | 943 | } |
944 | 944 | public function setCreationTimestamp($creationTimestamp) |
945 | 945 | { |
946 | - $this->creationTimestamp = $creationTimestamp; |
|
946 | + $this->creationTimestamp = $creationTimestamp; |
|
947 | 947 | } |
948 | 948 | public function getCreationTimestamp() |
949 | 949 | { |
950 | - return $this->creationTimestamp; |
|
950 | + return $this->creationTimestamp; |
|
951 | 951 | } |
952 | 952 | public function setEndTime($endTime) |
953 | 953 | { |
954 | - $this->endTime = $endTime; |
|
954 | + $this->endTime = $endTime; |
|
955 | 955 | } |
956 | 956 | public function getEndTime() |
957 | 957 | { |
958 | - return $this->endTime; |
|
958 | + return $this->endTime; |
|
959 | 959 | } |
960 | 960 | public function setError(Google_Service_Replicapool_OperationError $error) |
961 | 961 | { |
962 | - $this->error = $error; |
|
962 | + $this->error = $error; |
|
963 | 963 | } |
964 | 964 | public function getError() |
965 | 965 | { |
966 | - return $this->error; |
|
966 | + return $this->error; |
|
967 | 967 | } |
968 | 968 | public function setHttpErrorMessage($httpErrorMessage) |
969 | 969 | { |
970 | - $this->httpErrorMessage = $httpErrorMessage; |
|
970 | + $this->httpErrorMessage = $httpErrorMessage; |
|
971 | 971 | } |
972 | 972 | public function getHttpErrorMessage() |
973 | 973 | { |
974 | - return $this->httpErrorMessage; |
|
974 | + return $this->httpErrorMessage; |
|
975 | 975 | } |
976 | 976 | public function setHttpErrorStatusCode($httpErrorStatusCode) |
977 | 977 | { |
978 | - $this->httpErrorStatusCode = $httpErrorStatusCode; |
|
978 | + $this->httpErrorStatusCode = $httpErrorStatusCode; |
|
979 | 979 | } |
980 | 980 | public function getHttpErrorStatusCode() |
981 | 981 | { |
982 | - return $this->httpErrorStatusCode; |
|
982 | + return $this->httpErrorStatusCode; |
|
983 | 983 | } |
984 | 984 | public function setId($id) |
985 | 985 | { |
986 | - $this->id = $id; |
|
986 | + $this->id = $id; |
|
987 | 987 | } |
988 | 988 | public function getId() |
989 | 989 | { |
990 | - return $this->id; |
|
990 | + return $this->id; |
|
991 | 991 | } |
992 | 992 | public function setInsertTime($insertTime) |
993 | 993 | { |
994 | - $this->insertTime = $insertTime; |
|
994 | + $this->insertTime = $insertTime; |
|
995 | 995 | } |
996 | 996 | public function getInsertTime() |
997 | 997 | { |
998 | - return $this->insertTime; |
|
998 | + return $this->insertTime; |
|
999 | 999 | } |
1000 | 1000 | public function setKind($kind) |
1001 | 1001 | { |
1002 | - $this->kind = $kind; |
|
1002 | + $this->kind = $kind; |
|
1003 | 1003 | } |
1004 | 1004 | public function getKind() |
1005 | 1005 | { |
1006 | - return $this->kind; |
|
1006 | + return $this->kind; |
|
1007 | 1007 | } |
1008 | 1008 | public function setName($name) |
1009 | 1009 | { |
1010 | - $this->name = $name; |
|
1010 | + $this->name = $name; |
|
1011 | 1011 | } |
1012 | 1012 | public function getName() |
1013 | 1013 | { |
1014 | - return $this->name; |
|
1014 | + return $this->name; |
|
1015 | 1015 | } |
1016 | 1016 | public function setOperationType($operationType) |
1017 | 1017 | { |
1018 | - $this->operationType = $operationType; |
|
1018 | + $this->operationType = $operationType; |
|
1019 | 1019 | } |
1020 | 1020 | public function getOperationType() |
1021 | 1021 | { |
1022 | - return $this->operationType; |
|
1022 | + return $this->operationType; |
|
1023 | 1023 | } |
1024 | 1024 | public function setProgress($progress) |
1025 | 1025 | { |
1026 | - $this->progress = $progress; |
|
1026 | + $this->progress = $progress; |
|
1027 | 1027 | } |
1028 | 1028 | public function getProgress() |
1029 | 1029 | { |
1030 | - return $this->progress; |
|
1030 | + return $this->progress; |
|
1031 | 1031 | } |
1032 | 1032 | public function setRegion($region) |
1033 | 1033 | { |
1034 | - $this->region = $region; |
|
1034 | + $this->region = $region; |
|
1035 | 1035 | } |
1036 | 1036 | public function getRegion() |
1037 | 1037 | { |
1038 | - return $this->region; |
|
1038 | + return $this->region; |
|
1039 | 1039 | } |
1040 | 1040 | public function setSelfLink($selfLink) |
1041 | 1041 | { |
1042 | - $this->selfLink = $selfLink; |
|
1042 | + $this->selfLink = $selfLink; |
|
1043 | 1043 | } |
1044 | 1044 | public function getSelfLink() |
1045 | 1045 | { |
1046 | - return $this->selfLink; |
|
1046 | + return $this->selfLink; |
|
1047 | 1047 | } |
1048 | 1048 | public function setStartTime($startTime) |
1049 | 1049 | { |
1050 | - $this->startTime = $startTime; |
|
1050 | + $this->startTime = $startTime; |
|
1051 | 1051 | } |
1052 | 1052 | public function getStartTime() |
1053 | 1053 | { |
1054 | - return $this->startTime; |
|
1054 | + return $this->startTime; |
|
1055 | 1055 | } |
1056 | 1056 | public function setStatus($status) |
1057 | 1057 | { |
1058 | - $this->status = $status; |
|
1058 | + $this->status = $status; |
|
1059 | 1059 | } |
1060 | 1060 | public function getStatus() |
1061 | 1061 | { |
1062 | - return $this->status; |
|
1062 | + return $this->status; |
|
1063 | 1063 | } |
1064 | 1064 | public function setStatusMessage($statusMessage) |
1065 | 1065 | { |
1066 | - $this->statusMessage = $statusMessage; |
|
1066 | + $this->statusMessage = $statusMessage; |
|
1067 | 1067 | } |
1068 | 1068 | public function getStatusMessage() |
1069 | 1069 | { |
1070 | - return $this->statusMessage; |
|
1070 | + return $this->statusMessage; |
|
1071 | 1071 | } |
1072 | 1072 | public function setTargetId($targetId) |
1073 | 1073 | { |
1074 | - $this->targetId = $targetId; |
|
1074 | + $this->targetId = $targetId; |
|
1075 | 1075 | } |
1076 | 1076 | public function getTargetId() |
1077 | 1077 | { |
1078 | - return $this->targetId; |
|
1078 | + return $this->targetId; |
|
1079 | 1079 | } |
1080 | 1080 | public function setTargetLink($targetLink) |
1081 | 1081 | { |
1082 | - $this->targetLink = $targetLink; |
|
1082 | + $this->targetLink = $targetLink; |
|
1083 | 1083 | } |
1084 | 1084 | public function getTargetLink() |
1085 | 1085 | { |
1086 | - return $this->targetLink; |
|
1086 | + return $this->targetLink; |
|
1087 | 1087 | } |
1088 | 1088 | public function setUser($user) |
1089 | 1089 | { |
1090 | - $this->user = $user; |
|
1090 | + $this->user = $user; |
|
1091 | 1091 | } |
1092 | 1092 | public function getUser() |
1093 | 1093 | { |
1094 | - return $this->user; |
|
1094 | + return $this->user; |
|
1095 | 1095 | } |
1096 | 1096 | public function setWarnings($warnings) |
1097 | 1097 | { |
1098 | - $this->warnings = $warnings; |
|
1098 | + $this->warnings = $warnings; |
|
1099 | 1099 | } |
1100 | 1100 | public function getWarnings() |
1101 | 1101 | { |
1102 | - return $this->warnings; |
|
1102 | + return $this->warnings; |
|
1103 | 1103 | } |
1104 | 1104 | public function setZone($zone) |
1105 | 1105 | { |
1106 | - $this->zone = $zone; |
|
1106 | + $this->zone = $zone; |
|
1107 | 1107 | } |
1108 | 1108 | public function getZone() |
1109 | 1109 | { |
1110 | - return $this->zone; |
|
1110 | + return $this->zone; |
|
1111 | 1111 | } |
1112 | 1112 | } |
1113 | 1113 | |
@@ -1122,11 +1122,11 @@ discard block |
||
1122 | 1122 | |
1123 | 1123 | public function setErrors($errors) |
1124 | 1124 | { |
1125 | - $this->errors = $errors; |
|
1125 | + $this->errors = $errors; |
|
1126 | 1126 | } |
1127 | 1127 | public function getErrors() |
1128 | 1128 | { |
1129 | - return $this->errors; |
|
1129 | + return $this->errors; |
|
1130 | 1130 | } |
1131 | 1131 | } |
1132 | 1132 | |
@@ -1141,27 +1141,27 @@ discard block |
||
1141 | 1141 | |
1142 | 1142 | public function setCode($code) |
1143 | 1143 | { |
1144 | - $this->code = $code; |
|
1144 | + $this->code = $code; |
|
1145 | 1145 | } |
1146 | 1146 | public function getCode() |
1147 | 1147 | { |
1148 | - return $this->code; |
|
1148 | + return $this->code; |
|
1149 | 1149 | } |
1150 | 1150 | public function setLocation($location) |
1151 | 1151 | { |
1152 | - $this->location = $location; |
|
1152 | + $this->location = $location; |
|
1153 | 1153 | } |
1154 | 1154 | public function getLocation() |
1155 | 1155 | { |
1156 | - return $this->location; |
|
1156 | + return $this->location; |
|
1157 | 1157 | } |
1158 | 1158 | public function setMessage($message) |
1159 | 1159 | { |
1160 | - $this->message = $message; |
|
1160 | + $this->message = $message; |
|
1161 | 1161 | } |
1162 | 1162 | public function getMessage() |
1163 | 1163 | { |
1164 | - return $this->message; |
|
1164 | + return $this->message; |
|
1165 | 1165 | } |
1166 | 1166 | } |
1167 | 1167 | |
@@ -1180,43 +1180,43 @@ discard block |
||
1180 | 1180 | |
1181 | 1181 | public function setId($id) |
1182 | 1182 | { |
1183 | - $this->id = $id; |
|
1183 | + $this->id = $id; |
|
1184 | 1184 | } |
1185 | 1185 | public function getId() |
1186 | 1186 | { |
1187 | - return $this->id; |
|
1187 | + return $this->id; |
|
1188 | 1188 | } |
1189 | 1189 | public function setItems($items) |
1190 | 1190 | { |
1191 | - $this->items = $items; |
|
1191 | + $this->items = $items; |
|
1192 | 1192 | } |
1193 | 1193 | public function getItems() |
1194 | 1194 | { |
1195 | - return $this->items; |
|
1195 | + return $this->items; |
|
1196 | 1196 | } |
1197 | 1197 | public function setKind($kind) |
1198 | 1198 | { |
1199 | - $this->kind = $kind; |
|
1199 | + $this->kind = $kind; |
|
1200 | 1200 | } |
1201 | 1201 | public function getKind() |
1202 | 1202 | { |
1203 | - return $this->kind; |
|
1203 | + return $this->kind; |
|
1204 | 1204 | } |
1205 | 1205 | public function setNextPageToken($nextPageToken) |
1206 | 1206 | { |
1207 | - $this->nextPageToken = $nextPageToken; |
|
1207 | + $this->nextPageToken = $nextPageToken; |
|
1208 | 1208 | } |
1209 | 1209 | public function getNextPageToken() |
1210 | 1210 | { |
1211 | - return $this->nextPageToken; |
|
1211 | + return $this->nextPageToken; |
|
1212 | 1212 | } |
1213 | 1213 | public function setSelfLink($selfLink) |
1214 | 1214 | { |
1215 | - $this->selfLink = $selfLink; |
|
1215 | + $this->selfLink = $selfLink; |
|
1216 | 1216 | } |
1217 | 1217 | public function getSelfLink() |
1218 | 1218 | { |
1219 | - return $this->selfLink; |
|
1219 | + return $this->selfLink; |
|
1220 | 1220 | } |
1221 | 1221 | } |
1222 | 1222 | |
@@ -1233,27 +1233,27 @@ discard block |
||
1233 | 1233 | |
1234 | 1234 | public function setCode($code) |
1235 | 1235 | { |
1236 | - $this->code = $code; |
|
1236 | + $this->code = $code; |
|
1237 | 1237 | } |
1238 | 1238 | public function getCode() |
1239 | 1239 | { |
1240 | - return $this->code; |
|
1240 | + return $this->code; |
|
1241 | 1241 | } |
1242 | 1242 | public function setData($data) |
1243 | 1243 | { |
1244 | - $this->data = $data; |
|
1244 | + $this->data = $data; |
|
1245 | 1245 | } |
1246 | 1246 | public function getData() |
1247 | 1247 | { |
1248 | - return $this->data; |
|
1248 | + return $this->data; |
|
1249 | 1249 | } |
1250 | 1250 | public function setMessage($message) |
1251 | 1251 | { |
1252 | - $this->message = $message; |
|
1252 | + $this->message = $message; |
|
1253 | 1253 | } |
1254 | 1254 | public function getMessage() |
1255 | 1255 | { |
1256 | - return $this->message; |
|
1256 | + return $this->message; |
|
1257 | 1257 | } |
1258 | 1258 | } |
1259 | 1259 | |
@@ -1267,19 +1267,19 @@ discard block |
||
1267 | 1267 | |
1268 | 1268 | public function setKey($key) |
1269 | 1269 | { |
1270 | - $this->key = $key; |
|
1270 | + $this->key = $key; |
|
1271 | 1271 | } |
1272 | 1272 | public function getKey() |
1273 | 1273 | { |
1274 | - return $this->key; |
|
1274 | + return $this->key; |
|
1275 | 1275 | } |
1276 | 1276 | public function setValue($value) |
1277 | 1277 | { |
1278 | - $this->value = $value; |
|
1278 | + $this->value = $value; |
|
1279 | 1279 | } |
1280 | 1280 | public function getValue() |
1281 | 1281 | { |
1282 | - return $this->value; |
|
1282 | + return $this->value; |
|
1283 | 1283 | } |
1284 | 1284 | } |
1285 | 1285 | |
@@ -1293,18 +1293,18 @@ discard block |
||
1293 | 1293 | |
1294 | 1294 | public function setActionType($actionType) |
1295 | 1295 | { |
1296 | - $this->actionType = $actionType; |
|
1296 | + $this->actionType = $actionType; |
|
1297 | 1297 | } |
1298 | 1298 | public function getActionType() |
1299 | 1299 | { |
1300 | - return $this->actionType; |
|
1300 | + return $this->actionType; |
|
1301 | 1301 | } |
1302 | 1302 | public function setHealthCheck($healthCheck) |
1303 | 1303 | { |
1304 | - $this->healthCheck = $healthCheck; |
|
1304 | + $this->healthCheck = $healthCheck; |
|
1305 | 1305 | } |
1306 | 1306 | public function getHealthCheck() |
1307 | 1307 | { |
1308 | - return $this->healthCheck; |
|
1308 | + return $this->healthCheck; |
|
1309 | 1309 | } |
1310 | 1310 | } |
@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | 'required' => true, |
85 | 85 | ), |
86 | 86 | ), |
87 | - ),'delete' => array( |
|
87 | + ), 'delete' => array( |
|
88 | 88 | 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}', |
89 | 89 | 'httpMethod' => 'DELETE', |
90 | 90 | 'parameters' => array( |
@@ -104,7 +104,7 @@ discard block |
||
104 | 104 | 'required' => true, |
105 | 105 | ), |
106 | 106 | ), |
107 | - ),'deleteInstances' => array( |
|
107 | + ), 'deleteInstances' => array( |
|
108 | 108 | 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deleteInstances', |
109 | 109 | 'httpMethod' => 'POST', |
110 | 110 | 'parameters' => array( |
@@ -124,7 +124,7 @@ discard block |
||
124 | 124 | 'required' => true, |
125 | 125 | ), |
126 | 126 | ), |
127 | - ),'get' => array( |
|
127 | + ), 'get' => array( |
|
128 | 128 | 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}', |
129 | 129 | 'httpMethod' => 'GET', |
130 | 130 | 'parameters' => array( |
@@ -144,7 +144,7 @@ discard block |
||
144 | 144 | 'required' => true, |
145 | 145 | ), |
146 | 146 | ), |
147 | - ),'insert' => array( |
|
147 | + ), 'insert' => array( |
|
148 | 148 | 'path' => '{project}/zones/{zone}/instanceGroupManagers', |
149 | 149 | 'httpMethod' => 'POST', |
150 | 150 | 'parameters' => array( |
@@ -164,7 +164,7 @@ discard block |
||
164 | 164 | 'required' => true, |
165 | 165 | ), |
166 | 166 | ), |
167 | - ),'list' => array( |
|
167 | + ), 'list' => array( |
|
168 | 168 | 'path' => '{project}/zones/{zone}/instanceGroupManagers', |
169 | 169 | 'httpMethod' => 'GET', |
170 | 170 | 'parameters' => array( |
@@ -191,7 +191,7 @@ discard block |
||
191 | 191 | 'type' => 'integer', |
192 | 192 | ), |
193 | 193 | ), |
194 | - ),'recreateInstances' => array( |
|
194 | + ), 'recreateInstances' => array( |
|
195 | 195 | 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/recreateInstances', |
196 | 196 | 'httpMethod' => 'POST', |
197 | 197 | 'parameters' => array( |
@@ -211,7 +211,7 @@ discard block |
||
211 | 211 | 'required' => true, |
212 | 212 | ), |
213 | 213 | ), |
214 | - ),'resize' => array( |
|
214 | + ), 'resize' => array( |
|
215 | 215 | 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resize', |
216 | 216 | 'httpMethod' => 'POST', |
217 | 217 | 'parameters' => array( |
@@ -236,7 +236,7 @@ discard block |
||
236 | 236 | 'required' => true, |
237 | 237 | ), |
238 | 238 | ), |
239 | - ),'setInstanceTemplate' => array( |
|
239 | + ), 'setInstanceTemplate' => array( |
|
240 | 240 | 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate', |
241 | 241 | 'httpMethod' => 'POST', |
242 | 242 | 'parameters' => array( |
@@ -256,7 +256,7 @@ discard block |
||
256 | 256 | 'required' => true, |
257 | 257 | ), |
258 | 258 | ), |
259 | - ),'setTargetPools' => array( |
|
259 | + ), 'setTargetPools' => array( |
|
260 | 260 | 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setTargetPools', |
261 | 261 | 'httpMethod' => 'POST', |
262 | 262 | 'parameters' => array( |
@@ -306,7 +306,7 @@ discard block |
||
306 | 306 | 'required' => true, |
307 | 307 | ), |
308 | 308 | ), |
309 | - ),'list' => array( |
|
309 | + ), 'list' => array( |
|
310 | 310 | 'path' => '{project}/zones/{zone}/operations', |
311 | 311 | 'httpMethod' => 'GET', |
312 | 312 | 'parameters' => array( |
@@ -332,7 +332,7 @@ |
||
332 | 332 | * @param string $project The Google Developers Console project name. |
333 | 333 | * @param string $zone The name of the zone in which the update's target |
334 | 334 | * resides. |
335 | - * @param Google_RollingUpdate $postBody |
|
335 | + * @param Google_Service_Replicapoolupdater_RollingUpdate $postBody |
|
336 | 336 | * @param array $optParams Optional parameters. |
337 | 337 | * @return Google_Service_Replicapoolupdater_Operation |
338 | 338 | */ |
@@ -33,13 +33,13 @@ discard block |
||
33 | 33 | { |
34 | 34 | /** View and manage your data across Google Cloud Platform services. */ |
35 | 35 | const CLOUD_PLATFORM = |
36 | - "https://www.googleapis.com/auth/cloud-platform"; |
|
36 | + "https://www.googleapis.com/auth/cloud-platform"; |
|
37 | 37 | /** View and manage replica pools. */ |
38 | 38 | const REPLICAPOOL = |
39 | - "https://www.googleapis.com/auth/replicapool"; |
|
39 | + "https://www.googleapis.com/auth/replicapool"; |
|
40 | 40 | /** View replica pools. */ |
41 | 41 | const REPLICAPOOL_READONLY = |
42 | - "https://www.googleapis.com/auth/replicapool.readonly"; |
|
42 | + "https://www.googleapis.com/auth/replicapool.readonly"; |
|
43 | 43 | |
44 | 44 | public $rollingUpdates; |
45 | 45 | public $zoneOperations; |
@@ -52,230 +52,230 @@ discard block |
||
52 | 52 | */ |
53 | 53 | public function __construct(Google_Client $client) |
54 | 54 | { |
55 | - parent::__construct($client); |
|
56 | - $this->rootUrl = 'https://www.googleapis.com/'; |
|
57 | - $this->servicePath = 'replicapoolupdater/v1beta1/projects/'; |
|
58 | - $this->version = 'v1beta1'; |
|
59 | - $this->serviceName = 'replicapoolupdater'; |
|
55 | + parent::__construct($client); |
|
56 | + $this->rootUrl = 'https://www.googleapis.com/'; |
|
57 | + $this->servicePath = 'replicapoolupdater/v1beta1/projects/'; |
|
58 | + $this->version = 'v1beta1'; |
|
59 | + $this->serviceName = 'replicapoolupdater'; |
|
60 | 60 | |
61 | - $this->rollingUpdates = new Google_Service_Replicapoolupdater_RollingUpdates_Resource( |
|
62 | - $this, |
|
63 | - $this->serviceName, |
|
64 | - 'rollingUpdates', |
|
65 | - array( |
|
66 | - 'methods' => array( |
|
67 | - 'cancel' => array( |
|
68 | - 'path' => '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}/cancel', |
|
69 | - 'httpMethod' => 'POST', |
|
70 | - 'parameters' => array( |
|
71 | - 'project' => array( |
|
72 | - 'location' => 'path', |
|
73 | - 'type' => 'string', |
|
74 | - 'required' => true, |
|
75 | - ), |
|
76 | - 'zone' => array( |
|
77 | - 'location' => 'path', |
|
78 | - 'type' => 'string', |
|
79 | - 'required' => true, |
|
80 | - ), |
|
81 | - 'rollingUpdate' => array( |
|
82 | - 'location' => 'path', |
|
83 | - 'type' => 'string', |
|
84 | - 'required' => true, |
|
85 | - ), |
|
86 | - ), |
|
87 | - ),'get' => array( |
|
88 | - 'path' => '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}', |
|
89 | - 'httpMethod' => 'GET', |
|
90 | - 'parameters' => array( |
|
91 | - 'project' => array( |
|
92 | - 'location' => 'path', |
|
93 | - 'type' => 'string', |
|
94 | - 'required' => true, |
|
95 | - ), |
|
96 | - 'zone' => array( |
|
97 | - 'location' => 'path', |
|
98 | - 'type' => 'string', |
|
99 | - 'required' => true, |
|
100 | - ), |
|
101 | - 'rollingUpdate' => array( |
|
102 | - 'location' => 'path', |
|
103 | - 'type' => 'string', |
|
104 | - 'required' => true, |
|
105 | - ), |
|
106 | - ), |
|
107 | - ),'insert' => array( |
|
108 | - 'path' => '{project}/zones/{zone}/rollingUpdates', |
|
109 | - 'httpMethod' => 'POST', |
|
110 | - 'parameters' => array( |
|
111 | - 'project' => array( |
|
112 | - 'location' => 'path', |
|
113 | - 'type' => 'string', |
|
114 | - 'required' => true, |
|
115 | - ), |
|
116 | - 'zone' => array( |
|
117 | - 'location' => 'path', |
|
118 | - 'type' => 'string', |
|
119 | - 'required' => true, |
|
120 | - ), |
|
121 | - ), |
|
122 | - ),'list' => array( |
|
123 | - 'path' => '{project}/zones/{zone}/rollingUpdates', |
|
124 | - 'httpMethod' => 'GET', |
|
125 | - 'parameters' => array( |
|
126 | - 'project' => array( |
|
127 | - 'location' => 'path', |
|
128 | - 'type' => 'string', |
|
129 | - 'required' => true, |
|
130 | - ), |
|
131 | - 'zone' => array( |
|
132 | - 'location' => 'path', |
|
133 | - 'type' => 'string', |
|
134 | - 'required' => true, |
|
135 | - ), |
|
136 | - 'maxResults' => array( |
|
137 | - 'location' => 'query', |
|
138 | - 'type' => 'integer', |
|
139 | - ), |
|
140 | - 'filter' => array( |
|
141 | - 'location' => 'query', |
|
142 | - 'type' => 'string', |
|
143 | - ), |
|
144 | - 'pageToken' => array( |
|
145 | - 'location' => 'query', |
|
146 | - 'type' => 'string', |
|
147 | - ), |
|
148 | - 'instanceGroupManager' => array( |
|
149 | - 'location' => 'query', |
|
150 | - 'type' => 'string', |
|
151 | - ), |
|
152 | - ), |
|
153 | - ),'listInstanceUpdates' => array( |
|
154 | - 'path' => '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}/instanceUpdates', |
|
155 | - 'httpMethod' => 'GET', |
|
156 | - 'parameters' => array( |
|
157 | - 'project' => array( |
|
158 | - 'location' => 'path', |
|
159 | - 'type' => 'string', |
|
160 | - 'required' => true, |
|
161 | - ), |
|
162 | - 'zone' => array( |
|
163 | - 'location' => 'path', |
|
164 | - 'type' => 'string', |
|
165 | - 'required' => true, |
|
166 | - ), |
|
167 | - 'rollingUpdate' => array( |
|
168 | - 'location' => 'path', |
|
169 | - 'type' => 'string', |
|
170 | - 'required' => true, |
|
171 | - ), |
|
172 | - 'maxResults' => array( |
|
173 | - 'location' => 'query', |
|
174 | - 'type' => 'integer', |
|
175 | - ), |
|
176 | - 'filter' => array( |
|
177 | - 'location' => 'query', |
|
178 | - 'type' => 'string', |
|
179 | - ), |
|
180 | - 'pageToken' => array( |
|
181 | - 'location' => 'query', |
|
182 | - 'type' => 'string', |
|
183 | - ), |
|
184 | - ), |
|
185 | - ),'pause' => array( |
|
186 | - 'path' => '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}/pause', |
|
187 | - 'httpMethod' => 'POST', |
|
188 | - 'parameters' => array( |
|
189 | - 'project' => array( |
|
190 | - 'location' => 'path', |
|
191 | - 'type' => 'string', |
|
192 | - 'required' => true, |
|
193 | - ), |
|
194 | - 'zone' => array( |
|
195 | - 'location' => 'path', |
|
196 | - 'type' => 'string', |
|
197 | - 'required' => true, |
|
198 | - ), |
|
199 | - 'rollingUpdate' => array( |
|
200 | - 'location' => 'path', |
|
201 | - 'type' => 'string', |
|
202 | - 'required' => true, |
|
203 | - ), |
|
204 | - ), |
|
205 | - ),'resume' => array( |
|
206 | - 'path' => '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}/resume', |
|
207 | - 'httpMethod' => 'POST', |
|
208 | - 'parameters' => array( |
|
209 | - 'project' => array( |
|
210 | - 'location' => 'path', |
|
211 | - 'type' => 'string', |
|
212 | - 'required' => true, |
|
213 | - ), |
|
214 | - 'zone' => array( |
|
215 | - 'location' => 'path', |
|
216 | - 'type' => 'string', |
|
217 | - 'required' => true, |
|
218 | - ), |
|
219 | - 'rollingUpdate' => array( |
|
220 | - 'location' => 'path', |
|
221 | - 'type' => 'string', |
|
222 | - 'required' => true, |
|
223 | - ), |
|
224 | - ), |
|
225 | - ),'rollback' => array( |
|
226 | - 'path' => '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}/rollback', |
|
227 | - 'httpMethod' => 'POST', |
|
228 | - 'parameters' => array( |
|
229 | - 'project' => array( |
|
230 | - 'location' => 'path', |
|
231 | - 'type' => 'string', |
|
232 | - 'required' => true, |
|
233 | - ), |
|
234 | - 'zone' => array( |
|
235 | - 'location' => 'path', |
|
236 | - 'type' => 'string', |
|
237 | - 'required' => true, |
|
238 | - ), |
|
239 | - 'rollingUpdate' => array( |
|
240 | - 'location' => 'path', |
|
241 | - 'type' => 'string', |
|
242 | - 'required' => true, |
|
243 | - ), |
|
244 | - ), |
|
245 | - ), |
|
246 | - ) |
|
247 | - ) |
|
248 | - ); |
|
249 | - $this->zoneOperations = new Google_Service_Replicapoolupdater_ZoneOperations_Resource( |
|
250 | - $this, |
|
251 | - $this->serviceName, |
|
252 | - 'zoneOperations', |
|
253 | - array( |
|
254 | - 'methods' => array( |
|
255 | - 'get' => array( |
|
256 | - 'path' => '{project}/zones/{zone}/operations/{operation}', |
|
257 | - 'httpMethod' => 'GET', |
|
258 | - 'parameters' => array( |
|
259 | - 'project' => array( |
|
260 | - 'location' => 'path', |
|
261 | - 'type' => 'string', |
|
262 | - 'required' => true, |
|
263 | - ), |
|
264 | - 'zone' => array( |
|
265 | - 'location' => 'path', |
|
266 | - 'type' => 'string', |
|
267 | - 'required' => true, |
|
268 | - ), |
|
269 | - 'operation' => array( |
|
270 | - 'location' => 'path', |
|
271 | - 'type' => 'string', |
|
272 | - 'required' => true, |
|
273 | - ), |
|
274 | - ), |
|
275 | - ), |
|
276 | - ) |
|
277 | - ) |
|
278 | - ); |
|
61 | + $this->rollingUpdates = new Google_Service_Replicapoolupdater_RollingUpdates_Resource( |
|
62 | + $this, |
|
63 | + $this->serviceName, |
|
64 | + 'rollingUpdates', |
|
65 | + array( |
|
66 | + 'methods' => array( |
|
67 | + 'cancel' => array( |
|
68 | + 'path' => '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}/cancel', |
|
69 | + 'httpMethod' => 'POST', |
|
70 | + 'parameters' => array( |
|
71 | + 'project' => array( |
|
72 | + 'location' => 'path', |
|
73 | + 'type' => 'string', |
|
74 | + 'required' => true, |
|
75 | + ), |
|
76 | + 'zone' => array( |
|
77 | + 'location' => 'path', |
|
78 | + 'type' => 'string', |
|
79 | + 'required' => true, |
|
80 | + ), |
|
81 | + 'rollingUpdate' => array( |
|
82 | + 'location' => 'path', |
|
83 | + 'type' => 'string', |
|
84 | + 'required' => true, |
|
85 | + ), |
|
86 | + ), |
|
87 | + ),'get' => array( |
|
88 | + 'path' => '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}', |
|
89 | + 'httpMethod' => 'GET', |
|
90 | + 'parameters' => array( |
|
91 | + 'project' => array( |
|
92 | + 'location' => 'path', |
|
93 | + 'type' => 'string', |
|
94 | + 'required' => true, |
|
95 | + ), |
|
96 | + 'zone' => array( |
|
97 | + 'location' => 'path', |
|
98 | + 'type' => 'string', |
|
99 | + 'required' => true, |
|
100 | + ), |
|
101 | + 'rollingUpdate' => array( |
|
102 | + 'location' => 'path', |
|
103 | + 'type' => 'string', |
|
104 | + 'required' => true, |
|
105 | + ), |
|
106 | + ), |
|
107 | + ),'insert' => array( |
|
108 | + 'path' => '{project}/zones/{zone}/rollingUpdates', |
|
109 | + 'httpMethod' => 'POST', |
|
110 | + 'parameters' => array( |
|
111 | + 'project' => array( |
|
112 | + 'location' => 'path', |
|
113 | + 'type' => 'string', |
|
114 | + 'required' => true, |
|
115 | + ), |
|
116 | + 'zone' => array( |
|
117 | + 'location' => 'path', |
|
118 | + 'type' => 'string', |
|
119 | + 'required' => true, |
|
120 | + ), |
|
121 | + ), |
|
122 | + ),'list' => array( |
|
123 | + 'path' => '{project}/zones/{zone}/rollingUpdates', |
|
124 | + 'httpMethod' => 'GET', |
|
125 | + 'parameters' => array( |
|
126 | + 'project' => array( |
|
127 | + 'location' => 'path', |
|
128 | + 'type' => 'string', |
|
129 | + 'required' => true, |
|
130 | + ), |
|
131 | + 'zone' => array( |
|
132 | + 'location' => 'path', |
|
133 | + 'type' => 'string', |
|
134 | + 'required' => true, |
|
135 | + ), |
|
136 | + 'maxResults' => array( |
|
137 | + 'location' => 'query', |
|
138 | + 'type' => 'integer', |
|
139 | + ), |
|
140 | + 'filter' => array( |
|
141 | + 'location' => 'query', |
|
142 | + 'type' => 'string', |
|
143 | + ), |
|
144 | + 'pageToken' => array( |
|
145 | + 'location' => 'query', |
|
146 | + 'type' => 'string', |
|
147 | + ), |
|
148 | + 'instanceGroupManager' => array( |
|
149 | + 'location' => 'query', |
|
150 | + 'type' => 'string', |
|
151 | + ), |
|
152 | + ), |
|
153 | + ),'listInstanceUpdates' => array( |
|
154 | + 'path' => '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}/instanceUpdates', |
|
155 | + 'httpMethod' => 'GET', |
|
156 | + 'parameters' => array( |
|
157 | + 'project' => array( |
|
158 | + 'location' => 'path', |
|
159 | + 'type' => 'string', |
|
160 | + 'required' => true, |
|
161 | + ), |
|
162 | + 'zone' => array( |
|
163 | + 'location' => 'path', |
|
164 | + 'type' => 'string', |
|
165 | + 'required' => true, |
|
166 | + ), |
|
167 | + 'rollingUpdate' => array( |
|
168 | + 'location' => 'path', |
|
169 | + 'type' => 'string', |
|
170 | + 'required' => true, |
|
171 | + ), |
|
172 | + 'maxResults' => array( |
|
173 | + 'location' => 'query', |
|
174 | + 'type' => 'integer', |
|
175 | + ), |
|
176 | + 'filter' => array( |
|
177 | + 'location' => 'query', |
|
178 | + 'type' => 'string', |
|
179 | + ), |
|
180 | + 'pageToken' => array( |
|
181 | + 'location' => 'query', |
|
182 | + 'type' => 'string', |
|
183 | + ), |
|
184 | + ), |
|
185 | + ),'pause' => array( |
|
186 | + 'path' => '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}/pause', |
|
187 | + 'httpMethod' => 'POST', |
|
188 | + 'parameters' => array( |
|
189 | + 'project' => array( |
|
190 | + 'location' => 'path', |
|
191 | + 'type' => 'string', |
|
192 | + 'required' => true, |
|
193 | + ), |
|
194 | + 'zone' => array( |
|
195 | + 'location' => 'path', |
|
196 | + 'type' => 'string', |
|
197 | + 'required' => true, |
|
198 | + ), |
|
199 | + 'rollingUpdate' => array( |
|
200 | + 'location' => 'path', |
|
201 | + 'type' => 'string', |
|
202 | + 'required' => true, |
|
203 | + ), |
|
204 | + ), |
|
205 | + ),'resume' => array( |
|
206 | + 'path' => '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}/resume', |
|
207 | + 'httpMethod' => 'POST', |
|
208 | + 'parameters' => array( |
|
209 | + 'project' => array( |
|
210 | + 'location' => 'path', |
|
211 | + 'type' => 'string', |
|
212 | + 'required' => true, |
|
213 | + ), |
|
214 | + 'zone' => array( |
|
215 | + 'location' => 'path', |
|
216 | + 'type' => 'string', |
|
217 | + 'required' => true, |
|
218 | + ), |
|
219 | + 'rollingUpdate' => array( |
|
220 | + 'location' => 'path', |
|
221 | + 'type' => 'string', |
|
222 | + 'required' => true, |
|
223 | + ), |
|
224 | + ), |
|
225 | + ),'rollback' => array( |
|
226 | + 'path' => '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}/rollback', |
|
227 | + 'httpMethod' => 'POST', |
|
228 | + 'parameters' => array( |
|
229 | + 'project' => array( |
|
230 | + 'location' => 'path', |
|
231 | + 'type' => 'string', |
|
232 | + 'required' => true, |
|
233 | + ), |
|
234 | + 'zone' => array( |
|
235 | + 'location' => 'path', |
|
236 | + 'type' => 'string', |
|
237 | + 'required' => true, |
|
238 | + ), |
|
239 | + 'rollingUpdate' => array( |
|
240 | + 'location' => 'path', |
|
241 | + 'type' => 'string', |
|
242 | + 'required' => true, |
|
243 | + ), |
|
244 | + ), |
|
245 | + ), |
|
246 | + ) |
|
247 | + ) |
|
248 | + ); |
|
249 | + $this->zoneOperations = new Google_Service_Replicapoolupdater_ZoneOperations_Resource( |
|
250 | + $this, |
|
251 | + $this->serviceName, |
|
252 | + 'zoneOperations', |
|
253 | + array( |
|
254 | + 'methods' => array( |
|
255 | + 'get' => array( |
|
256 | + 'path' => '{project}/zones/{zone}/operations/{operation}', |
|
257 | + 'httpMethod' => 'GET', |
|
258 | + 'parameters' => array( |
|
259 | + 'project' => array( |
|
260 | + 'location' => 'path', |
|
261 | + 'type' => 'string', |
|
262 | + 'required' => true, |
|
263 | + ), |
|
264 | + 'zone' => array( |
|
265 | + 'location' => 'path', |
|
266 | + 'type' => 'string', |
|
267 | + 'required' => true, |
|
268 | + ), |
|
269 | + 'operation' => array( |
|
270 | + 'location' => 'path', |
|
271 | + 'type' => 'string', |
|
272 | + 'required' => true, |
|
273 | + ), |
|
274 | + ), |
|
275 | + ), |
|
276 | + ) |
|
277 | + ) |
|
278 | + ); |
|
279 | 279 | } |
280 | 280 | } |
281 | 281 | |
@@ -304,9 +304,9 @@ discard block |
||
304 | 304 | */ |
305 | 305 | public function cancel($project, $zone, $rollingUpdate, $optParams = array()) |
306 | 306 | { |
307 | - $params = array('project' => $project, 'zone' => $zone, 'rollingUpdate' => $rollingUpdate); |
|
308 | - $params = array_merge($params, $optParams); |
|
309 | - return $this->call('cancel', array($params), "Google_Service_Replicapoolupdater_Operation"); |
|
307 | + $params = array('project' => $project, 'zone' => $zone, 'rollingUpdate' => $rollingUpdate); |
|
308 | + $params = array_merge($params, $optParams); |
|
309 | + return $this->call('cancel', array($params), "Google_Service_Replicapoolupdater_Operation"); |
|
310 | 310 | } |
311 | 311 | |
312 | 312 | /** |
@@ -321,9 +321,9 @@ discard block |
||
321 | 321 | */ |
322 | 322 | public function get($project, $zone, $rollingUpdate, $optParams = array()) |
323 | 323 | { |
324 | - $params = array('project' => $project, 'zone' => $zone, 'rollingUpdate' => $rollingUpdate); |
|
325 | - $params = array_merge($params, $optParams); |
|
326 | - return $this->call('get', array($params), "Google_Service_Replicapoolupdater_RollingUpdate"); |
|
324 | + $params = array('project' => $project, 'zone' => $zone, 'rollingUpdate' => $rollingUpdate); |
|
325 | + $params = array_merge($params, $optParams); |
|
326 | + return $this->call('get', array($params), "Google_Service_Replicapoolupdater_RollingUpdate"); |
|
327 | 327 | } |
328 | 328 | |
329 | 329 | /** |
@@ -338,9 +338,9 @@ discard block |
||
338 | 338 | */ |
339 | 339 | public function insert($project, $zone, Google_Service_Replicapoolupdater_RollingUpdate $postBody, $optParams = array()) |
340 | 340 | { |
341 | - $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody); |
|
342 | - $params = array_merge($params, $optParams); |
|
343 | - return $this->call('insert', array($params), "Google_Service_Replicapoolupdater_Operation"); |
|
341 | + $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody); |
|
342 | + $params = array_merge($params, $optParams); |
|
343 | + return $this->call('insert', array($params), "Google_Service_Replicapoolupdater_Operation"); |
|
344 | 344 | } |
345 | 345 | |
346 | 346 | /** |
@@ -365,9 +365,9 @@ discard block |
||
365 | 365 | */ |
366 | 366 | public function listRollingUpdates($project, $zone, $optParams = array()) |
367 | 367 | { |
368 | - $params = array('project' => $project, 'zone' => $zone); |
|
369 | - $params = array_merge($params, $optParams); |
|
370 | - return $this->call('list', array($params), "Google_Service_Replicapoolupdater_RollingUpdateList"); |
|
368 | + $params = array('project' => $project, 'zone' => $zone); |
|
369 | + $params = array_merge($params, $optParams); |
|
370 | + return $this->call('list', array($params), "Google_Service_Replicapoolupdater_RollingUpdateList"); |
|
371 | 371 | } |
372 | 372 | |
373 | 373 | /** |
@@ -390,9 +390,9 @@ discard block |
||
390 | 390 | */ |
391 | 391 | public function listInstanceUpdates($project, $zone, $rollingUpdate, $optParams = array()) |
392 | 392 | { |
393 | - $params = array('project' => $project, 'zone' => $zone, 'rollingUpdate' => $rollingUpdate); |
|
394 | - $params = array_merge($params, $optParams); |
|
395 | - return $this->call('listInstanceUpdates', array($params), "Google_Service_Replicapoolupdater_InstanceUpdateList"); |
|
393 | + $params = array('project' => $project, 'zone' => $zone, 'rollingUpdate' => $rollingUpdate); |
|
394 | + $params = array_merge($params, $optParams); |
|
395 | + return $this->call('listInstanceUpdates', array($params), "Google_Service_Replicapoolupdater_InstanceUpdateList"); |
|
396 | 396 | } |
397 | 397 | |
398 | 398 | /** |
@@ -409,9 +409,9 @@ discard block |
||
409 | 409 | */ |
410 | 410 | public function pause($project, $zone, $rollingUpdate, $optParams = array()) |
411 | 411 | { |
412 | - $params = array('project' => $project, 'zone' => $zone, 'rollingUpdate' => $rollingUpdate); |
|
413 | - $params = array_merge($params, $optParams); |
|
414 | - return $this->call('pause', array($params), "Google_Service_Replicapoolupdater_Operation"); |
|
412 | + $params = array('project' => $project, 'zone' => $zone, 'rollingUpdate' => $rollingUpdate); |
|
413 | + $params = array_merge($params, $optParams); |
|
414 | + return $this->call('pause', array($params), "Google_Service_Replicapoolupdater_Operation"); |
|
415 | 415 | } |
416 | 416 | |
417 | 417 | /** |
@@ -427,9 +427,9 @@ discard block |
||
427 | 427 | */ |
428 | 428 | public function resume($project, $zone, $rollingUpdate, $optParams = array()) |
429 | 429 | { |
430 | - $params = array('project' => $project, 'zone' => $zone, 'rollingUpdate' => $rollingUpdate); |
|
431 | - $params = array_merge($params, $optParams); |
|
432 | - return $this->call('resume', array($params), "Google_Service_Replicapoolupdater_Operation"); |
|
430 | + $params = array('project' => $project, 'zone' => $zone, 'rollingUpdate' => $rollingUpdate); |
|
431 | + $params = array_merge($params, $optParams); |
|
432 | + return $this->call('resume', array($params), "Google_Service_Replicapoolupdater_Operation"); |
|
433 | 433 | } |
434 | 434 | |
435 | 435 | /** |
@@ -446,9 +446,9 @@ discard block |
||
446 | 446 | */ |
447 | 447 | public function rollback($project, $zone, $rollingUpdate, $optParams = array()) |
448 | 448 | { |
449 | - $params = array('project' => $project, 'zone' => $zone, 'rollingUpdate' => $rollingUpdate); |
|
450 | - $params = array_merge($params, $optParams); |
|
451 | - return $this->call('rollback', array($params), "Google_Service_Replicapoolupdater_Operation"); |
|
449 | + $params = array('project' => $project, 'zone' => $zone, 'rollingUpdate' => $rollingUpdate); |
|
450 | + $params = array_merge($params, $optParams); |
|
451 | + return $this->call('rollback', array($params), "Google_Service_Replicapoolupdater_Operation"); |
|
452 | 452 | } |
453 | 453 | } |
454 | 454 | |
@@ -475,9 +475,9 @@ discard block |
||
475 | 475 | */ |
476 | 476 | public function get($project, $zone, $operation, $optParams = array()) |
477 | 477 | { |
478 | - $params = array('project' => $project, 'zone' => $zone, 'operation' => $operation); |
|
479 | - $params = array_merge($params, $optParams); |
|
480 | - return $this->call('get', array($params), "Google_Service_Replicapoolupdater_Operation"); |
|
478 | + $params = array('project' => $project, 'zone' => $zone, 'operation' => $operation); |
|
479 | + $params = array_merge($params, $optParams); |
|
480 | + return $this->call('get', array($params), "Google_Service_Replicapoolupdater_Operation"); |
|
481 | 481 | } |
482 | 482 | } |
483 | 483 | |
@@ -496,27 +496,27 @@ discard block |
||
496 | 496 | |
497 | 497 | public function setError(Google_Service_Replicapoolupdater_InstanceUpdateError $error) |
498 | 498 | { |
499 | - $this->error = $error; |
|
499 | + $this->error = $error; |
|
500 | 500 | } |
501 | 501 | public function getError() |
502 | 502 | { |
503 | - return $this->error; |
|
503 | + return $this->error; |
|
504 | 504 | } |
505 | 505 | public function setInstance($instance) |
506 | 506 | { |
507 | - $this->instance = $instance; |
|
507 | + $this->instance = $instance; |
|
508 | 508 | } |
509 | 509 | public function getInstance() |
510 | 510 | { |
511 | - return $this->instance; |
|
511 | + return $this->instance; |
|
512 | 512 | } |
513 | 513 | public function setStatus($status) |
514 | 514 | { |
515 | - $this->status = $status; |
|
515 | + $this->status = $status; |
|
516 | 516 | } |
517 | 517 | public function getStatus() |
518 | 518 | { |
519 | - return $this->status; |
|
519 | + return $this->status; |
|
520 | 520 | } |
521 | 521 | } |
522 | 522 | |
@@ -531,11 +531,11 @@ discard block |
||
531 | 531 | |
532 | 532 | public function setErrors($errors) |
533 | 533 | { |
534 | - $this->errors = $errors; |
|
534 | + $this->errors = $errors; |
|
535 | 535 | } |
536 | 536 | public function getErrors() |
537 | 537 | { |
538 | - return $this->errors; |
|
538 | + return $this->errors; |
|
539 | 539 | } |
540 | 540 | } |
541 | 541 | |
@@ -550,27 +550,27 @@ discard block |
||
550 | 550 | |
551 | 551 | public function setCode($code) |
552 | 552 | { |
553 | - $this->code = $code; |
|
553 | + $this->code = $code; |
|
554 | 554 | } |
555 | 555 | public function getCode() |
556 | 556 | { |
557 | - return $this->code; |
|
557 | + return $this->code; |
|
558 | 558 | } |
559 | 559 | public function setLocation($location) |
560 | 560 | { |
561 | - $this->location = $location; |
|
561 | + $this->location = $location; |
|
562 | 562 | } |
563 | 563 | public function getLocation() |
564 | 564 | { |
565 | - return $this->location; |
|
565 | + return $this->location; |
|
566 | 566 | } |
567 | 567 | public function setMessage($message) |
568 | 568 | { |
569 | - $this->message = $message; |
|
569 | + $this->message = $message; |
|
570 | 570 | } |
571 | 571 | public function getMessage() |
572 | 572 | { |
573 | - return $this->message; |
|
573 | + return $this->message; |
|
574 | 574 | } |
575 | 575 | } |
576 | 576 | |
@@ -588,35 +588,35 @@ discard block |
||
588 | 588 | |
589 | 589 | public function setItems($items) |
590 | 590 | { |
591 | - $this->items = $items; |
|
591 | + $this->items = $items; |
|
592 | 592 | } |
593 | 593 | public function getItems() |
594 | 594 | { |
595 | - return $this->items; |
|
595 | + return $this->items; |
|
596 | 596 | } |
597 | 597 | public function setKind($kind) |
598 | 598 | { |
599 | - $this->kind = $kind; |
|
599 | + $this->kind = $kind; |
|
600 | 600 | } |
601 | 601 | public function getKind() |
602 | 602 | { |
603 | - return $this->kind; |
|
603 | + return $this->kind; |
|
604 | 604 | } |
605 | 605 | public function setNextPageToken($nextPageToken) |
606 | 606 | { |
607 | - $this->nextPageToken = $nextPageToken; |
|
607 | + $this->nextPageToken = $nextPageToken; |
|
608 | 608 | } |
609 | 609 | public function getNextPageToken() |
610 | 610 | { |
611 | - return $this->nextPageToken; |
|
611 | + return $this->nextPageToken; |
|
612 | 612 | } |
613 | 613 | public function setSelfLink($selfLink) |
614 | 614 | { |
615 | - $this->selfLink = $selfLink; |
|
615 | + $this->selfLink = $selfLink; |
|
616 | 616 | } |
617 | 617 | public function getSelfLink() |
618 | 618 | { |
619 | - return $this->selfLink; |
|
619 | + return $this->selfLink; |
|
620 | 620 | } |
621 | 621 | } |
622 | 622 | |
@@ -653,179 +653,179 @@ discard block |
||
653 | 653 | |
654 | 654 | public function setClientOperationId($clientOperationId) |
655 | 655 | { |
656 | - $this->clientOperationId = $clientOperationId; |
|
656 | + $this->clientOperationId = $clientOperationId; |
|
657 | 657 | } |
658 | 658 | public function getClientOperationId() |
659 | 659 | { |
660 | - return $this->clientOperationId; |
|
660 | + return $this->clientOperationId; |
|
661 | 661 | } |
662 | 662 | public function setCreationTimestamp($creationTimestamp) |
663 | 663 | { |
664 | - $this->creationTimestamp = $creationTimestamp; |
|
664 | + $this->creationTimestamp = $creationTimestamp; |
|
665 | 665 | } |
666 | 666 | public function getCreationTimestamp() |
667 | 667 | { |
668 | - return $this->creationTimestamp; |
|
668 | + return $this->creationTimestamp; |
|
669 | 669 | } |
670 | 670 | public function setEndTime($endTime) |
671 | 671 | { |
672 | - $this->endTime = $endTime; |
|
672 | + $this->endTime = $endTime; |
|
673 | 673 | } |
674 | 674 | public function getEndTime() |
675 | 675 | { |
676 | - return $this->endTime; |
|
676 | + return $this->endTime; |
|
677 | 677 | } |
678 | 678 | public function setError(Google_Service_Replicapoolupdater_OperationError $error) |
679 | 679 | { |
680 | - $this->error = $error; |
|
680 | + $this->error = $error; |
|
681 | 681 | } |
682 | 682 | public function getError() |
683 | 683 | { |
684 | - return $this->error; |
|
684 | + return $this->error; |
|
685 | 685 | } |
686 | 686 | public function setHttpErrorMessage($httpErrorMessage) |
687 | 687 | { |
688 | - $this->httpErrorMessage = $httpErrorMessage; |
|
688 | + $this->httpErrorMessage = $httpErrorMessage; |
|
689 | 689 | } |
690 | 690 | public function getHttpErrorMessage() |
691 | 691 | { |
692 | - return $this->httpErrorMessage; |
|
692 | + return $this->httpErrorMessage; |
|
693 | 693 | } |
694 | 694 | public function setHttpErrorStatusCode($httpErrorStatusCode) |
695 | 695 | { |
696 | - $this->httpErrorStatusCode = $httpErrorStatusCode; |
|
696 | + $this->httpErrorStatusCode = $httpErrorStatusCode; |
|
697 | 697 | } |
698 | 698 | public function getHttpErrorStatusCode() |
699 | 699 | { |
700 | - return $this->httpErrorStatusCode; |
|
700 | + return $this->httpErrorStatusCode; |
|
701 | 701 | } |
702 | 702 | public function setId($id) |
703 | 703 | { |
704 | - $this->id = $id; |
|
704 | + $this->id = $id; |
|
705 | 705 | } |
706 | 706 | public function getId() |
707 | 707 | { |
708 | - return $this->id; |
|
708 | + return $this->id; |
|
709 | 709 | } |
710 | 710 | public function setInsertTime($insertTime) |
711 | 711 | { |
712 | - $this->insertTime = $insertTime; |
|
712 | + $this->insertTime = $insertTime; |
|
713 | 713 | } |
714 | 714 | public function getInsertTime() |
715 | 715 | { |
716 | - return $this->insertTime; |
|
716 | + return $this->insertTime; |
|
717 | 717 | } |
718 | 718 | public function setKind($kind) |
719 | 719 | { |
720 | - $this->kind = $kind; |
|
720 | + $this->kind = $kind; |
|
721 | 721 | } |
722 | 722 | public function getKind() |
723 | 723 | { |
724 | - return $this->kind; |
|
724 | + return $this->kind; |
|
725 | 725 | } |
726 | 726 | public function setName($name) |
727 | 727 | { |
728 | - $this->name = $name; |
|
728 | + $this->name = $name; |
|
729 | 729 | } |
730 | 730 | public function getName() |
731 | 731 | { |
732 | - return $this->name; |
|
732 | + return $this->name; |
|
733 | 733 | } |
734 | 734 | public function setOperationType($operationType) |
735 | 735 | { |
736 | - $this->operationType = $operationType; |
|
736 | + $this->operationType = $operationType; |
|
737 | 737 | } |
738 | 738 | public function getOperationType() |
739 | 739 | { |
740 | - return $this->operationType; |
|
740 | + return $this->operationType; |
|
741 | 741 | } |
742 | 742 | public function setProgress($progress) |
743 | 743 | { |
744 | - $this->progress = $progress; |
|
744 | + $this->progress = $progress; |
|
745 | 745 | } |
746 | 746 | public function getProgress() |
747 | 747 | { |
748 | - return $this->progress; |
|
748 | + return $this->progress; |
|
749 | 749 | } |
750 | 750 | public function setRegion($region) |
751 | 751 | { |
752 | - $this->region = $region; |
|
752 | + $this->region = $region; |
|
753 | 753 | } |
754 | 754 | public function getRegion() |
755 | 755 | { |
756 | - return $this->region; |
|
756 | + return $this->region; |
|
757 | 757 | } |
758 | 758 | public function setSelfLink($selfLink) |
759 | 759 | { |
760 | - $this->selfLink = $selfLink; |
|
760 | + $this->selfLink = $selfLink; |
|
761 | 761 | } |
762 | 762 | public function getSelfLink() |
763 | 763 | { |
764 | - return $this->selfLink; |
|
764 | + return $this->selfLink; |
|
765 | 765 | } |
766 | 766 | public function setStartTime($startTime) |
767 | 767 | { |
768 | - $this->startTime = $startTime; |
|
768 | + $this->startTime = $startTime; |
|
769 | 769 | } |
770 | 770 | public function getStartTime() |
771 | 771 | { |
772 | - return $this->startTime; |
|
772 | + return $this->startTime; |
|
773 | 773 | } |
774 | 774 | public function setStatus($status) |
775 | 775 | { |
776 | - $this->status = $status; |
|
776 | + $this->status = $status; |
|
777 | 777 | } |
778 | 778 | public function getStatus() |
779 | 779 | { |
780 | - return $this->status; |
|
780 | + return $this->status; |
|
781 | 781 | } |
782 | 782 | public function setStatusMessage($statusMessage) |
783 | 783 | { |
784 | - $this->statusMessage = $statusMessage; |
|
784 | + $this->statusMessage = $statusMessage; |
|
785 | 785 | } |
786 | 786 | public function getStatusMessage() |
787 | 787 | { |
788 | - return $this->statusMessage; |
|
788 | + return $this->statusMessage; |
|
789 | 789 | } |
790 | 790 | public function setTargetId($targetId) |
791 | 791 | { |
792 | - $this->targetId = $targetId; |
|
792 | + $this->targetId = $targetId; |
|
793 | 793 | } |
794 | 794 | public function getTargetId() |
795 | 795 | { |
796 | - return $this->targetId; |
|
796 | + return $this->targetId; |
|
797 | 797 | } |
798 | 798 | public function setTargetLink($targetLink) |
799 | 799 | { |
800 | - $this->targetLink = $targetLink; |
|
800 | + $this->targetLink = $targetLink; |
|
801 | 801 | } |
802 | 802 | public function getTargetLink() |
803 | 803 | { |
804 | - return $this->targetLink; |
|
804 | + return $this->targetLink; |
|
805 | 805 | } |
806 | 806 | public function setUser($user) |
807 | 807 | { |
808 | - $this->user = $user; |
|
808 | + $this->user = $user; |
|
809 | 809 | } |
810 | 810 | public function getUser() |
811 | 811 | { |
812 | - return $this->user; |
|
812 | + return $this->user; |
|
813 | 813 | } |
814 | 814 | public function setWarnings($warnings) |
815 | 815 | { |
816 | - $this->warnings = $warnings; |
|
816 | + $this->warnings = $warnings; |
|
817 | 817 | } |
818 | 818 | public function getWarnings() |
819 | 819 | { |
820 | - return $this->warnings; |
|
820 | + return $this->warnings; |
|
821 | 821 | } |
822 | 822 | public function setZone($zone) |
823 | 823 | { |
824 | - $this->zone = $zone; |
|
824 | + $this->zone = $zone; |
|
825 | 825 | } |
826 | 826 | public function getZone() |
827 | 827 | { |
828 | - return $this->zone; |
|
828 | + return $this->zone; |
|
829 | 829 | } |
830 | 830 | } |
831 | 831 | |
@@ -840,11 +840,11 @@ discard block |
||
840 | 840 | |
841 | 841 | public function setErrors($errors) |
842 | 842 | { |
843 | - $this->errors = $errors; |
|
843 | + $this->errors = $errors; |
|
844 | 844 | } |
845 | 845 | public function getErrors() |
846 | 846 | { |
847 | - return $this->errors; |
|
847 | + return $this->errors; |
|
848 | 848 | } |
849 | 849 | } |
850 | 850 | |
@@ -859,27 +859,27 @@ discard block |
||
859 | 859 | |
860 | 860 | public function setCode($code) |
861 | 861 | { |
862 | - $this->code = $code; |
|
862 | + $this->code = $code; |
|
863 | 863 | } |
864 | 864 | public function getCode() |
865 | 865 | { |
866 | - return $this->code; |
|
866 | + return $this->code; |
|
867 | 867 | } |
868 | 868 | public function setLocation($location) |
869 | 869 | { |
870 | - $this->location = $location; |
|
870 | + $this->location = $location; |
|
871 | 871 | } |
872 | 872 | public function getLocation() |
873 | 873 | { |
874 | - return $this->location; |
|
874 | + return $this->location; |
|
875 | 875 | } |
876 | 876 | public function setMessage($message) |
877 | 877 | { |
878 | - $this->message = $message; |
|
878 | + $this->message = $message; |
|
879 | 879 | } |
880 | 880 | public function getMessage() |
881 | 881 | { |
882 | - return $this->message; |
|
882 | + return $this->message; |
|
883 | 883 | } |
884 | 884 | } |
885 | 885 | |
@@ -896,27 +896,27 @@ discard block |
||
896 | 896 | |
897 | 897 | public function setCode($code) |
898 | 898 | { |
899 | - $this->code = $code; |
|
899 | + $this->code = $code; |
|
900 | 900 | } |
901 | 901 | public function getCode() |
902 | 902 | { |
903 | - return $this->code; |
|
903 | + return $this->code; |
|
904 | 904 | } |
905 | 905 | public function setData($data) |
906 | 906 | { |
907 | - $this->data = $data; |
|
907 | + $this->data = $data; |
|
908 | 908 | } |
909 | 909 | public function getData() |
910 | 910 | { |
911 | - return $this->data; |
|
911 | + return $this->data; |
|
912 | 912 | } |
913 | 913 | public function setMessage($message) |
914 | 914 | { |
915 | - $this->message = $message; |
|
915 | + $this->message = $message; |
|
916 | 916 | } |
917 | 917 | public function getMessage() |
918 | 918 | { |
919 | - return $this->message; |
|
919 | + return $this->message; |
|
920 | 920 | } |
921 | 921 | } |
922 | 922 | |
@@ -930,19 +930,19 @@ discard block |
||
930 | 930 | |
931 | 931 | public function setKey($key) |
932 | 932 | { |
933 | - $this->key = $key; |
|
933 | + $this->key = $key; |
|
934 | 934 | } |
935 | 935 | public function getKey() |
936 | 936 | { |
937 | - return $this->key; |
|
937 | + return $this->key; |
|
938 | 938 | } |
939 | 939 | public function setValue($value) |
940 | 940 | { |
941 | - $this->value = $value; |
|
941 | + $this->value = $value; |
|
942 | 942 | } |
943 | 943 | public function getValue() |
944 | 944 | { |
945 | - return $this->value; |
|
945 | + return $this->value; |
|
946 | 946 | } |
947 | 947 | } |
948 | 948 | |
@@ -971,123 +971,123 @@ discard block |
||
971 | 971 | |
972 | 972 | public function setActionType($actionType) |
973 | 973 | { |
974 | - $this->actionType = $actionType; |
|
974 | + $this->actionType = $actionType; |
|
975 | 975 | } |
976 | 976 | public function getActionType() |
977 | 977 | { |
978 | - return $this->actionType; |
|
978 | + return $this->actionType; |
|
979 | 979 | } |
980 | 980 | public function setCreationTimestamp($creationTimestamp) |
981 | 981 | { |
982 | - $this->creationTimestamp = $creationTimestamp; |
|
982 | + $this->creationTimestamp = $creationTimestamp; |
|
983 | 983 | } |
984 | 984 | public function getCreationTimestamp() |
985 | 985 | { |
986 | - return $this->creationTimestamp; |
|
986 | + return $this->creationTimestamp; |
|
987 | 987 | } |
988 | 988 | public function setDescription($description) |
989 | 989 | { |
990 | - $this->description = $description; |
|
990 | + $this->description = $description; |
|
991 | 991 | } |
992 | 992 | public function getDescription() |
993 | 993 | { |
994 | - return $this->description; |
|
994 | + return $this->description; |
|
995 | 995 | } |
996 | 996 | public function setError(Google_Service_Replicapoolupdater_RollingUpdateError $error) |
997 | 997 | { |
998 | - $this->error = $error; |
|
998 | + $this->error = $error; |
|
999 | 999 | } |
1000 | 1000 | public function getError() |
1001 | 1001 | { |
1002 | - return $this->error; |
|
1002 | + return $this->error; |
|
1003 | 1003 | } |
1004 | 1004 | public function setId($id) |
1005 | 1005 | { |
1006 | - $this->id = $id; |
|
1006 | + $this->id = $id; |
|
1007 | 1007 | } |
1008 | 1008 | public function getId() |
1009 | 1009 | { |
1010 | - return $this->id; |
|
1010 | + return $this->id; |
|
1011 | 1011 | } |
1012 | 1012 | public function setInstanceGroup($instanceGroup) |
1013 | 1013 | { |
1014 | - $this->instanceGroup = $instanceGroup; |
|
1014 | + $this->instanceGroup = $instanceGroup; |
|
1015 | 1015 | } |
1016 | 1016 | public function getInstanceGroup() |
1017 | 1017 | { |
1018 | - return $this->instanceGroup; |
|
1018 | + return $this->instanceGroup; |
|
1019 | 1019 | } |
1020 | 1020 | public function setInstanceGroupManager($instanceGroupManager) |
1021 | 1021 | { |
1022 | - $this->instanceGroupManager = $instanceGroupManager; |
|
1022 | + $this->instanceGroupManager = $instanceGroupManager; |
|
1023 | 1023 | } |
1024 | 1024 | public function getInstanceGroupManager() |
1025 | 1025 | { |
1026 | - return $this->instanceGroupManager; |
|
1026 | + return $this->instanceGroupManager; |
|
1027 | 1027 | } |
1028 | 1028 | public function setInstanceTemplate($instanceTemplate) |
1029 | 1029 | { |
1030 | - $this->instanceTemplate = $instanceTemplate; |
|
1030 | + $this->instanceTemplate = $instanceTemplate; |
|
1031 | 1031 | } |
1032 | 1032 | public function getInstanceTemplate() |
1033 | 1033 | { |
1034 | - return $this->instanceTemplate; |
|
1034 | + return $this->instanceTemplate; |
|
1035 | 1035 | } |
1036 | 1036 | public function setKind($kind) |
1037 | 1037 | { |
1038 | - $this->kind = $kind; |
|
1038 | + $this->kind = $kind; |
|
1039 | 1039 | } |
1040 | 1040 | public function getKind() |
1041 | 1041 | { |
1042 | - return $this->kind; |
|
1042 | + return $this->kind; |
|
1043 | 1043 | } |
1044 | 1044 | public function setPolicy(Google_Service_Replicapoolupdater_RollingUpdatePolicy $policy) |
1045 | 1045 | { |
1046 | - $this->policy = $policy; |
|
1046 | + $this->policy = $policy; |
|
1047 | 1047 | } |
1048 | 1048 | public function getPolicy() |
1049 | 1049 | { |
1050 | - return $this->policy; |
|
1050 | + return $this->policy; |
|
1051 | 1051 | } |
1052 | 1052 | public function setProgress($progress) |
1053 | 1053 | { |
1054 | - $this->progress = $progress; |
|
1054 | + $this->progress = $progress; |
|
1055 | 1055 | } |
1056 | 1056 | public function getProgress() |
1057 | 1057 | { |
1058 | - return $this->progress; |
|
1058 | + return $this->progress; |
|
1059 | 1059 | } |
1060 | 1060 | public function setSelfLink($selfLink) |
1061 | 1061 | { |
1062 | - $this->selfLink = $selfLink; |
|
1062 | + $this->selfLink = $selfLink; |
|
1063 | 1063 | } |
1064 | 1064 | public function getSelfLink() |
1065 | 1065 | { |
1066 | - return $this->selfLink; |
|
1066 | + return $this->selfLink; |
|
1067 | 1067 | } |
1068 | 1068 | public function setStatus($status) |
1069 | 1069 | { |
1070 | - $this->status = $status; |
|
1070 | + $this->status = $status; |
|
1071 | 1071 | } |
1072 | 1072 | public function getStatus() |
1073 | 1073 | { |
1074 | - return $this->status; |
|
1074 | + return $this->status; |
|
1075 | 1075 | } |
1076 | 1076 | public function setStatusMessage($statusMessage) |
1077 | 1077 | { |
1078 | - $this->statusMessage = $statusMessage; |
|
1078 | + $this->statusMessage = $statusMessage; |
|
1079 | 1079 | } |
1080 | 1080 | public function getStatusMessage() |
1081 | 1081 | { |
1082 | - return $this->statusMessage; |
|
1082 | + return $this->statusMessage; |
|
1083 | 1083 | } |
1084 | 1084 | public function setUser($user) |
1085 | 1085 | { |
1086 | - $this->user = $user; |
|
1086 | + $this->user = $user; |
|
1087 | 1087 | } |
1088 | 1088 | public function getUser() |
1089 | 1089 | { |
1090 | - return $this->user; |
|
1090 | + return $this->user; |
|
1091 | 1091 | } |
1092 | 1092 | } |
1093 | 1093 | |
@@ -1102,11 +1102,11 @@ discard block |
||
1102 | 1102 | |
1103 | 1103 | public function setErrors($errors) |
1104 | 1104 | { |
1105 | - $this->errors = $errors; |
|
1105 | + $this->errors = $errors; |
|
1106 | 1106 | } |
1107 | 1107 | public function getErrors() |
1108 | 1108 | { |
1109 | - return $this->errors; |
|
1109 | + return $this->errors; |
|
1110 | 1110 | } |
1111 | 1111 | } |
1112 | 1112 | |
@@ -1121,27 +1121,27 @@ discard block |
||
1121 | 1121 | |
1122 | 1122 | public function setCode($code) |
1123 | 1123 | { |
1124 | - $this->code = $code; |
|
1124 | + $this->code = $code; |
|
1125 | 1125 | } |
1126 | 1126 | public function getCode() |
1127 | 1127 | { |
1128 | - return $this->code; |
|
1128 | + return $this->code; |
|
1129 | 1129 | } |
1130 | 1130 | public function setLocation($location) |
1131 | 1131 | { |
1132 | - $this->location = $location; |
|
1132 | + $this->location = $location; |
|
1133 | 1133 | } |
1134 | 1134 | public function getLocation() |
1135 | 1135 | { |
1136 | - return $this->location; |
|
1136 | + return $this->location; |
|
1137 | 1137 | } |
1138 | 1138 | public function setMessage($message) |
1139 | 1139 | { |
1140 | - $this->message = $message; |
|
1140 | + $this->message = $message; |
|
1141 | 1141 | } |
1142 | 1142 | public function getMessage() |
1143 | 1143 | { |
1144 | - return $this->message; |
|
1144 | + return $this->message; |
|
1145 | 1145 | } |
1146 | 1146 | } |
1147 | 1147 | |
@@ -1159,35 +1159,35 @@ discard block |
||
1159 | 1159 | |
1160 | 1160 | public function setItems($items) |
1161 | 1161 | { |
1162 | - $this->items = $items; |
|
1162 | + $this->items = $items; |
|
1163 | 1163 | } |
1164 | 1164 | public function getItems() |
1165 | 1165 | { |
1166 | - return $this->items; |
|
1166 | + return $this->items; |
|
1167 | 1167 | } |
1168 | 1168 | public function setKind($kind) |
1169 | 1169 | { |
1170 | - $this->kind = $kind; |
|
1170 | + $this->kind = $kind; |
|
1171 | 1171 | } |
1172 | 1172 | public function getKind() |
1173 | 1173 | { |
1174 | - return $this->kind; |
|
1174 | + return $this->kind; |
|
1175 | 1175 | } |
1176 | 1176 | public function setNextPageToken($nextPageToken) |
1177 | 1177 | { |
1178 | - $this->nextPageToken = $nextPageToken; |
|
1178 | + $this->nextPageToken = $nextPageToken; |
|
1179 | 1179 | } |
1180 | 1180 | public function getNextPageToken() |
1181 | 1181 | { |
1182 | - return $this->nextPageToken; |
|
1182 | + return $this->nextPageToken; |
|
1183 | 1183 | } |
1184 | 1184 | public function setSelfLink($selfLink) |
1185 | 1185 | { |
1186 | - $this->selfLink = $selfLink; |
|
1186 | + $this->selfLink = $selfLink; |
|
1187 | 1187 | } |
1188 | 1188 | public function getSelfLink() |
1189 | 1189 | { |
1190 | - return $this->selfLink; |
|
1190 | + return $this->selfLink; |
|
1191 | 1191 | } |
1192 | 1192 | } |
1193 | 1193 | |
@@ -1204,42 +1204,42 @@ discard block |
||
1204 | 1204 | |
1205 | 1205 | public function setAutoPauseAfterInstances($autoPauseAfterInstances) |
1206 | 1206 | { |
1207 | - $this->autoPauseAfterInstances = $autoPauseAfterInstances; |
|
1207 | + $this->autoPauseAfterInstances = $autoPauseAfterInstances; |
|
1208 | 1208 | } |
1209 | 1209 | public function getAutoPauseAfterInstances() |
1210 | 1210 | { |
1211 | - return $this->autoPauseAfterInstances; |
|
1211 | + return $this->autoPauseAfterInstances; |
|
1212 | 1212 | } |
1213 | 1213 | public function setInstanceStartupTimeoutSec($instanceStartupTimeoutSec) |
1214 | 1214 | { |
1215 | - $this->instanceStartupTimeoutSec = $instanceStartupTimeoutSec; |
|
1215 | + $this->instanceStartupTimeoutSec = $instanceStartupTimeoutSec; |
|
1216 | 1216 | } |
1217 | 1217 | public function getInstanceStartupTimeoutSec() |
1218 | 1218 | { |
1219 | - return $this->instanceStartupTimeoutSec; |
|
1219 | + return $this->instanceStartupTimeoutSec; |
|
1220 | 1220 | } |
1221 | 1221 | public function setMaxNumConcurrentInstances($maxNumConcurrentInstances) |
1222 | 1222 | { |
1223 | - $this->maxNumConcurrentInstances = $maxNumConcurrentInstances; |
|
1223 | + $this->maxNumConcurrentInstances = $maxNumConcurrentInstances; |
|
1224 | 1224 | } |
1225 | 1225 | public function getMaxNumConcurrentInstances() |
1226 | 1226 | { |
1227 | - return $this->maxNumConcurrentInstances; |
|
1227 | + return $this->maxNumConcurrentInstances; |
|
1228 | 1228 | } |
1229 | 1229 | public function setMaxNumFailedInstances($maxNumFailedInstances) |
1230 | 1230 | { |
1231 | - $this->maxNumFailedInstances = $maxNumFailedInstances; |
|
1231 | + $this->maxNumFailedInstances = $maxNumFailedInstances; |
|
1232 | 1232 | } |
1233 | 1233 | public function getMaxNumFailedInstances() |
1234 | 1234 | { |
1235 | - return $this->maxNumFailedInstances; |
|
1235 | + return $this->maxNumFailedInstances; |
|
1236 | 1236 | } |
1237 | 1237 | public function setMinInstanceUpdateTimeSec($minInstanceUpdateTimeSec) |
1238 | 1238 | { |
1239 | - $this->minInstanceUpdateTimeSec = $minInstanceUpdateTimeSec; |
|
1239 | + $this->minInstanceUpdateTimeSec = $minInstanceUpdateTimeSec; |
|
1240 | 1240 | } |
1241 | 1241 | public function getMinInstanceUpdateTimeSec() |
1242 | 1242 | { |
1243 | - return $this->minInstanceUpdateTimeSec; |
|
1243 | + return $this->minInstanceUpdateTimeSec; |
|
1244 | 1244 | } |
1245 | 1245 | } |
@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | 'required' => true, |
85 | 85 | ), |
86 | 86 | ), |
87 | - ),'get' => array( |
|
87 | + ), 'get' => array( |
|
88 | 88 | 'path' => '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}', |
89 | 89 | 'httpMethod' => 'GET', |
90 | 90 | 'parameters' => array( |
@@ -104,7 +104,7 @@ discard block |
||
104 | 104 | 'required' => true, |
105 | 105 | ), |
106 | 106 | ), |
107 | - ),'insert' => array( |
|
107 | + ), 'insert' => array( |
|
108 | 108 | 'path' => '{project}/zones/{zone}/rollingUpdates', |
109 | 109 | 'httpMethod' => 'POST', |
110 | 110 | 'parameters' => array( |
@@ -119,7 +119,7 @@ discard block |
||
119 | 119 | 'required' => true, |
120 | 120 | ), |
121 | 121 | ), |
122 | - ),'list' => array( |
|
122 | + ), 'list' => array( |
|
123 | 123 | 'path' => '{project}/zones/{zone}/rollingUpdates', |
124 | 124 | 'httpMethod' => 'GET', |
125 | 125 | 'parameters' => array( |
@@ -150,7 +150,7 @@ discard block |
||
150 | 150 | 'type' => 'string', |
151 | 151 | ), |
152 | 152 | ), |
153 | - ),'listInstanceUpdates' => array( |
|
153 | + ), 'listInstanceUpdates' => array( |
|
154 | 154 | 'path' => '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}/instanceUpdates', |
155 | 155 | 'httpMethod' => 'GET', |
156 | 156 | 'parameters' => array( |
@@ -182,7 +182,7 @@ discard block |
||
182 | 182 | 'type' => 'string', |
183 | 183 | ), |
184 | 184 | ), |
185 | - ),'pause' => array( |
|
185 | + ), 'pause' => array( |
|
186 | 186 | 'path' => '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}/pause', |
187 | 187 | 'httpMethod' => 'POST', |
188 | 188 | 'parameters' => array( |
@@ -202,7 +202,7 @@ discard block |
||
202 | 202 | 'required' => true, |
203 | 203 | ), |
204 | 204 | ), |
205 | - ),'resume' => array( |
|
205 | + ), 'resume' => array( |
|
206 | 206 | 'path' => '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}/resume', |
207 | 207 | 'httpMethod' => 'POST', |
208 | 208 | 'parameters' => array( |
@@ -222,7 +222,7 @@ discard block |
||
222 | 222 | 'required' => true, |
223 | 223 | ), |
224 | 224 | ), |
225 | - ),'rollback' => array( |
|
225 | + ), 'rollback' => array( |
|
226 | 226 | 'path' => '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}/rollback', |
227 | 227 | 'httpMethod' => 'POST', |
228 | 228 | 'parameters' => array( |
@@ -309,7 +309,7 @@ discard block |
||
309 | 309 | * returns usageReports for all users. |
310 | 310 | * @param string $applicationName Application name for which the events are to |
311 | 311 | * be retrieved. |
312 | - * @param Google_Channel $postBody |
|
312 | + * @param Google_Service_Reports_Channel $postBody |
|
313 | 313 | * @param array $optParams Optional parameters. |
314 | 314 | * |
315 | 315 | * @opt_param string startTime Return events which occured at or after this |
@@ -350,7 +350,7 @@ discard block |
||
350 | 350 | /** |
351 | 351 | * Stop watching resources through this channel (channels.stop) |
352 | 352 | * |
353 | - * @param Google_Channel $postBody |
|
353 | + * @param Google_Service_Reports_Channel $postBody |
|
354 | 354 | * @param array $optParams Optional parameters. |
355 | 355 | */ |
356 | 356 | public function stop(Google_Service_Reports_Channel $postBody, $optParams = array()) |
@@ -33,10 +33,10 @@ discard block |
||
33 | 33 | { |
34 | 34 | /** View audit reports of Google Apps for your domain. */ |
35 | 35 | const ADMIN_REPORTS_AUDIT_READONLY = |
36 | - "https://www.googleapis.com/auth/admin.reports.audit.readonly"; |
|
36 | + "https://www.googleapis.com/auth/admin.reports.audit.readonly"; |
|
37 | 37 | /** View usage reports of Google Apps for your domain. */ |
38 | 38 | const ADMIN_REPORTS_USAGE_READONLY = |
39 | - "https://www.googleapis.com/auth/admin.reports.usage.readonly"; |
|
39 | + "https://www.googleapis.com/auth/admin.reports.usage.readonly"; |
|
40 | 40 | |
41 | 41 | public $activities; |
42 | 42 | public $channels; |
@@ -51,207 +51,207 @@ discard block |
||
51 | 51 | */ |
52 | 52 | public function __construct(Google_Client $client) |
53 | 53 | { |
54 | - parent::__construct($client); |
|
55 | - $this->rootUrl = 'https://www.googleapis.com/'; |
|
56 | - $this->servicePath = 'admin/reports/v1/'; |
|
57 | - $this->version = 'reports_v1'; |
|
58 | - $this->serviceName = 'admin'; |
|
54 | + parent::__construct($client); |
|
55 | + $this->rootUrl = 'https://www.googleapis.com/'; |
|
56 | + $this->servicePath = 'admin/reports/v1/'; |
|
57 | + $this->version = 'reports_v1'; |
|
58 | + $this->serviceName = 'admin'; |
|
59 | 59 | |
60 | - $this->activities = new Google_Service_Reports_Activities_Resource( |
|
61 | - $this, |
|
62 | - $this->serviceName, |
|
63 | - 'activities', |
|
64 | - array( |
|
65 | - 'methods' => array( |
|
66 | - 'list' => array( |
|
67 | - 'path' => 'activity/users/{userKey}/applications/{applicationName}', |
|
68 | - 'httpMethod' => 'GET', |
|
69 | - 'parameters' => array( |
|
70 | - 'userKey' => array( |
|
71 | - 'location' => 'path', |
|
72 | - 'type' => 'string', |
|
73 | - 'required' => true, |
|
74 | - ), |
|
75 | - 'applicationName' => array( |
|
76 | - 'location' => 'path', |
|
77 | - 'type' => 'string', |
|
78 | - 'required' => true, |
|
79 | - ), |
|
80 | - 'startTime' => array( |
|
81 | - 'location' => 'query', |
|
82 | - 'type' => 'string', |
|
83 | - ), |
|
84 | - 'actorIpAddress' => array( |
|
85 | - 'location' => 'query', |
|
86 | - 'type' => 'string', |
|
87 | - ), |
|
88 | - 'maxResults' => array( |
|
89 | - 'location' => 'query', |
|
90 | - 'type' => 'integer', |
|
91 | - ), |
|
92 | - 'eventName' => array( |
|
93 | - 'location' => 'query', |
|
94 | - 'type' => 'string', |
|
95 | - ), |
|
96 | - 'pageToken' => array( |
|
97 | - 'location' => 'query', |
|
98 | - 'type' => 'string', |
|
99 | - ), |
|
100 | - 'filters' => array( |
|
101 | - 'location' => 'query', |
|
102 | - 'type' => 'string', |
|
103 | - ), |
|
104 | - 'endTime' => array( |
|
105 | - 'location' => 'query', |
|
106 | - 'type' => 'string', |
|
107 | - ), |
|
108 | - 'customerId' => array( |
|
109 | - 'location' => 'query', |
|
110 | - 'type' => 'string', |
|
111 | - ), |
|
112 | - ), |
|
113 | - ),'watch' => array( |
|
114 | - 'path' => 'activity/users/{userKey}/applications/{applicationName}/watch', |
|
115 | - 'httpMethod' => 'POST', |
|
116 | - 'parameters' => array( |
|
117 | - 'userKey' => array( |
|
118 | - 'location' => 'path', |
|
119 | - 'type' => 'string', |
|
120 | - 'required' => true, |
|
121 | - ), |
|
122 | - 'applicationName' => array( |
|
123 | - 'location' => 'path', |
|
124 | - 'type' => 'string', |
|
125 | - 'required' => true, |
|
126 | - ), |
|
127 | - 'startTime' => array( |
|
128 | - 'location' => 'query', |
|
129 | - 'type' => 'string', |
|
130 | - ), |
|
131 | - 'actorIpAddress' => array( |
|
132 | - 'location' => 'query', |
|
133 | - 'type' => 'string', |
|
134 | - ), |
|
135 | - 'maxResults' => array( |
|
136 | - 'location' => 'query', |
|
137 | - 'type' => 'integer', |
|
138 | - ), |
|
139 | - 'eventName' => array( |
|
140 | - 'location' => 'query', |
|
141 | - 'type' => 'string', |
|
142 | - ), |
|
143 | - 'pageToken' => array( |
|
144 | - 'location' => 'query', |
|
145 | - 'type' => 'string', |
|
146 | - ), |
|
147 | - 'filters' => array( |
|
148 | - 'location' => 'query', |
|
149 | - 'type' => 'string', |
|
150 | - ), |
|
151 | - 'endTime' => array( |
|
152 | - 'location' => 'query', |
|
153 | - 'type' => 'string', |
|
154 | - ), |
|
155 | - 'customerId' => array( |
|
156 | - 'location' => 'query', |
|
157 | - 'type' => 'string', |
|
158 | - ), |
|
159 | - ), |
|
160 | - ), |
|
161 | - ) |
|
162 | - ) |
|
163 | - ); |
|
164 | - $this->channels = new Google_Service_Reports_Channels_Resource( |
|
165 | - $this, |
|
166 | - $this->serviceName, |
|
167 | - 'channels', |
|
168 | - array( |
|
169 | - 'methods' => array( |
|
170 | - 'stop' => array( |
|
171 | - 'path' => '/admin/reports_v1/channels/stop', |
|
172 | - 'httpMethod' => 'POST', |
|
173 | - 'parameters' => array(), |
|
174 | - ), |
|
175 | - ) |
|
176 | - ) |
|
177 | - ); |
|
178 | - $this->customerUsageReports = new Google_Service_Reports_CustomerUsageReports_Resource( |
|
179 | - $this, |
|
180 | - $this->serviceName, |
|
181 | - 'customerUsageReports', |
|
182 | - array( |
|
183 | - 'methods' => array( |
|
184 | - 'get' => array( |
|
185 | - 'path' => 'usage/dates/{date}', |
|
186 | - 'httpMethod' => 'GET', |
|
187 | - 'parameters' => array( |
|
188 | - 'date' => array( |
|
189 | - 'location' => 'path', |
|
190 | - 'type' => 'string', |
|
191 | - 'required' => true, |
|
192 | - ), |
|
193 | - 'pageToken' => array( |
|
194 | - 'location' => 'query', |
|
195 | - 'type' => 'string', |
|
196 | - ), |
|
197 | - 'customerId' => array( |
|
198 | - 'location' => 'query', |
|
199 | - 'type' => 'string', |
|
200 | - ), |
|
201 | - 'parameters' => array( |
|
202 | - 'location' => 'query', |
|
203 | - 'type' => 'string', |
|
204 | - ), |
|
205 | - ), |
|
206 | - ), |
|
207 | - ) |
|
208 | - ) |
|
209 | - ); |
|
210 | - $this->userUsageReport = new Google_Service_Reports_UserUsageReport_Resource( |
|
211 | - $this, |
|
212 | - $this->serviceName, |
|
213 | - 'userUsageReport', |
|
214 | - array( |
|
215 | - 'methods' => array( |
|
216 | - 'get' => array( |
|
217 | - 'path' => 'usage/users/{userKey}/dates/{date}', |
|
218 | - 'httpMethod' => 'GET', |
|
219 | - 'parameters' => array( |
|
220 | - 'userKey' => array( |
|
221 | - 'location' => 'path', |
|
222 | - 'type' => 'string', |
|
223 | - 'required' => true, |
|
224 | - ), |
|
225 | - 'date' => array( |
|
226 | - 'location' => 'path', |
|
227 | - 'type' => 'string', |
|
228 | - 'required' => true, |
|
229 | - ), |
|
230 | - 'parameters' => array( |
|
231 | - 'location' => 'query', |
|
232 | - 'type' => 'string', |
|
233 | - ), |
|
234 | - 'maxResults' => array( |
|
235 | - 'location' => 'query', |
|
236 | - 'type' => 'integer', |
|
237 | - ), |
|
238 | - 'pageToken' => array( |
|
239 | - 'location' => 'query', |
|
240 | - 'type' => 'string', |
|
241 | - ), |
|
242 | - 'filters' => array( |
|
243 | - 'location' => 'query', |
|
244 | - 'type' => 'string', |
|
245 | - ), |
|
246 | - 'customerId' => array( |
|
247 | - 'location' => 'query', |
|
248 | - 'type' => 'string', |
|
249 | - ), |
|
250 | - ), |
|
251 | - ), |
|
252 | - ) |
|
253 | - ) |
|
254 | - ); |
|
60 | + $this->activities = new Google_Service_Reports_Activities_Resource( |
|
61 | + $this, |
|
62 | + $this->serviceName, |
|
63 | + 'activities', |
|
64 | + array( |
|
65 | + 'methods' => array( |
|
66 | + 'list' => array( |
|
67 | + 'path' => 'activity/users/{userKey}/applications/{applicationName}', |
|
68 | + 'httpMethod' => 'GET', |
|
69 | + 'parameters' => array( |
|
70 | + 'userKey' => array( |
|
71 | + 'location' => 'path', |
|
72 | + 'type' => 'string', |
|
73 | + 'required' => true, |
|
74 | + ), |
|
75 | + 'applicationName' => array( |
|
76 | + 'location' => 'path', |
|
77 | + 'type' => 'string', |
|
78 | + 'required' => true, |
|
79 | + ), |
|
80 | + 'startTime' => array( |
|
81 | + 'location' => 'query', |
|
82 | + 'type' => 'string', |
|
83 | + ), |
|
84 | + 'actorIpAddress' => array( |
|
85 | + 'location' => 'query', |
|
86 | + 'type' => 'string', |
|
87 | + ), |
|
88 | + 'maxResults' => array( |
|
89 | + 'location' => 'query', |
|
90 | + 'type' => 'integer', |
|
91 | + ), |
|
92 | + 'eventName' => array( |
|
93 | + 'location' => 'query', |
|
94 | + 'type' => 'string', |
|
95 | + ), |
|
96 | + 'pageToken' => array( |
|
97 | + 'location' => 'query', |
|
98 | + 'type' => 'string', |
|
99 | + ), |
|
100 | + 'filters' => array( |
|
101 | + 'location' => 'query', |
|
102 | + 'type' => 'string', |
|
103 | + ), |
|
104 | + 'endTime' => array( |
|
105 | + 'location' => 'query', |
|
106 | + 'type' => 'string', |
|
107 | + ), |
|
108 | + 'customerId' => array( |
|
109 | + 'location' => 'query', |
|
110 | + 'type' => 'string', |
|
111 | + ), |
|
112 | + ), |
|
113 | + ),'watch' => array( |
|
114 | + 'path' => 'activity/users/{userKey}/applications/{applicationName}/watch', |
|
115 | + 'httpMethod' => 'POST', |
|
116 | + 'parameters' => array( |
|
117 | + 'userKey' => array( |
|
118 | + 'location' => 'path', |
|
119 | + 'type' => 'string', |
|
120 | + 'required' => true, |
|
121 | + ), |
|
122 | + 'applicationName' => array( |
|
123 | + 'location' => 'path', |
|
124 | + 'type' => 'string', |
|
125 | + 'required' => true, |
|
126 | + ), |
|
127 | + 'startTime' => array( |
|
128 | + 'location' => 'query', |
|
129 | + 'type' => 'string', |
|
130 | + ), |
|
131 | + 'actorIpAddress' => array( |
|
132 | + 'location' => 'query', |
|
133 | + 'type' => 'string', |
|
134 | + ), |
|
135 | + 'maxResults' => array( |
|
136 | + 'location' => 'query', |
|
137 | + 'type' => 'integer', |
|
138 | + ), |
|
139 | + 'eventName' => array( |
|
140 | + 'location' => 'query', |
|
141 | + 'type' => 'string', |
|
142 | + ), |
|
143 | + 'pageToken' => array( |
|
144 | + 'location' => 'query', |
|
145 | + 'type' => 'string', |
|
146 | + ), |
|
147 | + 'filters' => array( |
|
148 | + 'location' => 'query', |
|
149 | + 'type' => 'string', |
|
150 | + ), |
|
151 | + 'endTime' => array( |
|
152 | + 'location' => 'query', |
|
153 | + 'type' => 'string', |
|
154 | + ), |
|
155 | + 'customerId' => array( |
|
156 | + 'location' => 'query', |
|
157 | + 'type' => 'string', |
|
158 | + ), |
|
159 | + ), |
|
160 | + ), |
|
161 | + ) |
|
162 | + ) |
|
163 | + ); |
|
164 | + $this->channels = new Google_Service_Reports_Channels_Resource( |
|
165 | + $this, |
|
166 | + $this->serviceName, |
|
167 | + 'channels', |
|
168 | + array( |
|
169 | + 'methods' => array( |
|
170 | + 'stop' => array( |
|
171 | + 'path' => '/admin/reports_v1/channels/stop', |
|
172 | + 'httpMethod' => 'POST', |
|
173 | + 'parameters' => array(), |
|
174 | + ), |
|
175 | + ) |
|
176 | + ) |
|
177 | + ); |
|
178 | + $this->customerUsageReports = new Google_Service_Reports_CustomerUsageReports_Resource( |
|
179 | + $this, |
|
180 | + $this->serviceName, |
|
181 | + 'customerUsageReports', |
|
182 | + array( |
|
183 | + 'methods' => array( |
|
184 | + 'get' => array( |
|
185 | + 'path' => 'usage/dates/{date}', |
|
186 | + 'httpMethod' => 'GET', |
|
187 | + 'parameters' => array( |
|
188 | + 'date' => array( |
|
189 | + 'location' => 'path', |
|
190 | + 'type' => 'string', |
|
191 | + 'required' => true, |
|
192 | + ), |
|
193 | + 'pageToken' => array( |
|
194 | + 'location' => 'query', |
|
195 | + 'type' => 'string', |
|
196 | + ), |
|
197 | + 'customerId' => array( |
|
198 | + 'location' => 'query', |
|
199 | + 'type' => 'string', |
|
200 | + ), |
|
201 | + 'parameters' => array( |
|
202 | + 'location' => 'query', |
|
203 | + 'type' => 'string', |
|
204 | + ), |
|
205 | + ), |
|
206 | + ), |
|
207 | + ) |
|
208 | + ) |
|
209 | + ); |
|
210 | + $this->userUsageReport = new Google_Service_Reports_UserUsageReport_Resource( |
|
211 | + $this, |
|
212 | + $this->serviceName, |
|
213 | + 'userUsageReport', |
|
214 | + array( |
|
215 | + 'methods' => array( |
|
216 | + 'get' => array( |
|
217 | + 'path' => 'usage/users/{userKey}/dates/{date}', |
|
218 | + 'httpMethod' => 'GET', |
|
219 | + 'parameters' => array( |
|
220 | + 'userKey' => array( |
|
221 | + 'location' => 'path', |
|
222 | + 'type' => 'string', |
|
223 | + 'required' => true, |
|
224 | + ), |
|
225 | + 'date' => array( |
|
226 | + 'location' => 'path', |
|
227 | + 'type' => 'string', |
|
228 | + 'required' => true, |
|
229 | + ), |
|
230 | + 'parameters' => array( |
|
231 | + 'location' => 'query', |
|
232 | + 'type' => 'string', |
|
233 | + ), |
|
234 | + 'maxResults' => array( |
|
235 | + 'location' => 'query', |
|
236 | + 'type' => 'integer', |
|
237 | + ), |
|
238 | + 'pageToken' => array( |
|
239 | + 'location' => 'query', |
|
240 | + 'type' => 'string', |
|
241 | + ), |
|
242 | + 'filters' => array( |
|
243 | + 'location' => 'query', |
|
244 | + 'type' => 'string', |
|
245 | + ), |
|
246 | + 'customerId' => array( |
|
247 | + 'location' => 'query', |
|
248 | + 'type' => 'string', |
|
249 | + ), |
|
250 | + ), |
|
251 | + ), |
|
252 | + ) |
|
253 | + ) |
|
254 | + ); |
|
255 | 255 | } |
256 | 256 | } |
257 | 257 | |
@@ -296,9 +296,9 @@ discard block |
||
296 | 296 | */ |
297 | 297 | public function listActivities($userKey, $applicationName, $optParams = array()) |
298 | 298 | { |
299 | - $params = array('userKey' => $userKey, 'applicationName' => $applicationName); |
|
300 | - $params = array_merge($params, $optParams); |
|
301 | - return $this->call('list', array($params), "Google_Service_Reports_Activities"); |
|
299 | + $params = array('userKey' => $userKey, 'applicationName' => $applicationName); |
|
300 | + $params = array_merge($params, $optParams); |
|
301 | + return $this->call('list', array($params), "Google_Service_Reports_Activities"); |
|
302 | 302 | } |
303 | 303 | |
304 | 304 | /** |
@@ -330,9 +330,9 @@ discard block |
||
330 | 330 | */ |
331 | 331 | public function watch($userKey, $applicationName, Google_Service_Reports_Channel $postBody, $optParams = array()) |
332 | 332 | { |
333 | - $params = array('userKey' => $userKey, 'applicationName' => $applicationName, 'postBody' => $postBody); |
|
334 | - $params = array_merge($params, $optParams); |
|
335 | - return $this->call('watch', array($params), "Google_Service_Reports_Channel"); |
|
333 | + $params = array('userKey' => $userKey, 'applicationName' => $applicationName, 'postBody' => $postBody); |
|
334 | + $params = array_merge($params, $optParams); |
|
335 | + return $this->call('watch', array($params), "Google_Service_Reports_Channel"); |
|
336 | 336 | } |
337 | 337 | } |
338 | 338 | |
@@ -355,9 +355,9 @@ discard block |
||
355 | 355 | */ |
356 | 356 | public function stop(Google_Service_Reports_Channel $postBody, $optParams = array()) |
357 | 357 | { |
358 | - $params = array('postBody' => $postBody); |
|
359 | - $params = array_merge($params, $optParams); |
|
360 | - return $this->call('stop', array($params)); |
|
358 | + $params = array('postBody' => $postBody); |
|
359 | + $params = array_merge($params, $optParams); |
|
360 | + return $this->call('stop', array($params)); |
|
361 | 361 | } |
362 | 362 | } |
363 | 363 | |
@@ -389,9 +389,9 @@ discard block |
||
389 | 389 | */ |
390 | 390 | public function get($date, $optParams = array()) |
391 | 391 | { |
392 | - $params = array('date' => $date); |
|
393 | - $params = array_merge($params, $optParams); |
|
394 | - return $this->call('get', array($params), "Google_Service_Reports_UsageReports"); |
|
392 | + $params = array('date' => $date); |
|
393 | + $params = array_merge($params, $optParams); |
|
394 | + return $this->call('get', array($params), "Google_Service_Reports_UsageReports"); |
|
395 | 395 | } |
396 | 396 | } |
397 | 397 | |
@@ -429,9 +429,9 @@ discard block |
||
429 | 429 | */ |
430 | 430 | public function get($userKey, $date, $optParams = array()) |
431 | 431 | { |
432 | - $params = array('userKey' => $userKey, 'date' => $date); |
|
433 | - $params = array_merge($params, $optParams); |
|
434 | - return $this->call('get', array($params), "Google_Service_Reports_UsageReports"); |
|
432 | + $params = array('userKey' => $userKey, 'date' => $date); |
|
433 | + $params = array_merge($params, $optParams); |
|
434 | + return $this->call('get', array($params), "Google_Service_Reports_UsageReports"); |
|
435 | 435 | } |
436 | 436 | } |
437 | 437 | |
@@ -452,35 +452,35 @@ discard block |
||
452 | 452 | |
453 | 453 | public function setEtag($etag) |
454 | 454 | { |
455 | - $this->etag = $etag; |
|
455 | + $this->etag = $etag; |
|
456 | 456 | } |
457 | 457 | public function getEtag() |
458 | 458 | { |
459 | - return $this->etag; |
|
459 | + return $this->etag; |
|
460 | 460 | } |
461 | 461 | public function setItems($items) |
462 | 462 | { |
463 | - $this->items = $items; |
|
463 | + $this->items = $items; |
|
464 | 464 | } |
465 | 465 | public function getItems() |
466 | 466 | { |
467 | - return $this->items; |
|
467 | + return $this->items; |
|
468 | 468 | } |
469 | 469 | public function setKind($kind) |
470 | 470 | { |
471 | - $this->kind = $kind; |
|
471 | + $this->kind = $kind; |
|
472 | 472 | } |
473 | 473 | public function getKind() |
474 | 474 | { |
475 | - return $this->kind; |
|
475 | + return $this->kind; |
|
476 | 476 | } |
477 | 477 | public function setNextPageToken($nextPageToken) |
478 | 478 | { |
479 | - $this->nextPageToken = $nextPageToken; |
|
479 | + $this->nextPageToken = $nextPageToken; |
|
480 | 480 | } |
481 | 481 | public function getNextPageToken() |
482 | 482 | { |
483 | - return $this->nextPageToken; |
|
483 | + return $this->nextPageToken; |
|
484 | 484 | } |
485 | 485 | } |
486 | 486 | |
@@ -503,59 +503,59 @@ discard block |
||
503 | 503 | |
504 | 504 | public function setActor(Google_Service_Reports_ActivityActor $actor) |
505 | 505 | { |
506 | - $this->actor = $actor; |
|
506 | + $this->actor = $actor; |
|
507 | 507 | } |
508 | 508 | public function getActor() |
509 | 509 | { |
510 | - return $this->actor; |
|
510 | + return $this->actor; |
|
511 | 511 | } |
512 | 512 | public function setEtag($etag) |
513 | 513 | { |
514 | - $this->etag = $etag; |
|
514 | + $this->etag = $etag; |
|
515 | 515 | } |
516 | 516 | public function getEtag() |
517 | 517 | { |
518 | - return $this->etag; |
|
518 | + return $this->etag; |
|
519 | 519 | } |
520 | 520 | public function setEvents($events) |
521 | 521 | { |
522 | - $this->events = $events; |
|
522 | + $this->events = $events; |
|
523 | 523 | } |
524 | 524 | public function getEvents() |
525 | 525 | { |
526 | - return $this->events; |
|
526 | + return $this->events; |
|
527 | 527 | } |
528 | 528 | public function setId(Google_Service_Reports_ActivityId $id) |
529 | 529 | { |
530 | - $this->id = $id; |
|
530 | + $this->id = $id; |
|
531 | 531 | } |
532 | 532 | public function getId() |
533 | 533 | { |
534 | - return $this->id; |
|
534 | + return $this->id; |
|
535 | 535 | } |
536 | 536 | public function setIpAddress($ipAddress) |
537 | 537 | { |
538 | - $this->ipAddress = $ipAddress; |
|
538 | + $this->ipAddress = $ipAddress; |
|
539 | 539 | } |
540 | 540 | public function getIpAddress() |
541 | 541 | { |
542 | - return $this->ipAddress; |
|
542 | + return $this->ipAddress; |
|
543 | 543 | } |
544 | 544 | public function setKind($kind) |
545 | 545 | { |
546 | - $this->kind = $kind; |
|
546 | + $this->kind = $kind; |
|
547 | 547 | } |
548 | 548 | public function getKind() |
549 | 549 | { |
550 | - return $this->kind; |
|
550 | + return $this->kind; |
|
551 | 551 | } |
552 | 552 | public function setOwnerDomain($ownerDomain) |
553 | 553 | { |
554 | - $this->ownerDomain = $ownerDomain; |
|
554 | + $this->ownerDomain = $ownerDomain; |
|
555 | 555 | } |
556 | 556 | public function getOwnerDomain() |
557 | 557 | { |
558 | - return $this->ownerDomain; |
|
558 | + return $this->ownerDomain; |
|
559 | 559 | } |
560 | 560 | } |
561 | 561 | |
@@ -571,35 +571,35 @@ discard block |
||
571 | 571 | |
572 | 572 | public function setCallerType($callerType) |
573 | 573 | { |
574 | - $this->callerType = $callerType; |
|
574 | + $this->callerType = $callerType; |
|
575 | 575 | } |
576 | 576 | public function getCallerType() |
577 | 577 | { |
578 | - return $this->callerType; |
|
578 | + return $this->callerType; |
|
579 | 579 | } |
580 | 580 | public function setEmail($email) |
581 | 581 | { |
582 | - $this->email = $email; |
|
582 | + $this->email = $email; |
|
583 | 583 | } |
584 | 584 | public function getEmail() |
585 | 585 | { |
586 | - return $this->email; |
|
586 | + return $this->email; |
|
587 | 587 | } |
588 | 588 | public function setKey($key) |
589 | 589 | { |
590 | - $this->key = $key; |
|
590 | + $this->key = $key; |
|
591 | 591 | } |
592 | 592 | public function getKey() |
593 | 593 | { |
594 | - return $this->key; |
|
594 | + return $this->key; |
|
595 | 595 | } |
596 | 596 | public function setProfileId($profileId) |
597 | 597 | { |
598 | - $this->profileId = $profileId; |
|
598 | + $this->profileId = $profileId; |
|
599 | 599 | } |
600 | 600 | public function getProfileId() |
601 | 601 | { |
602 | - return $this->profileId; |
|
602 | + return $this->profileId; |
|
603 | 603 | } |
604 | 604 | } |
605 | 605 | |
@@ -616,27 +616,27 @@ discard block |
||
616 | 616 | |
617 | 617 | public function setName($name) |
618 | 618 | { |
619 | - $this->name = $name; |
|
619 | + $this->name = $name; |
|
620 | 620 | } |
621 | 621 | public function getName() |
622 | 622 | { |
623 | - return $this->name; |
|
623 | + return $this->name; |
|
624 | 624 | } |
625 | 625 | public function setParameters($parameters) |
626 | 626 | { |
627 | - $this->parameters = $parameters; |
|
627 | + $this->parameters = $parameters; |
|
628 | 628 | } |
629 | 629 | public function getParameters() |
630 | 630 | { |
631 | - return $this->parameters; |
|
631 | + return $this->parameters; |
|
632 | 632 | } |
633 | 633 | public function setType($type) |
634 | 634 | { |
635 | - $this->type = $type; |
|
635 | + $this->type = $type; |
|
636 | 636 | } |
637 | 637 | public function getType() |
638 | 638 | { |
639 | - return $this->type; |
|
639 | + return $this->type; |
|
640 | 640 | } |
641 | 641 | } |
642 | 642 | |
@@ -655,51 +655,51 @@ discard block |
||
655 | 655 | |
656 | 656 | public function setBoolValue($boolValue) |
657 | 657 | { |
658 | - $this->boolValue = $boolValue; |
|
658 | + $this->boolValue = $boolValue; |
|
659 | 659 | } |
660 | 660 | public function getBoolValue() |
661 | 661 | { |
662 | - return $this->boolValue; |
|
662 | + return $this->boolValue; |
|
663 | 663 | } |
664 | 664 | public function setIntValue($intValue) |
665 | 665 | { |
666 | - $this->intValue = $intValue; |
|
666 | + $this->intValue = $intValue; |
|
667 | 667 | } |
668 | 668 | public function getIntValue() |
669 | 669 | { |
670 | - return $this->intValue; |
|
670 | + return $this->intValue; |
|
671 | 671 | } |
672 | 672 | public function setMultiIntValue($multiIntValue) |
673 | 673 | { |
674 | - $this->multiIntValue = $multiIntValue; |
|
674 | + $this->multiIntValue = $multiIntValue; |
|
675 | 675 | } |
676 | 676 | public function getMultiIntValue() |
677 | 677 | { |
678 | - return $this->multiIntValue; |
|
678 | + return $this->multiIntValue; |
|
679 | 679 | } |
680 | 680 | public function setMultiValue($multiValue) |
681 | 681 | { |
682 | - $this->multiValue = $multiValue; |
|
682 | + $this->multiValue = $multiValue; |
|
683 | 683 | } |
684 | 684 | public function getMultiValue() |
685 | 685 | { |
686 | - return $this->multiValue; |
|
686 | + return $this->multiValue; |
|
687 | 687 | } |
688 | 688 | public function setName($name) |
689 | 689 | { |
690 | - $this->name = $name; |
|
690 | + $this->name = $name; |
|
691 | 691 | } |
692 | 692 | public function getName() |
693 | 693 | { |
694 | - return $this->name; |
|
694 | + return $this->name; |
|
695 | 695 | } |
696 | 696 | public function setValue($value) |
697 | 697 | { |
698 | - $this->value = $value; |
|
698 | + $this->value = $value; |
|
699 | 699 | } |
700 | 700 | public function getValue() |
701 | 701 | { |
702 | - return $this->value; |
|
702 | + return $this->value; |
|
703 | 703 | } |
704 | 704 | } |
705 | 705 | |
@@ -715,35 +715,35 @@ discard block |
||
715 | 715 | |
716 | 716 | public function setApplicationName($applicationName) |
717 | 717 | { |
718 | - $this->applicationName = $applicationName; |
|
718 | + $this->applicationName = $applicationName; |
|
719 | 719 | } |
720 | 720 | public function getApplicationName() |
721 | 721 | { |
722 | - return $this->applicationName; |
|
722 | + return $this->applicationName; |
|
723 | 723 | } |
724 | 724 | public function setCustomerId($customerId) |
725 | 725 | { |
726 | - $this->customerId = $customerId; |
|
726 | + $this->customerId = $customerId; |
|
727 | 727 | } |
728 | 728 | public function getCustomerId() |
729 | 729 | { |
730 | - return $this->customerId; |
|
730 | + return $this->customerId; |
|
731 | 731 | } |
732 | 732 | public function setTime($time) |
733 | 733 | { |
734 | - $this->time = $time; |
|
734 | + $this->time = $time; |
|
735 | 735 | } |
736 | 736 | public function getTime() |
737 | 737 | { |
738 | - return $this->time; |
|
738 | + return $this->time; |
|
739 | 739 | } |
740 | 740 | public function setUniqueQualifier($uniqueQualifier) |
741 | 741 | { |
742 | - $this->uniqueQualifier = $uniqueQualifier; |
|
742 | + $this->uniqueQualifier = $uniqueQualifier; |
|
743 | 743 | } |
744 | 744 | public function getUniqueQualifier() |
745 | 745 | { |
746 | - return $this->uniqueQualifier; |
|
746 | + return $this->uniqueQualifier; |
|
747 | 747 | } |
748 | 748 | } |
749 | 749 | |
@@ -765,83 +765,83 @@ discard block |
||
765 | 765 | |
766 | 766 | public function setAddress($address) |
767 | 767 | { |
768 | - $this->address = $address; |
|
768 | + $this->address = $address; |
|
769 | 769 | } |
770 | 770 | public function getAddress() |
771 | 771 | { |
772 | - return $this->address; |
|
772 | + return $this->address; |
|
773 | 773 | } |
774 | 774 | public function setExpiration($expiration) |
775 | 775 | { |
776 | - $this->expiration = $expiration; |
|
776 | + $this->expiration = $expiration; |
|
777 | 777 | } |
778 | 778 | public function getExpiration() |
779 | 779 | { |
780 | - return $this->expiration; |
|
780 | + return $this->expiration; |
|
781 | 781 | } |
782 | 782 | public function setId($id) |
783 | 783 | { |
784 | - $this->id = $id; |
|
784 | + $this->id = $id; |
|
785 | 785 | } |
786 | 786 | public function getId() |
787 | 787 | { |
788 | - return $this->id; |
|
788 | + return $this->id; |
|
789 | 789 | } |
790 | 790 | public function setKind($kind) |
791 | 791 | { |
792 | - $this->kind = $kind; |
|
792 | + $this->kind = $kind; |
|
793 | 793 | } |
794 | 794 | public function getKind() |
795 | 795 | { |
796 | - return $this->kind; |
|
796 | + return $this->kind; |
|
797 | 797 | } |
798 | 798 | public function setParams($params) |
799 | 799 | { |
800 | - $this->params = $params; |
|
800 | + $this->params = $params; |
|
801 | 801 | } |
802 | 802 | public function getParams() |
803 | 803 | { |
804 | - return $this->params; |
|
804 | + return $this->params; |
|
805 | 805 | } |
806 | 806 | public function setPayload($payload) |
807 | 807 | { |
808 | - $this->payload = $payload; |
|
808 | + $this->payload = $payload; |
|
809 | 809 | } |
810 | 810 | public function getPayload() |
811 | 811 | { |
812 | - return $this->payload; |
|
812 | + return $this->payload; |
|
813 | 813 | } |
814 | 814 | public function setResourceId($resourceId) |
815 | 815 | { |
816 | - $this->resourceId = $resourceId; |
|
816 | + $this->resourceId = $resourceId; |
|
817 | 817 | } |
818 | 818 | public function getResourceId() |
819 | 819 | { |
820 | - return $this->resourceId; |
|
820 | + return $this->resourceId; |
|
821 | 821 | } |
822 | 822 | public function setResourceUri($resourceUri) |
823 | 823 | { |
824 | - $this->resourceUri = $resourceUri; |
|
824 | + $this->resourceUri = $resourceUri; |
|
825 | 825 | } |
826 | 826 | public function getResourceUri() |
827 | 827 | { |
828 | - return $this->resourceUri; |
|
828 | + return $this->resourceUri; |
|
829 | 829 | } |
830 | 830 | public function setToken($token) |
831 | 831 | { |
832 | - $this->token = $token; |
|
832 | + $this->token = $token; |
|
833 | 833 | } |
834 | 834 | public function getToken() |
835 | 835 | { |
836 | - return $this->token; |
|
836 | + return $this->token; |
|
837 | 837 | } |
838 | 838 | public function setType($type) |
839 | 839 | { |
840 | - $this->type = $type; |
|
840 | + $this->type = $type; |
|
841 | 841 | } |
842 | 842 | public function getType() |
843 | 843 | { |
844 | - return $this->type; |
|
844 | + return $this->type; |
|
845 | 845 | } |
846 | 846 | } |
847 | 847 | |
@@ -865,43 +865,43 @@ discard block |
||
865 | 865 | |
866 | 866 | public function setDate($date) |
867 | 867 | { |
868 | - $this->date = $date; |
|
868 | + $this->date = $date; |
|
869 | 869 | } |
870 | 870 | public function getDate() |
871 | 871 | { |
872 | - return $this->date; |
|
872 | + return $this->date; |
|
873 | 873 | } |
874 | 874 | public function setEntity(Google_Service_Reports_UsageReportEntity $entity) |
875 | 875 | { |
876 | - $this->entity = $entity; |
|
876 | + $this->entity = $entity; |
|
877 | 877 | } |
878 | 878 | public function getEntity() |
879 | 879 | { |
880 | - return $this->entity; |
|
880 | + return $this->entity; |
|
881 | 881 | } |
882 | 882 | public function setEtag($etag) |
883 | 883 | { |
884 | - $this->etag = $etag; |
|
884 | + $this->etag = $etag; |
|
885 | 885 | } |
886 | 886 | public function getEtag() |
887 | 887 | { |
888 | - return $this->etag; |
|
888 | + return $this->etag; |
|
889 | 889 | } |
890 | 890 | public function setKind($kind) |
891 | 891 | { |
892 | - $this->kind = $kind; |
|
892 | + $this->kind = $kind; |
|
893 | 893 | } |
894 | 894 | public function getKind() |
895 | 895 | { |
896 | - return $this->kind; |
|
896 | + return $this->kind; |
|
897 | 897 | } |
898 | 898 | public function setParameters($parameters) |
899 | 899 | { |
900 | - $this->parameters = $parameters; |
|
900 | + $this->parameters = $parameters; |
|
901 | 901 | } |
902 | 902 | public function getParameters() |
903 | 903 | { |
904 | - return $this->parameters; |
|
904 | + return $this->parameters; |
|
905 | 905 | } |
906 | 906 | } |
907 | 907 | |
@@ -917,35 +917,35 @@ discard block |
||
917 | 917 | |
918 | 918 | public function setCustomerId($customerId) |
919 | 919 | { |
920 | - $this->customerId = $customerId; |
|
920 | + $this->customerId = $customerId; |
|
921 | 921 | } |
922 | 922 | public function getCustomerId() |
923 | 923 | { |
924 | - return $this->customerId; |
|
924 | + return $this->customerId; |
|
925 | 925 | } |
926 | 926 | public function setProfileId($profileId) |
927 | 927 | { |
928 | - $this->profileId = $profileId; |
|
928 | + $this->profileId = $profileId; |
|
929 | 929 | } |
930 | 930 | public function getProfileId() |
931 | 931 | { |
932 | - return $this->profileId; |
|
932 | + return $this->profileId; |
|
933 | 933 | } |
934 | 934 | public function setType($type) |
935 | 935 | { |
936 | - $this->type = $type; |
|
936 | + $this->type = $type; |
|
937 | 937 | } |
938 | 938 | public function getType() |
939 | 939 | { |
940 | - return $this->type; |
|
940 | + return $this->type; |
|
941 | 941 | } |
942 | 942 | public function setUserEmail($userEmail) |
943 | 943 | { |
944 | - $this->userEmail = $userEmail; |
|
944 | + $this->userEmail = $userEmail; |
|
945 | 945 | } |
946 | 946 | public function getUserEmail() |
947 | 947 | { |
948 | - return $this->userEmail; |
|
948 | + return $this->userEmail; |
|
949 | 949 | } |
950 | 950 | } |
951 | 951 | |
@@ -964,51 +964,51 @@ discard block |
||
964 | 964 | |
965 | 965 | public function setBoolValue($boolValue) |
966 | 966 | { |
967 | - $this->boolValue = $boolValue; |
|
967 | + $this->boolValue = $boolValue; |
|
968 | 968 | } |
969 | 969 | public function getBoolValue() |
970 | 970 | { |
971 | - return $this->boolValue; |
|
971 | + return $this->boolValue; |
|
972 | 972 | } |
973 | 973 | public function setDatetimeValue($datetimeValue) |
974 | 974 | { |
975 | - $this->datetimeValue = $datetimeValue; |
|
975 | + $this->datetimeValue = $datetimeValue; |
|
976 | 976 | } |
977 | 977 | public function getDatetimeValue() |
978 | 978 | { |
979 | - return $this->datetimeValue; |
|
979 | + return $this->datetimeValue; |
|
980 | 980 | } |
981 | 981 | public function setIntValue($intValue) |
982 | 982 | { |
983 | - $this->intValue = $intValue; |
|
983 | + $this->intValue = $intValue; |
|
984 | 984 | } |
985 | 985 | public function getIntValue() |
986 | 986 | { |
987 | - return $this->intValue; |
|
987 | + return $this->intValue; |
|
988 | 988 | } |
989 | 989 | public function setMsgValue($msgValue) |
990 | 990 | { |
991 | - $this->msgValue = $msgValue; |
|
991 | + $this->msgValue = $msgValue; |
|
992 | 992 | } |
993 | 993 | public function getMsgValue() |
994 | 994 | { |
995 | - return $this->msgValue; |
|
995 | + return $this->msgValue; |
|
996 | 996 | } |
997 | 997 | public function setName($name) |
998 | 998 | { |
999 | - $this->name = $name; |
|
999 | + $this->name = $name; |
|
1000 | 1000 | } |
1001 | 1001 | public function getName() |
1002 | 1002 | { |
1003 | - return $this->name; |
|
1003 | + return $this->name; |
|
1004 | 1004 | } |
1005 | 1005 | public function setStringValue($stringValue) |
1006 | 1006 | { |
1007 | - $this->stringValue = $stringValue; |
|
1007 | + $this->stringValue = $stringValue; |
|
1008 | 1008 | } |
1009 | 1009 | public function getStringValue() |
1010 | 1010 | { |
1011 | - return $this->stringValue; |
|
1011 | + return $this->stringValue; |
|
1012 | 1012 | } |
1013 | 1013 | } |
1014 | 1014 | |
@@ -1032,43 +1032,43 @@ discard block |
||
1032 | 1032 | |
1033 | 1033 | public function setEtag($etag) |
1034 | 1034 | { |
1035 | - $this->etag = $etag; |
|
1035 | + $this->etag = $etag; |
|
1036 | 1036 | } |
1037 | 1037 | public function getEtag() |
1038 | 1038 | { |
1039 | - return $this->etag; |
|
1039 | + return $this->etag; |
|
1040 | 1040 | } |
1041 | 1041 | public function setKind($kind) |
1042 | 1042 | { |
1043 | - $this->kind = $kind; |
|
1043 | + $this->kind = $kind; |
|
1044 | 1044 | } |
1045 | 1045 | public function getKind() |
1046 | 1046 | { |
1047 | - return $this->kind; |
|
1047 | + return $this->kind; |
|
1048 | 1048 | } |
1049 | 1049 | public function setNextPageToken($nextPageToken) |
1050 | 1050 | { |
1051 | - $this->nextPageToken = $nextPageToken; |
|
1051 | + $this->nextPageToken = $nextPageToken; |
|
1052 | 1052 | } |
1053 | 1053 | public function getNextPageToken() |
1054 | 1054 | { |
1055 | - return $this->nextPageToken; |
|
1055 | + return $this->nextPageToken; |
|
1056 | 1056 | } |
1057 | 1057 | public function setUsageReports($usageReports) |
1058 | 1058 | { |
1059 | - $this->usageReports = $usageReports; |
|
1059 | + $this->usageReports = $usageReports; |
|
1060 | 1060 | } |
1061 | 1061 | public function getUsageReports() |
1062 | 1062 | { |
1063 | - return $this->usageReports; |
|
1063 | + return $this->usageReports; |
|
1064 | 1064 | } |
1065 | 1065 | public function setWarnings($warnings) |
1066 | 1066 | { |
1067 | - $this->warnings = $warnings; |
|
1067 | + $this->warnings = $warnings; |
|
1068 | 1068 | } |
1069 | 1069 | public function getWarnings() |
1070 | 1070 | { |
1071 | - return $this->warnings; |
|
1071 | + return $this->warnings; |
|
1072 | 1072 | } |
1073 | 1073 | } |
1074 | 1074 | |
@@ -1085,27 +1085,27 @@ discard block |
||
1085 | 1085 | |
1086 | 1086 | public function setCode($code) |
1087 | 1087 | { |
1088 | - $this->code = $code; |
|
1088 | + $this->code = $code; |
|
1089 | 1089 | } |
1090 | 1090 | public function getCode() |
1091 | 1091 | { |
1092 | - return $this->code; |
|
1092 | + return $this->code; |
|
1093 | 1093 | } |
1094 | 1094 | public function setData($data) |
1095 | 1095 | { |
1096 | - $this->data = $data; |
|
1096 | + $this->data = $data; |
|
1097 | 1097 | } |
1098 | 1098 | public function getData() |
1099 | 1099 | { |
1100 | - return $this->data; |
|
1100 | + return $this->data; |
|
1101 | 1101 | } |
1102 | 1102 | public function setMessage($message) |
1103 | 1103 | { |
1104 | - $this->message = $message; |
|
1104 | + $this->message = $message; |
|
1105 | 1105 | } |
1106 | 1106 | public function getMessage() |
1107 | 1107 | { |
1108 | - return $this->message; |
|
1108 | + return $this->message; |
|
1109 | 1109 | } |
1110 | 1110 | } |
1111 | 1111 | |
@@ -1119,18 +1119,18 @@ discard block |
||
1119 | 1119 | |
1120 | 1120 | public function setKey($key) |
1121 | 1121 | { |
1122 | - $this->key = $key; |
|
1122 | + $this->key = $key; |
|
1123 | 1123 | } |
1124 | 1124 | public function getKey() |
1125 | 1125 | { |
1126 | - return $this->key; |
|
1126 | + return $this->key; |
|
1127 | 1127 | } |
1128 | 1128 | public function setValue($value) |
1129 | 1129 | { |
1130 | - $this->value = $value; |
|
1130 | + $this->value = $value; |
|
1131 | 1131 | } |
1132 | 1132 | public function getValue() |
1133 | 1133 | { |
1134 | - return $this->value; |
|
1134 | + return $this->value; |
|
1135 | 1135 | } |
1136 | 1136 | } |
@@ -110,7 +110,7 @@ |
||
110 | 110 | 'type' => 'string', |
111 | 111 | ), |
112 | 112 | ), |
113 | - ),'watch' => array( |
|
113 | + ), 'watch' => array( |
|
114 | 114 | 'path' => 'activity/users/{userKey}/applications/{applicationName}/watch', |
115 | 115 | 'httpMethod' => 'POST', |
116 | 116 | 'parameters' => array( |
@@ -310,7 +310,7 @@ discard block |
||
310 | 310 | /** |
311 | 311 | * Creates a customer resource if one does not already exist. (customers.insert) |
312 | 312 | * |
313 | - * @param Google_Customer $postBody |
|
313 | + * @param Google_Service_Reseller_Customer $postBody |
|
314 | 314 | * @param array $optParams Optional parameters. |
315 | 315 | * |
316 | 316 | * @opt_param string customerAuthToken An auth token needed for inserting a |
@@ -330,7 +330,7 @@ discard block |
||
330 | 330 | * This method supports patch semantics. (customers.patch) |
331 | 331 | * |
332 | 332 | * @param string $customerId Id of the Customer |
333 | - * @param Google_Customer $postBody |
|
333 | + * @param Google_Service_Reseller_Customer $postBody |
|
334 | 334 | * @param array $optParams Optional parameters. |
335 | 335 | * @return Google_Service_Reseller_Customer |
336 | 336 | */ |
@@ -346,7 +346,7 @@ discard block |
||
346 | 346 | * (customers.update) |
347 | 347 | * |
348 | 348 | * @param string $customerId Id of the Customer |
349 | - * @param Google_Customer $postBody |
|
349 | + * @param Google_Service_Reseller_Customer $postBody |
|
350 | 350 | * @param array $optParams Optional parameters. |
351 | 351 | * @return Google_Service_Reseller_Customer |
352 | 352 | */ |
@@ -392,7 +392,7 @@ discard block |
||
392 | 392 | * @param string $customerId Id of the Customer |
393 | 393 | * @param string $subscriptionId Id of the subscription, which is unique for a |
394 | 394 | * customer |
395 | - * @param Google_ChangePlanRequest $postBody |
|
395 | + * @param Google_Service_Reseller_ChangePlanRequest $postBody |
|
396 | 396 | * @param array $optParams Optional parameters. |
397 | 397 | * @return Google_Service_Reseller_Subscription |
398 | 398 | */ |
@@ -410,7 +410,7 @@ discard block |
||
410 | 410 | * @param string $customerId Id of the Customer |
411 | 411 | * @param string $subscriptionId Id of the subscription, which is unique for a |
412 | 412 | * customer |
413 | - * @param Google_RenewalSettings $postBody |
|
413 | + * @param Google_Service_Reseller_RenewalSettings $postBody |
|
414 | 414 | * @param array $optParams Optional parameters. |
415 | 415 | * @return Google_Service_Reseller_Subscription |
416 | 416 | */ |
@@ -427,7 +427,7 @@ discard block |
||
427 | 427 | * @param string $customerId Id of the Customer |
428 | 428 | * @param string $subscriptionId Id of the subscription, which is unique for a |
429 | 429 | * customer |
430 | - * @param Google_Seats $postBody |
|
430 | + * @param Google_Service_Reseller_Seats $postBody |
|
431 | 431 | * @param array $optParams Optional parameters. |
432 | 432 | * @return Google_Service_Reseller_Subscription |
433 | 433 | */ |
@@ -475,7 +475,7 @@ discard block |
||
475 | 475 | * Creates/Transfers a subscription for the customer. (subscriptions.insert) |
476 | 476 | * |
477 | 477 | * @param string $customerId Id of the Customer |
478 | - * @param Google_Subscription $postBody |
|
478 | + * @param Google_Service_Reseller_Subscription $postBody |
|
479 | 479 | * @param array $optParams Optional parameters. |
480 | 480 | * |
481 | 481 | * @opt_param string customerAuthToken An auth token needed for transferring a |
@@ -32,10 +32,10 @@ discard block |
||
32 | 32 | { |
33 | 33 | /** Manage users on your domain. */ |
34 | 34 | const APPS_ORDER = |
35 | - "https://www.googleapis.com/auth/apps.order"; |
|
35 | + "https://www.googleapis.com/auth/apps.order"; |
|
36 | 36 | /** Manage users on your domain. */ |
37 | 37 | const APPS_ORDER_READONLY = |
38 | - "https://www.googleapis.com/auth/apps.order.readonly"; |
|
38 | + "https://www.googleapis.com/auth/apps.order.readonly"; |
|
39 | 39 | |
40 | 40 | public $customers; |
41 | 41 | public $subscriptions; |
@@ -48,235 +48,235 @@ discard block |
||
48 | 48 | */ |
49 | 49 | public function __construct(Google_Client $client) |
50 | 50 | { |
51 | - parent::__construct($client); |
|
52 | - $this->rootUrl = 'https://www.googleapis.com/'; |
|
53 | - $this->servicePath = 'apps/reseller/v1/'; |
|
54 | - $this->version = 'v1'; |
|
55 | - $this->serviceName = 'reseller'; |
|
51 | + parent::__construct($client); |
|
52 | + $this->rootUrl = 'https://www.googleapis.com/'; |
|
53 | + $this->servicePath = 'apps/reseller/v1/'; |
|
54 | + $this->version = 'v1'; |
|
55 | + $this->serviceName = 'reseller'; |
|
56 | 56 | |
57 | - $this->customers = new Google_Service_Reseller_Customers_Resource( |
|
58 | - $this, |
|
59 | - $this->serviceName, |
|
60 | - 'customers', |
|
61 | - array( |
|
62 | - 'methods' => array( |
|
63 | - 'get' => array( |
|
64 | - 'path' => 'customers/{customerId}', |
|
65 | - 'httpMethod' => 'GET', |
|
66 | - 'parameters' => array( |
|
67 | - 'customerId' => array( |
|
68 | - 'location' => 'path', |
|
69 | - 'type' => 'string', |
|
70 | - 'required' => true, |
|
71 | - ), |
|
72 | - ), |
|
73 | - ),'insert' => array( |
|
74 | - 'path' => 'customers', |
|
75 | - 'httpMethod' => 'POST', |
|
76 | - 'parameters' => array( |
|
77 | - 'customerAuthToken' => array( |
|
78 | - 'location' => 'query', |
|
79 | - 'type' => 'string', |
|
80 | - ), |
|
81 | - ), |
|
82 | - ),'patch' => array( |
|
83 | - 'path' => 'customers/{customerId}', |
|
84 | - 'httpMethod' => 'PATCH', |
|
85 | - 'parameters' => array( |
|
86 | - 'customerId' => array( |
|
87 | - 'location' => 'path', |
|
88 | - 'type' => 'string', |
|
89 | - 'required' => true, |
|
90 | - ), |
|
91 | - ), |
|
92 | - ),'update' => array( |
|
93 | - 'path' => 'customers/{customerId}', |
|
94 | - 'httpMethod' => 'PUT', |
|
95 | - 'parameters' => array( |
|
96 | - 'customerId' => array( |
|
97 | - 'location' => 'path', |
|
98 | - 'type' => 'string', |
|
99 | - 'required' => true, |
|
100 | - ), |
|
101 | - ), |
|
102 | - ), |
|
103 | - ) |
|
104 | - ) |
|
105 | - ); |
|
106 | - $this->subscriptions = new Google_Service_Reseller_Subscriptions_Resource( |
|
107 | - $this, |
|
108 | - $this->serviceName, |
|
109 | - 'subscriptions', |
|
110 | - array( |
|
111 | - 'methods' => array( |
|
112 | - 'activate' => array( |
|
113 | - 'path' => 'customers/{customerId}/subscriptions/{subscriptionId}/activate', |
|
114 | - 'httpMethod' => 'POST', |
|
115 | - 'parameters' => array( |
|
116 | - 'customerId' => array( |
|
117 | - 'location' => 'path', |
|
118 | - 'type' => 'string', |
|
119 | - 'required' => true, |
|
120 | - ), |
|
121 | - 'subscriptionId' => array( |
|
122 | - 'location' => 'path', |
|
123 | - 'type' => 'string', |
|
124 | - 'required' => true, |
|
125 | - ), |
|
126 | - ), |
|
127 | - ),'changePlan' => array( |
|
128 | - 'path' => 'customers/{customerId}/subscriptions/{subscriptionId}/changePlan', |
|
129 | - 'httpMethod' => 'POST', |
|
130 | - 'parameters' => array( |
|
131 | - 'customerId' => array( |
|
132 | - 'location' => 'path', |
|
133 | - 'type' => 'string', |
|
134 | - 'required' => true, |
|
135 | - ), |
|
136 | - 'subscriptionId' => array( |
|
137 | - 'location' => 'path', |
|
138 | - 'type' => 'string', |
|
139 | - 'required' => true, |
|
140 | - ), |
|
141 | - ), |
|
142 | - ),'changeRenewalSettings' => array( |
|
143 | - 'path' => 'customers/{customerId}/subscriptions/{subscriptionId}/changeRenewalSettings', |
|
144 | - 'httpMethod' => 'POST', |
|
145 | - 'parameters' => array( |
|
146 | - 'customerId' => array( |
|
147 | - 'location' => 'path', |
|
148 | - 'type' => 'string', |
|
149 | - 'required' => true, |
|
150 | - ), |
|
151 | - 'subscriptionId' => array( |
|
152 | - 'location' => 'path', |
|
153 | - 'type' => 'string', |
|
154 | - 'required' => true, |
|
155 | - ), |
|
156 | - ), |
|
157 | - ),'changeSeats' => array( |
|
158 | - 'path' => 'customers/{customerId}/subscriptions/{subscriptionId}/changeSeats', |
|
159 | - 'httpMethod' => 'POST', |
|
160 | - 'parameters' => array( |
|
161 | - 'customerId' => array( |
|
162 | - 'location' => 'path', |
|
163 | - 'type' => 'string', |
|
164 | - 'required' => true, |
|
165 | - ), |
|
166 | - 'subscriptionId' => array( |
|
167 | - 'location' => 'path', |
|
168 | - 'type' => 'string', |
|
169 | - 'required' => true, |
|
170 | - ), |
|
171 | - ), |
|
172 | - ),'delete' => array( |
|
173 | - 'path' => 'customers/{customerId}/subscriptions/{subscriptionId}', |
|
174 | - 'httpMethod' => 'DELETE', |
|
175 | - 'parameters' => array( |
|
176 | - 'customerId' => array( |
|
177 | - 'location' => 'path', |
|
178 | - 'type' => 'string', |
|
179 | - 'required' => true, |
|
180 | - ), |
|
181 | - 'subscriptionId' => array( |
|
182 | - 'location' => 'path', |
|
183 | - 'type' => 'string', |
|
184 | - 'required' => true, |
|
185 | - ), |
|
186 | - 'deletionType' => array( |
|
187 | - 'location' => 'query', |
|
188 | - 'type' => 'string', |
|
189 | - 'required' => true, |
|
190 | - ), |
|
191 | - ), |
|
192 | - ),'get' => array( |
|
193 | - 'path' => 'customers/{customerId}/subscriptions/{subscriptionId}', |
|
194 | - 'httpMethod' => 'GET', |
|
195 | - 'parameters' => array( |
|
196 | - 'customerId' => array( |
|
197 | - 'location' => 'path', |
|
198 | - 'type' => 'string', |
|
199 | - 'required' => true, |
|
200 | - ), |
|
201 | - 'subscriptionId' => array( |
|
202 | - 'location' => 'path', |
|
203 | - 'type' => 'string', |
|
204 | - 'required' => true, |
|
205 | - ), |
|
206 | - ), |
|
207 | - ),'insert' => array( |
|
208 | - 'path' => 'customers/{customerId}/subscriptions', |
|
209 | - 'httpMethod' => 'POST', |
|
210 | - 'parameters' => array( |
|
211 | - 'customerId' => array( |
|
212 | - 'location' => 'path', |
|
213 | - 'type' => 'string', |
|
214 | - 'required' => true, |
|
215 | - ), |
|
216 | - 'customerAuthToken' => array( |
|
217 | - 'location' => 'query', |
|
218 | - 'type' => 'string', |
|
219 | - ), |
|
220 | - ), |
|
221 | - ),'list' => array( |
|
222 | - 'path' => 'subscriptions', |
|
223 | - 'httpMethod' => 'GET', |
|
224 | - 'parameters' => array( |
|
225 | - 'customerAuthToken' => array( |
|
226 | - 'location' => 'query', |
|
227 | - 'type' => 'string', |
|
228 | - ), |
|
229 | - 'pageToken' => array( |
|
230 | - 'location' => 'query', |
|
231 | - 'type' => 'string', |
|
232 | - ), |
|
233 | - 'customerId' => array( |
|
234 | - 'location' => 'query', |
|
235 | - 'type' => 'string', |
|
236 | - ), |
|
237 | - 'maxResults' => array( |
|
238 | - 'location' => 'query', |
|
239 | - 'type' => 'integer', |
|
240 | - ), |
|
241 | - 'customerNamePrefix' => array( |
|
242 | - 'location' => 'query', |
|
243 | - 'type' => 'string', |
|
244 | - ), |
|
245 | - ), |
|
246 | - ),'startPaidService' => array( |
|
247 | - 'path' => 'customers/{customerId}/subscriptions/{subscriptionId}/startPaidService', |
|
248 | - 'httpMethod' => 'POST', |
|
249 | - 'parameters' => array( |
|
250 | - 'customerId' => array( |
|
251 | - 'location' => 'path', |
|
252 | - 'type' => 'string', |
|
253 | - 'required' => true, |
|
254 | - ), |
|
255 | - 'subscriptionId' => array( |
|
256 | - 'location' => 'path', |
|
257 | - 'type' => 'string', |
|
258 | - 'required' => true, |
|
259 | - ), |
|
260 | - ), |
|
261 | - ),'suspend' => array( |
|
262 | - 'path' => 'customers/{customerId}/subscriptions/{subscriptionId}/suspend', |
|
263 | - 'httpMethod' => 'POST', |
|
264 | - 'parameters' => array( |
|
265 | - 'customerId' => array( |
|
266 | - 'location' => 'path', |
|
267 | - 'type' => 'string', |
|
268 | - 'required' => true, |
|
269 | - ), |
|
270 | - 'subscriptionId' => array( |
|
271 | - 'location' => 'path', |
|
272 | - 'type' => 'string', |
|
273 | - 'required' => true, |
|
274 | - ), |
|
275 | - ), |
|
276 | - ), |
|
277 | - ) |
|
278 | - ) |
|
279 | - ); |
|
57 | + $this->customers = new Google_Service_Reseller_Customers_Resource( |
|
58 | + $this, |
|
59 | + $this->serviceName, |
|
60 | + 'customers', |
|
61 | + array( |
|
62 | + 'methods' => array( |
|
63 | + 'get' => array( |
|
64 | + 'path' => 'customers/{customerId}', |
|
65 | + 'httpMethod' => 'GET', |
|
66 | + 'parameters' => array( |
|
67 | + 'customerId' => array( |
|
68 | + 'location' => 'path', |
|
69 | + 'type' => 'string', |
|
70 | + 'required' => true, |
|
71 | + ), |
|
72 | + ), |
|
73 | + ),'insert' => array( |
|
74 | + 'path' => 'customers', |
|
75 | + 'httpMethod' => 'POST', |
|
76 | + 'parameters' => array( |
|
77 | + 'customerAuthToken' => array( |
|
78 | + 'location' => 'query', |
|
79 | + 'type' => 'string', |
|
80 | + ), |
|
81 | + ), |
|
82 | + ),'patch' => array( |
|
83 | + 'path' => 'customers/{customerId}', |
|
84 | + 'httpMethod' => 'PATCH', |
|
85 | + 'parameters' => array( |
|
86 | + 'customerId' => array( |
|
87 | + 'location' => 'path', |
|
88 | + 'type' => 'string', |
|
89 | + 'required' => true, |
|
90 | + ), |
|
91 | + ), |
|
92 | + ),'update' => array( |
|
93 | + 'path' => 'customers/{customerId}', |
|
94 | + 'httpMethod' => 'PUT', |
|
95 | + 'parameters' => array( |
|
96 | + 'customerId' => array( |
|
97 | + 'location' => 'path', |
|
98 | + 'type' => 'string', |
|
99 | + 'required' => true, |
|
100 | + ), |
|
101 | + ), |
|
102 | + ), |
|
103 | + ) |
|
104 | + ) |
|
105 | + ); |
|
106 | + $this->subscriptions = new Google_Service_Reseller_Subscriptions_Resource( |
|
107 | + $this, |
|
108 | + $this->serviceName, |
|
109 | + 'subscriptions', |
|
110 | + array( |
|
111 | + 'methods' => array( |
|
112 | + 'activate' => array( |
|
113 | + 'path' => 'customers/{customerId}/subscriptions/{subscriptionId}/activate', |
|
114 | + 'httpMethod' => 'POST', |
|
115 | + 'parameters' => array( |
|
116 | + 'customerId' => array( |
|
117 | + 'location' => 'path', |
|
118 | + 'type' => 'string', |
|
119 | + 'required' => true, |
|
120 | + ), |
|
121 | + 'subscriptionId' => array( |
|
122 | + 'location' => 'path', |
|
123 | + 'type' => 'string', |
|
124 | + 'required' => true, |
|
125 | + ), |
|
126 | + ), |
|
127 | + ),'changePlan' => array( |
|
128 | + 'path' => 'customers/{customerId}/subscriptions/{subscriptionId}/changePlan', |
|
129 | + 'httpMethod' => 'POST', |
|
130 | + 'parameters' => array( |
|
131 | + 'customerId' => array( |
|
132 | + 'location' => 'path', |
|
133 | + 'type' => 'string', |
|
134 | + 'required' => true, |
|
135 | + ), |
|
136 | + 'subscriptionId' => array( |
|
137 | + 'location' => 'path', |
|
138 | + 'type' => 'string', |
|
139 | + 'required' => true, |
|
140 | + ), |
|
141 | + ), |
|
142 | + ),'changeRenewalSettings' => array( |
|
143 | + 'path' => 'customers/{customerId}/subscriptions/{subscriptionId}/changeRenewalSettings', |
|
144 | + 'httpMethod' => 'POST', |
|
145 | + 'parameters' => array( |
|
146 | + 'customerId' => array( |
|
147 | + 'location' => 'path', |
|
148 | + 'type' => 'string', |
|
149 | + 'required' => true, |
|
150 | + ), |
|
151 | + 'subscriptionId' => array( |
|
152 | + 'location' => 'path', |
|
153 | + 'type' => 'string', |
|
154 | + 'required' => true, |
|
155 | + ), |
|
156 | + ), |
|
157 | + ),'changeSeats' => array( |
|
158 | + 'path' => 'customers/{customerId}/subscriptions/{subscriptionId}/changeSeats', |
|
159 | + 'httpMethod' => 'POST', |
|
160 | + 'parameters' => array( |
|
161 | + 'customerId' => array( |
|
162 | + 'location' => 'path', |
|
163 | + 'type' => 'string', |
|
164 | + 'required' => true, |
|
165 | + ), |
|
166 | + 'subscriptionId' => array( |
|
167 | + 'location' => 'path', |
|
168 | + 'type' => 'string', |
|
169 | + 'required' => true, |
|
170 | + ), |
|
171 | + ), |
|
172 | + ),'delete' => array( |
|
173 | + 'path' => 'customers/{customerId}/subscriptions/{subscriptionId}', |
|
174 | + 'httpMethod' => 'DELETE', |
|
175 | + 'parameters' => array( |
|
176 | + 'customerId' => array( |
|
177 | + 'location' => 'path', |
|
178 | + 'type' => 'string', |
|
179 | + 'required' => true, |
|
180 | + ), |
|
181 | + 'subscriptionId' => array( |
|
182 | + 'location' => 'path', |
|
183 | + 'type' => 'string', |
|
184 | + 'required' => true, |
|
185 | + ), |
|
186 | + 'deletionType' => array( |
|
187 | + 'location' => 'query', |
|
188 | + 'type' => 'string', |
|
189 | + 'required' => true, |
|
190 | + ), |
|
191 | + ), |
|
192 | + ),'get' => array( |
|
193 | + 'path' => 'customers/{customerId}/subscriptions/{subscriptionId}', |
|
194 | + 'httpMethod' => 'GET', |
|
195 | + 'parameters' => array( |
|
196 | + 'customerId' => array( |
|
197 | + 'location' => 'path', |
|
198 | + 'type' => 'string', |
|
199 | + 'required' => true, |
|
200 | + ), |
|
201 | + 'subscriptionId' => array( |
|
202 | + 'location' => 'path', |
|
203 | + 'type' => 'string', |
|
204 | + 'required' => true, |
|
205 | + ), |
|
206 | + ), |
|
207 | + ),'insert' => array( |
|
208 | + 'path' => 'customers/{customerId}/subscriptions', |
|
209 | + 'httpMethod' => 'POST', |
|
210 | + 'parameters' => array( |
|
211 | + 'customerId' => array( |
|
212 | + 'location' => 'path', |
|
213 | + 'type' => 'string', |
|
214 | + 'required' => true, |
|
215 | + ), |
|
216 | + 'customerAuthToken' => array( |
|
217 | + 'location' => 'query', |
|
218 | + 'type' => 'string', |
|
219 | + ), |
|
220 | + ), |
|
221 | + ),'list' => array( |
|
222 | + 'path' => 'subscriptions', |
|
223 | + 'httpMethod' => 'GET', |
|
224 | + 'parameters' => array( |
|
225 | + 'customerAuthToken' => array( |
|
226 | + 'location' => 'query', |
|
227 | + 'type' => 'string', |
|
228 | + ), |
|
229 | + 'pageToken' => array( |
|
230 | + 'location' => 'query', |
|
231 | + 'type' => 'string', |
|
232 | + ), |
|
233 | + 'customerId' => array( |
|
234 | + 'location' => 'query', |
|
235 | + 'type' => 'string', |
|
236 | + ), |
|
237 | + 'maxResults' => array( |
|
238 | + 'location' => 'query', |
|
239 | + 'type' => 'integer', |
|
240 | + ), |
|
241 | + 'customerNamePrefix' => array( |
|
242 | + 'location' => 'query', |
|
243 | + 'type' => 'string', |
|
244 | + ), |
|
245 | + ), |
|
246 | + ),'startPaidService' => array( |
|
247 | + 'path' => 'customers/{customerId}/subscriptions/{subscriptionId}/startPaidService', |
|
248 | + 'httpMethod' => 'POST', |
|
249 | + 'parameters' => array( |
|
250 | + 'customerId' => array( |
|
251 | + 'location' => 'path', |
|
252 | + 'type' => 'string', |
|
253 | + 'required' => true, |
|
254 | + ), |
|
255 | + 'subscriptionId' => array( |
|
256 | + 'location' => 'path', |
|
257 | + 'type' => 'string', |
|
258 | + 'required' => true, |
|
259 | + ), |
|
260 | + ), |
|
261 | + ),'suspend' => array( |
|
262 | + 'path' => 'customers/{customerId}/subscriptions/{subscriptionId}/suspend', |
|
263 | + 'httpMethod' => 'POST', |
|
264 | + 'parameters' => array( |
|
265 | + 'customerId' => array( |
|
266 | + 'location' => 'path', |
|
267 | + 'type' => 'string', |
|
268 | + 'required' => true, |
|
269 | + ), |
|
270 | + 'subscriptionId' => array( |
|
271 | + 'location' => 'path', |
|
272 | + 'type' => 'string', |
|
273 | + 'required' => true, |
|
274 | + ), |
|
275 | + ), |
|
276 | + ), |
|
277 | + ) |
|
278 | + ) |
|
279 | + ); |
|
280 | 280 | } |
281 | 281 | } |
282 | 282 | |
@@ -302,9 +302,9 @@ discard block |
||
302 | 302 | */ |
303 | 303 | public function get($customerId, $optParams = array()) |
304 | 304 | { |
305 | - $params = array('customerId' => $customerId); |
|
306 | - $params = array_merge($params, $optParams); |
|
307 | - return $this->call('get', array($params), "Google_Service_Reseller_Customer"); |
|
305 | + $params = array('customerId' => $customerId); |
|
306 | + $params = array_merge($params, $optParams); |
|
307 | + return $this->call('get', array($params), "Google_Service_Reseller_Customer"); |
|
308 | 308 | } |
309 | 309 | |
310 | 310 | /** |
@@ -320,9 +320,9 @@ discard block |
||
320 | 320 | */ |
321 | 321 | public function insert(Google_Service_Reseller_Customer $postBody, $optParams = array()) |
322 | 322 | { |
323 | - $params = array('postBody' => $postBody); |
|
324 | - $params = array_merge($params, $optParams); |
|
325 | - return $this->call('insert', array($params), "Google_Service_Reseller_Customer"); |
|
323 | + $params = array('postBody' => $postBody); |
|
324 | + $params = array_merge($params, $optParams); |
|
325 | + return $this->call('insert', array($params), "Google_Service_Reseller_Customer"); |
|
326 | 326 | } |
327 | 327 | |
328 | 328 | /** |
@@ -336,9 +336,9 @@ discard block |
||
336 | 336 | */ |
337 | 337 | public function patch($customerId, Google_Service_Reseller_Customer $postBody, $optParams = array()) |
338 | 338 | { |
339 | - $params = array('customerId' => $customerId, 'postBody' => $postBody); |
|
340 | - $params = array_merge($params, $optParams); |
|
341 | - return $this->call('patch', array($params), "Google_Service_Reseller_Customer"); |
|
339 | + $params = array('customerId' => $customerId, 'postBody' => $postBody); |
|
340 | + $params = array_merge($params, $optParams); |
|
341 | + return $this->call('patch', array($params), "Google_Service_Reseller_Customer"); |
|
342 | 342 | } |
343 | 343 | |
344 | 344 | /** |
@@ -352,9 +352,9 @@ discard block |
||
352 | 352 | */ |
353 | 353 | public function update($customerId, Google_Service_Reseller_Customer $postBody, $optParams = array()) |
354 | 354 | { |
355 | - $params = array('customerId' => $customerId, 'postBody' => $postBody); |
|
356 | - $params = array_merge($params, $optParams); |
|
357 | - return $this->call('update', array($params), "Google_Service_Reseller_Customer"); |
|
355 | + $params = array('customerId' => $customerId, 'postBody' => $postBody); |
|
356 | + $params = array_merge($params, $optParams); |
|
357 | + return $this->call('update', array($params), "Google_Service_Reseller_Customer"); |
|
358 | 358 | } |
359 | 359 | } |
360 | 360 | |
@@ -381,9 +381,9 @@ discard block |
||
381 | 381 | */ |
382 | 382 | public function activate($customerId, $subscriptionId, $optParams = array()) |
383 | 383 | { |
384 | - $params = array('customerId' => $customerId, 'subscriptionId' => $subscriptionId); |
|
385 | - $params = array_merge($params, $optParams); |
|
386 | - return $this->call('activate', array($params), "Google_Service_Reseller_Subscription"); |
|
384 | + $params = array('customerId' => $customerId, 'subscriptionId' => $subscriptionId); |
|
385 | + $params = array_merge($params, $optParams); |
|
386 | + return $this->call('activate', array($params), "Google_Service_Reseller_Subscription"); |
|
387 | 387 | } |
388 | 388 | |
389 | 389 | /** |
@@ -398,9 +398,9 @@ discard block |
||
398 | 398 | */ |
399 | 399 | public function changePlan($customerId, $subscriptionId, Google_Service_Reseller_ChangePlanRequest $postBody, $optParams = array()) |
400 | 400 | { |
401 | - $params = array('customerId' => $customerId, 'subscriptionId' => $subscriptionId, 'postBody' => $postBody); |
|
402 | - $params = array_merge($params, $optParams); |
|
403 | - return $this->call('changePlan', array($params), "Google_Service_Reseller_Subscription"); |
|
401 | + $params = array('customerId' => $customerId, 'subscriptionId' => $subscriptionId, 'postBody' => $postBody); |
|
402 | + $params = array_merge($params, $optParams); |
|
403 | + return $this->call('changePlan', array($params), "Google_Service_Reseller_Subscription"); |
|
404 | 404 | } |
405 | 405 | |
406 | 406 | /** |
@@ -416,9 +416,9 @@ discard block |
||
416 | 416 | */ |
417 | 417 | public function changeRenewalSettings($customerId, $subscriptionId, Google_Service_Reseller_RenewalSettings $postBody, $optParams = array()) |
418 | 418 | { |
419 | - $params = array('customerId' => $customerId, 'subscriptionId' => $subscriptionId, 'postBody' => $postBody); |
|
420 | - $params = array_merge($params, $optParams); |
|
421 | - return $this->call('changeRenewalSettings', array($params), "Google_Service_Reseller_Subscription"); |
|
419 | + $params = array('customerId' => $customerId, 'subscriptionId' => $subscriptionId, 'postBody' => $postBody); |
|
420 | + $params = array_merge($params, $optParams); |
|
421 | + return $this->call('changeRenewalSettings', array($params), "Google_Service_Reseller_Subscription"); |
|
422 | 422 | } |
423 | 423 | |
424 | 424 | /** |
@@ -433,9 +433,9 @@ discard block |
||
433 | 433 | */ |
434 | 434 | public function changeSeats($customerId, $subscriptionId, Google_Service_Reseller_Seats $postBody, $optParams = array()) |
435 | 435 | { |
436 | - $params = array('customerId' => $customerId, 'subscriptionId' => $subscriptionId, 'postBody' => $postBody); |
|
437 | - $params = array_merge($params, $optParams); |
|
438 | - return $this->call('changeSeats', array($params), "Google_Service_Reseller_Subscription"); |
|
436 | + $params = array('customerId' => $customerId, 'subscriptionId' => $subscriptionId, 'postBody' => $postBody); |
|
437 | + $params = array_merge($params, $optParams); |
|
438 | + return $this->call('changeSeats', array($params), "Google_Service_Reseller_Subscription"); |
|
439 | 439 | } |
440 | 440 | |
441 | 441 | /** |
@@ -450,9 +450,9 @@ discard block |
||
450 | 450 | */ |
451 | 451 | public function delete($customerId, $subscriptionId, $deletionType, $optParams = array()) |
452 | 452 | { |
453 | - $params = array('customerId' => $customerId, 'subscriptionId' => $subscriptionId, 'deletionType' => $deletionType); |
|
454 | - $params = array_merge($params, $optParams); |
|
455 | - return $this->call('delete', array($params)); |
|
453 | + $params = array('customerId' => $customerId, 'subscriptionId' => $subscriptionId, 'deletionType' => $deletionType); |
|
454 | + $params = array_merge($params, $optParams); |
|
455 | + return $this->call('delete', array($params)); |
|
456 | 456 | } |
457 | 457 | |
458 | 458 | /** |
@@ -466,9 +466,9 @@ discard block |
||
466 | 466 | */ |
467 | 467 | public function get($customerId, $subscriptionId, $optParams = array()) |
468 | 468 | { |
469 | - $params = array('customerId' => $customerId, 'subscriptionId' => $subscriptionId); |
|
470 | - $params = array_merge($params, $optParams); |
|
471 | - return $this->call('get', array($params), "Google_Service_Reseller_Subscription"); |
|
469 | + $params = array('customerId' => $customerId, 'subscriptionId' => $subscriptionId); |
|
470 | + $params = array_merge($params, $optParams); |
|
471 | + return $this->call('get', array($params), "Google_Service_Reseller_Subscription"); |
|
472 | 472 | } |
473 | 473 | |
474 | 474 | /** |
@@ -485,9 +485,9 @@ discard block |
||
485 | 485 | */ |
486 | 486 | public function insert($customerId, Google_Service_Reseller_Subscription $postBody, $optParams = array()) |
487 | 487 | { |
488 | - $params = array('customerId' => $customerId, 'postBody' => $postBody); |
|
489 | - $params = array_merge($params, $optParams); |
|
490 | - return $this->call('insert', array($params), "Google_Service_Reseller_Subscription"); |
|
488 | + $params = array('customerId' => $customerId, 'postBody' => $postBody); |
|
489 | + $params = array_merge($params, $optParams); |
|
490 | + return $this->call('insert', array($params), "Google_Service_Reseller_Subscription"); |
|
491 | 491 | } |
492 | 492 | |
493 | 493 | /** |
@@ -508,9 +508,9 @@ discard block |
||
508 | 508 | */ |
509 | 509 | public function listSubscriptions($optParams = array()) |
510 | 510 | { |
511 | - $params = array(); |
|
512 | - $params = array_merge($params, $optParams); |
|
513 | - return $this->call('list', array($params), "Google_Service_Reseller_Subscriptions"); |
|
511 | + $params = array(); |
|
512 | + $params = array_merge($params, $optParams); |
|
513 | + return $this->call('list', array($params), "Google_Service_Reseller_Subscriptions"); |
|
514 | 514 | } |
515 | 515 | |
516 | 516 | /** |
@@ -524,9 +524,9 @@ discard block |
||
524 | 524 | */ |
525 | 525 | public function startPaidService($customerId, $subscriptionId, $optParams = array()) |
526 | 526 | { |
527 | - $params = array('customerId' => $customerId, 'subscriptionId' => $subscriptionId); |
|
528 | - $params = array_merge($params, $optParams); |
|
529 | - return $this->call('startPaidService', array($params), "Google_Service_Reseller_Subscription"); |
|
527 | + $params = array('customerId' => $customerId, 'subscriptionId' => $subscriptionId); |
|
528 | + $params = array_merge($params, $optParams); |
|
529 | + return $this->call('startPaidService', array($params), "Google_Service_Reseller_Subscription"); |
|
530 | 530 | } |
531 | 531 | |
532 | 532 | /** |
@@ -540,9 +540,9 @@ discard block |
||
540 | 540 | */ |
541 | 541 | public function suspend($customerId, $subscriptionId, $optParams = array()) |
542 | 542 | { |
543 | - $params = array('customerId' => $customerId, 'subscriptionId' => $subscriptionId); |
|
544 | - $params = array_merge($params, $optParams); |
|
545 | - return $this->call('suspend', array($params), "Google_Service_Reseller_Subscription"); |
|
543 | + $params = array('customerId' => $customerId, 'subscriptionId' => $subscriptionId); |
|
544 | + $params = array_merge($params, $optParams); |
|
545 | + return $this->call('suspend', array($params), "Google_Service_Reseller_Subscription"); |
|
546 | 546 | } |
547 | 547 | } |
548 | 548 | |
@@ -567,83 +567,83 @@ discard block |
||
567 | 567 | |
568 | 568 | public function setAddressLine1($addressLine1) |
569 | 569 | { |
570 | - $this->addressLine1 = $addressLine1; |
|
570 | + $this->addressLine1 = $addressLine1; |
|
571 | 571 | } |
572 | 572 | public function getAddressLine1() |
573 | 573 | { |
574 | - return $this->addressLine1; |
|
574 | + return $this->addressLine1; |
|
575 | 575 | } |
576 | 576 | public function setAddressLine2($addressLine2) |
577 | 577 | { |
578 | - $this->addressLine2 = $addressLine2; |
|
578 | + $this->addressLine2 = $addressLine2; |
|
579 | 579 | } |
580 | 580 | public function getAddressLine2() |
581 | 581 | { |
582 | - return $this->addressLine2; |
|
582 | + return $this->addressLine2; |
|
583 | 583 | } |
584 | 584 | public function setAddressLine3($addressLine3) |
585 | 585 | { |
586 | - $this->addressLine3 = $addressLine3; |
|
586 | + $this->addressLine3 = $addressLine3; |
|
587 | 587 | } |
588 | 588 | public function getAddressLine3() |
589 | 589 | { |
590 | - return $this->addressLine3; |
|
590 | + return $this->addressLine3; |
|
591 | 591 | } |
592 | 592 | public function setContactName($contactName) |
593 | 593 | { |
594 | - $this->contactName = $contactName; |
|
594 | + $this->contactName = $contactName; |
|
595 | 595 | } |
596 | 596 | public function getContactName() |
597 | 597 | { |
598 | - return $this->contactName; |
|
598 | + return $this->contactName; |
|
599 | 599 | } |
600 | 600 | public function setCountryCode($countryCode) |
601 | 601 | { |
602 | - $this->countryCode = $countryCode; |
|
602 | + $this->countryCode = $countryCode; |
|
603 | 603 | } |
604 | 604 | public function getCountryCode() |
605 | 605 | { |
606 | - return $this->countryCode; |
|
606 | + return $this->countryCode; |
|
607 | 607 | } |
608 | 608 | public function setKind($kind) |
609 | 609 | { |
610 | - $this->kind = $kind; |
|
610 | + $this->kind = $kind; |
|
611 | 611 | } |
612 | 612 | public function getKind() |
613 | 613 | { |
614 | - return $this->kind; |
|
614 | + return $this->kind; |
|
615 | 615 | } |
616 | 616 | public function setLocality($locality) |
617 | 617 | { |
618 | - $this->locality = $locality; |
|
618 | + $this->locality = $locality; |
|
619 | 619 | } |
620 | 620 | public function getLocality() |
621 | 621 | { |
622 | - return $this->locality; |
|
622 | + return $this->locality; |
|
623 | 623 | } |
624 | 624 | public function setOrganizationName($organizationName) |
625 | 625 | { |
626 | - $this->organizationName = $organizationName; |
|
626 | + $this->organizationName = $organizationName; |
|
627 | 627 | } |
628 | 628 | public function getOrganizationName() |
629 | 629 | { |
630 | - return $this->organizationName; |
|
630 | + return $this->organizationName; |
|
631 | 631 | } |
632 | 632 | public function setPostalCode($postalCode) |
633 | 633 | { |
634 | - $this->postalCode = $postalCode; |
|
634 | + $this->postalCode = $postalCode; |
|
635 | 635 | } |
636 | 636 | public function getPostalCode() |
637 | 637 | { |
638 | - return $this->postalCode; |
|
638 | + return $this->postalCode; |
|
639 | 639 | } |
640 | 640 | public function setRegion($region) |
641 | 641 | { |
642 | - $this->region = $region; |
|
642 | + $this->region = $region; |
|
643 | 643 | } |
644 | 644 | public function getRegion() |
645 | 645 | { |
646 | - return $this->region; |
|
646 | + return $this->region; |
|
647 | 647 | } |
648 | 648 | } |
649 | 649 | |
@@ -660,35 +660,35 @@ discard block |
||
660 | 660 | |
661 | 661 | public function setKind($kind) |
662 | 662 | { |
663 | - $this->kind = $kind; |
|
663 | + $this->kind = $kind; |
|
664 | 664 | } |
665 | 665 | public function getKind() |
666 | 666 | { |
667 | - return $this->kind; |
|
667 | + return $this->kind; |
|
668 | 668 | } |
669 | 669 | public function setPlanName($planName) |
670 | 670 | { |
671 | - $this->planName = $planName; |
|
671 | + $this->planName = $planName; |
|
672 | 672 | } |
673 | 673 | public function getPlanName() |
674 | 674 | { |
675 | - return $this->planName; |
|
675 | + return $this->planName; |
|
676 | 676 | } |
677 | 677 | public function setPurchaseOrderId($purchaseOrderId) |
678 | 678 | { |
679 | - $this->purchaseOrderId = $purchaseOrderId; |
|
679 | + $this->purchaseOrderId = $purchaseOrderId; |
|
680 | 680 | } |
681 | 681 | public function getPurchaseOrderId() |
682 | 682 | { |
683 | - return $this->purchaseOrderId; |
|
683 | + return $this->purchaseOrderId; |
|
684 | 684 | } |
685 | 685 | public function setSeats(Google_Service_Reseller_Seats $seats) |
686 | 686 | { |
687 | - $this->seats = $seats; |
|
687 | + $this->seats = $seats; |
|
688 | 688 | } |
689 | 689 | public function getSeats() |
690 | 690 | { |
691 | - return $this->seats; |
|
691 | + return $this->seats; |
|
692 | 692 | } |
693 | 693 | } |
694 | 694 | |
@@ -708,59 +708,59 @@ discard block |
||
708 | 708 | |
709 | 709 | public function setAlternateEmail($alternateEmail) |
710 | 710 | { |
711 | - $this->alternateEmail = $alternateEmail; |
|
711 | + $this->alternateEmail = $alternateEmail; |
|
712 | 712 | } |
713 | 713 | public function getAlternateEmail() |
714 | 714 | { |
715 | - return $this->alternateEmail; |
|
715 | + return $this->alternateEmail; |
|
716 | 716 | } |
717 | 717 | public function setCustomerDomain($customerDomain) |
718 | 718 | { |
719 | - $this->customerDomain = $customerDomain; |
|
719 | + $this->customerDomain = $customerDomain; |
|
720 | 720 | } |
721 | 721 | public function getCustomerDomain() |
722 | 722 | { |
723 | - return $this->customerDomain; |
|
723 | + return $this->customerDomain; |
|
724 | 724 | } |
725 | 725 | public function setCustomerId($customerId) |
726 | 726 | { |
727 | - $this->customerId = $customerId; |
|
727 | + $this->customerId = $customerId; |
|
728 | 728 | } |
729 | 729 | public function getCustomerId() |
730 | 730 | { |
731 | - return $this->customerId; |
|
731 | + return $this->customerId; |
|
732 | 732 | } |
733 | 733 | public function setKind($kind) |
734 | 734 | { |
735 | - $this->kind = $kind; |
|
735 | + $this->kind = $kind; |
|
736 | 736 | } |
737 | 737 | public function getKind() |
738 | 738 | { |
739 | - return $this->kind; |
|
739 | + return $this->kind; |
|
740 | 740 | } |
741 | 741 | public function setPhoneNumber($phoneNumber) |
742 | 742 | { |
743 | - $this->phoneNumber = $phoneNumber; |
|
743 | + $this->phoneNumber = $phoneNumber; |
|
744 | 744 | } |
745 | 745 | public function getPhoneNumber() |
746 | 746 | { |
747 | - return $this->phoneNumber; |
|
747 | + return $this->phoneNumber; |
|
748 | 748 | } |
749 | 749 | public function setPostalAddress(Google_Service_Reseller_Address $postalAddress) |
750 | 750 | { |
751 | - $this->postalAddress = $postalAddress; |
|
751 | + $this->postalAddress = $postalAddress; |
|
752 | 752 | } |
753 | 753 | public function getPostalAddress() |
754 | 754 | { |
755 | - return $this->postalAddress; |
|
755 | + return $this->postalAddress; |
|
756 | 756 | } |
757 | 757 | public function setResourceUiUrl($resourceUiUrl) |
758 | 758 | { |
759 | - $this->resourceUiUrl = $resourceUiUrl; |
|
759 | + $this->resourceUiUrl = $resourceUiUrl; |
|
760 | 760 | } |
761 | 761 | public function getResourceUiUrl() |
762 | 762 | { |
763 | - return $this->resourceUiUrl; |
|
763 | + return $this->resourceUiUrl; |
|
764 | 764 | } |
765 | 765 | } |
766 | 766 | |
@@ -774,19 +774,19 @@ discard block |
||
774 | 774 | |
775 | 775 | public function setKind($kind) |
776 | 776 | { |
777 | - $this->kind = $kind; |
|
777 | + $this->kind = $kind; |
|
778 | 778 | } |
779 | 779 | public function getKind() |
780 | 780 | { |
781 | - return $this->kind; |
|
781 | + return $this->kind; |
|
782 | 782 | } |
783 | 783 | public function setRenewalType($renewalType) |
784 | 784 | { |
785 | - $this->renewalType = $renewalType; |
|
785 | + $this->renewalType = $renewalType; |
|
786 | 786 | } |
787 | 787 | public function getRenewalType() |
788 | 788 | { |
789 | - return $this->renewalType; |
|
789 | + return $this->renewalType; |
|
790 | 790 | } |
791 | 791 | } |
792 | 792 | |
@@ -802,35 +802,35 @@ discard block |
||
802 | 802 | |
803 | 803 | public function setKind($kind) |
804 | 804 | { |
805 | - $this->kind = $kind; |
|
805 | + $this->kind = $kind; |
|
806 | 806 | } |
807 | 807 | public function getKind() |
808 | 808 | { |
809 | - return $this->kind; |
|
809 | + return $this->kind; |
|
810 | 810 | } |
811 | 811 | public function setLicensedNumberOfSeats($licensedNumberOfSeats) |
812 | 812 | { |
813 | - $this->licensedNumberOfSeats = $licensedNumberOfSeats; |
|
813 | + $this->licensedNumberOfSeats = $licensedNumberOfSeats; |
|
814 | 814 | } |
815 | 815 | public function getLicensedNumberOfSeats() |
816 | 816 | { |
817 | - return $this->licensedNumberOfSeats; |
|
817 | + return $this->licensedNumberOfSeats; |
|
818 | 818 | } |
819 | 819 | public function setMaximumNumberOfSeats($maximumNumberOfSeats) |
820 | 820 | { |
821 | - $this->maximumNumberOfSeats = $maximumNumberOfSeats; |
|
821 | + $this->maximumNumberOfSeats = $maximumNumberOfSeats; |
|
822 | 822 | } |
823 | 823 | public function getMaximumNumberOfSeats() |
824 | 824 | { |
825 | - return $this->maximumNumberOfSeats; |
|
825 | + return $this->maximumNumberOfSeats; |
|
826 | 826 | } |
827 | 827 | public function setNumberOfSeats($numberOfSeats) |
828 | 828 | { |
829 | - $this->numberOfSeats = $numberOfSeats; |
|
829 | + $this->numberOfSeats = $numberOfSeats; |
|
830 | 830 | } |
831 | 831 | public function getNumberOfSeats() |
832 | 832 | { |
833 | - return $this->numberOfSeats; |
|
833 | + return $this->numberOfSeats; |
|
834 | 834 | } |
835 | 835 | } |
836 | 836 | |
@@ -863,123 +863,123 @@ discard block |
||
863 | 863 | |
864 | 864 | public function setBillingMethod($billingMethod) |
865 | 865 | { |
866 | - $this->billingMethod = $billingMethod; |
|
866 | + $this->billingMethod = $billingMethod; |
|
867 | 867 | } |
868 | 868 | public function getBillingMethod() |
869 | 869 | { |
870 | - return $this->billingMethod; |
|
870 | + return $this->billingMethod; |
|
871 | 871 | } |
872 | 872 | public function setCreationTime($creationTime) |
873 | 873 | { |
874 | - $this->creationTime = $creationTime; |
|
874 | + $this->creationTime = $creationTime; |
|
875 | 875 | } |
876 | 876 | public function getCreationTime() |
877 | 877 | { |
878 | - return $this->creationTime; |
|
878 | + return $this->creationTime; |
|
879 | 879 | } |
880 | 880 | public function setCustomerId($customerId) |
881 | 881 | { |
882 | - $this->customerId = $customerId; |
|
882 | + $this->customerId = $customerId; |
|
883 | 883 | } |
884 | 884 | public function getCustomerId() |
885 | 885 | { |
886 | - return $this->customerId; |
|
886 | + return $this->customerId; |
|
887 | 887 | } |
888 | 888 | public function setKind($kind) |
889 | 889 | { |
890 | - $this->kind = $kind; |
|
890 | + $this->kind = $kind; |
|
891 | 891 | } |
892 | 892 | public function getKind() |
893 | 893 | { |
894 | - return $this->kind; |
|
894 | + return $this->kind; |
|
895 | 895 | } |
896 | 896 | public function setPlan(Google_Service_Reseller_SubscriptionPlan $plan) |
897 | 897 | { |
898 | - $this->plan = $plan; |
|
898 | + $this->plan = $plan; |
|
899 | 899 | } |
900 | 900 | public function getPlan() |
901 | 901 | { |
902 | - return $this->plan; |
|
902 | + return $this->plan; |
|
903 | 903 | } |
904 | 904 | public function setPurchaseOrderId($purchaseOrderId) |
905 | 905 | { |
906 | - $this->purchaseOrderId = $purchaseOrderId; |
|
906 | + $this->purchaseOrderId = $purchaseOrderId; |
|
907 | 907 | } |
908 | 908 | public function getPurchaseOrderId() |
909 | 909 | { |
910 | - return $this->purchaseOrderId; |
|
910 | + return $this->purchaseOrderId; |
|
911 | 911 | } |
912 | 912 | public function setRenewalSettings(Google_Service_Reseller_RenewalSettings $renewalSettings) |
913 | 913 | { |
914 | - $this->renewalSettings = $renewalSettings; |
|
914 | + $this->renewalSettings = $renewalSettings; |
|
915 | 915 | } |
916 | 916 | public function getRenewalSettings() |
917 | 917 | { |
918 | - return $this->renewalSettings; |
|
918 | + return $this->renewalSettings; |
|
919 | 919 | } |
920 | 920 | public function setResourceUiUrl($resourceUiUrl) |
921 | 921 | { |
922 | - $this->resourceUiUrl = $resourceUiUrl; |
|
922 | + $this->resourceUiUrl = $resourceUiUrl; |
|
923 | 923 | } |
924 | 924 | public function getResourceUiUrl() |
925 | 925 | { |
926 | - return $this->resourceUiUrl; |
|
926 | + return $this->resourceUiUrl; |
|
927 | 927 | } |
928 | 928 | public function setSeats(Google_Service_Reseller_Seats $seats) |
929 | 929 | { |
930 | - $this->seats = $seats; |
|
930 | + $this->seats = $seats; |
|
931 | 931 | } |
932 | 932 | public function getSeats() |
933 | 933 | { |
934 | - return $this->seats; |
|
934 | + return $this->seats; |
|
935 | 935 | } |
936 | 936 | public function setSkuId($skuId) |
937 | 937 | { |
938 | - $this->skuId = $skuId; |
|
938 | + $this->skuId = $skuId; |
|
939 | 939 | } |
940 | 940 | public function getSkuId() |
941 | 941 | { |
942 | - return $this->skuId; |
|
942 | + return $this->skuId; |
|
943 | 943 | } |
944 | 944 | public function setStatus($status) |
945 | 945 | { |
946 | - $this->status = $status; |
|
946 | + $this->status = $status; |
|
947 | 947 | } |
948 | 948 | public function getStatus() |
949 | 949 | { |
950 | - return $this->status; |
|
950 | + return $this->status; |
|
951 | 951 | } |
952 | 952 | public function setSubscriptionId($subscriptionId) |
953 | 953 | { |
954 | - $this->subscriptionId = $subscriptionId; |
|
954 | + $this->subscriptionId = $subscriptionId; |
|
955 | 955 | } |
956 | 956 | public function getSubscriptionId() |
957 | 957 | { |
958 | - return $this->subscriptionId; |
|
958 | + return $this->subscriptionId; |
|
959 | 959 | } |
960 | 960 | public function setSuspensionReasons($suspensionReasons) |
961 | 961 | { |
962 | - $this->suspensionReasons = $suspensionReasons; |
|
962 | + $this->suspensionReasons = $suspensionReasons; |
|
963 | 963 | } |
964 | 964 | public function getSuspensionReasons() |
965 | 965 | { |
966 | - return $this->suspensionReasons; |
|
966 | + return $this->suspensionReasons; |
|
967 | 967 | } |
968 | 968 | public function setTransferInfo(Google_Service_Reseller_SubscriptionTransferInfo $transferInfo) |
969 | 969 | { |
970 | - $this->transferInfo = $transferInfo; |
|
970 | + $this->transferInfo = $transferInfo; |
|
971 | 971 | } |
972 | 972 | public function getTransferInfo() |
973 | 973 | { |
974 | - return $this->transferInfo; |
|
974 | + return $this->transferInfo; |
|
975 | 975 | } |
976 | 976 | public function setTrialSettings(Google_Service_Reseller_SubscriptionTrialSettings $trialSettings) |
977 | 977 | { |
978 | - $this->trialSettings = $trialSettings; |
|
978 | + $this->trialSettings = $trialSettings; |
|
979 | 979 | } |
980 | 980 | public function getTrialSettings() |
981 | 981 | { |
982 | - return $this->trialSettings; |
|
982 | + return $this->trialSettings; |
|
983 | 983 | } |
984 | 984 | } |
985 | 985 | |
@@ -995,27 +995,27 @@ discard block |
||
995 | 995 | |
996 | 996 | public function setCommitmentInterval(Google_Service_Reseller_SubscriptionPlanCommitmentInterval $commitmentInterval) |
997 | 997 | { |
998 | - $this->commitmentInterval = $commitmentInterval; |
|
998 | + $this->commitmentInterval = $commitmentInterval; |
|
999 | 999 | } |
1000 | 1000 | public function getCommitmentInterval() |
1001 | 1001 | { |
1002 | - return $this->commitmentInterval; |
|
1002 | + return $this->commitmentInterval; |
|
1003 | 1003 | } |
1004 | 1004 | public function setIsCommitmentPlan($isCommitmentPlan) |
1005 | 1005 | { |
1006 | - $this->isCommitmentPlan = $isCommitmentPlan; |
|
1006 | + $this->isCommitmentPlan = $isCommitmentPlan; |
|
1007 | 1007 | } |
1008 | 1008 | public function getIsCommitmentPlan() |
1009 | 1009 | { |
1010 | - return $this->isCommitmentPlan; |
|
1010 | + return $this->isCommitmentPlan; |
|
1011 | 1011 | } |
1012 | 1012 | public function setPlanName($planName) |
1013 | 1013 | { |
1014 | - $this->planName = $planName; |
|
1014 | + $this->planName = $planName; |
|
1015 | 1015 | } |
1016 | 1016 | public function getPlanName() |
1017 | 1017 | { |
1018 | - return $this->planName; |
|
1018 | + return $this->planName; |
|
1019 | 1019 | } |
1020 | 1020 | } |
1021 | 1021 | |
@@ -1029,19 +1029,19 @@ discard block |
||
1029 | 1029 | |
1030 | 1030 | public function setEndTime($endTime) |
1031 | 1031 | { |
1032 | - $this->endTime = $endTime; |
|
1032 | + $this->endTime = $endTime; |
|
1033 | 1033 | } |
1034 | 1034 | public function getEndTime() |
1035 | 1035 | { |
1036 | - return $this->endTime; |
|
1036 | + return $this->endTime; |
|
1037 | 1037 | } |
1038 | 1038 | public function setStartTime($startTime) |
1039 | 1039 | { |
1040 | - $this->startTime = $startTime; |
|
1040 | + $this->startTime = $startTime; |
|
1041 | 1041 | } |
1042 | 1042 | public function getStartTime() |
1043 | 1043 | { |
1044 | - return $this->startTime; |
|
1044 | + return $this->startTime; |
|
1045 | 1045 | } |
1046 | 1046 | } |
1047 | 1047 | |
@@ -1055,19 +1055,19 @@ discard block |
||
1055 | 1055 | |
1056 | 1056 | public function setMinimumTransferableSeats($minimumTransferableSeats) |
1057 | 1057 | { |
1058 | - $this->minimumTransferableSeats = $minimumTransferableSeats; |
|
1058 | + $this->minimumTransferableSeats = $minimumTransferableSeats; |
|
1059 | 1059 | } |
1060 | 1060 | public function getMinimumTransferableSeats() |
1061 | 1061 | { |
1062 | - return $this->minimumTransferableSeats; |
|
1062 | + return $this->minimumTransferableSeats; |
|
1063 | 1063 | } |
1064 | 1064 | public function setTransferabilityExpirationTime($transferabilityExpirationTime) |
1065 | 1065 | { |
1066 | - $this->transferabilityExpirationTime = $transferabilityExpirationTime; |
|
1066 | + $this->transferabilityExpirationTime = $transferabilityExpirationTime; |
|
1067 | 1067 | } |
1068 | 1068 | public function getTransferabilityExpirationTime() |
1069 | 1069 | { |
1070 | - return $this->transferabilityExpirationTime; |
|
1070 | + return $this->transferabilityExpirationTime; |
|
1071 | 1071 | } |
1072 | 1072 | } |
1073 | 1073 | |
@@ -1081,19 +1081,19 @@ discard block |
||
1081 | 1081 | |
1082 | 1082 | public function setIsInTrial($isInTrial) |
1083 | 1083 | { |
1084 | - $this->isInTrial = $isInTrial; |
|
1084 | + $this->isInTrial = $isInTrial; |
|
1085 | 1085 | } |
1086 | 1086 | public function getIsInTrial() |
1087 | 1087 | { |
1088 | - return $this->isInTrial; |
|
1088 | + return $this->isInTrial; |
|
1089 | 1089 | } |
1090 | 1090 | public function setTrialEndTime($trialEndTime) |
1091 | 1091 | { |
1092 | - $this->trialEndTime = $trialEndTime; |
|
1092 | + $this->trialEndTime = $trialEndTime; |
|
1093 | 1093 | } |
1094 | 1094 | public function getTrialEndTime() |
1095 | 1095 | { |
1096 | - return $this->trialEndTime; |
|
1096 | + return $this->trialEndTime; |
|
1097 | 1097 | } |
1098 | 1098 | } |
1099 | 1099 | |
@@ -1110,26 +1110,26 @@ discard block |
||
1110 | 1110 | |
1111 | 1111 | public function setKind($kind) |
1112 | 1112 | { |
1113 | - $this->kind = $kind; |
|
1113 | + $this->kind = $kind; |
|
1114 | 1114 | } |
1115 | 1115 | public function getKind() |
1116 | 1116 | { |
1117 | - return $this->kind; |
|
1117 | + return $this->kind; |
|
1118 | 1118 | } |
1119 | 1119 | public function setNextPageToken($nextPageToken) |
1120 | 1120 | { |
1121 | - $this->nextPageToken = $nextPageToken; |
|
1121 | + $this->nextPageToken = $nextPageToken; |
|
1122 | 1122 | } |
1123 | 1123 | public function getNextPageToken() |
1124 | 1124 | { |
1125 | - return $this->nextPageToken; |
|
1125 | + return $this->nextPageToken; |
|
1126 | 1126 | } |
1127 | 1127 | public function setSubscriptions($subscriptions) |
1128 | 1128 | { |
1129 | - $this->subscriptions = $subscriptions; |
|
1129 | + $this->subscriptions = $subscriptions; |
|
1130 | 1130 | } |
1131 | 1131 | public function getSubscriptions() |
1132 | 1132 | { |
1133 | - return $this->subscriptions; |
|
1133 | + return $this->subscriptions; |
|
1134 | 1134 | } |
1135 | 1135 | } |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | 'required' => true, |
71 | 71 | ), |
72 | 72 | ), |
73 | - ),'insert' => array( |
|
73 | + ), 'insert' => array( |
|
74 | 74 | 'path' => 'customers', |
75 | 75 | 'httpMethod' => 'POST', |
76 | 76 | 'parameters' => array( |
@@ -79,7 +79,7 @@ discard block |
||
79 | 79 | 'type' => 'string', |
80 | 80 | ), |
81 | 81 | ), |
82 | - ),'patch' => array( |
|
82 | + ), 'patch' => array( |
|
83 | 83 | 'path' => 'customers/{customerId}', |
84 | 84 | 'httpMethod' => 'PATCH', |
85 | 85 | 'parameters' => array( |
@@ -89,7 +89,7 @@ discard block |
||
89 | 89 | 'required' => true, |
90 | 90 | ), |
91 | 91 | ), |
92 | - ),'update' => array( |
|
92 | + ), 'update' => array( |
|
93 | 93 | 'path' => 'customers/{customerId}', |
94 | 94 | 'httpMethod' => 'PUT', |
95 | 95 | 'parameters' => array( |
@@ -124,7 +124,7 @@ discard block |
||
124 | 124 | 'required' => true, |
125 | 125 | ), |
126 | 126 | ), |
127 | - ),'changePlan' => array( |
|
127 | + ), 'changePlan' => array( |
|
128 | 128 | 'path' => 'customers/{customerId}/subscriptions/{subscriptionId}/changePlan', |
129 | 129 | 'httpMethod' => 'POST', |
130 | 130 | 'parameters' => array( |
@@ -139,7 +139,7 @@ discard block |
||
139 | 139 | 'required' => true, |
140 | 140 | ), |
141 | 141 | ), |
142 | - ),'changeRenewalSettings' => array( |
|
142 | + ), 'changeRenewalSettings' => array( |
|
143 | 143 | 'path' => 'customers/{customerId}/subscriptions/{subscriptionId}/changeRenewalSettings', |
144 | 144 | 'httpMethod' => 'POST', |
145 | 145 | 'parameters' => array( |
@@ -154,7 +154,7 @@ discard block |
||
154 | 154 | 'required' => true, |
155 | 155 | ), |
156 | 156 | ), |
157 | - ),'changeSeats' => array( |
|
157 | + ), 'changeSeats' => array( |
|
158 | 158 | 'path' => 'customers/{customerId}/subscriptions/{subscriptionId}/changeSeats', |
159 | 159 | 'httpMethod' => 'POST', |
160 | 160 | 'parameters' => array( |
@@ -169,7 +169,7 @@ discard block |
||
169 | 169 | 'required' => true, |
170 | 170 | ), |
171 | 171 | ), |
172 | - ),'delete' => array( |
|
172 | + ), 'delete' => array( |
|
173 | 173 | 'path' => 'customers/{customerId}/subscriptions/{subscriptionId}', |
174 | 174 | 'httpMethod' => 'DELETE', |
175 | 175 | 'parameters' => array( |
@@ -189,7 +189,7 @@ discard block |
||
189 | 189 | 'required' => true, |
190 | 190 | ), |
191 | 191 | ), |
192 | - ),'get' => array( |
|
192 | + ), 'get' => array( |
|
193 | 193 | 'path' => 'customers/{customerId}/subscriptions/{subscriptionId}', |
194 | 194 | 'httpMethod' => 'GET', |
195 | 195 | 'parameters' => array( |
@@ -204,7 +204,7 @@ discard block |
||
204 | 204 | 'required' => true, |
205 | 205 | ), |
206 | 206 | ), |
207 | - ),'insert' => array( |
|
207 | + ), 'insert' => array( |
|
208 | 208 | 'path' => 'customers/{customerId}/subscriptions', |
209 | 209 | 'httpMethod' => 'POST', |
210 | 210 | 'parameters' => array( |
@@ -218,7 +218,7 @@ discard block |
||
218 | 218 | 'type' => 'string', |
219 | 219 | ), |
220 | 220 | ), |
221 | - ),'list' => array( |
|
221 | + ), 'list' => array( |
|
222 | 222 | 'path' => 'subscriptions', |
223 | 223 | 'httpMethod' => 'GET', |
224 | 224 | 'parameters' => array( |
@@ -243,7 +243,7 @@ discard block |
||
243 | 243 | 'type' => 'string', |
244 | 244 | ), |
245 | 245 | ), |
246 | - ),'startPaidService' => array( |
|
246 | + ), 'startPaidService' => array( |
|
247 | 247 | 'path' => 'customers/{customerId}/subscriptions/{subscriptionId}/startPaidService', |
248 | 248 | 'httpMethod' => 'POST', |
249 | 249 | 'parameters' => array( |
@@ -258,7 +258,7 @@ discard block |
||
258 | 258 | 'required' => true, |
259 | 259 | ), |
260 | 260 | ), |
261 | - ),'suspend' => array( |
|
261 | + ), 'suspend' => array( |
|
262 | 262 | 'path' => 'customers/{customerId}/subscriptions/{subscriptionId}/suspend', |
263 | 263 | 'httpMethod' => 'POST', |
264 | 264 | 'parameters' => array( |
@@ -59,6 +59,10 @@ discard block |
||
59 | 59 | /** @var array $methods */ |
60 | 60 | private $methods; |
61 | 61 | |
62 | + /** |
|
63 | + * @param string $serviceName |
|
64 | + * @param string $resourceName |
|
65 | + */ |
|
62 | 66 | public function __construct($service, $serviceName, $resourceName, $resource) |
63 | 67 | { |
64 | 68 | $this->rootUrl = $service->rootUrl; |
@@ -73,9 +77,9 @@ discard block |
||
73 | 77 | |
74 | 78 | /** |
75 | 79 | * TODO: This function needs simplifying. |
76 | - * @param $name |
|
80 | + * @param string $name |
|
77 | 81 | * @param $arguments |
78 | - * @param $expected_class - optional, the expected class name |
|
82 | + * @param string $expected_class - optional, the expected class name |
|
79 | 83 | * @return Google_Http_Request|expected_class |
80 | 84 | * @throws Google_Exception |
81 | 85 | */ |
@@ -29,16 +29,16 @@ discard block |
||
29 | 29 | { |
30 | 30 | // Valid query parameters that work, but don't appear in discovery. |
31 | 31 | private $stackParameters = array( |
32 | - 'alt' => array('type' => 'string', 'location' => 'query'), |
|
33 | - 'fields' => array('type' => 'string', 'location' => 'query'), |
|
34 | - 'trace' => array('type' => 'string', 'location' => 'query'), |
|
35 | - 'userIp' => array('type' => 'string', 'location' => 'query'), |
|
36 | - 'quotaUser' => array('type' => 'string', 'location' => 'query'), |
|
37 | - 'data' => array('type' => 'string', 'location' => 'body'), |
|
38 | - 'mimeType' => array('type' => 'string', 'location' => 'header'), |
|
39 | - 'uploadType' => array('type' => 'string', 'location' => 'query'), |
|
40 | - 'mediaUpload' => array('type' => 'complex', 'location' => 'query'), |
|
41 | - 'prettyPrint' => array('type' => 'string', 'location' => 'query'), |
|
32 | + 'alt' => array('type' => 'string', 'location' => 'query'), |
|
33 | + 'fields' => array('type' => 'string', 'location' => 'query'), |
|
34 | + 'trace' => array('type' => 'string', 'location' => 'query'), |
|
35 | + 'userIp' => array('type' => 'string', 'location' => 'query'), |
|
36 | + 'quotaUser' => array('type' => 'string', 'location' => 'query'), |
|
37 | + 'data' => array('type' => 'string', 'location' => 'body'), |
|
38 | + 'mimeType' => array('type' => 'string', 'location' => 'header'), |
|
39 | + 'uploadType' => array('type' => 'string', 'location' => 'query'), |
|
40 | + 'mediaUpload' => array('type' => 'complex', 'location' => 'query'), |
|
41 | + 'prettyPrint' => array('type' => 'string', 'location' => 'query'), |
|
42 | 42 | ); |
43 | 43 | |
44 | 44 | /** @var string $rootUrl */ |
@@ -61,14 +61,14 @@ discard block |
||
61 | 61 | |
62 | 62 | public function __construct($service, $serviceName, $resourceName, $resource) |
63 | 63 | { |
64 | - $this->rootUrl = $service->rootUrl; |
|
65 | - $this->client = $service->getClient(); |
|
66 | - $this->servicePath = $service->servicePath; |
|
67 | - $this->serviceName = $serviceName; |
|
68 | - $this->resourceName = $resourceName; |
|
69 | - $this->methods = is_array($resource) && isset($resource['methods']) ? |
|
70 | - $resource['methods'] : |
|
71 | - array($resourceName => $resource); |
|
64 | + $this->rootUrl = $service->rootUrl; |
|
65 | + $this->client = $service->getClient(); |
|
66 | + $this->servicePath = $service->servicePath; |
|
67 | + $this->serviceName = $serviceName; |
|
68 | + $this->resourceName = $resourceName; |
|
69 | + $this->methods = is_array($resource) && isset($resource['methods']) ? |
|
70 | + $resource['methods'] : |
|
71 | + array($resourceName => $resource); |
|
72 | 72 | } |
73 | 73 | |
74 | 74 | /** |
@@ -81,172 +81,172 @@ discard block |
||
81 | 81 | */ |
82 | 82 | public function call($name, $arguments, $expected_class = null) |
83 | 83 | { |
84 | - if (! isset($this->methods[$name])) { |
|
85 | - $this->client->getLogger()->error( |
|
86 | - 'Service method unknown', |
|
87 | - array( |
|
88 | - 'service' => $this->serviceName, |
|
89 | - 'resource' => $this->resourceName, |
|
90 | - 'method' => $name |
|
91 | - ) |
|
92 | - ); |
|
93 | - |
|
94 | - throw new Google_Exception( |
|
95 | - "Unknown function: " . |
|
96 | - "{$this->serviceName}->{$this->resourceName}->{$name}()" |
|
97 | - ); |
|
98 | - } |
|
99 | - $method = $this->methods[$name]; |
|
100 | - $parameters = $arguments[0]; |
|
101 | - |
|
102 | - // postBody is a special case since it's not defined in the discovery |
|
103 | - // document as parameter, but we abuse the param entry for storing it. |
|
104 | - $postBody = null; |
|
105 | - if (isset($parameters['postBody'])) { |
|
106 | - if ($parameters['postBody'] instanceof Google_Model) { |
|
107 | - // In the cases the post body is an existing object, we want |
|
108 | - // to use the smart method to create a simple object for |
|
109 | - // for JSONification. |
|
110 | - $parameters['postBody'] = $parameters['postBody']->toSimpleObject(); |
|
111 | - } else if (is_object($parameters['postBody'])) { |
|
112 | - // If the post body is another kind of object, we will try and |
|
113 | - // wrangle it into a sensible format. |
|
114 | - $parameters['postBody'] = |
|
115 | - $this->convertToArrayAndStripNulls($parameters['postBody']); |
|
116 | - } |
|
117 | - $postBody = json_encode($parameters['postBody']); |
|
118 | - unset($parameters['postBody']); |
|
119 | - } |
|
120 | - |
|
121 | - // TODO: optParams here probably should have been |
|
122 | - // handled already - this may well be redundant code. |
|
123 | - if (isset($parameters['optParams'])) { |
|
124 | - $optParams = $parameters['optParams']; |
|
125 | - unset($parameters['optParams']); |
|
126 | - $parameters = array_merge($parameters, $optParams); |
|
127 | - } |
|
128 | - |
|
129 | - if (!isset($method['parameters'])) { |
|
130 | - $method['parameters'] = array(); |
|
131 | - } |
|
132 | - |
|
133 | - $method['parameters'] = array_merge( |
|
134 | - $method['parameters'], |
|
135 | - $this->stackParameters |
|
136 | - ); |
|
137 | - foreach ($parameters as $key => $val) { |
|
138 | - if ($key != 'postBody' && ! isset($method['parameters'][$key])) { |
|
139 | - $this->client->getLogger()->error( |
|
140 | - 'Service parameter unknown', |
|
141 | - array( |
|
142 | - 'service' => $this->serviceName, |
|
143 | - 'resource' => $this->resourceName, |
|
144 | - 'method' => $name, |
|
145 | - 'parameter' => $key |
|
146 | - ) |
|
147 | - ); |
|
148 | - throw new Google_Exception("($name) unknown parameter: '$key'"); |
|
149 | - } |
|
150 | - } |
|
151 | - |
|
152 | - foreach ($method['parameters'] as $paramName => $paramSpec) { |
|
153 | - if (isset($paramSpec['required']) && |
|
154 | - $paramSpec['required'] && |
|
155 | - ! isset($parameters[$paramName]) |
|
156 | - ) { |
|
157 | - $this->client->getLogger()->error( |
|
158 | - 'Service parameter missing', |
|
159 | - array( |
|
160 | - 'service' => $this->serviceName, |
|
161 | - 'resource' => $this->resourceName, |
|
162 | - 'method' => $name, |
|
163 | - 'parameter' => $paramName |
|
164 | - ) |
|
165 | - ); |
|
166 | - throw new Google_Exception("($name) missing required param: '$paramName'"); |
|
167 | - } |
|
168 | - if (isset($parameters[$paramName])) { |
|
169 | - $value = $parameters[$paramName]; |
|
170 | - $parameters[$paramName] = $paramSpec; |
|
171 | - $parameters[$paramName]['value'] = $value; |
|
172 | - unset($parameters[$paramName]['required']); |
|
173 | - } else { |
|
174 | - // Ensure we don't pass nulls. |
|
175 | - unset($parameters[$paramName]); |
|
176 | - } |
|
177 | - } |
|
178 | - |
|
179 | - $this->client->getLogger()->info( |
|
180 | - 'Service Call', |
|
181 | - array( |
|
182 | - 'service' => $this->serviceName, |
|
183 | - 'resource' => $this->resourceName, |
|
184 | - 'method' => $name, |
|
185 | - 'arguments' => $parameters, |
|
186 | - ) |
|
187 | - ); |
|
188 | - |
|
189 | - $url = Google_Http_REST::createRequestUri( |
|
190 | - $this->servicePath, |
|
191 | - $method['path'], |
|
192 | - $parameters |
|
193 | - ); |
|
194 | - $httpRequest = new Google_Http_Request( |
|
195 | - $url, |
|
196 | - $method['httpMethod'], |
|
197 | - null, |
|
198 | - $postBody |
|
199 | - ); |
|
200 | - |
|
201 | - if ($this->rootUrl) { |
|
202 | - $httpRequest->setBaseComponent($this->rootUrl); |
|
203 | - } else { |
|
204 | - $httpRequest->setBaseComponent($this->client->getBasePath()); |
|
205 | - } |
|
206 | - |
|
207 | - if ($postBody) { |
|
208 | - $contentTypeHeader = array(); |
|
209 | - $contentTypeHeader['content-type'] = 'application/json; charset=UTF-8'; |
|
210 | - $httpRequest->setRequestHeaders($contentTypeHeader); |
|
211 | - $httpRequest->setPostBody($postBody); |
|
212 | - } |
|
213 | - |
|
214 | - $httpRequest = $this->client->getAuth()->sign($httpRequest); |
|
215 | - $httpRequest->setExpectedClass($expected_class); |
|
216 | - |
|
217 | - if (isset($parameters['data']) && |
|
218 | - ($parameters['uploadType']['value'] == 'media' || $parameters['uploadType']['value'] == 'multipart')) { |
|
219 | - // If we are doing a simple media upload, trigger that as a convenience. |
|
220 | - $mfu = new Google_Http_MediaFileUpload( |
|
221 | - $this->client, |
|
222 | - $httpRequest, |
|
223 | - isset($parameters['mimeType']) ? $parameters['mimeType']['value'] : 'application/octet-stream', |
|
224 | - $parameters['data']['value'] |
|
225 | - ); |
|
226 | - } |
|
227 | - |
|
228 | - if (isset($parameters['alt']) && $parameters['alt']['value'] == 'media') { |
|
229 | - $httpRequest->enableExpectedRaw(); |
|
230 | - } |
|
231 | - |
|
232 | - if ($this->client->shouldDefer()) { |
|
233 | - // If we are in batch or upload mode, return the raw request. |
|
234 | - return $httpRequest; |
|
235 | - } |
|
236 | - |
|
237 | - return $this->client->execute($httpRequest); |
|
84 | + if (! isset($this->methods[$name])) { |
|
85 | + $this->client->getLogger()->error( |
|
86 | + 'Service method unknown', |
|
87 | + array( |
|
88 | + 'service' => $this->serviceName, |
|
89 | + 'resource' => $this->resourceName, |
|
90 | + 'method' => $name |
|
91 | + ) |
|
92 | + ); |
|
93 | + |
|
94 | + throw new Google_Exception( |
|
95 | + "Unknown function: " . |
|
96 | + "{$this->serviceName}->{$this->resourceName}->{$name}()" |
|
97 | + ); |
|
98 | + } |
|
99 | + $method = $this->methods[$name]; |
|
100 | + $parameters = $arguments[0]; |
|
101 | + |
|
102 | + // postBody is a special case since it's not defined in the discovery |
|
103 | + // document as parameter, but we abuse the param entry for storing it. |
|
104 | + $postBody = null; |
|
105 | + if (isset($parameters['postBody'])) { |
|
106 | + if ($parameters['postBody'] instanceof Google_Model) { |
|
107 | + // In the cases the post body is an existing object, we want |
|
108 | + // to use the smart method to create a simple object for |
|
109 | + // for JSONification. |
|
110 | + $parameters['postBody'] = $parameters['postBody']->toSimpleObject(); |
|
111 | + } else if (is_object($parameters['postBody'])) { |
|
112 | + // If the post body is another kind of object, we will try and |
|
113 | + // wrangle it into a sensible format. |
|
114 | + $parameters['postBody'] = |
|
115 | + $this->convertToArrayAndStripNulls($parameters['postBody']); |
|
116 | + } |
|
117 | + $postBody = json_encode($parameters['postBody']); |
|
118 | + unset($parameters['postBody']); |
|
119 | + } |
|
120 | + |
|
121 | + // TODO: optParams here probably should have been |
|
122 | + // handled already - this may well be redundant code. |
|
123 | + if (isset($parameters['optParams'])) { |
|
124 | + $optParams = $parameters['optParams']; |
|
125 | + unset($parameters['optParams']); |
|
126 | + $parameters = array_merge($parameters, $optParams); |
|
127 | + } |
|
128 | + |
|
129 | + if (!isset($method['parameters'])) { |
|
130 | + $method['parameters'] = array(); |
|
131 | + } |
|
132 | + |
|
133 | + $method['parameters'] = array_merge( |
|
134 | + $method['parameters'], |
|
135 | + $this->stackParameters |
|
136 | + ); |
|
137 | + foreach ($parameters as $key => $val) { |
|
138 | + if ($key != 'postBody' && ! isset($method['parameters'][$key])) { |
|
139 | + $this->client->getLogger()->error( |
|
140 | + 'Service parameter unknown', |
|
141 | + array( |
|
142 | + 'service' => $this->serviceName, |
|
143 | + 'resource' => $this->resourceName, |
|
144 | + 'method' => $name, |
|
145 | + 'parameter' => $key |
|
146 | + ) |
|
147 | + ); |
|
148 | + throw new Google_Exception("($name) unknown parameter: '$key'"); |
|
149 | + } |
|
150 | + } |
|
151 | + |
|
152 | + foreach ($method['parameters'] as $paramName => $paramSpec) { |
|
153 | + if (isset($paramSpec['required']) && |
|
154 | + $paramSpec['required'] && |
|
155 | + ! isset($parameters[$paramName]) |
|
156 | + ) { |
|
157 | + $this->client->getLogger()->error( |
|
158 | + 'Service parameter missing', |
|
159 | + array( |
|
160 | + 'service' => $this->serviceName, |
|
161 | + 'resource' => $this->resourceName, |
|
162 | + 'method' => $name, |
|
163 | + 'parameter' => $paramName |
|
164 | + ) |
|
165 | + ); |
|
166 | + throw new Google_Exception("($name) missing required param: '$paramName'"); |
|
167 | + } |
|
168 | + if (isset($parameters[$paramName])) { |
|
169 | + $value = $parameters[$paramName]; |
|
170 | + $parameters[$paramName] = $paramSpec; |
|
171 | + $parameters[$paramName]['value'] = $value; |
|
172 | + unset($parameters[$paramName]['required']); |
|
173 | + } else { |
|
174 | + // Ensure we don't pass nulls. |
|
175 | + unset($parameters[$paramName]); |
|
176 | + } |
|
177 | + } |
|
178 | + |
|
179 | + $this->client->getLogger()->info( |
|
180 | + 'Service Call', |
|
181 | + array( |
|
182 | + 'service' => $this->serviceName, |
|
183 | + 'resource' => $this->resourceName, |
|
184 | + 'method' => $name, |
|
185 | + 'arguments' => $parameters, |
|
186 | + ) |
|
187 | + ); |
|
188 | + |
|
189 | + $url = Google_Http_REST::createRequestUri( |
|
190 | + $this->servicePath, |
|
191 | + $method['path'], |
|
192 | + $parameters |
|
193 | + ); |
|
194 | + $httpRequest = new Google_Http_Request( |
|
195 | + $url, |
|
196 | + $method['httpMethod'], |
|
197 | + null, |
|
198 | + $postBody |
|
199 | + ); |
|
200 | + |
|
201 | + if ($this->rootUrl) { |
|
202 | + $httpRequest->setBaseComponent($this->rootUrl); |
|
203 | + } else { |
|
204 | + $httpRequest->setBaseComponent($this->client->getBasePath()); |
|
205 | + } |
|
206 | + |
|
207 | + if ($postBody) { |
|
208 | + $contentTypeHeader = array(); |
|
209 | + $contentTypeHeader['content-type'] = 'application/json; charset=UTF-8'; |
|
210 | + $httpRequest->setRequestHeaders($contentTypeHeader); |
|
211 | + $httpRequest->setPostBody($postBody); |
|
212 | + } |
|
213 | + |
|
214 | + $httpRequest = $this->client->getAuth()->sign($httpRequest); |
|
215 | + $httpRequest->setExpectedClass($expected_class); |
|
216 | + |
|
217 | + if (isset($parameters['data']) && |
|
218 | + ($parameters['uploadType']['value'] == 'media' || $parameters['uploadType']['value'] == 'multipart')) { |
|
219 | + // If we are doing a simple media upload, trigger that as a convenience. |
|
220 | + $mfu = new Google_Http_MediaFileUpload( |
|
221 | + $this->client, |
|
222 | + $httpRequest, |
|
223 | + isset($parameters['mimeType']) ? $parameters['mimeType']['value'] : 'application/octet-stream', |
|
224 | + $parameters['data']['value'] |
|
225 | + ); |
|
226 | + } |
|
227 | + |
|
228 | + if (isset($parameters['alt']) && $parameters['alt']['value'] == 'media') { |
|
229 | + $httpRequest->enableExpectedRaw(); |
|
230 | + } |
|
231 | + |
|
232 | + if ($this->client->shouldDefer()) { |
|
233 | + // If we are in batch or upload mode, return the raw request. |
|
234 | + return $httpRequest; |
|
235 | + } |
|
236 | + |
|
237 | + return $this->client->execute($httpRequest); |
|
238 | 238 | } |
239 | 239 | |
240 | 240 | protected function convertToArrayAndStripNulls($o) |
241 | 241 | { |
242 | - $o = (array) $o; |
|
243 | - foreach ($o as $k => $v) { |
|
244 | - if ($v === null) { |
|
245 | - unset($o[$k]); |
|
246 | - } elseif (is_object($v) || is_array($v)) { |
|
247 | - $o[$k] = $this->convertToArrayAndStripNulls($o[$k]); |
|
248 | - } |
|
249 | - } |
|
250 | - return $o; |
|
242 | + $o = (array) $o; |
|
243 | + foreach ($o as $k => $v) { |
|
244 | + if ($v === null) { |
|
245 | + unset($o[$k]); |
|
246 | + } elseif (is_object($v) || is_array($v)) { |
|
247 | + $o[$k] = $this->convertToArrayAndStripNulls($o[$k]); |
|
248 | + } |
|
249 | + } |
|
250 | + return $o; |
|
251 | 251 | } |
252 | 252 | } |
@@ -16,7 +16,7 @@ discard block |
||
16 | 16 | */ |
17 | 17 | |
18 | 18 | if (!class_exists('Google_Client')) { |
19 | - require_once dirname(__FILE__) . '/../autoload.php'; |
|
19 | + require_once dirname(__FILE__).'/../autoload.php'; |
|
20 | 20 | } |
21 | 21 | |
22 | 22 | /** |
@@ -67,8 +67,7 @@ discard block |
||
67 | 67 | $this->serviceName = $serviceName; |
68 | 68 | $this->resourceName = $resourceName; |
69 | 69 | $this->methods = is_array($resource) && isset($resource['methods']) ? |
70 | - $resource['methods'] : |
|
71 | - array($resourceName => $resource); |
|
70 | + $resource['methods'] : array($resourceName => $resource); |
|
72 | 71 | } |
73 | 72 | |
74 | 73 | /** |
@@ -81,7 +80,7 @@ discard block |
||
81 | 80 | */ |
82 | 81 | public function call($name, $arguments, $expected_class = null) |
83 | 82 | { |
84 | - if (! isset($this->methods[$name])) { |
|
83 | + if (!isset($this->methods[$name])) { |
|
85 | 84 | $this->client->getLogger()->error( |
86 | 85 | 'Service method unknown', |
87 | 86 | array( |
@@ -92,7 +91,7 @@ discard block |
||
92 | 91 | ); |
93 | 92 | |
94 | 93 | throw new Google_Exception( |
95 | - "Unknown function: " . |
|
94 | + "Unknown function: ". |
|
96 | 95 | "{$this->serviceName}->{$this->resourceName}->{$name}()" |
97 | 96 | ); |
98 | 97 | } |
@@ -135,7 +134,7 @@ discard block |
||
135 | 134 | $this->stackParameters |
136 | 135 | ); |
137 | 136 | foreach ($parameters as $key => $val) { |
138 | - if ($key != 'postBody' && ! isset($method['parameters'][$key])) { |
|
137 | + if ($key != 'postBody' && !isset($method['parameters'][$key])) { |
|
139 | 138 | $this->client->getLogger()->error( |
140 | 139 | 'Service parameter unknown', |
141 | 140 | array( |
@@ -152,7 +151,7 @@ discard block |
||
152 | 151 | foreach ($method['parameters'] as $paramName => $paramSpec) { |
153 | 152 | if (isset($paramSpec['required']) && |
154 | 153 | $paramSpec['required'] && |
155 | - ! isset($parameters[$paramName]) |
|
154 | + !isset($parameters[$paramName]) |
|
156 | 155 | ) { |
157 | 156 | $this->client->getLogger()->error( |
158 | 157 | 'Service parameter missing', |
@@ -406,7 +406,7 @@ discard block |
||
406 | 406 | * @param string $project The project name of the resource view. |
407 | 407 | * @param string $zone The zone name of the resource view. |
408 | 408 | * @param string $resourceView The name of the resource view. |
409 | - * @param Google_ZoneViewsAddResourcesRequest $postBody |
|
409 | + * @param Google_Service_Resourceviews_ZoneViewsAddResourcesRequest $postBody |
|
410 | 410 | * @param array $optParams Optional parameters. |
411 | 411 | * @return Google_Service_Resourceviews_Operation |
412 | 412 | */ |
@@ -474,7 +474,7 @@ discard block |
||
474 | 474 | * |
475 | 475 | * @param string $project The project name of the resource view. |
476 | 476 | * @param string $zone The zone name of the resource view. |
477 | - * @param Google_ResourceView $postBody |
|
477 | + * @param Google_Service_Resourceviews_ResourceView $postBody |
|
478 | 478 | * @param array $optParams Optional parameters. |
479 | 479 | * @return Google_Service_Resourceviews_Operation |
480 | 480 | */ |
@@ -542,7 +542,7 @@ discard block |
||
542 | 542 | * @param string $project The project name of the resource view. |
543 | 543 | * @param string $zone The zone name of the resource view. |
544 | 544 | * @param string $resourceView The name of the resource view. |
545 | - * @param Google_ZoneViewsRemoveResourcesRequest $postBody |
|
545 | + * @param Google_Service_Resourceviews_ZoneViewsRemoveResourcesRequest $postBody |
|
546 | 546 | * @param array $optParams Optional parameters. |
547 | 547 | * @return Google_Service_Resourceviews_Operation |
548 | 548 | */ |
@@ -560,7 +560,7 @@ discard block |
||
560 | 560 | * @param string $project The project name of the resource view. |
561 | 561 | * @param string $zone The zone name of the resource view. |
562 | 562 | * @param string $resourceView The name of the resource view. |
563 | - * @param Google_ZoneViewsSetServiceRequest $postBody |
|
563 | + * @param Google_Service_Resourceviews_ZoneViewsSetServiceRequest $postBody |
|
564 | 564 | * @param array $optParams Optional parameters. |
565 | 565 | * @return Google_Service_Resourceviews_Operation |
566 | 566 | */ |
@@ -33,19 +33,19 @@ discard block |
||
33 | 33 | { |
34 | 34 | /** View and manage your data across Google Cloud Platform services. */ |
35 | 35 | const CLOUD_PLATFORM = |
36 | - "https://www.googleapis.com/auth/cloud-platform"; |
|
36 | + "https://www.googleapis.com/auth/cloud-platform"; |
|
37 | 37 | /** View and manage your Google Compute Engine resources. */ |
38 | 38 | const COMPUTE = |
39 | - "https://www.googleapis.com/auth/compute"; |
|
39 | + "https://www.googleapis.com/auth/compute"; |
|
40 | 40 | /** View your Google Compute Engine resources. */ |
41 | 41 | const COMPUTE_READONLY = |
42 | - "https://www.googleapis.com/auth/compute.readonly"; |
|
42 | + "https://www.googleapis.com/auth/compute.readonly"; |
|
43 | 43 | /** View and manage your Google Cloud Platform management resources and deployment status information. */ |
44 | 44 | const NDEV_CLOUDMAN = |
45 | - "https://www.googleapis.com/auth/ndev.cloudman"; |
|
45 | + "https://www.googleapis.com/auth/ndev.cloudman"; |
|
46 | 46 | /** View your Google Cloud Platform management resources and deployment status information. */ |
47 | 47 | const NDEV_CLOUDMAN_READONLY = |
48 | - "https://www.googleapis.com/auth/ndev.cloudman.readonly"; |
|
48 | + "https://www.googleapis.com/auth/ndev.cloudman.readonly"; |
|
49 | 49 | |
50 | 50 | public $zoneOperations; |
51 | 51 | public $zoneViews; |
@@ -58,281 +58,281 @@ discard block |
||
58 | 58 | */ |
59 | 59 | public function __construct(Google_Client $client) |
60 | 60 | { |
61 | - parent::__construct($client); |
|
62 | - $this->rootUrl = 'https://www.googleapis.com/'; |
|
63 | - $this->servicePath = 'resourceviews/v1beta2/projects/'; |
|
64 | - $this->version = 'v1beta2'; |
|
65 | - $this->serviceName = 'resourceviews'; |
|
66 | - |
|
67 | - $this->zoneOperations = new Google_Service_Resourceviews_ZoneOperations_Resource( |
|
68 | - $this, |
|
69 | - $this->serviceName, |
|
70 | - 'zoneOperations', |
|
71 | - array( |
|
72 | - 'methods' => array( |
|
73 | - 'get' => array( |
|
74 | - 'path' => '{project}/zones/{zone}/operations/{operation}', |
|
75 | - 'httpMethod' => 'GET', |
|
76 | - 'parameters' => array( |
|
77 | - 'project' => array( |
|
78 | - 'location' => 'path', |
|
79 | - 'type' => 'string', |
|
80 | - 'required' => true, |
|
81 | - ), |
|
82 | - 'zone' => array( |
|
83 | - 'location' => 'path', |
|
84 | - 'type' => 'string', |
|
85 | - 'required' => true, |
|
86 | - ), |
|
87 | - 'operation' => array( |
|
88 | - 'location' => 'path', |
|
89 | - 'type' => 'string', |
|
90 | - 'required' => true, |
|
91 | - ), |
|
92 | - ), |
|
93 | - ),'list' => array( |
|
94 | - 'path' => '{project}/zones/{zone}/operations', |
|
95 | - 'httpMethod' => 'GET', |
|
96 | - 'parameters' => array( |
|
97 | - 'project' => array( |
|
98 | - 'location' => 'path', |
|
99 | - 'type' => 'string', |
|
100 | - 'required' => true, |
|
101 | - ), |
|
102 | - 'zone' => array( |
|
103 | - 'location' => 'path', |
|
104 | - 'type' => 'string', |
|
105 | - 'required' => true, |
|
106 | - ), |
|
107 | - 'filter' => array( |
|
108 | - 'location' => 'query', |
|
109 | - 'type' => 'string', |
|
110 | - ), |
|
111 | - 'pageToken' => array( |
|
112 | - 'location' => 'query', |
|
113 | - 'type' => 'string', |
|
114 | - ), |
|
115 | - 'maxResults' => array( |
|
116 | - 'location' => 'query', |
|
117 | - 'type' => 'integer', |
|
118 | - ), |
|
119 | - ), |
|
120 | - ), |
|
121 | - ) |
|
122 | - ) |
|
123 | - ); |
|
124 | - $this->zoneViews = new Google_Service_Resourceviews_ZoneViews_Resource( |
|
125 | - $this, |
|
126 | - $this->serviceName, |
|
127 | - 'zoneViews', |
|
128 | - array( |
|
129 | - 'methods' => array( |
|
130 | - 'addResources' => array( |
|
131 | - 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}/addResources', |
|
132 | - 'httpMethod' => 'POST', |
|
133 | - 'parameters' => array( |
|
134 | - 'project' => array( |
|
135 | - 'location' => 'path', |
|
136 | - 'type' => 'string', |
|
137 | - 'required' => true, |
|
138 | - ), |
|
139 | - 'zone' => array( |
|
140 | - 'location' => 'path', |
|
141 | - 'type' => 'string', |
|
142 | - 'required' => true, |
|
143 | - ), |
|
144 | - 'resourceView' => array( |
|
145 | - 'location' => 'path', |
|
146 | - 'type' => 'string', |
|
147 | - 'required' => true, |
|
148 | - ), |
|
149 | - ), |
|
150 | - ),'delete' => array( |
|
151 | - 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}', |
|
152 | - 'httpMethod' => 'DELETE', |
|
153 | - 'parameters' => array( |
|
154 | - 'project' => array( |
|
155 | - 'location' => 'path', |
|
156 | - 'type' => 'string', |
|
157 | - 'required' => true, |
|
158 | - ), |
|
159 | - 'zone' => array( |
|
160 | - 'location' => 'path', |
|
161 | - 'type' => 'string', |
|
162 | - 'required' => true, |
|
163 | - ), |
|
164 | - 'resourceView' => array( |
|
165 | - 'location' => 'path', |
|
166 | - 'type' => 'string', |
|
167 | - 'required' => true, |
|
168 | - ), |
|
169 | - ), |
|
170 | - ),'get' => array( |
|
171 | - 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}', |
|
172 | - 'httpMethod' => 'GET', |
|
173 | - 'parameters' => array( |
|
174 | - 'project' => array( |
|
175 | - 'location' => 'path', |
|
176 | - 'type' => 'string', |
|
177 | - 'required' => true, |
|
178 | - ), |
|
179 | - 'zone' => array( |
|
180 | - 'location' => 'path', |
|
181 | - 'type' => 'string', |
|
182 | - 'required' => true, |
|
183 | - ), |
|
184 | - 'resourceView' => array( |
|
185 | - 'location' => 'path', |
|
186 | - 'type' => 'string', |
|
187 | - 'required' => true, |
|
188 | - ), |
|
189 | - ), |
|
190 | - ),'getService' => array( |
|
191 | - 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}/getService', |
|
192 | - 'httpMethod' => 'POST', |
|
193 | - 'parameters' => array( |
|
194 | - 'project' => array( |
|
195 | - 'location' => 'path', |
|
196 | - 'type' => 'string', |
|
197 | - 'required' => true, |
|
198 | - ), |
|
199 | - 'zone' => array( |
|
200 | - 'location' => 'path', |
|
201 | - 'type' => 'string', |
|
202 | - 'required' => true, |
|
203 | - ), |
|
204 | - 'resourceView' => array( |
|
205 | - 'location' => 'path', |
|
206 | - 'type' => 'string', |
|
207 | - 'required' => true, |
|
208 | - ), |
|
209 | - 'resourceName' => array( |
|
210 | - 'location' => 'query', |
|
211 | - 'type' => 'string', |
|
212 | - ), |
|
213 | - ), |
|
214 | - ),'insert' => array( |
|
215 | - 'path' => '{project}/zones/{zone}/resourceViews', |
|
216 | - 'httpMethod' => 'POST', |
|
217 | - 'parameters' => array( |
|
218 | - 'project' => array( |
|
219 | - 'location' => 'path', |
|
220 | - 'type' => 'string', |
|
221 | - 'required' => true, |
|
222 | - ), |
|
223 | - 'zone' => array( |
|
224 | - 'location' => 'path', |
|
225 | - 'type' => 'string', |
|
226 | - 'required' => true, |
|
227 | - ), |
|
228 | - ), |
|
229 | - ),'list' => array( |
|
230 | - 'path' => '{project}/zones/{zone}/resourceViews', |
|
231 | - 'httpMethod' => 'GET', |
|
232 | - 'parameters' => array( |
|
233 | - 'project' => array( |
|
234 | - 'location' => 'path', |
|
235 | - 'type' => 'string', |
|
236 | - 'required' => true, |
|
237 | - ), |
|
238 | - 'zone' => array( |
|
239 | - 'location' => 'path', |
|
240 | - 'type' => 'string', |
|
241 | - 'required' => true, |
|
242 | - ), |
|
243 | - 'pageToken' => array( |
|
244 | - 'location' => 'query', |
|
245 | - 'type' => 'string', |
|
246 | - ), |
|
247 | - 'maxResults' => array( |
|
248 | - 'location' => 'query', |
|
249 | - 'type' => 'integer', |
|
250 | - ), |
|
251 | - ), |
|
252 | - ),'listResources' => array( |
|
253 | - 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}/resources', |
|
254 | - 'httpMethod' => 'GET', |
|
255 | - 'parameters' => array( |
|
256 | - 'project' => array( |
|
257 | - 'location' => 'path', |
|
258 | - 'type' => 'string', |
|
259 | - 'required' => true, |
|
260 | - ), |
|
261 | - 'zone' => array( |
|
262 | - 'location' => 'path', |
|
263 | - 'type' => 'string', |
|
264 | - 'required' => true, |
|
265 | - ), |
|
266 | - 'resourceView' => array( |
|
267 | - 'location' => 'path', |
|
268 | - 'type' => 'string', |
|
269 | - 'required' => true, |
|
270 | - ), |
|
271 | - 'listState' => array( |
|
272 | - 'location' => 'query', |
|
273 | - 'type' => 'string', |
|
274 | - ), |
|
275 | - 'format' => array( |
|
276 | - 'location' => 'query', |
|
277 | - 'type' => 'string', |
|
278 | - ), |
|
279 | - 'maxResults' => array( |
|
280 | - 'location' => 'query', |
|
281 | - 'type' => 'integer', |
|
282 | - ), |
|
283 | - 'pageToken' => array( |
|
284 | - 'location' => 'query', |
|
285 | - 'type' => 'string', |
|
286 | - ), |
|
287 | - 'serviceName' => array( |
|
288 | - 'location' => 'query', |
|
289 | - 'type' => 'string', |
|
290 | - ), |
|
291 | - ), |
|
292 | - ),'removeResources' => array( |
|
293 | - 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}/removeResources', |
|
294 | - 'httpMethod' => 'POST', |
|
295 | - 'parameters' => array( |
|
296 | - 'project' => array( |
|
297 | - 'location' => 'path', |
|
298 | - 'type' => 'string', |
|
299 | - 'required' => true, |
|
300 | - ), |
|
301 | - 'zone' => array( |
|
302 | - 'location' => 'path', |
|
303 | - 'type' => 'string', |
|
304 | - 'required' => true, |
|
305 | - ), |
|
306 | - 'resourceView' => array( |
|
307 | - 'location' => 'path', |
|
308 | - 'type' => 'string', |
|
309 | - 'required' => true, |
|
310 | - ), |
|
311 | - ), |
|
312 | - ),'setService' => array( |
|
313 | - 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}/setService', |
|
314 | - 'httpMethod' => 'POST', |
|
315 | - 'parameters' => array( |
|
316 | - 'project' => array( |
|
317 | - 'location' => 'path', |
|
318 | - 'type' => 'string', |
|
319 | - 'required' => true, |
|
320 | - ), |
|
321 | - 'zone' => array( |
|
322 | - 'location' => 'path', |
|
323 | - 'type' => 'string', |
|
324 | - 'required' => true, |
|
325 | - ), |
|
326 | - 'resourceView' => array( |
|
327 | - 'location' => 'path', |
|
328 | - 'type' => 'string', |
|
329 | - 'required' => true, |
|
330 | - ), |
|
331 | - ), |
|
332 | - ), |
|
333 | - ) |
|
334 | - ) |
|
335 | - ); |
|
61 | + parent::__construct($client); |
|
62 | + $this->rootUrl = 'https://www.googleapis.com/'; |
|
63 | + $this->servicePath = 'resourceviews/v1beta2/projects/'; |
|
64 | + $this->version = 'v1beta2'; |
|
65 | + $this->serviceName = 'resourceviews'; |
|
66 | + |
|
67 | + $this->zoneOperations = new Google_Service_Resourceviews_ZoneOperations_Resource( |
|
68 | + $this, |
|
69 | + $this->serviceName, |
|
70 | + 'zoneOperations', |
|
71 | + array( |
|
72 | + 'methods' => array( |
|
73 | + 'get' => array( |
|
74 | + 'path' => '{project}/zones/{zone}/operations/{operation}', |
|
75 | + 'httpMethod' => 'GET', |
|
76 | + 'parameters' => array( |
|
77 | + 'project' => array( |
|
78 | + 'location' => 'path', |
|
79 | + 'type' => 'string', |
|
80 | + 'required' => true, |
|
81 | + ), |
|
82 | + 'zone' => array( |
|
83 | + 'location' => 'path', |
|
84 | + 'type' => 'string', |
|
85 | + 'required' => true, |
|
86 | + ), |
|
87 | + 'operation' => array( |
|
88 | + 'location' => 'path', |
|
89 | + 'type' => 'string', |
|
90 | + 'required' => true, |
|
91 | + ), |
|
92 | + ), |
|
93 | + ),'list' => array( |
|
94 | + 'path' => '{project}/zones/{zone}/operations', |
|
95 | + 'httpMethod' => 'GET', |
|
96 | + 'parameters' => array( |
|
97 | + 'project' => array( |
|
98 | + 'location' => 'path', |
|
99 | + 'type' => 'string', |
|
100 | + 'required' => true, |
|
101 | + ), |
|
102 | + 'zone' => array( |
|
103 | + 'location' => 'path', |
|
104 | + 'type' => 'string', |
|
105 | + 'required' => true, |
|
106 | + ), |
|
107 | + 'filter' => array( |
|
108 | + 'location' => 'query', |
|
109 | + 'type' => 'string', |
|
110 | + ), |
|
111 | + 'pageToken' => array( |
|
112 | + 'location' => 'query', |
|
113 | + 'type' => 'string', |
|
114 | + ), |
|
115 | + 'maxResults' => array( |
|
116 | + 'location' => 'query', |
|
117 | + 'type' => 'integer', |
|
118 | + ), |
|
119 | + ), |
|
120 | + ), |
|
121 | + ) |
|
122 | + ) |
|
123 | + ); |
|
124 | + $this->zoneViews = new Google_Service_Resourceviews_ZoneViews_Resource( |
|
125 | + $this, |
|
126 | + $this->serviceName, |
|
127 | + 'zoneViews', |
|
128 | + array( |
|
129 | + 'methods' => array( |
|
130 | + 'addResources' => array( |
|
131 | + 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}/addResources', |
|
132 | + 'httpMethod' => 'POST', |
|
133 | + 'parameters' => array( |
|
134 | + 'project' => array( |
|
135 | + 'location' => 'path', |
|
136 | + 'type' => 'string', |
|
137 | + 'required' => true, |
|
138 | + ), |
|
139 | + 'zone' => array( |
|
140 | + 'location' => 'path', |
|
141 | + 'type' => 'string', |
|
142 | + 'required' => true, |
|
143 | + ), |
|
144 | + 'resourceView' => array( |
|
145 | + 'location' => 'path', |
|
146 | + 'type' => 'string', |
|
147 | + 'required' => true, |
|
148 | + ), |
|
149 | + ), |
|
150 | + ),'delete' => array( |
|
151 | + 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}', |
|
152 | + 'httpMethod' => 'DELETE', |
|
153 | + 'parameters' => array( |
|
154 | + 'project' => array( |
|
155 | + 'location' => 'path', |
|
156 | + 'type' => 'string', |
|
157 | + 'required' => true, |
|
158 | + ), |
|
159 | + 'zone' => array( |
|
160 | + 'location' => 'path', |
|
161 | + 'type' => 'string', |
|
162 | + 'required' => true, |
|
163 | + ), |
|
164 | + 'resourceView' => array( |
|
165 | + 'location' => 'path', |
|
166 | + 'type' => 'string', |
|
167 | + 'required' => true, |
|
168 | + ), |
|
169 | + ), |
|
170 | + ),'get' => array( |
|
171 | + 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}', |
|
172 | + 'httpMethod' => 'GET', |
|
173 | + 'parameters' => array( |
|
174 | + 'project' => array( |
|
175 | + 'location' => 'path', |
|
176 | + 'type' => 'string', |
|
177 | + 'required' => true, |
|
178 | + ), |
|
179 | + 'zone' => array( |
|
180 | + 'location' => 'path', |
|
181 | + 'type' => 'string', |
|
182 | + 'required' => true, |
|
183 | + ), |
|
184 | + 'resourceView' => array( |
|
185 | + 'location' => 'path', |
|
186 | + 'type' => 'string', |
|
187 | + 'required' => true, |
|
188 | + ), |
|
189 | + ), |
|
190 | + ),'getService' => array( |
|
191 | + 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}/getService', |
|
192 | + 'httpMethod' => 'POST', |
|
193 | + 'parameters' => array( |
|
194 | + 'project' => array( |
|
195 | + 'location' => 'path', |
|
196 | + 'type' => 'string', |
|
197 | + 'required' => true, |
|
198 | + ), |
|
199 | + 'zone' => array( |
|
200 | + 'location' => 'path', |
|
201 | + 'type' => 'string', |
|
202 | + 'required' => true, |
|
203 | + ), |
|
204 | + 'resourceView' => array( |
|
205 | + 'location' => 'path', |
|
206 | + 'type' => 'string', |
|
207 | + 'required' => true, |
|
208 | + ), |
|
209 | + 'resourceName' => array( |
|
210 | + 'location' => 'query', |
|
211 | + 'type' => 'string', |
|
212 | + ), |
|
213 | + ), |
|
214 | + ),'insert' => array( |
|
215 | + 'path' => '{project}/zones/{zone}/resourceViews', |
|
216 | + 'httpMethod' => 'POST', |
|
217 | + 'parameters' => array( |
|
218 | + 'project' => array( |
|
219 | + 'location' => 'path', |
|
220 | + 'type' => 'string', |
|
221 | + 'required' => true, |
|
222 | + ), |
|
223 | + 'zone' => array( |
|
224 | + 'location' => 'path', |
|
225 | + 'type' => 'string', |
|
226 | + 'required' => true, |
|
227 | + ), |
|
228 | + ), |
|
229 | + ),'list' => array( |
|
230 | + 'path' => '{project}/zones/{zone}/resourceViews', |
|
231 | + 'httpMethod' => 'GET', |
|
232 | + 'parameters' => array( |
|
233 | + 'project' => array( |
|
234 | + 'location' => 'path', |
|
235 | + 'type' => 'string', |
|
236 | + 'required' => true, |
|
237 | + ), |
|
238 | + 'zone' => array( |
|
239 | + 'location' => 'path', |
|
240 | + 'type' => 'string', |
|
241 | + 'required' => true, |
|
242 | + ), |
|
243 | + 'pageToken' => array( |
|
244 | + 'location' => 'query', |
|
245 | + 'type' => 'string', |
|
246 | + ), |
|
247 | + 'maxResults' => array( |
|
248 | + 'location' => 'query', |
|
249 | + 'type' => 'integer', |
|
250 | + ), |
|
251 | + ), |
|
252 | + ),'listResources' => array( |
|
253 | + 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}/resources', |
|
254 | + 'httpMethod' => 'GET', |
|
255 | + 'parameters' => array( |
|
256 | + 'project' => array( |
|
257 | + 'location' => 'path', |
|
258 | + 'type' => 'string', |
|
259 | + 'required' => true, |
|
260 | + ), |
|
261 | + 'zone' => array( |
|
262 | + 'location' => 'path', |
|
263 | + 'type' => 'string', |
|
264 | + 'required' => true, |
|
265 | + ), |
|
266 | + 'resourceView' => array( |
|
267 | + 'location' => 'path', |
|
268 | + 'type' => 'string', |
|
269 | + 'required' => true, |
|
270 | + ), |
|
271 | + 'listState' => array( |
|
272 | + 'location' => 'query', |
|
273 | + 'type' => 'string', |
|
274 | + ), |
|
275 | + 'format' => array( |
|
276 | + 'location' => 'query', |
|
277 | + 'type' => 'string', |
|
278 | + ), |
|
279 | + 'maxResults' => array( |
|
280 | + 'location' => 'query', |
|
281 | + 'type' => 'integer', |
|
282 | + ), |
|
283 | + 'pageToken' => array( |
|
284 | + 'location' => 'query', |
|
285 | + 'type' => 'string', |
|
286 | + ), |
|
287 | + 'serviceName' => array( |
|
288 | + 'location' => 'query', |
|
289 | + 'type' => 'string', |
|
290 | + ), |
|
291 | + ), |
|
292 | + ),'removeResources' => array( |
|
293 | + 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}/removeResources', |
|
294 | + 'httpMethod' => 'POST', |
|
295 | + 'parameters' => array( |
|
296 | + 'project' => array( |
|
297 | + 'location' => 'path', |
|
298 | + 'type' => 'string', |
|
299 | + 'required' => true, |
|
300 | + ), |
|
301 | + 'zone' => array( |
|
302 | + 'location' => 'path', |
|
303 | + 'type' => 'string', |
|
304 | + 'required' => true, |
|
305 | + ), |
|
306 | + 'resourceView' => array( |
|
307 | + 'location' => 'path', |
|
308 | + 'type' => 'string', |
|
309 | + 'required' => true, |
|
310 | + ), |
|
311 | + ), |
|
312 | + ),'setService' => array( |
|
313 | + 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}/setService', |
|
314 | + 'httpMethod' => 'POST', |
|
315 | + 'parameters' => array( |
|
316 | + 'project' => array( |
|
317 | + 'location' => 'path', |
|
318 | + 'type' => 'string', |
|
319 | + 'required' => true, |
|
320 | + ), |
|
321 | + 'zone' => array( |
|
322 | + 'location' => 'path', |
|
323 | + 'type' => 'string', |
|
324 | + 'required' => true, |
|
325 | + ), |
|
326 | + 'resourceView' => array( |
|
327 | + 'location' => 'path', |
|
328 | + 'type' => 'string', |
|
329 | + 'required' => true, |
|
330 | + ), |
|
331 | + ), |
|
332 | + ), |
|
333 | + ) |
|
334 | + ) |
|
335 | + ); |
|
336 | 336 | } |
337 | 337 | } |
338 | 338 | |
@@ -360,9 +360,9 @@ discard block |
||
360 | 360 | */ |
361 | 361 | public function get($project, $zone, $operation, $optParams = array()) |
362 | 362 | { |
363 | - $params = array('project' => $project, 'zone' => $zone, 'operation' => $operation); |
|
364 | - $params = array_merge($params, $optParams); |
|
365 | - return $this->call('get', array($params), "Google_Service_Resourceviews_Operation"); |
|
363 | + $params = array('project' => $project, 'zone' => $zone, 'operation' => $operation); |
|
364 | + $params = array_merge($params, $optParams); |
|
365 | + return $this->call('get', array($params), "Google_Service_Resourceviews_Operation"); |
|
366 | 366 | } |
367 | 367 | |
368 | 368 | /** |
@@ -383,9 +383,9 @@ discard block |
||
383 | 383 | */ |
384 | 384 | public function listZoneOperations($project, $zone, $optParams = array()) |
385 | 385 | { |
386 | - $params = array('project' => $project, 'zone' => $zone); |
|
387 | - $params = array_merge($params, $optParams); |
|
388 | - return $this->call('list', array($params), "Google_Service_Resourceviews_OperationList"); |
|
386 | + $params = array('project' => $project, 'zone' => $zone); |
|
387 | + $params = array_merge($params, $optParams); |
|
388 | + return $this->call('list', array($params), "Google_Service_Resourceviews_OperationList"); |
|
389 | 389 | } |
390 | 390 | } |
391 | 391 | |
@@ -412,9 +412,9 @@ discard block |
||
412 | 412 | */ |
413 | 413 | public function addResources($project, $zone, $resourceView, Google_Service_Resourceviews_ZoneViewsAddResourcesRequest $postBody, $optParams = array()) |
414 | 414 | { |
415 | - $params = array('project' => $project, 'zone' => $zone, 'resourceView' => $resourceView, 'postBody' => $postBody); |
|
416 | - $params = array_merge($params, $optParams); |
|
417 | - return $this->call('addResources', array($params), "Google_Service_Resourceviews_Operation"); |
|
415 | + $params = array('project' => $project, 'zone' => $zone, 'resourceView' => $resourceView, 'postBody' => $postBody); |
|
416 | + $params = array_merge($params, $optParams); |
|
417 | + return $this->call('addResources', array($params), "Google_Service_Resourceviews_Operation"); |
|
418 | 418 | } |
419 | 419 | |
420 | 420 | /** |
@@ -428,9 +428,9 @@ discard block |
||
428 | 428 | */ |
429 | 429 | public function delete($project, $zone, $resourceView, $optParams = array()) |
430 | 430 | { |
431 | - $params = array('project' => $project, 'zone' => $zone, 'resourceView' => $resourceView); |
|
432 | - $params = array_merge($params, $optParams); |
|
433 | - return $this->call('delete', array($params), "Google_Service_Resourceviews_Operation"); |
|
431 | + $params = array('project' => $project, 'zone' => $zone, 'resourceView' => $resourceView); |
|
432 | + $params = array_merge($params, $optParams); |
|
433 | + return $this->call('delete', array($params), "Google_Service_Resourceviews_Operation"); |
|
434 | 434 | } |
435 | 435 | |
436 | 436 | /** |
@@ -444,9 +444,9 @@ discard block |
||
444 | 444 | */ |
445 | 445 | public function get($project, $zone, $resourceView, $optParams = array()) |
446 | 446 | { |
447 | - $params = array('project' => $project, 'zone' => $zone, 'resourceView' => $resourceView); |
|
448 | - $params = array_merge($params, $optParams); |
|
449 | - return $this->call('get', array($params), "Google_Service_Resourceviews_ResourceView"); |
|
447 | + $params = array('project' => $project, 'zone' => $zone, 'resourceView' => $resourceView); |
|
448 | + $params = array_merge($params, $optParams); |
|
449 | + return $this->call('get', array($params), "Google_Service_Resourceviews_ResourceView"); |
|
450 | 450 | } |
451 | 451 | |
452 | 452 | /** |
@@ -464,9 +464,9 @@ discard block |
||
464 | 464 | */ |
465 | 465 | public function getService($project, $zone, $resourceView, $optParams = array()) |
466 | 466 | { |
467 | - $params = array('project' => $project, 'zone' => $zone, 'resourceView' => $resourceView); |
|
468 | - $params = array_merge($params, $optParams); |
|
469 | - return $this->call('getService', array($params), "Google_Service_Resourceviews_ZoneViewsGetServiceResponse"); |
|
467 | + $params = array('project' => $project, 'zone' => $zone, 'resourceView' => $resourceView); |
|
468 | + $params = array_merge($params, $optParams); |
|
469 | + return $this->call('getService', array($params), "Google_Service_Resourceviews_ZoneViewsGetServiceResponse"); |
|
470 | 470 | } |
471 | 471 | |
472 | 472 | /** |
@@ -480,9 +480,9 @@ discard block |
||
480 | 480 | */ |
481 | 481 | public function insert($project, $zone, Google_Service_Resourceviews_ResourceView $postBody, $optParams = array()) |
482 | 482 | { |
483 | - $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody); |
|
484 | - $params = array_merge($params, $optParams); |
|
485 | - return $this->call('insert', array($params), "Google_Service_Resourceviews_Operation"); |
|
483 | + $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody); |
|
484 | + $params = array_merge($params, $optParams); |
|
485 | + return $this->call('insert', array($params), "Google_Service_Resourceviews_Operation"); |
|
486 | 486 | } |
487 | 487 | |
488 | 488 | /** |
@@ -501,9 +501,9 @@ discard block |
||
501 | 501 | */ |
502 | 502 | public function listZoneViews($project, $zone, $optParams = array()) |
503 | 503 | { |
504 | - $params = array('project' => $project, 'zone' => $zone); |
|
505 | - $params = array_merge($params, $optParams); |
|
506 | - return $this->call('list', array($params), "Google_Service_Resourceviews_ZoneViewsList"); |
|
504 | + $params = array('project' => $project, 'zone' => $zone); |
|
505 | + $params = array_merge($params, $optParams); |
|
506 | + return $this->call('list', array($params), "Google_Service_Resourceviews_ZoneViewsList"); |
|
507 | 507 | } |
508 | 508 | |
509 | 509 | /** |
@@ -531,9 +531,9 @@ discard block |
||
531 | 531 | */ |
532 | 532 | public function listResources($project, $zone, $resourceView, $optParams = array()) |
533 | 533 | { |
534 | - $params = array('project' => $project, 'zone' => $zone, 'resourceView' => $resourceView); |
|
535 | - $params = array_merge($params, $optParams); |
|
536 | - return $this->call('listResources', array($params), "Google_Service_Resourceviews_ZoneViewsListResourcesResponse"); |
|
534 | + $params = array('project' => $project, 'zone' => $zone, 'resourceView' => $resourceView); |
|
535 | + $params = array_merge($params, $optParams); |
|
536 | + return $this->call('listResources', array($params), "Google_Service_Resourceviews_ZoneViewsListResourcesResponse"); |
|
537 | 537 | } |
538 | 538 | |
539 | 539 | /** |
@@ -548,9 +548,9 @@ discard block |
||
548 | 548 | */ |
549 | 549 | public function removeResources($project, $zone, $resourceView, Google_Service_Resourceviews_ZoneViewsRemoveResourcesRequest $postBody, $optParams = array()) |
550 | 550 | { |
551 | - $params = array('project' => $project, 'zone' => $zone, 'resourceView' => $resourceView, 'postBody' => $postBody); |
|
552 | - $params = array_merge($params, $optParams); |
|
553 | - return $this->call('removeResources', array($params), "Google_Service_Resourceviews_Operation"); |
|
551 | + $params = array('project' => $project, 'zone' => $zone, 'resourceView' => $resourceView, 'postBody' => $postBody); |
|
552 | + $params = array_merge($params, $optParams); |
|
553 | + return $this->call('removeResources', array($params), "Google_Service_Resourceviews_Operation"); |
|
554 | 554 | } |
555 | 555 | |
556 | 556 | /** |
@@ -566,9 +566,9 @@ discard block |
||
566 | 566 | */ |
567 | 567 | public function setService($project, $zone, $resourceView, Google_Service_Resourceviews_ZoneViewsSetServiceRequest $postBody, $optParams = array()) |
568 | 568 | { |
569 | - $params = array('project' => $project, 'zone' => $zone, 'resourceView' => $resourceView, 'postBody' => $postBody); |
|
570 | - $params = array_merge($params, $optParams); |
|
571 | - return $this->call('setService', array($params), "Google_Service_Resourceviews_Operation"); |
|
569 | + $params = array('project' => $project, 'zone' => $zone, 'resourceView' => $resourceView, 'postBody' => $postBody); |
|
570 | + $params = array_merge($params, $optParams); |
|
571 | + return $this->call('setService', array($params), "Google_Service_Resourceviews_Operation"); |
|
572 | 572 | } |
573 | 573 | } |
574 | 574 | |
@@ -585,19 +585,19 @@ discard block |
||
585 | 585 | |
586 | 586 | public function setKey($key) |
587 | 587 | { |
588 | - $this->key = $key; |
|
588 | + $this->key = $key; |
|
589 | 589 | } |
590 | 590 | public function getKey() |
591 | 591 | { |
592 | - return $this->key; |
|
592 | + return $this->key; |
|
593 | 593 | } |
594 | 594 | public function setValue($value) |
595 | 595 | { |
596 | - $this->value = $value; |
|
596 | + $this->value = $value; |
|
597 | 597 | } |
598 | 598 | public function getValue() |
599 | 599 | { |
600 | - return $this->value; |
|
600 | + return $this->value; |
|
601 | 601 | } |
602 | 602 | } |
603 | 603 | |
@@ -611,19 +611,19 @@ discard block |
||
611 | 611 | |
612 | 612 | public function setEndpoints($endpoints) |
613 | 613 | { |
614 | - $this->endpoints = $endpoints; |
|
614 | + $this->endpoints = $endpoints; |
|
615 | 615 | } |
616 | 616 | public function getEndpoints() |
617 | 617 | { |
618 | - return $this->endpoints; |
|
618 | + return $this->endpoints; |
|
619 | 619 | } |
620 | 620 | public function setResource($resource) |
621 | 621 | { |
622 | - $this->resource = $resource; |
|
622 | + $this->resource = $resource; |
|
623 | 623 | } |
624 | 624 | public function getResource() |
625 | 625 | { |
626 | - return $this->resource; |
|
626 | + return $this->resource; |
|
627 | 627 | } |
628 | 628 | } |
629 | 629 | |
@@ -664,179 +664,179 @@ discard block |
||
664 | 664 | |
665 | 665 | public function setClientOperationId($clientOperationId) |
666 | 666 | { |
667 | - $this->clientOperationId = $clientOperationId; |
|
667 | + $this->clientOperationId = $clientOperationId; |
|
668 | 668 | } |
669 | 669 | public function getClientOperationId() |
670 | 670 | { |
671 | - return $this->clientOperationId; |
|
671 | + return $this->clientOperationId; |
|
672 | 672 | } |
673 | 673 | public function setCreationTimestamp($creationTimestamp) |
674 | 674 | { |
675 | - $this->creationTimestamp = $creationTimestamp; |
|
675 | + $this->creationTimestamp = $creationTimestamp; |
|
676 | 676 | } |
677 | 677 | public function getCreationTimestamp() |
678 | 678 | { |
679 | - return $this->creationTimestamp; |
|
679 | + return $this->creationTimestamp; |
|
680 | 680 | } |
681 | 681 | public function setEndTime($endTime) |
682 | 682 | { |
683 | - $this->endTime = $endTime; |
|
683 | + $this->endTime = $endTime; |
|
684 | 684 | } |
685 | 685 | public function getEndTime() |
686 | 686 | { |
687 | - return $this->endTime; |
|
687 | + return $this->endTime; |
|
688 | 688 | } |
689 | 689 | public function setError(Google_Service_Resourceviews_OperationError $error) |
690 | 690 | { |
691 | - $this->error = $error; |
|
691 | + $this->error = $error; |
|
692 | 692 | } |
693 | 693 | public function getError() |
694 | 694 | { |
695 | - return $this->error; |
|
695 | + return $this->error; |
|
696 | 696 | } |
697 | 697 | public function setHttpErrorMessage($httpErrorMessage) |
698 | 698 | { |
699 | - $this->httpErrorMessage = $httpErrorMessage; |
|
699 | + $this->httpErrorMessage = $httpErrorMessage; |
|
700 | 700 | } |
701 | 701 | public function getHttpErrorMessage() |
702 | 702 | { |
703 | - return $this->httpErrorMessage; |
|
703 | + return $this->httpErrorMessage; |
|
704 | 704 | } |
705 | 705 | public function setHttpErrorStatusCode($httpErrorStatusCode) |
706 | 706 | { |
707 | - $this->httpErrorStatusCode = $httpErrorStatusCode; |
|
707 | + $this->httpErrorStatusCode = $httpErrorStatusCode; |
|
708 | 708 | } |
709 | 709 | public function getHttpErrorStatusCode() |
710 | 710 | { |
711 | - return $this->httpErrorStatusCode; |
|
711 | + return $this->httpErrorStatusCode; |
|
712 | 712 | } |
713 | 713 | public function setId($id) |
714 | 714 | { |
715 | - $this->id = $id; |
|
715 | + $this->id = $id; |
|
716 | 716 | } |
717 | 717 | public function getId() |
718 | 718 | { |
719 | - return $this->id; |
|
719 | + return $this->id; |
|
720 | 720 | } |
721 | 721 | public function setInsertTime($insertTime) |
722 | 722 | { |
723 | - $this->insertTime = $insertTime; |
|
723 | + $this->insertTime = $insertTime; |
|
724 | 724 | } |
725 | 725 | public function getInsertTime() |
726 | 726 | { |
727 | - return $this->insertTime; |
|
727 | + return $this->insertTime; |
|
728 | 728 | } |
729 | 729 | public function setKind($kind) |
730 | 730 | { |
731 | - $this->kind = $kind; |
|
731 | + $this->kind = $kind; |
|
732 | 732 | } |
733 | 733 | public function getKind() |
734 | 734 | { |
735 | - return $this->kind; |
|
735 | + return $this->kind; |
|
736 | 736 | } |
737 | 737 | public function setName($name) |
738 | 738 | { |
739 | - $this->name = $name; |
|
739 | + $this->name = $name; |
|
740 | 740 | } |
741 | 741 | public function getName() |
742 | 742 | { |
743 | - return $this->name; |
|
743 | + return $this->name; |
|
744 | 744 | } |
745 | 745 | public function setOperationType($operationType) |
746 | 746 | { |
747 | - $this->operationType = $operationType; |
|
747 | + $this->operationType = $operationType; |
|
748 | 748 | } |
749 | 749 | public function getOperationType() |
750 | 750 | { |
751 | - return $this->operationType; |
|
751 | + return $this->operationType; |
|
752 | 752 | } |
753 | 753 | public function setProgress($progress) |
754 | 754 | { |
755 | - $this->progress = $progress; |
|
755 | + $this->progress = $progress; |
|
756 | 756 | } |
757 | 757 | public function getProgress() |
758 | 758 | { |
759 | - return $this->progress; |
|
759 | + return $this->progress; |
|
760 | 760 | } |
761 | 761 | public function setRegion($region) |
762 | 762 | { |
763 | - $this->region = $region; |
|
763 | + $this->region = $region; |
|
764 | 764 | } |
765 | 765 | public function getRegion() |
766 | 766 | { |
767 | - return $this->region; |
|
767 | + return $this->region; |
|
768 | 768 | } |
769 | 769 | public function setSelfLink($selfLink) |
770 | 770 | { |
771 | - $this->selfLink = $selfLink; |
|
771 | + $this->selfLink = $selfLink; |
|
772 | 772 | } |
773 | 773 | public function getSelfLink() |
774 | 774 | { |
775 | - return $this->selfLink; |
|
775 | + return $this->selfLink; |
|
776 | 776 | } |
777 | 777 | public function setStartTime($startTime) |
778 | 778 | { |
779 | - $this->startTime = $startTime; |
|
779 | + $this->startTime = $startTime; |
|
780 | 780 | } |
781 | 781 | public function getStartTime() |
782 | 782 | { |
783 | - return $this->startTime; |
|
783 | + return $this->startTime; |
|
784 | 784 | } |
785 | 785 | public function setStatus($status) |
786 | 786 | { |
787 | - $this->status = $status; |
|
787 | + $this->status = $status; |
|
788 | 788 | } |
789 | 789 | public function getStatus() |
790 | 790 | { |
791 | - return $this->status; |
|
791 | + return $this->status; |
|
792 | 792 | } |
793 | 793 | public function setStatusMessage($statusMessage) |
794 | 794 | { |
795 | - $this->statusMessage = $statusMessage; |
|
795 | + $this->statusMessage = $statusMessage; |
|
796 | 796 | } |
797 | 797 | public function getStatusMessage() |
798 | 798 | { |
799 | - return $this->statusMessage; |
|
799 | + return $this->statusMessage; |
|
800 | 800 | } |
801 | 801 | public function setTargetId($targetId) |
802 | 802 | { |
803 | - $this->targetId = $targetId; |
|
803 | + $this->targetId = $targetId; |
|
804 | 804 | } |
805 | 805 | public function getTargetId() |
806 | 806 | { |
807 | - return $this->targetId; |
|
807 | + return $this->targetId; |
|
808 | 808 | } |
809 | 809 | public function setTargetLink($targetLink) |
810 | 810 | { |
811 | - $this->targetLink = $targetLink; |
|
811 | + $this->targetLink = $targetLink; |
|
812 | 812 | } |
813 | 813 | public function getTargetLink() |
814 | 814 | { |
815 | - return $this->targetLink; |
|
815 | + return $this->targetLink; |
|
816 | 816 | } |
817 | 817 | public function setUser($user) |
818 | 818 | { |
819 | - $this->user = $user; |
|
819 | + $this->user = $user; |
|
820 | 820 | } |
821 | 821 | public function getUser() |
822 | 822 | { |
823 | - return $this->user; |
|
823 | + return $this->user; |
|
824 | 824 | } |
825 | 825 | public function setWarnings($warnings) |
826 | 826 | { |
827 | - $this->warnings = $warnings; |
|
827 | + $this->warnings = $warnings; |
|
828 | 828 | } |
829 | 829 | public function getWarnings() |
830 | 830 | { |
831 | - return $this->warnings; |
|
831 | + return $this->warnings; |
|
832 | 832 | } |
833 | 833 | public function setZone($zone) |
834 | 834 | { |
835 | - $this->zone = $zone; |
|
835 | + $this->zone = $zone; |
|
836 | 836 | } |
837 | 837 | public function getZone() |
838 | 838 | { |
839 | - return $this->zone; |
|
839 | + return $this->zone; |
|
840 | 840 | } |
841 | 841 | } |
842 | 842 | |
@@ -851,11 +851,11 @@ discard block |
||
851 | 851 | |
852 | 852 | public function setErrors($errors) |
853 | 853 | { |
854 | - $this->errors = $errors; |
|
854 | + $this->errors = $errors; |
|
855 | 855 | } |
856 | 856 | public function getErrors() |
857 | 857 | { |
858 | - return $this->errors; |
|
858 | + return $this->errors; |
|
859 | 859 | } |
860 | 860 | } |
861 | 861 | |
@@ -870,27 +870,27 @@ discard block |
||
870 | 870 | |
871 | 871 | public function setCode($code) |
872 | 872 | { |
873 | - $this->code = $code; |
|
873 | + $this->code = $code; |
|
874 | 874 | } |
875 | 875 | public function getCode() |
876 | 876 | { |
877 | - return $this->code; |
|
877 | + return $this->code; |
|
878 | 878 | } |
879 | 879 | public function setLocation($location) |
880 | 880 | { |
881 | - $this->location = $location; |
|
881 | + $this->location = $location; |
|
882 | 882 | } |
883 | 883 | public function getLocation() |
884 | 884 | { |
885 | - return $this->location; |
|
885 | + return $this->location; |
|
886 | 886 | } |
887 | 887 | public function setMessage($message) |
888 | 888 | { |
889 | - $this->message = $message; |
|
889 | + $this->message = $message; |
|
890 | 890 | } |
891 | 891 | public function getMessage() |
892 | 892 | { |
893 | - return $this->message; |
|
893 | + return $this->message; |
|
894 | 894 | } |
895 | 895 | } |
896 | 896 | |
@@ -909,43 +909,43 @@ discard block |
||
909 | 909 | |
910 | 910 | public function setId($id) |
911 | 911 | { |
912 | - $this->id = $id; |
|
912 | + $this->id = $id; |
|
913 | 913 | } |
914 | 914 | public function getId() |
915 | 915 | { |
916 | - return $this->id; |
|
916 | + return $this->id; |
|
917 | 917 | } |
918 | 918 | public function setItems($items) |
919 | 919 | { |
920 | - $this->items = $items; |
|
920 | + $this->items = $items; |
|
921 | 921 | } |
922 | 922 | public function getItems() |
923 | 923 | { |
924 | - return $this->items; |
|
924 | + return $this->items; |
|
925 | 925 | } |
926 | 926 | public function setKind($kind) |
927 | 927 | { |
928 | - $this->kind = $kind; |
|
928 | + $this->kind = $kind; |
|
929 | 929 | } |
930 | 930 | public function getKind() |
931 | 931 | { |
932 | - return $this->kind; |
|
932 | + return $this->kind; |
|
933 | 933 | } |
934 | 934 | public function setNextPageToken($nextPageToken) |
935 | 935 | { |
936 | - $this->nextPageToken = $nextPageToken; |
|
936 | + $this->nextPageToken = $nextPageToken; |
|
937 | 937 | } |
938 | 938 | public function getNextPageToken() |
939 | 939 | { |
940 | - return $this->nextPageToken; |
|
940 | + return $this->nextPageToken; |
|
941 | 941 | } |
942 | 942 | public function setSelfLink($selfLink) |
943 | 943 | { |
944 | - $this->selfLink = $selfLink; |
|
944 | + $this->selfLink = $selfLink; |
|
945 | 945 | } |
946 | 946 | public function getSelfLink() |
947 | 947 | { |
948 | - return $this->selfLink; |
|
948 | + return $this->selfLink; |
|
949 | 949 | } |
950 | 950 | } |
951 | 951 | |
@@ -962,27 +962,27 @@ discard block |
||
962 | 962 | |
963 | 963 | public function setCode($code) |
964 | 964 | { |
965 | - $this->code = $code; |
|
965 | + $this->code = $code; |
|
966 | 966 | } |
967 | 967 | public function getCode() |
968 | 968 | { |
969 | - return $this->code; |
|
969 | + return $this->code; |
|
970 | 970 | } |
971 | 971 | public function setData($data) |
972 | 972 | { |
973 | - $this->data = $data; |
|
973 | + $this->data = $data; |
|
974 | 974 | } |
975 | 975 | public function getData() |
976 | 976 | { |
977 | - return $this->data; |
|
977 | + return $this->data; |
|
978 | 978 | } |
979 | 979 | public function setMessage($message) |
980 | 980 | { |
981 | - $this->message = $message; |
|
981 | + $this->message = $message; |
|
982 | 982 | } |
983 | 983 | public function getMessage() |
984 | 984 | { |
985 | - return $this->message; |
|
985 | + return $this->message; |
|
986 | 986 | } |
987 | 987 | } |
988 | 988 | |
@@ -996,19 +996,19 @@ discard block |
||
996 | 996 | |
997 | 997 | public function setKey($key) |
998 | 998 | { |
999 | - $this->key = $key; |
|
999 | + $this->key = $key; |
|
1000 | 1000 | } |
1001 | 1001 | public function getKey() |
1002 | 1002 | { |
1003 | - return $this->key; |
|
1003 | + return $this->key; |
|
1004 | 1004 | } |
1005 | 1005 | public function setValue($value) |
1006 | 1006 | { |
1007 | - $this->value = $value; |
|
1007 | + $this->value = $value; |
|
1008 | 1008 | } |
1009 | 1009 | public function getValue() |
1010 | 1010 | { |
1011 | - return $this->value; |
|
1011 | + return $this->value; |
|
1012 | 1012 | } |
1013 | 1013 | } |
1014 | 1014 | |
@@ -1035,99 +1035,99 @@ discard block |
||
1035 | 1035 | |
1036 | 1036 | public function setCreationTimestamp($creationTimestamp) |
1037 | 1037 | { |
1038 | - $this->creationTimestamp = $creationTimestamp; |
|
1038 | + $this->creationTimestamp = $creationTimestamp; |
|
1039 | 1039 | } |
1040 | 1040 | public function getCreationTimestamp() |
1041 | 1041 | { |
1042 | - return $this->creationTimestamp; |
|
1042 | + return $this->creationTimestamp; |
|
1043 | 1043 | } |
1044 | 1044 | public function setDescription($description) |
1045 | 1045 | { |
1046 | - $this->description = $description; |
|
1046 | + $this->description = $description; |
|
1047 | 1047 | } |
1048 | 1048 | public function getDescription() |
1049 | 1049 | { |
1050 | - return $this->description; |
|
1050 | + return $this->description; |
|
1051 | 1051 | } |
1052 | 1052 | public function setEndpoints($endpoints) |
1053 | 1053 | { |
1054 | - $this->endpoints = $endpoints; |
|
1054 | + $this->endpoints = $endpoints; |
|
1055 | 1055 | } |
1056 | 1056 | public function getEndpoints() |
1057 | 1057 | { |
1058 | - return $this->endpoints; |
|
1058 | + return $this->endpoints; |
|
1059 | 1059 | } |
1060 | 1060 | public function setFingerprint($fingerprint) |
1061 | 1061 | { |
1062 | - $this->fingerprint = $fingerprint; |
|
1062 | + $this->fingerprint = $fingerprint; |
|
1063 | 1063 | } |
1064 | 1064 | public function getFingerprint() |
1065 | 1065 | { |
1066 | - return $this->fingerprint; |
|
1066 | + return $this->fingerprint; |
|
1067 | 1067 | } |
1068 | 1068 | public function setId($id) |
1069 | 1069 | { |
1070 | - $this->id = $id; |
|
1070 | + $this->id = $id; |
|
1071 | 1071 | } |
1072 | 1072 | public function getId() |
1073 | 1073 | { |
1074 | - return $this->id; |
|
1074 | + return $this->id; |
|
1075 | 1075 | } |
1076 | 1076 | public function setKind($kind) |
1077 | 1077 | { |
1078 | - $this->kind = $kind; |
|
1078 | + $this->kind = $kind; |
|
1079 | 1079 | } |
1080 | 1080 | public function getKind() |
1081 | 1081 | { |
1082 | - return $this->kind; |
|
1082 | + return $this->kind; |
|
1083 | 1083 | } |
1084 | 1084 | public function setLabels($labels) |
1085 | 1085 | { |
1086 | - $this->labels = $labels; |
|
1086 | + $this->labels = $labels; |
|
1087 | 1087 | } |
1088 | 1088 | public function getLabels() |
1089 | 1089 | { |
1090 | - return $this->labels; |
|
1090 | + return $this->labels; |
|
1091 | 1091 | } |
1092 | 1092 | public function setName($name) |
1093 | 1093 | { |
1094 | - $this->name = $name; |
|
1094 | + $this->name = $name; |
|
1095 | 1095 | } |
1096 | 1096 | public function getName() |
1097 | 1097 | { |
1098 | - return $this->name; |
|
1098 | + return $this->name; |
|
1099 | 1099 | } |
1100 | 1100 | public function setNetwork($network) |
1101 | 1101 | { |
1102 | - $this->network = $network; |
|
1102 | + $this->network = $network; |
|
1103 | 1103 | } |
1104 | 1104 | public function getNetwork() |
1105 | 1105 | { |
1106 | - return $this->network; |
|
1106 | + return $this->network; |
|
1107 | 1107 | } |
1108 | 1108 | public function setResources($resources) |
1109 | 1109 | { |
1110 | - $this->resources = $resources; |
|
1110 | + $this->resources = $resources; |
|
1111 | 1111 | } |
1112 | 1112 | public function getResources() |
1113 | 1113 | { |
1114 | - return $this->resources; |
|
1114 | + return $this->resources; |
|
1115 | 1115 | } |
1116 | 1116 | public function setSelfLink($selfLink) |
1117 | 1117 | { |
1118 | - $this->selfLink = $selfLink; |
|
1118 | + $this->selfLink = $selfLink; |
|
1119 | 1119 | } |
1120 | 1120 | public function getSelfLink() |
1121 | 1121 | { |
1122 | - return $this->selfLink; |
|
1122 | + return $this->selfLink; |
|
1123 | 1123 | } |
1124 | 1124 | public function setSize($size) |
1125 | 1125 | { |
1126 | - $this->size = $size; |
|
1126 | + $this->size = $size; |
|
1127 | 1127 | } |
1128 | 1128 | public function getSize() |
1129 | 1129 | { |
1130 | - return $this->size; |
|
1130 | + return $this->size; |
|
1131 | 1131 | } |
1132 | 1132 | } |
1133 | 1133 | |
@@ -1141,19 +1141,19 @@ discard block |
||
1141 | 1141 | |
1142 | 1142 | public function setName($name) |
1143 | 1143 | { |
1144 | - $this->name = $name; |
|
1144 | + $this->name = $name; |
|
1145 | 1145 | } |
1146 | 1146 | public function getName() |
1147 | 1147 | { |
1148 | - return $this->name; |
|
1148 | + return $this->name; |
|
1149 | 1149 | } |
1150 | 1150 | public function setPort($port) |
1151 | 1151 | { |
1152 | - $this->port = $port; |
|
1152 | + $this->port = $port; |
|
1153 | 1153 | } |
1154 | 1154 | public function getPort() |
1155 | 1155 | { |
1156 | - return $this->port; |
|
1156 | + return $this->port; |
|
1157 | 1157 | } |
1158 | 1158 | } |
1159 | 1159 | |
@@ -1167,11 +1167,11 @@ discard block |
||
1167 | 1167 | |
1168 | 1168 | public function setResources($resources) |
1169 | 1169 | { |
1170 | - $this->resources = $resources; |
|
1170 | + $this->resources = $resources; |
|
1171 | 1171 | } |
1172 | 1172 | public function getResources() |
1173 | 1173 | { |
1174 | - return $this->resources; |
|
1174 | + return $this->resources; |
|
1175 | 1175 | } |
1176 | 1176 | } |
1177 | 1177 | |
@@ -1187,19 +1187,19 @@ discard block |
||
1187 | 1187 | |
1188 | 1188 | public function setEndpoints($endpoints) |
1189 | 1189 | { |
1190 | - $this->endpoints = $endpoints; |
|
1190 | + $this->endpoints = $endpoints; |
|
1191 | 1191 | } |
1192 | 1192 | public function getEndpoints() |
1193 | 1193 | { |
1194 | - return $this->endpoints; |
|
1194 | + return $this->endpoints; |
|
1195 | 1195 | } |
1196 | 1196 | public function setFingerprint($fingerprint) |
1197 | 1197 | { |
1198 | - $this->fingerprint = $fingerprint; |
|
1198 | + $this->fingerprint = $fingerprint; |
|
1199 | 1199 | } |
1200 | 1200 | public function getFingerprint() |
1201 | 1201 | { |
1202 | - return $this->fingerprint; |
|
1202 | + return $this->fingerprint; |
|
1203 | 1203 | } |
1204 | 1204 | } |
1205 | 1205 | |
@@ -1217,35 +1217,35 @@ discard block |
||
1217 | 1217 | |
1218 | 1218 | public function setItems($items) |
1219 | 1219 | { |
1220 | - $this->items = $items; |
|
1220 | + $this->items = $items; |
|
1221 | 1221 | } |
1222 | 1222 | public function getItems() |
1223 | 1223 | { |
1224 | - return $this->items; |
|
1224 | + return $this->items; |
|
1225 | 1225 | } |
1226 | 1226 | public function setKind($kind) |
1227 | 1227 | { |
1228 | - $this->kind = $kind; |
|
1228 | + $this->kind = $kind; |
|
1229 | 1229 | } |
1230 | 1230 | public function getKind() |
1231 | 1231 | { |
1232 | - return $this->kind; |
|
1232 | + return $this->kind; |
|
1233 | 1233 | } |
1234 | 1234 | public function setNextPageToken($nextPageToken) |
1235 | 1235 | { |
1236 | - $this->nextPageToken = $nextPageToken; |
|
1236 | + $this->nextPageToken = $nextPageToken; |
|
1237 | 1237 | } |
1238 | 1238 | public function getNextPageToken() |
1239 | 1239 | { |
1240 | - return $this->nextPageToken; |
|
1240 | + return $this->nextPageToken; |
|
1241 | 1241 | } |
1242 | 1242 | public function setSelfLink($selfLink) |
1243 | 1243 | { |
1244 | - $this->selfLink = $selfLink; |
|
1244 | + $this->selfLink = $selfLink; |
|
1245 | 1245 | } |
1246 | 1246 | public function getSelfLink() |
1247 | 1247 | { |
1248 | - return $this->selfLink; |
|
1248 | + return $this->selfLink; |
|
1249 | 1249 | } |
1250 | 1250 | } |
1251 | 1251 | |
@@ -1262,27 +1262,27 @@ discard block |
||
1262 | 1262 | |
1263 | 1263 | public function setItems($items) |
1264 | 1264 | { |
1265 | - $this->items = $items; |
|
1265 | + $this->items = $items; |
|
1266 | 1266 | } |
1267 | 1267 | public function getItems() |
1268 | 1268 | { |
1269 | - return $this->items; |
|
1269 | + return $this->items; |
|
1270 | 1270 | } |
1271 | 1271 | public function setNetwork($network) |
1272 | 1272 | { |
1273 | - $this->network = $network; |
|
1273 | + $this->network = $network; |
|
1274 | 1274 | } |
1275 | 1275 | public function getNetwork() |
1276 | 1276 | { |
1277 | - return $this->network; |
|
1277 | + return $this->network; |
|
1278 | 1278 | } |
1279 | 1279 | public function setNextPageToken($nextPageToken) |
1280 | 1280 | { |
1281 | - $this->nextPageToken = $nextPageToken; |
|
1281 | + $this->nextPageToken = $nextPageToken; |
|
1282 | 1282 | } |
1283 | 1283 | public function getNextPageToken() |
1284 | 1284 | { |
1285 | - return $this->nextPageToken; |
|
1285 | + return $this->nextPageToken; |
|
1286 | 1286 | } |
1287 | 1287 | } |
1288 | 1288 | |
@@ -1296,11 +1296,11 @@ discard block |
||
1296 | 1296 | |
1297 | 1297 | public function setResources($resources) |
1298 | 1298 | { |
1299 | - $this->resources = $resources; |
|
1299 | + $this->resources = $resources; |
|
1300 | 1300 | } |
1301 | 1301 | public function getResources() |
1302 | 1302 | { |
1303 | - return $this->resources; |
|
1303 | + return $this->resources; |
|
1304 | 1304 | } |
1305 | 1305 | } |
1306 | 1306 | |
@@ -1317,26 +1317,26 @@ discard block |
||
1317 | 1317 | |
1318 | 1318 | public function setEndpoints($endpoints) |
1319 | 1319 | { |
1320 | - $this->endpoints = $endpoints; |
|
1320 | + $this->endpoints = $endpoints; |
|
1321 | 1321 | } |
1322 | 1322 | public function getEndpoints() |
1323 | 1323 | { |
1324 | - return $this->endpoints; |
|
1324 | + return $this->endpoints; |
|
1325 | 1325 | } |
1326 | 1326 | public function setFingerprint($fingerprint) |
1327 | 1327 | { |
1328 | - $this->fingerprint = $fingerprint; |
|
1328 | + $this->fingerprint = $fingerprint; |
|
1329 | 1329 | } |
1330 | 1330 | public function getFingerprint() |
1331 | 1331 | { |
1332 | - return $this->fingerprint; |
|
1332 | + return $this->fingerprint; |
|
1333 | 1333 | } |
1334 | 1334 | public function setResourceName($resourceName) |
1335 | 1335 | { |
1336 | - $this->resourceName = $resourceName; |
|
1336 | + $this->resourceName = $resourceName; |
|
1337 | 1337 | } |
1338 | 1338 | public function getResourceName() |
1339 | 1339 | { |
1340 | - return $this->resourceName; |
|
1340 | + return $this->resourceName; |
|
1341 | 1341 | } |
1342 | 1342 | } |
@@ -90,7 +90,7 @@ discard block |
||
90 | 90 | 'required' => true, |
91 | 91 | ), |
92 | 92 | ), |
93 | - ),'list' => array( |
|
93 | + ), 'list' => array( |
|
94 | 94 | 'path' => '{project}/zones/{zone}/operations', |
95 | 95 | 'httpMethod' => 'GET', |
96 | 96 | 'parameters' => array( |
@@ -147,7 +147,7 @@ discard block |
||
147 | 147 | 'required' => true, |
148 | 148 | ), |
149 | 149 | ), |
150 | - ),'delete' => array( |
|
150 | + ), 'delete' => array( |
|
151 | 151 | 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}', |
152 | 152 | 'httpMethod' => 'DELETE', |
153 | 153 | 'parameters' => array( |
@@ -167,7 +167,7 @@ discard block |
||
167 | 167 | 'required' => true, |
168 | 168 | ), |
169 | 169 | ), |
170 | - ),'get' => array( |
|
170 | + ), 'get' => array( |
|
171 | 171 | 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}', |
172 | 172 | 'httpMethod' => 'GET', |
173 | 173 | 'parameters' => array( |
@@ -187,7 +187,7 @@ discard block |
||
187 | 187 | 'required' => true, |
188 | 188 | ), |
189 | 189 | ), |
190 | - ),'getService' => array( |
|
190 | + ), 'getService' => array( |
|
191 | 191 | 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}/getService', |
192 | 192 | 'httpMethod' => 'POST', |
193 | 193 | 'parameters' => array( |
@@ -211,7 +211,7 @@ discard block |
||
211 | 211 | 'type' => 'string', |
212 | 212 | ), |
213 | 213 | ), |
214 | - ),'insert' => array( |
|
214 | + ), 'insert' => array( |
|
215 | 215 | 'path' => '{project}/zones/{zone}/resourceViews', |
216 | 216 | 'httpMethod' => 'POST', |
217 | 217 | 'parameters' => array( |
@@ -226,7 +226,7 @@ discard block |
||
226 | 226 | 'required' => true, |
227 | 227 | ), |
228 | 228 | ), |
229 | - ),'list' => array( |
|
229 | + ), 'list' => array( |
|
230 | 230 | 'path' => '{project}/zones/{zone}/resourceViews', |
231 | 231 | 'httpMethod' => 'GET', |
232 | 232 | 'parameters' => array( |
@@ -249,7 +249,7 @@ discard block |
||
249 | 249 | 'type' => 'integer', |
250 | 250 | ), |
251 | 251 | ), |
252 | - ),'listResources' => array( |
|
252 | + ), 'listResources' => array( |
|
253 | 253 | 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}/resources', |
254 | 254 | 'httpMethod' => 'GET', |
255 | 255 | 'parameters' => array( |
@@ -289,7 +289,7 @@ discard block |
||
289 | 289 | 'type' => 'string', |
290 | 290 | ), |
291 | 291 | ), |
292 | - ),'removeResources' => array( |
|
292 | + ), 'removeResources' => array( |
|
293 | 293 | 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}/removeResources', |
294 | 294 | 'httpMethod' => 'POST', |
295 | 295 | 'parameters' => array( |
@@ -309,7 +309,7 @@ discard block |
||
309 | 309 | 'required' => true, |
310 | 310 | ), |
311 | 311 | ), |
312 | - ),'setService' => array( |
|
312 | + ), 'setService' => array( |
|
313 | 313 | 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}/setService', |
314 | 314 | 'httpMethod' => 'POST', |
315 | 315 | 'parameters' => array( |
@@ -125,7 +125,7 @@ |
||
125 | 125 | * @param string $scriptId The project key of the script to be executed. To find |
126 | 126 | * the project key, open the project in the script editor, then select **File > |
127 | 127 | * Project properties**. |
128 | - * @param Google_ExecutionRequest $postBody |
|
128 | + * @param Google_Service_Script_ExecutionRequest $postBody |
|
129 | 129 | * @param array $optParams Optional parameters. |
130 | 130 | * @return Google_Service_Script_Operation |
131 | 131 | */ |
@@ -32,34 +32,34 @@ discard block |
||
32 | 32 | { |
33 | 33 | /** View and manage your mail. */ |
34 | 34 | const MAIL_GOOGLE_COM = |
35 | - "https://mail.google.com/"; |
|
35 | + "https://mail.google.com/"; |
|
36 | 36 | /** Manage your calendars. */ |
37 | 37 | const WWW_GOOGLE_COM_CALENDAR_FEEDS = |
38 | - "https://www.google.com/calendar/feeds"; |
|
38 | + "https://www.google.com/calendar/feeds"; |
|
39 | 39 | /** Manage your contacts. */ |
40 | 40 | const WWW_GOOGLE_COM_M8_FEEDS = |
41 | - "https://www.google.com/m8/feeds"; |
|
41 | + "https://www.google.com/m8/feeds"; |
|
42 | 42 | /** View and manage the provisioning of groups on your domain. */ |
43 | 43 | const ADMIN_DIRECTORY_GROUP = |
44 | - "https://www.googleapis.com/auth/admin.directory.group"; |
|
44 | + "https://www.googleapis.com/auth/admin.directory.group"; |
|
45 | 45 | /** View and manage the provisioning of users on your domain. */ |
46 | 46 | const ADMIN_DIRECTORY_USER = |
47 | - "https://www.googleapis.com/auth/admin.directory.user"; |
|
47 | + "https://www.googleapis.com/auth/admin.directory.user"; |
|
48 | 48 | /** View and manage the files in your Google Drive. */ |
49 | 49 | const DRIVE = |
50 | - "https://www.googleapis.com/auth/drive"; |
|
50 | + "https://www.googleapis.com/auth/drive"; |
|
51 | 51 | /** View and manage your forms in Google Drive. */ |
52 | 52 | const FORMS = |
53 | - "https://www.googleapis.com/auth/forms"; |
|
53 | + "https://www.googleapis.com/auth/forms"; |
|
54 | 54 | /** View and manage forms that this application has been installed in. */ |
55 | 55 | const FORMS_CURRENTONLY = |
56 | - "https://www.googleapis.com/auth/forms.currentonly"; |
|
56 | + "https://www.googleapis.com/auth/forms.currentonly"; |
|
57 | 57 | /** View and manage your Google Groups. */ |
58 | 58 | const GROUPS = |
59 | - "https://www.googleapis.com/auth/groups"; |
|
59 | + "https://www.googleapis.com/auth/groups"; |
|
60 | 60 | /** View your email address. */ |
61 | 61 | const USERINFO_EMAIL = |
62 | - "https://www.googleapis.com/auth/userinfo.email"; |
|
62 | + "https://www.googleapis.com/auth/userinfo.email"; |
|
63 | 63 | |
64 | 64 | public $scripts; |
65 | 65 | |
@@ -71,32 +71,32 @@ discard block |
||
71 | 71 | */ |
72 | 72 | public function __construct(Google_Client $client) |
73 | 73 | { |
74 | - parent::__construct($client); |
|
75 | - $this->rootUrl = 'https://script.googleapis.com/'; |
|
76 | - $this->servicePath = ''; |
|
77 | - $this->version = 'v1'; |
|
78 | - $this->serviceName = 'script'; |
|
74 | + parent::__construct($client); |
|
75 | + $this->rootUrl = 'https://script.googleapis.com/'; |
|
76 | + $this->servicePath = ''; |
|
77 | + $this->version = 'v1'; |
|
78 | + $this->serviceName = 'script'; |
|
79 | 79 | |
80 | - $this->scripts = new Google_Service_Script_Scripts_Resource( |
|
81 | - $this, |
|
82 | - $this->serviceName, |
|
83 | - 'scripts', |
|
84 | - array( |
|
85 | - 'methods' => array( |
|
86 | - 'run' => array( |
|
87 | - 'path' => 'v1/scripts/{scriptId}:run', |
|
88 | - 'httpMethod' => 'POST', |
|
89 | - 'parameters' => array( |
|
90 | - 'scriptId' => array( |
|
91 | - 'location' => 'path', |
|
92 | - 'type' => 'string', |
|
93 | - 'required' => true, |
|
94 | - ), |
|
95 | - ), |
|
96 | - ), |
|
97 | - ) |
|
98 | - ) |
|
99 | - ); |
|
80 | + $this->scripts = new Google_Service_Script_Scripts_Resource( |
|
81 | + $this, |
|
82 | + $this->serviceName, |
|
83 | + 'scripts', |
|
84 | + array( |
|
85 | + 'methods' => array( |
|
86 | + 'run' => array( |
|
87 | + 'path' => 'v1/scripts/{scriptId}:run', |
|
88 | + 'httpMethod' => 'POST', |
|
89 | + 'parameters' => array( |
|
90 | + 'scriptId' => array( |
|
91 | + 'location' => 'path', |
|
92 | + 'type' => 'string', |
|
93 | + 'required' => true, |
|
94 | + ), |
|
95 | + ), |
|
96 | + ), |
|
97 | + ) |
|
98 | + ) |
|
99 | + ); |
|
100 | 100 | } |
101 | 101 | } |
102 | 102 | |
@@ -131,9 +131,9 @@ discard block |
||
131 | 131 | */ |
132 | 132 | public function run($scriptId, Google_Service_Script_ExecutionRequest $postBody, $optParams = array()) |
133 | 133 | { |
134 | - $params = array('scriptId' => $scriptId, 'postBody' => $postBody); |
|
135 | - $params = array_merge($params, $optParams); |
|
136 | - return $this->call('run', array($params), "Google_Service_Script_Operation"); |
|
134 | + $params = array('scriptId' => $scriptId, 'postBody' => $postBody); |
|
135 | + $params = array_merge($params, $optParams); |
|
136 | + return $this->call('run', array($params), "Google_Service_Script_Operation"); |
|
137 | 137 | } |
138 | 138 | } |
139 | 139 | |
@@ -153,27 +153,27 @@ discard block |
||
153 | 153 | |
154 | 154 | public function setErrorMessage($errorMessage) |
155 | 155 | { |
156 | - $this->errorMessage = $errorMessage; |
|
156 | + $this->errorMessage = $errorMessage; |
|
157 | 157 | } |
158 | 158 | public function getErrorMessage() |
159 | 159 | { |
160 | - return $this->errorMessage; |
|
160 | + return $this->errorMessage; |
|
161 | 161 | } |
162 | 162 | public function setErrorType($errorType) |
163 | 163 | { |
164 | - $this->errorType = $errorType; |
|
164 | + $this->errorType = $errorType; |
|
165 | 165 | } |
166 | 166 | public function getErrorType() |
167 | 167 | { |
168 | - return $this->errorType; |
|
168 | + return $this->errorType; |
|
169 | 169 | } |
170 | 170 | public function setScriptStackTraceElements($scriptStackTraceElements) |
171 | 171 | { |
172 | - $this->scriptStackTraceElements = $scriptStackTraceElements; |
|
172 | + $this->scriptStackTraceElements = $scriptStackTraceElements; |
|
173 | 173 | } |
174 | 174 | public function getScriptStackTraceElements() |
175 | 175 | { |
176 | - return $this->scriptStackTraceElements; |
|
176 | + return $this->scriptStackTraceElements; |
|
177 | 177 | } |
178 | 178 | } |
179 | 179 | |
@@ -190,35 +190,35 @@ discard block |
||
190 | 190 | |
191 | 191 | public function setDevMode($devMode) |
192 | 192 | { |
193 | - $this->devMode = $devMode; |
|
193 | + $this->devMode = $devMode; |
|
194 | 194 | } |
195 | 195 | public function getDevMode() |
196 | 196 | { |
197 | - return $this->devMode; |
|
197 | + return $this->devMode; |
|
198 | 198 | } |
199 | 199 | public function setFunction($function) |
200 | 200 | { |
201 | - $this->function = $function; |
|
201 | + $this->function = $function; |
|
202 | 202 | } |
203 | 203 | public function getFunction() |
204 | 204 | { |
205 | - return $this->function; |
|
205 | + return $this->function; |
|
206 | 206 | } |
207 | 207 | public function setParameters($parameters) |
208 | 208 | { |
209 | - $this->parameters = $parameters; |
|
209 | + $this->parameters = $parameters; |
|
210 | 210 | } |
211 | 211 | public function getParameters() |
212 | 212 | { |
213 | - return $this->parameters; |
|
213 | + return $this->parameters; |
|
214 | 214 | } |
215 | 215 | public function setSessionState($sessionState) |
216 | 216 | { |
217 | - $this->sessionState = $sessionState; |
|
217 | + $this->sessionState = $sessionState; |
|
218 | 218 | } |
219 | 219 | public function getSessionState() |
220 | 220 | { |
221 | - return $this->sessionState; |
|
221 | + return $this->sessionState; |
|
222 | 222 | } |
223 | 223 | } |
224 | 224 | |
@@ -231,11 +231,11 @@ discard block |
||
231 | 231 | |
232 | 232 | public function setResult($result) |
233 | 233 | { |
234 | - $this->result = $result; |
|
234 | + $this->result = $result; |
|
235 | 235 | } |
236 | 236 | public function getResult() |
237 | 237 | { |
238 | - return $this->result; |
|
238 | + return $this->result; |
|
239 | 239 | } |
240 | 240 | } |
241 | 241 | |
@@ -253,43 +253,43 @@ discard block |
||
253 | 253 | |
254 | 254 | public function setDone($done) |
255 | 255 | { |
256 | - $this->done = $done; |
|
256 | + $this->done = $done; |
|
257 | 257 | } |
258 | 258 | public function getDone() |
259 | 259 | { |
260 | - return $this->done; |
|
260 | + return $this->done; |
|
261 | 261 | } |
262 | 262 | public function setError(Google_Service_Script_Status $error) |
263 | 263 | { |
264 | - $this->error = $error; |
|
264 | + $this->error = $error; |
|
265 | 265 | } |
266 | 266 | public function getError() |
267 | 267 | { |
268 | - return $this->error; |
|
268 | + return $this->error; |
|
269 | 269 | } |
270 | 270 | public function setMetadata($metadata) |
271 | 271 | { |
272 | - $this->metadata = $metadata; |
|
272 | + $this->metadata = $metadata; |
|
273 | 273 | } |
274 | 274 | public function getMetadata() |
275 | 275 | { |
276 | - return $this->metadata; |
|
276 | + return $this->metadata; |
|
277 | 277 | } |
278 | 278 | public function setName($name) |
279 | 279 | { |
280 | - $this->name = $name; |
|
280 | + $this->name = $name; |
|
281 | 281 | } |
282 | 282 | public function getName() |
283 | 283 | { |
284 | - return $this->name; |
|
284 | + return $this->name; |
|
285 | 285 | } |
286 | 286 | public function setResponse($response) |
287 | 287 | { |
288 | - $this->response = $response; |
|
288 | + $this->response = $response; |
|
289 | 289 | } |
290 | 290 | public function getResponse() |
291 | 291 | { |
292 | - return $this->response; |
|
292 | + return $this->response; |
|
293 | 293 | } |
294 | 294 | } |
295 | 295 | |
@@ -311,19 +311,19 @@ discard block |
||
311 | 311 | |
312 | 312 | public function setFunction($function) |
313 | 313 | { |
314 | - $this->function = $function; |
|
314 | + $this->function = $function; |
|
315 | 315 | } |
316 | 316 | public function getFunction() |
317 | 317 | { |
318 | - return $this->function; |
|
318 | + return $this->function; |
|
319 | 319 | } |
320 | 320 | public function setLineNumber($lineNumber) |
321 | 321 | { |
322 | - $this->lineNumber = $lineNumber; |
|
322 | + $this->lineNumber = $lineNumber; |
|
323 | 323 | } |
324 | 324 | public function getLineNumber() |
325 | 325 | { |
326 | - return $this->lineNumber; |
|
326 | + return $this->lineNumber; |
|
327 | 327 | } |
328 | 328 | } |
329 | 329 | |
@@ -339,27 +339,27 @@ discard block |
||
339 | 339 | |
340 | 340 | public function setCode($code) |
341 | 341 | { |
342 | - $this->code = $code; |
|
342 | + $this->code = $code; |
|
343 | 343 | } |
344 | 344 | public function getCode() |
345 | 345 | { |
346 | - return $this->code; |
|
346 | + return $this->code; |
|
347 | 347 | } |
348 | 348 | public function setDetails($details) |
349 | 349 | { |
350 | - $this->details = $details; |
|
350 | + $this->details = $details; |
|
351 | 351 | } |
352 | 352 | public function getDetails() |
353 | 353 | { |
354 | - return $this->details; |
|
354 | + return $this->details; |
|
355 | 355 | } |
356 | 356 | public function setMessage($message) |
357 | 357 | { |
358 | - $this->message = $message; |
|
358 | + $this->message = $message; |
|
359 | 359 | } |
360 | 360 | public function getMessage() |
361 | 361 | { |
362 | - return $this->message; |
|
362 | + return $this->message; |
|
363 | 363 | } |
364 | 364 | } |
365 | 365 |