Reference documentation and code samples for the Google Cloud Design Center V1 Client class ModuleDetails.
Details about a specific module, submodule, or example.
Generated from protobuf message google.cloud.designcenter.v1.ModuleDetails
Namespace
Google \ Cloud \ DesignCenter \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ path |
string
Optional. Relative path to the module/example. |
↳ name |
string
Optional. Name of the module/example. |
↳ readme |
string
Optional. Content of the README file. |
↳ empty |
bool
Optional. Indicates if the module/example directory is empty of .tf files. |
↳ inputs |
array<ModuleInput>
Optional. List of input variables. |
↳ outputs |
array<ModuleOutput>
Optional. List of outputs. |
↳ module_dependencies |
array<ModuleDependency>
Optional. List of module dependencies. |
↳ provider_dependencies |
array<ProviderDependency>
Optional. List of provider dependencies. |
↳ resources |
array<ModuleResource>
Optional. List of resources defined. |
getPath
Optional. Relative path to the module/example.
| Returns | |
|---|---|
| Type | Description |
string |
|
setPath
Optional. Relative path to the module/example.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getName
Optional. Name of the module/example.
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Optional. Name of the module/example.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getReadme
Optional. Content of the README file.
| Returns | |
|---|---|
| Type | Description |
string |
|
setReadme
Optional. Content of the README file.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getEmpty
Optional. Indicates if the module/example directory is empty of .tf files.
| Returns | |
|---|---|
| Type | Description |
bool |
|
setEmpty
Optional. Indicates if the module/example directory is empty of .tf files.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getInputs
Optional. List of input variables.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<ModuleInput> |
|
setInputs
Optional. List of input variables.
| Parameter | |
|---|---|
| Name | Description |
var |
array<ModuleInput>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getOutputs
Optional. List of outputs.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<ModuleOutput> |
|
setOutputs
Optional. List of outputs.
| Parameter | |
|---|---|
| Name | Description |
var |
array<ModuleOutput>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getModuleDependencies
Optional. List of module dependencies.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<ModuleDependency> |
|
setModuleDependencies
Optional. List of module dependencies.
| Parameter | |
|---|---|
| Name | Description |
var |
array<ModuleDependency>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getProviderDependencies
Optional. List of provider dependencies.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<ProviderDependency> |
|
setProviderDependencies
Optional. List of provider dependencies.
| Parameter | |
|---|---|
| Name | Description |
var |
array<ProviderDependency>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getResources
Optional. List of resources defined.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<ModuleResource> |
|
setResources
Optional. List of resources defined.
| Parameter | |
|---|---|
| Name | Description |
var |
array<ModuleResource>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|