119 lines
3.4 KiB
PHP
119 lines
3.4 KiB
PHP
<?php
|
|
/*
|
|
* Copyright 2014 Google Inc.
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
|
* use this file except in compliance with the License. You may obtain a copy of
|
|
* the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
* License for the specific language governing permissions and limitations under
|
|
* the License.
|
|
*/
|
|
|
|
namespace Google\Service\SecurityCommandCenter;
|
|
|
|
class GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping extends \Google\Model
|
|
{
|
|
/**
|
|
* Unspecific value
|
|
*/
|
|
public const HIGH_SENSITIVITY_MAPPING_RESOURCE_VALUE_UNSPECIFIED = 'RESOURCE_VALUE_UNSPECIFIED';
|
|
/**
|
|
* High resource value
|
|
*/
|
|
public const HIGH_SENSITIVITY_MAPPING_HIGH = 'HIGH';
|
|
/**
|
|
* Medium resource value
|
|
*/
|
|
public const HIGH_SENSITIVITY_MAPPING_MEDIUM = 'MEDIUM';
|
|
/**
|
|
* Low resource value
|
|
*/
|
|
public const HIGH_SENSITIVITY_MAPPING_LOW = 'LOW';
|
|
/**
|
|
* No resource value, e.g. ignore these resources
|
|
*/
|
|
public const HIGH_SENSITIVITY_MAPPING_NONE = 'NONE';
|
|
/**
|
|
* Unspecific value
|
|
*/
|
|
public const MEDIUM_SENSITIVITY_MAPPING_RESOURCE_VALUE_UNSPECIFIED = 'RESOURCE_VALUE_UNSPECIFIED';
|
|
/**
|
|
* High resource value
|
|
*/
|
|
public const MEDIUM_SENSITIVITY_MAPPING_HIGH = 'HIGH';
|
|
/**
|
|
* Medium resource value
|
|
*/
|
|
public const MEDIUM_SENSITIVITY_MAPPING_MEDIUM = 'MEDIUM';
|
|
/**
|
|
* Low resource value
|
|
*/
|
|
public const MEDIUM_SENSITIVITY_MAPPING_LOW = 'LOW';
|
|
/**
|
|
* No resource value, e.g. ignore these resources
|
|
*/
|
|
public const MEDIUM_SENSITIVITY_MAPPING_NONE = 'NONE';
|
|
/**
|
|
* Resource value mapping for high-sensitivity Sensitive Data Protection
|
|
* findings
|
|
*
|
|
* @var string
|
|
*/
|
|
public $highSensitivityMapping;
|
|
/**
|
|
* Resource value mapping for medium-sensitivity Sensitive Data Protection
|
|
* findings
|
|
*
|
|
* @var string
|
|
*/
|
|
public $mediumSensitivityMapping;
|
|
|
|
/**
|
|
* Resource value mapping for high-sensitivity Sensitive Data Protection
|
|
* findings
|
|
*
|
|
* Accepted values: RESOURCE_VALUE_UNSPECIFIED, HIGH, MEDIUM, LOW, NONE
|
|
*
|
|
* @param self::HIGH_SENSITIVITY_MAPPING_* $highSensitivityMapping
|
|
*/
|
|
public function setHighSensitivityMapping($highSensitivityMapping)
|
|
{
|
|
$this->highSensitivityMapping = $highSensitivityMapping;
|
|
}
|
|
/**
|
|
* @return self::HIGH_SENSITIVITY_MAPPING_*
|
|
*/
|
|
public function getHighSensitivityMapping()
|
|
{
|
|
return $this->highSensitivityMapping;
|
|
}
|
|
/**
|
|
* Resource value mapping for medium-sensitivity Sensitive Data Protection
|
|
* findings
|
|
*
|
|
* Accepted values: RESOURCE_VALUE_UNSPECIFIED, HIGH, MEDIUM, LOW, NONE
|
|
*
|
|
* @param self::MEDIUM_SENSITIVITY_MAPPING_* $mediumSensitivityMapping
|
|
*/
|
|
public function setMediumSensitivityMapping($mediumSensitivityMapping)
|
|
{
|
|
$this->mediumSensitivityMapping = $mediumSensitivityMapping;
|
|
}
|
|
/**
|
|
* @return self::MEDIUM_SENSITIVITY_MAPPING_*
|
|
*/
|
|
public function getMediumSensitivityMapping()
|
|
{
|
|
return $this->mediumSensitivityMapping;
|
|
}
|
|
}
|
|
|
|
// Adding a class alias for backwards compatibility with the previous class name.
|
|
class_alias(GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping::class, 'Google_Service_SecurityCommandCenter_GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping');
|