Skip to content

Commit 77e1f9a

Browse files
1 parent e6fcb85 commit 77e1f9a

4 files changed

Lines changed: 79 additions & 3 deletions

File tree

src/AppHub/FunctionalType.php

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
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\AppHub;
19+
20+
class FunctionalType extends \Google\Model
21+
{
22+
/**
23+
* @var string
24+
*/
25+
public $type;
26+
27+
/**
28+
* @param string
29+
*/
30+
public function setType($type)
31+
{
32+
$this->type = $type;
33+
}
34+
/**
35+
* @return string
36+
*/
37+
public function getType()
38+
{
39+
return $this->type;
40+
}
41+
}
42+
43+
// Adding a class alias for backwards compatibility with the previous class name.
44+
class_alias(FunctionalType::class, 'Google_Service_AppHub_FunctionalType');

src/AppHub/Resource/ProjectsLocations.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@ public function get($name, $optParams = [])
7474
* applicable.
7575
* @param array $optParams Optional parameters.
7676
*
77-
* @opt_param string extraLocationTypes Optional. Unless explicitly documented
78-
* otherwise, don't use this unsupported field which is primarily intended for
79-
* internal usage.
77+
* @opt_param string extraLocationTypes Optional. Do not use this field. It is
78+
* unsupported and is ignored unless explicitly documented otherwise. This is
79+
* primarily for internal usage.
8080
* @opt_param string filter A filter to narrow down results to a preferred
8181
* subset. The filtering language accepts strings like `"displayName=tokyo"`,
8282
* and is documented in more detail in [AIP-160](https://google.aip.dev/160).

src/AppHub/ServiceProperties.php

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

2020
class ServiceProperties extends \Google\Model
2121
{
22+
protected $functionalTypeType = FunctionalType::class;
23+
protected $functionalTypeDataType = '';
2224
/**
2325
* @var string
2426
*/
@@ -32,6 +34,20 @@ class ServiceProperties extends \Google\Model
3234
*/
3335
public $zone;
3436

37+
/**
38+
* @param FunctionalType
39+
*/
40+
public function setFunctionalType(FunctionalType $functionalType)
41+
{
42+
$this->functionalType = $functionalType;
43+
}
44+
/**
45+
* @return FunctionalType
46+
*/
47+
public function getFunctionalType()
48+
{
49+
return $this->functionalType;
50+
}
3551
/**
3652
* @param string
3753
*/

src/AppHub/WorkloadProperties.php

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

2020
class WorkloadProperties extends \Google\Model
2121
{
22+
protected $functionalTypeType = FunctionalType::class;
23+
protected $functionalTypeDataType = '';
2224
/**
2325
* @var string
2426
*/
@@ -32,6 +34,20 @@ class WorkloadProperties extends \Google\Model
3234
*/
3335
public $zone;
3436

37+
/**
38+
* @param FunctionalType
39+
*/
40+
public function setFunctionalType(FunctionalType $functionalType)
41+
{
42+
$this->functionalType = $functionalType;
43+
}
44+
/**
45+
* @return FunctionalType
46+
*/
47+
public function getFunctionalType()
48+
{
49+
return $this->functionalType;
50+
}
3551
/**
3652
* @param string
3753
*/

0 commit comments

Comments
 (0)