Skip to content

Commit d106e70

Browse files
1 parent 13d689a commit d106e70

2 files changed

Lines changed: 97 additions & 0 deletions

File tree

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
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\Looker;
19+
20+
class ControlledEgressConfig extends \Google\Collection
21+
{
22+
protected $collection_key = 'egressFqdns';
23+
/**
24+
* @var string[]
25+
*/
26+
public $egressFqdns;
27+
/**
28+
* @var bool
29+
*/
30+
public $marketplaceEnabled;
31+
32+
/**
33+
* @param string[]
34+
*/
35+
public function setEgressFqdns($egressFqdns)
36+
{
37+
$this->egressFqdns = $egressFqdns;
38+
}
39+
/**
40+
* @return string[]
41+
*/
42+
public function getEgressFqdns()
43+
{
44+
return $this->egressFqdns;
45+
}
46+
/**
47+
* @param bool
48+
*/
49+
public function setMarketplaceEnabled($marketplaceEnabled)
50+
{
51+
$this->marketplaceEnabled = $marketplaceEnabled;
52+
}
53+
/**
54+
* @return bool
55+
*/
56+
public function getMarketplaceEnabled()
57+
{
58+
return $this->marketplaceEnabled;
59+
}
60+
}
61+
62+
// Adding a class alias for backwards compatibility with the previous class name.
63+
class_alias(ControlledEgressConfig::class, 'Google_Service_Looker_ControlledEgressConfig');

src/Looker/Instance.php

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ class Instance extends \Google\Model
2929
* @var string
3030
*/
3131
public $consumerNetwork;
32+
protected $controlledEgressConfigType = ControlledEgressConfig::class;
33+
protected $controlledEgressConfigDataType = '';
34+
/**
35+
* @var bool
36+
*/
37+
public $controlledEgressEnabled;
3238
/**
3339
* @var string
3440
*/
@@ -166,6 +172,34 @@ public function getConsumerNetwork()
166172
{
167173
return $this->consumerNetwork;
168174
}
175+
/**
176+
* @param ControlledEgressConfig
177+
*/
178+
public function setControlledEgressConfig(ControlledEgressConfig $controlledEgressConfig)
179+
{
180+
$this->controlledEgressConfig = $controlledEgressConfig;
181+
}
182+
/**
183+
* @return ControlledEgressConfig
184+
*/
185+
public function getControlledEgressConfig()
186+
{
187+
return $this->controlledEgressConfig;
188+
}
189+
/**
190+
* @param bool
191+
*/
192+
public function setControlledEgressEnabled($controlledEgressEnabled)
193+
{
194+
$this->controlledEgressEnabled = $controlledEgressEnabled;
195+
}
196+
/**
197+
* @return bool
198+
*/
199+
public function getControlledEgressEnabled()
200+
{
201+
return $this->controlledEgressEnabled;
202+
}
169203
/**
170204
* @param string
171205
*/

0 commit comments

Comments
 (0)