Reference documentation and code samples for the Google Cloud Api Hub V1 Client class ConfigValueOption.
ConfigValueOption represents an option for a config variable of type enum or multi select.
Generated from protobuf message google.cloud.apihub.v1.ConfigValueOption
Namespace
Google \ Cloud \ ApiHub \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ id |
string
Required. Id of the option. |
↳ display_name |
string
Required. Display name of the option. |
↳ description |
string
Optional. Description of the option. |
getId
Required. Id of the option.
| Returns | |
|---|---|
| Type | Description |
string |
|
setId
Required. Id of the option.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDisplayName
Required. Display name of the option.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDisplayName
Required. Display name of the option.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDescription
Optional. Description of the option.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDescription
Optional. Description of the option.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|