メソッド: accounts.customers.serviceEntitlements.list

ある顧客に属する ServiceEntitlement のリストを取得します。

HTTP リクエスト

GET https://channel.googleapis.com/v1alpha1/{parent=accounts/*/customers/*}/serviceEntitlements

この URL は Google API HTTP アノテーション構文を使用します。

パスパラメータ

パラメータ
parent

string

販売パートナーの顧客アカウントのリソース名。このアカウントのエンタイトルメントのリストを取得します。

クエリ パラメータ

パラメータ
pageSize

number

リクエストされたページサイズ。サーバーはリクエストされた数よりも少ない結果を返すことがあります。指定しない場合は、サーバーでデフォルト サイズが選択されます。

pageToken

string

最初のページ以外の結果ページを識別するためのトークン。このトークンはサーバーから返されます。通常は ListServiceEntitlementsResponse.next_page_token(以前の CloudChannelService.ListServiceEntitlements 呼び出し)によって取得されます。

リクエストの本文

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

レスポンスの本文

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

CloudChannelService.ListServiceEntitlements に対するレスポンス メッセージ。

JSON 表現

{
  "serviceEntitlements": [
    {
      object(ServiceEntitlement)
    }
  ],
  "nextPageToken": string
}
フィールド
serviceEntitlements[]

object(ServiceEntitlement)

販売パートナーの顧客に属するサービス エンタイトルメント。

nextPageToken

string

結果の次ページを取得するためのトークン。当該ページを取得するために ListServiceEntitlementsRequest.page_token に渡されます。

試してみましょう