[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\SecurityCommandCenter;
|
---|
| 19 |
|
---|
| 20 | class GoogleCloudSecuritycenterV1CustomConfig extends \Google\Model
|
---|
| 21 | {
|
---|
| 22 | protected $customOutputType = GoogleCloudSecuritycenterV1CustomOutputSpec::class;
|
---|
| 23 | protected $customOutputDataType = '';
|
---|
| 24 | /**
|
---|
| 25 | * @var string
|
---|
| 26 | */
|
---|
| 27 | public $description;
|
---|
| 28 | protected $predicateType = Expr::class;
|
---|
| 29 | protected $predicateDataType = '';
|
---|
| 30 | /**
|
---|
| 31 | * @var string
|
---|
| 32 | */
|
---|
| 33 | public $recommendation;
|
---|
| 34 | protected $resourceSelectorType = GoogleCloudSecuritycenterV1ResourceSelector::class;
|
---|
| 35 | protected $resourceSelectorDataType = '';
|
---|
| 36 | /**
|
---|
| 37 | * @var string
|
---|
| 38 | */
|
---|
| 39 | public $severity;
|
---|
| 40 |
|
---|
| 41 | /**
|
---|
| 42 | * @param GoogleCloudSecuritycenterV1CustomOutputSpec
|
---|
| 43 | */
|
---|
| 44 | public function setCustomOutput(GoogleCloudSecuritycenterV1CustomOutputSpec $customOutput)
|
---|
| 45 | {
|
---|
| 46 | $this->customOutput = $customOutput;
|
---|
| 47 | }
|
---|
| 48 | /**
|
---|
| 49 | * @return GoogleCloudSecuritycenterV1CustomOutputSpec
|
---|
| 50 | */
|
---|
| 51 | public function getCustomOutput()
|
---|
| 52 | {
|
---|
| 53 | return $this->customOutput;
|
---|
| 54 | }
|
---|
| 55 | /**
|
---|
| 56 | * @param string
|
---|
| 57 | */
|
---|
| 58 | public function setDescription($description)
|
---|
| 59 | {
|
---|
| 60 | $this->description = $description;
|
---|
| 61 | }
|
---|
| 62 | /**
|
---|
| 63 | * @return string
|
---|
| 64 | */
|
---|
| 65 | public function getDescription()
|
---|
| 66 | {
|
---|
| 67 | return $this->description;
|
---|
| 68 | }
|
---|
| 69 | /**
|
---|
| 70 | * @param Expr
|
---|
| 71 | */
|
---|
| 72 | public function setPredicate(Expr $predicate)
|
---|
| 73 | {
|
---|
| 74 | $this->predicate = $predicate;
|
---|
| 75 | }
|
---|
| 76 | /**
|
---|
| 77 | * @return Expr
|
---|
| 78 | */
|
---|
| 79 | public function getPredicate()
|
---|
| 80 | {
|
---|
| 81 | return $this->predicate;
|
---|
| 82 | }
|
---|
| 83 | /**
|
---|
| 84 | * @param string
|
---|
| 85 | */
|
---|
| 86 | public function setRecommendation($recommendation)
|
---|
| 87 | {
|
---|
| 88 | $this->recommendation = $recommendation;
|
---|
| 89 | }
|
---|
| 90 | /**
|
---|
| 91 | * @return string
|
---|
| 92 | */
|
---|
| 93 | public function getRecommendation()
|
---|
| 94 | {
|
---|
| 95 | return $this->recommendation;
|
---|
| 96 | }
|
---|
| 97 | /**
|
---|
| 98 | * @param GoogleCloudSecuritycenterV1ResourceSelector
|
---|
| 99 | */
|
---|
| 100 | public function setResourceSelector(GoogleCloudSecuritycenterV1ResourceSelector $resourceSelector)
|
---|
| 101 | {
|
---|
| 102 | $this->resourceSelector = $resourceSelector;
|
---|
| 103 | }
|
---|
| 104 | /**
|
---|
| 105 | * @return GoogleCloudSecuritycenterV1ResourceSelector
|
---|
| 106 | */
|
---|
| 107 | public function getResourceSelector()
|
---|
| 108 | {
|
---|
| 109 | return $this->resourceSelector;
|
---|
| 110 | }
|
---|
| 111 | /**
|
---|
| 112 | * @param string
|
---|
| 113 | */
|
---|
| 114 | public function setSeverity($severity)
|
---|
| 115 | {
|
---|
| 116 | $this->severity = $severity;
|
---|
| 117 | }
|
---|
| 118 | /**
|
---|
| 119 | * @return string
|
---|
| 120 | */
|
---|
| 121 | public function getSeverity()
|
---|
| 122 | {
|
---|
| 123 | return $this->severity;
|
---|
| 124 | }
|
---|
| 125 | }
|
---|
| 126 |
|
---|
| 127 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 128 | class_alias(GoogleCloudSecuritycenterV1CustomConfig::class, 'Google_Service_SecurityCommandCenter_GoogleCloudSecuritycenterV1CustomConfig');
|
---|