Method: accounts.provisionAccountTicket
アカウントの作成に関するチケットをリクエストします。
HTTP リクエスト
POST https://analyticsadmin.googleapis.com/v1alpha/accounts:provisionAccountTicket
この URL は gRPC Transcoding 構文を使用します。
リクエストの本文
リクエストの本文には、次の構造のデータが含まれます。
JSON 表現 |
{
"account": {
object (Account )
},
"redirectUri": string
} |
フィールド |
account |
object (Account )
作成するアカウント。
|
redirectUri |
string
利用規約に同意した後にユーザーがリダイレクトされる URI。Cloud コンソールでリダイレクト URI として構成する必要があります。
|
レスポンスの本文
accounts.provisionAccountTicket RPC に対するレスポンス メッセージ。
成功した場合、レスポンスの本文には次の構造のデータが含まれます。
JSON 表現 |
{
"accountTicketId": string
} |
フィールド |
accountTicketId |
string
利用規約のリンクで渡されるパラメータ。
|
認可スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/analytics.edit
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-01-14 UTC。
[null,null,["最終更新日 2025-01-14 UTC。"],[[["This document explains how to request a ticket for creating a Google Analytics account using the `provisionAccountTicket` method."],["The request body should contain the account details and a redirect URI for user redirection after accepting Terms of Service."],["A successful response will include an `accountTicketId` used for the Terms of Service link."],["This operation requires the `https://www.googleapis.com/auth/analytics.edit` OAuth scope for authorization."]]],["The core action is to request a ticket for account creation via a POST request to a specified URL. The request body must include an `account` object and a `redirectUri`. Successful requests return a response body containing an `accountTicketId`. This process uses gRPC Transcoding syntax, and requires the OAuth scope `https://www.googleapis.com/auth/analytics.edit` for authorization. The redirect URI must be configured in the Cloud Console.\n"]]