source: vendor/google/apiclient-services/src/DatabaseMigrationService/AlloyDbSettings.php@ e3d4e0a

Last change on this file since e3d4e0a was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 2.9 KB
Line 
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
18namespace Google\Service\DatabaseMigrationService;
19
20class AlloyDbSettings extends \Google\Model
21{
22 /**
23 * @var string
24 */
25 public $databaseVersion;
26 protected $encryptionConfigType = EncryptionConfig::class;
27 protected $encryptionConfigDataType = '';
28 protected $initialUserType = UserPassword::class;
29 protected $initialUserDataType = '';
30 /**
31 * @var string[]
32 */
33 public $labels;
34 protected $primaryInstanceSettingsType = PrimaryInstanceSettings::class;
35 protected $primaryInstanceSettingsDataType = '';
36 /**
37 * @var string
38 */
39 public $vpcNetwork;
40
41 /**
42 * @param string
43 */
44 public function setDatabaseVersion($databaseVersion)
45 {
46 $this->databaseVersion = $databaseVersion;
47 }
48 /**
49 * @return string
50 */
51 public function getDatabaseVersion()
52 {
53 return $this->databaseVersion;
54 }
55 /**
56 * @param EncryptionConfig
57 */
58 public function setEncryptionConfig(EncryptionConfig $encryptionConfig)
59 {
60 $this->encryptionConfig = $encryptionConfig;
61 }
62 /**
63 * @return EncryptionConfig
64 */
65 public function getEncryptionConfig()
66 {
67 return $this->encryptionConfig;
68 }
69 /**
70 * @param UserPassword
71 */
72 public function setInitialUser(UserPassword $initialUser)
73 {
74 $this->initialUser = $initialUser;
75 }
76 /**
77 * @return UserPassword
78 */
79 public function getInitialUser()
80 {
81 return $this->initialUser;
82 }
83 /**
84 * @param string[]
85 */
86 public function setLabels($labels)
87 {
88 $this->labels = $labels;
89 }
90 /**
91 * @return string[]
92 */
93 public function getLabels()
94 {
95 return $this->labels;
96 }
97 /**
98 * @param PrimaryInstanceSettings
99 */
100 public function setPrimaryInstanceSettings(PrimaryInstanceSettings $primaryInstanceSettings)
101 {
102 $this->primaryInstanceSettings = $primaryInstanceSettings;
103 }
104 /**
105 * @return PrimaryInstanceSettings
106 */
107 public function getPrimaryInstanceSettings()
108 {
109 return $this->primaryInstanceSettings;
110 }
111 /**
112 * @param string
113 */
114 public function setVpcNetwork($vpcNetwork)
115 {
116 $this->vpcNetwork = $vpcNetwork;
117 }
118 /**
119 * @return string
120 */
121 public function getVpcNetwork()
122 {
123 return $this->vpcNetwork;
124 }
125}
126
127// Adding a class alias for backwards compatibility with the previous class name.
128class_alias(AlloyDbSettings::class, 'Google_Service_DatabaseMigrationService_AlloyDbSettings');
Note: See TracBrowser for help on using the repository browser.