Cloud Asset Inventory を使用するには、Cloud Asset Inventory API を有効にして権限を設定する必要があります。
Sign in to your Google Cloud account. If you're new to
Google Cloud,
create an account to evaluate how our products perform in
real-world scenarios. New customers also get $300 in free credits to
run, test, and deploy workloads.
In the Google Cloud console, on the project selector page,
select or create a Google Cloud project.
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["わかりにくい","hardToUnderstand","thumb-down"],["情報またはサンプルコードが不正確","incorrectInformationOrSampleCode","thumb-down"],["必要な情報 / サンプルがない","missingTheInformationSamplesINeed","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-03-10 UTC。"],[[["This guide demonstrates how to use Cloud Asset Inventory and the Google Cloud CLI in Cloud Shell to view your assets within a Google Cloud project."],["Before utilizing Cloud Asset Inventory, you must enable the Cloud Asset Inventory API and assign the Cloud Asset Owner role (`roles/cloudasset.owner`) to your user."],["You can create a Compute Engine VM instance to practice viewing assets, then list all VM instances in your project using the `gcloud asset list` command in Cloud Shell."],["The `gcloud asset list` command allows filtering by asset types, such as `compute.googleapis.com/Instance` for VM instances, and you can specify the `resource` content type to include detailed metadata."],["This document includes cleanup instructions to avoid incurring charges, through deleting your created VM instance."]]],[]]