---
sourceDocument: Xanadu のアプリケーションとの統合の作成
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/ja-JP/xanadu/integrate-applications

 Release :

    - xanadu

ft:locale :

    - ja-JP

ft:publication_title :

    - Xanadu のアプリケーションとの統合の作成

ft:clusterId :

    - crint

bundleId :

    - crint

workflow :

    - Creator


---

# Google Cloud Storage スポーク

# Google Cloud Storage スポーク {#ariaid-title1}

* リリースバージョン: Xanadu
* 
* 更新日 2024年08月01日
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 所要時間：7分

ServiceNowインスタンスからの Google Cloud でのデータのストレージと取得を管理します。

## ストアでアプリを要求する {#gcloudstorage-spoke__section_z3j_k42_x3b}

[ServiceNow Store](https://store.servicenow.com/sn_appstore_store.do#!/store/home) Web サイトにアクセスして利用可能なすべてのアプリを表示し、ストアにリクエストを送信する方法について確認してください。リリースされたすべてのアプリのリリースノート情報については、「[ServiceNow Storeバージョン履歴のリリースノート](https://www.servicenow.com/docs/bundle/store-release-notes/page/release-notes/store/sn-store-release-notes.html)」を参照してください。{#gcloudstorage-spoke__inline-send-to-store}

## 統合ハブサブスクリプション {#gcloudstorage-spoke__section_rsf_yvb_l3b}

このスポークには Integration Hub のサブスクリプションが必要です。詳細については、「[法務スケジュール - 統合ハブの概要](https://www.servicenow.com/content/dam/servicenow-assets/public/en-us/doc-type/legal/snc-addendum-integrationhub.pdf)」を参照てください。

## スポークバージョン {#gcloudstorage-spoke__section_bzs_v5m_x5b}

Google Cloud Storage スポーク v1.0.4 が最新バージョンです。{#gcloudstorage-spoke__gcloud-dns-ver}

## スポークの依存関係 {#gcloudstorage-spoke__section_rxy_bmq_glb}

アプリのインストールで問題が発生した場合は、次の依存プラグインがインストールされていることを確認してください。

* ServiceNow 統合ハブアクションテンプレート - データストリーム (com.glide.hub.action_type.datastream)
* ServiceNow 統合ハブアクションステップ - REST (com.glide.hub.action_step.rest)
* ServiceNow 統合ハブランタイム (com.glide.hub.integration.runtime)
* ServiceNow フローデザイナー - 動的入力 (com.glide.hub.dynamic_inputs)
* 複合オブジェクト (com.glide.cobject)

{#gcloudstorage-spoke__ul_xpv_nfj_flb}  
注:  
これらのプラグインの一部はライセンス可能な機能であり、スポーク実装以外で使用する場合は適切なライセンスが必要です。ライセンスの詳細については、アカウントマネージャーにお問い合わせください。

## Google Cloud Storage アカウントの要件 {#gcloudstorage-spoke__section_rvj_b3t_kfba}

Google Cloud Storage スポークでは、Google Cloud Platform で作成したカスタムアプリが必要です。

## サポートされているバージョン {#gcloudstorage-spoke__section_ccw_l34_zgb}

このスポークは API バージョン v1 用にビルドされていますが、それ以降のバージョンと互換性がある可能性があります。

## スポークのサブフロー {#gcloudstorage-spoke__section_tg3_hxb_4lb}

Google Cloud Storage スポークでは、Google Cloud Storageタスクの自動化をデモするためのサンプルサブフローが提供されます。サンプルサブフローをカスタマイズするには、新しいアプリケーションスコープにコピーします。利用可能なサンプルサブフローは次のとおりです。  
{#gcloudstorage-spoke__table_bj2_nxb_4lb__entry__2}

| サブフロー | 説明 |
|-|-|
| オブジェクトを移動 | ソースバケットから宛先バケットにオブジェクトを移動します。 |
| オブジェクトの名前を変更 | 指定されたオブジェクトの名前を変更します。 |
[ ]

{#gcloudstorage-spoke__table_bj2_nxb_4lb}

## スポークのアクション {#gcloudstorage-spoke__section_hrs_1gt_kfb}

Google Cloud Storage スポークでは、ServiceNowでイベントが発生したときにGoogle Cloud Storageを自動化するアクションが提供されます。スポークアクションを実行するには、Google Cloud Platform のプロジェクトまたは組織に前述の権限があることを確認する必要があります。利用可能なスポークアクションは次のとおりです。  
{#gcloudstorage-spoke__table_byd_1tb_4lb__entry__4}

| カテゴリ | アクション | 説明 | 必要な権限 |
|-|-|-|-|
| バケットアクセス制御管理 | バケットアクセス制御を作成/更新 | バケットアクセス制御を作成/更新します。 | * storage.buckets.get * storage.buckets.getIamPolicy * storage.buckets.setIamPolicy * storage.buckets.update {#gcloudstorage-spoke__ul_pf5_33s_plb} |
| バケットアクセス制御管理 | バケットアクセス制御を削除 | 指定されたバケットアクセス制御を削除します。 | * storage.buckets.get * storage.buckets.getIamPolicy * storage.buckets.setIamPolicy * storage.buckets.update {#gcloudstorage-spoke__ul_kxq_n3s_plb} |
| バケットアクセス制御管理 | すべてのバケットアクセス制御をリスト | すべてのバケットアクセス制御のリストを取得します。 | * storage.buckets.get * storage.buckets.getIamPolicy {#gcloudstorage-spoke__ul_mf1_p3s_plb} |
| バケット管理 | バケットを作成 | Google Cloud Storageでバケットを作成します。 | Storage.buckets.create |
| バケット管理 | バケットを削除 | Google Cloud Storageで指定されたバケットを削除します。 | storage.buckets.delete |
| バケット管理 | バケットの詳細を取得 | Google Cloud Storageで指定されたバケットの詳細を取得します。 | * storage.buckets.get * storage.buckets.getIamPolicy {#gcloudstorage-spoke__ul_gjy_q3s_plb} |
| バケット管理 | バケットラベルを取得 | Google Cloud Storageで指定されたバケットのラベルを取得します。 | * storage.buckets.get * storage.buckets.getIamPolicy {#gcloudstorage-spoke__ul_q3c_w3s_plb} |
| バケット管理 | IAM ポリシーを取得 | Google Cloud Storageで指定されたバケットの IAM ポリシーを取得します。 | storage.buckets.getIamPolicy |
| バケット管理 | すべてのバケットをリスト | Google Cloud Storageで指定されたすべてのバケットの詳細を取得します。 | * storage.buckets.list * storage.buckets.getIamPolicy {#gcloudstorage-spoke__ul_ax2_s3s_plb} |
| バケット管理 | バケットの詳細を更新 | Google Cloud Storageで指定されたバケットの詳細を更新します。 | * storage.buckets.update * storage.buckets.setIamPolicy {#gcloudstorage-spoke__ul_dsd_t3s_plb} |
| バケット管理 | バケット IAM ポリシーを更新 | Google Cloud Storageで指定されたバケットの IAM ポリシーを更新します。 | storage.buckets.setIamPolicy |
| オブジェクトアクセス制御管理 | オブジェクトアクセス制御を作成/更新 | オブジェクトアクセス制御を作成/更新します。 | * storage.objects.get * storage.objects.getIamPolicy * storage.objects.setIamPolicy * storage.objects.update {#gcloudstorage-spoke__ul_lfn_x3s_plb} |
| オブジェクトアクセス制御管理 | オブジェクトアクセス制御を削除 | 指定されたオブジェクトアクセス制御を削除します。 | * storage.objects.get * storage.objects.getIamPolicy * storage.objects.setIamPolicy * storage.objects.update {#gcloudstorage-spoke__ul_aht_y3s_plb} |
| オブジェクトアクセス制御管理 | すべてのオブジェクトアクセス制御をリスト | すべてのオブジェクトアクセス制御のリストを取得します。 | * storage.objects.get * storage.objects.getIamPolicy {#gcloudstorage-spoke__ul_cpy_z3s_plb} |
| オブジェクト管理 | オブジェクトをコピー | バケット間でオブジェクトをコピーします。 | * storage.objects.create (宛先バケット用) * storage.objects.delete (宛先バケット用) * storage.objects.get (ソースバケット用) {#gcloudstorage-spoke__ul_gzp_gjs_plb} |
| オブジェクト管理 | オブジェクトを削除 | バケットのオブジェクトを削除します。 | storage.objects.delete |
| オブジェクト管理 | オブジェクトを ServiceNow にダウンロード | 指定されたオブジェクトをServiceNowにダウンロードします。 | * storage.objects.get * storage.objects.getIamPolicy {#gcloudstorage-spoke__ul_d15_ljs_plb} |
| オブジェクト管理 | オブジェクトの詳細を取得 | 指定されたオブジェクトの詳細を取得します。 | * storage.objects.get * storage.objects.getIamPolicy {#gcloudstorage-spoke__ul_jwj_cjs_plb} |
| オブジェクト管理 | すべてのオブジェクトをリスト | 指定されたバケット内のすべてのオブジェクトのリストを取得します。 | * storage.objects.list * storage.objects.getIamPolicy {#gcloudstorage-spoke__ul_tkt_djs_plb} |
| オブジェクト管理 | オブジェクトを再書き込み | ソースバケットから宛先バケットにオブジェクトを再書き込みします。 | * storage.objects.create (宛先バケット用) * storage.objects.delete (宛先バケット用) * storage.objects.get (ソースバケット用) {#gcloudstorage-spoke__ul_bdm_jjs_plb} |
| オブジェクト管理 | バケット内のオブジェクト詳細を更新 | バケット内の指定されたオブジェクトの詳細を更新します。 | * storage.objects.update * storage.objects.setIamPolicy {#gcloudstorage-spoke__ul_isz_2js_plb} |
| オブジェクト管理 | オブジェクトストレージクラスを更新 | 指定されたオブジェクトのストレージクラスを更新します。 | * storage.objects.update * storage.objects.setIamPolicy {#gcloudstorage-spoke__ul_npq_kjs_plb} |
| オブジェクト管理 | オブジェクトをアップロード | 指定されたバケットにオブジェクトをアップロードします。 | * storage.objects.create * storage.objects.delete {#gcloudstorage-spoke__ul_tfq_bjs_plb} |
[ ]

{#gcloudstorage-spoke__table_byd_1tb_4lb}必要な権限の詳細については、[IAM 権限リファレンス](https://cloud.google.com/iam/docs/permissions-reference)を参照してください。

## 接続および資格情報エイリアスの要件 {#gcloudstorage-spoke__section_akr_h3t_kfb}

統合ハブ は、エイリアスを使用して、接続情報および認証情報、および OAuth 認証情報を管理します。エイリアスを使用することで、複数の環境を使用する場合に、複数の認証情報と接続情報プロファイルを構成する必要がなくなります。接続または認証情報が変更された場合、接続を使用するどのアクションも更新する必要はありません。

スポークの設定については、「 [Google Cloud Storage スポークを設定](https://servicenow-prod.fluidtopics.net/KoW5q6TWa99nS1YO68incQ#setup-gstorage "G Suite 認証情報を使用してServiceNowインスタンスと Google Cloud Storage スポークをデータ連携し、ServiceNow要求を認証します。")。

