Skip to content

Commit 94efcef

Browse files
1 parent c80ff44 commit 94efcef

21 files changed

Lines changed: 1788 additions & 1 deletion

src/Apigee.php

Lines changed: 201 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ class Apigee extends \Google\Service
4545
public $hybrid_issuers;
4646
public $organizations;
4747
public $organizations_analytics_datastores;
48+
public $organizations_apimServiceExtensions;
4849
public $organizations_apiproducts;
4950
public $organizations_apiproducts_attributes;
5051
public $organizations_apiproducts_rateplans;
@@ -59,6 +60,8 @@ class Apigee extends \Google\Service
5960
public $organizations_appgroups_apps;
6061
public $organizations_appgroups_apps_keys;
6162
public $organizations_appgroups_apps_keys_apiproducts;
63+
public $organizations_appgroups_balance;
64+
public $organizations_appgroups_subscriptions;
6265
public $organizations_apps;
6366
public $organizations_datacollectors;
6467
public $organizations_deployments;
@@ -419,6 +422,86 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
419422
]
420423
]
421424
);
425+
$this->organizations_apimServiceExtensions = new Apigee\Resource\OrganizationsApimServiceExtensions(
426+
$this,
427+
$this->serviceName,
428+
'apimServiceExtensions',
429+
[
430+
'methods' => [
431+
'create' => [
432+
'path' => 'v1/{+parent}/apimServiceExtensions',
433+
'httpMethod' => 'POST',
434+
'parameters' => [
435+
'parent' => [
436+
'location' => 'path',
437+
'type' => 'string',
438+
'required' => true,
439+
],
440+
'apimServiceExtensionId' => [
441+
'location' => 'query',
442+
'type' => 'string',
443+
],
444+
],
445+
],'delete' => [
446+
'path' => 'v1/{+name}',
447+
'httpMethod' => 'DELETE',
448+
'parameters' => [
449+
'name' => [
450+
'location' => 'path',
451+
'type' => 'string',
452+
'required' => true,
453+
],
454+
],
455+
],'get' => [
456+
'path' => 'v1/{+name}',
457+
'httpMethod' => 'GET',
458+
'parameters' => [
459+
'name' => [
460+
'location' => 'path',
461+
'type' => 'string',
462+
'required' => true,
463+
],
464+
],
465+
],'list' => [
466+
'path' => 'v1/{+parent}/apimServiceExtensions',
467+
'httpMethod' => 'GET',
468+
'parameters' => [
469+
'parent' => [
470+
'location' => 'path',
471+
'type' => 'string',
472+
'required' => true,
473+
],
474+
'pageSize' => [
475+
'location' => 'query',
476+
'type' => 'integer',
477+
],
478+
'pageToken' => [
479+
'location' => 'query',
480+
'type' => 'string',
481+
],
482+
],
483+
],'patch' => [
484+
'path' => 'v1/{+name}',
485+
'httpMethod' => 'PATCH',
486+
'parameters' => [
487+
'name' => [
488+
'location' => 'path',
489+
'type' => 'string',
490+
'required' => true,
491+
],
492+
'allowMissing' => [
493+
'location' => 'query',
494+
'type' => 'boolean',
495+
],
496+
'updateMask' => [
497+
'location' => 'query',
498+
'type' => 'string',
499+
],
500+
],
501+
],
502+
]
503+
]
504+
);
422505
$this->organizations_apiproducts = new Apigee\Resource\OrganizationsApiproducts(
423506
$this,
424507
$this->serviceName,
@@ -1025,6 +1108,26 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
10251108
'required' => true,
10261109
],
10271110
],
1111+
],'getBalance' => [
1112+
'path' => 'v1/{+name}',
1113+
'httpMethod' => 'GET',
1114+
'parameters' => [
1115+
'name' => [
1116+
'location' => 'path',
1117+
'type' => 'string',
1118+
'required' => true,
1119+
],
1120+
],
1121+
],'getMonetizationConfig' => [
1122+
'path' => 'v1/{+name}',
1123+
'httpMethod' => 'GET',
1124+
'parameters' => [
1125+
'name' => [
1126+
'location' => 'path',
1127+
'type' => 'string',
1128+
'required' => true,
1129+
],
1130+
],
10281131
],'list' => [
10291132
'path' => 'v1/{+parent}/appgroups',
10301133
'httpMethod' => 'GET',
@@ -1061,6 +1164,16 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
10611164
'type' => 'string',
10621165
],
10631166
],
1167+
],'updateMonetizationConfig' => [
1168+
'path' => 'v1/{+name}',
1169+
'httpMethod' => 'PUT',
1170+
'parameters' => [
1171+
'name' => [
1172+
'location' => 'path',
1173+
'type' => 'string',
1174+
'required' => true,
1175+
],
1176+
],
10641177
],
10651178
]
10661179
]
@@ -1221,6 +1334,94 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
12211334
]
12221335
]
12231336
);
1337+
$this->organizations_appgroups_balance = new Apigee\Resource\OrganizationsAppgroupsBalance(
1338+
$this,
1339+
$this->serviceName,
1340+
'balance',
1341+
[
1342+
'methods' => [
1343+
'adjust' => [
1344+
'path' => 'v1/{+name}:adjust',
1345+
'httpMethod' => 'POST',
1346+
'parameters' => [
1347+
'name' => [
1348+
'location' => 'path',
1349+
'type' => 'string',
1350+
'required' => true,
1351+
],
1352+
],
1353+
],'credit' => [
1354+
'path' => 'v1/{+name}:credit',
1355+
'httpMethod' => 'POST',
1356+
'parameters' => [
1357+
'name' => [
1358+
'location' => 'path',
1359+
'type' => 'string',
1360+
'required' => true,
1361+
],
1362+
],
1363+
],
1364+
]
1365+
]
1366+
);
1367+
$this->organizations_appgroups_subscriptions = new Apigee\Resource\OrganizationsAppgroupsSubscriptions(
1368+
$this,
1369+
$this->serviceName,
1370+
'subscriptions',
1371+
[
1372+
'methods' => [
1373+
'create' => [
1374+
'path' => 'v1/{+parent}/subscriptions',
1375+
'httpMethod' => 'POST',
1376+
'parameters' => [
1377+
'parent' => [
1378+
'location' => 'path',
1379+
'type' => 'string',
1380+
'required' => true,
1381+
],
1382+
],
1383+
],'expire' => [
1384+
'path' => 'v1/{+name}:expire',
1385+
'httpMethod' => 'POST',
1386+
'parameters' => [
1387+
'name' => [
1388+
'location' => 'path',
1389+
'type' => 'string',
1390+
'required' => true,
1391+
],
1392+
],
1393+
],'get' => [
1394+
'path' => 'v1/{+name}',
1395+
'httpMethod' => 'GET',
1396+
'parameters' => [
1397+
'name' => [
1398+
'location' => 'path',
1399+
'type' => 'string',
1400+
'required' => true,
1401+
],
1402+
],
1403+
],'list' => [
1404+
'path' => 'v1/{+parent}/subscriptions',
1405+
'httpMethod' => 'GET',
1406+
'parameters' => [
1407+
'parent' => [
1408+
'location' => 'path',
1409+
'type' => 'string',
1410+
'required' => true,
1411+
],
1412+
'pageSize' => [
1413+
'location' => 'query',
1414+
'type' => 'integer',
1415+
],
1416+
'pageToken' => [
1417+
'location' => 'query',
1418+
'type' => 'string',
1419+
],
1420+
],
1421+
],
1422+
]
1423+
]
1424+
);
12241425
$this->organizations_apps = new Apigee\Resource\OrganizationsApps(
12251426
$this,
12261427
$this->serviceName,
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
<?php
2+
/*
3+
* Copyright 2014 Google Inc.
4+
*
5+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
6+
* use this file except in compliance with the License. You may obtain a copy of
7+
* the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14+
* License for the specific language governing permissions and limitations under
15+
* the License.
16+
*/
17+
18+
namespace Google\Service\Apigee;
19+
20+
class GoogleCloudApigeeV1AdjustAppGroupBalanceRequest extends \Google\Model
21+
{
22+
protected $adjustmentType = GoogleTypeMoney::class;
23+
protected $adjustmentDataType = '';
24+
25+
/**
26+
* Required. * A positive value of `adjustment` means that that the API
27+
* provider wants to adjust the balance for an under-charged AppGroup i.e. the
28+
* balance of the AppGroup will decrease. * A negative value of `adjustment`
29+
* is not supported. Use credit balance API instead.
30+
*
31+
* @param GoogleTypeMoney $adjustment
32+
*/
33+
public function setAdjustment(GoogleTypeMoney $adjustment)
34+
{
35+
$this->adjustment = $adjustment;
36+
}
37+
/**
38+
* @return GoogleTypeMoney
39+
*/
40+
public function getAdjustment()
41+
{
42+
return $this->adjustment;
43+
}
44+
}
45+
46+
// Adding a class alias for backwards compatibility with the previous class name.
47+
class_alias(GoogleCloudApigeeV1AdjustAppGroupBalanceRequest::class, 'Google_Service_Apigee_GoogleCloudApigeeV1AdjustAppGroupBalanceRequest');

src/Apigee/GoogleCloudApigeeV1ApiDocDocumentation.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,29 @@
1919

2020
class GoogleCloudApigeeV1ApiDocDocumentation extends \Google\Model
2121
{
22+
protected $asyncApiDocumentationType = GoogleCloudApigeeV1AsyncApiDocumentation::class;
23+
protected $asyncApiDocumentationDataType = '';
2224
protected $graphqlDocumentationType = GoogleCloudApigeeV1GraphqlDocumentation::class;
2325
protected $graphqlDocumentationDataType = '';
2426
protected $oasDocumentationType = GoogleCloudApigeeV1OASDocumentation::class;
2527
protected $oasDocumentationDataType = '';
2628

29+
/**
30+
* Optional. AsyncAPI Specification documentation.
31+
*
32+
* @param GoogleCloudApigeeV1AsyncApiDocumentation $asyncApiDocumentation
33+
*/
34+
public function setAsyncApiDocumentation(GoogleCloudApigeeV1AsyncApiDocumentation $asyncApiDocumentation)
35+
{
36+
$this->asyncApiDocumentation = $asyncApiDocumentation;
37+
}
38+
/**
39+
* @return GoogleCloudApigeeV1AsyncApiDocumentation
40+
*/
41+
public function getAsyncApiDocumentation()
42+
{
43+
return $this->asyncApiDocumentation;
44+
}
2745
/**
2846
* Optional. GraphQL documentation.
2947
*

0 commit comments

Comments
 (0)