Compute V1 Client - Class VmExtensionPolicyExtensionPolicy (2.10.0)Stay organized with collectionsSave and categorize content based on your preferences.
Reference documentation and code samples for the Compute V1 Client class VmExtensionPolicyExtensionPolicy.
Configuration for a specific VM extension.
Generated from protobuf messagegoogle.cloud.compute.v1.VmExtensionPolicyExtensionPolicy
Namespace
Google \ Cloud \ Compute \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ pinned_version
string
Optional. The specific version of the extension to install. If not set, the latest version is used.
↳ string_config
string
Optional. String-based configuration data for the extension.
getPinnedVersion
Optional. The specific version of the extension to install. If not set, the latest
version is used.
Returns
Type
Description
string
hasPinnedVersion
clearPinnedVersion
setPinnedVersion
Optional. The specific version of the extension to install. If not set, the latest
version is used.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getStringConfig
Optional. String-based configuration data for the extension.
Returns
Type
Description
string
hasStringConfig
clearStringConfig
setStringConfig
Optional. String-based configuration data for the extension.
[[["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 2026-05-20 UTC."],[],[]]