GoogleCloudStorageCreate

This activity creates a bucket or an object in Google Cloud Storage.

Configuration

This tab has the following fields.

Field Description
Connection Name The connection name to use when accessing the Google Cloud Storage service.

If you have created multiple Google connections, select the one you want to use from the drop-down list.

Object Name The Google Cloud Storage object to use for this activity from the drop-down list. The default value for this field is Bucket.

Input

You can either enter the input manually, or you can map the input to the output from a preceding activity if the preceding activity has an output. (For details on how to use the mapper, see the "Using the Mapper" section in TIBCO Flogo ® Enterprise User's Guide.) The input tree displayed for this activity depends on the Object Name that you select in the Configuration tab.

Bucket
If you have selected Bucket under Object Name in the Configuration tab, then this tab has the following mandatory fields.
Field Description
name The name of the bucket to create in Google Cloud Storage.
projectName The name of the project where a bucket is to be created in Google Cloud Storage.
Note:
  • The labels field accepts a string only in the following format: key1:value1, key2:value2, and so on. There is no restriction on the number of key-value pairs that can be supplied.
  • The GoogleCloudStorageCreate activity does not support customer managed encryption key.
  • The values in entityId, etag, id, kind, selfLink within the acl and defaultObjectAcl fields are ignored because these values are set to default values by Google Cloud Storage.
Object
If you have selected Object under Object Name in the Configuration tab, then this tab has the following mandatory fields.
Field Description
bucket The name of the bucket in which to create an object in Google Cloud Storage.
name The name of the object to create in Google Cloud Storage.
uploadType The supported upload types are media and multipart.
Note: To check the maximum limit for object upload, see the Google Cloud Storage documentation.
data The content to be uploaded as part of the object in Google Cloud Storage.
Note:
  • The create activity accepts data only in string format.
  • It is recommended to specify the contentType field to ensure that the object is uploaded in the proper format. In this release, we support only plain text.
  • The metadata field accepts a string only in the following format: key1:value1, key2:value2, and so on. There is no restriction on the number of key-value pairs that can be supplied.

Output

The Output tab displays the activity output schema in a tree format. The output is read-only. The schema varies according to the object name that you selected in the Configuration tab. The elements that you see in the schema can be mapped as input to the activities which follow this activity in the flow.

Related concepts