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\CloudAsset;
|
---|
19 |
|
---|
20 | class GoogleCloudAssetV1DeniedAccessDenyDetail extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'resources';
|
---|
23 | protected $accessesType = GoogleCloudAssetV1DeniedAccessAccess::class;
|
---|
24 | protected $accessesDataType = 'array';
|
---|
25 | protected $denyRuleType = GoogleIamV2DenyRule::class;
|
---|
26 | protected $denyRuleDataType = '';
|
---|
27 | /**
|
---|
28 | * @var bool
|
---|
29 | */
|
---|
30 | public $fullyDenied;
|
---|
31 | protected $identitiesType = GoogleCloudAssetV1DeniedAccessIdentity::class;
|
---|
32 | protected $identitiesDataType = 'array';
|
---|
33 | protected $resourcesType = GoogleCloudAssetV1DeniedAccessResource::class;
|
---|
34 | protected $resourcesDataType = 'array';
|
---|
35 |
|
---|
36 | /**
|
---|
37 | * @param GoogleCloudAssetV1DeniedAccessAccess[]
|
---|
38 | */
|
---|
39 | public function setAccesses($accesses)
|
---|
40 | {
|
---|
41 | $this->accesses = $accesses;
|
---|
42 | }
|
---|
43 | /**
|
---|
44 | * @return GoogleCloudAssetV1DeniedAccessAccess[]
|
---|
45 | */
|
---|
46 | public function getAccesses()
|
---|
47 | {
|
---|
48 | return $this->accesses;
|
---|
49 | }
|
---|
50 | /**
|
---|
51 | * @param GoogleIamV2DenyRule
|
---|
52 | */
|
---|
53 | public function setDenyRule(GoogleIamV2DenyRule $denyRule)
|
---|
54 | {
|
---|
55 | $this->denyRule = $denyRule;
|
---|
56 | }
|
---|
57 | /**
|
---|
58 | * @return GoogleIamV2DenyRule
|
---|
59 | */
|
---|
60 | public function getDenyRule()
|
---|
61 | {
|
---|
62 | return $this->denyRule;
|
---|
63 | }
|
---|
64 | /**
|
---|
65 | * @param bool
|
---|
66 | */
|
---|
67 | public function setFullyDenied($fullyDenied)
|
---|
68 | {
|
---|
69 | $this->fullyDenied = $fullyDenied;
|
---|
70 | }
|
---|
71 | /**
|
---|
72 | * @return bool
|
---|
73 | */
|
---|
74 | public function getFullyDenied()
|
---|
75 | {
|
---|
76 | return $this->fullyDenied;
|
---|
77 | }
|
---|
78 | /**
|
---|
79 | * @param GoogleCloudAssetV1DeniedAccessIdentity[]
|
---|
80 | */
|
---|
81 | public function setIdentities($identities)
|
---|
82 | {
|
---|
83 | $this->identities = $identities;
|
---|
84 | }
|
---|
85 | /**
|
---|
86 | * @return GoogleCloudAssetV1DeniedAccessIdentity[]
|
---|
87 | */
|
---|
88 | public function getIdentities()
|
---|
89 | {
|
---|
90 | return $this->identities;
|
---|
91 | }
|
---|
92 | /**
|
---|
93 | * @param GoogleCloudAssetV1DeniedAccessResource[]
|
---|
94 | */
|
---|
95 | public function setResources($resources)
|
---|
96 | {
|
---|
97 | $this->resources = $resources;
|
---|
98 | }
|
---|
99 | /**
|
---|
100 | * @return GoogleCloudAssetV1DeniedAccessResource[]
|
---|
101 | */
|
---|
102 | public function getResources()
|
---|
103 | {
|
---|
104 | return $this->resources;
|
---|
105 | }
|
---|
106 | }
|
---|
107 |
|
---|
108 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
109 | class_alias(GoogleCloudAssetV1DeniedAccessDenyDetail::class, 'Google_Service_CloudAsset_GoogleCloudAssetV1DeniedAccessDenyDetail');
|
---|