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\CloudIAP; 19 20class AccessSettings extends \Google\Model 21{ 22 protected $corsSettingsType = CorsSettings::class; 23 protected $corsSettingsDataType = ''; 24 protected $gcipSettingsType = GcipSettings::class; 25 protected $gcipSettingsDataType = ''; 26 protected $oauthSettingsType = OAuthSettings::class; 27 protected $oauthSettingsDataType = ''; 28 protected $policyDelegationSettingsType = PolicyDelegationSettings::class; 29 protected $policyDelegationSettingsDataType = ''; 30 protected $reauthSettingsType = ReauthSettings::class; 31 protected $reauthSettingsDataType = ''; 32 33 /** 34 * @param CorsSettings 35 */ 36 public function setCorsSettings(CorsSettings $corsSettings) 37 { 38 $this->corsSettings = $corsSettings; 39 } 40 /** 41 * @return CorsSettings 42 */ 43 public function getCorsSettings() 44 { 45 return $this->corsSettings; 46 } 47 /** 48 * @param GcipSettings 49 */ 50 public function setGcipSettings(GcipSettings $gcipSettings) 51 { 52 $this->gcipSettings = $gcipSettings; 53 } 54 /** 55 * @return GcipSettings 56 */ 57 public function getGcipSettings() 58 { 59 return $this->gcipSettings; 60 } 61 /** 62 * @param OAuthSettings 63 */ 64 public function setOauthSettings(OAuthSettings $oauthSettings) 65 { 66 $this->oauthSettings = $oauthSettings; 67 } 68 /** 69 * @return OAuthSettings 70 */ 71 public function getOauthSettings() 72 { 73 return $this->oauthSettings; 74 } 75 /** 76 * @param PolicyDelegationSettings 77 */ 78 public function setPolicyDelegationSettings(PolicyDelegationSettings $policyDelegationSettings) 79 { 80 $this->policyDelegationSettings = $policyDelegationSettings; 81 } 82 /** 83 * @return PolicyDelegationSettings 84 */ 85 public function getPolicyDelegationSettings() 86 { 87 return $this->policyDelegationSettings; 88 } 89 /** 90 * @param ReauthSettings 91 */ 92 public function setReauthSettings(ReauthSettings $reauthSettings) 93 { 94 $this->reauthSettings = $reauthSettings; 95 } 96 /** 97 * @return ReauthSettings 98 */ 99 public function getReauthSettings() 100 { 101 return $this->reauthSettings; 102 } 103} 104 105// Adding a class alias for backwards compatibility with the previous class name. 106class_alias(AccessSettings::class, 'Google_Service_CloudIAP_AccessSettings'); 107