Method: accounts.getDataSharingSettings

アカウントのデータ共有設定を取得するデータ共有設定はシングルトンです。

HTTP リクエスト

GET https://analyticsadmin.googleapis.com/v1alpha/{name=accounts/*/dataSharingSettings}

この URL は gRPC Transcoding 構文を使用します。

パスパラメータ

パラメータ
name

string

必須。検索する設定の名前。形式: accounts/{account}/dataSharingSettings 例: "accounts/1000/dataSharingSettings"

リクエスト本文

リクエストの本文は空にする必要があります。

レスポンスの本文

Google アナリティクス アカウントのデータ共有設定を示すリソース メッセージ。

成功すると、レスポンスの本文に次の構造のデータが含まれます。

JSON 表現
{
  "name": string,
  "sharingWithGoogleSupportEnabled": boolean,
  "sharingWithGoogleAssignedSalesEnabled": boolean,
  "sharingWithGoogleAnySalesEnabled": boolean,
  "sharingWithGoogleProductsEnabled": boolean,
  "sharingWithOthersEnabled": boolean
}
フィールド
name

string

出力のみ。リソース名。形式: accounts/{account}/dataSharingSettings 例: "accounts/1000/dataSharingSettings"

sharingWithGoogleSupportEnabled

boolean

問題のトラブルシューティングのために Google サポートにデータへのアクセスを許可する

sharingWithGoogleAssignedSalesEnabled

boolean

お客様に割り当てられた Google セールスチームがデータにアクセスして、結果を改善するための構成変更を提案できるようになります。有効にすると、セールスチームの制限が適用されます。

sharingWithGoogleAnySalesEnabled

boolean

結果を改善するための構成変更を提案するために、Google の営業担当者がデータにアクセスできます。

sharingWithGoogleProductsEnabled

boolean

Google のその他のサービスの改善を目的としたデータの使用を Google に許可します。

sharingWithOthersEnabled

boolean

Google が集約したデータを匿名で他のユーザーと共有することを許可します。

認可スコープ

次の OAuth スコープのいずれかが必要です。

  • https://www.googleapis.com/auth/analytics.readonly
  • https://www.googleapis.com/auth/analytics.edit