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\u003eThis document provides reference documentation for the \u003ccode\u003eInstanceState\u003c/code\u003e enum within the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace, specifically for use with the \u003ccode\u003eInstanceGroupsListInstancesRequest.Types\u003c/code\u003e in the Compute Engine v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eInstanceState\u003c/code\u003e enum offers options to filter instances by their state, including \u003ccode\u003eAll\u003c/code\u003e (all instances), \u003ccode\u003eRunning\u003c/code\u003e (only running instances), or \u003ccode\u003eUndefinedInstanceState\u003c/code\u003e (enum field not set).\u003c/p\u003e\n"],["\u003cp\u003eThe document details the available versions of the \u003ccode\u003eInstanceState\u003c/code\u003e enum, ranging from the latest version \u003ccode\u003e3.6.0\u003c/code\u003e down to version \u003ccode\u003e1.0.0\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe purpose of the \u003ccode\u003eInstanceState\u003c/code\u003e enum is to allow users to filter and retrieve instances within an instance group based on whether they are in a running state or if all instances are required, regardless of their state.\u003c/p\u003e\n"]]],[],null,[]]