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\DLP;
|
---|
19 |
|
---|
20 | class GooglePrivacyDlpV2ContentLocation extends \Google\Model
|
---|
21 | {
|
---|
22 | /**
|
---|
23 | * @var string
|
---|
24 | */
|
---|
25 | public $containerName;
|
---|
26 | /**
|
---|
27 | * @var string
|
---|
28 | */
|
---|
29 | public $containerTimestamp;
|
---|
30 | /**
|
---|
31 | * @var string
|
---|
32 | */
|
---|
33 | public $containerVersion;
|
---|
34 | protected $documentLocationType = GooglePrivacyDlpV2DocumentLocation::class;
|
---|
35 | protected $documentLocationDataType = '';
|
---|
36 | protected $imageLocationType = GooglePrivacyDlpV2ImageLocation::class;
|
---|
37 | protected $imageLocationDataType = '';
|
---|
38 | protected $metadataLocationType = GooglePrivacyDlpV2MetadataLocation::class;
|
---|
39 | protected $metadataLocationDataType = '';
|
---|
40 | protected $recordLocationType = GooglePrivacyDlpV2RecordLocation::class;
|
---|
41 | protected $recordLocationDataType = '';
|
---|
42 |
|
---|
43 | /**
|
---|
44 | * @param string
|
---|
45 | */
|
---|
46 | public function setContainerName($containerName)
|
---|
47 | {
|
---|
48 | $this->containerName = $containerName;
|
---|
49 | }
|
---|
50 | /**
|
---|
51 | * @return string
|
---|
52 | */
|
---|
53 | public function getContainerName()
|
---|
54 | {
|
---|
55 | return $this->containerName;
|
---|
56 | }
|
---|
57 | /**
|
---|
58 | * @param string
|
---|
59 | */
|
---|
60 | public function setContainerTimestamp($containerTimestamp)
|
---|
61 | {
|
---|
62 | $this->containerTimestamp = $containerTimestamp;
|
---|
63 | }
|
---|
64 | /**
|
---|
65 | * @return string
|
---|
66 | */
|
---|
67 | public function getContainerTimestamp()
|
---|
68 | {
|
---|
69 | return $this->containerTimestamp;
|
---|
70 | }
|
---|
71 | /**
|
---|
72 | * @param string
|
---|
73 | */
|
---|
74 | public function setContainerVersion($containerVersion)
|
---|
75 | {
|
---|
76 | $this->containerVersion = $containerVersion;
|
---|
77 | }
|
---|
78 | /**
|
---|
79 | * @return string
|
---|
80 | */
|
---|
81 | public function getContainerVersion()
|
---|
82 | {
|
---|
83 | return $this->containerVersion;
|
---|
84 | }
|
---|
85 | /**
|
---|
86 | * @param GooglePrivacyDlpV2DocumentLocation
|
---|
87 | */
|
---|
88 | public function setDocumentLocation(GooglePrivacyDlpV2DocumentLocation $documentLocation)
|
---|
89 | {
|
---|
90 | $this->documentLocation = $documentLocation;
|
---|
91 | }
|
---|
92 | /**
|
---|
93 | * @return GooglePrivacyDlpV2DocumentLocation
|
---|
94 | */
|
---|
95 | public function getDocumentLocation()
|
---|
96 | {
|
---|
97 | return $this->documentLocation;
|
---|
98 | }
|
---|
99 | /**
|
---|
100 | * @param GooglePrivacyDlpV2ImageLocation
|
---|
101 | */
|
---|
102 | public function setImageLocation(GooglePrivacyDlpV2ImageLocation $imageLocation)
|
---|
103 | {
|
---|
104 | $this->imageLocation = $imageLocation;
|
---|
105 | }
|
---|
106 | /**
|
---|
107 | * @return GooglePrivacyDlpV2ImageLocation
|
---|
108 | */
|
---|
109 | public function getImageLocation()
|
---|
110 | {
|
---|
111 | return $this->imageLocation;
|
---|
112 | }
|
---|
113 | /**
|
---|
114 | * @param GooglePrivacyDlpV2MetadataLocation
|
---|
115 | */
|
---|
116 | public function setMetadataLocation(GooglePrivacyDlpV2MetadataLocation $metadataLocation)
|
---|
117 | {
|
---|
118 | $this->metadataLocation = $metadataLocation;
|
---|
119 | }
|
---|
120 | /**
|
---|
121 | * @return GooglePrivacyDlpV2MetadataLocation
|
---|
122 | */
|
---|
123 | public function getMetadataLocation()
|
---|
124 | {
|
---|
125 | return $this->metadataLocation;
|
---|
126 | }
|
---|
127 | /**
|
---|
128 | * @param GooglePrivacyDlpV2RecordLocation
|
---|
129 | */
|
---|
130 | public function setRecordLocation(GooglePrivacyDlpV2RecordLocation $recordLocation)
|
---|
131 | {
|
---|
132 | $this->recordLocation = $recordLocation;
|
---|
133 | }
|
---|
134 | /**
|
---|
135 | * @return GooglePrivacyDlpV2RecordLocation
|
---|
136 | */
|
---|
137 | public function getRecordLocation()
|
---|
138 | {
|
---|
139 | return $this->recordLocation;
|
---|
140 | }
|
---|
141 | }
|
---|
142 |
|
---|
143 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
144 | class_alias(GooglePrivacyDlpV2ContentLocation::class, 'Google_Service_DLP_GooglePrivacyDlpV2ContentLocation');
|
---|