您不需要提供範圍,即可使用 IAM 資源,包括 IAMPolicy、IAMPartialPolicy、IAMPolicyMember 和 IAMAuditConfig。相反地,這些資源會透過 spec.resourceRef 欄位附加至另一個 Google Cloud 資源。這個其他 Google Cloud 資源可以是 PubSubTopic、SpannerInstance,甚至是專案、資料夾、機構等「範圍」,這些資源本身會以 Google Cloud 資源的形式建模。
[[["容易理解","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-05-15 (世界標準時間)。"],[[["Config Connector manages Google Cloud resources at project, folder, or organization levels, determining the scope through either a resource spec field or an annotation."],["Resources can be scoped using `projectRef`, `folderRef`, or `organizationRef` fields, or via annotations like `cnrm.cloud.google.com/project-id`."],["Scope-defining fields are recommended over annotations for making resource specs self-contained and enabling single-step scope creation, and are preferred when available."],["Once a resource's scope is set, it's immutable, and changing the scope requires deleting the resource and creating it anew."],["Some resources don't require scope specification, such as those linked to billing accounts or IAM resources attached to other Google Cloud resources."]]],[]]