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\RemoteBuildExecution; 19 20class GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance extends \Google\Model 21{ 22 protected $featurePolicyType = GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy::class; 23 protected $featurePolicyDataType = ''; 24 public $location; 25 public $loggingEnabled; 26 public $name; 27 public $state; 28 29 /** 30 * @param GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy 31 */ 32 public function setFeaturePolicy(GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy $featurePolicy) 33 { 34 $this->featurePolicy = $featurePolicy; 35 } 36 /** 37 * @return GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy 38 */ 39 public function getFeaturePolicy() 40 { 41 return $this->featurePolicy; 42 } 43 public function setLocation($location) 44 { 45 $this->location = $location; 46 } 47 public function getLocation() 48 { 49 return $this->location; 50 } 51 public function setLoggingEnabled($loggingEnabled) 52 { 53 $this->loggingEnabled = $loggingEnabled; 54 } 55 public function getLoggingEnabled() 56 { 57 return $this->loggingEnabled; 58 } 59 public function setName($name) 60 { 61 $this->name = $name; 62 } 63 public function getName() 64 { 65 return $this->name; 66 } 67 public function setState($state) 68 { 69 $this->state = $state; 70 } 71 public function getState() 72 { 73 return $this->state; 74 } 75} 76 77// Adding a class alias for backwards compatibility with the previous class name. 78class_alias(GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance::class, 'Google_Service_RemoteBuildExecution_GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance'); 79