Reference documentation and code samples for the Compute V1 Client class VmExtensionPolicyExtensionPolicy.
Configuration for a specific VM extension.
Generated from protobuf message google.cloud.compute.v1.VmExtensionPolicyExtensionPolicy
Namespace
Google \ Cloud \ Compute \ V1Methods
__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.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|