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\CloudBuild;
|
---|
19 |
|
---|
20 | class GoogleDevtoolsCloudbuildV2GitLabConfig extends \Google\Model
|
---|
21 | {
|
---|
22 | protected $authorizerCredentialType = UserCredential::class;
|
---|
23 | protected $authorizerCredentialDataType = '';
|
---|
24 | /**
|
---|
25 | * @var string
|
---|
26 | */
|
---|
27 | public $hostUri;
|
---|
28 | protected $readAuthorizerCredentialType = UserCredential::class;
|
---|
29 | protected $readAuthorizerCredentialDataType = '';
|
---|
30 | /**
|
---|
31 | * @var string
|
---|
32 | */
|
---|
33 | public $serverVersion;
|
---|
34 | protected $serviceDirectoryConfigType = GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig::class;
|
---|
35 | protected $serviceDirectoryConfigDataType = '';
|
---|
36 | /**
|
---|
37 | * @var string
|
---|
38 | */
|
---|
39 | public $sslCa;
|
---|
40 | /**
|
---|
41 | * @var string
|
---|
42 | */
|
---|
43 | public $webhookSecretSecretVersion;
|
---|
44 |
|
---|
45 | /**
|
---|
46 | * @param UserCredential
|
---|
47 | */
|
---|
48 | public function setAuthorizerCredential(UserCredential $authorizerCredential)
|
---|
49 | {
|
---|
50 | $this->authorizerCredential = $authorizerCredential;
|
---|
51 | }
|
---|
52 | /**
|
---|
53 | * @return UserCredential
|
---|
54 | */
|
---|
55 | public function getAuthorizerCredential()
|
---|
56 | {
|
---|
57 | return $this->authorizerCredential;
|
---|
58 | }
|
---|
59 | /**
|
---|
60 | * @param string
|
---|
61 | */
|
---|
62 | public function setHostUri($hostUri)
|
---|
63 | {
|
---|
64 | $this->hostUri = $hostUri;
|
---|
65 | }
|
---|
66 | /**
|
---|
67 | * @return string
|
---|
68 | */
|
---|
69 | public function getHostUri()
|
---|
70 | {
|
---|
71 | return $this->hostUri;
|
---|
72 | }
|
---|
73 | /**
|
---|
74 | * @param UserCredential
|
---|
75 | */
|
---|
76 | public function setReadAuthorizerCredential(UserCredential $readAuthorizerCredential)
|
---|
77 | {
|
---|
78 | $this->readAuthorizerCredential = $readAuthorizerCredential;
|
---|
79 | }
|
---|
80 | /**
|
---|
81 | * @return UserCredential
|
---|
82 | */
|
---|
83 | public function getReadAuthorizerCredential()
|
---|
84 | {
|
---|
85 | return $this->readAuthorizerCredential;
|
---|
86 | }
|
---|
87 | /**
|
---|
88 | * @param string
|
---|
89 | */
|
---|
90 | public function setServerVersion($serverVersion)
|
---|
91 | {
|
---|
92 | $this->serverVersion = $serverVersion;
|
---|
93 | }
|
---|
94 | /**
|
---|
95 | * @return string
|
---|
96 | */
|
---|
97 | public function getServerVersion()
|
---|
98 | {
|
---|
99 | return $this->serverVersion;
|
---|
100 | }
|
---|
101 | /**
|
---|
102 | * @param GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig
|
---|
103 | */
|
---|
104 | public function setServiceDirectoryConfig(GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig $serviceDirectoryConfig)
|
---|
105 | {
|
---|
106 | $this->serviceDirectoryConfig = $serviceDirectoryConfig;
|
---|
107 | }
|
---|
108 | /**
|
---|
109 | * @return GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig
|
---|
110 | */
|
---|
111 | public function getServiceDirectoryConfig()
|
---|
112 | {
|
---|
113 | return $this->serviceDirectoryConfig;
|
---|
114 | }
|
---|
115 | /**
|
---|
116 | * @param string
|
---|
117 | */
|
---|
118 | public function setSslCa($sslCa)
|
---|
119 | {
|
---|
120 | $this->sslCa = $sslCa;
|
---|
121 | }
|
---|
122 | /**
|
---|
123 | * @return string
|
---|
124 | */
|
---|
125 | public function getSslCa()
|
---|
126 | {
|
---|
127 | return $this->sslCa;
|
---|
128 | }
|
---|
129 | /**
|
---|
130 | * @param string
|
---|
131 | */
|
---|
132 | public function setWebhookSecretSecretVersion($webhookSecretSecretVersion)
|
---|
133 | {
|
---|
134 | $this->webhookSecretSecretVersion = $webhookSecretSecretVersion;
|
---|
135 | }
|
---|
136 | /**
|
---|
137 | * @return string
|
---|
138 | */
|
---|
139 | public function getWebhookSecretSecretVersion()
|
---|
140 | {
|
---|
141 | return $this->webhookSecretSecretVersion;
|
---|
142 | }
|
---|
143 | }
|
---|
144 |
|
---|
145 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
146 | class_alias(GoogleDevtoolsCloudbuildV2GitLabConfig::class, 'Google_Service_CloudBuild_GoogleDevtoolsCloudbuildV2GitLabConfig');
|
---|