GlobalVmExtensionPolicy

Message describing GlobalVmExtensionPolicy object.

ComputeGoogle CloudInfrastructure-as-a-ServiceInfrastructureVirtual Machines

Properties

Name Type Description
kind string Output only. [Output Only] Type of the resource. Alwayscompute#globalVmExtensionPolicy for globalVmExtensionPolicies.
rolloutOperation object Required. The rollout strategy and status.
priority integer Optional. Used to resolve conflicts when multiple policies are active for the same extension. Defaults to 0. Larger the number, higher the priority. When the priority is the same, the policy with the
updateTimestamp string Output only. [Output Only] Update timestamp inRFC3339 text format.
selfLink string Output only. [Output Only] Server-defined fully-qualified URL for this resource.
instanceSelectors array Optional. Selector to target VMs for a policy. There is a logical "AND" between instance_selectors.
description string An optional description of this resource. Provide this property when you create the resource.
id string Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.
name string Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. Specifically, the name must be 1-63 characters long and match
creationTimestamp string Output only. [Output Only] Creation timestamp inRFC3339 text format.
extensionPolicies object Required. Map from extension (eg: "cloudops") to its policy configuration. The key is the name of the extension.
selfLinkWithId string Output only. [Output Only] Server-defined URL for this resource's resource id.
scopedResourceStatus string Output only. [Output Only] The scoped resource status. It's only for tracking the purging status of the policy.
View JSON Schema on GitHub

JSON Schema

