Method | Description | |
---|---|---|
TestObjectExists ( StorageService service, string bucket, string objectName ) : bool |
Returns whether or not a storage object with the given name exists in the provided bucket. Will return false if the object exists but is not visible to the current user.
|
|
UpdateObjectMetadata ( StorageService service, Object storageObject, string>.Dictionary |
Patch the GCS object with new metadata.
|
|
UploadGcsObject ( StorageService service, string bucket, string objectName, |
Uploads a local file to Google Cloud storage, overwriting any existing object and clobber existing metadata values.
|
protected TestObjectExists ( StorageService service, string bucket, string objectName ) : bool | ||
service | StorageService | |
bucket | string | |
objectName | string | |
return | bool |
protected UpdateObjectMetadata ( StorageService service, Object storageObject, string>.Dictionary |
||
service | StorageService | |
storageObject | Object | |
metadata | string>.Dictionary | |
return | Object |
protected UploadGcsObject ( StorageService service, string bucket, string objectName, |
||
service | StorageService | |
bucket | string | |
objectName | string | |
contentStream | ||
contentType | string | |
predefinedAcl | PredefinedAclEnum | |
metadata | string>.Dictionary | |
return | Object |