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\CloudIAP;
|
---|
19 |
|
---|
20 | class AccessSettings extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'identitySources';
|
---|
23 | protected $allowedDomainsSettingsType = AllowedDomainsSettings::class;
|
---|
24 | protected $allowedDomainsSettingsDataType = '';
|
---|
25 | protected $corsSettingsType = CorsSettings::class;
|
---|
26 | protected $corsSettingsDataType = '';
|
---|
27 | protected $gcipSettingsType = GcipSettings::class;
|
---|
28 | protected $gcipSettingsDataType = '';
|
---|
29 | /**
|
---|
30 | * @var string[]
|
---|
31 | */
|
---|
32 | public $identitySources;
|
---|
33 | protected $oauthSettingsType = OAuthSettings::class;
|
---|
34 | protected $oauthSettingsDataType = '';
|
---|
35 | protected $policyDelegationSettingsType = PolicyDelegationSettings::class;
|
---|
36 | protected $policyDelegationSettingsDataType = '';
|
---|
37 | protected $reauthSettingsType = ReauthSettings::class;
|
---|
38 | protected $reauthSettingsDataType = '';
|
---|
39 | protected $workforceIdentitySettingsType = WorkforceIdentitySettings::class;
|
---|
40 | protected $workforceIdentitySettingsDataType = '';
|
---|
41 |
|
---|
42 | /**
|
---|
43 | * @param AllowedDomainsSettings
|
---|
44 | */
|
---|
45 | public function setAllowedDomainsSettings(AllowedDomainsSettings $allowedDomainsSettings)
|
---|
46 | {
|
---|
47 | $this->allowedDomainsSettings = $allowedDomainsSettings;
|
---|
48 | }
|
---|
49 | /**
|
---|
50 | * @return AllowedDomainsSettings
|
---|
51 | */
|
---|
52 | public function getAllowedDomainsSettings()
|
---|
53 | {
|
---|
54 | return $this->allowedDomainsSettings;
|
---|
55 | }
|
---|
56 | /**
|
---|
57 | * @param CorsSettings
|
---|
58 | */
|
---|
59 | public function setCorsSettings(CorsSettings $corsSettings)
|
---|
60 | {
|
---|
61 | $this->corsSettings = $corsSettings;
|
---|
62 | }
|
---|
63 | /**
|
---|
64 | * @return CorsSettings
|
---|
65 | */
|
---|
66 | public function getCorsSettings()
|
---|
67 | {
|
---|
68 | return $this->corsSettings;
|
---|
69 | }
|
---|
70 | /**
|
---|
71 | * @param GcipSettings
|
---|
72 | */
|
---|
73 | public function setGcipSettings(GcipSettings $gcipSettings)
|
---|
74 | {
|
---|
75 | $this->gcipSettings = $gcipSettings;
|
---|
76 | }
|
---|
77 | /**
|
---|
78 | * @return GcipSettings
|
---|
79 | */
|
---|
80 | public function getGcipSettings()
|
---|
81 | {
|
---|
82 | return $this->gcipSettings;
|
---|
83 | }
|
---|
84 | /**
|
---|
85 | * @param string[]
|
---|
86 | */
|
---|
87 | public function setIdentitySources($identitySources)
|
---|
88 | {
|
---|
89 | $this->identitySources = $identitySources;
|
---|
90 | }
|
---|
91 | /**
|
---|
92 | * @return string[]
|
---|
93 | */
|
---|
94 | public function getIdentitySources()
|
---|
95 | {
|
---|
96 | return $this->identitySources;
|
---|
97 | }
|
---|
98 | /**
|
---|
99 | * @param OAuthSettings
|
---|
100 | */
|
---|
101 | public function setOauthSettings(OAuthSettings $oauthSettings)
|
---|
102 | {
|
---|
103 | $this->oauthSettings = $oauthSettings;
|
---|
104 | }
|
---|
105 | /**
|
---|
106 | * @return OAuthSettings
|
---|
107 | */
|
---|
108 | public function getOauthSettings()
|
---|
109 | {
|
---|
110 | return $this->oauthSettings;
|
---|
111 | }
|
---|
112 | /**
|
---|
113 | * @param PolicyDelegationSettings
|
---|
114 | */
|
---|
115 | public function setPolicyDelegationSettings(PolicyDelegationSettings $policyDelegationSettings)
|
---|
116 | {
|
---|
117 | $this->policyDelegationSettings = $policyDelegationSettings;
|
---|
118 | }
|
---|
119 | /**
|
---|
120 | * @return PolicyDelegationSettings
|
---|
121 | */
|
---|
122 | public function getPolicyDelegationSettings()
|
---|
123 | {
|
---|
124 | return $this->policyDelegationSettings;
|
---|
125 | }
|
---|
126 | /**
|
---|
127 | * @param ReauthSettings
|
---|
128 | */
|
---|
129 | public function setReauthSettings(ReauthSettings $reauthSettings)
|
---|
130 | {
|
---|
131 | $this->reauthSettings = $reauthSettings;
|
---|
132 | }
|
---|
133 | /**
|
---|
134 | * @return ReauthSettings
|
---|
135 | */
|
---|
136 | public function getReauthSettings()
|
---|
137 | {
|
---|
138 | return $this->reauthSettings;
|
---|
139 | }
|
---|
140 | /**
|
---|
141 | * @param WorkforceIdentitySettings
|
---|
142 | */
|
---|
143 | public function setWorkforceIdentitySettings(WorkforceIdentitySettings $workforceIdentitySettings)
|
---|
144 | {
|
---|
145 | $this->workforceIdentitySettings = $workforceIdentitySettings;
|
---|
146 | }
|
---|
147 | /**
|
---|
148 | * @return WorkforceIdentitySettings
|
---|
149 | */
|
---|
150 | public function getWorkforceIdentitySettings()
|
---|
151 | {
|
---|
152 | return $this->workforceIdentitySettings;
|
---|
153 | }
|
---|
154 | }
|
---|
155 |
|
---|
156 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
157 | class_alias(AccessSettings::class, 'Google_Service_CloudIAP_AccessSettings');
|
---|