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 | |
---|---|
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.
Generated from protobuf field optional string key = 106079;
Returns | |
---|---|
Type | Description |
string |
hasKey
clearKey
setKey
Key for the guest attribute entry.
Generated from protobuf field optional string key = 106079;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getNamespace
Namespace for the guest attribute entry.
Generated from protobuf field optional string namespace = 178476379;
Returns | |
---|---|
Type | Description |
string |
hasNamespace
clearNamespace
setNamespace
Namespace for the guest attribute entry.
Generated from protobuf field optional string namespace = 178476379;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getValue
Value for the guest attribute entry.
Generated from protobuf field optional string value = 111972721;
Returns | |
---|---|
Type | Description |
string |
hasValue
clearValue
setValue
Value for the guest attribute entry.
Generated from protobuf field optional string value = 111972721;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |