Skip to content

Commit d7af794

Browse files
1 parent 3660a99 commit d7af794

2 files changed

Lines changed: 60 additions & 0 deletions

File tree

src/CloudAlloyDBAdmin/Cluster.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ class Cluster extends \Google\Model
4949
* @var string
5050
*/
5151
public $databaseVersion;
52+
protected $dataplexConfigType = DataplexConfig::class;
53+
protected $dataplexConfigDataType = '';
5254
/**
5355
* @var string
5456
*/
@@ -280,6 +282,20 @@ public function getDatabaseVersion()
280282
{
281283
return $this->databaseVersion;
282284
}
285+
/**
286+
* @param DataplexConfig
287+
*/
288+
public function setDataplexConfig(DataplexConfig $dataplexConfig)
289+
{
290+
$this->dataplexConfig = $dataplexConfig;
291+
}
292+
/**
293+
* @return DataplexConfig
294+
*/
295+
public function getDataplexConfig()
296+
{
297+
return $this->dataplexConfig;
298+
}
283299
/**
284300
* @param string
285301
*/
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\CloudAlloyDBAdmin;
19+
20+
class DataplexConfig extends \Google\Model
21+
{
22+
/**
23+
* @var bool
24+
*/
25+
public $enabled;
26+
27+
/**
28+
* @param bool
29+
*/
30+
public function setEnabled($enabled)
31+
{
32+
$this->enabled = $enabled;
33+
}
34+
/**
35+
* @return bool
36+
*/
37+
public function getEnabled()
38+
{
39+
return $this->enabled;
40+
}
41+
}
42+
43+
// Adding a class alias for backwards compatibility with the previous class name.
44+
class_alias(DataplexConfig::class, 'Google_Service_CloudAlloyDBAdmin_DataplexConfig');

0 commit comments

Comments
 (0)