이 문서에서는 Cloud Shell에서 Cloud 애셋 인벤토리와 Google Cloud CLI를 사용하여 애셋을 보는 방법을 보여줍니다.
시작하기 전에
Cloud 애셋 인벤토리를 사용하려면 먼저 Cloud 애셋 인벤토리 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."]]],[]]