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

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.

Generated from protobuf field optional string key = 106079;

Returns
TypeDescription
string

hasKey

clearKey

setKey

Key for the guest attribute entry.

Generated from protobuf field optional string key = 106079;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getNamespace

Namespace for the guest attribute entry.

Generated from protobuf field optional string namespace = 178476379;

Returns
TypeDescription
string

hasNamespace

clearNamespace

setNamespace

Namespace for the guest attribute entry.

Generated from protobuf field optional string namespace = 178476379;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getValue

Value for the guest attribute entry.

Generated from protobuf field optional string value = 111972721;

Returns
TypeDescription
string

hasValue

clearValue

setValue

Value for the guest attribute entry.

Generated from protobuf field optional string value = 111972721;

Parameter
NameDescription
var string
Returns
TypeDescription
$this