Compute V1 Client - Class GuestAttributesEntry (1.19.0)

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
Name Description
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
Type Description
string

hasKey

clearKey

setKey

Key for the guest attribute entry.

Parameter
Name Description
var string
Returns
Type Description
$this

getNamespace

Namespace for the guest attribute entry.

Returns
Type Description
string

hasNamespace

clearNamespace

setNamespace

Namespace for the guest attribute entry.

Parameter
Name Description
var string
Returns
Type Description
$this

getValue

Value for the guest attribute entry.

Returns
Type Description
string

hasValue

clearValue

setValue

Value for the guest attribute entry.

Parameter
Name Description
var string
Returns
Type Description
$this