Method: accounts.get
指定されたアカウントを取得します。アカウントが存在しない場合、または呼び出し元にアカウントへのアクセス権がない場合は、NOT_FOUND
を返します。
HTTP リクエスト
GET https://mybusinessaccountmanagement.googleapis.com/v1/{name=accounts/*}
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
name |
string
必須。取得するアカウントの名前。
|
リクエスト本文
リクエストの本文は空にする必要があります。
レスポンスの本文
成功した場合、レスポンスの本文には Account
のインスタンスが含まれます。
認可スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/business.manage
詳細については、OAuth 2.0 の概要をご覧ください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2023-12-01 UTC。
[null,null,["最終更新日 2023-12-01 UTC。"],[[["Retrieves a specified account with details like name and other properties."],["Requires authorization with the `https://www.googleapis.com/auth/business.manage` scope."],["Returns a `NOT_FOUND` error if the account doesn't exist or if the user lacks access."],["Uses a `GET` request to the specified URL with the account name as a path parameter."],["An empty request body is necessary, and a successful response includes the `Account` object."]]],[]]