Categories

Versions

You are viewing the RapidMiner Studio documentation for version 9.7 - Check here for latest version

Write Google Storage (Cloud Connectivity)

Synopsis

This operator uploads the input file to the Google Cloud Storage.

Description

Before you can upload the input file to the selected Google Storage account, you must load it with an Open file operator.

Be aware that the operator cannot write the example set as file. For this reason, you must connect before the Write Google Storage operator an appropriate operator to write the file. For example, if you want to save an Excel file to your Google Storage, you must connect before the Write Google Storage operator a Write Excel operator to see the result.

Input

  • file (File)

    The file object which should be uploaded to Google Storage. The file must be provided by an Open file operator.

  • connection (Connection)

    This input port expects a Connection object if any. See the parameter connection entry for more information.

Output

  • file (File)

    The input file object is passed through and returned here.

  • connection (Connection)

    This output port delivers the Connection object from the input port. If the input port is not connected the port delivers nothing.

Parameters

  • connection_source This parameter indicates how the connection should be specified. It gives you two options, predefined and repository. The parameter is not visible if the connection input port is connected. Range: selection
  • connection_entry This parameter is only available when the connection source parameter is set to repository. This parameter is used to specify a repository location that represents a connection entry. The connection can also be provided using the connection input port. Range: string
  • connection This parameter is only available when the connection source parameter is set to predefined. The connection details for the Google Storage connection can be specified here. If you have already configured a Google Storage connection, you can select it from the drop-down list. If you have not configured a Google Storage connection yet, select the icon to the right of the drop-down list. Create a new Google Storage connection in the Manage connections box. The access token / private key and project ID are required. Range: configurable
  • file Enter the name of the file as it should be stored on Google Storage, e.g., "/mybucket/myfolder/my_file.xls". Range: selection
  • content_type This option is optional. Enter the MIME type of the upload file, e.g., "text/xml". Range: string