Reference documentation and code samples for the Google Cloud Design Center V1 Client class TerraformFile.
Represents a single Terraform file.
Generated from protobuf message google.cloud.designcenter.v1.TerraformFile
Namespace
Google \ Cloud \ DesignCenter \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ path |
string
The path of the Terraform file. |
↳ content |
string
The content of the Terraform file. |
getPath
The path of the Terraform file.
| Returns | |
|---|---|
| Type | Description |
string |
|
setPath
The path of the Terraform file.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getContent
The content of the Terraform file.
| Returns | |
|---|---|
| Type | Description |
string |
|
setContent
The content of the Terraform file.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|