Reference documentation and code samples for the Google Cloud Design Center V1 Client class TerraformInput.
Terraform inputs.
Generated from protobuf message google.cloud.designcenter.v1.TerraformInput
Namespace
Google \ Cloud \ DesignCenter \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ terraform_input_variable |
string
Output only. Input variable name present in Terraform. |
↳ description |
string
Output only. Terraform variable description. |
↳ type |
string
Output only. The Terraform input data type. |
↳ default_value |
Google\Protobuf\Value
Output only. The default value of the Terraform input variable. |
↳ connections |
array<TerraformInputConnections>
Output only. Terraform input connections. |
↳ is_required |
bool
Output only. Indicates if input is required. |
↳ sensitive |
bool
Optional. Indicates if the Terraform variable is sensitive. |
↳ validation_rules |
array<TerraformVariableValidation>
Optional. Optional validation rules defined on the variable. |
getTerraformInputVariable
Output only. Input variable name present in Terraform.
| Returns | |
|---|---|
| Type | Description |
string |
|
setTerraformInputVariable
Output only. Input variable name present in Terraform.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDescription
Output only. Terraform variable description.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDescription
Output only. Terraform variable description.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getType
Output only. The Terraform input data type.
| Returns | |
|---|---|
| Type | Description |
string |
|
setType
Output only. The Terraform input data type.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDefaultValue
Output only. The default value of the Terraform input variable.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Value|null |
|
hasDefaultValue
clearDefaultValue
setDefaultValue
Output only. The default value of the Terraform input variable.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Value
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getConnections
Output only. Terraform input connections.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<TerraformInputConnections> |
|
setConnections
Output only. Terraform input connections.
| Parameter | |
|---|---|
| Name | Description |
var |
array<TerraformInputConnections>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getIsRequired
Output only. Indicates if input is required.
| Returns | |
|---|---|
| Type | Description |
bool |
|
setIsRequired
Output only. Indicates if input is required.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSensitive
Optional. Indicates if the Terraform variable is sensitive.
| Returns | |
|---|---|
| Type | Description |
bool |
|
setSensitive
Optional. Indicates if the Terraform variable is sensitive.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getValidationRules
Optional. Optional validation rules defined on the variable.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<TerraformVariableValidation> |
|
setValidationRules
Optional. Optional validation rules defined on the variable.
| Parameter | |
|---|---|
| Name | Description |
var |
array<TerraformVariableValidation>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|