source: vendor/google/apiclient-services/src/Kmsinventory/GoogleCloudKmsV1CryptoKey.php

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

Upload project files

  • Property mode set to 100644
File size: 4.9 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\Kmsinventory;
19
20class GoogleCloudKmsV1CryptoKey extends \Google\Model
21{
22 /**
23 * @var string
24 */
25 public $createTime;
26 /**
27 * @var string
28 */
29 public $cryptoKeyBackend;
30 /**
31 * @var string
32 */
33 public $destroyScheduledDuration;
34 /**
35 * @var bool
36 */
37 public $importOnly;
38 protected $keyAccessJustificationsPolicyType = GoogleCloudKmsV1KeyAccessJustificationsPolicy::class;
39 protected $keyAccessJustificationsPolicyDataType = '';
40 /**
41 * @var string[]
42 */
43 public $labels;
44 /**
45 * @var string
46 */
47 public $name;
48 /**
49 * @var string
50 */
51 public $nextRotationTime;
52 protected $primaryType = GoogleCloudKmsV1CryptoKeyVersion::class;
53 protected $primaryDataType = '';
54 /**
55 * @var string
56 */
57 public $purpose;
58 /**
59 * @var string
60 */
61 public $rotationPeriod;
62 protected $versionTemplateType = GoogleCloudKmsV1CryptoKeyVersionTemplate::class;
63 protected $versionTemplateDataType = '';
64
65 /**
66 * @param string
67 */
68 public function setCreateTime($createTime)
69 {
70 $this->createTime = $createTime;
71 }
72 /**
73 * @return string
74 */
75 public function getCreateTime()
76 {
77 return $this->createTime;
78 }
79 /**
80 * @param string
81 */
82 public function setCryptoKeyBackend($cryptoKeyBackend)
83 {
84 $this->cryptoKeyBackend = $cryptoKeyBackend;
85 }
86 /**
87 * @return string
88 */
89 public function getCryptoKeyBackend()
90 {
91 return $this->cryptoKeyBackend;
92 }
93 /**
94 * @param string
95 */
96 public function setDestroyScheduledDuration($destroyScheduledDuration)
97 {
98 $this->destroyScheduledDuration = $destroyScheduledDuration;
99 }
100 /**
101 * @return string
102 */
103 public function getDestroyScheduledDuration()
104 {
105 return $this->destroyScheduledDuration;
106 }
107 /**
108 * @param bool
109 */
110 public function setImportOnly($importOnly)
111 {
112 $this->importOnly = $importOnly;
113 }
114 /**
115 * @return bool
116 */
117 public function getImportOnly()
118 {
119 return $this->importOnly;
120 }
121 /**
122 * @param GoogleCloudKmsV1KeyAccessJustificationsPolicy
123 */
124 public function setKeyAccessJustificationsPolicy(GoogleCloudKmsV1KeyAccessJustificationsPolicy $keyAccessJustificationsPolicy)
125 {
126 $this->keyAccessJustificationsPolicy = $keyAccessJustificationsPolicy;
127 }
128 /**
129 * @return GoogleCloudKmsV1KeyAccessJustificationsPolicy
130 */
131 public function getKeyAccessJustificationsPolicy()
132 {
133 return $this->keyAccessJustificationsPolicy;
134 }
135 /**
136 * @param string[]
137 */
138 public function setLabels($labels)
139 {
140 $this->labels = $labels;
141 }
142 /**
143 * @return string[]
144 */
145 public function getLabels()
146 {
147 return $this->labels;
148 }
149 /**
150 * @param string
151 */
152 public function setName($name)
153 {
154 $this->name = $name;
155 }
156 /**
157 * @return string
158 */
159 public function getName()
160 {
161 return $this->name;
162 }
163 /**
164 * @param string
165 */
166 public function setNextRotationTime($nextRotationTime)
167 {
168 $this->nextRotationTime = $nextRotationTime;
169 }
170 /**
171 * @return string
172 */
173 public function getNextRotationTime()
174 {
175 return $this->nextRotationTime;
176 }
177 /**
178 * @param GoogleCloudKmsV1CryptoKeyVersion
179 */
180 public function setPrimary(GoogleCloudKmsV1CryptoKeyVersion $primary)
181 {
182 $this->primary = $primary;
183 }
184 /**
185 * @return GoogleCloudKmsV1CryptoKeyVersion
186 */
187 public function getPrimary()
188 {
189 return $this->primary;
190 }
191 /**
192 * @param string
193 */
194 public function setPurpose($purpose)
195 {
196 $this->purpose = $purpose;
197 }
198 /**
199 * @return string
200 */
201 public function getPurpose()
202 {
203 return $this->purpose;
204 }
205 /**
206 * @param string
207 */
208 public function setRotationPeriod($rotationPeriod)
209 {
210 $this->rotationPeriod = $rotationPeriod;
211 }
212 /**
213 * @return string
214 */
215 public function getRotationPeriod()
216 {
217 return $this->rotationPeriod;
218 }
219 /**
220 * @param GoogleCloudKmsV1CryptoKeyVersionTemplate
221 */
222 public function setVersionTemplate(GoogleCloudKmsV1CryptoKeyVersionTemplate $versionTemplate)
223 {
224 $this->versionTemplate = $versionTemplate;
225 }
226 /**
227 * @return GoogleCloudKmsV1CryptoKeyVersionTemplate
228 */
229 public function getVersionTemplate()
230 {
231 return $this->versionTemplate;
232 }
233}
234
235// Adding a class alias for backwards compatibility with the previous class name.
236class_alias(GoogleCloudKmsV1CryptoKey::class, 'Google_Service_Kmsinventory_GoogleCloudKmsV1CryptoKey');
Note: See TracBrowser for help on using the repository browser.