Method | Description | |
---|---|---|
AdjustAcl ( Apis bucketObject, string instanceEmail ) : void |
Adjusts the ACL for an uploaded object so that a SQL instance can access it.
|
|
CreateBucket ( string bucketName ) : Bucket |
Creates a Google Cloud Storage bucket.
|
|
DeleteBucket ( Bucket bucket ) : void |
Deletes a Google Cloud Storage bucket.
|
|
DeleteObject ( Apis bucketObject ) : void |
Deletes the bucket object from the Google Cloud Storage bucket.
|
|
GcsFileUploader ( BaseClientService serviceInitializer, string project ) : System | ||
UploadLocalFile ( string filePath, string bucketName ) : Apis.Storage.v1.Data.Object |
Uploads a local file to a given bucket. The object's name will be the same as provided file path. (e.g. "C:\foo\bar.txt".)
|
public AdjustAcl ( Apis bucketObject, string instanceEmail ) : void | ||
bucketObject | Apis | |
instanceEmail | string | |
return | void |
public CreateBucket ( string bucketName ) : Bucket | ||
bucketName | string | |
return | Bucket |
public DeleteObject ( Apis bucketObject ) : void | ||
bucketObject | Apis | |
return | void |
public GcsFileUploader ( BaseClientService serviceInitializer, string project ) : System | ||
serviceInitializer | BaseClientService | |
project | string | |
return | System |
public UploadLocalFile ( string filePath, string bucketName ) : Apis.Storage.v1.Data.Object | ||
filePath | string | |
bucketName | string | |
return | Apis.Storage.v1.Data.Object |