Compute V1 Client - Class GuestAttributesEntry (1.9.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
dataarray

Optional. Data for populating the Message object.

↳ keystring

Key for the guest attribute entry.

↳ namespacestring

Namespace for the guest attribute entry.

↳ valuestring

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
varstring
Returns
TypeDescription
$this

getNamespace

Namespace for the guest attribute entry.

Returns
TypeDescription
string

hasNamespace

clearNamespace

setNamespace

Namespace for the guest attribute entry.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getValue

Value for the guest attribute entry.

Returns
TypeDescription
string

hasValue

clearValue

setValue

Value for the guest attribute entry.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this