> ## Documentation Index
> Fetch the complete documentation index at: https://docs.arc.cdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Google Storage Connector

> Configuration and usage guide for the CData Arc Google Storage connector, which uploads to and downloads from the Google Cloud Storage service.

The Google Storage connector uploads to and downloads from the Google Storage cloud storage service.

## Key Capabilities

* Google Cloud Storage integration with OAuth authentication and automatic token refresh
* Bucket-based file organization with bidirectional file transfers
* Glob pattern filtering with optional file deletion after download and overwrite protection
* Optional caching to ensure only new or updated files are downloaded

## Overview

Each Google Storage connector connects to a specific Google Storage account. Within the remote storage, you set a single bucket as the upload and/or download target. You can specify upload and download paths in the bucket, and apply filters to only send or receive specified file names and/or file extensions.

Files that reach the Google Storage connector in the Arc flow are uploaded to the upload target folder, and files found in the download target folder are downloaded and entered into the Arc flow.

Account authentication uses OAuth, and you must acquire OAuth credentials before connecting with the Google Storage connector. Once authentication is successfully completed with Google, the Google Storage connector handles refreshing the OAuth tokens to ensure that authentication persists over time.

## Connector Configuration

This section contains all of the configurable connector properties.

### Settings Tab

#### Authorization

*Settings related to authorizing access to the remote storage.*

| Setting | Description |
| - | - |
| **Connector Id** | The static, unique identifier for the connector. |
| **Connector Type** | Displays the connector name and a description of what it does. |
| **Connector Description** | An optional field to provide a free-form description of the connector and its role in the flow. |
| **Client Id** | The client Id credential provided by Google for the target storage account. Acquire this value from Google via the Google Console. |
| **Client Secret** | The client secret credential provided by Google for the target storage account. Acquire this value from Google via the Google Console. |

> [!NOTE]
>
> Google might require an OAuth callback/redirect URL when generating OAuth credentials. The Arc callback/redirect URL is the same as the address and port where the application is hosted, plus the following resource path: `src/oauthCallback.rst`. For example, if Arc is hosted on 'mydomain.com' on port 8001, specify the following URL as the callback/redirect URL: `http://mydomain.com:8001/src/oauthCallback.rst`.

#### Host Configuration

*Settings related to the target storage host.*

| Setting | Description |
| - | - |
| **Bucket Name** | The Google Storage bucket to use for uploading and/or downloading files. |

#### Send

*Settings related to uploading to the remote storage.*

| Setting | Description |
| - | - |
| **Remote Folder** | Files processed by the connector are uploaded to the folder specified here. |
| **Overwrite** | Whether files that already exist in the remote folder should be overwritten or skipped. |

#### Receive

*Settings related to downloading from the remote storage.*

| Setting | Description |
| - | - |
| **Remote Folder** | The remote folder from which files are downloaded. Use a comma-delimited list to specify multiple paths. |
| **Delete** | Check this to delete successfully downloaded files from the remote storage. |

#### Caching

*Settings related to caching and comparing files between multiple downloads.*

| Setting | Description |
| - | - |
| **File Size Comparison** | Check this to keep a record of downloaded file names and sizes. Previously downloaded files are skipped unless the file size is different than the last download. |
| **Timestamp Comparison** | Check this to keep a record of downloaded file names and last-modified timestamps. Previously downloaded files are skipped unless the timestamp is different than the last download. |

> [!NOTE]
>
> Arc はリソースキャッシュを自動的にクリーンアップします。この処理はすべての受信サイクルの間にバックグラウンドで実行され、リモートサーバー上にすでに存在しないファイルの古いキャッシュエントリを削除します。これにより、手動での操作を必要とせずにキャッシュサイズを管理可能な状態に保ちます。 デフォルトでは、ファイルは30 日間保持されますが、**Advanced** タブの**Other Settings** フィールドにある`ResourceCacheRetentionDays` 設定を使用して、お使いの環境に合わせて調整できます。例えば、`ResourceCacheRetentionDays=15` とすると、ファイルは削除されるまで15 日間保持されます。 When you enable caching, the file names are case-insensitive. For example, the connector cannot distinguish between `TEST.TXT` and `test.txt`.

### Advanced Tab

#### Advanced Settings

*Settings not included in the previous categories.*

