source: vendor/google/apiclient-services/src/DatabaseMigrationService/PrimaryInstanceSettings.php

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

Upload project files

  • Property mode set to 100644
File size: 3.2 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 PrimaryInstanceSettings extends \Google\Collection
21{
22 protected $collection_key = 'outboundPublicIpAddresses';
23 /**
24 * @var string[]
25 */
26 public $databaseFlags;
27 /**
28 * @var string
29 */
30 public $id;
31 protected $instanceNetworkConfigType = InstanceNetworkConfig::class;
32 protected $instanceNetworkConfigDataType = '';
33 /**
34 * @var string[]
35 */
36 public $labels;
37 protected $machineConfigType = MachineConfig::class;
38 protected $machineConfigDataType = '';
39 /**
40 * @var string[]
41 */
42 public $outboundPublicIpAddresses;
43 /**
44 * @var string
45 */
46 public $privateIp;
47
48 /**
49 * @param string[]
50 */
51 public function setDatabaseFlags($databaseFlags)
52 {
53 $this->databaseFlags = $databaseFlags;
54 }
55 /**
56 * @return string[]
57 */
58 public function getDatabaseFlags()
59 {
60 return $this->databaseFlags;
61 }
62 /**
63 * @param string
64 */
65 public function setId($id)
66 {
67 $this->id = $id;
68 }
69 /**
70 * @return string
71 */
72 public function getId()
73 {
74 return $this->id;
75 }
76 /**
77 * @param InstanceNetworkConfig
78 */
79 public function setInstanceNetworkConfig(InstanceNetworkConfig $instanceNetworkConfig)
80 {
81 $this->instanceNetworkConfig = $instanceNetworkConfig;
82 }
83 /**
84 * @return InstanceNetworkConfig
85 */
86 public function getInstanceNetworkConfig()
87 {
88 return $this->instanceNetworkConfig;
89 }
90 /**
91 * @param string[]
92 */
93 public function setLabels($labels)
94 {
95 $this->labels = $labels;
96 }
97 /**
98 * @return string[]
99 */
100 public function getLabels()
101 {
102 return $this->labels;
103 }
104 /**
105 * @param MachineConfig
106 */
107 public function setMachineConfig(MachineConfig $machineConfig)
108 {
109 $this->machineConfig = $machineConfig;
110 }
111 /**
112 * @return MachineConfig
113 */
114 public function getMachineConfig()
115 {
116 return $this->machineConfig;
117 }
118 /**
119 * @param string[]
120 */
121 public function setOutboundPublicIpAddresses($outboundPublicIpAddresses)
122 {
123 $this->outboundPublicIpAddresses = $outboundPublicIpAddresses;
124 }
125 /**
126 * @return string[]
127 */
128 public function getOutboundPublicIpAddresses()
129 {
130 return $this->outboundPublicIpAddresses;
131 }
132 /**
133 * @param string
134 */
135 public function setPrivateIp($privateIp)
136 {
137 $this->privateIp = $privateIp;
138 }
139 /**
140 * @return string
141 */
142 public function getPrivateIp()
143 {
144 return $this->privateIp;
145 }
146}
147
148// Adding a class alias for backwards compatibility with the previous class name.
149class_alias(PrimaryInstanceSettings::class, 'Google_Service_DatabaseMigrationService_PrimaryInstanceSettings');
Note: See TracBrowser for help on using the repository browser.