Reference documentation and code samples for the Google Cloud Security Compliance V1 Client class ParamValue.
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
Represents a string value. |
↳ bool_value |
bool
Represents a boolean value. |
↳ string_list_value |
StringList
Represents a repeated string. |
↳ number_value |
float
Represents a double value. |
↳ oneof_value |
Parameter
Represents sub-parameter values. |
getStringValue
Represents a string value.
Returns | |
---|---|
Type | Description |
string |
hasStringValue
setStringValue
Represents a string value.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getBoolValue
Represents a boolean value.
Returns | |
---|---|
Type | Description |
bool |
hasBoolValue
setBoolValue
Represents a boolean value.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
getStringListValue
Represents a repeated string.
Returns | |
---|---|
Type | Description |
StringList|null |
hasStringListValue
setStringListValue
Represents a repeated string.
Parameter | |
---|---|
Name | Description |
var |
StringList
|
Returns | |
---|---|
Type | Description |
$this |
getNumberValue
Represents a double value.
Returns | |
---|---|
Type | Description |
float |
hasNumberValue
setNumberValue
Represents a double value.
Parameter | |
---|---|
Name | Description |
var |
float
|
Returns | |
---|---|
Type | Description |
$this |
getOneofValue
Represents sub-parameter values.
Returns | |
---|---|
Type | Description |
Parameter|null |
hasOneofValue
setOneofValue
Represents sub-parameter values.
Parameter | |
---|---|
Name | Description |
var |
Parameter
|
Returns | |
---|---|
Type | Description |
$this |
getKind
Returns | |
---|---|
Type | Description |
string |