google-cloud-compute-engine-global-vm-extension-policy-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-cloud-compute-engine/json-schema/google-cloud-compute-engine-global-vm-extension-policy-schema.json",
  "title": "GlobalVmExtensionPolicy",
  "description": "Message describing GlobalVmExtensionPolicy object.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-cloud-compute-engine-global-vm-extension-policies-api-openapi.yml#/components/schemas/GlobalVmExtensionPolicy",
  "properties": {
    "kind": {
      "default": "compute#globalVmExtensionPolicy",
      "readOnly": true,
      "description": "Output only. [Output Only] Type of the resource. Alwayscompute#globalVmExtensionPolicy for globalVmExtensionPolicies.",
      "type": "string"
    },
    "rolloutOperation": {
      "$ref": "#/$defs/GlobalVmExtensionPolicyRolloutOperation",
      "description": "Required. The rollout strategy and status."
    },
    "priority": {
      "format": "int32",
      "type": "integer",
      "description": "Optional. Used to resolve conflicts when multiple policies are active for the same\nextension. Defaults to 0.\n\nLarger the number, higher the priority. When the priority is the same,\nthe policy with the newer create time has higher priority."
    },
    "updateTimestamp": {
      "description": "Output only. [Output Only] Update timestamp inRFC3339\ntext format.",
      "readOnly": true,
      "type": "string"
    },
    "selfLink": {
      "readOnly": true,
      "type": "string",
      "description": "Output only. [Output Only] Server-defined fully-qualified URL for this resource."
    },
    "instanceSelectors": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/GlobalVmExtensionPolicyInstanceSelector"
      },
      "description": "Optional. Selector to target VMs for a policy.\nThere is a logical \"AND\" between instance_selectors."
    },
    "description": {
      "type": "string",
      "description": "An optional description of this resource. Provide this property when you\ncreate the resource."
    },
    "id": {
      "readOnly": true,
      "description": "Output only. [Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.",
      "format": "uint64",
      "type": "string"
    },
    "name": {
      "description": "Name of the resource. Provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?`\nwhich means the first character must be a lowercase letter, and all\nfollowing characters must be a dash, lowercase letter, or digit, except\nthe last character, which cannot be a dash.",
      "type": "string",
      "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?"
    },
    "creationTimestamp": {
      "description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.",
      "readOnly": true,
      "type": "string"
    },
    "extensionPolicies": {
      "additionalProperties": {
        "$ref": "#/$defs/GlobalVmExtensionPolicyExtensionPolicy"
      },
      "description": "Required. Map from extension (eg: \"cloudops\") to its policy configuration.\nThe key is the name of the extension.",
      "type": "object"
    },
    "selfLinkWithId": {
      "readOnly": true,
      "type": "string",
      "description": "Output only. [Output Only] Server-defined URL for this resource's resource id."
    },
    "scopedResourceStatus": {
      "readOnly": true,
      "description": "Output only. [Output Only] The scoped resource status. It's only for tracking the\npurging status of the policy.",
      "enum": [
        "SCOPED_RESOURCE_STATUS_DELETING",
        "SCOPED_RESOURCE_STATUS_UNSPECIFIED"
      ],
      "type": "string"
    }
  },
  "type": "object",
  "$defs": {
    "GlobalVmExtensionPolicyExtensionPolicy": {
      "type": "object",
      "description": "Policy for a single extension.",
      "properties": {
        "stringConfig": {
          "description": "Optional. String configuration. Any string payload that the extension\nunderstands.",
          "type": "string"
        },
        "pinnedVersion": {
          "description": "Optional. The version pinning for the extension.\nIf empty, the extension will be installed with the latest version\nreleased by the extension producer.",
          "type": "string"
        }
      }
    },
    "GlobalVmExtensionPolicyInstanceSelector": {
      "properties": {
        "labelSelector": {
          "$ref": "#/$defs/GlobalVmExtensionPolicyLabelSelector",
          "description": "Optional. Labels within the LabelSelector are OR'd."
        }
      },
      "type": "object",
      "description": "Selector to target VMs for a zone VM extension policy."
    },
    "GlobalVmExtensionPolicyLabelSelector": {
      "properties": {
        "inclusionLabels": {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object",
          "description": "Optional. Labels as key value pairs.\nA VM should contain all the pairs specified in this map to be selected;\nLabels within the LabelSelector are OR'ed."
        }
      },
      "description": "A LabelSelector is applicable for a VM only if it matches all labels in\nthe LabelSelector.",
      "type": "object"
    },
    "GlobalVmExtensionPolicyRolloutOperation": {
      "description": "Represents the rollout operation",
      "properties": {
        "rolloutStatus": {
          "$ref": "#/$defs/GlobalVmExtensionPolicyRolloutOperationRolloutStatus",
          "description": "Output only. [Output Only] The rollout status of the policy."
        },
        "rolloutInput": {
          "$ref": "#/$defs/GlobalVmExtensionPolicyRolloutOperationRolloutInput",
          "description": "Required. The rollout input which defines the rollout plan."
        }
      },
      "type": "object"
    },
    "GlobalVmExtensionPolicyRolloutOperationRolloutInput": {
      "properties": {
        "retryUuid": {
          "description": "Optional. The UUID that identifies a policy rollout retry attempt for update and\ndelete operations. Set this field only when retrying a rollout for an\nexisting extension policy.\n\n* `update` method: Lets you retry policy rollout without changes.\nAn error occurs if you set retry_uuid but the policy is modified.\n* `delete` method: Lets you retry policy deletion rollout if the\nprevious deletion rollout is not finished and the policy is in the\nDELETING state. If you set this field when the policy is not in the\nDELETING state, an error occurs.",
          "type": "string"
        },
        "conflictBehavior": {
          "type": "string",
          "description": "Optional. Specifies the behavior of the rollout if a conflict is detected in a\nproject during a rollout. This only applies to `insert` and `update`\nmethods.\n\nA conflict occurs in the following cases:\n\n* `insert` method: If the zonal policy already exists when the insert\n  happens.\n* `update` method: If the zonal policy was modified by a zonal API call\n  outside of this rollout.\n\nPossible values are the following:\n\n* `\"\"` (empty string): If a conflict occurs, the local value is not\n  overwritten. This is the default behavior.\n* `\"overwrite\"`: If a conflict occurs, the local value is overwritten\n  with the rollout value."
        },
        "predefinedRolloutPlan": {
          "type": "string",
          "description": "Optional. Specifies the predefined rollout plan for the policy. Valid values\nare `SLOW_ROLLOUT` and `FAST_ROLLOUT`. The recommended value is\n`SLOW_ROLLOUT` for progressive rollout. For more information, see Rollout\nplans for global policies.",
          "enum": [
            "FAST_ROLLOUT",
            "ROLLOUT_PLAN_UNSPECIFIED",
            "SLOW_ROLLOUT"
          ]
        },
        "name": {
          "description": "Optional. The name of the rollout plan.\nEx.\nprojects//locations/global/rolloutPlans/.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "GlobalVmExtensionPolicyRolloutOperationRolloutStatus": {
      "type": "object",
      "properties": {
        "currentRollouts": {
          "items": {
            "$ref": "#/$defs/GlobalVmExtensionPolicyRolloutOperationRolloutStatusRolloutMetadata"
          },
          "readOnly": true,
          "type": "array",
          "description": "Output only. [Output Only] The current rollouts for the latest version of the\nresource. There should be only one current rollout, but for\nscalability, we make it repeated."
        },
        "previousRollout": {
          "$ref": "#/$defs/GlobalVmExtensionPolicyRolloutOperationRolloutStatusRolloutMetadata",
          "description": "Output only. [Output Only] The last completed rollout resource. This field will not\nbe populated until the first rollout is completed."
        }
      }
    },
    "GlobalVmExtensionPolicyRolloutOperationRolloutStatusRolloutMetadata": {
      "properties": {
        "rolloutPlan": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. [Output Only] The name of the rollout plan.\nEx.\nprojects//locations/global/rolloutPlans/."
        },
        "rollout": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. [Output Only] The name of the rollout.\nEx. projects//locations/global/rollouts/."
        },
        "state": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. [Output Only] The overall state of the rollout.",
          "enum": [
            "STATE_CANCELLED",
            "STATE_COMPLETED",
            "STATE_FAILED",
            "STATE_PAUSED",
            "STATE_PROCESSING",
            "STATE_UNKNOWN",
            "STATE_UNSPECIFIED"
          ]
        },
        "locationRolloutStatus": {
          "additionalProperties": {
            "$ref": "#/$defs/GlobalVmExtensionPolicyRolloutOperationRolloutStatusRolloutMetadataLocationRolloutStatus"
          },
          "readOnly": true,
          "type": "object",
          "description": "Output only. [Output Only] The rollout status for each location. The list of the\nlocations is the same as the list of locations in the rollout plan."
        }
      },
      "type": "object"
    },
    "GlobalVmExtensionPolicyRolloutOperationRolloutStatusRolloutMetadataLocationRolloutStatus": {
      "properties": {
        "state": {
          "enum": [
            "LOCATION_ROLLOUT_STATE_COMPLETED",
            "LOCATION_ROLLOUT_STATE_FAILED",
            "LOCATION_ROLLOUT_STATE_NOT_STARTED",
            "LOCATION_ROLLOUT_STATE_SKIPPED",
            "LOCATION_ROLLOUT_STATE_UNSPECIFIED"
          ],
          "readOnly": true,
          "description": "Output only. [Output Only] The state of the location rollout.",
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/google-cloud-compute-engine-global-vm-extension-policy"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.