Skip to content

Commit 95c6bd3

Browse files
committed
Fix nonoptional metadata properties
1 parent d548587 commit 95c6bd3

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

packages/storage-types/exp/index.d.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -178,50 +178,50 @@ export interface FullMetadata extends UploadMetadata {
178178
/**
179179
* The bucket this object is contained in.
180180
*/
181-
bucket?: string;
181+
bucket: string;
182182

183183
/**
184184
* The full path of this object.
185185
*/
186-
fullPath?: string;
186+
fullPath: string;
187187

188188
/**
189189
* The object's generation.
190190
* {@link https://cloud.google.com/storage/docs/generations-preconditions}
191191
*/
192-
generation?: string;
192+
generation: string;
193193

194194
/**
195195
* The object's metageneration.
196196
* {@link https://cloud.google.com/storage/docs/generations-preconditions}
197197
*/
198-
metageneration?: string;
198+
metageneration: string;
199199

200200
/**
201201
* The short name of this object, which is the last component of the full path.
202202
* For example, if fullPath is 'full/path/image.png', name is 'image.png'.
203203
*/
204-
name?: string;
204+
name: string;
205205

206206
/**
207207
* The size of this object, in bytes.
208208
*/
209-
size?: number;
209+
size: number;
210210

211211
/**
212212
* A date string representing when this object was created.
213213
*/
214-
timeCreated?: string;
214+
timeCreated: string;
215215

216216
/**
217217
* A date string representing when this object was last updated.
218218
*/
219-
updated?: string;
219+
updated: string;
220220

221221
/**
222222
* Tokens to allow access to the downloatd URL.
223223
*/
224-
downloadTokens?: string[] | undefined;
224+
downloadTokens: string[] | undefined;
225225

226226
/**
227227
* `StorageReference` associated with this upload.

0 commit comments

Comments
 (0)