source: vendor/google/apiclient-services/src/Integrations/GoogleCloudConnectorsV1AuthConfig.php@ f9c482b

Last change on this file since f9c482b was f9c482b, checked in by Vlado 222039 <vlado.popovski@…>, 6 weeks ago

Upload new project files

  • Property mode set to 100644
File size: 5.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\Integrations;
19
20class GoogleCloudConnectorsV1AuthConfig 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 $authKey;
29 /**
30 * @var string
31 */
32 public $authType;
33 protected $oauth2AuthCodeFlowType = GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlow::class;
34 protected $oauth2AuthCodeFlowDataType = '';
35 protected $oauth2AuthCodeFlowGoogleManagedType = GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlowGoogleManaged::class;
36 protected $oauth2AuthCodeFlowGoogleManagedDataType = '';
37 protected $oauth2ClientCredentialsType = GoogleCloudConnectorsV1AuthConfigOauth2ClientCredentials::class;
38 protected $oauth2ClientCredentialsDataType = '';
39 protected $oauth2JwtBearerType = GoogleCloudConnectorsV1AuthConfigOauth2JwtBearer::class;
40 protected $oauth2JwtBearerDataType = '';
41 protected $sshPublicKeyType = GoogleCloudConnectorsV1AuthConfigSshPublicKey::class;
42 protected $sshPublicKeyDataType = '';
43 protected $userPasswordType = GoogleCloudConnectorsV1AuthConfigUserPassword::class;
44 protected $userPasswordDataType = '';
45
46 /**
47 * @param GoogleCloudConnectorsV1ConfigVariable[]
48 */
49 public function setAdditionalVariables($additionalVariables)
50 {
51 $this->additionalVariables = $additionalVariables;
52 }
53 /**
54 * @return GoogleCloudConnectorsV1ConfigVariable[]
55 */
56 public function getAdditionalVariables()
57 {
58 return $this->additionalVariables;
59 }
60 /**
61 * @param string
62 */
63 public function setAuthKey($authKey)
64 {
65 $this->authKey = $authKey;
66 }
67 /**
68 * @return string
69 */
70 public function getAuthKey()
71 {
72 return $this->authKey;
73 }
74 /**
75 * @param string
76 */
77 public function setAuthType($authType)
78 {
79 $this->authType = $authType;
80 }
81 /**
82 * @return string
83 */
84 public function getAuthType()
85 {
86 return $this->authType;
87 }
88 /**
89 * @param GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlow
90 */
91 public function setOauth2AuthCodeFlow(GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlow $oauth2AuthCodeFlow)
92 {
93 $this->oauth2AuthCodeFlow = $oauth2AuthCodeFlow;
94 }
95 /**
96 * @return GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlow
97 */
98 public function getOauth2AuthCodeFlow()
99 {
100 return $this->oauth2AuthCodeFlow;
101 }
102 /**
103 * @param GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlowGoogleManaged
104 */
105 public function setOauth2AuthCodeFlowGoogleManaged(GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlowGoogleManaged $oauth2AuthCodeFlowGoogleManaged)
106 {
107 $this->oauth2AuthCodeFlowGoogleManaged = $oauth2AuthCodeFlowGoogleManaged;
108 }
109 /**
110 * @return GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlowGoogleManaged
111 */
112 public function getOauth2AuthCodeFlowGoogleManaged()
113 {
114 return $this->oauth2AuthCodeFlowGoogleManaged;
115 }
116 /**
117 * @param GoogleCloudConnectorsV1AuthConfigOauth2ClientCredentials
118 */
119 public function setOauth2ClientCredentials(GoogleCloudConnectorsV1AuthConfigOauth2ClientCredentials $oauth2ClientCredentials)
120 {
121 $this->oauth2ClientCredentials = $oauth2ClientCredentials;
122 }
123 /**
124 * @return GoogleCloudConnectorsV1AuthConfigOauth2ClientCredentials
125 */
126 public function getOauth2ClientCredentials()
127 {
128 return $this->oauth2ClientCredentials;
129 }
130 /**
131 * @param GoogleCloudConnectorsV1AuthConfigOauth2JwtBearer
132 */
133 public function setOauth2JwtBearer(GoogleCloudConnectorsV1AuthConfigOauth2JwtBearer $oauth2JwtBearer)
134 {
135 $this->oauth2JwtBearer = $oauth2JwtBearer;
136 }
137 /**
138 * @return GoogleCloudConnectorsV1AuthConfigOauth2JwtBearer
139 */
140 public function getOauth2JwtBearer()
141 {
142 return $this->oauth2JwtBearer;
143 }
144 /**
145 * @param GoogleCloudConnectorsV1AuthConfigSshPublicKey
146 */
147 public function setSshPublicKey(GoogleCloudConnectorsV1AuthConfigSshPublicKey $sshPublicKey)
148 {
149 $this->sshPublicKey = $sshPublicKey;
150 }
151 /**
152 * @return GoogleCloudConnectorsV1AuthConfigSshPublicKey
153 */
154 public function getSshPublicKey()
155 {
156 return $this->sshPublicKey;
157 }
158 /**
159 * @param GoogleCloudConnectorsV1AuthConfigUserPassword
160 */
161 public function setUserPassword(GoogleCloudConnectorsV1AuthConfigUserPassword $userPassword)
162 {
163 $this->userPassword = $userPassword;
164 }
165 /**
166 * @return GoogleCloudConnectorsV1AuthConfigUserPassword
167 */
168 public function getUserPassword()
169 {
170 return $this->userPassword;
171 }
172}
173
174// Adding a class alias for backwards compatibility with the previous class name.
175class_alias(GoogleCloudConnectorsV1AuthConfig::class, 'Google_Service_Integrations_GoogleCloudConnectorsV1AuthConfig');
Note: See TracBrowser for help on using the repository browser.