Method: projects.zones.instances.lookupEffectiveGuestPolicy

Lookup the effective guest policy that applies to a VM instance. This lookup merges all policies that are assigned to the instance ancestry.

HTTP request

POST https://osconfig.googleapis.com/v1beta/{instance=projects/*/zones/*/instances/*}:lookupEffectiveGuestPolicy

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
instance

string

Required. The VM instance whose policies are being looked up.

Request body

The request body contains data with the following structure:

JSON representation
{
  "osShortName": string,
  "osVersion": string,
  "osArchitecture": string
}
Fields
osShortName

string

Short name of the OS running on the instance. The OS Config agent only provides this field for targeting if OS Inventory is enabled for that instance.

osVersion