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

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

Serialized application template.

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

Namespace

Google \ Cloud \ DesignCenter \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ uri string

Optional. The application template URI.

↳ display_name string

Optional. The application template display name.

↳ description string

Optional. The application template description.

↳ application_parameters array<Parameter>

Optional. Parameters to apply to all components in the application template.

↳ iac_format int

Optional. The IaC format of the application template.

↳ components array<SerializedComponent>

Optional. The application template components.

↳ apphub_application_parameters AppHubApplicationParameters

Optional. The App Hub application parameters.

↳ has_global_resource bool

Output only. Whether the application template is compatible with regional scope.

↳ composition_type int

Output only. The composition type of the applicationTemplate: STANDARD OR COMPOSITE.

↳ root_input_variables array<ComponentVariable>

Output only. Root level input variables of the application template.

↳ root_output_variables array<ComponentVariable>

Output only. Root level output variables of the application template.

↳ saas_runtime_context SaaSRuntimeContext

Optional. SaaS runtime context for the application template.

↳ serialized_policies array<SerializedPolicy>

Output only. Policies of the application template.

↳ providers array<SerializedProvider>

Optional. Custom provider configurations imported from IaC.

↳ custom_variables array<TerraformInput>

Optional. Custom variables imported from variables.tf.

↳ custom_tfvars array<Parameter>

Optional. Custom variable values imported from terraform.tfvars.

↳ inputs_as_root_module_variables bool

Optional. If true, exposes all inputs as root module variables. This is only supported for STANDARD composition type templates.

getUri

Optional. The application template URI.

Returns
Type Description
string

setUri

Optional. The application template URI.

Parameter
Name Description
var string
Returns
Type Description
$this

getDisplayName

Optional. The application template display name.

Returns
Type Description
string

setDisplayName

Optional. The application template display name.

Parameter
Name Description
var string
Returns
Type Description
$this

getDescription

Optional. The application template description.

Returns
Type Description
string

setDescription

Optional. The application template description.

Parameter
Name Description
var string
Returns
Type Description
$this

getApplicationParameters

Optional. Parameters to apply to all components in the application template.

Returns
Type Description
Google\Protobuf\RepeatedField<Parameter>

setApplicationParameters

Optional. Parameters to apply to all components in the application template.

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

getIacFormat

Optional. The IaC format of the application template.

Returns
Type Description
int Enum of type IACFormat.

setIacFormat

Optional. The IaC format of the application template.

Parameter
Name Description
var int

Enum of type IACFormat.

Returns
Type Description
$this

getComponents

Optional. The application template components.

Returns
Type Description
Google\Protobuf\RepeatedField<SerializedComponent>

setComponents

Optional. The application template components.

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

getApphubApplicationParameters

Optional. The App Hub application parameters.

Returns
Type Description
AppHubApplicationParameters|null

hasApphubApplicationParameters

clearApphubApplicationParameters

setApphubApplicationParameters

Optional. The App Hub application parameters.

Parameter
Name Description
var AppHubApplicationParameters
Returns
Type Description
$this

getHasGlobalResource

Output only. Whether the application template is compatible with regional scope.

Returns
Type Description
bool

setHasGlobalResource

Output only. Whether the application template is compatible with regional scope.

Parameter
Name Description
var bool
Returns
Type Description
$this

getCompositionType

Output only. The composition type of the applicationTemplate: STANDARD OR COMPOSITE.

Returns
Type Description
int Enum of type ApplicationCompositionType.

setCompositionType

Output only. The composition type of the applicationTemplate: STANDARD OR COMPOSITE.

Parameter
Name Description
var int

Enum of type ApplicationCompositionType.

Returns
Type Description
$this

getRootInputVariables

Output only. Root level input variables of the application template.

Returns
Type Description
Google\Protobuf\RepeatedField<ComponentVariable>

setRootInputVariables

Output only. Root level input variables of the application template.

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

getRootOutputVariables

Output only. Root level output variables of the application template.

Returns
Type Description
Google\Protobuf\RepeatedField<ComponentVariable>

setRootOutputVariables

Output only. Root level output variables of the application template.

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

getSaasRuntimeContext

Optional. SaaS runtime context for the application template.

Returns
Type Description
SaaSRuntimeContext|null

hasSaasRuntimeContext

clearSaasRuntimeContext

setSaasRuntimeContext

Optional. SaaS runtime context for the application template.

Parameter
Name Description
var SaaSRuntimeContext
Returns
Type Description
$this

getSerializedPolicies

Output only. Policies of the application template.

Returns
Type Description
Google\Protobuf\RepeatedField<SerializedPolicy>

setSerializedPolicies

Output only. Policies of the application template.

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

getProviders

Optional. Custom provider configurations imported from IaC.

Returns
Type Description
Google\Protobuf\RepeatedField<SerializedProvider>

setProviders

Optional. Custom provider configurations imported from IaC.

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

getCustomVariables

Optional. Custom variables imported from variables.tf.

Returns
Type Description
Google\Protobuf\RepeatedField<TerraformInput>

setCustomVariables

Optional. Custom variables imported from variables.tf.

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

getCustomTfvars

Optional. Custom variable values imported from terraform.tfvars.

Returns
Type Description
Google\Protobuf\RepeatedField<Parameter>

setCustomTfvars

Optional. Custom variable values imported from terraform.tfvars.

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

getInputsAsRootModuleVariables

Optional. If true, exposes all inputs as root module variables.

This is only supported for STANDARD composition type templates.

Returns
Type Description
bool

setInputsAsRootModuleVariables

Optional. If true, exposes all inputs as root module variables.

This is only supported for STANDARD composition type templates.

Parameter
Name Description
var bool
Returns
Type Description
$this