Skip to content

Commit

Permalink
Fix: Storage object improvements
Browse files Browse the repository at this point in the history
- Media/self link comments were the wrong way round
- Add the "kind" field for completeness - it will always have the same value, but it *is* part of the REST resource model

I have *not* included custom_time (despite it being in the Discovery doc) as I believe aspects of this are still in flux.
  • Loading branch information
jskeet committed Aug 17, 2020
1 parent 353d8ad commit 081ba21
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions proto/google/events/cloud/storage/v1/data.proto
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,12 @@ message StorageObjectData {
// such a key.
CustomerEncryption customer_encryption = 28;

// The link to this object.
// Media download link.
string media_link = 100;

// Media download link.
// The link to this object.
string self_link = 101;

// The kind of item this is. For objects, this is always "storage#object".
string kind = 102;
}

0 comments on commit 081ba21

Please sign in to comment.