Reference documentation and code samples for the Compute Engine v1 API enum InstanceGroupsListInstancesRequest.Types.InstanceState.
A filter for the state of the instances in the instance group. Valid options are ALL or RUNNING. If you do not specify this parameter the list includes all instances regardless of their state.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-08 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eInstanceGroupsListInstancesRequest.Types.InstanceState\u003c/code\u003e is 3.6.0, while the current page content is focused on version 3.3.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eInstanceGroupsListInstancesRequest.Types.InstanceState\u003c/code\u003e enum provides a way to filter instances in an instance group, with the options being \u003ccode\u003eALL\u003c/code\u003e or \u003ccode\u003eRUNNING\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eALL\u003c/code\u003e field includes all instances, regardless of their state, while the \u003ccode\u003eRUNNING\u003c/code\u003e field includes only instances in the \u003ccode\u003eRUNNING\u003c/code\u003e state.\u003c/p\u003e\n"],["\u003cp\u003eThe enum also contains an \u003ccode\u003eUndefinedInstanceState\u003c/code\u003e field, indicating that a value has not been set for that field.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation for \u003ccode\u003eInstanceGroupsListInstancesRequest.Types.InstanceState\u003c/code\u003e is under the namespace \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e, and is contained within the \u003ccode\u003eGoogle.Cloud.Compute.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]