Item name | Required/Optional | Use of variables | Description | Remarks |
---|---|---|---|---|
Name | Required | Not Available | Enter the name on the script canvas. |
Item name | Required/Optional | Use of variables | Description | Remarks |
---|---|---|---|---|
Destination | Required | Not Available | Select Global Resources.
|
|
Bucket name of the read source | Required | Available | Select or enter the bucket to be read. | |
Folder path of the read source | Required | Available | Select or enter the folder path on Google Cloud Storage. |
|
File/Folder name of the read source | Required | Available | Select or enter the file/folder on Google Cloud Storage. |
|
Save destination directory | Required | Available | Enter a directory path of DataSpider File System. Click the [Browse] button to launch the directory chooser, and select the directory. |
|
Overwrite when one exists | Optional | Not Available | Select whether or not to overwrite a file when a file with the same name exists in the specified save destination directory.
|
Item name | Description | Remarks |
---|---|---|
Update the list of bucket names of the read source | Get bucket names in the specified destination and, set them in [Bucket name of the read source]. |
|
Update the list of folder paths of the read source | Get folder paths in the specified bucket, and set them in [Folder path of the read source]. |
|
Update the list of file/folder names of the read source | Get file/folder names in the specified folder path and, set them in [File/Folder name of the read source]. |
|
Item name | Required/Optional | Use of variables | Description | Remarks |
---|---|---|---|---|
Data processing method | Required | Not Available | Select the data processing method.
|
Item name | Required/Optional | Use of variables | Description | Remarks |
---|---|---|---|---|
Comment | Optional | Not Available | You can write a short description of this adapter. The description will be applied in the specifications. |
<?xml version="1.0"?> <bucket name="" status="" > <file errorcode="" localpath="" name="" remotepath="" size="" status="" statuscode="" type="" updated=""/> </bucket>
Element name | Attribute name | Description | Remarks |
---|---|---|---|
bucket | - | Appears in each bucket which is gotten. | |
name | Outputs name of the bucket acquired. | ||
status | Outputs the status of the gotten bucket.
|
||
file | - | Appears in each read file/folder. | |
errorcode | When an error occurs on Google Cloud Storage, output the API error code specified on Google Cloud Storage. |
|
|
localpath | Output the local path of the read file/folder. |
|
|
name | Output the name on Google Cloud Storage of the read file/folder. |
|
|
remotepath | Output the file path on Google Cloud Storage of the read file/folder. |
|
|
size | When the read file/folder is a file, the file size is output. The unit is bytes. |
|
|
status | Output the status of the read file/folder.
|
||
statuscode | When an error occurs on Google Cloud Storage, output the API status code specified on Google Cloud Storage. |
|
|
type | Output the type of read files/folders.
|
||
updated | Output the latest update date when the read file/folder is a file. |
|
Component variable name | Description | Remarks |
---|---|---|
count | Stores the number of target files/folders. |
|
message_category | When an error occurs, the category of the message code corresponding to the error that occurred is stored. |
|
message_code | When an error occurs, the code of the message code corresponding to the error that occurred is stored. |
|
message_level | When an error occurs, the severity of the message code corresponding to the error that occurred is stored. |
|
error_type | When an error occurs, the type of error that occurred is stored. |
|
error_message | When an error occurs, the message of the error that occurred is stored. |
|
error_trace | When an error occurs, the trace information of the error that occurred is stored. |
|
Exception Name | Cause | Solution |
---|---|---|
ResourceNotFoundException Resource definition is not found. Name:[] |
[Destination] is not specified. | Specify [Destination]. |
ResourceNotFoundException Resource definition is not found. Name:[<Name of global resources>] |
Resource definition selected in [Destination] is not found. | Check the global resource specified in [Destination]. |
InvalidPropertyConfigurationException An incorrect folder path is specified. |
The format of the [Folder path of the read source] is invalid. | Specify slash (/) at the beginning and the end, and specify a folder path that does not contain two slashes (//). |
InvalidPropertyConfigurationException An incorrect file/folder name is specified. |
The format of [File/Folder name of the read source] is invalid. | Specify "/" at the end for a folder, do not include "/" for a file. |
InvalidCredentialException A service account authentication key is incorrect. |
[Service account authentication key] in [Destination] is incorrect. | Confirm [Service account authentication key] in [Destination]. |
CloudStorageServiceException Failed in the operation for Google Cloud Storage. |
Failed in the operation for Google Cloud Storage. | Identify the cause of the error from the status code and error code by referring to the error message list page of Google Cloud Storage (https://cloud.google.com/storage/docs/xml-api/reference-status#standardcodes), and then resolve the problem. |