Reference documentation and code samples for the Google Cloud Design Center V1 Client class ExportIaCConfig.
Configuration for exporting a resource as IAC.
Generated from protobuf message google.cloud.designcenter.v1.ExportIaCConfig
Namespace
Google \ Cloud \ DesignCenter \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ tf_config |
TerraformConfig
Optional. Configuration on how to handle terraform IaC export. |
↳ iac_format |
int
Optional. IaC format of the export. Default is [IACFormat.TERRAFORM]. |
getTfConfig
Optional. Configuration on how to handle terraform IaC export.
| Returns | |
|---|---|
| Type | Description |
TerraformConfig|null |
|
hasTfConfig
setTfConfig
Optional. Configuration on how to handle terraform IaC export.
| Parameter | |
|---|---|
| Name | Description |
var |
TerraformConfig
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getIacFormat
Optional. IaC format of the export. Default is [IACFormat.TERRAFORM].
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type IACFormat. |
setIacFormat
Optional. IaC format of the export. Default is [IACFormat.TERRAFORM].
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type IACFormat. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getConfigPayload
| Returns | |
|---|---|
| Type | Description |
string |
|