Reference documentation and code samples for the Google Cloud Security Command Center V1 Client class StateChange.
The change in state of the asset.
When querying across two points in time this describes
the change between the two points: ADDED, REMOVED, or ACTIVE.
If there was no compare_duration supplied in the request the state change
will be: UNUSED
Protobuf type google.cloud.securitycenter.v1.ListAssetsResponse.ListAssetsResult.StateChange
[[["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-09 UTC."],[],[],null,["# Google Cloud Security Command Center V1 Client - Class StateChange (2.2.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.1 (latest)](/php/docs/reference/cloud-security-center/latest/V1.ListAssetsResponse.ListAssetsResult.StateChange)\n- [2.2.0](/php/docs/reference/cloud-security-center/2.2.0/V1.ListAssetsResponse.ListAssetsResult.StateChange)\n- [2.1.1](/php/docs/reference/cloud-security-center/2.1.1/V1.ListAssetsResponse.ListAssetsResult.StateChange)\n- [2.0.4](/php/docs/reference/cloud-security-center/2.0.4/V1.ListAssetsResponse.ListAssetsResult.StateChange)\n- [1.32.0](/php/docs/reference/cloud-security-center/1.32.0/V1.ListAssetsResponse.ListAssetsResult.StateChange)\n- [1.31.0](/php/docs/reference/cloud-security-center/1.31.0/V1.ListAssetsResponse.ListAssetsResult.StateChange)\n- [1.30.0](/php/docs/reference/cloud-security-center/1.30.0/V1.ListAssetsResponse.ListAssetsResult.StateChange)\n- [1.29.0](/php/docs/reference/cloud-security-center/1.29.0/V1.ListAssetsResponse.ListAssetsResult.StateChange)\n- [1.28.2](/php/docs/reference/cloud-security-center/1.28.2/V1.ListAssetsResponse.ListAssetsResult.StateChange)\n- [1.21.0](/php/docs/reference/cloud-security-center/1.21.0/V1.ListAssetsResponse.ListAssetsResult.StateChange)\n- [1.20.2](/php/docs/reference/cloud-security-center/1.20.2/V1.ListAssetsResponse.ListAssetsResult.StateChange)\n- [1.19.1](/php/docs/reference/cloud-security-center/1.19.1/V1.ListAssetsResponse.ListAssetsResult.StateChange)\n- [1.18.0](/php/docs/reference/cloud-security-center/1.18.0/V1.ListAssetsResponse.ListAssetsResult.StateChange)\n- [1.17.0](/php/docs/reference/cloud-security-center/1.17.0/V1.ListAssetsResponse.ListAssetsResult.StateChange)\n- [1.16.0](/php/docs/reference/cloud-security-center/1.16.0/V1.ListAssetsResponse.ListAssetsResult.StateChange)\n- [1.15.1](/php/docs/reference/cloud-security-center/1.15.1/V1.ListAssetsResponse.ListAssetsResult.StateChange)\n- [1.14.2](/php/docs/reference/cloud-security-center/1.14.2/V1.ListAssetsResponse.ListAssetsResult.StateChange)\n- [1.13.1](/php/docs/reference/cloud-security-center/1.13.1/V1.ListAssetsResponse.ListAssetsResult.StateChange) \nReference documentation and code samples for the Google Cloud Security Command Center V1 Client class StateChange.\n\nThe change in state of the asset.\n\nWhen querying across two points in time this describes\nthe change between the two points: ADDED, REMOVED, or ACTIVE.\nIf there was no compare_duration supplied in the request the state change\nwill be: UNUSED\n\nProtobuf type `google.cloud.securitycenter.v1.ListAssetsResponse.ListAssetsResult.StateChange`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ SecurityCenter \\\\ V1 \\\\ ListAssetsResponse \\\\ ListAssetsResult\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### UNUSED\n\n Value: 0\n\nState change is unused, this is the canonical default for this enum.\n\nGenerated from protobuf enum `UNUSED = 0;`\n\n### ADDED\n\n Value: 1\n\nAsset was added between the points in time.\n\nGenerated from protobuf enum `ADDED = 1;`\n\n### REMOVED\n\n Value: 2\n\nAsset was removed between the points in time.\n\nGenerated from protobuf enum `REMOVED = 2;`\n\n### ACTIVE\n\n Value: 3\n\nAsset was present at both point(s) in time.\n\nGenerated from protobuf enum `ACTIVE = 3;`"]]