📄 Source: GoogleCloudSecuritycenterV2IssueMute.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 GoogleCloudSecuritycenterV2IssueMute extends \Google\Model
{
/**
* Unspecified mute state.
*/
public const MUTE_STATE_MUTE_STATE_UNSPECIFIED = 'MUTE_STATE_UNSPECIFIED';
/**
* Not muted.
*/
public const MUTE_STATE_NOT_MUTED = 'NOT_MUTED';
/**
* Muted.
*/
public const MUTE_STATE_MUTED = 'MUTED';
/**
* The email address of the user who last changed the mute state of the issue.
*
* @var string
*/
public $muteInitiator;
/**
* The user-provided reason for muting the issue.
*
* @var string
*/
public $muteReason;
/**
* Output only. The mute state of the issue.
*
* @var string
*/
public $muteState;
/**
* The time the issue was muted.
*
* @var string
*/
public $muteUpdateTime;
/**
* The email address of the user who last changed the mute state of the issue.
*
* @param string $muteInitiator
*/
public function setMuteInitiator($muteInitiator)
{
$this->muteInitiator = $muteInitiator;
}
/**
* @return string
*/
public function getMuteInitiator()
{
return $this->muteInitiator;
}
/**
* The user-provided reason for muting the issue.
*
* @param string $muteReason
*/
public function setMuteReason($muteReason)
{
$this->muteReason = $muteReason;
}
/**
* @return string
*/
public function getMuteReason()
{
return $this->muteReason;
}
/**
* Output only. The mute state of the issue.
*
* Accepted values: MUTE_STATE_UNSPECIFIED, NOT_MUTED, MUTED
*
* @param self::MUTE_STATE_* $muteState
*/
public function setMuteState($muteState)
{
$this->muteState = $muteState;
}
/**
* @return self::MUTE_STATE_*
*/
public function getMuteState()
{
return $this->muteState;
}
/**
* The time the issue was muted.
*
* @param string $muteUpdateTime
*/
public function setMuteUpdateTime($muteUpdateTime)
{
$this->muteUpdateTime = $muteUpdateTime;
}
/**
* @return string
*/
public function getMuteUpdateTime()
{
return $this->muteUpdateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudSecuritycenterV2IssueMute::class, 'Google_Service_SecurityCommandCenter_GoogleCloudSecuritycenterV2IssueMute');
← Back