Reference documentation and code samples for the Google Cloud Security Compliance V1 Client class ParamValue.
The possible parameter value types.
Generated from protobuf message google.cloud.cloudsecuritycompliance.v1.ParamValue
Namespace
Google \ Cloud \ CloudSecurityCompliance \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ string_value |
string
A string value. |
↳ bool_value |
bool
A boolean value. |
↳ string_list_value |
StringList
A repeated string. |
↳ number_value |
float
A double value. |
↳ oneof_value |
Parameter
Sub-parameter values. |
getStringValue
A string value.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasStringValue
setStringValue
A string value.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getBoolValue
A boolean value.
| Returns | |
|---|---|
| Type | Description |
bool |
|
hasBoolValue
setBoolValue
A boolean value.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getStringListValue
A repeated string.
| Returns | |
|---|---|
| Type | Description |
StringList|null |
|
hasStringListValue
setStringListValue
A repeated string.
| Parameter | |
|---|---|
| Name | Description |
var |
StringList
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getNumberValue
A double value.
| Returns | |
|---|---|
| Type | Description |
float |
|
hasNumberValue
setNumberValue
A double value.
| Parameter | |
|---|---|
| Name | Description |
var |
float
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getOneofValue
Sub-parameter values.
| Returns | |
|---|---|
| Type | Description |
Parameter|null |
|
hasOneofValue
setOneofValue
Sub-parameter values.
| Parameter | |
|---|---|
| Name | Description |
var |
Parameter
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getKind
| Returns | |
|---|---|
| Type | Description |
string |
|