| Setting | Description |
| - | - |
| **Recurse** | Whether to download files in subfolders of the target remote path. |
| **Use Virtual Hosting** | By default (*Auto*), the connector tries to determine which request style to use based on the bucket name. Set to *True* to force the buckets to be referenced using a hosted-style request: `http://yourbucket.storage.googleapis.com/yourobject`. Set to *False* to use a path-style request: `http://storage.googleapis.com/yourbucket/yourobject`. |
| **Timeout** | The duration the connector waits for a connection response before throwing a timeout error. |
| **Receive Filter** | A glob pattern filter to determine which files should be downloaded from the remote storage (for example, \*.txt). You can use negative patterns to indicate files that should *not* be downloaded (for example, -\*.tmp). Multiple patterns can be separated by commas, with later filters taking priority except when an exact match is found. |
| **Local File Scheme** | A scheme for assigning filenames to messages that are output by the connector. You can use macros in your filenames dynamically to include information such as identifiers and timestamps. For more information, see [Macros](#macros). |
| **Processing Delay** | The amount of time (in seconds) by which the processing of files placed in the **Transactions** tab is delayed. This is a legacy setting. Best practice is to [use a File connector](https://docs.arc.cdata.com/26.4/cloud/ja/flows/designing-a-flow.md#ローカルファイルシステムとのやり取り) to manage local file systems instead of this setting. |

#### Proxy Settings

これらは、接続のルーティング先となるプロキシを識別し認証するための一連の設定です。デフォルトでは、このセクションは[Security Settings](https://docs.arc.cdata.com/26.4/cloud/ja/getting-started/administration/settings/security.md) ページの[Proxy Settings](https://docs.arc.cdata.com/26.4/cloud/ja/getting-started/administration/settings/proxy-settings.md) 部分にあるグローバル設定を使用します。チェックボックスをオフにすると、コネクタ固有の設定を指定できます。

<table><thead><tr><th>設定</th><th>説明</th></tr></thead>
<tbody><tr><td>**Proxy Type**</td>
<td>プロキシベースのファイアウォールで使用されるプロトコル。</td></tr>
<tr><td>**Proxy Host**</td>
<td>プロキシベースのファイアウォールの名前またはIP アドレス。</td></tr>
<tr><td>**Proxy Port**</td>
<td>プロキシベースのファイアウォールのTCP ポート。</td></tr>
<tr><td>**Proxy User**</td>
<td>プロキシベースのファイアウォールで認証するために使用するユーザー名。</td></tr>
<tr><td>**Proxy Password**</td>
<td>プロキシベースのファイアウォールで認証するために使用するパスワード。</td></tr>
<tr><td>**Authentication Scheme**</td>
<td>デフォルトの**None** のままにするか、次の認証スキームのいずれかを選択します：**Basic**、**Digest**、**Proprietary**、または**NTLM**。</td></tr></tbody></table>

#### Logging

*ログの作成と保存を制御する設定です。*

<table><thead><tr><th>設定</th>
<th>説明</th></tr></thead>
<tbody><tr><td>**Log Level**</td>
<td>コネクタが生成するログの詳細度です。サポートを依頼する際は、これを**Debug** に設定してください。</td></tr>
<tr><td>**Log Subfolder Scheme**</td>
<td>選択した間隔に従って、コネクタがLogs フォルダ内のファイルをグループ化するよう指示します。**Weekly** オプション（デフォルト）は、コネクタが毎週新しいサブフォルダを作成し、その週のすべてのログをそのフォルダに保存するよう指示します。この設定を空白のままにすると、コネクタはすべてのログをLogs フォルダに直接保存します。多数のトランザクションを処理するコネクタでは、サブフォルダを使用することでログを整理しやすくなり、パフォーマンスが向上します。</td></tr>
<tr><td>**Log Messages**</td>
<td>処理したファイルのログエントリにファイル自体のコピーを含めるには、これをオンにします。これを無効にすると、**Transactions** タブからファイルのコピーをダウンロードできなくなる場合があります。</td></tr></tbody></table>

#### Miscellaneous

*Miscellaneous 設定は、特定のユースケース向けの設定です。*

<table><thead><tr><th>設定</th>
<th>説明</th></tr></thead>
<tbody><tr><td>**Other Settings**</td>
<td>非表示のコネクタ設定をセミコロン区切りのリストで設定できます（例：`setting1=value1;setting2=value2`）。通常のコネクタのユースケースや機能では、これらの設定の使用は必要ありません。</td></tr></tbody></table>

### Automation Tab

#### Automation Settings

*Settings related to the automatic processing of files by the connector.*

| Setting | Description |
| - | - |
| **Send** | Whether files arriving at the connector are automatically uploaded. |
| **Retry Interval** | The amount of time before a failed upload is retried. |
| **Max Attempts** | The maximum number of times the connector processes the input file. Success is measured based on a successful server acknowledgement. If you set this to 0, the connector retries the file indefinitely. |
| **Receive** | Whether the connector should automatically poll the remote download path for files to download. |
| **Interval** | The interval between automatic download attempts. |
| **Minutes Past the Hour** | The minutes offset for an hourly schedule. Only applicable when the interval setting above is set to *Hourly*. For example, if this value is set to 5, the automation service downloads at 1:05, 2:05, 3:05, etc. |
| **Time** | The time of day that the attempt should occur. Only applicable when the interval setting above is set to *Daily*, *Weekly*, or *Monthly*. |
| **Day** | The day on which the attempt should occur. Only applicable when the interval setting above is set to *Weekly* or *Monthly*. |
| **Minutes** | The number of minutes to wait before attempting the download. Only applicable when the interval setting above is set to *Minute*. |
| **Cron Expression** | A five-position string representing a cron expression that determines when the attempt should occur. Only applicable when the interval setting above is set to *Advanced*. |
| **Start Date and Time** | The date and time at which the automation first runs. Every run after that follows the interval setting above. The last and next run times appear in the [Automation Status](#automation-status) section. |

#### Automation Status

*オートメーションが実行されているか、前回の実行で何が起きたか、次回の実行がいつかを示す読み取り専用のサマリです。*

**オートメーションステータス**カードは、**受信**、**ダウンロード**、**スケジュール送信**のオートメーションにおいて、**オートメーション**タブの**有効**チェックボックスの下に表示されます。このカードでは、オートメーションが実行されたか、実行が成功したか、次回の実行がいつかという3点を確認できます。

コネクタを保存する前に、**有効**チェックボックス、**間隔**、または**開始日時**の設定を変更すると、カードもそれに合わせて更新されます。

![一時停止中のステータス、失敗した最後に処理された結果、および次回の実行時刻を表示するオートメーションタブのオートメーションステータスカード](https://docs.arc.cdata.com/26.4/images/automation-status-card.png)

ステータス

コネクタのオートメーションの現在の状態です。

<table><thead><tr><th>ステータス</th>
<th>説明</th></tr></thead>
<tbody><tr><td>**進行中**</td>
<td>実行が現在行われているか、別のインスタンスがスケジュールされた枠をロックしています。</td></tr>
<tr><td>**アイドル**</td>
<td>オートメーションは次のスケジュールされた実行を待機しています。</td></tr>
<tr><td>**一時停止中**</td>
<td>実行の失敗が繰り返された後、コネクタは[バックオフ](https://docs.arc.cdata.com/26.4/cloud/ja/connectors/connector-backoff.md)状態にあり、オートメーションサービスはこのコネクタをスキップしています。</td></tr>
<tr><td>**無効**</td>
<td>このコネクタのオートメーションはオフになっています。</td></tr></tbody></table>

前回の実行時刻

直近の実行の結果です。

<table><thead><tr><th>フィールド</th>
<th>説明</th></tr></thead>
<tbody><tr><td>**日付**</td>
<td>前回の実行のスケジュールされた時刻。</td></tr>
<tr><td>**最後に処理された開始**</td>
<td>コネクタが前回の実行の処理を実際に開始した時刻。スケジュールされた時刻よりわずかに遅れる場合があります。</td></tr>
<tr><td>**最後に処理された結果**</td>
<td>前回の実行の結果：
<ul><li>**成功**：実行が完了し、データが処理されました。</li>
<li>**データなし**：実行は完了しましたが、クエリが行を返さなかった場合など、処理するものがありませんでした。</li>
<li>**失敗**：実行が完了しませんでした。</li></ul></td></tr>
<tr><td>**最後に成功した日時**</td>
<td>直近で成功した実行の日時。このフィールドは、前回の実行が失敗した場合またはデータなしだった場合に表示され、コネクタが成功した実行なしでどれくらい経過しているかを確認できます。</td></tr></tbody></table>

次回の実行時刻

**日付**フィールドには、次にオートメーションが実行される予定の日時が表示されます。オートメーションが無効の場合は空白になります。

詳細を表示

**一時停止中**ステータス、**失敗**の結果、および**データなし**の結果にはそれぞれ**詳細を表示**リンクがあり、クリックすると完全なメッセージを表示するダイアログが開きます：

<ul><li>**一時停止中**：バックオフ状態にある各インスタンス、失敗した回数、およびオートメーションサービスが再開する時刻を一覧表示します。コネクタがこの状態を終了する方法については、[コネクタのバックオフ](https://docs.arc.cdata.com/26.4/cloud/ja/connectors/connector-backoff.md)を参照してください。</li>
<li>**失敗**：前回失敗した実行のエラーメッセージを表示します。</li>
<li>**データなし**：`0 rows returned` など、コネクタが報告したメッセージを表示します。</li></ul>

未実行とデータなしの違い

このカードでは、まだ実行されていないコネクタと、実行されたものの何も見つからなかったコネクタを区別できます。**最後に処理された結果**が空の場合、オートメーションはまだ実行されていないため、**次回の実行時刻**とスケジュール設定を確認してください。結果が**データなし**の場合、オートメーションはスケジュールどおりに実行されましたが、データソースから何も返されなかったため、ソースに新しいデータがあるかどうかを確認してください。

無効なコネクタ

無効なコネクタは前回の実行情報を保持するため、いつ最後に実行され、何が起きたかを引き続き確認できます。クリアされるのは**次回の実行時刻**のみです。

#### Performance

*コネクタへのリソースの割り当てに関する設定です。*

<table><thead><tr><th>設定</th>
<th>説明</th></tr></thead>
<tbody><tr><td>**Max Workers**</td>
<td>このコネクタでファイルを処理するためにスレッドプールから消費されるワーカースレッドの最大数です。設定すると、[Advanced Settings](https://docs.arc.cdata.com/26.4/cloud/ja/getting-started/administration/settings/advanced-settings.md) ページの[Performance Settings](https://docs.arc.cdata.com/26.4/cloud/ja/getting-started/administration/settings/performance-settings.md) 部分にあるデフォルト設定が上書きされます。</td></tr>
<tr><td>**Max Files**</td>
<td>コネクタに割り当てられた各スレッドが送信するファイルの最大数です。設定すると、[Advanced Settings](https://docs.arc.cdata.com/26.4/cloud/ja/getting-started/administration/settings/advanced-settings.md) ページの[Performance Settings](https://docs.arc.cdata.com/26.4/cloud/ja/getting-started/administration/settings/performance-settings.md) 部分にあるデフォルト設定が上書きされます。</td></tr></tbody></table>

### Alerts Tab

*アラートの設定に関する設定です。*

サービスレベルアグリーメント（SLA）を実行する前に、通知用のメールアラートをセットアップする必要があります。デフォルトでは、Arc は[Alerts](https://docs.arc.cdata.com/26.4/cloud/ja/getting-started/administration/settings/alerts.md) タブのグローバル設定を使用します。このコネクタに別の設定を使用するには、**Override global setting** をオンに切り替えます。

デフォルトではエラーアラートが有効になっており、エラーが発生するたびにメールが送信されます。これをオフにするには、**Enable** チェックボックスのチェックを外します。

**Subject**（必須）を入力します。**Allow ArcScript in Subject** をチェックすると、**Subject** フィールドでArcScript を使用できます。これを選択すると、**ArcScript エディタ**ボタンが表示されます（![arcscript editor button](https://docs.arc.cdata.com/26.4/images/rest_arcscript_editor.png)）。

必要に応じて**Recipient** のメールアドレスをカンマ区切りのリストで入力します。

### SLAs Tab

*サービスレベルアグリーメント（SLA）の設定に関する設定です。*

SLA を使用すると、フロー内のコネクタが送受信すると見込まれるボリュームを設定し、そのボリュームを達成すると見込まれる期間を設定できます。CData Arc は、SLA が達成されない場合にユーザーへ警告するメールを送信し、SLA を*At Risk* としてマークします。これは、SLA が間もなく達成されない場合に*Violated* としてマークされることを意味します。これにより、ユーザーは介入してSLA が達成されない理由を特定し、適切な対応を取る機会を得られます。At Risk 期間の終了時点でもSLA が達成されない場合、SLA はviolated としてマークされ、ユーザーに再度通知されます。

SLA が*At Risk* または*Violated* に移行したことも[アプリケーションログ](https://docs.arc.cdata.com/26.4/cloud/ja/getting-started/administration/activity.md#アプリケーションログ)に書き込まれるため、Application Performance Monitoring（APM）やログ収集ツールでもアラートを設定できます。

SLA を定義するには、**Expected Volume** をオンに切り替え、**Settings** タブをクリックします。

![SLA Empty](https://docs.arc.cdata.com/26.4/images/sla_empty.png)
<ul><li>コネクタに送信と受信の個別のアクションがある場合は、ラジオボタンを使用してSLA がどちらの方向に適用されるかを指定します。</li>
<li>ウィンドウの**Expect at least** 部分で、次を設定します。
<ul><li>処理を見込む最小トランザクション数（ボリューム）を設定します。</li>
<li>**Every** フィールドを使用して期間を指定します。</li>
<li>SLA を有効にするタイミングを指定します。**Starting on** を選択した場合は、日付および時刻フィールドを入力します。</li>
<li>SLA を有効にしたい曜日のチェックボックスをオンにします。必要に応じて、ドロップダウンで**Everyday** を選択します。</li></ul></li>
<li>ウィンドウの**Set status to 'At Risk'** 部分で、SLA をAt Risk としてマークするタイミングを指定します。
<ul><li>デフォルトでは、SLA が違反状態になるまで通知は送信されません。これを変更するには、**Send an 'At Risk' notification** をオンにします。</li></ul></li></ul>

次の例は、月曜日から金曜日まで毎日1000 件のファイルを受信すると見込むコネクタ向けに設定されたSLA を示しています。1000 件のファイルが受信されていない場合、期間の終了の1時間前にAt Risk 通知が送信されます。

![SLA Configuration Example](https://docs.arc.cdata.com/26.4/images/sla_defined.png)

> [!NOTE]
>
> 必要に応じてSLA アラートをオフにすることができます。これはメンテナンスウィンドウ中に役立ちます。navbar で**Settings** をクリックし、**Alerts > General Alerts** に移動します。タブレットと鉛筆のアイコンをクリックして編集し、**SLA Alerts** 設定のチェックを外します。

## Establishing a Connection

OAuth credentials are required to establish a connection with the Google Storage connector. Acquire the OAuth credentials from Google via the Google Console, then specify them in the following connector fields on the [Settings tab](#settings-tab):

* OAuth Client ID
* OAuth Client Secret

Google might require an OAuth callback/redirect URL when generating OAuth credentials. The Arc callback/redirect URL is the same as the address and port where the application is hosted, plus the following resource path: `src/oauthCallback.rst`. For example, if Arc is hosted on 'mydomain.com' on port 8001, specify the following URL as the callback/redirect URL: `http://mydomain.com:8001/src/oauthCallback.rst`.

Once authentication is successfully completed with Google, the Google Storage connector handles refreshing the OAuth tokens to ensure that authentication persists over time.

## Uploading and Downloading

### Upload

To upload files, set the **Bucket Name** field in the [Host Configuration](#host-configuration) portion of the **Settings** page to the target bucket, then set the **Remote Folder** field in the [Send](#send) portion of the **Settings** page to the folder where files should be uploaded. Each Google Storage connector uploads to a single folder location.

Use the **Overwrite remote files** option to indicate whether files that already exist in the remote folder should be overwritten or skipped.

After configuration is complete, files placed in the connector **Transactions** tab are uploaded to the remote storage. If **Send Automation** is enabled, the upload happens automatically; otherwise, you can send individual files from the Transactions tab.

### Download

To download files, set the **Remote Folder** field in the [Receive](#receive) portion of the **Settings** page to the folder where files should be downloaded. Use a comma-delimited list to specify multiple folders.

You can set the **Receive Filter** field on the [Advanced tab](#advanced-tab) to a glob filter to specify which files should be downloaded from the remote storage (for example, \*.txt). You can use negative patterns to indicate files that should *not* be downloaded (for example, -\*.tmp). Use a comma-separated list to specify multiple filters.

Use **Delete** to specify whether successfully downloaded files should be removed from the remote storage.

After configuration is complete, files are downloaded according to the **Receive** [Automation](#automation-settings) settings, or you can manually click the **Receive** button on the **Transactions** tab.

## Macros

ファイル命名戦略でマクロを使用すると、データの整理効率と文脈の理解を高めることができます。
ファイル名にマクロを組み込むことで、識別子、タイムスタンプ、ヘッダー情報などの関連情報を
動的に含めることができ、各ファイルに有用な文脈を提供します。

CData Arc は次のマクロをサポートしています。これらはすべて次の構文を使用します。`%Macro%`

<table><thead><tr><th>マクロ</th><th>説明</th></tr></thead>
<tbody><tr><td>ConnectorID</td><td>コネクタのConnectorID に評価されます。</td></tr>
<tr><td>ConnectorName</td><td>コネクタの名前に評価されます。ファイル名やパスに接続名を含めることができます。例えば、どのデータベース接続が生成したかによってバックアップファイルにタグを付けるために使用できます。</td></tr>
<tr><td>Ext</td><td>コネクタが現在処理しているファイルの拡張子に評価されます。</td></tr>
<tr><td>Filename</td><td>コネクタが現在処理しているファイルのファイル名（拡張子を含む）に評価されます。</td></tr>
<tr><td>FilenameNoExt</td><td>コネクタが現在処理しているファイルのファイル名（拡張子を除く）に評価されます。</td></tr>
<tr><td>MessageId</td><td>コネクタが出力しているメッセージのMessageId に評価されます。</td></tr>
<tr><td>RegexFilename:*pattern*</td><td>コネクタが現在処理しているファイルのファイル名に正規表現パターンを適用します。</td></tr>
<tr><td>Header:*headername*</td><td>コネクタが現在処理しているメッセージ上の対象ヘッダー（`headername`）の値に評価されます。</td></tr>
<tr><td>LongDate</td><td>システムの現在の日時を長い形式（例：Wednesday, January 24, 2024）で評価します。</td></tr>
<tr><td>ShortDate</td><td>システムの現在の日時をyyyy-MM-dd 形式（例：2024-01-24）で評価します。</td></tr>
<tr><td>DateFormat:*format*</td><td>システムの現在の日時を指定された形式（`format`）で評価します。利用可能な日時形式については、[日付形式のサンプル](https://docs.arc.cdata.com/26.4/cloud/ja/scripting/value-formatters/date-formatters.md#date-formats-with-literal-characters)を参照してください。</td></tr>
<tr><td>Vault:*vaultitem*</td><td>指定されたVault アイテムの値に評価されます。</td></tr></tbody></table>

### Examples

%Ext% や %ShortDate% などの一部のマクロは引数を必要としませんが、引数を必要とするものもあります。
引数を取るすべてのマクロは次の構文を使用します。`%Macro:argument%`

引数を取るマクロの例を次に示します。

<ul><li>%Header:headername%：`headername` はメッセージ上のヘッダーの名前です。</li>
<li>%Header:mycustomheader% は、入力メッセージに設定された`mycustomheader` ヘッダーの値に解決されます。</li>
<li>%Header:ponum% は、入力メッセージに設定された`ponum` ヘッダーの値に解決されます。</li>
<li>%RegexFilename:pattern%：`pattern` は正規表現パターンです。例えば、`%RegexFilename:^([\w][A-Za-z]+)%` は、ファイル名の最初の単語にマッチしてそれに解決され、大文字・小文字を区別しません（`test_file.xml` は`test` に解決されます）。</li>
<li>%Vault:vaultitem%：`vaultitem` は[Vault](https://docs.arc.cdata.com/26.4/cloud/ja/getting-started/administration/settings/global-settings-vault.md) 内のアイテムの名前です。例えば、`%Vault:companyname%` は、Vault に保存された`companyname` アイテムの値に解決されます。</li>
<li>%DateFormat:format%：`format` は許容される日付形式です（詳細は[日付形式のサンプル](https://docs.arc.cdata.com/26.4/cloud/ja/scripting/value-formatters/date-formatters.md#sample-date-formats)を参照してください）。例えば、`%DateFormat:yyyy-MM-dd-HH-mm-ss-fff%` は、ファイルの日付とタイムスタンプに解決されます。</li></ul>

次の例に示すように、より高度なマクロを作成することもできます。

<ul><li>1 つのファイル名で複数のマクロを組み合わせる：`%DateFormat:yyyy-MM-dd-HH-mm-ss-fff%%EXT%`</li>
<li>マクロの外側にテキストを含める：`MyFile_%DateFormat:yyyy-MM-dd-HH-mm-ss-fff%`</li>
<li>マクロの内側にテキストを含める：`%DateFormat:'DateProcessed-'yyyy-MM-dd_'TimeProcessed-'HH-mm-ss%`</li></ul>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.