Skip to content

Commit 5c7afd3

Browse files
1 parent aa643e3 commit 5c7afd3

3 files changed

Lines changed: 48 additions & 1 deletion

File tree

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
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 GoogleBigtableAdminV2TypeGeography extends \Google\Model
21+
{
22+
}
23+
24+
// Adding a class alias for backwards compatibility with the previous class name.
25+
class_alias(GoogleBigtableAdminV2TypeGeography::class, 'Google_Service_BigtableAdmin_GoogleBigtableAdminV2TypeGeography');

src/BigtableAdmin/Resource/ProjectsLocations.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,11 @@
3030
class ProjectsLocations extends \Google\Service\Resource
3131
{
3232
/**
33-
* Lists information about the supported locations for this service.
33+
* Lists information about the supported locations for this service. This method
34+
* can be called in two ways: * **List all public locations:** Use the path `GET
35+
* /v1/locations`. * **List project-visible locations:** Use the path `GET
36+
* /v1/projects/{project_id}/locations`. This may include public locations as
37+
* well as private or other locations specifically visible to the project.
3438
* (locations.listProjectsLocations)
3539
*
3640
* @param string $name The resource that owns the locations collection, if

src/BigtableAdmin/Type.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ class Type extends \Google\Model
3535
protected $float32TypeDataType = '';
3636
protected $float64TypeType = GoogleBigtableAdminV2TypeFloat64::class;
3737
protected $float64TypeDataType = '';
38+
protected $geographyTypeType = GoogleBigtableAdminV2TypeGeography::class;
39+
protected $geographyTypeDataType = '';
3840
protected $int64TypeType = GoogleBigtableAdminV2TypeInt64::class;
3941
protected $int64TypeDataType = '';
4042
protected $mapTypeType = GoogleBigtableAdminV2TypeMap::class;
@@ -176,6 +178,22 @@ public function getFloat64Type()
176178
{
177179
return $this->float64Type;
178180
}
181+
/**
182+
* Geography
183+
*
184+
* @param GoogleBigtableAdminV2TypeGeography $geographyType
185+
*/
186+
public function setGeographyType(GoogleBigtableAdminV2TypeGeography $geographyType)
187+
{
188+
$this->geographyType = $geographyType;
189+
}
190+
/**
191+
* @return GoogleBigtableAdminV2TypeGeography
192+
*/
193+
public function getGeographyType()
194+
{
195+
return $this->geographyType;
196+
}
179197
/**
180198
* Int64
181199
*

0 commit comments

Comments
 (0)