source: vendor/google/apiclient-services/src/SecurityCommandCenter/GoogleCloudSecuritycenterV2Resource.php@ e3d4e0a

Last change on this file since e3d4e0a was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 4.5 KB
Line 
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
18namespace Google\Service\SecurityCommandCenter;
19
20class GoogleCloudSecuritycenterV2Resource extends \Google\Model
21{
22 protected $awsMetadataType = GoogleCloudSecuritycenterV2AwsMetadata::class;
23 protected $awsMetadataDataType = '';
24 protected $azureMetadataType = GoogleCloudSecuritycenterV2AzureMetadata::class;
25 protected $azureMetadataDataType = '';
26 /**
27 * @var string
28 */
29 public $cloudProvider;
30 /**
31 * @var string
32 */
33 public $displayName;
34 protected $gcpMetadataType = GcpMetadata::class;
35 protected $gcpMetadataDataType = '';
36 /**
37 * @var string
38 */
39 public $location;
40 /**
41 * @var string
42 */
43 public $name;
44 protected $resourcePathType = GoogleCloudSecuritycenterV2ResourcePath::class;
45 protected $resourcePathDataType = '';
46 /**
47 * @var string
48 */
49 public $resourcePathString;
50 /**
51 * @var string
52 */
53 public $service;
54 /**
55 * @var string
56 */
57 public $type;
58
59 /**
60 * @param GoogleCloudSecuritycenterV2AwsMetadata
61 */
62 public function setAwsMetadata(GoogleCloudSecuritycenterV2AwsMetadata $awsMetadata)
63 {
64 $this->awsMetadata = $awsMetadata;
65 }
66 /**
67 * @return GoogleCloudSecuritycenterV2AwsMetadata
68 */
69 public function getAwsMetadata()
70 {
71 return $this->awsMetadata;
72 }
73 /**
74 * @param GoogleCloudSecuritycenterV2AzureMetadata
75 */
76 public function setAzureMetadata(GoogleCloudSecuritycenterV2AzureMetadata $azureMetadata)
77 {
78 $this->azureMetadata = $azureMetadata;
79 }
80 /**
81 * @return GoogleCloudSecuritycenterV2AzureMetadata
82 */
83 public function getAzureMetadata()
84 {
85 return $this->azureMetadata;
86 }
87 /**
88 * @param string
89 */
90 public function setCloudProvider($cloudProvider)
91 {
92 $this->cloudProvider = $cloudProvider;
93 }
94 /**
95 * @return string
96 */
97 public function getCloudProvider()
98 {
99 return $this->cloudProvider;
100 }
101 /**
102 * @param string
103 */
104 public function setDisplayName($displayName)
105 {
106 $this->displayName = $displayName;
107 }
108 /**
109 * @return string
110 */
111 public function getDisplayName()
112 {
113 return $this->displayName;
114 }
115 /**
116 * @param GcpMetadata
117 */
118 public function setGcpMetadata(GcpMetadata $gcpMetadata)
119 {
120 $this->gcpMetadata = $gcpMetadata;
121 }
122 /**
123 * @return GcpMetadata
124 */
125 public function getGcpMetadata()
126 {
127 return $this->gcpMetadata;
128 }
129 /**
130 * @param string
131 */
132 public function setLocation($location)
133 {
134 $this->location = $location;
135 }
136 /**
137 * @return string
138 */
139 public function getLocation()
140 {
141 return $this->location;
142 }
143 /**
144 * @param string
145 */
146 public function setName($name)
147 {
148 $this->name = $name;
149 }
150 /**
151 * @return string
152 */
153 public function getName()
154 {
155 return $this->name;
156 }
157 /**
158 * @param GoogleCloudSecuritycenterV2ResourcePath
159 */
160 public function setResourcePath(GoogleCloudSecuritycenterV2ResourcePath $resourcePath)
161 {
162 $this->resourcePath = $resourcePath;
163 }
164 /**
165 * @return GoogleCloudSecuritycenterV2ResourcePath
166 */
167 public function getResourcePath()
168 {
169 return $this->resourcePath;
170 }
171 /**
172 * @param string
173 */
174 public function setResourcePathString($resourcePathString)
175 {
176 $this->resourcePathString = $resourcePathString;
177 }
178 /**
179 * @return string
180 */
181 public function getResourcePathString()
182 {
183 return $this->resourcePathString;
184 }
185 /**
186 * @param string
187 */
188 public function setService($service)
189 {
190 $this->service = $service;
191 }
192 /**
193 * @return string
194 */
195 public function getService()
196 {
197 return $this->service;
198 }
199 /**
200 * @param string
201 */
202 public function setType($type)
203 {
204 $this->type = $type;
205 }
206 /**
207 * @return string
208 */
209 public function getType()
210 {
211 return $this->type;
212 }
213}
214
215// Adding a class alias for backwards compatibility with the previous class name.
216class_alias(GoogleCloudSecuritycenterV2Resource::class, 'Google_Service_SecurityCommandCenter_GoogleCloudSecuritycenterV2Resource');
Note: See TracBrowser for help on using the repository browser.