Membuat link yang menandai elemen UI yang ditentukan di
konsolGoogle Cloud saat diklik.
Anda dapat menyoroti elemen di halaman dengan salah satu dari dua cara berikut:
ID Spotlight/instrumentasi
Dengan parameter spotlightId, tentukan nilai properti
instrumentation-id atau
spotlight-id elemen DOM untuk memilih elemen.
Pemilih CSS
Untuk elemen tanpa ID
spotlight atau instrumentasi , gunakan parameter cssSelector dengan pemilih CSS untuk memilih elemen.
Hanya salah satu dari parameter ini yang diperlukan. Jika keduanya diberikan, spotlightId
akan digunakan.
Beberapa elemen dapat dipilih menggunakan koma sebagai pembatas. Semua elemen
yang cocok akan ditandai, dengan elemen pertama difokuskan dan di-scroll ke tampilan.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-09-04 UTC."],[],[],null,["# Spotlights\n\nThis page lists directives related to spotlights.\n\nSpotlight pointers\n------------------\n\n \u003cwalkthrough-spotlight-pointer spotlightId=\"\u003cvar class=\"readonly\" translate=\"no\"\u003eSPOTLIGHT_ID\u003c/var\u003e\"\u003e\u003cvar class=\"readonly\" translate=\"no\"\u003eLINK_TEXT\u003c/var\u003e\u003c/walkthrough-spotlight-pointer\u003e\n\n \u003cwalkthrough-spotlight-pointer cssSelector=\"\u003cvar class=\"readonly\" translate=\"no\"\u003eCSS_SELECTOR\u003c/var\u003e\"\u003e\u003cvar class=\"readonly\" translate=\"no\"\u003eLINK_TEXT\u003c/var\u003e\u003c/walkthrough-spotlight-pointer\u003e\n\nCreates a link that highlights the specified UI element in\nGoogle Cloud console when clicked.\n\nYou can spotlight an element on the page in one of two ways:\n\nSpotlight/instrumentation ID\n: Using the `spotlightId` parameter, specify a DOM element's\n `instrumentation-id` or\n `spotlight-id` property value to select the element.\n\nCSS selector\n: For elements without a spotlight\n or instrumentation\n ID, use the `cssSelector` parameter with a CSS selector to select the element.\n\nOnly one of these parameters is required. If both are provided, `spotlightId`\nis used.\n\nMultiple elements can be selected using a comma as a delimiter. All matching\nelements are highlighted, with the first focused and scrolled into view.\n\nFor spotlights in Cloud Shell Editor, refer to\n[Cloud Shell Editor spotlights](/shell/docs/cloud-shell-tutorials/directives-cloud-shell-editor#spotlight_pointers).\n\n### Parameters\n\nHere's a list of spotlight/instrumentation IDs you can use:"]]