Skip to content

Commit 42504e2

Browse files
1 parent 5eef67e commit 42504e2

5 files changed

Lines changed: 255 additions & 0 deletions

src/SecurityCommandCenter/GoogleCloudSecuritycenterV2IssueResourceApplication.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,27 @@
1919

2020
class GoogleCloudSecuritycenterV2IssueResourceApplication extends \Google\Model
2121
{
22+
protected $attributesType = GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes::class;
23+
protected $attributesDataType = '';
2224
/**
2325
* @var string
2426
*/
2527
public $name;
2628

29+
/**
30+
* @param GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes
31+
*/
32+
public function setAttributes(GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes $attributes)
33+
{
34+
$this->attributes = $attributes;
35+
}
36+
/**
37+
* @return GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes
38+
*/
39+
public function getAttributes()
40+
{
41+
return $this->attributes;
42+
}
2743
/**
2844
* @param string
2945
*/
Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
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 GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes extends \Google\Collection
21+
{
22+
protected $collection_key = 'operatorOwners';
23+
protected $businessOwnersType = GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo::class;
24+
protected $businessOwnersDataType = 'array';
25+
protected $criticalityType = GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality::class;
26+
protected $criticalityDataType = '';
27+
protected $developerOwnersType = GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo::class;
28+
protected $developerOwnersDataType = 'array';
29+
protected $environmentType = GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment::class;
30+
protected $environmentDataType = '';
31+
protected $operatorOwnersType = GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo::class;
32+
protected $operatorOwnersDataType = 'array';
33+
34+
/**
35+
* @param GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo[]
36+
*/
37+
public function setBusinessOwners($businessOwners)
38+
{
39+
$this->businessOwners = $businessOwners;
40+
}
41+
/**
42+
* @return GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo[]
43+
*/
44+
public function getBusinessOwners()
45+
{
46+
return $this->businessOwners;
47+
}
48+
/**
49+
* @param GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality
50+
*/
51+
public function setCriticality(GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality $criticality)
52+
{
53+
$this->criticality = $criticality;
54+
}
55+
/**
56+
* @return GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality
57+
*/
58+
public function getCriticality()
59+
{
60+
return $this->criticality;
61+
}
62+
/**
63+
* @param GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo[]
64+
*/
65+
public function setDeveloperOwners($developerOwners)
66+
{
67+
$this->developerOwners = $developerOwners;
68+
}
69+
/**
70+
* @return GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo[]
71+
*/
72+
public function getDeveloperOwners()
73+
{
74+
return $this->developerOwners;
75+
}
76+
/**
77+
* @param GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment
78+
*/
79+
public function setEnvironment(GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment $environment)
80+
{
81+
$this->environment = $environment;
82+
}
83+
/**
84+
* @return GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment
85+
*/
86+
public function getEnvironment()
87+
{
88+
return $this->environment;
89+
}
90+
/**
91+
* @param GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo[]
92+
*/
93+
public function setOperatorOwners($operatorOwners)
94+
{
95+
$this->operatorOwners = $operatorOwners;
96+
}
97+
/**
98+
* @return GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo[]
99+
*/
100+
public function getOperatorOwners()
101+
{
102+
return $this->operatorOwners;
103+
}
104+
}
105+
106+
// Adding a class alias for backwards compatibility with the previous class name.
107+
class_alias(GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes::class, 'Google_Service_SecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes');
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
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 GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo extends \Google\Model
21+
{
22+
/**
23+
* @var string
24+
*/
25+
public $email;
26+
27+
/**
28+
* @param string
29+
*/
30+
public function setEmail($email)
31+
{
32+
$this->email = $email;
33+
}
34+
/**
35+
* @return string
36+
*/
37+
public function getEmail()
38+
{
39+
return $this->email;
40+
}
41+
}
42+
43+
// Adding a class alias for backwards compatibility with the previous class name.
44+
class_alias(GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo::class, 'Google_Service_SecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo');
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
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 GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality extends \Google\Model
21+
{
22+
/**
23+
* @var string
24+
*/
25+
public $type;
26+
27+
/**
28+
* @param string
29+
*/
30+
public function setType($type)
31+
{
32+
$this->type = $type;
33+
}
34+
/**
35+
* @return string
36+
*/
37+
public function getType()
38+
{
39+
return $this->type;
40+
}
41+
}
42+
43+
// Adding a class alias for backwards compatibility with the previous class name.
44+
class_alias(GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality::class, 'Google_Service_SecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality');
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
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 GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment extends \Google\Model
21+
{
22+
/**
23+
* @var string
24+
*/
25+
public $type;
26+
27+
/**
28+
* @param string
29+
*/
30+
public function setType($type)
31+
{
32+
$this->type = $type;
33+
}
34+
/**
35+
* @return string
36+
*/
37+
public function getType()
38+
{
39+
return $this->type;
40+
}
41+
}
42+
43+
// Adding a class alias for backwards compatibility with the previous class name.
44+
class_alias(GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment::class, 'Google_Service_SecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment');

0 commit comments

Comments
 (0)