Reference documentation and code samples for the Google Cloud Api Hub V1 Client class ConfigVariable.
ConfigVariable represents a additional configuration variable present in a PluginInstance Config or AuthConfig, based on a ConfigVariableTemplate.
Generated from protobuf message google.cloud.apihub.v1.ConfigVariable
Namespace
Google \ Cloud \ ApiHub \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ string_value |
string
Optional. The config variable value in case of config variable of type string. |
↳ int_value |
int|string
Optional. The config variable value in case of config variable of type integer. |
↳ bool_value |
bool
Optional. The config variable value in case of config variable of type boolean. |
↳ secret_value |
Secret
Optional. The config variable value in case of config variable of type secret. |
↳ enum_value |
ConfigValueOption
Optional. The config variable value in case of config variable of type enum. |
↳ multi_select_values |
ConfigVariable\MultiSelectValues
Optional. The config variable value in case of config variable of type multi select. |
↳ multi_string_values |
ConfigVariable\MultiStringValues
Optional. The config variable value in case of config variable of type multi string. |
↳ multi_int_values |
ConfigVariable\MultiIntValues
Optional. The config variable value in case of config variable of type multi integer. |
↳ key |
string
Output only. Key will be the id to uniquely identify the config variable. |
getStringValue
Optional. The config variable value in case of config variable of type string.
Returns | |
---|---|
Type | Description |
string |
hasStringValue
setStringValue
Optional. The config variable value in case of config variable of type string.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getIntValue
Optional. The config variable value in case of config variable of type integer.
Returns | |
---|---|
Type | Description |
int|string |
hasIntValue
setIntValue
Optional. The config variable value in case of config variable of type integer.
Parameter | |
---|---|
Name | Description |
var |
int|string
|
Returns | |
---|---|
Type | Description |
$this |
getBoolValue
Optional. The config variable value in case of config variable of type boolean.
Returns | |
---|---|
Type | Description |
bool |
hasBoolValue
setBoolValue
Optional. The config variable value in case of config variable of type boolean.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
getSecretValue
Optional. The config variable value in case of config variable of type secret.
Returns | |
---|---|
Type | Description |
Secret|null |
hasSecretValue
setSecretValue
Optional. The config variable value in case of config variable of type secret.
Parameter | |
---|---|
Name | Description |
var |
Secret
|
Returns | |
---|---|
Type | Description |
$this |
getEnumValue
Optional. The config variable value in case of config variable of type enum.
Returns | |
---|---|
Type | Description |
ConfigValueOption|null |
hasEnumValue
setEnumValue
Optional. The config variable value in case of config variable of type enum.
Parameter | |
---|---|
Name | Description |
var |
ConfigValueOption
|
Returns | |
---|---|
Type | Description |
$this |
getMultiSelectValues
Optional. The config variable value in case of config variable of type multi select.
Returns | |
---|---|
Type | Description |
ConfigVariable\MultiSelectValues|null |
hasMultiSelectValues
setMultiSelectValues
Optional. The config variable value in case of config variable of type multi select.
Parameter | |
---|---|
Name | Description |
var |
ConfigVariable\MultiSelectValues
|
Returns | |
---|---|
Type | Description |
$this |
getMultiStringValues
Optional. The config variable value in case of config variable of type multi string.
Returns | |
---|---|
Type | Description |
ConfigVariable\MultiStringValues|null |
hasMultiStringValues
setMultiStringValues
Optional. The config variable value in case of config variable of type multi string.
Parameter | |
---|---|
Name | Description |
var |
ConfigVariable\MultiStringValues
|
Returns | |
---|---|
Type | Description |
$this |
getMultiIntValues
Optional. The config variable value in case of config variable of type multi integer.
Returns | |
---|---|
Type | Description |
ConfigVariable\MultiIntValues|null |
hasMultiIntValues
setMultiIntValues
Optional. The config variable value in case of config variable of type multi integer.
Parameter | |
---|---|
Name | Description |
var |
ConfigVariable\MultiIntValues
|
Returns | |
---|---|
Type | Description |
$this |
getKey
Output only. Key will be the id to uniquely identify the config variable.
Returns | |
---|---|
Type | Description |
string |
setKey
Output only. Key will be the id to uniquely identify the config variable.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getValue
Returns | |
---|---|
Type | Description |
string |