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\CloudAsset; 19 20class IamPolicyAnalysisQuery extends \Google\Model 21{ 22 protected $accessSelectorType = AccessSelector::class; 23 protected $accessSelectorDataType = ''; 24 protected $conditionContextType = ConditionContext::class; 25 protected $conditionContextDataType = ''; 26 protected $identitySelectorType = IdentitySelector::class; 27 protected $identitySelectorDataType = ''; 28 protected $optionsType = Options::class; 29 protected $optionsDataType = ''; 30 protected $resourceSelectorType = ResourceSelector::class; 31 protected $resourceSelectorDataType = ''; 32 /** 33 * @var string 34 */ 35 public $scope; 36 37 /** 38 * @param AccessSelector 39 */ 40 public function setAccessSelector(AccessSelector $accessSelector) 41 { 42 $this->accessSelector = $accessSelector; 43 } 44 /** 45 * @return AccessSelector 46 */ 47 public function getAccessSelector() 48 { 49 return $this->accessSelector; 50 } 51 /** 52 * @param ConditionContext 53 */ 54 public function setConditionContext(ConditionContext $conditionContext) 55 { 56 $this->conditionContext = $conditionContext; 57 } 58 /** 59 * @return ConditionContext 60 */ 61 public function getConditionContext() 62 { 63 return $this->conditionContext; 64 } 65 /** 66 * @param IdentitySelector 67 */ 68 public function setIdentitySelector(IdentitySelector $identitySelector) 69 { 70 $this->identitySelector = $identitySelector; 71 } 72 /** 73 * @return IdentitySelector 74 */ 75 public function getIdentitySelector() 76 { 77 return $this->identitySelector; 78 } 79 /** 80 * @param Options 81 */ 82 public function setOptions(Options $options) 83 { 84 $this->options = $options; 85 } 86 /** 87 * @return Options 88 */ 89 public function getOptions() 90 { 91 return $this->options; 92 } 93 /** 94 * @param ResourceSelector 95 */ 96 public function setResourceSelector(ResourceSelector $resourceSelector) 97 { 98 $this->resourceSelector = $resourceSelector; 99 } 100 /** 101 * @return ResourceSelector 102 */ 103 public function getResourceSelector() 104 { 105 return $this->resourceSelector; 106 } 107 /** 108 * @param string 109 */ 110 public function setScope($scope) 111 { 112 $this->scope = $scope; 113 } 114 /** 115 * @return string 116 */ 117 public function getScope() 118 { 119 return $this->scope; 120 } 121} 122 123// Adding a class alias for backwards compatibility with the previous class name. 124class_alias(IamPolicyAnalysisQuery::class, 'Google_Service_CloudAsset_IamPolicyAnalysisQuery'); 125