Method: projects.locations.brands.listHistory

ブランドの履歴エントリを一覧表示します。

HTTP リクエスト

GET https://foodorderingaiagent.googleapis.com/v1/{parent=projects/*/locations/*/brands/*}:listHistory

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

パスパラメータ

パラメータ
parent

string

必須。履歴を一覧表示するブランド。形式: projects/{project}/locations/{location}/brands/{brand}

クエリ パラメータ

パラメータ
pageSize

integer

省略可。返す履歴エントリの最大数。

pageToken

string

省略可。前回の brands.listHistory 呼び出しから受け取ったページトークン。

filter

string

省略可。結果をフィルタリングするフィルタ式。サポートされているフィルタ: - user: 作成者ユーザーでフィルタします。- timestamp: commit time でフィルタします。- resourceType: リソースタイプでフィルタします。

リクエストの本文

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

レスポンスの本文

MenuService.ListBrandHistory に対するレスポンス メッセージです。

成功した場合、レスポンスの本文には次の構造のデータが含まれます。

JSON 表現
{
  "brandHistory": [
    {
      object (HistoryEntry)
    }
  ],
  "nextPageToken": string
}
フィールド
brandHistory[]

object (HistoryEntry)

履歴エントリ。

nextPageToken

string

次のページを取得するために pageToken として送信できるトークン。

認可スコープ

次の OAuth スコープが必要です。

  • https://www.googleapis.com/auth/cloud-platform

詳細については、Authentication Overview をご覧ください。

HistoryEntry

リソース リビジョンの履歴エントリ。

JSON 表現
{
  "commitTime": string,
  "createdBy": string,
  "revisionName": string,
  "resourceType": string,
  "action": enum (RevisionAction),

  // Union field resource_revision can be only one of the following:
  "brand": {
    object (Brand)
  },
  "store": {
    object (Store)
  },
  "channelConfig": {
    object (ChannelConfig)
  },
  "configApplicationRule": {
    object (ConfigApplicationRule)
  }
  // End of list of possible types for union field resource_revision.
}
フィールド
commitTime

string (Timestamp format)

リビジョンが作成された日時。

RFC 3339 を使用します。生成された出力は常に Z 正規化され、小数点以下は 0、3、6、または 9 桁になります。「Z」以外のオフセットも使用できます。例: "2014-10-02T15:01:23Z"、"2014-10-02T15:01:23.045123456Z"、"2014-10-02T15:01:23+05:30"。

createdBy

string

リビジョンを作成したユーザーまたはサービス。

revisionName

string

リビジョンの完全なリソース名。

resourceType

string

ベースリソースのタイプ(「Brand」、「Store」、「ChannelConfig」など)。

action

enum (RevisionAction)

このリビジョンを作成したアクション。

共用体フィールド resource_revision。リソースのリビジョン。resource_revision は次のいずれかになります。
brand

object (Brand)

commit 時のブランド。

store

object (Store)

commit 時のストア。

channelConfig

object (ChannelConfig)

commit 時のチャネル構成。

configApplicationRule

object (ConfigApplicationRule)

commit 時の構成適用ルール。