Reference documentation and code samples for the Google Cloud Security Command Center V1 Client class IamPolicy.
Cloud IAM Policy information associated with the Google Cloud resource
described by the Security Command Center asset. This information is managed
and defined by the Google Cloud resource and cannot be modified by the
user.
Generated from protobuf message google.cloud.securitycenter.v1.Asset.IamPolicy
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Security Command Center V1 Client - Class IamPolicy (2.2.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.1 (latest)](/php/docs/reference/cloud-security-center/latest/V1.Asset.IamPolicy)\n- [2.2.0](/php/docs/reference/cloud-security-center/2.2.0/V1.Asset.IamPolicy)\n- [2.1.1](/php/docs/reference/cloud-security-center/2.1.1/V1.Asset.IamPolicy)\n- [2.0.4](/php/docs/reference/cloud-security-center/2.0.4/V1.Asset.IamPolicy)\n- [1.32.0](/php/docs/reference/cloud-security-center/1.32.0/V1.Asset.IamPolicy)\n- [1.31.0](/php/docs/reference/cloud-security-center/1.31.0/V1.Asset.IamPolicy)\n- [1.30.0](/php/docs/reference/cloud-security-center/1.30.0/V1.Asset.IamPolicy)\n- [1.29.0](/php/docs/reference/cloud-security-center/1.29.0/V1.Asset.IamPolicy)\n- [1.28.2](/php/docs/reference/cloud-security-center/1.28.2/V1.Asset.IamPolicy)\n- [1.21.0](/php/docs/reference/cloud-security-center/1.21.0/V1.Asset.IamPolicy)\n- [1.20.2](/php/docs/reference/cloud-security-center/1.20.2/V1.Asset.IamPolicy)\n- [1.19.1](/php/docs/reference/cloud-security-center/1.19.1/V1.Asset.IamPolicy)\n- [1.18.0](/php/docs/reference/cloud-security-center/1.18.0/V1.Asset.IamPolicy)\n- [1.17.0](/php/docs/reference/cloud-security-center/1.17.0/V1.Asset.IamPolicy)\n- [1.16.0](/php/docs/reference/cloud-security-center/1.16.0/V1.Asset.IamPolicy)\n- [1.15.1](/php/docs/reference/cloud-security-center/1.15.1/V1.Asset.IamPolicy)\n- [1.14.2](/php/docs/reference/cloud-security-center/1.14.2/V1.Asset.IamPolicy)\n- [1.13.1](/php/docs/reference/cloud-security-center/1.13.1/V1.Asset.IamPolicy) \nReference documentation and code samples for the Google Cloud Security Command Center V1 Client class IamPolicy.\n\nCloud IAM Policy information associated with the Google Cloud resource\ndescribed by the Security Command Center asset. This information is managed\nand defined by the Google Cloud resource and cannot be modified by the\nuser.\n\nGenerated from protobuf message `google.cloud.securitycenter.v1.Asset.IamPolicy`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ SecurityCenter \\\\ V1 \\\\ Asset\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getPolicyBlob\n\nThe JSON representation of the Policy associated with the asset.\n\nSee \u003chttps://cloud.google.com/iam/reference/rest/v1/Policy\u003e for format\ndetails.\n\n### setPolicyBlob\n\nThe JSON representation of the Policy associated with the asset.\n\nSee \u003chttps://cloud.google.com/iam/reference/rest/v1/Policy\u003e for format\ndetails."]]