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

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

Application template resource.

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

Namespace

Google \ Cloud \ DesignCenter \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Identifier. Application template name.

↳ display_name string

Optional. Application template display name.

↳ description string

Optional. Application template description.

↳ create_time Google\Protobuf\Timestamp

Output only. Application template creation timestamp.

↳ update_time Google\Protobuf\Timestamp

Output only. Application template update timestamp.

↳ application_parameters array<Parameter>

Optional. Parameters to apply to all components in an application. You can specify projectID and region.

↳ iac_format int

Output only. The IaC format of the application template.

↳ serialized_application_template SerializedApplicationTemplate

Output only. The serialized application template.

↳ latest_revision string

Output only. The latest application template revision.

↳ artifact_location ArtifactLocation

Output only. Details of the location where the IaC for this ApplicationTemplate was last successfully exported.

↳ composition_type int

Optional. Immutable. The composition type of the applicationTemplate: STANDARD OR COMPOSITE. This is a create time only param.

↳ root_input_variables array<ComponentVariable>

Optional. Root level input variables of the application template.

↳ root_output_variables array<ComponentVariable>

Optional. Root level output variables of the application template.

↳ saas_runtime_context SaaSRuntimeContext

Optional. SaaS runtime context for the application template.

↳ latest_system_revision_uri string

Output only. The URI of the most recent System Revision generated for this ApplicationTemplate. This ID corresponds to the name field in the ApplicationTemplateSystemRevision resource.

↳ iac_source int

Output only. Indicates the IaC source format of this application template.

↳ template_metadata TFBlueprintMetadata

Output only. The input output variables parsed from the imported terraform code.

↳ 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.

getName

Identifier. Application template name.

Returns
Type Description
string

setName

Identifier. Application template name.

Parameter
Name Description
var string
Returns
Type Description
$this

getDisplayName

Optional. Application template display name.

Returns
Type Description
string

setDisplayName

Optional. Application template display name.

Parameter
Name Description
var string
Returns
Type Description
$this

getDescription

Optional. Application template description.

Returns
Type Description
string

setDescription

Optional. Application template description.

Parameter
Name Description
var string
Returns
Type Description
$this

getCreateTime

Output only. Application template creation timestamp.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. Application template creation timestamp.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getUpdateTime

Output only. Application template update timestamp.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. Application template update timestamp.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getApplicationParameters

Optional. Parameters to apply to all components in an application. You can specify projectID and region.

Returns
Type Description
Google\Protobuf\RepeatedField<Parameter>

setApplicationParameters

Optional. Parameters to apply to all components in an application. You can specify projectID and region.

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

getIacFormat

Output only. The IaC format of the application template.

Returns
Type Description
int Enum of type IACFormat.

setIacFormat

Output only. The IaC format of the application template.

Parameter
Name Description
var int

Enum of type IACFormat.

Returns
Type Description
$this

getSerializedApplicationTemplate

Output only. The serialized application template.

Returns
Type Description
SerializedApplicationTemplate|null

hasSerializedApplicationTemplate

clearSerializedApplicationTemplate

setSerializedApplicationTemplate

Output only. The serialized application template.

Parameter
Name Description
var SerializedApplicationTemplate
Returns
Type Description
$this

getLatestRevision

Output only. The latest application template revision.

Returns
Type Description
string

setLatestRevision

Output only. The latest application template revision.

Parameter
Name Description
var string
Returns
Type Description
$this

getArtifactLocation

Output only. Details of the location where the IaC for this ApplicationTemplate was last successfully exported.

Returns
Type Description
ArtifactLocation|null

hasArtifactLocation

clearArtifactLocation

setArtifactLocation

Output only. Details of the location where the IaC for this ApplicationTemplate was last successfully exported.

Parameter
Name Description
var ArtifactLocation
Returns
Type Description
$this

getCompositionType

Optional. Immutable. The composition type of the applicationTemplate: STANDARD OR COMPOSITE. This is a create time only param.

Returns
Type Description
int Enum of type ApplicationCompositionType.

setCompositionType

Optional. Immutable. The composition type of the applicationTemplate: STANDARD OR COMPOSITE. This is a create time only param.

Parameter
Name Description
var int

Enum of type ApplicationCompositionType.

Returns
Type Description
$this

getRootInputVariables

Optional. Root level input variables of the application template.

Returns
Type Description
Google\Protobuf\RepeatedField<ComponentVariable>

setRootInputVariables

Optional. Root level input variables of the application template.

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

getRootOutputVariables

Optional. Root level output variables of the application template.

Returns
Type Description
Google\Protobuf\RepeatedField<ComponentVariable>

setRootOutputVariables

Optional. 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

getLatestSystemRevisionUri

Output only. The URI of the most recent System Revision generated for this ApplicationTemplate. This ID corresponds to the name field in the ApplicationTemplateSystemRevision resource.

Returns
Type Description
string

setLatestSystemRevisionUri

Output only. The URI of the most recent System Revision generated for this ApplicationTemplate. This ID corresponds to the name field in the ApplicationTemplateSystemRevision resource.

Parameter
Name Description
var string
Returns
Type Description
$this

getIacSource

Output only. Indicates the IaC source format of this application template.

Returns
Type Description
int Enum of type IACSource.

setIacSource

Output only. Indicates the IaC source format of this application template.

Parameter
Name Description
var int

Enum of type IACSource.

Returns
Type Description
$this

getTemplateMetadata

Output only. The input output variables parsed from the imported terraform code.

Returns
Type Description
TFBlueprintMetadata|null

hasTemplateMetadata

clearTemplateMetadata

setTemplateMetadata

Output only. The input output variables parsed from the imported terraform code.

Parameter
Name Description
var TFBlueprintMetadata
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