GCS Update Blobs
Description
Use this tool to modify the online metadata of blobs in a Google Cloud Storage bucket.
To use this tool, define a Google Cloud Storage source bucket or folder that contains the blobs to modify, then add parameters to control the modifications.
Usage
-
Add the process action TOOL GCS Update Blobs from the Process Palette, under the Tools section.
-
Select a source:
-
Drag and drop one of the following Google Cloud Storage metadata nodes onto the <SOURCE> field of the tool:
-
Storage
-
Bucket
-
Folder
-
-
-
Set the blob metadata to update or set in other tool parameters as needed.
The tool inherits parameters from the metadata node you drag onto it.
If you leave a Target parameter empty, the tool does not attempt to modify the corresponding metadata in Google Cloud Storage.
For information about metadata in Google Cloud Storage, see the official documentation.
Parameters
Name | Default | Description | ||
---|---|---|---|---|
XPath Expression For Source |
$SOURCE |
A valid XPath expression referencing a Bucket to use as a source location. The expression can return a storage, bucket, or folder node from a Google Cloud Storage metadata object. The source bucket location is searched in this bucket or directory unless you set one of these parameters instead:
|
||
Source Bucket Name |
Manual entry of the source bucket name. You can omit this parameter if XPath Expression For Source returns a valid reference to a bucket or one of its children. |
|||
Source Directory Path |
Manual entry of the source directory. You can omit this parameter if XPath Expression For Source returns a valid reference to a directory or one of its children, or if the bucket itself is the root directory.
|
|||
Source Blob Includes |
A list of blobs to include in the operation, as a semicolon-separated list of blob masks. An empty value matches all blobs. When the source is a directory, or if you set the Source Directory Path, the blob mask evaluates inside this directory. The following wildcard characters are supported:
Examples:
When this parameter is set, the tool ignores the Source Blob Name parameter. |
|||
Source Blob Excludes |
A list of blobs to exclude from the operation, as a semicolon-separated list of blob masks. An empty value matches all blobs. When the source is a directory, or if you set the Source Directory Path, the blob mask evaluates inside this directory. The following wildcard characters are supported:
Examples:
When this parameter is set, the tool ignores the Source Blob Name parameter. |
|||
Source Metadata |
One or more key-value pairs to filter blobs based on their metadata in Google Cloud Storage. The tool only processes source blobs that match these values. You can set this parameter in the form of Java properties. For instance:
|
|||
Target Content-Type (RFC 2616) |
Specifies the media type of the target Blob. |
|||
Target Content-Disposition |
Specifies presentation information headers for the target Blob. |
|||
Target Content-Language |
Specifies the intended languages of the target Blob. |
|||
Target Content-Encoding |
Specifies content compression headers for the target Blob. |
|||
Target Cache-Control |
Specifies browser cache headers for the target Blob. |
|||
Target Metadata |
One or more key-value pairs to set on the remote target blob. You can set this parameter in the form of Java properties. For instance:
This tool sets and updates all metadata key-value pairs entered in this field, and leaves unspecified ones alone. |