Method: properties.dataStreams.patch
プロパティの DataStream を更新します。
HTTP リクエスト
PATCH https://analyticsadmin.googleapis.com/v1beta/{dataStream.name=properties/*/dataStreams/*}
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
dataStream.name |
string
出力専用。このデータ ストリームのリソース名。形式: properties/{property_id}/dataStreams/{stream_id} 例: "properties/1000/dataStreams/2000"
|
クエリ パラメータ
パラメータ |
updateMask |
string (FieldMask format)
必須。更新するフィールドのリスト。省略されたフィールドは更新されません。エンティティ全体を置き換えるには、文字列「*」を含む 1 つのパスを使用して、すべてのフィールドを照合します。 完全修飾フィールド名のカンマ区切りリスト。例: "user.displayName,photo" 。
|
リクエストの本文
リクエストの本文には DataStream
のインスタンスが含まれます。
レスポンスの本文
成功した場合、レスポンスの本文には DataStream
のインスタンスが含まれます。
認可スコープ
次の 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。"],[[["Updates a DataStream associated with a Google Analytics 4 property."],["The request requires specifying the DataStream name as a path parameter and an update mask as a query parameter."],["Request and response bodies utilize the `DataStream` object structure for data exchange."],["Authorization necessitates the `analytics.edit` scope for successful execution."]]],["This outlines updating a DataStream using a PATCH request to a specified URL structure: `https://analyticsadmin.googleapis.com/v1beta/{dataStream.name=properties/*/dataStreams/*}`. The `dataStream.name` parameter in the path is required. Updates are defined in the `updateMask` query parameter using FieldMask format. The request and response bodies utilize the DataStream format. It also requires the `https://www.googleapis.com/auth/analytics.edit` authorization scope.\n"]]