Compute V1 Client - Class GuestAttributesEntry (1.11.1)

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

A guest attributes namespace/key/value entry.

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ key string

Key for the guest attribute entry.

↳ namespace string

Namespace for the guest attribute entry.

↳ value string

Value for the guest attribute entry.

getKey

Key for the guest attribute entry.

Returns
TypeDescription
string

hasKey

clearKey

setKey

Key for the guest attribute entry.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getNamespace

Namespace for the guest attribute entry.

Returns
TypeDescription
string

hasNamespace

clearNamespace

setNamespace

Namespace for the guest attribute entry.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getValue

Value for the guest attribute entry.

Returns
TypeDescription
string

hasValue

clearValue

setValue

Value for the guest attribute entry.

Parameter
NameDescription
var string
Returns
TypeDescription
$this