118 lines
4.1 KiB
PHP
118 lines
4.1 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 GoogleCloudSecuritycenterV2ResourceApplicationAttributes extends \Google\Collection
|
|
{
|
|
protected $collection_key = 'operatorOwners';
|
|
protected $businessOwnersType = GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo::class;
|
|
protected $businessOwnersDataType = 'array';
|
|
protected $criticalityType = GoogleCloudSecuritycenterV2ResourceApplicationAttributesCriticality::class;
|
|
protected $criticalityDataType = '';
|
|
protected $developerOwnersType = GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo::class;
|
|
protected $developerOwnersDataType = 'array';
|
|
protected $environmentType = GoogleCloudSecuritycenterV2ResourceApplicationAttributesEnvironment::class;
|
|
protected $environmentDataType = '';
|
|
protected $operatorOwnersType = GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo::class;
|
|
protected $operatorOwnersDataType = 'array';
|
|
|
|
/**
|
|
* Business team that ensures user needs are met and value is delivered
|
|
*
|
|
* @param GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo[] $businessOwners
|
|
*/
|
|
public function setBusinessOwners($businessOwners)
|
|
{
|
|
$this->businessOwners = $businessOwners;
|
|
}
|
|
/**
|
|
* @return GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo[]
|
|
*/
|
|
public function getBusinessOwners()
|
|
{
|
|
return $this->businessOwners;
|
|
}
|
|
/**
|
|
* User-defined criticality information.
|
|
*
|
|
* @param GoogleCloudSecuritycenterV2ResourceApplicationAttributesCriticality $criticality
|
|
*/
|
|
public function setCriticality(GoogleCloudSecuritycenterV2ResourceApplicationAttributesCriticality $criticality)
|
|
{
|
|
$this->criticality = $criticality;
|
|
}
|
|
/**
|
|
* @return GoogleCloudSecuritycenterV2ResourceApplicationAttributesCriticality
|
|
*/
|
|
public function getCriticality()
|
|
{
|
|
return $this->criticality;
|
|
}
|
|
/**
|
|
* Developer team that owns development and coding.
|
|
*
|
|
* @param GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo[] $developerOwners
|
|
*/
|
|
public function setDeveloperOwners($developerOwners)
|
|
{
|
|
$this->developerOwners = $developerOwners;
|
|
}
|
|
/**
|
|
* @return GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo[]
|
|
*/
|
|
public function getDeveloperOwners()
|
|
{
|
|
return $this->developerOwners;
|
|
}
|
|
/**
|
|
* User-defined environment information.
|
|
*
|
|
* @param GoogleCloudSecuritycenterV2ResourceApplicationAttributesEnvironment $environment
|
|
*/
|
|
public function setEnvironment(GoogleCloudSecuritycenterV2ResourceApplicationAttributesEnvironment $environment)
|
|
{
|
|
$this->environment = $environment;
|
|
}
|
|
/**
|
|
* @return GoogleCloudSecuritycenterV2ResourceApplicationAttributesEnvironment
|
|
*/
|
|
public function getEnvironment()
|
|
{
|
|
return $this->environment;
|
|
}
|
|
/**
|
|
* Operator team that ensures runtime and operations.
|
|
*
|
|
* @param GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo[] $operatorOwners
|
|
*/
|
|
public function setOperatorOwners($operatorOwners)
|
|
{
|
|
$this->operatorOwners = $operatorOwners;
|
|
}
|
|
/**
|
|
* @return GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo[]
|
|
*/
|
|
public function getOperatorOwners()
|
|
{
|
|
return $this->operatorOwners;
|
|
}
|
|
}
|
|
|
|
// Adding a class alias for backwards compatibility with the previous class name.
|
|
class_alias(GoogleCloudSecuritycenterV2ResourceApplicationAttributes::class, 'Google_Service_SecurityCommandCenter_GoogleCloudSecuritycenterV2ResourceApplicationAttributes');
|