[e3d4e0a] | 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\CloudSearch;
|
---|
| 19 |
|
---|
| 20 | class PrincipalProto extends \Google\Model
|
---|
| 21 | {
|
---|
| 22 | protected $allAuthenticatedUsersType = AllAuthenticatedUsersProto::class;
|
---|
| 23 | protected $allAuthenticatedUsersDataType = '';
|
---|
| 24 | protected $capTokenHolderType = CapTokenHolderProto::class;
|
---|
| 25 | protected $capTokenHolderDataType = '';
|
---|
| 26 | protected $chatType = ChatProto::class;
|
---|
| 27 | protected $chatDataType = '';
|
---|
| 28 | protected $circleType = CircleProto::class;
|
---|
| 29 | protected $circleDataType = '';
|
---|
| 30 | protected $cloudPrincipalType = CloudPrincipalProto::class;
|
---|
| 31 | protected $cloudPrincipalDataType = '';
|
---|
| 32 | protected $contactGroupType = ContactGroupProto::class;
|
---|
| 33 | protected $contactGroupDataType = '';
|
---|
| 34 | protected $emailOwnerType = EmailOwnerProto::class;
|
---|
| 35 | protected $emailOwnerDataType = '';
|
---|
| 36 | protected $eventType = EventProto::class;
|
---|
| 37 | protected $eventDataType = '';
|
---|
| 38 | protected $gaiaGroupType = GaiaGroupProto::class;
|
---|
| 39 | protected $gaiaGroupDataType = '';
|
---|
| 40 | protected $gaiaUserType = GaiaUserProto::class;
|
---|
| 41 | protected $gaiaUserDataType = '';
|
---|
| 42 | protected $hostType = HostProto::class;
|
---|
| 43 | protected $hostDataType = '';
|
---|
| 44 | protected $ldapGroupType = LdapGroupProto::class;
|
---|
| 45 | protected $ldapGroupDataType = '';
|
---|
| 46 | protected $ldapUserType = LdapUserProto::class;
|
---|
| 47 | protected $ldapUserDataType = '';
|
---|
| 48 | protected $mdbGroupType = MdbGroupProto::class;
|
---|
| 49 | protected $mdbGroupDataType = '';
|
---|
| 50 | protected $mdbUserType = MdbUserProto::class;
|
---|
| 51 | protected $mdbUserDataType = '';
|
---|
| 52 | protected $oauthConsumerType = OAuthConsumerProto::class;
|
---|
| 53 | protected $oauthConsumerDataType = '';
|
---|
| 54 | protected $postiniUserType = PostiniUserProto::class;
|
---|
| 55 | protected $postiniUserDataType = '';
|
---|
| 56 | protected $rbacRoleType = RbacRoleProto::class;
|
---|
| 57 | protected $rbacRoleDataType = '';
|
---|
| 58 | protected $rbacSubjectType = RbacSubjectProto::class;
|
---|
| 59 | protected $rbacSubjectDataType = '';
|
---|
| 60 | protected $resourceRoleType = ResourceRoleProto::class;
|
---|
| 61 | protected $resourceRoleDataType = '';
|
---|
| 62 | /**
|
---|
| 63 | * @var string
|
---|
| 64 | */
|
---|
| 65 | public $scope;
|
---|
| 66 | protected $signingKeyPossessorType = SigningKeyPossessorProto::class;
|
---|
| 67 | protected $signingKeyPossessorDataType = '';
|
---|
| 68 | protected $simpleSecretHolderType = SimpleSecretHolderProto::class;
|
---|
| 69 | protected $simpleSecretHolderDataType = '';
|
---|
| 70 | protected $socialGraphNodeType = SocialGraphNodeProto::class;
|
---|
| 71 | protected $socialGraphNodeDataType = '';
|
---|
| 72 | protected $squareType = SquareProto::class;
|
---|
| 73 | protected $squareDataType = '';
|
---|
| 74 | protected $youtubeUserType = YoutubeUserProto::class;
|
---|
| 75 | protected $youtubeUserDataType = '';
|
---|
| 76 | protected $zwiebackSessionType = ZwiebackSessionProto::class;
|
---|
| 77 | protected $zwiebackSessionDataType = '';
|
---|
| 78 |
|
---|
| 79 | /**
|
---|
| 80 | * @param AllAuthenticatedUsersProto
|
---|
| 81 | */
|
---|
| 82 | public function setAllAuthenticatedUsers(AllAuthenticatedUsersProto $allAuthenticatedUsers)
|
---|
| 83 | {
|
---|
| 84 | $this->allAuthenticatedUsers = $allAuthenticatedUsers;
|
---|
| 85 | }
|
---|
| 86 | /**
|
---|
| 87 | * @return AllAuthenticatedUsersProto
|
---|
| 88 | */
|
---|
| 89 | public function getAllAuthenticatedUsers()
|
---|
| 90 | {
|
---|
| 91 | return $this->allAuthenticatedUsers;
|
---|
| 92 | }
|
---|
| 93 | /**
|
---|
| 94 | * @param CapTokenHolderProto
|
---|
| 95 | */
|
---|
| 96 | public function setCapTokenHolder(CapTokenHolderProto $capTokenHolder)
|
---|
| 97 | {
|
---|
| 98 | $this->capTokenHolder = $capTokenHolder;
|
---|
| 99 | }
|
---|
| 100 | /**
|
---|
| 101 | * @return CapTokenHolderProto
|
---|
| 102 | */
|
---|
| 103 | public function getCapTokenHolder()
|
---|
| 104 | {
|
---|
| 105 | return $this->capTokenHolder;
|
---|
| 106 | }
|
---|
| 107 | /**
|
---|
| 108 | * @param ChatProto
|
---|
| 109 | */
|
---|
| 110 | public function setChat(ChatProto $chat)
|
---|
| 111 | {
|
---|
| 112 | $this->chat = $chat;
|
---|
| 113 | }
|
---|
| 114 | /**
|
---|
| 115 | * @return ChatProto
|
---|
| 116 | */
|
---|
| 117 | public function getChat()
|
---|
| 118 | {
|
---|
| 119 | return $this->chat;
|
---|
| 120 | }
|
---|
| 121 | /**
|
---|
| 122 | * @param CircleProto
|
---|
| 123 | */
|
---|
| 124 | public function setCircle(CircleProto $circle)
|
---|
| 125 | {
|
---|
| 126 | $this->circle = $circle;
|
---|
| 127 | }
|
---|
| 128 | /**
|
---|
| 129 | * @return CircleProto
|
---|
| 130 | */
|
---|
| 131 | public function getCircle()
|
---|
| 132 | {
|
---|
| 133 | return $this->circle;
|
---|
| 134 | }
|
---|
| 135 | /**
|
---|
| 136 | * @param CloudPrincipalProto
|
---|
| 137 | */
|
---|
| 138 | public function setCloudPrincipal(CloudPrincipalProto $cloudPrincipal)
|
---|
| 139 | {
|
---|
| 140 | $this->cloudPrincipal = $cloudPrincipal;
|
---|
| 141 | }
|
---|
| 142 | /**
|
---|
| 143 | * @return CloudPrincipalProto
|
---|
| 144 | */
|
---|
| 145 | public function getCloudPrincipal()
|
---|
| 146 | {
|
---|
| 147 | return $this->cloudPrincipal;
|
---|
| 148 | }
|
---|
| 149 | /**
|
---|
| 150 | * @param ContactGroupProto
|
---|
| 151 | */
|
---|
| 152 | public function setContactGroup(ContactGroupProto $contactGroup)
|
---|
| 153 | {
|
---|
| 154 | $this->contactGroup = $contactGroup;
|
---|
| 155 | }
|
---|
| 156 | /**
|
---|
| 157 | * @return ContactGroupProto
|
---|
| 158 | */
|
---|
| 159 | public function getContactGroup()
|
---|
| 160 | {
|
---|
| 161 | return $this->contactGroup;
|
---|
| 162 | }
|
---|
| 163 | /**
|
---|
| 164 | * @param EmailOwnerProto
|
---|
| 165 | */
|
---|
| 166 | public function setEmailOwner(EmailOwnerProto $emailOwner)
|
---|
| 167 | {
|
---|
| 168 | $this->emailOwner = $emailOwner;
|
---|
| 169 | }
|
---|
| 170 | /**
|
---|
| 171 | * @return EmailOwnerProto
|
---|
| 172 | */
|
---|
| 173 | public function getEmailOwner()
|
---|
| 174 | {
|
---|
| 175 | return $this->emailOwner;
|
---|
| 176 | }
|
---|
| 177 | /**
|
---|
| 178 | * @param EventProto
|
---|
| 179 | */
|
---|
| 180 | public function setEvent(EventProto $event)
|
---|
| 181 | {
|
---|
| 182 | $this->event = $event;
|
---|
| 183 | }
|
---|
| 184 | /**
|
---|
| 185 | * @return EventProto
|
---|
| 186 | */
|
---|
| 187 | public function getEvent()
|
---|
| 188 | {
|
---|
| 189 | return $this->event;
|
---|
| 190 | }
|
---|
| 191 | /**
|
---|
| 192 | * @param GaiaGroupProto
|
---|
| 193 | */
|
---|
| 194 | public function setGaiaGroup(GaiaGroupProto $gaiaGroup)
|
---|
| 195 | {
|
---|
| 196 | $this->gaiaGroup = $gaiaGroup;
|
---|
| 197 | }
|
---|
| 198 | /**
|
---|
| 199 | * @return GaiaGroupProto
|
---|
| 200 | */
|
---|
| 201 | public function getGaiaGroup()
|
---|
| 202 | {
|
---|
| 203 | return $this->gaiaGroup;
|
---|
| 204 | }
|
---|
| 205 | /**
|
---|
| 206 | * @param GaiaUserProto
|
---|
| 207 | */
|
---|
| 208 | public function setGaiaUser(GaiaUserProto $gaiaUser)
|
---|
| 209 | {
|
---|
| 210 | $this->gaiaUser = $gaiaUser;
|
---|
| 211 | }
|
---|
| 212 | /**
|
---|
| 213 | * @return GaiaUserProto
|
---|
| 214 | */
|
---|
| 215 | public function getGaiaUser()
|
---|
| 216 | {
|
---|
| 217 | return $this->gaiaUser;
|
---|
| 218 | }
|
---|
| 219 | /**
|
---|
| 220 | * @param HostProto
|
---|
| 221 | */
|
---|
| 222 | public function setHost(HostProto $host)
|
---|
| 223 | {
|
---|
| 224 | $this->host = $host;
|
---|
| 225 | }
|
---|
| 226 | /**
|
---|
| 227 | * @return HostProto
|
---|
| 228 | */
|
---|
| 229 | public function getHost()
|
---|
| 230 | {
|
---|
| 231 | return $this->host;
|
---|
| 232 | }
|
---|
| 233 | /**
|
---|
| 234 | * @param LdapGroupProto
|
---|
| 235 | */
|
---|
| 236 | public function setLdapGroup(LdapGroupProto $ldapGroup)
|
---|
| 237 | {
|
---|
| 238 | $this->ldapGroup = $ldapGroup;
|
---|
| 239 | }
|
---|
| 240 | /**
|
---|
| 241 | * @return LdapGroupProto
|
---|
| 242 | */
|
---|
| 243 | public function getLdapGroup()
|
---|
| 244 | {
|
---|
| 245 | return $this->ldapGroup;
|
---|
| 246 | }
|
---|
| 247 | /**
|
---|
| 248 | * @param LdapUserProto
|
---|
| 249 | */
|
---|
| 250 | public function setLdapUser(LdapUserProto $ldapUser)
|
---|
| 251 | {
|
---|
| 252 | $this->ldapUser = $ldapUser;
|
---|
| 253 | }
|
---|
| 254 | /**
|
---|
| 255 | * @return LdapUserProto
|
---|
| 256 | */
|
---|
| 257 | public function getLdapUser()
|
---|
| 258 | {
|
---|
| 259 | return $this->ldapUser;
|
---|
| 260 | }
|
---|
| 261 | /**
|
---|
| 262 | * @param MdbGroupProto
|
---|
| 263 | */
|
---|
| 264 | public function setMdbGroup(MdbGroupProto $mdbGroup)
|
---|
| 265 | {
|
---|
| 266 | $this->mdbGroup = $mdbGroup;
|
---|
| 267 | }
|
---|
| 268 | /**
|
---|
| 269 | * @return MdbGroupProto
|
---|
| 270 | */
|
---|
| 271 | public function getMdbGroup()
|
---|
| 272 | {
|
---|
| 273 | return $this->mdbGroup;
|
---|
| 274 | }
|
---|
| 275 | /**
|
---|
| 276 | * @param MdbUserProto
|
---|
| 277 | */
|
---|
| 278 | public function setMdbUser(MdbUserProto $mdbUser)
|
---|
| 279 | {
|
---|
| 280 | $this->mdbUser = $mdbUser;
|
---|
| 281 | }
|
---|
| 282 | /**
|
---|
| 283 | * @return MdbUserProto
|
---|
| 284 | */
|
---|
| 285 | public function getMdbUser()
|
---|
| 286 | {
|
---|
| 287 | return $this->mdbUser;
|
---|
| 288 | }
|
---|
| 289 | /**
|
---|
| 290 | * @param OAuthConsumerProto
|
---|
| 291 | */
|
---|
| 292 | public function setOauthConsumer(OAuthConsumerProto $oauthConsumer)
|
---|
| 293 | {
|
---|
| 294 | $this->oauthConsumer = $oauthConsumer;
|
---|
| 295 | }
|
---|
| 296 | /**
|
---|
| 297 | * @return OAuthConsumerProto
|
---|
| 298 | */
|
---|
| 299 | public function getOauthConsumer()
|
---|
| 300 | {
|
---|
| 301 | return $this->oauthConsumer;
|
---|
| 302 | }
|
---|
| 303 | /**
|
---|
| 304 | * @param PostiniUserProto
|
---|
| 305 | */
|
---|
| 306 | public function setPostiniUser(PostiniUserProto $postiniUser)
|
---|
| 307 | {
|
---|
| 308 | $this->postiniUser = $postiniUser;
|
---|
| 309 | }
|
---|
| 310 | /**
|
---|
| 311 | * @return PostiniUserProto
|
---|
| 312 | */
|
---|
| 313 | public function getPostiniUser()
|
---|
| 314 | {
|
---|
| 315 | return $this->postiniUser;
|
---|
| 316 | }
|
---|
| 317 | /**
|
---|
| 318 | * @param RbacRoleProto
|
---|
| 319 | */
|
---|
| 320 | public function setRbacRole(RbacRoleProto $rbacRole)
|
---|
| 321 | {
|
---|
| 322 | $this->rbacRole = $rbacRole;
|
---|
| 323 | }
|
---|
| 324 | /**
|
---|
| 325 | * @return RbacRoleProto
|
---|
| 326 | */
|
---|
| 327 | public function getRbacRole()
|
---|
| 328 | {
|
---|
| 329 | return $this->rbacRole;
|
---|
| 330 | }
|
---|
| 331 | /**
|
---|
| 332 | * @param RbacSubjectProto
|
---|
| 333 | */
|
---|
| 334 | public function setRbacSubject(RbacSubjectProto $rbacSubject)
|
---|
| 335 | {
|
---|
| 336 | $this->rbacSubject = $rbacSubject;
|
---|
| 337 | }
|
---|
| 338 | /**
|
---|
| 339 | * @return RbacSubjectProto
|
---|
| 340 | */
|
---|
| 341 | public function getRbacSubject()
|
---|
| 342 | {
|
---|
| 343 | return $this->rbacSubject;
|
---|
| 344 | }
|
---|
| 345 | /**
|
---|
| 346 | * @param ResourceRoleProto
|
---|
| 347 | */
|
---|
| 348 | public function setResourceRole(ResourceRoleProto $resourceRole)
|
---|
| 349 | {
|
---|
| 350 | $this->resourceRole = $resourceRole;
|
---|
| 351 | }
|
---|
| 352 | /**
|
---|
| 353 | * @return ResourceRoleProto
|
---|
| 354 | */
|
---|
| 355 | public function getResourceRole()
|
---|
| 356 | {
|
---|
| 357 | return $this->resourceRole;
|
---|
| 358 | }
|
---|
| 359 | /**
|
---|
| 360 | * @param string
|
---|
| 361 | */
|
---|
| 362 | public function setScope($scope)
|
---|
| 363 | {
|
---|
| 364 | $this->scope = $scope;
|
---|
| 365 | }
|
---|
| 366 | /**
|
---|
| 367 | * @return string
|
---|
| 368 | */
|
---|
| 369 | public function getScope()
|
---|
| 370 | {
|
---|
| 371 | return $this->scope;
|
---|
| 372 | }
|
---|
| 373 | /**
|
---|
| 374 | * @param SigningKeyPossessorProto
|
---|
| 375 | */
|
---|
| 376 | public function setSigningKeyPossessor(SigningKeyPossessorProto $signingKeyPossessor)
|
---|
| 377 | {
|
---|
| 378 | $this->signingKeyPossessor = $signingKeyPossessor;
|
---|
| 379 | }
|
---|
| 380 | /**
|
---|
| 381 | * @return SigningKeyPossessorProto
|
---|
| 382 | */
|
---|
| 383 | public function getSigningKeyPossessor()
|
---|
| 384 | {
|
---|
| 385 | return $this->signingKeyPossessor;
|
---|
| 386 | }
|
---|
| 387 | /**
|
---|
| 388 | * @param SimpleSecretHolderProto
|
---|
| 389 | */
|
---|
| 390 | public function setSimpleSecretHolder(SimpleSecretHolderProto $simpleSecretHolder)
|
---|
| 391 | {
|
---|
| 392 | $this->simpleSecretHolder = $simpleSecretHolder;
|
---|
| 393 | }
|
---|
| 394 | /**
|
---|
| 395 | * @return SimpleSecretHolderProto
|
---|
| 396 | */
|
---|
| 397 | public function getSimpleSecretHolder()
|
---|
| 398 | {
|
---|
| 399 | return $this->simpleSecretHolder;
|
---|
| 400 | }
|
---|
| 401 | /**
|
---|
| 402 | * @param SocialGraphNodeProto
|
---|
| 403 | */
|
---|
| 404 | public function setSocialGraphNode(SocialGraphNodeProto $socialGraphNode)
|
---|
| 405 | {
|
---|
| 406 | $this->socialGraphNode = $socialGraphNode;
|
---|
| 407 | }
|
---|
| 408 | /**
|
---|
| 409 | * @return SocialGraphNodeProto
|
---|
| 410 | */
|
---|
| 411 | public function getSocialGraphNode()
|
---|
| 412 | {
|
---|
| 413 | return $this->socialGraphNode;
|
---|
| 414 | }
|
---|
| 415 | /**
|
---|
| 416 | * @param SquareProto
|
---|
| 417 | */
|
---|
| 418 | public function setSquare(SquareProto $square)
|
---|
| 419 | {
|
---|
| 420 | $this->square = $square;
|
---|
| 421 | }
|
---|
| 422 | /**
|
---|
| 423 | * @return SquareProto
|
---|
| 424 | */
|
---|
| 425 | public function getSquare()
|
---|
| 426 | {
|
---|
| 427 | return $this->square;
|
---|
| 428 | }
|
---|
| 429 | /**
|
---|
| 430 | * @param YoutubeUserProto
|
---|
| 431 | */
|
---|
| 432 | public function setYoutubeUser(YoutubeUserProto $youtubeUser)
|
---|
| 433 | {
|
---|
| 434 | $this->youtubeUser = $youtubeUser;
|
---|
| 435 | }
|
---|
| 436 | /**
|
---|
| 437 | * @return YoutubeUserProto
|
---|
| 438 | */
|
---|
| 439 | public function getYoutubeUser()
|
---|
| 440 | {
|
---|
| 441 | return $this->youtubeUser;
|
---|
| 442 | }
|
---|
| 443 | /**
|
---|
| 444 | * @param ZwiebackSessionProto
|
---|
| 445 | */
|
---|
| 446 | public function setZwiebackSession(ZwiebackSessionProto $zwiebackSession)
|
---|
| 447 | {
|
---|
| 448 | $this->zwiebackSession = $zwiebackSession;
|
---|
| 449 | }
|
---|
| 450 | /**
|
---|
| 451 | * @return ZwiebackSessionProto
|
---|
| 452 | */
|
---|
| 453 | public function getZwiebackSession()
|
---|
| 454 | {
|
---|
| 455 | return $this->zwiebackSession;
|
---|
| 456 | }
|
---|
| 457 | }
|
---|
| 458 |
|
---|
| 459 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 460 | class_alias(PrincipalProto::class, 'Google_Service_CloudSearch_PrincipalProto');
|
---|