Skip to content

Commit 2eec472

Browse files
Regenerate bigtableadmin client
1 parent c9fa9d7 commit 2eec472

8 files changed

+499
-2
lines changed

src/BigtableAdmin.php

Lines changed: 151 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,45 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
589589
'logicalViews',
590590
[
591591
'methods' => [
592-
'getIamPolicy' => [
592+
'create' => [
593+
'path' => 'v2/{+parent}/logicalViews',
594+
'httpMethod' => 'POST',
595+
'parameters' => [
596+
'parent' => [
597+
'location' => 'path',
598+
'type' => 'string',
599+
'required' => true,
600+
],
601+
'logicalViewId' => [
602+
'location' => 'query',
603+
'type' => 'string',
604+
],
605+
],
606+
],'delete' => [
607+
'path' => 'v2/{+name}',
608+
'httpMethod' => 'DELETE',
609+
'parameters' => [
610+
'name' => [
611+
'location' => 'path',
612+
'type' => 'string',
613+
'required' => true,
614+
],
615+
'etag' => [
616+
'location' => 'query',
617+
'type' => 'string',
618+
],
619+
],
620+
],'get' => [
621+
'path' => 'v2/{+name}',
622+
'httpMethod' => 'GET',
623+
'parameters' => [
624+
'name' => [
625+
'location' => 'path',
626+
'type' => 'string',
627+
'required' => true,
628+
],
629+
],
630+
],'getIamPolicy' => [
593631
'path' => 'v2/{+resource}:getIamPolicy',
594632
'httpMethod' => 'POST',
595633
'parameters' => [
@@ -599,6 +637,38 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
599637
'required' => true,
600638
],
601639
],
640+
],'list' => [
641+
'path' => 'v2/{+parent}/logicalViews',
642+
'httpMethod' => 'GET',
643+
'parameters' => [
644+
'parent' => [
645+
'location' => 'path',
646+
'type' => 'string',
647+
'required' => true,
648+
],
649+
'pageSize' => [
650+
'location' => 'query',
651+
'type' => 'integer',
652+
],
653+
'pageToken' => [
654+
'location' => 'query',
655+
'type' => 'string',
656+
],
657+
],
658+
],'patch' => [
659+
'path' => 'v2/{+name}',
660+
'httpMethod' => 'PATCH',
661+
'parameters' => [
662+
'name' => [
663+
'location' => 'path',
664+
'type' => 'string',
665+
'required' => true,
666+
],
667+
'updateMask' => [
668+
'location' => 'query',
669+
'type' => 'string',
670+
],
671+
],
602672
],'setIamPolicy' => [
603673
'path' => 'v2/{+resource}:setIamPolicy',
604674
'httpMethod' => 'POST',
@@ -629,7 +699,45 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
629699
'materializedViews',
630700
[
631701
'methods' => [
632-
'getIamPolicy' => [
702+
'create' => [
703+
'path' => 'v2/{+parent}/materializedViews',
704+
'httpMethod' => 'POST',
705+
'parameters' => [
706+
'parent' => [
707+
'location' => 'path',
708+
'type' => 'string',
709+
'required' => true,
710+
],
711+
'materializedViewId' => [
712+
'location' => 'query',
713+
'type' => 'string',
714+
],
715+
],
716+
],'delete' => [
717+
'path' => 'v2/{+name}',
718+
'httpMethod' => 'DELETE',
719+
'parameters' => [
720+
'name' => [
721+
'location' => 'path',
722+
'type' => 'string',
723+
'required' => true,
724+
],
725+
'etag' => [
726+
'location' => 'query',
727+
'type' => 'string',
728+
],
729+
],
730+
],'get' => [
731+
'path' => 'v2/{+name}',
732+
'httpMethod' => 'GET',
733+
'parameters' => [
734+
'name' => [
735+
'location' => 'path',
736+
'type' => 'string',
737+
'required' => true,
738+
],
739+
],
740+
],'getIamPolicy' => [
633741
'path' => 'v2/{+resource}:getIamPolicy',
634742
'httpMethod' => 'POST',
635743
'parameters' => [
@@ -639,6 +747,38 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
639747
'required' => true,
640748
],
641749
],
750+
],'list' => [
751+
'path' => 'v2/{+parent}/materializedViews',
752+
'httpMethod' => 'GET',
753+
'parameters' => [
754+
'parent' => [
755+
'location' => 'path',
756+
'type' => 'string',
757+
'required' => true,
758+
],
759+
'pageSize' => [
760+
'location' => 'query',
761+
'type' => 'integer',
762+
],
763+
'pageToken' => [
764+
'location' => 'query',
765+
'type' => 'string',
766+
],
767+
],
768+
],'patch' => [
769+
'path' => 'v2/{+name}',
770+
'httpMethod' => 'PATCH',
771+
'parameters' => [
772+
'name' => [
773+
'location' => 'path',
774+
'type' => 'string',
775+
'required' => true,
776+
],
777+
'updateMask' => [
778+
'location' => 'query',
779+
'type' => 'string',
780+
],
781+
],
642782
],'setIamPolicy' => [
643783
'path' => 'v2/{+resource}:setIamPolicy',
644784
'httpMethod' => 'POST',
@@ -784,6 +924,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
784924
'type' => 'string',
785925
'required' => true,
786926
],
927+
'ignoreWarnings' => [
928+
'location' => 'query',
929+
'type' => 'boolean',
930+
],
787931
'updateMask' => [
788932
'location' => 'query',
789933
'type' => 'string',
@@ -970,6 +1114,11 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
9701114
'type' => 'string',
9711115
'required' => true,
9721116
],
1117+
'extraLocationTypes' => [
1118+
'location' => 'query',
1119+
'type' => 'string',
1120+
'repeated' => true,
1121+
],
9731122
'filter' => [
9741123
'location' => 'query',
9751124
'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');

0 commit comments

Comments
 (0)