Reference documentation and code samples for the Google Cloud Resource Settings V1 Client class Value.
The data in a setting value.
Generated from protobuf message google.cloud.resourcesettings.v1.Value
Namespace
Google \ Cloud \ ResourceSettings \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ boolean_value |
bool
Defines this value as being a boolean value. |
↳ string_value |
string
Defines this value as being a string value. |
↳ string_set_value |
Value\StringSet
Defines this value as being a StringSet. |
↳ enum_value |
Value\EnumValue
Defines this value as being a Enum. |
getBooleanValue
Defines this value as being a boolean value.
Returns | |
---|---|
Type | Description |
bool |
hasBooleanValue
setBooleanValue
Defines this value as being a boolean value.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
getStringValue
Defines this value as being a string value.
Returns | |
---|---|
Type | Description |
string |
hasStringValue
setStringValue
Defines this value as being a string value.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getStringSetValue
Defines this value as being a StringSet.
Returns | |
---|---|
Type | Description |
Value\StringSet|null |
hasStringSetValue
setStringSetValue
Defines this value as being a StringSet.
Parameter | |
---|---|
Name | Description |
var |
Value\StringSet
|
Returns | |
---|---|
Type | Description |
$this |
getEnumValue
Defines this value as being a Enum.
Returns | |
---|---|
Type | Description |
Value\EnumValue|null |
hasEnumValue
setEnumValue
Defines this value as being a Enum.
Parameter | |
---|---|
Name | Description |
var |
Value\EnumValue
|
Returns | |
---|---|
Type | Description |
$this |
getValue
Returns | |
---|---|
Type | Description |
string |