Skip to content

Commit 2c22b61

Browse files
Regenerate bigtableadmin client
1 parent c9fa9d7 commit 2c22b61

11 files changed

+607
-6
lines changed

src/BigtableAdmin.php

Lines changed: 183 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,27 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
9999
'operations',
100100
[
101101
'methods' => [
102-
'get' => [
102+
'cancel' => [
103+
'path' => 'v2/{+name}:cancel',
104+
'httpMethod' => 'POST',
105+
'parameters' => [
106+
'name' => [
107+
'location' => 'path',
108+
'type' => 'string',
109+
'required' => true,
110+
],
111+
],
112+
],'delete' => [
113+
'path' => 'v2/{+name}',
114+
'httpMethod' => 'DELETE',
115+
'parameters' => [
116+
'name' => [
117+
'location' => 'path',
118+
'type' => 'string',
119+
'required' => true,
120+
],
121+
],
122+
],'get' => [
103123
'path' => 'v2/{+name}',
104124
'httpMethod' => 'GET',
105125
'parameters' => [
@@ -589,7 +609,45 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
589609
'logicalViews',
590610
[
591611
'methods' => [
592-
'getIamPolicy' => [
612+
'create' => [
613+
'path' => 'v2/{+parent}/logicalViews',
614+
'httpMethod' => 'POST',
615+
'parameters' => [
616+
'parent' => [
617+
'location' => 'path',
618+
'type' => 'string',
619+
'required' => true,
620+
],
621+
'logicalViewId' => [
622+
'location' => 'query',
623+
'type' => 'string',
624+
],
625+
],
626+
],'delete' => [
627+
'path' => 'v2/{+name}',
628+
'httpMethod' => 'DELETE',
629+
'parameters' => [
630+
'name' => [
631+
'location' => 'path',
632+
'type' => 'string',
633+
'required' => true,
634+
],
635+
'etag' => [
636+
'location' => 'query',
637+
'type' => 'string',
638+
],
639+
],
640+
],'get' => [
641+
'path' => 'v2/{+name}',
642+
'httpMethod' => 'GET',
643+
'parameters' => [
644+
'name' => [
645+
'location' => 'path',
646+
'type' => 'string',
647+
'required' => true,
648+
],
649+
],
650+
],'getIamPolicy' => [
593651
'path' => 'v2/{+resource}:getIamPolicy',
594652
'httpMethod' => 'POST',
595653
'parameters' => [
@@ -599,6 +657,38 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
599657
'required' => true,
600658
],
601659
],
660+
],'list' => [
661+
'path' => 'v2/{+parent}/logicalViews',
662+
'httpMethod' => 'GET',
663+
'parameters' => [
664+
'parent' => [
665+
'location' => 'path',
666+
'type' => 'string',
667+
'required' => true,
668+
],
669+
'pageSize' => [
670+
'location' => 'query',
671+
'type' => 'integer',
672+
],
673+
'pageToken' => [
674+
'location' => 'query',
675+
'type' => 'string',
676+
],
677+
],
678+
],'patch' => [
679+
'path' => 'v2/{+name}',
680+
'httpMethod' => 'PATCH',
681+
'parameters' => [
682+
'name' => [
683+
'location' => 'path',
684+
'type' => 'string',
685+
'required' => true,
686+
],
687+
'updateMask' => [
688+
'location' => 'query',
689+
'type' => 'string',
690+
],
691+
],
602692
],'setIamPolicy' => [
603693
'path' => 'v2/{+resource}:setIamPolicy',
604694
'httpMethod' => 'POST',
@@ -629,7 +719,45 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
629719
'materializedViews',
630720
[
631721
'methods' => [
632-
'getIamPolicy' => [
722+
'create' => [
723+
'path' => 'v2/{+parent}/materializedViews',
724+
'httpMethod' => 'POST',
725+
'parameters' => [
726+
'parent' => [
727+
'location' => 'path',
728+
'type' => 'string',
729+
'required' => true,
730+
],
731+
'materializedViewId' => [
732+
'location' => 'query',
733+
'type' => 'string',
734+
],
735+
],
736+
],'delete' => [
737+
'path' => 'v2/{+name}',
738+
'httpMethod' => 'DELETE',
739+
'parameters' => [
740+
'name' => [
741+
'location' => 'path',
742+
'type' => 'string',
743+
'required' => true,
744+
],
745+
'etag' => [
746+
'location' => 'query',
747+
'type' => 'string',
748+
],
749+
],
750+
],'get' => [
751+
'path' => 'v2/{+name}',
752+
'httpMethod' => 'GET',
753+
'parameters' => [
754+
'name' => [
755+
'location' => 'path',
756+
'type' => 'string',
757+
'required' => true,
758+
],
759+
],
760+
],'getIamPolicy' => [
633761
'path' => 'v2/{+resource}:getIamPolicy',
634762
'httpMethod' => 'POST',
635763
'parameters' => [
@@ -639,6 +767,38 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
639767
'required' => true,
640768
],
641769
],
770+
],'list' => [
771+
'path' => 'v2/{+parent}/materializedViews',
772+
'httpMethod' => 'GET',
773+
'parameters' => [
774+
'parent' => [
775+
'location' => 'path',
776+
'type' => 'string',
777+
'required' => true,
778+
],
779+
'pageSize' => [
780+
'location' => 'query',
781+
'type' => 'integer',
782+
],
783+
'pageToken' => [
784+
'location' => 'query',
785+
'type' => 'string',
786+
],
787+
],
788+
],'patch' => [
789+
'path' => 'v2/{+name}',
790+
'httpMethod' => 'PATCH',
791+
'parameters' => [
792+
'name' => [
793+
'location' => 'path',
794+
'type' => 'string',
795+
'required' => true,
796+
],
797+
'updateMask' => [
798+
'location' => 'query',
799+
'type' => 'string',
800+
],
801+
],
642802
],'setIamPolicy' => [
643803
'path' => 'v2/{+resource}:setIamPolicy',
644804
'httpMethod' => 'POST',
@@ -784,6 +944,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
784944
'type' => 'string',
785945
'required' => true,
786946
],
947+
'ignoreWarnings' => [
948+
'location' => 'query',
949+
'type' => 'boolean',
950+
],
787951
'updateMask' => [
788952
'location' => 'query',
789953
'type' => 'string',
@@ -961,7 +1125,17 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
9611125
'locations',
9621126
[
9631127
'methods' => [
964-
'list' => [
1128+
'get' => [
1129+
'path' => 'v2/{+name}',
1130+
'httpMethod' => 'GET',
1131+
'parameters' => [
1132+
'name' => [
1133+
'location' => 'path',
1134+
'type' => 'string',
1135+
'required' => true,
1136+
],
1137+
],
1138+
],'list' => [
9651139
'path' => 'v2/{+name}/locations',
9661140
'httpMethod' => 'GET',
9671141
'parameters' => [
@@ -970,6 +1144,11 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
9701144
'type' => 'string',
9711145
'required' => true,
9721146
],
1147+
'extraLocationTypes' => [
1148+
'location' => 'query',
1149+
'type' => 'string',
1150+
'repeated' => true,
1151+
],
9731152
'filter' => [
9741153
'location' => 'query',
9751154
'type' => 'string',
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
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\BigtableAdmin;
19+
20+
class ListLogicalViewsResponse extends \Google\Collection
21+
{
22+
protected $collection_key = 'logicalViews';
23+
protected $logicalViewsType = LogicalView::class;
24+
protected $logicalViewsDataType = 'array';
25+
/**
26+
* @var string
27+
*/
28+
public $nextPageToken;
29+
30+
/**
31+
* @param LogicalView[]
32+
*/
33+
public function setLogicalViews($logicalViews)
34+
{
35+
$this->logicalViews = $logicalViews;
36+
}
37+
/**
38+
* @return LogicalView[]
39+
*/
40+
public function getLogicalViews()
41+
{
42+
return $this->logicalViews;
43+
}
44+
/**
45+
* @param string
46+
*/
47+
public function setNextPageToken($nextPageToken)
48+
{
49+
$this->nextPageToken = $nextPageToken;
50+
}
51+
/**
52+
* @return string
53+
*/
54+
public function getNextPageToken()
55+
{
56+
return $this->nextPageToken;
57+
}
58+
}
59+
60+
// Adding a class alias for backwards compatibility with the previous class name.
61+
class_alias(ListLogicalViewsResponse::class, 'Google_Service_BigtableAdmin_ListLogicalViewsResponse');
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
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\BigtableAdmin;
19+
20+
class ListMaterializedViewsResponse extends \Google\Collection
21+
{
22+
protected $collection_key = 'materializedViews';
23+
protected $materializedViewsType = MaterializedView::class;
24+
protected $materializedViewsDataType = 'array';
25+
/**
26+
* @var string
27+
*/
28+
public $nextPageToken;
29+
30+
/**
31+
* @param MaterializedView[]
32+
*/
33+
public function setMaterializedViews($materializedViews)
34+
{
35+
$this->materializedViews = $materializedViews;
36+
}
37+
/**
38+
* @return MaterializedView[]
39+
*/
40+
public function getMaterializedViews()
41+
{
42+
return $this->materializedViews;
43+
}
44+
/**
45+
* @param string
46+
*/
47+
public function setNextPageToken($nextPageToken)
48+
{
49+
$this->nextPageToken = $nextPageToken;
50+
}
51+
/**
52+
* @return string
53+
*/
54+
public function getNextPageToken()
55+
{
56+
return $this->nextPageToken;
57+
}
58+
}
59+
60+
// Adding a class alias for backwards compatibility with the previous class name.
61+
class_alias(ListMaterializedViewsResponse::class, 'Google_Service_BigtableAdmin_ListMaterializedViewsResponse');

src/BigtableAdmin/LogicalView.php

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

2020
class LogicalView extends \Google\Model
2121
{
22+
/**
23+
* @var bool
24+
*/
25+
public $deletionProtection;
2226
/**
2327
* @var string
2428
*/
@@ -32,6 +36,20 @@ class LogicalView extends \Google\Model
3236
*/
3337
public $query;
3438

39+
/**
40+
* @param bool
41+
*/
42+
public function setDeletionProtection($deletionProtection)
43+
{
44+
$this->deletionProtection = $deletionProtection;
45+
}
46+
/**
47+
* @return bool
48+
*/
49+
public function getDeletionProtection()
50+
{
51+
return $this->deletionProtection;
52+
}
3553
/**
3654
* @param string
3755
*/

0 commit comments

Comments
 (0)