Google Cloud Design Center V1 Client - Class RootModule (0.1.0)

Reference documentation and code samples for the Google Cloud Design Center V1 Client class RootModule.

Metadata for a root module.

Generated from protobuf message google.cloud.designcenter.v1.RootModule

Namespace

Google \ Cloud \ DesignCenter \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ id string

Identifier of the root module. This is the directory name of the root module in the generated terraform which is also same as the corresponding component ID.

↳ components string[]

List of Application Design Center component names associated with this root module. For standard app template type components, this list will have a single element. For service / workload / asset components, this list will contain all such component names.

↳ dependencies array<RootModuleDependency>

Dependencies of this root module. The dependency graph of root modules must be acyclic.

↳ input_variables array<RootInputVariable>

List of input variables of this root module.

↳ output_variables array<RootOutputVariable>

List of output variables of this root module.

getId

Identifier of the root module. This is the directory name of the root module in the generated terraform which is also same as the corresponding component ID.

Returns
Type Description
string

setId

Identifier of the root module. This is the directory name of the root module in the generated terraform which is also same as the corresponding component ID.

Parameter
Name Description
var string
Returns
Type Description
$this

getComponents

List of Application Design Center component names associated with this root module. For standard app template type components, this list will have a single element. For service / workload / asset components, this list will contain all such component names.

Returns
Type Description
Google\Protobuf\RepeatedField<string>

setComponents

List of Application Design Center component names associated with this root module. For standard app template type components, this list will have a single element. For service / workload / asset components, this list will contain all such component names.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getDependencies

Dependencies of this root module. The dependency graph of root modules must be acyclic.

Returns
Type Description
Google\Protobuf\RepeatedField<RootModuleDependency>

setDependencies

Dependencies of this root module. The dependency graph of root modules must be acyclic.

Parameter
Name Description
var array<RootModuleDependency>
Returns
Type Description
$this

getInputVariables

List of input variables of this root module.

Returns
Type Description
Google\Protobuf\RepeatedField<RootInputVariable>

setInputVariables

List of input variables of this root module.

Parameter
Name Description
var array<RootInputVariable>
Returns
Type Description
$this

getOutputVariables

List of output variables of this root module.

Returns
Type Description
Google\Protobuf\RepeatedField<RootOutputVariable>

setOutputVariables

List of output variables of this root module.

Parameter
Name Description
var array<RootOutputVariable>
Returns
Type Description
$this