Google Cloud Storage
Last updated
Last updated
Google Cloud Storage is a RESTful online file storage web service for storing and accessing data on Google Cloud Platform infrastructure. The service combines the performance and scalability of Google's cloud with advanced security and sharing capabilities. (Wikipedia)
Attribute | Description |
---|---|
Credential Path | The path of the credential file. Credential file contains service user information of the storage operations. |
Project ID | Project id in GCP(Google Cloud Platform) |
Action | Create/Create Skip/Delete/List Bucket Upload/Upload Update/Download/Delete File |
Bucket | Bucket name |
Key | Key of an object which will be uploaded or downloaded. The contents of a file can be retrieved with key. |
Media | Input for upload, Output for download · File · Parameter |
Data | Input data when the media is parameter type. |
Path | The path of the source file to be uploaded. The path of the target file to bd downloaded. |
Project ID can be found at Dashboard of your cloud project.
A service account which is allowed to use Google Cloud Storage is required. If no service account for the storage exists, create a new service account, and assign the role of storage.
Once the service account for the storage, create a credential for future use in ISM. Create a private key and save as json file.
Attribute | Description |
---|---|
ResultList | Bucket list when "List Bucket" action is performed. |
ResultContents | Contents of an object when "Download File" action is performed. · File path of downloaded object when Media is File type. · Stringified contents of the downloaded object when Media is Parameter type |
Attribute | Description |
---|---|
Credential Path | /home/myuser/downloaded.credential.json |
Project ID | my-project-id |
Action | Create a Bucket |
Bucket | my-bucket-scott |
Key |
|
Media |
|
Data |
|
Path |
|
Attribute | Description |
---|---|
Credential Path | /home/myuser/downloaded.credential.json |
Project ID | my-project-id |
Action | Upload a file |
Bucket | my-bucket-scott |
Key | my-key |
Media | File |
Data |
|
Path | /home/myuser/my-key.txt |
Attribute | Description |
---|---|
Credential Path | /home/myuser/downloaded.credential.json |
Project ID | my-project-id |
Action | Download a file |
Bucket | my-bucket-scott |
Key | my-key |
Media | File |
Data |
|
Path | /home/myuser/my-key.txt.out |
Attribute | Description |
---|---|
Credential Path | /home/myuser/downloaded.credential.json |
Project ID | my-project-id |
Action | Download a file |
Bucket | my-bucket-scott |
Key | my-key |
Media |
|
Data |
|
Path |
|
Bucket can be deleted even if the bucket is not empty.
Attribute | Description |
---|---|
Credential Path | /home/myuser/downloaded.credential.json |
Project ID | my-project-id |
Action | Download a file |
Bucket | my-bucket-scott |
Key | my-key |
Media |
|
Data |
|
Path |
|