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\Integrations;
|
---|
19 |
|
---|
20 | class GoogleCloudConnectorsV1SslConfig extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'additionalVariables';
|
---|
23 | protected $additionalVariablesType = GoogleCloudConnectorsV1ConfigVariable::class;
|
---|
24 | protected $additionalVariablesDataType = 'array';
|
---|
25 | /**
|
---|
26 | * @var string
|
---|
27 | */
|
---|
28 | public $clientCertType;
|
---|
29 | protected $clientCertificateType = GoogleCloudConnectorsV1Secret::class;
|
---|
30 | protected $clientCertificateDataType = '';
|
---|
31 | protected $clientPrivateKeyType = GoogleCloudConnectorsV1Secret::class;
|
---|
32 | protected $clientPrivateKeyDataType = '';
|
---|
33 | protected $clientPrivateKeyPassType = GoogleCloudConnectorsV1Secret::class;
|
---|
34 | protected $clientPrivateKeyPassDataType = '';
|
---|
35 | protected $privateServerCertificateType = GoogleCloudConnectorsV1Secret::class;
|
---|
36 | protected $privateServerCertificateDataType = '';
|
---|
37 | /**
|
---|
38 | * @var string
|
---|
39 | */
|
---|
40 | public $serverCertType;
|
---|
41 | /**
|
---|
42 | * @var string
|
---|
43 | */
|
---|
44 | public $trustModel;
|
---|
45 | /**
|
---|
46 | * @var string
|
---|
47 | */
|
---|
48 | public $type;
|
---|
49 | /**
|
---|
50 | * @var bool
|
---|
51 | */
|
---|
52 | public $useSsl;
|
---|
53 |
|
---|
54 | /**
|
---|
55 | * @param GoogleCloudConnectorsV1ConfigVariable[]
|
---|
56 | */
|
---|
57 | public function setAdditionalVariables($additionalVariables)
|
---|
58 | {
|
---|
59 | $this->additionalVariables = $additionalVariables;
|
---|
60 | }
|
---|
61 | /**
|
---|
62 | * @return GoogleCloudConnectorsV1ConfigVariable[]
|
---|
63 | */
|
---|
64 | public function getAdditionalVariables()
|
---|
65 | {
|
---|
66 | return $this->additionalVariables;
|
---|
67 | }
|
---|
68 | /**
|
---|
69 | * @param string
|
---|
70 | */
|
---|
71 | public function setClientCertType($clientCertType)
|
---|
72 | {
|
---|
73 | $this->clientCertType = $clientCertType;
|
---|
74 | }
|
---|
75 | /**
|
---|
76 | * @return string
|
---|
77 | */
|
---|
78 | public function getClientCertType()
|
---|
79 | {
|
---|
80 | return $this->clientCertType;
|
---|
81 | }
|
---|
82 | /**
|
---|
83 | * @param GoogleCloudConnectorsV1Secret
|
---|
84 | */
|
---|
85 | public function setClientCertificate(GoogleCloudConnectorsV1Secret $clientCertificate)
|
---|
86 | {
|
---|
87 | $this->clientCertificate = $clientCertificate;
|
---|
88 | }
|
---|
89 | /**
|
---|
90 | * @return GoogleCloudConnectorsV1Secret
|
---|
91 | */
|
---|
92 | public function getClientCertificate()
|
---|
93 | {
|
---|
94 | return $this->clientCertificate;
|
---|
95 | }
|
---|
96 | /**
|
---|
97 | * @param GoogleCloudConnectorsV1Secret
|
---|
98 | */
|
---|
99 | public function setClientPrivateKey(GoogleCloudConnectorsV1Secret $clientPrivateKey)
|
---|
100 | {
|
---|
101 | $this->clientPrivateKey = $clientPrivateKey;
|
---|
102 | }
|
---|
103 | /**
|
---|
104 | * @return GoogleCloudConnectorsV1Secret
|
---|
105 | */
|
---|
106 | public function getClientPrivateKey()
|
---|
107 | {
|
---|
108 | return $this->clientPrivateKey;
|
---|
109 | }
|
---|
110 | /**
|
---|
111 | * @param GoogleCloudConnectorsV1Secret
|
---|
112 | */
|
---|
113 | public function setClientPrivateKeyPass(GoogleCloudConnectorsV1Secret $clientPrivateKeyPass)
|
---|
114 | {
|
---|
115 | $this->clientPrivateKeyPass = $clientPrivateKeyPass;
|
---|
116 | }
|
---|
117 | /**
|
---|
118 | * @return GoogleCloudConnectorsV1Secret
|
---|
119 | */
|
---|
120 | public function getClientPrivateKeyPass()
|
---|
121 | {
|
---|
122 | return $this->clientPrivateKeyPass;
|
---|
123 | }
|
---|
124 | /**
|
---|
125 | * @param GoogleCloudConnectorsV1Secret
|
---|
126 | */
|
---|
127 | public function setPrivateServerCertificate(GoogleCloudConnectorsV1Secret $privateServerCertificate)
|
---|
128 | {
|
---|
129 | $this->privateServerCertificate = $privateServerCertificate;
|
---|
130 | }
|
---|
131 | /**
|
---|
132 | * @return GoogleCloudConnectorsV1Secret
|
---|
133 | */
|
---|
134 | public function getPrivateServerCertificate()
|
---|
135 | {
|
---|
136 | return $this->privateServerCertificate;
|
---|
137 | }
|
---|
138 | /**
|
---|
139 | * @param string
|
---|
140 | */
|
---|
141 | public function setServerCertType($serverCertType)
|
---|
142 | {
|
---|
143 | $this->serverCertType = $serverCertType;
|
---|
144 | }
|
---|
145 | /**
|
---|
146 | * @return string
|
---|
147 | */
|
---|
148 | public function getServerCertType()
|
---|
149 | {
|
---|
150 | return $this->serverCertType;
|
---|
151 | }
|
---|
152 | /**
|
---|
153 | * @param string
|
---|
154 | */
|
---|
155 | public function setTrustModel($trustModel)
|
---|
156 | {
|
---|
157 | $this->trustModel = $trustModel;
|
---|
158 | }
|
---|
159 | /**
|
---|
160 | * @return string
|
---|
161 | */
|
---|
162 | public function getTrustModel()
|
---|
163 | {
|
---|
164 | return $this->trustModel;
|
---|
165 | }
|
---|
166 | /**
|
---|
167 | * @param string
|
---|
168 | */
|
---|
169 | public function setType($type)
|
---|
170 | {
|
---|
171 | $this->type = $type;
|
---|
172 | }
|
---|
173 | /**
|
---|
174 | * @return string
|
---|
175 | */
|
---|
176 | public function getType()
|
---|
177 | {
|
---|
178 | return $this->type;
|
---|
179 | }
|
---|
180 | /**
|
---|
181 | * @param bool
|
---|
182 | */
|
---|
183 | public function setUseSsl($useSsl)
|
---|
184 | {
|
---|
185 | $this->useSsl = $useSsl;
|
---|
186 | }
|
---|
187 | /**
|
---|
188 | * @return bool
|
---|
189 | */
|
---|
190 | public function getUseSsl()
|
---|
191 | {
|
---|
192 | return $this->useSsl;
|
---|
193 | }
|
---|
194 | }
|
---|
195 |
|
---|
196 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
197 | class_alias(GoogleCloudConnectorsV1SslConfig::class, 'Google_Service_Integrations_GoogleCloudConnectorsV1SslConfig');
|
---|