Subscribe

UiPath Activities

The UiPath Activities Guide

Upload Object from File

UiPath.GoogleCloud.Activites.GCPUploadObject

Uploads a file to a bucket.

Properties

Common

  • DisplayName - The display name of the activity.

Encryption

  • CustomerManagedKey - Specifies a customer-managed key. If not set, the object is encrypted as per bucket settings.

Input

  • Bucket - The bucket to which the object will belong. This field supports only GCPBucket variables.
  • ContentType - The content type. Specify any valid MIME type like "text/html".
  • FileToUpload - The full path to the file to be uploaded.
  • ObjectName - The name of the object, including the prefix.
  • Timeout - Indicates the amount of time (in seconds) to wait for the activity to run before an error is thrown. This field supports only integer and Int32 variables. If not set, the activity runs until completion.

Misc

  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.

Output

  • Object - The details of the uploaded object. This field supports only GCPObject variables.

Permissions

  • PredefinedAcl - Apply a predefined set of access controls to this object. Do not supply this field if the bucket has Uniform access control type.

Properties

  • Metadata - The custom metadata to associate with the object. This field supports only DataTable variables. It shall contain two columns of type String, the first one representing the key and the second its value.
  • StorageClass - The storage class of the object. This field supports only Storage variables. Select one of four options: Standard, Nearline, Coldline, Archive. The default value is none. If not set, will default to the bucket's storage class.

Updated 5 months ago


Upload Object from File


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.