Method: properties.delete
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
ターゲット プロパティを削除(復元可能)としてマークし、返します。
この API には、削除(復元可能)されたプロパティを復元するメソッドがありません。ゴミ箱の UI を使用して復元できます。
有効期限内にプロパティを復元しなかった場合、プロパティとすべての子リソース(GoogleAdsLinks、Streams、UserLinks など)は完全に削除されます。https://support.google.com/analytics/answer/6154772
ターゲットが見つからなかった場合、または GA4 プロパティでない場合は、エラーを返します。
HTTP リクエスト
DELETE https://analyticsadmin.googleapis.com/v1beta/{name=properties/*}
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
name |
string
必須。削除(復元可能)するプロパティの名前。形式: properties/{property_id} 例: "properties/1000"
|
リクエスト本文
リクエストの本文は空にする必要があります。
レスポンスの本文
成功した場合、レスポンスの本文には Property
のインスタンスが含まれます。
認証スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/analytics.edit
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-10-25 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"必要な情報がない"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"複雑すぎる / 手順が多すぎる"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"最新ではない"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻訳に関する問題"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"サンプル / コードに問題がある"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"その他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"わかりやすい"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"問題の解決に役立った"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"その他"
}]