| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288 |
- <?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 GoogleCloudSecuritycenterV2ExternalSystem extends \Google\Collection
- {
- protected $collection_key = 'assignees';
- /**
- * References primary/secondary etc assignees in the external system.
- *
- * @var string[]
- */
- public $assignees;
- /**
- * The time when the case was closed, as reported by the external system.
- *
- * @var string
- */
- public $caseCloseTime;
- /**
- * The time when the case was created, as reported by the external system.
- *
- * @var string
- */
- public $caseCreateTime;
- /**
- * The priority of the finding's corresponding case in the external system.
- *
- * @var string
- */
- public $casePriority;
- /**
- * The SLA of the finding's corresponding case in the external system.
- *
- * @var string
- */
- public $caseSla;
- /**
- * The link to the finding's corresponding case in the external system.
- *
- * @var string
- */
- public $caseUri;
- /**
- * The time when the case was last updated, as reported by the external
- * system.
- *
- * @var string
- */
- public $externalSystemUpdateTime;
- /**
- * The identifier that's used to track the finding's corresponding case in the
- * external system.
- *
- * @var string
- */
- public $externalUid;
- /**
- * Full resource name of the external system. The following list shows some
- * examples: +
- * `organizations/1234/sources/5678/findings/123456/externalSystems/jira` + `o
- * rganizations/1234/sources/5678/locations/us/findings/123456/externalSystems
- * /jira` + `folders/1234/sources/5678/findings/123456/externalSystems/jira` +
- * `folders/1234/sources/5678/locations/us/findings/123456/externalSystems/jir
- * a` + `projects/1234/sources/5678/findings/123456/externalSystems/jira` + `p
- * rojects/1234/sources/5678/locations/us/findings/123456/externalSystems/jira
- * `
- *
- * @var string
- */
- public $name;
- /**
- * The most recent status of the finding's corresponding case, as reported by
- * the external system.
- *
- * @var string
- */
- public $status;
- protected $ticketInfoType = GoogleCloudSecuritycenterV2TicketInfo::class;
- protected $ticketInfoDataType = '';
- /**
- * References primary/secondary etc assignees in the external system.
- *
- * @param string[] $assignees
- */
- public function setAssignees($assignees)
- {
- $this->assignees = $assignees;
- }
- /**
- * @return string[]
- */
- public function getAssignees()
- {
- return $this->assignees;
- }
- /**
- * The time when the case was closed, as reported by the external system.
- *
- * @param string $caseCloseTime
- */
- public function setCaseCloseTime($caseCloseTime)
- {
- $this->caseCloseTime = $caseCloseTime;
- }
- /**
- * @return string
- */
- public function getCaseCloseTime()
- {
- return $this->caseCloseTime;
- }
- /**
- * The time when the case was created, as reported by the external system.
- *
- * @param string $caseCreateTime
- */
- public function setCaseCreateTime($caseCreateTime)
- {
- $this->caseCreateTime = $caseCreateTime;
- }
- /**
- * @return string
- */
- public function getCaseCreateTime()
- {
- return $this->caseCreateTime;
- }
- /**
- * The priority of the finding's corresponding case in the external system.
- *
- * @param string $casePriority
- */
- public function setCasePriority($casePriority)
- {
- $this->casePriority = $casePriority;
- }
- /**
- * @return string
- */
- public function getCasePriority()
- {
- return $this->casePriority;
- }
- /**
- * The SLA of the finding's corresponding case in the external system.
- *
- * @param string $caseSla
- */
- public function setCaseSla($caseSla)
- {
- $this->caseSla = $caseSla;
- }
- /**
- * @return string
- */
- public function getCaseSla()
- {
- return $this->caseSla;
- }
- /**
- * The link to the finding's corresponding case in the external system.
- *
- * @param string $caseUri
- */
- public function setCaseUri($caseUri)
- {
- $this->caseUri = $caseUri;
- }
- /**
- * @return string
- */
- public function getCaseUri()
- {
- return $this->caseUri;
- }
- /**
- * The time when the case was last updated, as reported by the external
- * system.
- *
- * @param string $externalSystemUpdateTime
- */
- public function setExternalSystemUpdateTime($externalSystemUpdateTime)
- {
- $this->externalSystemUpdateTime = $externalSystemUpdateTime;
- }
- /**
- * @return string
- */
- public function getExternalSystemUpdateTime()
- {
- return $this->externalSystemUpdateTime;
- }
- /**
- * The identifier that's used to track the finding's corresponding case in the
- * external system.
- *
- * @param string $externalUid
- */
- public function setExternalUid($externalUid)
- {
- $this->externalUid = $externalUid;
- }
- /**
- * @return string
- */
- public function getExternalUid()
- {
- return $this->externalUid;
- }
- /**
- * Full resource name of the external system. The following list shows some
- * examples: +
- * `organizations/1234/sources/5678/findings/123456/externalSystems/jira` + `o
- * rganizations/1234/sources/5678/locations/us/findings/123456/externalSystems
- * /jira` + `folders/1234/sources/5678/findings/123456/externalSystems/jira` +
- * `folders/1234/sources/5678/locations/us/findings/123456/externalSystems/jir
- * a` + `projects/1234/sources/5678/findings/123456/externalSystems/jira` + `p
- * rojects/1234/sources/5678/locations/us/findings/123456/externalSystems/jira
- * `
- *
- * @param string $name
- */
- public function setName($name)
- {
- $this->name = $name;
- }
- /**
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
- /**
- * The most recent status of the finding's corresponding case, as reported by
- * the external system.
- *
- * @param string $status
- */
- public function setStatus($status)
- {
- $this->status = $status;
- }
- /**
- * @return string
- */
- public function getStatus()
- {
- return $this->status;
- }
- /**
- * Information about the ticket, if any, that is being used to track the
- * resolution of the issue that is identified by this finding.
- *
- * @param GoogleCloudSecuritycenterV2TicketInfo $ticketInfo
- */
- public function setTicketInfo(GoogleCloudSecuritycenterV2TicketInfo $ticketInfo)
- {
- $this->ticketInfo = $ticketInfo;
- }
- /**
- * @return GoogleCloudSecuritycenterV2TicketInfo
- */
- public function getTicketInfo()
- {
- return $this->ticketInfo;
- }
- }
- // Adding a class alias for backwards compatibility with the previous class name.
- class_alias(GoogleCloudSecuritycenterV2ExternalSystem::class, 'Google_Service_SecurityCommandCenter_GoogleCloudSecuritycenterV2ExternalSystem');
|