Compute V1 Client - Class GlobalVmExtensionPolicyExtensionPolicy (2.10.0)

Reference documentation and code samples for the Compute V1 Client class GlobalVmExtensionPolicyExtensionPolicy.

Policy for a single extension.

Generated from protobuf message google.cloud.compute.v1.GlobalVmExtensionPolicyExtensionPolicy

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 version pinning for the extension. If empty, the extension will be installed with the latest version released by the extension producer.

↳ string_config string

Optional. String configuration. Any string payload that the extension understands.

getPinnedVersion

Optional. The version pinning for the extension.

If empty, the extension will be installed with the latest version released by the extension producer.

Returns
Type Description
string

hasPinnedVersion

clearPinnedVersion

setPinnedVersion

Optional. The version pinning for the extension.

If empty, the extension will be installed with the latest version released by the extension producer.

Parameter
Name Description
var string
Returns
Type Description
$this

getStringConfig

Optional. String configuration. Any string payload that the extension understands.

Returns
Type Description
string

hasStringConfig

clearStringConfig

setStringConfig

Optional. String configuration. Any string payload that the extension understands.

Parameter
Name Description
var string
Returns
Type Description
$this