Google Cloud Services Put - Data360_Analyze - 3.12

Data360 Analyze Server Help

Product
Data360 Analyze
Version
3.12
Language
English
Portfolio
Verify
Product family
Data360
Product name
Data360 Analyze
Title
Data360 Analyze Server Help
Copyright
2023
First publish date
2016

Uploads files to a server using the Google Cloud Services protocol.

The Google Cloud Services nodes enable you to access data from Google Cloud Services buckets, so that you can integrate your data flows with Google. See:

Uploading a single file to Google Cloud Services

  1. In the Bucket property, specify the name of the Google Cloud Services bucket to which you want to upload your file.
  2. In the FileName property, specify the location of the file to upload to Google Cloud Services.

Uploading multiple files to Google Cloud Services

  1. Drag a Directory List node onto the canvas and connect it to a Google Cloud Services Put node. Run the Directory List node to generate a list of files in a given location.
  2. On the Google Cloud Services Put node, in the Bucket property specify the name of the Google Cloud Services bucket.
  3. Select the (from Field) variant of the FileName property, then specify the name of the input field that references the location of the files to upload.

Example

You have four files on your local desktop that you want to upload to Google Cloud Services.

  1. Drag a Directory List node onto the canvas and in the DirectoryName property type the location of the folder that contains the four files, e.g. C:\Users\<username>\Documents\Google Cloud Services upload.
  2. You want to upload all files in the folder, so in the Pattern property type: *.*
  3. Run the Directory List node, then connect it to anGoogle Cloud Services Put node.

    The output of the Directory List node is as follows:

    FileName

    unicode

    File

    unicode

    Size

    long

    Created

    datetime

    Modified

    datetime

    C:\Users\<username>\Documents\Google Cloud Services upload\create4.txt create4.txt 25 2017-10-27T06:50:43-0400 2017-10-27T06:50:43-0400
    C:\Users\<username>\Documents\Google Cloud Services upload\create3.txt create3.txt 25 2017-10-27T06:50:43-0400 2017-10-27T06:50:43-0400
    C:\Users\<username>\Documents\Google Cloud Services upload\create2.txt create2.txt 25 2017-10-27T06:50:43-0400 2017-10-27T06:50:43-0400
    C:\Users\<username>\Documents\Google Cloud Services upload\create1.txt create1.txt 25 2017-10-27T06:50:43-0400 2017-10-27T06:50:43-0400
  4. On the Google Cloud Services Put node, in the Bucket property, type the name of the Google Cloud Services bucket that you want to upload your files to, e.g. my-example-bucket
  5. Select the (from Field) variant of the Object property and type the name of the input field containing the files that you want to upload, in this case File.
  6. Select the (fromField) variant of the FileName property and type the name of the input field containing the location of the files that you want to upload, in this case FileName.
  7. Run the Google Cloud Services Put node to upload your files.
Tip: For additional information on interacting with Google Cloud Services, see the Google Cloud Services Documentation.

Properties

Bucket

Specify the name of the Google Cloud Services Bucket.

Choose the (from Field) variant of this property to look up the value from an input field with the name specified.

A value is required for this property.

Object

Optionally specify the name of the Google Cloud Services Object.

Choose the (from Field) variant of this property to look up the value from an input field with the name specified.

The default value is the base name of the file.

Credentials

Optionally specify the file containing the Google Cloud Services credentials.

If the Credentials are not set then the Google Cloud Services default strategy will be used.

FileName

Specify the location of the file to upload to Google Cloud Services.

Choose the (from Field) variant of this property to look up the value from an input field with the name specified.

A value is required for this property.

FailureBehavior

Optionally specify what to do when a file fails to upload. Choose from:

  • Error - Report error and stop further processing.
  • Log - Log a warning message and skip the file.
  • Ignore - Skip the file.

The default value is Log.

Inputs and outputs

Inputs: 1 optional.

Outputs: uploaded files, errors.