Request
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
バッチ実行の一部として送信されるリクエスト メッセージ。
JSON 表現 |
{
"requestId": string,
"methodName": string,
"request": {
"@type": string,
field1: ...,
...
},
"extensions": [
{
"@type": string,
field1: ...,
...
}
]
} |
フィールド |
requestId |
string
バッチ内のこのリクエストの一意の ID。一致する requestId を含む Response メッセージが、このリクエストに対するレスポンスです。リクエスト ストリーミング メソッドでは、同じ requestId を複数回使用して、単一のメソッドに含まれるすべてのリクエスト メッセージを渡すことができます。レスポンス ストリーミング メソッドの場合、同じ requestId が複数のレスポンス メッセージに表示されることがあります。
|
methodName |
string
呼び出されているメソッド。完全修飾メソッド名にする必要があります。例: google.rpc.batch.Batch.Execute
|
request |
object
リクエスト ペイロード。 任意の型のフィールドを含むオブジェクト。追加フィールドの "@type" には、その型を識別する URI が含まれます。例: { "id": 1234, "@type": "types.example.com/standard/id" }
|
extensions[] |
object
アプリケーション固有のリクエスト メタデータ。 任意の型のフィールドを含むオブジェクト。追加フィールドの "@type" には、その型を識別する URI が含まれます。例: { "id": 1234, "@type": "types.example.com/standard/id" }
|
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-03-13 UTC。
[null,null,["最終更新日 2025-03-13 UTC。"],[],[],null,["# Request\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nA request message sent as part of a batch execution.\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"requestId\": string, \"methodName\": string, \"request\": { \"@type\": string, field1: ..., ... }, \"extensions\": [ { \"@type\": string, field1: ..., ... } ] } ``` |\n\n| Fields ||\n|----------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `requestId` | `string` Unique id of this request within the batch. The Response message with a matching `requestId` is the response to this request. For request-streaming methods, the same `requestId` may be used multiple times to pass all request messages that are part of a single method. For response-streaming methods, the same `requestId` may show up in multiple Response messages. |\n| `methodName` | `string` The method being called. Must be a fully qualified method name. Example: google.rpc.batch.Batch.Execute |\n| `request` | `object` The request payload. An object containing fields of an arbitrary type. An additional field `\"@type\"` contains a URI identifying the type. Example: `{ \"id\": 1234, \"@type\": \"types.example.com/standard/id\" }`. |\n| `extensions[]` | `object` Application specific request metadata. An object containing fields of an arbitrary type. An additional field `\"@type\"` contains a URI identifying the type. Example: `{ \"id\": 1234, \"@type\": \"types.example.com/standard/id\" }`. |"]]